init trivy universe

Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
This commit is contained in:
jffarge
2021-10-19 17:34:05 +02:00
committed by guillaume
parent fa334f4a86
commit 541d1a7032
4 changed files with 58 additions and 0 deletions

24
stdlib/trivy/trivy.cue Normal file
View File

@@ -0,0 +1,24 @@
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
}