File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1313 generate :
1414 permissions :
1515 contents : write
16- name : " Generate legacy Anchore CVE 5 enriched records from vunerability data spec files"
16+ name : " Generate legacy Anchore CVE 5 enriched records from vunerability index spec files"
1717 runs-on : ubuntu-latest
1818 container :
1919 image : python:3.13-alpine
@@ -26,18 +26,18 @@ jobs:
2626 run : pip install check-jsonschema cpe git+https://github.com/anchore/security-cli
2727 - name : Checkout CVE 5 data
2828 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29- - name : Checkout Vulnerability Data Spec Files
29+ - name : Checkout Vulnerability Index Spec Files
3030 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131 with :
32- repository : anchore/vulnerability-data -spec-files
33- path : .tmp/vulnerability-data -spec-files
32+ repository : anchore/vulnerability-index -spec-files
33+ path : .tmp/vulnerability-index -spec-files
3434 - name : Generate CVE 5 Enrichment Data
35- run : anchore-security-cli -vvv legacy cve5 generate --spec-path .tmp/vulnerability-data -spec-files/data -o data/anchore
35+ run : anchore-security-cli -vvv legacy cve5 generate --spec-path .tmp/vulnerability-index -spec-files/data -o data/anchore
3636 - name : " Verify enrichment record json schema"
3737 run : check-jsonschema --schemafile schema/enrichment_record.schema.json data/**/**/*.json
3838 - name : Commit changes
3939 run : |
4040 git config user.email "github-actions[bot]@users.noreply.github.com"
4141 git config user.name "github-actions[bot]"
4242 ./scripts/commit.sh
43- git push
43+ git push
Original file line number Diff line number Diff line change 11> [ !WARNING]
2- > The json data files in this repo are automatically generated every hour off of the data in https://github.com/anchore/vulnerability-data -spec-files . Do not manually edit data here.
2+ > The json data files in this repo are automatically generated every hour off of the data in https://github.com/anchore/vulnerability-index -spec-files . Do not manually edit data here.
33
4- # CVE Data Enrichment
4+ # CVE Data Enrichment
Original file line number Diff line number Diff line change 11#! /bin/bash -l
22set -euxo pipefail
33
4- commit=$( git -C .tmp/vulnerability-data -spec-files rev-parse HEAD)
4+ commit=$( git -C .tmp/vulnerability-index -spec-files rev-parse HEAD)
55git add .
6- git diff-index --quiet HEAD || git commit --message " chore: generate CVE 5 enrichment records from https://github.com/anchore/vulnerability-data -spec-files/commit/${commit} "
6+ git diff-index --quiet HEAD || git commit --message " chore: generate CVE 5 enrichment records from https://github.com/anchore/vulnerability-index -spec-files/commit/${commit} "
You can’t perform that action at this time.
0 commit comments