Update shared.yml#13320
Conversation
Added access_time and modification_time: preserve to rsyslog.conf exists rule, ensuring task is idempotent upon successive runs.
|
Hi @ev-not-eve. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
This datastream diff is auto generated by the check Click here to see the full diffansible remediation for rule 'xccdf_org.ssgproject.content_rule_rsyslog_remote_access_monitoring' differs.
--- xccdf_org.ssgproject.content_rule_rsyslog_remote_access_monitoring
+++ xccdf_org.ssgproject.content_rule_rsyslog_remote_access_monitoring
@@ -45,6 +45,8 @@
file:
path: '{{ conf_files.0 }}'
state: touch
+ access_time: preserve
+ modification_time: preserve
when:
- '"kernel" in ansible_facts.packages'
- '"rsyslog" in ansible_facts.packages' |
|
Code Climate has analyzed commit 821da8f 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 61.9% (0.0% change). View more on Code Climate. |
|
Thanks! |
Description:
Added access_time and modification_time: preserve to rsyslog.conf exists rule
Rationale:
Ensures task is idempotent upon successive runs.