commit 19aef3fe2279c612700aea830c425d956f40d24c
parent f7bcedf11a50471cc3bdf8320cb6ad8effad25d2
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Mon, 3 Mar 2025 00:24:39 +0100
feat: Trivy vuln scan
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -1,6 +1,7 @@
@Library('in0rdr-jenkins-lib@master') _
def updatecli = new Updatecli(this)
+def trivy = new Trivy(this)
// https://plugins.jenkins.io/hashicorp-vault-plugin/#user-content-usage-via-jenkinsfile
def secrets = [
@@ -16,5 +17,7 @@ node('podman'){
withVault([vaultSecrets: secrets]) {
updatecli.run('apply')
+ trivy.vuln()
+ trivy.sbom()
}
}