Skip to content

Ensure GitHub organization security settings require 2FA

Description

This policy checks whether two-factor authentication (2FA) is required for GitHub organization security settings. Requiring 2FA adds an additional layer of security, making it more difficult for unauthorized users to access the organization's resources. Without 2FA, an organization is more vulnerable to phishing and password attacks. Enabling 2FA is essential for protecting sensitive data and preventing unauthorized access.

Code Example

github
Go to Organization Settings > Security > Authentication > Two-factor authentication, and select 'Require two-factor authentication for all members of this organization'.

Remediation

Enable two-factor authentication for the GitHub organization.

Rule Details

FieldValue
IDIAC-1039
SeverityHIGH
IaC Typegithub_configuration
Frameworks*
Checkov IDCKV_GITHUB_1

References