Description
Project description
Appscan on Cloud Python API
Generated initially from Appscan on Cloud ( ASOC) swagger spec, added various functionality and CLI interface.
CLI
Install
Requirements
- ASOC CLI on the path
- Node.js >= 14 if you want the ability to generate badges
- https://nodejs.org/en/download
- Also, prefer to pre-install badge-maker:
npm install badge-maker
pip install py-asoc
# or for badges
pip install py-asoc[badges]
Run
Usage: asoc [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Options:
-a, --app_id TEXT ASOC App ID [required]
-k, --key_id TEXT ASOC Key ID [required]
-s, --key_secret TEXT ASOC Key Secret [required]
-n, --scan_name TEXT Scan Name [default: main]
-h, --help Show this message and exit.
Commands:
num-issues-badge
scan
status-badge
upload-external
wait
scan
creates an IRX package and uploads it to ASOC, then either creates a new scan or starts an existing one.
upload-external
Uploads any json files in the givven directory to ASOC as external issues.
wait
waits for the scan to finish.
status-badge
generates a badge for the application risk level
num-issues-badge
generates a badge for the number of unresolved issues for the application
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
py_asoc-0.3.1.tar.gz
(225.7 kB
view details)
Built Distribution
py_asoc-0.3.1-py3-none-any.whl
(476.0 kB
view details)
File details
Details for the file py_asoc-0.3.1.tar.gz
.
File metadata
- Download URL: py_asoc-0.3.1.tar.gz
- Upload date:
- Size: 225.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/5.19.0-45-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f72fa6f672356b0ce3a1cbd552eca98eab2907267f3535b60b6063ae5428e41 |
|
MD5 | 3779e32d051a3e99e9ff8f39b8f2da9e |
|
BLAKE2b-256 | f708ff8176426204981793840d62b0e4bffa4c64cb29b04063ef948057966b58 |
File details
Details for the file py_asoc-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: py_asoc-0.3.1-py3-none-any.whl
- Upload date:
- Size: 476.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/5.19.0-45-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed2df910b040ddc329b64c18f6de9b9f3c56762e55113ec4567d32babfd068cf |
|
MD5 | 310210610ad07ce3fc30fe3ec38e8ab1 |
|
BLAKE2b-256 | 7828a63a090e736ea7505f6ee48b8d1ad724f8341c863fea01bc8ebf5dcb6205 |