This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib/trivy/trivy.cue
jffarge 541d1a7032 init trivy universe
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 15:52:20 +02:00

25 lines
426 B
CUE

package trivy
import (
"alpha.dagger.io/dagger"
)
// Set Trivy download source
// - AWS
// - GCP
// - Docker Hub
// - Self Hosted
// Trivy configuration
#Config: {
// Download source (AWS, GCP, Docker Hub, Self hosted)
source: string
// Trivy Image arguments
args: [arg=string]: string
username: dagger.#Input & {*null | dagger.#Secret}
password: dagger.#Input & {*null | dagger.#Secret}
ssl: *true | bool
}