NHI Policies
Retrieve an NHI policy
Changed onRetrieve one NHI policy and its incident mode.
The workspace must have full NHI governance activation. The API token must have the Manager access level or above, or be a service account token.
get/v1/nhi/policies/{policy_name}
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/nhi/policies/{policy_name}
- AuthHTTP bearer
Path parameters
policy_namestring required
The name of the NHI policy, for example long_lived_secret.
Response
The policy.
Example response
{
"name": "long_lived_secret"
}Changes
- info
endpoint added
- info