enterprise-admin
Get code security and analysis features for an enterprise
[!WARNING] Closing down notice: The ability to fetch code security and analysis settings for an enterprise is closing down. Please use code security configurations instead. For more information, see the changelog.
Gets code security and analysis settings for the specified enterprise.
The authenticated user must be an administrator of the enterprise in order to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the read:enterprise scope to use this endpoint.
get/enterprises/{enterprise}/code_security_and_analysis
Path parameters
enterprisestring required
The slug version of the enterprise name.
Response
Response
Example response
{
"secret_scanning_push_protection_custom_link": "https://github.com/test-org/test-repo/blob/main/README.md"
}