Put Application Monitoring Config

Put Application Monitoring Config
Create or update additional monitoring rules for an application

Create or update the additional monitoring rules configuration for a specific application.

Additional rules let you track flows hitting specific DFW rules (beyond the default unprotected-flow monitoring). Each rule is identified by its site_id and rule_path. The full list of rules in the request body replaces any previously stored rules - this is a full overwrite, not a partial update.

The application_id in the request body must match the {application-id} path parameter. The {application-id} comes from the id field in POST /monitoring/applications/results-by-app results.

To read the current configuration without modifying it, use GET /monitoring/applications/{application-id}/monitoring-config.

Request
URI
PUT
https://{api_host}/intelligence/monitoring/applications/{application-id}/monitoring-config
COPY
Path Parameters
string
application-id
Required  

The unique identifier of the application (UUID from POST /monitoring/applications/results-by-app)

application-id example
201554c7-4c10-4673-b640-a59bf78d7664

Request Body

Application monitoring configuration with the full list of rules to monitor

ApplicationMonitoringConfigV2 of type(s) application/json
Required  
This request body class requires all of the following: ManagedResource , InlineApplicationMonitoringConfigV21
{
    "application_id": "201554c7-4c10-4673-b640-a59bf78d7664",
    "id": "201554c7-4c10-4673-b640-a59bf78d7664",
    "_revision": 0,
    "_create_user": "system",
    "_create_time": 1781903185224,
    "additional_rules_request": {
        "rules": [
            {
                "site_id": "24e6b262-38b6-4c6a-b624-62bb13248e4f",
                "rule_path": "/infra/domains/default/security-policies/Policy-57ab58c9-86ed-4e62-b701-eca2e2da9127-b46e08b9-2183-4489-81d2-2f3fb1c8b9b5/auto-plumbed-rules/default_deny_rule"
            }
        ]
    }
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK. Monitoring configuration updated successfully.

Returns ApplicationMonitoringConfigV2 of type(s) application/json
This response body class contains all of the following: ManagedResource , InlineApplicationMonitoringConfigV21
{
    "application_id": "201554c7-4c10-4673-b640-a59bf78d7664",
    "id": "201554c7-4c10-4673-b640-a59bf78d7664",
    "display_name": "201554c7-4c10-4673-b640-a59bf78d7664-monitoring-config",
    "_revision": 1,
    "_create_user": "admin",
    "_create_time": 0,
    "_last_modified_user": "admin",
    "_last_modified_time": 1781903558732,
    "additional_rules_request": {
        "rules": [
            {
                "site_id": "24e6b262-38b6-4c6a-b624-62bb13248e4f",
                "rule_path": "/infra/domains/default/security-policies/Policy-57ab58c9-86ed-4e62-b701-eca2e2da9127-b46e08b9-2183-4489-81d2-2f3fb1c8b9b5/auto-plumbed-rules/default_deny_rule"
            }
        ]
    }
}

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.


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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"application_id":"string"}' https://{api_host}/intelligence/monitoring/applications/{application-id}/monitoring-config