--- # host-runtime-detection / linux / t2 "Hardened" # Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. # # Standard's roles, unchanged (ansible.cfg points at ../t1/roles), run with the # settings in settings.yml. What # Hardened adds sits beside it: # settings.yml your settings, starting from Standard's defaults # policy/ rules that check settings.yml before anything runs # guard.yml lint, rules, and syntax on pull requests; a daily check-mode # run that opens an issue when a machine has drifted # .ansible-lint the production profile, set to fail # # Check the settings yourself: # opa eval --fail-defined --format pretty -d policy -i settings.yml 'data.iac.deny[msg]' # Nothing printed means every rule passed. # Then run as usual: # ansible-playbook -i inventory.ini site.yml --check --diff # ansible-playbook -i inventory.ini site.yml - name: Watch hosts for what attackers do after they get in hosts: all become: true gather_facts: true vars_files: [settings.yml] roles: - role: falco tags: [falco]