feat(cve-check): add custom elements to cve-summary.json

This commit is contained in:
Patrick Vogelaar 2023-06-23 11:37:16 +02:00
parent bb15c4a6d8
commit 3e621df753
1 changed files with 7 additions and 0 deletions

View File

@ -85,3 +85,10 @@ DISTRO_FEATURES_DEFAULT += "virtualization seccomp ipv6"
# Distro based on CoreOS can provide their own configuration files for the
# CoreOS installer by overriding this variable
PREFERRED_PROVIDER_coreos-installer-config ??= "coreos-installer-config"
# Add distro details to cve-summary.json
CVE_CHECK_SUMMARY_JSON_HEADER_ADDITIONS ?= '"distro": "${DISTRO}", \
"distroCodeName": "${DISTRO_CODENAME}", \
"distroVersion": "${DISTRO_VERSION}", \
"metadataBranch": "${COREOS_METADATA_BRANCH}", \
"metadataRevision": "${COREOS_METADATA_REVISION}"'