Skip to content

Commit

Permalink
feat: add JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
hrbrmstr committed Oct 5, 2023
1 parent f07bf10 commit 803ecb4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
with:
fetch-depth: 0

- name: Scrape CISA KEV
- name: Scrape CISA KEV CSV
run: curl --silent --output docs/$(date -I)-cisa-kev.csv https://www.cisa.gov/sites/default/files/csv/known_exploited_vulnerabilities.csv

- name: Scrape CISA KEV JSON
run: curl --silent --output docs/$(date -I)-cisa-kev-json https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json

- name: Commit and push if it changed
run: |-
Expand All @@ -25,4 +28,4 @@ jobs:
git add -A
timestamp=$(date -u)
git commit -m "Update data: ${timestamp}" || exit 0
git push
git push

0 comments on commit 803ecb4

Please sign in to comment.