- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ThreatCollectionRuleMetadata
- Try it!
Full name: projects.locations.instances.threatCollections.fetchRuleMetadata
Gets a batch (list) of rule metadata for a list of threat collections.
HTTP request
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the rule metadata. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
threatCollections[] |
Required. The resource names of the ThreatCollections to fetch rule metadata for. Format: projects/{project}/locations/{location}/instances/{instance}/threatCollections/{threatCollection} |
Request body
The request body must be empty.
Response body
Response containing a list of rule metadata.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"ruleMetadata": {
string: {
object ( |
Fields | |
---|---|
ruleMetadata |
Output only. Map of requested threat collection resource name to rule metadata. Format: - Key (string): projects/{project}/locations/{location}/instances/{instance}/threatCollections/{threatCollection} - Value (ThreatCollectionRuleMetadata): ThreatCollectionRuleMetadata An object containing a list of |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
chronicle.threatCollections.fetchRuleMetadata
For more information, see the IAM documentation.
ThreatCollectionRuleMetadata
Rule metadata for a threat collection.
JSON representation |
---|
{ "detectionsCount": integer, "rules": [ string ] } |
Fields | |
---|---|
detectionsCount |
Number of detections, both alerting and non-alerting, associated with the ThreatCollection |
rules[] |
The rules associated with the ThreatCollection. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule} |