github_repos_get_org_rule_suites
Retrieve organization rule suites filtered by ref, repository, actor, time period, or result. Use to audit rule enforcement and compliance across repositories.
Instructions
List organization rule suites
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"org": "<org>"
},
"name": "github_repos_get_org_rule_suites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | org | |
| ref | No | The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. | |
| page | No | The page number of the results to fetch. 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 | No | The number of results per page (max 100). 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)." | |
| actor_name | No | The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. | |
| time_period | No | The time period to filter by. For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours). | |
| repository_name | No | The name of the repository to filter on. | |
| rule_suite_result | No | The rule suite results to filter on. When specified, only suites with this result will be returned. |