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.76.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
Metadata
Release files for trivy-py-ecc 0.76.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trivy_py_ecc-0.76.0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trivy_py_ecc-0.76.0.1-py2.py3-none-manylinux2014_x86_64.whl | Python 3, Python 2 | none | Linux glibc 2.17+ x86-64 | Details |
Total release size: 51.4 MB
Release files / trivy_py_ecc-0.76.0.1.tar.gz
| Download URL | trivy_py_ecc-0.76.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9385d46a4a3865106aee8a64964c64b5f95cf0dff1e4e30d993fc1c50cf34a89
|
|
BLAKE2b-256 checksum How to use checksums |
e0ed9982cdb59ed46767999aad533e88adab8ca96a4d60dd8a3326bfa62357d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / trivy_py_ecc-0.76.0.1-py2.py3-none-manylinux2014_x86_64.whl
| Download URL | trivy_py_ecc-0.76.0.1-py2.py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 51.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9b426f382743a37d74c693ba0dbccc01b8941cb55a69922fff2d0f1d436ad931
|
|
BLAKE2b-256 checksum How to use checksums |
981f11fabb48c8dd5365704aa2379582ff6f06aabcd35efd87175432ef0e341a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|