-
Notifications
You must be signed in to change notification settings - Fork 744
Make accounts password pam pwhistory remember rule use template for SLE etc #13343
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
Make accounts password pam pwhistory remember rule use template for SLE etc #13343
Conversation
If we have accounts_password_pam_pwhistory_remember/oval/shared.xml file it is also built for other platforms like SLE for sure, and it also overwrites the oval check generated by the template So having in mind that the accounts_password_pam_pwhistory_remember rule not using the template code seem to be valid only for ubuntu2404 the oval check script looks bet to be named after that particular platform
According to basic checks seems like rule is relevant for ubuntu platforms ubuntu2004 and ubuntu2404, for which the latter doesn't use the template so figured if condition will look simpler that way
Skipping CI for Draft Pull Request. |
Code Climate has analyzed commit fb9a129 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. |
/test |
@jan-cerny: The
Use
In response to this:
Instructions 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
Description:
Rationale:
If we have accounts_password_pam_pwhistory_remember/oval/shared.xml file it is also built for other platforms like SLE for sure, and it also overwrites the oval check generated by the template. So having in mind that the accounts_password_pam_pwhistory_remember rule not using the template code seem to be valid only for ubuntu2404 the oval check script looks bet to be named after that particular platform
Simplify the condition in which the template will be used or not in the accounts_password_pam_pwhistory_remember/rule.yml
Review Hints: