ZAP API — context
ZAP API — context. 21 operations. Lead operation: context. Self-contained Naftiko capability covering one Owasp Zap business surface.
What You Can Do
MCP Tools
excludes-all-built-technologies-context
Excludes all built in technologies from a context
excludes-technologies-given-names-separated
Excludes technologies with the given names, separated by a comma, from a context
add-exclude-regex-context
Add exclude regex to context
exports-context-given-name-file
Exports the context with the given name to a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.
imports-context-file-if-relative
Imports a context from a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.
includes-all-built-technologies-context
Includes all built in technologies in to a context
includes-technologies-given-names-separated
Includes technologies with the given names, separated by a comma, to a context
add-include-regex-context
Add include regex to context
creates-new-context-given-name
Creates a new context with the given name in the current session
removes-context-current-session
Removes a context in the current session
set-checking-strategy-context-this
Set the checking strategy for a context - this defines how ZAP checks that a request is authenticated
sets-context-scope-contexts-are
Sets a context to in scope (contexts are in scope by default)
set-regexs-include-and-exclude
Set the regexs to include and exclude for a context, both supplied as JSON string arrays
list-information-about-named-context
List the information about the named context
list-context-names-current-session
List context names of current session
list-excluded-regexs-context
List excluded regexs for context
lists-names-all-technologies-excluded
Lists the names of all technologies excluded from a context
list-included-regexs-context
List included regexs for context
lists-names-all-technologies-included
Lists the names of all technologies included in a context
lists-names-all-built-technologies
Lists the names of all built in technologies
lists-urls-accessed-through-zap
Lists the URLs accessed through/by ZAP, that belong to the context with the given name.