NHI Identities
Override the validity of an identity
Changed onSet the validity of the secret an identity holds with your own check result.
The override applies to every copy of the secret. It stays until you remove it: the checks that ggscout sends and the validity checks of GitGuardian do not change it. A new copy of the same secret gets the override too. A rotated secret is a different value, so the override does not apply to it.
Incidents keep their own validity. To override the validity of an incident, use Override the validity of a secret.
The workspace must have NHI governance activation. The API token must have the Manager access level or above, or be a service account token.
post/v1/nhi/identities/{identity_id}/validity
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/nhi/identities/{identity_id}/validity
- AuthHTTP bearer
Path parameters
identity_idinteger required
The id of the non-human identity
Request body
Response
The override was set.
Example response
{
"identity_id": 1234,
"validity": "invalid",
"validity_override": "invalid"
}Changes
- info
endpoint added
- info