Skip to main content

このバージョンの GitHub Enterprise サーバーはこの日付をもって終了となります: 2026-03-17. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise サーバーにアップグレードしてください。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせください

Security configuration enforcement

Understand the complexities of enforcing security configurations.

この記事の内容

Security configurations can be enforced, meaning repository owners cannot change the enablement status of features that are enabled or disabled by the configuration.

Situations that break enforcement

Some situations can break the enforcement of security configurations. For example, the enablement of code scanning will not apply to a repository if:

  • GitHub Actions is initially enabled on the repository, but is then disabled in the repository.
  • GitHub Actions required by code scanning configurations are not available in the repository.
  • Self-hosted runners with the label code-scanning are not available.
  • The definition for which languages should not be analyzed using code scanning default setup is changed.

Enforcement and the REST API

If a user in your organization or enterprise attempts to change the enablement status of a feature in an enforced configuration using the REST API, the API call will appear to succeed, but no enablement statuses will change.