Skip to main content

Python wrapper around invoking trivy (https://trivy.dev/)

Project description

build status

trivy-py-ecc

A python wrapper to provide a pip-installable trivy binary.

Internally this package provides a convenient way to download the pre-built trivy binary for your particular platform.

installation

pip install trivy-py-ecc

usage

After installation, the trivy binary should be available in your environment (or trivy.exe on windows).

As a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://github.com/GaukeT/pre-commit-mirrors-trivy
  rev: v0.68.2.0
  hooks:
    - id: trivy-fs
      args:
        - --exit-code=1 # Example: set exit with code 1
        - --debug # Example: enable debug output
        - . # Example: scan current directory (provide DIR as last argument if `args` are used)
    - id: trivy-config

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

trivy_py_ecc-0.68.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

trivy_py_ecc-0.68.2.1-py2.py3-none-manylinux2014_x86_64.whl (46.6 MB view details)

Uploaded Python 2Python 3

File details

Details for the file trivy_py_ecc-0.68.2.1.tar.gz.

File metadata

  • Download URL: trivy_py_ecc-0.68.2.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for trivy_py_ecc-0.68.2.1.tar.gz
Algorithm Hash digest
SHA256 4d8e66bbf99ac2a59ec705421bace102cc85fb7528bef72e132b50fbbc83e681
MD5 f57a4bb33f1d2dd7f81ed2c41cf7ebc3
BLAKE2b-256 aaeaad00c03904705f356d28b7563b0b6a7764ed3d0d933a021b203132bf8172

See more details on using hashes here.

File details

Details for the file trivy_py_ecc-0.68.2.1-py2.py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for trivy_py_ecc-0.68.2.1-py2.py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 568a84931302cc26a117da9b5616fa51c873f46bcfc0dc8b87a4c53c1a5674b4
MD5 7ed71b7152383a357ca660bf5c9ac33b
BLAKE2b-256 e2500736507ef9d6c7d73632e25a8d723b3290a938acd5d2fedce5471c2c9ea7

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