Skip to content

Commit

Permalink
Fix typo in audit task block title
Browse files Browse the repository at this point in the history
  • Loading branch information
yuumasato committed Aug 18, 2021
1 parent 2a2697e commit 6dd2a03
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for delete_module for x86 platform
- name: Perform remediation of Audit rules for delete_module for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -29,7 +29,7 @@
syscall_grouping=[],
)|indent(4) }}}

- name: Perform remediattion of Audit rules for delete_module for x86_64 platform
- name: Perform remediation of Audit rules for delete_module for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for finit_module for x86 platform
- name: Perform remediation of Audit rules for finit_module for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -29,7 +29,7 @@
syscall_grouping=["init_module","finit_module"],
)|indent(4) }}}

- name: Perform remediattion of Audit rules for finit_module for x86_64 platform
- name: Perform remediation of Audit rules for finit_module for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for init_module for x86 platform
- name: Perform remediation of Audit rules for init_module for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -29,7 +29,7 @@
syscall_grouping=["init_module","finit_module"],
)|indent(4) }}}

- name: Perform remediattion of Audit rules for init_module for x86_64 platform
- name: Perform remediation of Audit rules for init_module for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# strategy = restrict
# complexity = low
# disruption = low
- name: Perform remediattion of Audit rules for /var/log/audit
- name: Perform remediation of Audit rules for /var/log/audit
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for {{{ ATTR | join(", ") }}} for x86 platform
- name: Perform remediation of Audit rules for {{{ ATTR | join(", ") }}} for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand Down Expand Up @@ -48,7 +48,7 @@
)|indent(4) }}}
{{%- endif %}}

- name: Perform remediattion of Audit rules for {{{ ATTR | join(", ") }}} for x86_64 platform
- name: Perform remediation of Audit rules for {{{ ATTR | join(", ") }}} for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for {{{ NAME| join(", ") }}} for x86 platform
- name: Perform remediation of Audit rules for {{{ NAME| join(", ") }}} for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -30,7 +30,7 @@
syscall_grouping=SYSCALL_GROUPING,
)|indent(4) }}}

- name: Perform remediattion of Audit rules for {{{ NAME| join(", ") }}} for x86_64 platform
- name: Perform remediation of Audit rules for {{{ NAME| join(", ") }}} for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
4 changes: 2 additions & 2 deletions shared/templates/audit_rules_path_syscall/ansible.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediattion of Audit rules for {{{ SYSCALL | join(", ") }}} for x86 platform
- name: Perform remediation of Audit rules for {{{ SYSCALL | join(", ") }}} for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -30,7 +30,7 @@
syscall_grouping=SYSCALL_GROUPING,
)|indent(4) }}}

- name: Perform remediattion of Audit rules for {{{ SYSCALL | join(", ") }}} for x86_64 platform
- name: Perform remediation of Audit rules for {{{ SYSCALL | join(", ") }}} for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# complexity = low
# disruption = low

- name: Perform remediattion of Audit rules for {{{ PATH }}}
- name: Perform remediation of Audit rules for {{{ PATH }}}
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
syscall_grouping=SYSCALL_GROUPING,
)|indent(4) }}}

- name: Perform remediattion of Audit rules for {{{ NAME | join(", ") }}} {{{ EXIT_CODE }}} for x86_64 platform
- name: Perform remediation of Audit rules for {{{ NAME | join(", ") }}} {{{ EXIT_CODE }}} for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down

0 comments on commit 6dd2a03

Please sign in to comment.