forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parametrize rule oauth token maxage rules
Make rules `oauth_token_maxage` and `oauthclient_token_maxage` check the token expiry timeout based on a variable. Default timeout is 24h, but STIG requires it to be 8h.
- Loading branch information
Showing
4 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
applications/openshift/authentication/var_oauth_token_maxage.var
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
documentation_complete: true | ||
|
||
title: 'OAuth Token Maximum Age' | ||
|
||
description: 'Enter OAuth Token Maximum Age Timeout' | ||
|
||
type: number | ||
|
||
operator: equals | ||
|
||
interactive: true | ||
|
||
options: | ||
default: 86400 | ||
24h: 86400 | ||
8h: 28800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters