curl --request GET \
--url https://api.bunny.net/shield/waf/custom-rules/{shieldZoneId}{
"data": [
{
"id": 123,
"shieldZoneId": 123,
"userId": "<string>",
"ruleName": "<string>",
"ruleDescription": "<string>",
"ruleJson": "<string>",
"ruleConfiguration": {
"actionType": 1,
"variableTypes": {
"REQUEST_URI": "<string>",
"REQUEST_URI_RAW": "<string>",
"ARGS": "<string>",
"ARGS_COMBINED_SIZE": "<string>",
"ARGS_GET": "<string>",
"ARGS_GET_NAMES": "<string>",
"ARGS_POST": "<string>",
"ARGS_POST_NAMES": "<string>",
"FILES_NAMES": "<string>",
"GEO": "<string>",
"REMOTE_ADDR": "<string>",
"QUERY_STRING": "<string>",
"REQUEST_BASENAME": "<string>",
"REQUEST_BODY": "<string>",
"REQUEST_COOKIES_NAMES": "<string>",
"REQUEST_COOKIES": "<string>",
"REQUEST_FILENAME": "<string>",
"REQUEST_HEADERS_NAMES": "<string>",
"REQUEST_HEADERS": "<string>",
"REQUEST_LINE": "<string>",
"REQUEST_METHOD": "<string>",
"REQUEST_PROTOCOL": "<string>",
"RESPONSE_BODY": "<string>",
"RESPONSE_HEADERS": "<string>",
"RESPONSE_STATUS": "<string>"
},
"operatorType": 0,
"severityType": 0,
"transformationTypes": [
1
],
"value": "<string>",
"chainedRuleConditions": [
{
"variableTypes": {
"REQUEST_URI": "<string>",
"REQUEST_URI_RAW": "<string>",
"ARGS": "<string>",
"ARGS_COMBINED_SIZE": "<string>",
"ARGS_GET": "<string>",
"ARGS_GET_NAMES": "<string>",
"ARGS_POST": "<string>",
"ARGS_POST_NAMES": "<string>",
"FILES_NAMES": "<string>",
"GEO": "<string>",
"REMOTE_ADDR": "<string>",
"QUERY_STRING": "<string>",
"REQUEST_BASENAME": "<string>",
"REQUEST_BODY": "<string>",
"REQUEST_COOKIES_NAMES": "<string>",
"REQUEST_COOKIES": "<string>",
"REQUEST_FILENAME": "<string>",
"REQUEST_HEADERS_NAMES": "<string>",
"REQUEST_HEADERS": "<string>",
"REQUEST_LINE": "<string>",
"REQUEST_METHOD": "<string>",
"REQUEST_PROTOCOL": "<string>",
"RESPONSE_BODY": "<string>",
"RESPONSE_HEADERS": "<string>",
"RESPONSE_STATUS": "<string>"
},
"operatorType": 0,
"value": "<string>"
}
]
},
"errorResponse": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}
],
"page": {
"totalCount": 123,
"totalPages": 123,
"currentPage": 123,
"nextPage": 123,
"pageSize": 123
},
"error": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}curl --request GET \
--url https://api.bunny.net/shield/waf/custom-rules/{shieldZoneId}{
"data": [
{
"id": 123,
"shieldZoneId": 123,
"userId": "<string>",
"ruleName": "<string>",
"ruleDescription": "<string>",
"ruleJson": "<string>",
"ruleConfiguration": {
"actionType": 1,
"variableTypes": {
"REQUEST_URI": "<string>",
"REQUEST_URI_RAW": "<string>",
"ARGS": "<string>",
"ARGS_COMBINED_SIZE": "<string>",
"ARGS_GET": "<string>",
"ARGS_GET_NAMES": "<string>",
"ARGS_POST": "<string>",
"ARGS_POST_NAMES": "<string>",
"FILES_NAMES": "<string>",
"GEO": "<string>",
"REMOTE_ADDR": "<string>",
"QUERY_STRING": "<string>",
"REQUEST_BASENAME": "<string>",
"REQUEST_BODY": "<string>",
"REQUEST_COOKIES_NAMES": "<string>",
"REQUEST_COOKIES": "<string>",
"REQUEST_FILENAME": "<string>",
"REQUEST_HEADERS_NAMES": "<string>",
"REQUEST_HEADERS": "<string>",
"REQUEST_LINE": "<string>",
"REQUEST_METHOD": "<string>",
"REQUEST_PROTOCOL": "<string>",
"RESPONSE_BODY": "<string>",
"RESPONSE_HEADERS": "<string>",
"RESPONSE_STATUS": "<string>"
},
"operatorType": 0,
"severityType": 0,
"transformationTypes": [
1
],
"value": "<string>",
"chainedRuleConditions": [
{
"variableTypes": {
"REQUEST_URI": "<string>",
"REQUEST_URI_RAW": "<string>",
"ARGS": "<string>",
"ARGS_COMBINED_SIZE": "<string>",
"ARGS_GET": "<string>",
"ARGS_GET_NAMES": "<string>",
"ARGS_POST": "<string>",
"ARGS_POST_NAMES": "<string>",
"FILES_NAMES": "<string>",
"GEO": "<string>",
"REMOTE_ADDR": "<string>",
"QUERY_STRING": "<string>",
"REQUEST_BASENAME": "<string>",
"REQUEST_BODY": "<string>",
"REQUEST_COOKIES_NAMES": "<string>",
"REQUEST_COOKIES": "<string>",
"REQUEST_FILENAME": "<string>",
"REQUEST_HEADERS_NAMES": "<string>",
"REQUEST_HEADERS": "<string>",
"REQUEST_LINE": "<string>",
"REQUEST_METHOD": "<string>",
"REQUEST_PROTOCOL": "<string>",
"RESPONSE_BODY": "<string>",
"RESPONSE_HEADERS": "<string>",
"RESPONSE_STATUS": "<string>"
},
"operatorType": 0,
"value": "<string>"
}
]
},
"errorResponse": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}
],
"page": {
"totalCount": 123,
"totalPages": 123,
"currentPage": 123,
"nextPage": 123,
"pageSize": 123
},
"error": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}The ID of the Shield Zone associated with the Custom WAF Rules.
(Optional) The page number of results.
(Optional) (Default: 10) The amount of results returned on one page.
Was this page helpful?