File: rule.yml

package info (click to toggle)
scap-security-guide 0.1.76-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 110,644 kB
  • sloc: xml: 241,883; sh: 73,777; python: 32,527; makefile: 27
file content (50 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
documentation_complete: true


title: 'Log USBGuard daemon audit events using Linux Audit'

description: |-
    To configure USBGuard daemon to log via Linux Audit
    (as opposed directly to a file),
    <tt>AuditBackend</tt> option in <tt>/etc/usbguard/usbguard-daemon.conf</tt>
    needs to be set to <tt>LinuxAudit</tt>.

rationale: |-
    Using the Linux Audit logging allows for centralized trace
    of events.

severity: low

identifiers:
    cce@rhcos4: CCE-82538-0
    cce@rhel8: CCE-82168-6
    cce@rhel9: CCE-84206-2
    cce@rhel10: CCE-87152-5

references:
    disa: CCI-000169
    nist: AU-2,CM-8(3),IA-3
    ospp: FMT_SMF_EXT.1
    srg: SRG-OS-000062-GPOS-00031,SRG-OS-000471-GPOS-00215,SRG-APP-000141-CTR-000315
    stigid@ol8: OL08-00-030603
    stigid@rhel8: RHEL-08-030603

platform: package[usbguard]

ocil_clause: 'AuditBackend is not set to LinuxAudit'

ocil: |-
    To verify that Linux Audit logging is enabled for the USBGuard daemon,
    run the following command:
    <pre>$ sudo grep AuditBackend /etc/usbguard/usbguard-daemon.conf</pre>
    The output should be
    <pre>AuditBackend=LinuxAudit</pre>

fixtext: |-
    Configure {{{ full_name }}} USBGuard AuditBackend to use the audit system.

    Add or edit the following line in /etc/usbguard/usbguard-daemon.conf:

    AuditBackend=LinuxAudit

srg_requirement: {{{ full_name }}} Must Provide Audit Record Generation Capability For Dod-Defined Auditable Events For All Operating System Components