Skip to content

validators: Keycloak realm security - #388

Open
bruceweygandt wants to merge 1 commit into
all-validatorsfrom
feat/keycloak-realm-security-validators
Open

bruceweygandt wants to merge 1 commit into
all-validatorsfrom
feat/keycloak-realm-security-validators

Conversation

@bruceweygandt

Copy link
Copy Markdown
Contributor

Summary

Adds 10 validators for EVD-KEYCLOAK-REALM-SECURITY (the new keycloak_realm_security fetcher), and adds the set to common/collection_succeeded.yaml. Per the rule for new validators, this targets all-validators.

Validator Checks Capability Fit
Realm Settings Read and Realm Enabled realm_enabled true All below Supports (integrity)
Phishing-Resistant Authenticator Required at Every Browser Sign-In browser_flow_phishing_resistant_always_required true Phishing-Resistant Authentication Enforcement Direct
Repeated Failed Sign-Ins Lock the Account brute_force_protected true Automated Lockout Bounded
Idle Sessions End Within 15 Minutes sso_session_idle_timeout_minutes above 0, at most 15 Session Expiry and Re-Authentication Bounded
Remember Me Is Off remember_me_enabled false Session Expiry and Re-Authentication Supports
Users Must Accept Terms and Conditions terms_and_conditions_default_action true Workforce Sign-In Notification Bounded
Self-Registration Is Off registration_allowed false Federated Workforce Authentication Bounded
Admin Changes Are Logged admin_events_enabled true Privileged Function Logging Bounded
Admin Change Logs Include What Changed admin_events_details_enabled true Privileged Function Logging Bounded
Sign-In Events Are Logged login_events_enabled true None yet (KSI-MLA-LET) Candidate for a capability

Every statement says what it does not prove. The 15-minute threshold is the FedRAMP Moderate inactivity period and is stated as policy, so it is easy to change.

Merge order

Merge after the keycloak_realm_security fetcher PR.

Steps to validate

  • paramify validators check: 2,604 cases, 0 failed, 0 vacuous passes; 49 new cases (compliant, non-compliant, null, renamed, and for the timeout 0, 15.5 and 150 minutes), plus set cases for all compliant, phishing-resistant optional, realm unread and a failed collection.
  • Registry tests: 390 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant