Get all waf custom rules
GET/api/v1/services/:service_id/waf-custom-rules/
Returns the list of waf custom rules of a service.
Request
Path Parameters
service_id uuidrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
action string
Possible values: <= 50 characters
condition_groups
object[]
required
conditions
object[]
required
field stringrequired
Possible values: <= 255 characters
id uuidrequired
operator stringrequired
Possible values: <= 255 characters
value stringrequired
Possible values: <= 1024 characters
id uuidrequired
duration_seconds integernullable
Possible values: >= -2147483648
and <= 2147483647
enabled boolean
id uuidrequired
internal_id integernullable
Possible values: >= -2147483648
and <= 2147483647
name stringrequired
Possible values: <= 255 characters
num_of_requests integernullable
Possible values: >= -2147483648
and <= 2147483647
priority int64nullable
Possible values: >= -9223372036854776000
and <= 9223372036854776000
service_uid stringrequired
time_window_seconds integernullable
Possible values: >= -2147483648
and <= 2147483647
type string
waf uuidrequired
[
{
"action": "string",
"condition_groups": [
{
"conditions": [
{
"field": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"operator": "string",
"value": "string"
}
],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"duration_seconds": 0,
"enabled": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_id": 0,
"name": "string",
"num_of_requests": 0,
"priority": 0,
"service_uid": "string",
"time_window_seconds": 0,
"type": "string",
"waf": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Loading...