enterprise-admin

Update code security and analysis features for an enterprise

Updates the settings for advanced security, secret scanning, and push protection for new repositories in an enterprise. To use this endpoint, you must be an administrator of the enterprise, and you must use an access token with the admin:enterprise scope.

patch/enterprises/{enterprise}/code_security_and_analysis

Path parameters

enterprisestring required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

Request body

dependabot_alerts_enabled_for_new_repositoriesboolean

Whether Dependabot alerts are automatically enabled for new repositories. For more information, see "About Dependabot alerts."

Response

Action started

Changes