zap-baseline | Zap baseline scanner in Docker with authentication | Continuous Deployment library
kandi X-RAY | zap-baseline Summary
kandi X-RAY | zap-baseline Summary
Zap baseline scanner in Docker with authentication
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- The main entry point .
- Login using webdriver
- Load configuration .
- Called when ZAP is started .
- Load blind XSS scripts .
- Replace the callback URI with the callback domain .
- Returns a list of key names .
- Print out info about spanned URLs .
- Start a Docker image .
- Start the ZAP server .
zap-baseline Key Features
zap-baseline Examples and Code Snippets
Community Discussions
Trending Discussions on zap-baseline
QUESTION
I have a command for zap-api-scan.py
, but unlike zap-full-scan.py
, there seems to be no way to limit these.
via OWASP's official docker image:
...ANSWER
Answered 2021-Nov-09 at 00:34-T max time in minutes to wait for ZAP to start and the passive scan to run
Per:
- https://www.zaproxy.org/docs/docker/api-scan/
- https://www.zaproxy.org/docs/docker/full-scan/
- Or using the
-h
switch to print the CLI help.
QUESTION
When starting a scan with docker run -t owasp/zap2docker-stable zap-baseline.py -t https://10.1.2.3/zapwave
the spider will follow back to the root URL https://10.1.2.3
and continue to scan out of scope items. eg /ghost, /mono, /webgoat
Is it possible to limit the scan scope to just the specified directory or below? The web application in this example is OWASP DWVA.
...ANSWER
Answered 2020-Feb-04 at 20:22You haven't passed it a context file from which it would constraint to scope.
The baseline scan documentation is here: https://github.com/zaproxy/zaproxy/wiki/ZAP-Baseline-Scan
In particular you probably care about:
-n context_file context file which will be loaded prior to spidering the target
You should probably also have a look at: https://blog.mozilla.org/security/2017/01/25/setting-a-baseline-for-web-security-controls/
Also it's probably easiest to configure, test, and export the context from the GUI before trying to use it with automation.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zap-baseline
You can use zap-baseline like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page