54 lines
1009 B
JSON
54 lines
1009 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"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|