Method: rules.list Stay organized with collections Save and categorize content based on your preferences.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Full name: projects.locations.instances.rules.list
Lists Rules.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1/{parent}/rulesPath parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of rules. Format: |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of rules to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
A page token, received from a previous When paginating, all other parameters provided to |
view |
view indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to BASIC. |
filter |
Only the following filters are allowed: "referenceLists:{reference_list_name}" "dataTables:{data_table_name}" "displayName:{displayName}" |
orderBy |
Optional. The sort order of the rules. If unspecified, rules will be sorted by revisionCreateTime desc ruleId asc. Sorting is supported on a single field only. Composite sort keys are not supported. Seehttps://google.aip.dev/132#ordering for more details. Supported fields: "archived", "alertingEnabled", "author", "createTime", "displayName", "executionState", "liveModeEnabled", "revisionCreateTime", "ruleId", "ruleOwner", "severity", "type". Example: "displayName desc" |
Request body
The request body must be empty.
Response body
Response message for rules.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{"rules":[{object ( |
| Fields | |
|---|---|
rules[] |
The rules from the specified instance. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see theAuthentication Overview.
IAM Permissions
Requires the followingIAM permission on theparent resource:
chronicle.rules.list
For more information, see theIAM documentation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-13 UTC.