WafPSMLocation

WafPSMLocation
WafPSMLocation
JSON Example
{
    "description": "string",
    "index": 0,
    "match": {
        "host": {
            "match_case": "string",
            "match_criteria": "string",
            "value": [
                "string"
            ]
        },
        "methods": {
            "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",
    "rules": [
        {
            "description": "string",
            "enable": false,
            "index": 0,
            "match_case": "string",
            "match_elements": [
                {
                    "excluded": false,
                    "index": 0,
                    "match_case": "string",
                    "match_op": "string",
                    "name": "string",
                    "sub_element": "string"
                }
            ],
            "match_value_max_length": 0,
            "match_value_pattern": "string",
            "match_value_string_group_key": "string",
            "match_value_string_group_ref": "string",
            "mode": "string",
            "name": "string",
            "paranoia_level": "string",
            "rule_id": "string"
        }
    ]
}
string
description
Optional

Free-text comment about this location. Field introduced in 18.2.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
index
Required

Location index, this is used to determine the order of the locations. Field introduced in 18.2.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

match
Optional

match

string
name
Required

User defined name for this location, it must be unique in the group. Field introduced in 18.2.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of WafPSMRule
rules
Optional

A list of rules which should be applied on this location. Field introduced in 18.2.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.