Org read role to fetch GitHub License, Copilot and Advance security license metrics for SAM Pro

ANVarma
Tera Contributor

As part of the ServiceNow SaaS integration, we are trying to integrate SAM Pro with GitHub License, GitHub Co-Pilot and GitHub Advanced Security to fetch the license metrics.

As per the docs, i understood the API user (PAT) should have the org-owner role to fetch the required license metrics from GitHub. But we have restriction from GitHub team to share org-admin or org-owner role.

Now I'd like to know whether we can fetch all the required license with just org-read role?

License metrics details we are expecting to fetch from GitHub:

Subscription data (ID, Product Name, Total purchased Seats, Consumed Seats, Subscription status & dates)

User data (ID, Email, User Status, Seat Assignments Status, Organization Members, License Tier), etc., 

0 REPLIES 0