feat: add jq to sbom pipeline image, rename cve workflow

jq is required to aggregate trivy-reports/*.json into the CVE summary
JSON posted to the edge API.
This commit is contained in:
ychangkim
2026-07-20 17:21:39 +09:00
parent 25e05e0ba2
commit 9b368e4cfc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
name: helm-catalog-cve-json name: helm-catalog-cve-edge-post
# manifests/helm 카탈로그의 컨테이너 이미지 취약점을 스캔해 단일 JSON 요약으로 출력한다. # manifests/helm 카탈로그의 컨테이너 이미지 취약점을 스캔해 단일 JSON 요약으로 출력한다.
# sbom.yml 과 동일한 SBOM+trivy 파이프라인(doc/scripts/*.sh)을 재사용하고, # sbom.yml 과 동일한 SBOM+trivy 파이프라인(doc/scripts/*.sh)을 재사용하고,
+2 -2
View File
@@ -5,7 +5,7 @@
# 로 사용되는 이미지. doc/scripts/*.sh 를 컨테이너 내부에서 직접 실행한다. # 로 사용되는 이미지. doc/scripts/*.sh 를 컨테이너 내부에서 직접 실행한다.
# 상세: doc/sbom-pipeline.md # 상세: doc/sbom-pipeline.md
# #
# 도구: helm(v3) + trivy + python3 + bash + git # 도구: helm(v3) + trivy + python3 + bash + git + jq
# 베이스: debian(glibc) — GitHub Actions container 안에서 node 기반 액션 # 베이스: debian(glibc) — GitHub Actions container 안에서 node 기반 액션
# (actions/checkout, upload-artifact)이 동작하려면 glibc 필요. # (actions/checkout, upload-artifact)이 동작하려면 glibc 필요.
# (alpine/musl 은 node 실행 실패 가능 → debian 사용) # (alpine/musl 은 node 실행 실패 가능 → debian 사용)
@@ -18,7 +18,7 @@
FROM debian:stable-slim FROM debian:stable-slim
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
curl ca-certificates git python3 bash \ curl ca-certificates git python3 bash jq \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# helm v3 # helm v3