Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove timer_logrotate_enabled from some pci-dss profiles #11349

Conversation

vojtapolasek
Copy link
Collaborator

Same as #11348 but this PR is against master.

although the rule has rhel7 and rhel8 prodtype, it does not make sense on those products
@vojtapolasek vojtapolasek added Update Profile Issues or pull requests related to Profiles updates. RHEL7 Red Hat Enterprise Linux 7 product related. RHEL8 Red Hat Enterprise Linux 8 product related. pci-dss labels Dec 5, 2023
@vojtapolasek vojtapolasek added this to the 0.1.72 milestone Dec 5, 2023
@vojtapolasek vojtapolasek requested a review from a team as a code owner December 5, 2023 12:58
@vojtapolasek vojtapolasek changed the title Remove timer_logrotate_enabled from some pci-dss profilesRemove logrotate timer from pcidss Remove timer_logrotate_enabled from some pci-dss profiles Dec 5, 2023
Copy link

github-actions bot commented Dec 5, 2023

Start a new ephemeral environment with changes proposed in this pull request:

rhel8 (from CTF) Environment (using Fedora as testing environment)
Open in Gitpod

Fedora Testing Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

github-actions bot commented Dec 5, 2023

This datastream diff is auto generated by the check Compare DS/Generate Diff

Click here to see the full diff
New content has different text for rule 'xccdf_org.ssgproject.content_rule_timer_logrotate_enabled'.
--- xccdf_org.ssgproject.content_rule_timer_logrotate_enabled
+++ xccdf_org.ssgproject.content_rule_timer_logrotate_enabled
@@ -5,6 +5,9 @@
 [description]:
 The logrotate timer can be enabled with the following command:
 $ sudo systemctl enable logrotate.timer
+
+[warning]:
+The Systemd unit logrotate.timer does not exist in Red Hat Enterprise Linux 8. The rule ensure_logrotate_activated is suggested instead.
 
 [reference]:
 BP28(R71)

@vojtapolasek vojtapolasek force-pushed the remove_logrotate_timer_from_pcidss branch from 3cce4ea to 147b1fc Compare December 5, 2023 13:33
Copy link

codeclimate bot commented Dec 5, 2023

Code Climate has analyzed commit 147b1fc and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 58.5%.

View more on Code Climate.

@jan-cerny
Copy link
Collaborator

/packit retest-failed

@Mab879 Mab879 self-assigned this Dec 5, 2023
@Mab879
Copy link
Member

Mab879 commented Dec 5, 2023

Waving the automatus failure as it is expected since the service doesn't exist on CentOS Stream 8.

@Mab879
Copy link
Member

Mab879 commented Dec 5, 2023

/packit retest-failed

@Mab879 Mab879 merged commit cb834c9 into ComplianceAsCode:master Dec 5, 2023
37 of 38 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pci-dss RHEL7 Red Hat Enterprise Linux 7 product related. RHEL8 Red Hat Enterprise Linux 8 product related. Update Profile Issues or pull requests related to Profiles updates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants