List Rule Analysis Firewall Rules
Returns the list of all published firewall rules in the system.
Use the parameters to filter the list of published firewall rules.
{
"site_ids": [
"string"
],
"offset": 0,
"page_size": 0,
"sort_ascending": false,
"sort_by": "string",
"display_name": [
"string"
],
"rule_id": [
0
],
"parent_path": [
"string"
],
"policy_name": [
"string"
]
}
OK
{
"offset": 0,
"number_of_results": 0,
"total_result_count": 0,
"total_pages": 0,
"sort_ascending": false,
"sort_by": "string",
"firewall_rules": [
{
"_self": {},
"_links": [
{
"href": "string",
"action": "string",
"rel": "string"
}
],
"_schema": "string",
"_revision": 0,
"resource_type": "string",
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_system_owned": false,
"_protection": "string",
"id": "string",
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"origin_site_id": "string",
"owner_id": "string",
"parent_path": "string",
"path": "string",
"realization_id": "string",
"relative_path": "string",
"remote_path": "string",
"unique_id": "string",
"children": [
{
"_self": {},
"_links": [
{
"href": "string",
"action": "string",
"rel": "string"
}
],
"_schema": "string",
"_revision": 0,
"resource_type": "string",
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_system_owned": false,
"_protection": "string",
"id": "string",
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"mark_for_override": false,
"marked_for_delete": false
}
],
"marked_for_delete": false,
"overridden": false,
"destination_groups": [
"string"
],
"destinations_excluded": false,
"direction": "string",
"disabled": false,
"ip_protocol": "string",
"is_default": false,
"logged": false,
"notes": "string",
"profiles": [
"string"
],
"rule_id": 0,
"scope": [
"string"
],
"sequence_number": 0,
"service_entries": [
"string"
],
"services": [
"string"
],
"source_groups": [
"string"
],
"sources_excluded": false,
"tag": "string",
"action": "string",
"policy_name": "string",
"is_anchor": false,
"is_unpublished": false,
"is_ignored": false,
"metadata": [
{
"key": "string",
"value": "string"
}
],
"additional_info": {
"destination_groups": [
{
"path": "string",
"display_name": "string"
}
],
"profiles": [
{
"path": "string",
"display_name": "string"
}
],
"services": [
{
"path": "string",
"display_name": "string"
}
],
"source_groups": [
{
"path": "string",
"display_name": "string"
}
]
}
}
]
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/firewall/rule-analysis/firewall-rules/action/query