Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 5

Enable dependency graph and security alert recipients for all repos in our org

Solved! Go to Solution.

Hello,

        I want to enable the dependency graph for all private repos in my organization. Is there a way to do this in 1 go instead of following the below steps for each of them. We have a large number of repos.

 

https://help.github.com/en/articles/listing-the-packages-that-a-repository-depends-on#enabling-the-d...

 

Additionally , is there a way to quickly add additional authorized people to receive security alerts which can be enabled in the UI via the "/security/alerts" endpoint , in one go across all repos ? 

 

I have admin privileges in my org.

4 Replies
Solution
Pilot Lvl 3
Message 2 of 5

Re: Enable dependency graph and security alert recipients for all repos in our org

You can use the github API to enable this:

https://developer.github.com/v3/repos/#enable-vulnerability-alerts

Copilot Lvl 3
Message 3 of 5

Re: Enable dependency graph and security alert recipients for all repos in our org

Hi @seveas . Thanks for the response. That is what I was looking for. However do you know of any API to automatically add additional recipients for the security alerts ?

Pilot Lvl 3
Message 4 of 5

Re: Enable dependency graph and security alert recipients for all repos in our org

I'm afraid I don't. I haven't played around much with this part of GitHub :)

Copilot Lvl 3
Message 5 of 5

Re: Enable dependency graph and security alert recipients for all repos in our org

no problem. Thanks anyways