Programatically get all sources / projects where a network egress policy is imported?

For a given network egress policy, is there an API endpoint to get which sources or projects/repos/compute modules import it?

In Control Panel, one can see this information in the UI, but fed by GraphQL, so the endpoint cannot be replicated programatically.

For context, the requirement is to provide a comprehensive list of network egress the users do on the platform for audit/governance purposes, and the current idea is to get all network policies and then check where they are imported. We are aware that some egress might be happening without network egress policies but rather through Data Connection Agents, so for those we’d need a separate workflow.

Hi @vidak

As of today there are no public APIs available to retrieve this information programatically.

Barth