Skip to main content

A Wallarm FAST CLI tool for executing tests and getting results from the command line.

Project description

Description

Wallarm FAST CLI - A simple command line interface for Wallarm FAST. For now, this tool can be used in CI system to create test runs and retrieve detected vulnerabilities.

Installation

To install the latest release from PyPI, you can run the following command:
pip install wallarm-fast-cli
Also, you can use docker image:
docker pull faloker/wallarm-fast-cli

Usage

Usage: fast-cli [OPTIONS] COMMAND [ARGS]...

  Wallarm FAST CLI - A simple command line interface for Wallarm FAST.

Options:
  --uuid TEXT    You personal UUID to authorize API calls. Defaults to the
                 value of the env variable WALLARM_UUID.
  --secret TEXT  You personal secret key to authorize API calls. Defaults to
                 the value of the env variable WALLARM_SECRET.
  --help         Show this message and exit.

Commands:
  check   Check that credentials (UUID and Secret key) are valid.
  create  Create a new test run with provided parameters.
  report  Get all findings from test run by id. Findings will be in JSON
          format.

Main purpose of this tool is to create test runs from CI system (i.e. Jenkins), it can be done with create command:

Usage: fast-cli create [OPTIONS]

Options:
  -n, --name TEXT             Test run name.  [required]
  -N, --node TEXT             Node name for test execution. No cloud, only
                              node.  [required]
  -D, --desc TEXT             Short description. Defaults to empty decription.
  -P, --policy TEXT           Policy name to apply.
  -T, --tags TEXT             Comma-separated tags to test run.
  -Rt, --rps-total INTEGER    The max number of concurrent requests.
  -Rb, --rps-per-url INTEGER  The max number of concurrent requests for one
                              baseline (unique url).
  --track / --no-track        If set, then test execution will be tracked and
                              all findings will be exported at the end.
  -o, --out-file TEXT         Save report to the file. Otherwise, the results will
                              be output to stdout.
  --help                      Show this message and exit.

Example of command to create test run:
fast-cli create -n awesome_run -N super_node -P my_policy -T fast,cli,test -Rt 200 -Rb 20

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wallarm-fast-cli-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

wallarm_fast_cli-1.0.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file wallarm-fast-cli-1.0.0.tar.gz.

File metadata

  • Download URL: wallarm-fast-cli-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for wallarm-fast-cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f92657c7426c3aa098d595031a221de336905467897268541747d445a5a17b34
MD5 bb3507721e165c5e7da40d900f12e230
BLAKE2b-256 1bf201e3ec1c6f0043b17c179dc09963c2c7ede4d2a1c5d81040a4d019835688

See more details on using hashes here.

File details

Details for the file wallarm_fast_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: wallarm_fast_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for wallarm_fast_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff9ea6ac6df1cbe4c279613de85b4ad96b90f218700c3f9a1b7abd060d50097d
MD5 a2ab3c47b401010de10b017e97e9a5ac
BLAKE2b-256 5f6a536d9968ec250c544b7ec3fc44cd3148faea468d9f7541fee08a9138232f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page