code-security
Retrieve a code security configuration of an enterprise
Changed onGets a code security configuration available in an 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/configurations/{configuration_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/code-security/configurations/{configuration_id}
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
configuration_idinteger required
The unique identifier of the code security configuration.
Response
Response
Changes
- warning
added the new
enterprise_enforcedenum value to theresponse property for the response status
- warning