Skip to main content

No project description provided

Project description

snyk-threadfix

develop
CI Status CircleCI

The ThreadFix / Snyk integration allows you to view open source vulnerabilities identified by Snyk on the ThreadFix platform and direct you to comprehensive information and remediation guidance.

snyk-threadfix allows you to generate a .threadfix file from Snyk project data. It outputs JSON data in the ThreadFix file format - printing to standard out or a specified filename. It does not upload directly to ThreadFix at present but there is a ThreadFix API endpoint that you can use: ThreadFix Upload Scan API.

Installation

pip install snyk-threadfix

Configuration

You must first obtain a Snyk API token from your Snyk account. Once you have a token you must either install the Snyk CLI and run snyk auth <your-token> or simply run:

export SNYK_TOKEN=<your-token> 

Usage

You must first identify your Snyk org ID. This is easy - simply log into your Snyk account, click on Settings, and find your Organization ID there. If you have multiple orgs in your Snyk account, make sure to first choose the one you want. Snyk Org ID

You must also identify the Snyk project ID's for which you would like to generate ThreadFix data. You can do this using the Snyk API, for example, using the List all projects endpoint. See also the pysnyk SDK. Another way of identifying the project IDs you want to use is simply by browsing to the desired project(s) with the Snyk UI and grabbing the UUID from the address bar of your browser. Snyk Project ID

Once you have a project ID or list of project IDs that you would like to generate a threadfix file for, run the following:

For a single project ID:

snyk-threadfix --org-id=<your-snyk-org-id> --project-ids=<snyk-project-id>

For multiple IDs:

snyk-threadfix --org-id=<your-snyk-org-id> --project-ids=<snyk-project-id-0>,<snyk-project-id-1>,<snyk-project-id-2>,...

ThreadFix JSON data will be output to standard out. If you would like to save the JSON to a file you can either pipe it to a file or use the --output parameter, for example:

snyk-threadfix --output=<your-desired-output-filename>.threadfix --org-id=<your-snyk-org-id> --project-ids=<snyk-project-id>

Additional input parameters are available:

snyk-threadfix --help

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

snyk-threadfix-0.0.5.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snyk_threadfix-0.0.5-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file snyk-threadfix-0.0.5.tar.gz.

File metadata

  • Download URL: snyk-threadfix-0.0.5.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.12 Linux/5.11.0-1027-aws

File hashes

Hashes for snyk-threadfix-0.0.5.tar.gz
Algorithm Hash digest
SHA256 55c0af0fac9a133a23a428c0bc4587b4d065738914ab85f942b57b88a85d3382
MD5 f911152c53ef3d01960c8dcb35c1c9d9
BLAKE2b-256 dcb75b8fd4af8af270ca03cbb8f26b1281b681241d3278ce93a9bbe4a9a702f6

See more details on using hashes here.

File details

Details for the file snyk_threadfix-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: snyk_threadfix-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.12 Linux/5.11.0-1027-aws

File hashes

Hashes for snyk_threadfix-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e09b9cb76e830c5f5933036ae7b75699cf036e78aa712732f85ac8943dba5be
MD5 3389cd141d37fb822035aae1487ab878
BLAKE2b-256 f2d9a8586fa31edebd0396a0dc263d6b34da562377991ec1b15ff5f21f6917cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page