Get Audit Records

Gets the audit records for activities in your IBM® Storage Protect for Cloud tenant within a time range.

You can get the audit records for IBM Storage Protect for Cloud and IBM Storage Protect for Cloud Microsoft 365.

Note: These command lines support getting a maximum of 200 audit records. If you would like to get all the audit records for specific products in a certain data center within a long time range, use Get Segmented Audit Records.

Examples

var context = PublicApi.GetContext("https://api.sp4c.storage-defender.ibm.com", "username", "password");

var records = context.AuditService.GetAuditRecords(DateTime.UtcNow.AddDays(-30).Ticks, DateTime.UtcNow.Ticks);
Note: For the start time and end time of the time range, use the Date Time struct to represent an instant in time.

Response Information

The response when getting audit records of activities in your IBM Storage Protect for Cloud tenant.

Element Description Type
ActionName Operation name String
ActionUser Operation user String
ActionParameters Operation parameters String
ActionTime Operation time String
ControllerName Operation controller name String
Product Product name String
PreviousValue Previous value String
CurrentValue Current value String
PartnerTenantOwner Partner tenant owner String
Status Operation status String
Comment Operation comment String
ObjectType Operation object type String
OperationType Operation type String
Module Operation module String
Functionality Operation functionality String
ObjectName Operation object name String