oci.Audit.getEvents
Explore with Pulumi AI
This data source provides the list of Audit Events in Oracle Cloud Infrastructure Audit service.
Returns all the audit events processed for the specified compartment within the specified time range.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAuditEvents = oci.Audit.getEvents({
    compartmentId: compartmentId,
    endTime: auditEventEndTime,
    startTime: auditEventStartTime,
});
import pulumi
import pulumi_oci as oci
test_audit_events = oci.Audit.get_events(compartment_id=compartment_id,
    end_time=audit_event_end_time,
    start_time=audit_event_start_time)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/audit"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := audit.GetEvents(ctx, &audit.GetEventsArgs{
			CompartmentId: compartmentId,
			EndTime:       auditEventEndTime,
			StartTime:     auditEventStartTime,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testAuditEvents = Oci.Audit.GetEvents.Invoke(new()
    {
        CompartmentId = compartmentId,
        EndTime = auditEventEndTime,
        StartTime = auditEventStartTime,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Audit.AuditFunctions;
import com.pulumi.oci.Audit.inputs.GetEventsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testAuditEvents = AuditFunctions.getEvents(GetEventsArgs.builder()
            .compartmentId(compartmentId)
            .endTime(auditEventEndTime)
            .startTime(auditEventStartTime)
            .build());
    }
}
variables:
  testAuditEvents:
    fn::invoke:
      function: oci:Audit:getEvents
      arguments:
        compartmentId: ${compartmentId}
        endTime: ${auditEventEndTime}
        startTime: ${auditEventStartTime}
Using getEvents
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEvents(args: GetEventsArgs, opts?: InvokeOptions): Promise<GetEventsResult>
function getEventsOutput(args: GetEventsOutputArgs, opts?: InvokeOptions): Output<GetEventsResult>def get_events(compartment_id: Optional[str] = None,
               end_time: Optional[str] = None,
               filters: Optional[Sequence[GetEventsFilter]] = None,
               start_time: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetEventsResult
def get_events_output(compartment_id: Optional[pulumi.Input[str]] = None,
               end_time: Optional[pulumi.Input[str]] = None,
               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetEventsFilterArgs]]]] = None,
               start_time: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetEventsResult]func GetEvents(ctx *Context, args *GetEventsArgs, opts ...InvokeOption) (*GetEventsResult, error)
