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
Metadata
Release files for py-asoc 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_asoc-0.3.1.tar.gz | 225.7 kB | Without provenance | Details for py_asoc-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_asoc-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for py_asoc-0.3.1-py3-none-any.whl |
Total release size: 701.7 kB
Release files / py_asoc-0.3.1.tar.gz
| Download URL | py_asoc-0.3.1.tar.gz |
|---|---|
| Size | 225.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f72fa6f672356b0ce3a1cbd552eca98eab2907267f3535b60b6063ae5428e41
|
|
BLAKE2b-256 checksum How to use checksums |
f708ff8176426204981793840d62b0e4bffa4c64cb29b04063ef948057966b58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.11 Linux/5.19.0-45-generic
|
Release files / py_asoc-0.3.1-py3-none-any.whl
| Download URL | py_asoc-0.3.1-py3-none-any.whl |
|---|---|
| Size | 476.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed2df910b040ddc329b64c18f6de9b9f3c56762e55113ec4567d32babfd068cf
|
|
BLAKE2b-256 checksum How to use checksums |
7828a63a090e736ea7505f6ee48b8d1ad724f8341c863fea01bc8ebf5dcb6205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.11 Linux/5.19.0-45-generic
|
Security for py-asoc 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.