Skip to main content

Appscan on Cloud Python API

Generated initially from Appscan on Cloud ( ASOC) swagger spec, added various functionality and CLI interface.

CLI

Install

Requirements

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)

Source distribution for py-asoc 0.3.1
File Size Uploaded
py_asoc-0.3.1.tar.gz 225.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-asoc 0.3.1
File Interpreter ABI Platform
py_asoc-0.3.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page