Skip to main content

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

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.0.tar.gz (225.7 kB view hashes)

Uploaded Source

Built Distribution

py_asoc-0.3.0-py3-none-any.whl (476.0 kB view hashes)

Uploaded Python 3

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