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
apikey*
Form Method
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.
paramThe name of the parameter applicable to the alert.
attackThe attack (ex: injected string) used by the scan rule.
otherInfoOther information about the alert or test.
solutionThe solution for the alert.
referencesThe reference details for the alert.
evidenceThe evidence associated with the alert.
cweIdThe CWE identifier associated with the alert.
wascIdThe WASC identifier associated with the alert.