This commit is contained in:
2026-11-05 22:31:22 +01:00
parent d7aff3e5f0
commit b4057e39bb

21
Jenkinsfile vendored
View File

@@ -73,6 +73,27 @@ pipeline {
'''
}
}
stage('Security scan') {
agent {
docker {
image 'fast_reader-ci:latest'
reuseNode true
}
}
steps {
sh '''
echo "=== Generate SBOM ==="
syft dir:. -o cyclonedx-json=flashread-sbom.json
echo "=== Scan SBOM for vulnerabilities ==="
grype sbom:flashread-sbom.json -o table
'''
archiveArtifacts artifacts: 'flashread-sbom.json',
fingerprint: true
}
}
}
post {