feat(cve-check): add custom elements to cve-summary.json
This commit is contained in:
parent
bb15c4a6d8
commit
3e621df753
|
|
@ -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}"'
|
||||
|
|
|
|||
Loading…
Reference in New Issue