Skip to content

Ensure minimum admins are set for the organization

Description

This policy checks if the number of admins in a GitHub organization is within a specified limit. It ensures that the organization has a minimum number of admins set, which is crucial for maintaining security and access control. Having too many admins can increase the risk of unauthorized access or malicious activities. The check is important because it helps prevent potential security breaches by limiting the number of users with administrative privileges. The maximum allowed number of admins is set to 3.

Code Example

github
Organizations > Settings > Members > Remove unnecessary admin accounts or adjust roles

Remediation

To fix this issue, reduce the number of admins in the organization to 3 or less. This can be done by removing unnecessary admin accounts or adjusting the roles of existing users to limit their privileges.

Rule Details

FieldValue
IDIAC-1062
SeverityMEDIUM
IaC Typegithub_configuration
Frameworks*
Checkov IDCKV_GITHUB_26

References