- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Full name: projects.locations.instances.ontologyRecords.mappingRules.fetchAll
Returns all relevant mapping rules for a specific event context (source, product, and event name). This includes both currently active rules and potential candidates for mapping.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/mappingRules:fetchAll Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource name. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords/{ontologyRecord} |
Query parameters
| Parameters | |
|---|---|
source |
Required. The source of the ontology event. |
product |
Required. The product of the ontology event. |
eventName |
Required. The event name of the ontology event. |
Request body
The request body must be empty.
Response body
Response message for mappingRules.fetchAll.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"mappingRules": [
{
object ( |
| Fields | |
|---|---|
mappingRules[] |
The list of all mappingRules. |
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 the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.mappingRules.get
For more information, see the IAM documentation.