{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Lists security advisories in a repository.\n\nThe authenticated user can access unpublished security advisories from a repository if they are a security manager or administrator of that repository, or if they are a collaborator on any security advisory.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:read` scope to to get a published security advisory in a private repository, or any unpublished security advisory that the authenticated user has access to.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"query":{"type":"object","properties":{"direction":{"type":"string","enum":["asc","desc"],"default":"desc","description":"The direction to sort the results by."},"sort":{"type":"string","enum":["created","updated","published"],"default":"created","description":"The property to sort the results by."},"before":{"type":"string","description":"A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"after":{"type":"string","description":"A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"per_page":{"type":"integer","minimum":1,"maximum":100,"default":30,"description":"The number of advisories to return per page. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"state":{"type":"string","enum":["triage","draft","published","closed"],"description":"Filter by state of the repository advisories. Only advisories of this state will be returned."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"List repository security advisories","id":"github.security-advisories.list-repository-advisories","example":{"path":{"owner":"octocat","repo":"hello-world"}},"maxRequests":1,"summary":false}}