🔵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.

The Pynt command is a mode within the Pynt CLI that enables you to run API security tests seamlessly alongside any CLI-based functional tests. It integrates directly into your existing testing workflow without requiring changes to your test scripts.

To use the Pynt command, simply wrap your existing functional test command with pynt. This allows Pynt to intercept and analyze API traffic generated by your tests in real time, automatically identifying potential security issues.

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: random)
    --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
    --application-name - Attach the scan to an application, application will be created automatically if it does not exist.
    --host-ca - Path to the CA file in PEM format to enable SSL certificate verification for pynt when running through a VPN.
    --severity-level - 'all', 'medium', 'high', 'critical', 'none' (default) 
    --tag - Tag the scan. Repeat for multiple tags
    --verbose - Use to get more detailed information about the run

Examples

How Pynt command works

Pynt command architecture

For additional support, visit Pynt Community Support.

Last updated