SmartWebSecurity WAF API, gRPC: RuleSetDescriptorService.Get
Returns the specified RuleSetDescriptor resource.
gRPC request
rpc Get (GetRuleSetDescriptorRequest) returns (RuleSetDescriptor)
GetRuleSetDescriptorRequest
{
"name": "string",
"version": "string"
}
Field |
Description |
name |
string Required field. Name of the RuleSetDescriptor resource to return. |
version |
string Required field. Version of the RuleSetDescriptor resource to return. |
RuleSetDescriptor
{
"name": "string",
"version": "string",
"id": "string",
"rules": [
{
"id": "string",
"anomalyScore": "int64",
"paranoiaLevel": "int64"
}
]
}
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 |
int64 Numeric anomaly value, i.e., a potential attack indicator. |
paranoiaLevel |
int64 Paranoia level classifies rules according to their aggression. |