🔵Pynt Command CLI Mode
Leverage Pynt in Command CLI mode for efficient, automated API security testing. Run comprehensive security scans directly from your command-line interface.
🚀 At a Glance:
Pynt Command Mode: Run automated API security tests alongside your CLI-based functional tests, integrating security seamlessly into your workflow.
Pynt command is a mode of Pynt CLI that runs API security tests from any CLI based functional tests .
To run Pynt command, simply wrap the command line you use for the functional test with pynt command:
Basic usage
pynt command --cmd <your command line>
Optional arguments
--cmd - The command that runs the functional tests
--captured-domains - Pynt will scan only these domains and subdomains. For all domains write "*"
--test-name - A name for your Pynt scan
--port - Set the port pynt will listen to (DEFAULT: 5001)
--allow-errors - If present will allow command to fail and continue execution
--ca-path - The path to the CA file in PEM format
--proxy-port - Set the port proxied traffic should be routed to (DEFAULT: 6666)
--report - If present will save the generated report in this path.
--insecure - Use when target uses self signed certificates
--self-signed - Use when the functional test verify SSL
--no-proxy-export - Pynt will not export the proxy settings to the environment
--application-id - Attach the scan to an application, you can find the ID in your applications area at app.pynt.io
--host-ca - Path to a CA file (PEM format) to enable SSL certificate verification for pynt when running through VPN.
--severity-level - 'all', 'medium', 'high', 'critical', 'none' (default)
--verbose - Use to get more detailed information about the run
Examples
How Pynt command works

Last updated