{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets a code security configuration as a default to be applied to new repositories in your enterprise.\n\nThis configuration will be applied by default to the matching repository type when created, but only for organizations within the enterprise that do not already have a default code security configuration set.\n\nThe authenticated user must be an administrator for the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"enterprise":{"type":"string","description":"The slug version of the enterprise name."},"configuration_id":{"type":"integer","description":"The unique identifier of the code security configuration."}},"required":["enterprise","configuration_id"],"additionalProperties":false},"body":{"type":"object","properties":{"default_for_new_repos":{"type":"string","description":"Specify which types of repository this security configuration should be applied to by default.","enum":["all","none","private_and_internal","public"]}},"examples":[{"default_for_new_repos":"all"}]}},"required":["path","body"],"additionalProperties":false},"name":"Set a code security configuration as a default for an enterprise","id":"github.code-security.set-configuration-as-default-for-enterprise","example":{"path":{"enterprise":"example","configuration_id":1},"body":{"default_for_new_repos":"all"}},"maxRequests":1,"summary":false}}