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[_audit.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[_audit.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Audit/getEvents:getEvents
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- End
Time 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- Start
Time 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:00Z
will 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 to0
.- Filters
List<Get
Events Filter>
- Compartment
Id string - The OCID of the compartment.
- End
Time 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- Start
Time 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:00Z
will 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 to0
.- Filters
[]Get
Events Filter
- compartment
Id String - The OCID of the compartment.
- end
Time 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- start
Time 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:00Z
will 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 to0
.- filters
List<Get
Events Filter>
- compartment
Id string - The OCID of the compartment.
- end
Time 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- start
Time 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:00Z
will 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 to0
.- filters
Get
Events 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- 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:00Z
will 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 to0
.- filters
Sequence[audit.
Get Events Filter]
- compartment
Id String - The OCID of the compartment.
- end
Time 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:00Z
and an end value of2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of2017-01-01T00:00:00Z
and an end value of2017-02-01T00:00:00Z
will 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 to0
.- start
Time 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:00Z
will 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 to0
.- filters List<Property Map>
getEvents Result
The following output properties are available:
- Audit
Events List<GetEvents Audit Event> - The list of audit_events.
- Compartment
Id string - The OCID of the compartment of the resource emitting the event.
- End
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Start
Time string - Filters
List<Get
Events Filter>
- Audit
Events []GetEvents Audit Event - The list of audit_events.
- Compartment
Id string - The OCID of the compartment of the resource emitting the event.
- End
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Start
Time string - Filters
[]Get
Events Filter
- audit
Events List<GetEvents Event> - The list of audit_events.
- compartment
Id String - The OCID of the compartment of the resource emitting the event.
- end
Time String - id String
- The provider-assigned unique ID for this managed resource.
- start
Time String - filters
List<Get
Events Filter>
- audit
Events GetEvents Audit Event[] - The list of audit_events.
- compartment
Id string - The OCID of the compartment of the resource emitting the event.
- end
Time string - id string
- The provider-assigned unique ID for this managed resource.
- start
Time string - filters
Get
Events Filter[]
- audit_
events Sequence[audit.Get Events 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[audit.
Get Events Filter]
- audit
Events List<Property Map> - The list of audit_events.
- compartment
Id String - The OCID of the compartment of the resource emitting the event.
- end
Time String - id String
- The provider-assigned unique ID for this managed resource.
- start
Time String - filters List<Property Map>
Supporting Types
GetEventsAuditEvent
- Cloud
Events 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).
- Content
Type string - The content type of the data contained in
data
. Example:application/json
- Datas
List<Get
Events Audit Event Data> - The payload of the event. Information within
data
comes from the resource emitting the event. - Event
Id string - The GUID of the event.
- Event
Time string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- Event
Type string - The type of event that happened.
- Event
Type stringVersion - The version of the event type. This version applies to the payload of the event, not the envelope. Use
cloudEventsVersion
to determine the version of the envelope. Example:2.0
- Source string
- The source of the event. Example:
ComputeApi
- Cloud
Events 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).
- Content
Type string - The content type of the data contained in
data
. Example:application/json
- Datas
[]Get
Events Audit Event Data - The payload of the event. Information within
data
comes from the resource emitting the event. - Event
Id string - The GUID of the event.
- Event
Time string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- Event
Type string - The type of event that happened.
- Event
Type stringVersion - The version of the event type. This version applies to the payload of the event, not the envelope. Use
cloudEventsVersion
to determine the version of the envelope. Example:2.0
- Source string
- The source of the event. Example:
ComputeApi
- cloud
Events 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).
- content
Type String - The content type of the data contained in
data
. Example:application/json
- datas
List<Get
Events Event Data> - The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id String - The GUID of the event.
- event
Time String - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type String - The type of event that happened.
- event
Type StringVersion - The version of the event type. This version applies to the payload of the event, not the envelope. Use
cloudEventsVersion
to determine the version of the envelope. Example:2.0
- source String
- The source of the event. Example:
ComputeApi
- cloud
Events 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).
- content
Type string - The content type of the data contained in
data
. Example:application/json
- datas
Get
Events Audit Event Data[] - The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id string - The GUID of the event.
- event
Time string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type string - The type of event that happened.
- event
Type stringVersion - The version of the event type. This version applies to the payload of the event, not the envelope. Use
cloudEventsVersion
to 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[audit.
Get Events Audit Event Data] - The payload of the event. Information within
data
comes 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
cloudEventsVersion
to determine the version of the envelope. Example:2.0
- source str
- The source of the event. Example:
ComputeApi
- cloud
Events 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).
- content
Type String - The content type of the data contained in
data
. Example:application/json
- datas List<Property Map>
- The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id String - The GUID of the event.
- event
Time String - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type String - The type of event that happened.
- event
Type StringVersion - The version of the event type. This version applies to the payload of the event, not the envelope. Use
cloudEventsVersion
to determine the version of the envelope. Example:2.0
- source String
- The source of the event. Example:
ComputeApi
GetEventsAuditEventData
- Additional
Details Dictionary<string, string> - A container object for attribues unique to the resource emitting the event.
- Availability
Domain string - The availability domain where the resource resides.
- Compartment
Id string - The OCID of the compartment.
- Compartment
Name 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"}
- Event
Grouping 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.
- Event
Name 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<Get
Events Audit Event Data Identity> - A container object for identity attributes.
- Requests
List<Get
Events Audit Event Data Request> - A container object for request attributes.
- Resource
Id string - An OCID or some other ID for the resource emitting the event.
- Resource
Name string - The name of the resource emitting the event.
- Responses
List<Get
Events Audit Event Data Response> - A container object for response attributes.
- State
Changes List<GetEvents Audit Event Data State Change> - A container object for state change attributes.
- Additional
Details map[string]string - A container object for attribues unique to the resource emitting the event.
- Availability
Domain string - The availability domain where the resource resides.
- Compartment
Id string - The OCID of the compartment.
- Compartment
Name 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"}
- Event
Grouping 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.
- Event
Name 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
[]Get
Events Audit Event Data Identity - A container object for identity attributes.
- Requests
[]Get
Events Audit Event Data Request - A container object for request attributes.
- Resource
Id string - An OCID or some other ID for the resource emitting the event.
- Resource
Name string - The name of the resource emitting the event.
- Responses
[]Get
Events Audit Event Data Response - A container object for response attributes.
- State
Changes []GetEvents Audit Event Data State Change - A container object for state change attributes.
- additional
Details Map<String,String> - A container object for attribues unique to the resource emitting the event.
- availability
Domain String - The availability domain where the resource resides.
- compartment
Id String - The OCID of the compartment.
- compartment
Name 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"}
- event
Grouping 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.
- event
Name 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<Get
Events Event Data Identity> - A container object for identity attributes.
- requests
List<Get
Events Event Data Request> - A container object for request attributes.
- resource
Id String - An OCID or some other ID for the resource emitting the event.
- resource
Name String - The name of the resource emitting the event.
- responses
List<Get
Events Event Data Response> - A container object for response attributes.
- state
Changes List<GetEvents Event Data State Change> - A container object for state change attributes.
- additional
Details {[key: string]: string} - A container object for attribues unique to the resource emitting the event.
- availability
Domain string - The availability domain where the resource resides.
- compartment
Id string - The OCID of the compartment.
- compartment
Name 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"}
- event
Grouping 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.
- event
Name 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
Get
Events Audit Event Data Identity[] - A container object for identity attributes.
- requests
Get
Events Audit Event Data Request[] - A container object for request attributes.
- resource
Id string - An OCID or some other ID for the resource emitting the event.
- resource
Name string - The name of the resource emitting the event.
- responses
Get
Events Audit Event Data Response[] - A container object for response attributes.
- state
Changes 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[audit.
Get Events Audit Event Data Identity] - A container object for identity attributes.
- requests
Sequence[audit.
Get Events 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[audit.
Get Events Audit Event Data Response] - A container object for response attributes.
- state_
changes Sequence[audit.Get Events Audit Event Data State Change] - A container object for state change attributes.
- additional
Details Map<String> - A container object for attribues unique to the resource emitting the event.
- availability
Domain String - The availability domain where the resource resides.
- compartment
Id String - The OCID of the compartment.
- compartment
Name 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"}
- event
Grouping 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.
- event
Name 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.
- resource
Id String - An OCID or some other ID for the resource emitting the event.
- resource
Name String - The name of the resource emitting the event.
- responses List<Property Map>
- A container object for response attributes.
- state
Changes List<Property Map> - A container object for state change attributes.
GetEventsAuditEventDataIdentity
- Auth
Type string - The type of authentication used. Example:
natv
- Caller
Id string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- Caller
Name string - The name of the user or service. This value is the friendly name associated with
callerId
. - Console
Session 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 (/).
- Ip
Address string - The IP address of the source of the request. Example:
172.24.80.88
- Principal
Id string - The OCID of the principal.
- Principal
Name string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- Tenant
Id string - The OCID of the tenant.
- User
Agent string - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- Auth
Type string - The type of authentication used. Example:
natv
- Caller
Id string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- Caller
Name string - The name of the user or service. This value is the friendly name associated with
callerId
. - Console
Session 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 (/).
- Ip
Address string - The IP address of the source of the request. Example:
172.24.80.88
- Principal
Id string - The OCID of the principal.
- Principal
Name string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- Tenant
Id string - The OCID of the tenant.
- User
Agent string - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth
Type String - The type of authentication used. Example:
natv
- caller
Id String - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name String - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session 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 (/).
- ip
Address String - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id String - The OCID of the principal.
- principal
Name String - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id String - The OCID of the tenant.
- user
Agent String - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth
Type string - The type of authentication used. Example:
natv
- caller
Id string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name string - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session 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 (/).
- ip
Address string - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id string - The OCID of the principal.
- principal
Name string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id string - The OCID of the tenant.
- user
Agent 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)
- auth
Type String - The type of authentication used. Example:
natv
- caller
Id String - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name String - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session 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 (/).
- ip
Address String - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id String - The OCID of the principal.
- principal
Name String - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id String - The OCID of the tenant.
- user
Agent 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.
- Response
Time 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.
- Response
Time 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.
- response
Time 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.
- response
Time 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.
- response
Time 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
oci
Terraform Provider.