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 DetailsIn 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. |
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: