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
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. | |
| repository_name | No | The name of the repository to filter on. | |
| 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). | |
| 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. | |
| rule_suite_result | No | The rule suite results to filter on. When specified, only suites with this result will be returned. | |
| 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)." | |
| 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)." |