File: rule.yml

package info (click to toggle)
scap-security-guide 0.1.65-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 71,936 kB
  • sloc: xml: 179,374; sh: 69,771; python: 23,819; makefile: 23
file content (30 lines) | stat: -rw-r--r-- 601 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
documentation_complete: true

prodtype: rhel7

title: 'Enable the Docker service'

description: |-
    The docker service is commonly needed to
      create containers.
    {{{ describe_service_enable(service="docker") }}}

rationale: |-
    To be able to find any problems with misconfiguration of
    the docker daemon and running containers, the docker service
    has to be enabled.

severity: medium

identifiers:
    cce@rhel7: CCE-80440-1

ocil: |-
    {{{ ocil_service_enabled(service="docker") }}}

platform: machine

template:
    name: service_enabled
    vars:
        servicename: docker