zap-api-scan
Run a full scan against an API defined by OpenAPI/Swagger, SOAP or GraphQL using ZAP
Details
Category: Scanners
Publisher: trickest-mhmdiaa
Created Date: 5/25/2022
Container: quay.io/trickest/zap-api-scan:v2.11.1
Source URL: https://github.com/zaproxy/zaproxy
Parameters
Command:
-j
- use the Ajax spider in addition to the traditional oneCommand:
-U
- username to use for authenticated scans - must be defined in the given context fileCommand:
-a
- include the alpha active and passive scan rules as wellCommand:
-d
- show debug messages in stdoutCommand:
-D
- delay in seconds to wait for passive scanningCommand:
-l
- minimum level to show: PASS, IGNORE, INFO, WARN or FAIL, use with -s (short-output) to hide example URLsCommand:
-f
- API format: openapi, soap, or graphqlCommand:
--schema
- GraphQL schema URL, e.g. https://www.example.com/schema.graphqlsCommand:
-T
- max time in minutes to wait for ZAP to start and the passive scan to runCommand:
-O
- the hostname to override in the (remote) OpenAPI specCommand:
-S
- Safe mode this will skip the active scan and perform a baseline scanCommand:
-c
- config file to use to INFO, IGNORE or FAIL warningsCommand:
-z
- ZAP command line optionsCommand:
-n
- context file which will be loaded prior to scanning the targetCommand:
-s
- short output format - dont show PASSes or example URLsCommand:
-t
- target API definition file, OpenAPI or SOAPCommand:
-t
- target API definition URL (e.g. https://www.example.com/openapi.json, https://www.example.com/graphql)