GET
/enterprises/{enterprise}/code-security/configurations/defaultsGet default code security configurations for an enterprise
Lists the default code security configurations for 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.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
enterprisestringrequired
The slug version of the enterprise name.
200Response
default_for_new_reposstringoptional
The visibility of newly created repositories for which the code security configuration will be applied to by default
configurationobjectoptional
A code security configuration