Skip to content

Commit

Permalink
🚤 faster super admin user check
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed Oct 27, 2023
1 parent f52e7e7 commit 6626a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/mondoo-okta-security.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ queries:
title: Limit the number of super admins
impact: 100
filters: asset.platform == "okta-org"
mql: okta.users.where( roles.map(type).contains("SUPER_ADMIN") ).length < props.maxOktaSuperAdmins
mql: okta.groups.where(roles.one(type =="SUPER_ADMIN")).all(members.length < props.maxOktaSuperAdmins )
docs:
remediation:
- id: console
Expand Down

0 comments on commit 6626a2f

Please sign in to comment.