{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Attaches an enterprise code security configuration to repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.\n\nIf insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.\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","additionalProperties":false,"properties":{"scope":{"type":"string","description":"The type of repositories to attach the configuration to.","enum":["all","all_without_configurations"]}},"required":["scope"],"examples":[{"scope":"all"}]}},"required":["path","body"],"additionalProperties":false},"name":"Attach an enterprise configuration to repositories","id":"github.code-security.attach-enterprise-configuration","example":{"path":{"enterprise":"example","configuration_id":1},"body":{"scope":"all"}},"maxRequests":1,"summary":false}}