AuthorizationRule

AuthorizationRule
AuthorizationRule
JSON Example
{
    "action": {
        "status_code": "string",
        "type": "string"
    },
    "enable": false,
    "index": 0,
    "match": {
        "access_token": {
            "matches": [
                {
                    "bool_match": false,
                    "int_match": 0,
                    "is_mandatory": false,
                    "name": "string",
                    "string_match": {
                        "match_criteria": "string",
                        "match_str": [
                            "string"
                        ],
                        "string_group_refs": [
                            "string"
                        ]
                    },
                    "type": "string",
                    "validate": false
                }
            ],
            "token_name": "string"
        },
        "attr_matches": [
            {
                "attribute_name": "string",
                "attribute_value_list": {
                    "match_criteria": "string",
                    "match_str": [
                        "string"
                    ],
                    "string_group_refs": [
                        "string"
                    ]
                }
            }
        ],
        "host_hdr": {
            "match_case": "string",
            "match_criteria": "string",
            "value": [
                "string"
            ]
        },
        "method": {
            "match_criteria": "string",
            "methods": [
                "string"
            ]
        },
        "path": {
            "match_case": "string",
            "match_criteria": "string",
            "match_decoded_string": false,
            "match_str": [
                "string"
            ],
            "string_group_refs": [
                "string"
            ]
        }
    },
    "name": "string"
}
action
Required

action

boolean
enable
Required

Enable or disable the rule. Field introduced in 18.2.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As int32 As int32
index
Required

Index of the Authorization Policy rule. Field introduced in 18.2.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

match
Required

match

string
name
Required

Name of the rule. Field introduced in 18.2.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.