Skip to content

tonycch/get-dependabot-alerts-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Dependabot Alerts from a repository

Overview

This Node script takes in a given org and repo to dump out all Dependabot Alerts in the Security tab page.

How to use

  1. Clone this repo to your local machine
  2. Create a filed called .env
  3. Create a GitHub Personal Access Token with repo permission
  4. Add the token to your .env file as GITHUB_TOKEN=insert-token-here
  5. Run npm install then run get-dependabot-alerts.js with org and repo

Example

npm install
node get-dependabot-alerts.js octodemo activemq > output.csv

License

This project is licensed under the MIT License.