Two-Factor Authentication Should Be Enforced For The Organization
policy name: two_factor_authentication_not_required_for_org
severity: HIGH
Description
The two-factor authentication requirement is not enabled at the organization level. Regardless of whether users are managed externally by SSO, it is highly recommended to enable this option to reduce the risk of a deliberate or accidental user creation without MFA.
Threat Example(s)
If an attacker gets the valid credentials for one of the organization’s users they can authenticate to your GitHub organization.
Remediation
- Make sure you have admin permissions
- Go to the organization settings page
- Enter ‘Authentication security’ tab
- Under ‘Two-factor authentication’
- Toggle on ‘Require two-factor authentication for everyone in the
organization' - Click ‘Save’