ZAP API UI
Component: alert
Action: addAlert
Add an alert associated with the given message ID, with the provided details. (The ID of the created alert is returned.)
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
messageId*
The ID of the message to which the alert should be associated.
name*
The name of the alert.
riskId*
The numeric risk representation ('0 - Informational' through '3 - High').
confidenceId*
The numeric confidence representation ('1 - Low' through '3 - High' [user set values '0 - False Positive', and '4 - User Confirmed' are also available]).
description*
The description to be set to the alert.
param
The name of the parameter applicable to the alert.
attack
The attack (ex: injected string) used by the scan rule.
otherInfo
Other information about the alert or test.
solution
The solution for the alert.
references
The reference details for the alert.
evidence
The evidence associated with the alert.
cweId
The CWE identifier associated with the alert.
wascId
The WASC identifier associated with the alert.