aquasecurity / vuln-list-k8s

k8s vulnerability advisory
0 stars 8 forks source link

ci: add JSON validation #95

Closed knqyf263 closed 12 months ago

knqyf263 commented 12 months ago

Validate JSON advisories against the JSON schema. The version is fixed to v1.6.0 so that the test result will be consistent. Otherwise, re-triggering the test leads to a different result.

knqyf263 commented 12 months ago

I confirmed it worked. https://github.com/knqyf263/vuln-list-k8s/actions/runs/6378372696/job/17308798220

knqyf263 commented 12 months ago

@chen-keinan @DmitriyLewen Please review this PR, ensuring our advisories are not violating the OSV spec.

knqyf263 commented 12 months ago

It worked locally but didn't work on GitHub Actions... https://github.com/aquasecurity/vuln-list-k8s/actions/runs/6378759639/job/17309967669?pr=94

I'll fix it.

knqyf263 commented 12 months ago

Finally fixed. Shell script is always hard... https://github.com/aquasecurity/vuln-list-k8s/pull/96