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.69.1.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.69.1.0.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.69.1.0-py2.py3-none-manylinux2014_x86_64.whl (47.6 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: trivy_py_ecc-0.69.1.0.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.69.1.0.tar.gz
Algorithm Hash digest
SHA256 da1acd5f7dbe93b5f61c600e5d23dcfc4ea3c514120ed1dea5074113f80855fc
MD5 f37e93f911cadbb382807d8f670a3574
BLAKE2b-256 06f1f89b57210bbf589907b0ad7ba824cbf59fda31548da1fbb4cd01c432998e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trivy_py_ecc-0.69.1.0-py2.py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9715652bcfdb8b5d09e1b3dc6dd85d9d34f96538a0cb95b44b30c1d2c249dea0
MD5 ae8887867c21134b2c2a0381c44899a0
BLAKE2b-256 c21937e73c528fcb732f0d4ee1464b318641d8b76312c85a0951651a6b25581c

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