-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Description
💡 Feature description
Supporting the GitHub Code Scanning API would allow us to automatically pull security alerts from GitHub and perform actions on those results.
💻 Basic example
let owner = "softprops";
let repo = "hubcaps";
let alerts: Vec<CodeScanningAlerts> = github.repo(owner, repo).code_scanning().alerts().await?;
for alert in alerts {
println!(" >> Alert('{:#?}')", alert.rule.name);
}