|
18 | 18 | <ind:object object_ref="object_audit_rules_augenrules" /> |
19 | 19 | </ind:textfilecontent54_test> |
20 | 20 | <ind:textfilecontent54_object id="object_audit_rules_augenrules" version="1"> |
21 | | - {{% if product in ['fedora', 'rhel10', 'ol10'] %}} |
| 21 | + {{% if product in ['rhel10', 'ol10'] %}} |
22 | 22 | <ind:filepath>/usr/lib/systemd/system/audit-rules.service</ind:filepath> |
23 | 23 | <ind:pattern operation="pattern match">^ExecStart=(\/usr|)?\/sbin\/augenrules.*$</ind:pattern> |
| 24 | + {{% elif product in ['fedora'] %}} |
| 25 | + <ind:filepath>/usr/lib/systemd/system/audit-rules.service</ind:filepath> |
| 26 | + <ind:pattern operation="pattern match">^ExecStart=\/usr\/bin\/augenrules.*$</ind:pattern> |
| 27 | + {{% elif product in ['debian13'] %}} |
| 28 | + <ind:filepath>/usr/lib/systemd/system/audit-rules.service</ind:filepath> |
| 29 | + <ind:pattern operation="pattern match">^ExecStart=\/usr\/sbin\/augenrules.*$</ind:pattern> |
24 | 30 | {{% else %}} |
25 | | - {{% if product in ['debian13'] %}} |
26 | | - <ind:filepath>/usr/lib/systemd/system/audit-rules.service</ind:filepath> |
27 | | - <ind:pattern operation="pattern match">^ExecStart=\/usr\/sbin\/augenrules.*$</ind:pattern> |
28 | | - {{% else %}} |
29 | | - <ind:filepath>/usr/lib/systemd/system/auditd.service</ind:filepath> |
30 | | - <ind:pattern operation="pattern match">^(ExecStartPost=\-\/sbin\/augenrules.*$|Requires=augenrules.service)</ind:pattern> |
31 | | - {{% endif %}} |
32 | | -{{% endif %}} |
| 31 | + <ind:filepath>/usr/lib/systemd/system/auditd.service</ind:filepath> |
| 32 | + <ind:pattern operation="pattern match">^(ExecStartPost=\-\/sbin\/augenrules.*$|Requires=augenrules.service)</ind:pattern> |
| 33 | + {{% endif %}} |
33 | 34 | <ind:instance datatype="int" operation="greater than or equal">1</ind:instance> |
34 | 35 | </ind:textfilecontent54_object> |
35 | 36 |
|
|
0 commit comments