Get Segmented Audit Records

Gets the segmented audit records for activities in your IBM® Storage Protect for Cloud tenant for IBM Storage Protect for Cloud and IBM Storage Protect for Cloud Microsoft 365.

You can specify the products and data centers for the audit records that you want to obtain.

Examples

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

var records = context3.AuditService.SegmentedQueryAudit(10, 0, $"actiontime ge {"2020-
10-01T01:02:03Z"} and actiontime le { "2020-10-05T01:02:03Z"} and product eq
'Office365Backup' and geolocation in ('CAN','EUR','NAM','AUS','GBR')");

Request Information

Element Description Type Required
Top

Specifies the count of the audit records that you want to get.

Set the property to 0, if you do not want to set up the limit for the number of audit records to get. If you do not set up the property, the command lines will get the first 200 audit records by default.

int No
Skip Specifies the count of the audit records that you want to skip. The command lines will get the audit records starting from the number after the specified. int No
Actiontime Specifies the time range to get the audit records.

The time range between the start action time and end action time cannot be more than 7 days.

string No
Product Specifies the products that you want to get the audit records for. String

Valid values are:

Portal for IBM Storage Protect for Cloud

Office365 Backup for IBM Storage Protect for Cloud Microsoft 365

No
Geolocation Specifies the data center where to get the audit records. string

Valid values are:

AUS for Australia

BRA for Brazil

CAN for Canada

EUR for Europe / Middle East / Africa

DEU for Germany

NAM for North America

AUS for Australia

GBR for United Kingdom

For more details on the code values, refer to this Microsoft article

No

Response Information

The response when getting segmented 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