PolicyRuleReadModel
PolicyRuleReadModel
Policy rule entity for read requests.
JSON Example
{
"accounts": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"userGroups": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"roles": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"name": "string",
"id": "string",
"description": "string",
"tagsAnded": false,
"tags": [
{
"key": "string",
"value": "string"
}
],
"prefixes": [
"string"
],
"accessType": "string"
}
string
name
Required
The name of the policy rule
string
id
Optional
id
string
description
Optional
The description of the policy rule
boolean
tagsAnded
Optional
Whether tags should be AND-ed or OR-ed.If true, a metric must contain all tags in order for the policy rule to apply. If false, the tags are OR-ed, and a metric must contain one of the tags. Default: false
array of string
prefixes
Optional
The prefixes of the policy rule
string
accessType
Optional
The access type of the policy rule
Possible values are : ALLOW, BLOCK,