List Anomaly Rule Sets

List Anomaly Rule Sets
Returns the list of anomaly rule-sets from the firewall rule analysis activity result.

After the rule analysis activity is complete, it returns the various anomaly rule-sets that were found during the analysis. Each of this anomaly rule-set has a list of firewall rules that have the anomaly.

Request
URI
POST
https://{api_host}/firewall/rule-analysis/activities/{id}/result/anomaly-rule-sets/action/query
COPY
Path Parameters
string
id
Required

ID of rule analysis activity


Request Body

Use the parameters to list the firewall rule analysis anomaly rule-sets.

AnomalyRuleSetsListRequest of type(s) application/json
Optional
This request body class requires all of the following: InlineAnomalyRuleSetsListRequest0 , InlineAnomalyRuleSetsListRequest1
{
    "site_ids": [
        "string"
    ],
    "offset": 0,
    "page_size": 0,
    "sort_ascending": false,
    "sort_by": "string",
    "rule_name": [
        "string"
    ],
    "rule_id": [
        0
    ],
    "anomaly_type": [
        "string"
    ],
    "policy_path": [
        "string"
    ],
    "policy_name": [
        "string"
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AnomalyRuleSetsListResult of type(s) application/json
This response body class contains all of the following: InlineAnomalyRuleSetsListResult0 , InlineAnomalyRuleSetsListResult1
{
    "offset": 0,
    "number_of_results": 0,
    "total_result_count": 0,
    "total_pages": 0,
    "sort_ascending": false,
    "sort_by": "string",
    "rule_sets": [
        {
            "id": "string",
            "display_name": "string",
            "anomaly_type": "string",
            "rule_count": 0
        }
    ]
}

default

Error

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required

Message describing the error.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/firewall/rule-analysis/activities/{id}/result/anomaly-rule-sets/action/query