ZAP API UI

Component: acsrf

Views

optionPartialMatchingEnabledDefine if ZAP should detect CSRF tokens by searching for partial matches
optionTokensNamesLists the names of all anti-CSRF tokens

Actions

addOptionToken (String* ) Adds an anti-CSRF token with the given name, enabled by default
removeOptionToken (String* ) Removes the anti-CSRF token with the given name
setOptionPartialMatchingEnabled (Boolean* ) Define if ZAP should detect CSRF tokens by searching for partial matches.

Others

genForm (hrefId* actionUrl ) Generate a form for testing lack of anti-CSRF tokens - typically invoked via ZAP