GET SSH/Widget/CriticalAlerts
Returns counts for items that represent security risk and should be addressed (Critical Alerts).
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
Name |
Description |
---|---|
minAllowedKeyLength |
An integer representing the minimum allowed key length for the critical alert item applying to key lengths. |
Returns
Name |
Description |
---|---|
Name Value Pairs |
An object containing name of each critical alert and the corresponding number of SSH keys. |
Example: Show security risks by category
Request
GET https://tpp.venafi.example/vedsdk/SSH/Widget/CriticalAlerts&minAllowedKeyLength=1024 Authorization:Bearer 4MyGeneratedBearerTknz==
Response
HTTP/1.1 200 OK { "RootOrphans":2, "NonRootOrphans":7, "AccessibleRootAccounts":1, "SharedPrivateKeys":8, "NonCompliantDuplicatePrivateKeys":0, "VerySmallKey":5 }