Show / Hide Table of Contents

Class ListAuditEventsRequest

Inheritance
object
ListAuditEventsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Requests
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ListAuditEventsRequest : IOciRequest
Examples

Click here to see an example of how to use ListAuditEvents request.

Properties

AccessLevel

Declaration
[HttpConverter(TargetEnum.Query, "accessLevel")]
public ListAuditEventsRequest.AccessLevelEnum? AccessLevel { get; set; }
Property Value
Type Description
ListAuditEventsRequest.AccessLevelEnum?

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

A filter to return only resources that match the specified compartment OCID.

Remarks

Required

CompartmentIdInSubtree

Declaration
[HttpConverter(TargetEnum.Query, "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
Type Description
bool?

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

For details about how pagination works, see List Pagination.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique identifier for the request.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination.

ScimQuery

Declaration
[HttpConverter(TargetEnum.Query, "scimQuery")]
public string ScimQuery { get; set; }
Property Value
Type Description
string

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
Example: ** (operationTime ge "2021-06-04T01-00-26") and (eventName eq "LOGON")The attrExp or the field (for example, operationTime and eventName in above example) which is used to filter can be any of the fields returned by AuditEventSummary.adminUser, commonUser, sensitiveActivity, dsActivity can only have eq operation and value 1.These define admin user activity, common user activity, sensitive data activity and data safe activity

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListAuditEventsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListAuditEventsRequest.SortByEnum?

If this query parameter is specified, the result is sorted by this query parameter value.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListAuditEventsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListAuditEventsRequest.SortOrderEnum?

The sort order to use, either ascending (ASC) or descending (DESC).

Implements

IOciRequest
In this article
Back to top