SmartWebSecurity WAF API, REST: RuleSetDescriptor.Get
Returns the specified RuleSetDescriptor resource.
HTTP request
GET https://smartwebsecurity.api.cloud.yandex.net/smartwebsecurity/v1/wafRuleSetDescriptors/{name}/{version}
Path parameters
Field |
Description |
name |
string Required field. Name of the RuleSetDescriptor resource to return. |
version |
string Required field. Version of the RuleSetDescriptor resource to return. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"version": "string",
"id": "string",
"rules": [
{
"id": "string",
"anomalyScore": "string",
"paranoiaLevel": "string"
}
]
}
Field |
Description |
name |
string Required field. Name of the rule set |
version |
string Required field. Version of the rule set |
id |
string Required field. ID of the rule set |
rules[] |
List of rules |
RuleDescription
Field |
Description |
id |
string ID of the rule |
anomalyScore |
string (int64) Numeric anomaly value, i.e., a potential attack indicator. |
paranoiaLevel |
string (int64) Paranoia level classifies rules according to their aggression. |