Skip to content

Commit

Permalink
Add platform logrotate clause for logrotate related rules
Browse files Browse the repository at this point in the history
  • Loading branch information
teacup-on-rockingchair committed Jul 29, 2023
1 parent 6d6c829 commit 5df17b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/logrotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ packages:
- logrotate
rules:
- package_logrotate_installed
- ensure_logrotate_activated
- timer_logrotate_enabled
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ rationale: |-
severity: medium

platform: package[logrotate]

identifiers:
cce@rhcos4: CCE-82689-1
cce@rhel7: CCE-80195-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ rationale: |-
severity: medium

platform: package[logrotate]

identifiers:
cce@rhel7: CCE-86156-7
cce@rhel8: CCE-86157-5
Expand Down
2 changes: 2 additions & 0 deletions shared/applicability/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ args:
pkgname: iptables
libuser:
pkgname: libuser
logrotate:
pkgname: logrotate
net-snmp:
{{% if pkg_system == "rpm" %}}
pkgname: net-snmp
Expand Down

0 comments on commit 5df17b4

Please sign in to comment.