List public secret incidents
List public secret incidents detected by the GitGuardian dashboard.
Query parameters
Pagination cursor.
Number of items to list per page.
Entries found before this date.
Entries found after this date.
Incidents with triggered_at before this date.
Incidents with triggered_at after this date.
Public secret incidents assigned to this email.
Public secret incidents assigned to this user id.
Public secret incidents with the following status.
Filter public secret incidents by severity.
Public secret incident with the following validity.
Public secret incidents with one of the following tags. Use NONE if you want to filter incidents with no tags.
Public secret incidents with one of the following custom tag ids. To retrieve incidents containing several custom tags at once, this query parameter should be used several times to intersect the results.
Public secret incidents with the given custom tag key.
Public secret incidents with the given custom tag value.
Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
Public secret incidents belonging to the specified detector group.
Public secret incidents ignored by this user id.
Public secret incidents ignored by this API token id.
Public secret incidents resolved by this user id.
Public secret incidents resolved by this API token id.
Public secret incidents with or without feedback.
Public secret incidents with the following declarative secret status.
Incidents whose risk score is greater than or equal to this value. Incidents with a null risk score are excluded.
Incidents whose risk score is less than or equal to this value. Incidents with a null risk score are excluded.
Headers
When set to true, sensitive values in the response are obfuscated (replaced with <GG>OBFUSCATED</GG>). Useful for sharing API responses without exposing sensitive data.
Response
Public Secret Incident List
Example response
[
{
"id": 3759,
"detector": {
"name": "slack_bot_token",
"display_name": "Slack Bot Token",
"nature": "specific",
"family": "token",
"category": "messaging_system",
"detector_group_name": "slackbot_token",
"detector_group_display_name": "Slack Bot Token"
},
"date": "2019-08-22T14:15:22Z",
"secret_id": 1,
"secret_hash": "Ri9FjVgdOlPnBmujoxP4XPJcbe82BhJXB/SAngijw/juCISuOMgPzYhV28m6OG24",
"hmsl_hash": "05975add34ddc9a38a0fb57c7d3e676ffed57080516fc16bf8d8f14308fedb86",
"occurrences_count": 4,
"triggered_at": "2019-05-12T09:37:49Z",
"ignored_at": "2019-08-24T14:15:22Z",
"ignore_reason": "test_credential,ignore_actor",
"ignorer_id": 309,
"ignorer_api_token_id": "fdf075f9-1662-4cf1-9171-af50568158a8",
"resolver_id": 395,
"resolver_api_token_id": "fdf075f9-1662-4cf1-9171-af50568158a8",
"validity": "valid",
"severity": "high",
"assignee_id": 309,
"assignee_email": "eric@gitguardian.com",
"share_url": "https://dashboard.gitguardian.com/share/public-incidents/11111111-1111-1111-1111-111111111111",
"feedback_list": [
{
"created_at": "2021-05-20T12:40:55.662949Z",
"updated_at": "2021-05-20T12:40:55.662949Z",
"member_id": 42,
"email": "eric@gitguardian.com",
"answers": [
{
"field_ref": "actual_secret_yes_no",
"field_label": "Is it an actual secret?",
"boolean": true
}
]
}
],
"resolve_reason": "revoked",
"gitguardian_url": "https://dashboard.gitguardian.com/workspace/1/public-incidents/3899",
"tags": [
"FROM_HISTORICAL_SCAN",
"INTERNALLY_LEAKED"
],
"custom_tags": [
{
"id": "d45a123f-b15d-4fea-abf6-ff2a8479de5b",
"key": "env",
"value": "prod"
}
],
"risk_score": 80,
"severity_rule_id": 42,
"incident_name": "Stripe Token"
}
]