Skip to content

Actionfail

psiinon edited this page Apr 4, 2013 · 2 revisions

The Fail action is used to indicate that the script has not been successful.
It is typically a child of a conditional statement and used to indicate that a vulnerability has been triggered.

Attributes

Name Format Description
message String The failure message to display to the user
index Integer The index of the statement in the script
elementType String Always ZestActionFail

JSON

An example basic response:
{
  "message": "There is an XSS vulnerability in the 'search' parameter",
  "index": 1,
  "elementType": "ZestActionFail"
}

See also

Clone this wiki locally