Skip to main content

Get fortify application and version ids, create if they don't exist

Project description

fortify-getorcreateapp

Support Library for creating and querying fortify versions and applications.

Installation

pip install fortify-getorcreateapp

Command line Usage

As a python library with a cli entry point, the functionality can be easily accessed through CLI:

$fortify-getorcreateapp --h

usage: fortify-getorcreateapp [-h] [--jid JID] app_name version_name

Print Fortify application and version ids of given fortify application name and version names. Create version and application if they don't exist. Requires
environment variables 'FORTIFY_TOKEN' and 'FORTIFY_URL' to be set. FORTIFY_TOKEN must be an automation token for a (service) account capable of creating a
version and assign users to versions. FORTIFY_URL is the base url for the fortify service (e.g. https://codescan-ssc.mycompany.com/ssc) . It does not include the
path to the api endpoing e.g. 'api/v1'.

positional arguments:
  app_name      application name
  version_name  version name

options:
  -h, --help    show this help message and exit
  --jid JID     PDG_XXXXXX - identifier added to version description, used to synchronized with dashboard. Please set manually if not set upon creation. Consult
                #rdsec with this message if needed.

Build

make

Contribute

This is part of the Standard github actions and as such it is subject to the same process (no direct writes, PRs reviewed by GRC). If you have a contribution please fork and submit a PR.

FAQ

A: "Why is this not simply part of the github action that uses it?"

B: Because the functionality is used across other projects and scripts, it's right encapsulation is a library.

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

fortify_getorcreateapp-0.2.13.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file fortify_getorcreateapp-0.2.13.tar.gz.

File metadata

File hashes

Hashes for fortify_getorcreateapp-0.2.13.tar.gz
Algorithm Hash digest
SHA256 69add8accc5d270dd3866a4b4631eba27c94b38a5af789d40bef622a712d7df8
MD5 dcff64570d46fd199990b8e83a1a885a
BLAKE2b-256 c461f223991320add4c821eed8cc5c2906d5bc7a80e8b4481b46afbd8e3c99d8

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