You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download assets from GitHub.com/GitHub Enterprise Server.
corefunc_github_assets"trivy" {
endpoint="https://api.github.com"# Default valuetoken=var.ghes_token# Use GITHUB_TOKEN for GitHub.com, or GHE_TOKEN for GitHub Enterpriserepository="aquasecurity/trivy"version="~> 0.40"# Default value is latestasset_match="${OS}-${ARCH}.tar.gz$"decompress=true# Defaultsave_as="${path}/trivy.tar.gz"# Useful when download is uncompressed binary// If you want to simplify the pathsymlink={
from ="bin/trivy*",
to ="trivy",
}
// When current OS is… set ${OS} to…set_os_value_when={
linux ="Linux"
darwin ="Darwin"
windows ="Windows"
solaris ="Solaris"
freebsd ="FreeBSD"
openbsd ="OpenBSD"
netbsd ="NetBSD"
}
// When current CPU architecture is… set ${ARCH} to…set_arch_value_when={
intel32 ="32bit"
intel64 ="64bit"
arm32 ="ARM"
arm64 ="ARM64"
ppc32 ="PPC"
ppc64 ="PPC64LE"
s390x ="s390x"
}
}
The text was updated successfully, but these errors were encountered:
What functionality would you like to see?
Download assets from GitHub.com/GitHub Enterprise Server.
The text was updated successfully, but these errors were encountered: