List team sources
Changed onList sources belonging to a team's perimeter.
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/teams/{team_id}/sources
- AuthHTTP bearer
Path parameters
The id of the team
Query parameters
Pagination cursor.
Number of items to list per page.
Sources matching this search.
Filter by the exact, case-sensitive full_path of the source, as returned by this endpoint. Prefer it over search to look up a single source.
Filter sources based on the status of their latest historical scan.
Filter sources based on their health status.
Filter by integration 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.
Response
Source list
Example response
[
{
"id": 6531,
"url": "https://github.com/GitGuardian/gg-shield",
"type": "github",
"full_name": "gitguardian/gg-shield",
"full_path": "GitGuardian/ggshield",
"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
}
]Changes
- info
added the new optional
queryrequest parameterfull_path - info
added the optional property
/to the response with the status
- info
- warning
added the new
launchedenum value to the////response property for the response status - warning
added the new
running_cancelledenum value to the////response property for the response status - warning
added the new
running_failedenum value to the////response property for the response status - warning
added the new
skippedenum value to the////response property for the response status - info
added the enum value
launchedto the propertyallOf[subschema #1]/of thequeryrequest parameterlast_scan_status - info
added the enum value
running_cancelledto the propertyallOf[subschema #1]/of thequeryrequest parameterlast_scan_status - info
added the enum value
running_failedto the propertyallOf[subschema #1]/of thequeryrequest parameterlast_scan_status - info
added the enum value
skippedto the propertyallOf[subschema #1]/of thequeryrequest parameterlast_scan_status
- warning