File: rule.yml

package info (click to toggle)
scap-security-guide 0.1.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,600 kB
  • sloc: xml: 245,305; sh: 84,381; python: 33,093; makefile: 27
file content (47 lines) | stat: -rw-r--r-- 1,455 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
documentation_complete: true


title: 'Install subscription-manager Package'

description: |-
    {{{ describe_package_install(package="subscription-manager") }}}

rationale: |-
    Red Hat Subscription Manager is a local service which tracks installed products
    and subscriptions on a local system to help manage subscription assignments.
    It communicates with the backend subscription service (the Customer Portal
    or an on-premise server such as Subscription Asset Manager) and works with
    content management tools such as {{{ package_manager }}}.

    {{% if product in ["rhel9"] %}}
    The package provides, among other things, {{{ package_manager }}} plugins
    to interact with repositories and subscriptions
    from the Red Hat entitlement platform - the subscription-manager and
    product-id plugins.
    {{% endif %}}

severity: medium

identifiers:
    cce@rhel8: CCE-82316-1
    cce@rhel9: CCE-83506-6
    cce@rhel10: CCE-88542-6

references:
    ism: 0940,1144,1467,1472,1483,1493,1494,1495
    ospp: FPT_TUD_EXT.1,FPT_TUD_EXT.2
    srg: SRG-OS-000366-GPOS-00153

ocil_clause: 'the package is not installed'

ocil: '{{{ ocil_package(package="subscription-manager") }}}'

template:
    name: package_installed
    vars:
        pkgname: subscription-manager

fixtext: |-
    {{{ describe_package_install(package="subscription-manager") }}}

srg_requirement: '{{{ srg_requirement_package_installed("subscription-manager") }}}'