Resolve a Security Alert

Use the IoT Security API to resolve a security alert.

Synopsis

URI
/pub/v4.0/alert/update
HTTP Method
PUT
FQDN
<customer-name>.iot.paloaltonetworks.com

Description

Resolve a security alert.

Request Fields

The URL of this request contains the following parameters:
Field
Description
id
(
Required
) The alert ID being resolved. To retrieve a list of security alerts, including their IDs, use Get Security Alerts.
The following value is a string.
customerid
(
Required
) The customer ID specifies the API call for a specific tenant.
The following value is a string.
The payload of this request contains the following parameters:
Field
Description
reason
(
Required
) This is the reason for resolving the alert. The following value is a string and cannot contain any special characters.
reason_type
(
Required
) This is the type of reason for resolving the alert and is one of the following array of values:
No Action Needed
Issue Mitigated
Normal behavior for this device
Normal behavior for all devices in the same IoT profile
resolved
(
Required
) This defines the alert as resolved. The following value is a string and must be
yes
.
Request to Resolve an Alert Example
curl 'https://acmecorp.iot.paloaltonetworks.com/pub/v4.0/alert/update?id=<alert_id_number>&customerid=acmecorp' -H 'X-Key-Id: <key_id>' -H 'X-Access-Key: <access_key>' --header 'Content-Type: application/json' --data-raw '{ "reason": "The alert poses no threat", "reason_type": [ "No Action Needed" ], "resolved": "yes" }'

Success Response

Upon success, the HTTP response code is 200.
Success Response Example
{ "api": "/pub/v4.0/alert/update", "ver":"v0.3" }

Error Response

Upon error, the reply includes an HTTP response code, an error message, and additional information describing the error. The HTTP response code is one of the following:
Field
Description
400
Bad Request. Got an invalid JSON.
401
Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.
402
Unauthorized access. User does not have the required license type to run this API.
403
Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.
500
Internal server error. A unified status for API communication type errors.
Error Response Format
{code: STATUS_CODE, msg: GENERAL_MESSAGE}

Recommended For You