Files
containers/.vib/vib-verify.json
Fran Mulero 255b403872 [bitnami/*] Add grype action to verify phase (#793)
* Add grype action to verify phase

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Remove application.kind

Signed-off-by: Fran Mulero <fmulero@vmware.com>
2022-07-26 16:50:33 +02:00

53 lines
1008 B
JSON

{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"phases": {
"package": {
"actions": [
{
"action_id": "container-image-package",
"params": {
"application": {
"details": {
"name": "{VIB_ENV_CONTAINER}",
"tag": "{VIB_ENV_TAG}"
}
}
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "trivy",
"params": {
"threshold": "CRITICAL",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}