Skip to content

Update CVE KEV Feeds #839

Update CVE KEV Feeds

Update CVE KEV Feeds #839

Workflow file for this run

name: Update CVE KEV Feeds
on:
schedule:
- cron: '0 10,16 * * *'
workflow_dispatch:
jobs:
update-feeds:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: python -m pip install requests pytz
- name: Fetch and Process Latest Vulnerabilities
run: python scripts/CVEKEVRSS.py
- name: Debug File Generation
run: |
echo "Current Directory: $(pwd)"
ls -lah output/ # Check if JSON & XML were created inside output/
- name: Commit and push if changed
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git add output/CISA-KEV.json output/CISA-KEV.xml README.md
git status # Show changes
git diff --quiet && git diff --staged --quiet || (git commit -m "Update CISA KEV JSON & RSS feeds" && git push)