-
Notifications
You must be signed in to change notification settings - Fork 761
Fix(OVAL): Correct variable reference in account_disable_inactivity_* #13591
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
Fix(OVAL): Correct variable reference in account_disable_inactivity_* #13591
Conversation
|
Hi @yu410621. 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. 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. |
jan-cerny
left a comment
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.
Hi @yu410621, I think that the linux_os/guide/system/accounts/accounts-restrictions/account_expiration/account_disable_inactivity_system_auth/oval/shared.xml has the same problem and needs to be changed as well.
Thanks for catching that! I've added a new commit to apply the same fix to the |
|
Code Climate has analyzed commit 429447c 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. |
|
Hi @jan-cerny, I changed the PR title to "account_disable_inactivity_*". Is this more appropriate? |
jan-cerny
left a comment
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.
Thank you!
Description:
The OVAL definition for account_disable_inactivity_password_auth incorrectly references the var_account_disable_post_pw_expiration variable instead of the correct var_account_disable_inactivity variable.
This PR corrects the var_ref and the external_variable ID to use the proper var_account_disable_inactivity variable. It also updates the metadata comment to accurately describe the rule's purpose and increments the definition version from 1 to 2.
Let's fix it.