PATCH /wafpolicypsmgroup/{uuid}
/wafpolicypsmgroup/{uuid}/{uuid}
UUID of the object to fetch
object name
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
WafPolicyPSMGroup object creation
Show optional properties
{
"name": "string"
}
{
"_last_modified": "string",
"completely_described_match_elements": [
"string"
],
"description": "string",
"enable": false,
"hit_action": "string",
"is_learning_group": false,
"location_match_miss_action": "string",
"locations": [
{
"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,
"ignore_hit_action": 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"
}
]
}
],
"markers": [
{
"key": "string",
"values": [
"string"
]
}
],
"miss_action": "string",
"name": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
{
"_last_modified": "string",
"completely_described_match_elements": [
"string"
],
"description": "string",
"enable": false,
"hit_action": "string",
"is_learning_group": false,
"location_match_miss_action": "string",
"locations": [
{
"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,
"ignore_hit_action": 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"
}
]
}
],
"markers": [
{
"key": "string",
"values": [
"string"
]
}
],
"miss_action": "string",
"name": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
UNIX time since epoch in microseconds. Units(MICROSECONDS).
A list of all match element collections which are completely described in the PSM Group. Every input value which matches one of the elements in this list but is not handled by a WAF PSM rule, will run the match_element miss_action. Allowed values are WAF_VARIABLE_ARGS. Enum options - WAF_VARIABLE_ARGS, WAF_VARIABLE_ARGS_GET, WAF_VARIABLE_ARGS_POST, WAF_VARIABLE_ARGS_NAMES, WAF_VARIABLE_REQUEST_COOKIES, WAF_VARIABLE_QUERY_STRING, WAF_VARIABLE_REQUEST_BASENAME, WAF_VARIABLE_REQUEST_URI, WAF_VARIABLE_PATH_INFO, WAF_VARIABLE_REQUEST_HEADERS. Field introduced in 31.2.1. Maximum of 1 items allowed. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Free-text comment about this group. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
Enable or disable this WAF rule group. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
If a rule in this group matches the match_value pattern, this action will be executed. Allowed actions are WAF_ACTION_NO_OP and WAF_ACTION_ALLOW_PARAMETER. Enum options - WAF_ACTION_NO_OP, WAF_ACTION_BLOCK, WAF_ACTION_ALLOW_PARAMETER. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
This field indicates that this group is used for learning. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
If there is no location matching the request, this action will be executed. Allowed actions are WAF_ACTION_NO_OP and WAF_ACTION_BLOCK. Enum options - WAF_ACTION_NO_OP, WAF_ACTION_BLOCK, WAF_ACTION_ALLOW_PARAMETER. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Positive Security Model locations. These are used to partition the application name space. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
If a rule in this group does not match the match_value pattern, this action will be executed. Allowed actions are WAF_ACTION_NO_OP and WAF_ACTION_BLOCK. Enum options - WAF_ACTION_NO_OP, WAF_ACTION_BLOCK, WAF_ACTION_ALLOW_PARAMETER. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
User defined name of the group. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
url
UUID of this object. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
object not found
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name":"string"}'