Skip to main content

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/eccenca/pre-commit-mirrors-trivy
  rev: v0.73.0.1
  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

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.73.0.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.73.0.1-py2.py3-none-manylinux2014_x86_64.whl (49.1 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: trivy_py_ecc-0.73.0.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.73.0.1.tar.gz
Algorithm Hash digest
SHA256 550ed85b5f7ca0230cfe0a73ad79f7acf894df8a436968c22beeff2a6ae604af
MD5 d786d6049980cf5151092534373aa68c
BLAKE2b-256 19a21179dc41a2e4f5357103c3bdaf44b77531fd6561d4427e59d40554844fe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trivy_py_ecc-0.73.0.1-py2.py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93e4bbd0ff677fbbfa5b58123714e2a96279da5a281826685b17927a7f75e7d5
MD5 29ca97be5b8d5790d504028db2ee26aa
BLAKE2b-256 20e415a027e7409154915313edb6bdad1ebc0bd552ec4abfd8b35ae02a4f93b1

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 Sentry Error logging StatusPage Status page