PolicyRuleReadModel

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"
}
accounts
Optional

The list of accounts of the policy rule

userGroups
Optional

The list of user groups of the policy rule

roles
Optional

The list of roles of the policy rule

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 Annotation
tags
Optional

The tag/value pairs of the policy rule

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,