func GetEventsOutput(ctx *Context, args *GetEventsOutputArgs, opts ...InvokeOption) GetEventsResultOutput> Note: This function is named GetEvents in the Go SDK.
public static class GetEvents 
{
    public static Task<GetEventsResult> InvokeAsync(GetEventsArgs args, InvokeOptions? opts = null)
    public static Output<GetEventsResult> Invoke(GetEventsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventsResult> getEvents(GetEventsArgs args, InvokeOptions options)
public static Output<GetEventsResult> getEvents(GetEventsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Audit/getEvents:getEvents
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- EndTime string
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- StartTime string
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- Filters
List<GetEvents Filter> 
- CompartmentId string
- The OCID of the compartment.
- EndTime string
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- StartTime string
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- Filters
[]GetEvents Filter 
- compartmentId String
- The OCID of the compartment.
- endTime String
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- startTime String
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- filters
List<GetEvents Filter> 
- compartmentId string
- The OCID of the compartment.
- endTime string
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- startTime string
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- filters
GetEvents Filter[] 
- compartment_id str
- The OCID of the compartment.
- end_time str
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- start_time str
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- filters
Sequence[GetEvents Filter] 
- compartmentId String
- The OCID of the compartment.
- endTime String
- Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-01T00:00:00Zand an end value of- 2017-01-02T00:00:00Zwill retrieve a list of all events processed on January 1, 2017. Similarly, a start value of- 2017-01-01T00:00:00Zand an end value of- 2017-02-01T00:00:00Zwill result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- startTime String
- Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format. - For example, a start value of - 2017-01-15T11:30:00Zwill retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to- 0.
- filters List<Property Map>
getEvents Result
The following output properties are available:
- AuditEvents List<GetEvents Audit Event> 
- The list of audit_events.
- CompartmentId string
- The OCID of the compartment of the resource emitting the event.
- EndTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- StartTime string
- Filters
List<GetEvents Filter> 
- AuditEvents []GetEvents Audit Event 
- The list of audit_events.
- CompartmentId string
- The OCID of the compartment of the resource emitting the event.
- EndTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- StartTime string
- Filters
[]GetEvents Filter 
- auditEvents List<GetEvents Event> 
- The list of audit_events.
- compartmentId String
- The OCID of the compartment of the resource emitting the event.
- endTime String
- id String
- The provider-assigned unique ID for this managed resource.
- startTime String
- filters
List<GetEvents Filter> 
- auditEvents GetEvents Audit Event[] 
- The list of audit_events.
- compartmentId string
- The OCID of the compartment of the resource emitting the event.
- endTime string
- id string
- The provider-assigned unique ID for this managed resource.
- startTime string
- filters
GetEvents Filter[] 
- audit_events Sequence[GetEvents Audit Event] 
- The list of audit_events.
- compartment_id str
- The OCID of the compartment of the resource emitting the event.
- end_time str
- id str
- The provider-assigned unique ID for this managed resource.
- start_time str
- filters
Sequence[GetEvents Filter] 
- auditEvents List<Property Map>
- The list of audit_events.
- compartmentId String
- The OCID of the compartment of the resource emitting the event.
- endTime String
- id String
- The provider-assigned unique ID for this managed resource.
- startTime String
- filters List<Property Map>
Supporting Types
GetEventsAuditEvent   
- CloudEvents stringVersion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- ContentType string
- The content type of the data contained in data. Example:application/json
- Datas
List<GetEvents Audit Event Data> 
- The payload of the event. Information within datacomes from the resource emitting the event.
- EventId string
- The GUID of the event.
- EventTime string
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- EventType string
- The type of event that happened.
- EventType stringVersion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- Source string
- The source of the event. Example: ComputeApi
- CloudEvents stringVersion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- ContentType string
- The content type of the data contained in data. Example:application/json
- Datas
[]GetEvents Audit Event Data 
- The payload of the event. Information within datacomes from the resource emitting the event.
- EventId string
- The GUID of the event.
- EventTime string
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- EventType string
- The type of event that happened.
- EventType stringVersion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- Source string
- The source of the event. Example: ComputeApi
- cloudEvents StringVersion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- contentType String
- The content type of the data contained in data. Example:application/json
- datas
List<GetEvents Event Data> 
- The payload of the event. Information within datacomes from the resource emitting the event.
- eventId String
- The GUID of the event.
- eventTime String
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- eventType String
- The type of event that happened.
- eventType StringVersion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- source String
- The source of the event. Example: ComputeApi
- cloudEvents stringVersion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- contentType string
- The content type of the data contained in data. Example:application/json
- datas
GetEvents Audit Event Data[] 
- The payload of the event. Information within datacomes from the resource emitting the event.
- eventId string
- The GUID of the event.
- eventTime string
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- eventType string
- The type of event that happened.
- eventType stringVersion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- source string
- The source of the event. Example: ComputeApi
- cloud_events_ strversion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- content_type str
- The content type of the data contained in data. Example:application/json
- datas
Sequence[GetEvents Audit Event Data] 
- The payload of the event. Information within datacomes from the resource emitting the event.
- event_id str
- The GUID of the event.
- event_time str
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- event_type str
- The type of event that happened.
- event_type_ strversion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- source str
- The source of the event. Example: ComputeApi
- cloudEvents StringVersion 
- The version of the CloudEvents specification. The structure of the envelope follows the CloudEvents industry standard format hosted by the Cloud Native Computing Foundation ( CNCF).
- contentType String
- The content type of the data contained in data. Example:application/json
- datas List<Property Map>
- The payload of the event. Information within datacomes from the resource emitting the event.
- eventId String
- The GUID of the event.
- eventTime String
- The time the event occurred, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.252Z
- eventType String
- The type of event that happened.
- eventType StringVersion 
- The version of the event type. This version applies to the payload of the event, not the envelope. Use cloudEventsVersionto determine the version of the envelope. Example:2.0
- source String
- The source of the event. Example: ComputeApi
GetEventsAuditEventData    
- AdditionalDetails Dictionary<string, string>
- A container object for attribues unique to the resource emitting the event.
- AvailabilityDomain string
- The availability domain where the resource resides.
- CompartmentId string
- The OCID of the compartment.
- CompartmentName string
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- EventGrouping stringId 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- EventName string
- Name of the API operation that generated this event. Example: GetInstance
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Identities
List<GetEvents Audit Event Data Identity> 
- A container object for identity attributes.
- Requests
List<GetEvents Audit Event Data Request> 
- A container object for request attributes.
- ResourceId string
- An OCID or some other ID for the resource emitting the event.
- ResourceName string
- The name of the resource emitting the event.
- Responses
List<GetEvents Audit Event Data Response> 
- A container object for response attributes.
- StateChanges List<GetEvents Audit Event Data State Change> 
- A container object for state change attributes.
- AdditionalDetails map[string]string
- A container object for attribues unique to the resource emitting the event.
- AvailabilityDomain string
- The availability domain where the resource resides.
- CompartmentId string
- The OCID of the compartment.
- CompartmentName string
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- EventGrouping stringId 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- EventName string
- Name of the API operation that generated this event. Example: GetInstance
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Identities
[]GetEvents Audit Event Data Identity 
- A container object for identity attributes.
- Requests
[]GetEvents Audit Event Data Request 
- A container object for request attributes.
- ResourceId string
- An OCID or some other ID for the resource emitting the event.
- ResourceName string
- The name of the resource emitting the event.
- Responses
[]GetEvents Audit Event Data Response 
- A container object for response attributes.
- StateChanges []GetEvents Audit Event Data State Change 
- A container object for state change attributes.
- additionalDetails Map<String,String>
- A container object for attribues unique to the resource emitting the event.
- availabilityDomain String
- The availability domain where the resource resides.
- compartmentId String
- The OCID of the compartment.
- compartmentName String
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- eventGrouping StringId 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- eventName String
- Name of the API operation that generated this event. Example: GetInstance
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- identities
List<GetEvents Event Data Identity> 
- A container object for identity attributes.
- requests
List<GetEvents Event Data Request> 
- A container object for request attributes.
- resourceId String
- An OCID or some other ID for the resource emitting the event.
- resourceName String
- The name of the resource emitting the event.
- responses
List<GetEvents Event Data Response> 
- A container object for response attributes.
- stateChanges List<GetEvents Event Data State Change> 
- A container object for state change attributes.
- additionalDetails {[key: string]: string}
- A container object for attribues unique to the resource emitting the event.
- availabilityDomain string
- The availability domain where the resource resides.
- compartmentId string
- The OCID of the compartment.
- compartmentName string
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- eventGrouping stringId 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- eventName string
- Name of the API operation that generated this event. Example: GetInstance
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- identities
GetEvents Audit Event Data Identity[] 
- A container object for identity attributes.
- requests
GetEvents Audit Event Data Request[] 
- A container object for request attributes.
- resourceId string
- An OCID or some other ID for the resource emitting the event.
- resourceName string
- The name of the resource emitting the event.
- responses
GetEvents Audit Event Data Response[] 
- A container object for response attributes.
- stateChanges GetEvents Audit Event Data State Change[] 
- A container object for state change attributes.
- additional_details Mapping[str, str]
- A container object for attribues unique to the resource emitting the event.
- availability_domain str
- The availability domain where the resource resides.
- compartment_id str
- The OCID of the compartment.
- compartment_name str
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- event_grouping_ strid 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- event_name str
- Name of the API operation that generated this event. Example: GetInstance
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- identities
Sequence[GetEvents Audit Event Data Identity] 
- A container object for identity attributes.
- requests
Sequence[GetEvents Audit Event Data Request] 
- A container object for request attributes.
- resource_id str
- An OCID or some other ID for the resource emitting the event.
- resource_name str
- The name of the resource emitting the event.
- responses
Sequence[GetEvents Audit Event Data Response] 
- A container object for response attributes.
- state_changes Sequence[GetEvents Audit Event Data State Change] 
- A container object for state change attributes.
- additionalDetails Map<String>
- A container object for attribues unique to the resource emitting the event.
- availabilityDomain String
- The availability domain where the resource resides.
- compartmentId String
- The OCID of the compartment.
- compartmentName String
- The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event. Example: CompartmentA
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- eventGrouping StringId 
- This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
- eventName String
- Name of the API operation that generated this event. Example: GetInstance
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags. Example: {"Department": "Finance"}
- identities List<Property Map>
- A container object for identity attributes.
- requests List<Property Map>
- A container object for request attributes.
- resourceId String
- An OCID or some other ID for the resource emitting the event.
- resourceName String
- The name of the resource emitting the event.
- responses List<Property Map>
- A container object for response attributes.
- stateChanges List<Property Map>
- A container object for state change attributes.
GetEventsAuditEventDataIdentity     
- AuthType string
- The type of authentication used. Example: natv
- CallerId string
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- CallerName string
- The name of the user or service. This value is the friendly name associated with callerId.
- ConsoleSession stringId 
- This value identifies any Console session associated with this request.
- Credentials string
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- IpAddress string
- The IP address of the source of the request. Example: 172.24.80.88
- PrincipalId string
- The OCID of the principal.
- PrincipalName string
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- TenantId string
- The OCID of the tenant.
- UserAgent string
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- AuthType string
- The type of authentication used. Example: natv
- CallerId string
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- CallerName string
- The name of the user or service. This value is the friendly name associated with callerId.
- ConsoleSession stringId 
- This value identifies any Console session associated with this request.
- Credentials string
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- IpAddress string
- The IP address of the source of the request. Example: 172.24.80.88
- PrincipalId string
- The OCID of the principal.
- PrincipalName string
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- TenantId string
- The OCID of the tenant.
- UserAgent string
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- authType String
- The type of authentication used. Example: natv
- callerId String
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- callerName String
- The name of the user or service. This value is the friendly name associated with callerId.
- consoleSession StringId 
- This value identifies any Console session associated with this request.
- credentials String
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- ipAddress String
- The IP address of the source of the request. Example: 172.24.80.88
- principalId String
- The OCID of the principal.
- principalName String
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- tenantId String
- The OCID of the tenant.
- userAgent String
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- authType string
- The type of authentication used. Example: natv
- callerId string
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- callerName string
- The name of the user or service. This value is the friendly name associated with callerId.
- consoleSession stringId 
- This value identifies any Console session associated with this request.
- credentials string
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- ipAddress string
- The IP address of the source of the request. Example: 172.24.80.88
- principalId string
- The OCID of the principal.
- principalName string
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- tenantId string
- The OCID of the tenant.
- userAgent string
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth_type str
- The type of authentication used. Example: natv
- caller_id str
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller_name str
- The name of the user or service. This value is the friendly name associated with callerId.
- console_session_ strid 
- This value identifies any Console session associated with this request.
- credentials str
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- ip_address str
- The IP address of the source of the request. Example: 172.24.80.88
- principal_id str
- The OCID of the principal.
- principal_name str
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- tenant_id str
- The OCID of the tenant.
- user_agent str
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- authType String
- The type of authentication used. Example: natv
- callerId String
- The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- callerName String
- The name of the user or service. This value is the friendly name associated with callerId.
- consoleSession StringId 
- This value identifies any Console session associated with this request.
- credentials String
- The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
- ipAddress String
- The IP address of the source of the request. Example: 172.24.80.88
- principalId String
- The OCID of the principal.
- principalName String
- The name of the user or service. This value is the friendly name associated with principalId. Example:ExampleName
- tenantId String
- The OCID of the tenant.
- userAgent String
- The user agent of the client that made the request. Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
GetEventsAuditEventDataRequest     
- Action string
- The HTTP method of the request. Example: GET
- Headers Dictionary<string, string>
- The headers of the response.
- Id string
- The opc-request-id of the request.
- Parameters Dictionary<string, string>
- The parameters supplied by the caller during this operation.
- Path string
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- Action string
- The HTTP method of the request. Example: GET
- Headers map[string]string
- The headers of the response.
- Id string
- The opc-request-id of the request.
- Parameters map[string]string
- The parameters supplied by the caller during this operation.
- Path string
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action String
- The HTTP method of the request. Example: GET
- headers Map<String,String>
- The headers of the response.
- id String
- The opc-request-id of the request.
- parameters Map<String,String>
- The parameters supplied by the caller during this operation.
- path String
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action string
- The HTTP method of the request. Example: GET
- headers {[key: string]: string}
- The headers of the response.
- id string
- The opc-request-id of the request.
- parameters {[key: string]: string}
- The parameters supplied by the caller during this operation.
- path string
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action str
- The HTTP method of the request. Example: GET
- headers Mapping[str, str]
- The headers of the response.
- id str
- The opc-request-id of the request.
- parameters Mapping[str, str]
- The parameters supplied by the caller during this operation.
- path str
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action String
- The HTTP method of the request. Example: GET
- headers Map<String>
- The headers of the response.
- id String
- The opc-request-id of the request.
- parameters Map<String>
- The parameters supplied by the caller during this operation.
- path String
- The full path of the API request. Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
GetEventsAuditEventDataResponse     
- Headers Dictionary<string, string>
- The headers of the response.
- Message string
- A friendly description of what happened during the operation. Use this for troubleshooting.
- Payload Dictionary<string, string>
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- ResponseTime string
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- Status string
- The status code of the response. Example: 200
- Headers map[string]string
- The headers of the response.
- Message string
- A friendly description of what happened during the operation. Use this for troubleshooting.
- Payload map[string]string
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- ResponseTime string
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- Status string
- The status code of the response. Example: 200
- headers Map<String,String>
- The headers of the response.
- message String
- A friendly description of what happened during the operation. Use this for troubleshooting.
- payload Map<String,String>
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- responseTime String
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- status String
- The status code of the response. Example: 200
- headers {[key: string]: string}
- The headers of the response.
- message string
- A friendly description of what happened during the operation. Use this for troubleshooting.
- payload {[key: string]: string}
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- responseTime string
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- status string
- The status code of the response. Example: 200
- headers Mapping[str, str]
- The headers of the response.
- message str
- A friendly description of what happened during the operation. Use this for troubleshooting.
- payload Mapping[str, str]
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- response_time str
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- status str
- The status code of the response. Example: 200
- headers Map<String>
- The headers of the response.
- message String
- A friendly description of what happened during the operation. Use this for troubleshooting.
- payload Map<String>
- This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.
- responseTime String
- The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example: 2019-09-18T00:10:59.278Z
- status String
- The status code of the response. Example: 200
GetEventsAuditEventDataStateChange      
- Current Dictionary<string, string>
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- Previous Dictionary<string, string>
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
- Current map[string]string
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- Previous map[string]string
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
- current Map<String,String>
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- previous Map<String,String>
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
- current {[key: string]: string}
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- previous {[key: string]: string}
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
- current Mapping[str, str]
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- previous Mapping[str, str]
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
- current Map<String>
- Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.
- previous Map<String>
- Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.
GetEventsFilter  
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.