🤖 Run CVEmap #4
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 Go 1.21 environment | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
# Install cvemap | |
- name: Install CVEmap | |
run: go install github.com/projectdiscovery/cvemap/cmd/cvemap@latest | |
# Run cvemap with JSON output and specific criteria | |
- name: Run CVEmap with ID filter | |
run: | | |
cvemap -json | |
cvemap -json -id " " | |
env: | |
PATH: ${{ github.workspace }}/go/bin:$PATH | |
PDCP_API_KEY: ${{ secrets.PDCP_API_KEY }} |