Debian Codegraph @

tests/API/XCCDF/unittests/test_ansible_yaml_block_scalar.xccdf.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test">
3 <status>incomplete</status>
4 <title>Security Benchmark</title>
5 <description xml:lang="en-US">A sample benchmark</description>
6 <version>1.0</version>
7 <Profile id="xccdf_moc.elpmaxe.www_profile_standard">
8 <title xml:lang="en-US">Standard System Security Profile</title>
9 <description xml:lang="en-US">This profile contains rules to ensure standard security baseline of your system.</description>
10 <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/>
11 </Profile>
12 <Rule selected="false" id="xccdf_moc.elpmaxe.www_rule_1">
13 <title>Passing rule</title>
14 <fix id="ansible_fix_for_passing_rule" system="urn:xccdf:fix:script:ansible">- name: Make sure contents of /etc/audit/rules.d/10-base-config.rules are as expected
15 copy:
16 dest: /etc/audit/rules.d/10-base-config.rules
17 content: |+
18 ## First rule - delete all
19 -D
20
21 ## Increase the buffers to survive stress events.
22 ## Make this bigger for busy systems
23 -b 8192
24
25 ## This determine how long to wait in burst of events
26 --backlog_wait_time 60000
27
28 ## Set failure mode to syslog
29 -f 1
30
31
32 force: true
33 when: ansible_virtualization_role != "guest" or ansible_virtualization_type != "docker"
34 tags:
35 - audit_basic_configuration
36 - medium_severity
37 - restrict_strategy
38 - low_complexity
39 - low_disruption
40 - no_reboot_needed
41 - CCE-82462-3
42 - NIST-800-53-AU-2(a)
43 </fix>
44 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
45 <check-content-ref href="oval/pass/oval.xml" name="oval:moc.elpmaxe.www:def:1"/>
46 </check>
47 </Rule>
48 </Benchmark>