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.74.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
Release files for trivy-py-ecc 0.74.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.74.0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trivy_py_ecc-0.74.0.1-py2.py3-none-manylinux2014_x86_64.whl | Python 3, Python 2 | none | Linux glibc 2.17+ x86-64 | Details |
Total release size: 49.6 MB
Release files / trivy_py_ecc-0.74.0.1.tar.gz
| Download URL | trivy_py_ecc-0.74.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67930bc2db16cd224d4bbf69feb5aa731d7a69f4e01bdd5a2b4b7d7c83d217ab
|
|
BLAKE2b-256 checksum How to use checksums |
f32da42404cec4b0f4f05dc4da48634123b20610f11b6be7138acc3f96b86f97
|
| 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.74.0.1-py2.py3-none-manylinux2014_x86_64.whl
| Download URL | trivy_py_ecc-0.74.0.1-py2.py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 49.6 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2e9b5ffa11e65f0d4e9770d24f851d2bd26154acc3bbccb9674d83d51e594420
|
|
BLAKE2b-256 checksum How to use checksums |
c27a9cf661002d8ffe9cf3b7671199182e21047dad0f181637ee47f011d032ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|