🤖 Run CVEmap #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CVEmap | |
on: | |
workflow_dispatch: | |
jobs: | |
run-cvemap: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Set up secrets | |
- name: Set PDCP API key | |
env: | |
PDCP_API_KEY: ${{ secrets.PDCP_API_KEY }} | |
run: echo "PDCP_API_KEY=${PDCP_API_KEY}" | |
# Run cvemap with JSON output and specific criteria | |
- name: Run CVEmap with ID filter | |
run: | | |
./cvemap -json -id <ID_VALUE> # Replace <ID_VALUE> with your specific ID | |
./cvemap -json -v "<VENDOR>" # Replace "<VENDOR>" with your desired vendor | |
# Add additional cvemap commands as needed | |
# Optional: Store scan results | |
- name: Store scan results (optional) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cvemap-results | |
path: <PATH_TO_RESULTS> # Replace with the path to your output files | |