List sources
List sources known by GitGuardian.
Query parameters
Pagination cursor.
Page number.
Number of items to list per page.
Sources matching this search.
Filter sources based on the status of their latest historical scan.
Filter sources based on their health status.
Filter by source type.
Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
Filter by visibility status.
Filter by specific external id.
Filter by source criticality.
Filter by monitored value.
Filter by whether the source is archived on the provider side when that information is available (e.g. archived repository). Sources without this metadata are treated as not archived for this filter.
Filter by the id of a team. Only sources belonging to the given team's perimeter are returned. Sources outside of the requester's accessible perimeter are still hidden.
Keep only sources whose real-time monitoring status is one of the given (comma-separated) buckets. Requires the monitoring-status feature to be enabled for the workspace; otherwise the parameter is ignored. The unreachable and disabled buckets are not fully backed yet.
Exclude sources whose real-time monitoring status is one of the given (comma-separated) buckets. Requires the monitoring-status feature to be enabled for the workspace; otherwise the parameter is ignored.
Response
Source List
Example response
[
{
"id": 6531,
"url": "https://github.com/GitGuardian/gg-shield",
"type": "github",
"full_name": "gitguardian/gg-shield",
"health": "at_risk",
"default_branch": "main",
"default_branch_head": "abcd97b4aaf927ea934504263322e75e86c31xyz",
"open_incidents_count": 3,
"closed_incidents_count": 2,
"visibility": "public",
"external_id": "125",
"source_criticality": "critical",
"last_scan": {
"date": "2021-05-20T12:40:55.662949Z",
"status": "finished",
"failing_reason": "DMCA takedown",
"commits_scanned": 123,
"branches_scanned": 2,
"duration": "1:30.454444"
},
"monitored": true,
"monitoring_status": "active",
"deleted": true
}
]