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. 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. |
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? |
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.