I am working on a python script that gets a specific repository by name, ultimately I want to see if there are any security alerts associated with it.
Thus far I can get the repo using the python git library, however I can seem to find a way to get information about the alerts [I have created a repo that intentionally has a vulnerable dependency in it, and in the UI it has been flagged.]
This is what my script looks like at the moment:
from github import Github
# create a github instance with my test token
github_instance = Github("my_token_is_here")
# get a specific repository
repo = github_instance.get_repo("name/test_sec_alerts")
does get_repo have the ability to bubble up information about security alerts?