Get All Environment Category Default Rules

Get All Environment Category Default Rules
Get the list of environment category default rules

Get the list of environment category default rules created by SSP.

These are the global DFW rules in the Environment category that apply to all environment pairs.

Request
URI
GET
https://{api_host}/intelligence/monitoring/environments/category-default-rules
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK. Successfully retrieved environment category default rules.

Returns EnvironmentCategoryDefaultRulesList of type(s) application/json
{
    "environment_category_default_rules": [
        {
            "dfw_policy_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy",
            "default_rule_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy/rules/ssp_env_default_rule",
            "rule_action": "JUMP_TO_APPLICATION",
            "site_id": "5cf83f93-f9dd-4898-a345-44513572c557",
            "is_category_global": true,
            "is_disabled": false
        }
    ]
}
array of environment_category_default_rules
environment_category_default_rules
Optional

List of global environment category DFW policy rules.


400

Bad Request

Returns BadRequest 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.


401

Unauthorized

Returns Unauthorized 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.


403

Forbidden

Returns Forbidden 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.


412

Precondition Failed

Returns PreconditionFailed 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.


428

Precondition Required

Returns PreconditionRequired 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.


429

Too Many Requests

Returns TooManyRequests 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 -H 'Authorization: <value>' https://{api_host}/intelligence/monitoring/environments/category-default-rules