Skip to content

Daily scraper of CISA KEV #683

Daily scraper of CISA KEV

Daily scraper of CISA KEV #683

Workflow file for this run

name: Daily scraper of CISA KEV
on:
workflow_dispatch:
schedule:
- cron: '6 18 * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Scrape CISA KEV
run: curl --silent --output docs/$(date -I)-cisa-kev.csv https://www.cisa.gov/sites/default/files/csv/known_exploited_vulnerabilities.csv
- name: Commit and push if it changed
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A
timestamp=$(date -u)
git commit -m "Update data: ${timestamp}" || exit 0
git push