API for security "Risk" and "Coverage" #61172
Replies: 4 comments 1 reply
-
There is an API to get the enablement status for the repositories in an organization (it's the list repositories endpoint on the organization documented here). There is also an organization scoped REST API that will return you all the code scanning alerts that is documented here. |
Beta Was this translation helpful? Give feedback.
-
👋 @electricgull. I'm the product manager for security overview and manage those pages. Thanks for your query! APIs for those pages is on our roadmap. If you'd like to discuss your needs more, I would love to chat with you. |
Beta Was this translation helpful? Give feedback.
-
@kellyarwine Is there any update on this? I am also interested in this API endpoint for metrics. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Is there an API and documentation available that will allow me to run the queries currently available in the Advanced Security UI:
"orgs/{org}/security/coverage?query=archived%3Afalse+code-scanning-alerts%3Anot-enabled"
"security/risk?query=archived%3Afalse+code-scanning-alerts%3A0"
Beta Was this translation helpful? Give feedback.
All reactions