Skip to content

Commit

Permalink
New rule package_libdnf-plugin-subscription-manager_installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jul 19, 2024
1 parent a0cfe0c commit 65ab348
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/dnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ rules:
- ensure_gpgcheck_repo_metadata
- package_dnf-automatic_installed
- package_dnf-plugin-subscription-manager_installed
- package_libdnf-plugin-subscription-manager_installed
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
documentation_complete: true


title: 'Install libdnf-plugin-subscription-manager Package'

description: |-
{{{ describe_package_install(package="libdnf-plugin-subscription-manager") }}}
rationale: |-
This package provides plugins to interact with repositories and subscriptions
from the Red Hat entitlement platform; contains subscription-manager and
product-id plugins.
severity: medium

identifiers:
cce@rhel10: CCE-88703-4

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="libdnf-plugin-subscription-manager") }}}'

template:
name: package_installed
vars:
pkgname: libdnf-plugin-subscription-manager
1 change: 0 additions & 1 deletion shared/references/cce-redhat-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,6 @@ CCE-88698-6
CCE-88699-4
CCE-88701-8
CCE-88702-6
CCE-88703-4
CCE-88704-2
CCE-88706-7
CCE-88707-5
Expand Down

0 comments on commit 65ab348

Please sign in to comment.