Method: mappingRules.fetchAll

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

string

Required. The parent resource name. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords/{ontologyRecord}

Query parameters

Parameters
source

string

Required. The source of the ontology event.

product

string

Required. The product of the ontology event.

eventName

string

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 (MappingRule)
    }
  ]
}
Fields
mappingRules[]

object (MappingRule)

The list of all mappingRules.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://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.