List sources
Changed onList the sources that send non-human identities to GitGuardian: secrets managers, consumers such as Kubernetes clusters or CI systems, cloud providers and endpoints.
Use the source ids to filter identities with vault_source_id__in, consumer_source_id__in, endpoint_source_id__in and provider_source_id__in.
The response contains a page of sources and a pagination cursor to retrieve the next page. The sources are sorted by id.
The API token must have the Manager access level or above, or be a service account token.
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/nhi/sources
- AuthHTTP bearer
Query parameters
Pagination cursor.
Number of items to list per page.
Search on the identifier of the source.
Source types, comma-separated.
Keep only the secrets managers (true) or the other sources (false).
Keep only the sources seen (true) or not seen (false) within the workspace's activity period.
Response
A page of sources.
Example response
[
{
"id": 56,
"type": "hashicorpvault",
"identifier": "https://vault.example.com"
}
]Changes
- info
endpoint added
- info