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