trivy
cliSupported platforms: darwin, linux.
Install
skt install trivy@<version> --jsonSource
- Type
- cli
- Checksum style
- combined
- Download URL
- https://github.com/aquasecurity/trivy/releases/download/v{version}/{download_file}
- Checksum URL
- https://github.com/aquasecurity/trivy/releases/download/v{version}/{checksum_file}
Recipe TOML
name = "trivy"
type = "cli"
[platform.linux]
download-file = "trivy_{version}_Linux-{arch}.tar.gz"
checksum-file = "trivy_{version}_checksums.txt"
exe-path = "trivy"
[platform.darwin]
download-file = "trivy_{version}_macOS-{arch}.tar.gz"
checksum-file = "trivy_{version}_checksums.txt"
exe-path = "trivy"
[install]
download-url = "https://github.com/aquasecurity/trivy/releases/download/v{version}/{download_file}"
checksum-url = "https://github.com/aquasecurity/trivy/releases/download/v{version}/{checksum_file}"
checksum-style = "combined"
[install.arch]
amd64 = "64bit"
arm64 = "ARM64"
[resolve]
git-url = "https://github.com/aquasecurity/trivy"
version-pattern = "^v((?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+))$"