-
Notifications
You must be signed in to change notification settings - Fork 696
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
OCPBUGS-32551: swap token inactivity timeout rule #11870
OCPBUGS-32551: swap token inactivity timeout rule #11870
Conversation
/test |
@yuumasato: 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/test-infra repository. |
/test 4.15-e2e-aws-ocp4-stig |
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
/jira refresh |
/hold for test |
Pre-merge verification pass with 4.16.0-0.nightly-2024-04-23-032717 + ghcr.io/complianceascode/k8scontent:11870:
|
/unhold |
/lgtm |
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
Nice find. Thanks!
Let's use oauth_or_oauthclient_inactivity_timeout instead of oautclient_inactivity_timeout. The former rule checks for server and client token timeout configuration is multiple places and remediates the server OAuth config. The latter only checks for the client token timeout and doesn't have a remediation.
9160fed
to
18844e6
Compare
Code Climate has analyzed commit 18844e6 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 59.4% (0.0% change). View more on Code Climate. |
Just rebased on top of latest master |
Merging based on Dev and QE approvals. |
Description:
oauth_or_oauthclient_inactivity_timeout
instead ofoautclient_inactivity_timeout
.Rationale:
The latter only checks for the client token timeout and doesn't have a remediation.
oauthclient_inactivity_timeout
doesn't have remediation and stayed inFAIL
result.Review Hints:
oauth_or_oauthclient_inactivity_timeout
is passing on STIG profile after remediation.