ApiGen_context

Simon Bennetts edited this page Dec 4, 2017 · 6 revisions

ZAP 2.7.0 API

Component: context

Name Type Parameters Description
contextList view List context names of current session
excludeRegexs view contextName* List excluded regexs for context
includeRegexs view contextName* List included regexs for context
context view contextName* List the information about the named context
technologyList view Lists the names of all built in technologies
includedTechnologyList view contextName* Lists the names of all technologies included in a context
excludedTechnologyList view contextName* Lists the names of all technologies excluded from a context
excludeFromContext action contextName* regex* Add exclude regex to context
includeInContext action contextName* regex* Add include regex to context
newContext action contextName* Creates a new context with the given name in the current session
removeContext action contextName* Removes a context in the current session
exportContext action contextName* contextFile* 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.
importContext action contextFile* 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.
includeContextTechnologies action contextName* technologyNames* Includes technologies with the given names, separated by a comma, to a context
includeAllContextTechnologies action contextName* Includes all built in technologies in to a context
excludeContextTechnologies action contextName* technologyNames* Excludes technologies with the given names, separated by a comma, from a context
excludeAllContextTechnologies action contextName* Excludes all built in technologies from a context
setContextInScope action contextName* booleanInScope* Sets a context to in scope (contexts are in scope by default)

Starred parameters are mandatory

Back to index

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.