GET SSH/Widget/PolicyViolations

Returns the number of SSH keys that are in violation of Trust Protection Platform folders.

Requirements

  • Token scope:  SSH

Headers

  • Content type: Content-Type:application/json.

  • Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.

Parameters

None

Returns

Response description

Name

Description

Name Value Pairs

An object containing name of each policy violation and the corresponding number of SSH keys.

Example: Show policy violations

Request

GET 
https://tpp.venafi.example/vedsdk/SSH/Widget/PolicyViolations
Authorization:Bearer 4MyGeneratedBearerTknz==

Response

HTTP/1.1 200 OK 
{
   "NoncompliantForceCommand":0,
   "NoncompliantSourceRestriction":0,
   "MissingOptions":0,
   "NoncompliantAlgorithm":0,
   "VulnerableProtocol":2,
   "NoncompliantVendorFormat":0,
   "KeyOlderThanPolicy":0,
   "SharedServerAccount":2,
   "KeySmallerThanPolicy":0,
   "DuplicatePrivateKeys":0,
   "RootAccess":3
}