Get Change History REST Service
Use the Get Change History REST Service to get information about the historical changes that are done to different cryptographic objects such as key alias, certificate alias, device serial number, and UUID in the IBM Security Guardium Key Lifecycle Manager instance.
- Operation
GET
- URL
- https://host:port/SKLM/rest/v1/ckms/conflictResolution/getChangeHistory
By default, Guardium Key Lifecycle Manager server listens to the secure port 9443 (HTTPS) for communication. During IBM Security Guardium Key Lifecycle Manager installation, you can modify this default port.
Request
Request Parameters
Parameter | Description |
---|---|
host | Specify the IP address or hostname of the IBM Security Guardium Key Lifecycle Manager server. |
port | Specify the port number on which the IBM Security Guardium Key Lifecycle Manager server listens for requests. |
Request Headers
Header name | Value |
---|---|
Content-Type | application/json |
Accept | application/json |
Authorization | SKLMAuth userAuthId=<authIdValue> |
Accept-Language | Any valid locale that is supported by IBM Security Guardium Key Lifecycle Manager. For example, en or de. |
Response Headers
Header name | Value and description |
---|---|
Status Code |
|
Content-Type | application/json |
Content-Language | Locale for the response message. |
Success response body
JSON Object with the following specification:
JSON property name | Description |
---|---|
getChangeHistory | Returns the JSON object that contains the information about the historical changes done to the different cryptographic objects in the IBM Security Guardium Key Lifecycle Manager instance. |
Error Response Body
JSON object with the following specification.
JSON property name | Description |
---|---|
code | Returns the application error code. |
message | Returns a message that describes the error. |
Examples
- Service request to get history information
GET https://localhost:port/SKLM/rest/v1/ckms/conflictResolution/getChangeHistory Content-Type: application/json Accept : application/json Authorization: SKLMAuth userAuthId=139aeh34567m Accept-Language : en
- Success response
Status Code : 200 OK Content-Language: en [{"objectType":"CERTIFICATE","changeType":"ALIAS","oldValue":"cert1","newValue":"cert1_updated","changeTime":"10\/16\/16, 5:26:32 PM GMT-12:00"}, ….. {"objectType":"KEY","changeType":"ALIAS","oldValue":"abc0074a5aa0000000001","newValue":"fri0074a5aa0000000000","changeTime":"10\/17\/16, 12:48:06 AM GMT-12:00"}, …… {"objectType":"DEVICE","changeType":"SERIALNUMBER","oldValue":"DEV1LTO12345”,”newValue":"DEV1LTO1234U","changeTime":"10\/17\/16, 6:13:07 AM GMT-12:00"}, … ]
- Error response
Status Code : 400 Bad Request {"code":"CTGKM6002E","message":"CTGKM6002E Bad Request: Invalid user authentication ID or invalid request format."}