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

Is the setting for repository opt-in to github Data Services data-use exposed in an API

Hello,

Is there a way to see via an API if an repository has been opted in to the GitHub "Data Services" read-only access for dependecy graph and vulnerability alerts?  I couldn't find it so far.  It would be nice to set it via API and / or set an organisational policy for this too.

2 Replies
Community Manager
Message 2 of 3

Re: Is the setting for repository opt-in to github Data Services data-use exposed in an API

Hey @clemensw,

 

No, there's no way to do that via the API currently, though it's something the team would like to provide. I wish I had better news for you, but I don't. If there's anything else you'd like to see improved -- please let us know.

 

Best,

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Ground Controller Lvl 1
Message 3 of 3

Re: Is the setting for repository opt-in to github Data Services data-use exposed in an API

Hi, is there any update on this ? 

I specifically want to automatically opt in new repos created via API