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)
public static Output<GetEventsResult> getEvents(GetEventsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Audit/getEvents:getEvents
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the compartment.
- End
Time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
Events Filter>
- Compartment
Id This property is required. string - The OCID of the compartment.
- End
Time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
Events Filter
- compartment
Id This property is required. String - The OCID of the compartment.
- end
Time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
Events Filter>
- compartment
Id This property is required. string - The OCID of the compartment.
- end
Time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
Events Filter[]
- compartment_
id This property is required. str - The OCID of the compartment.
- end_
time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
Get Events Filter]
- compartment
Id This property is required. String - The OCID of the compartment.
- end
Time This property is required. 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 This property is required. 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
Changes to this property will trigger replacement.
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 Version This property is required. string - 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 This property is required. string - The content type of the data contained in
data
. Example:application/json
- Datas
This property is required. List<GetEvents Audit Event Data> - The payload of the event. Information within
data
comes from the resource emitting the event. - Event
Id This property is required. string - The GUID of the event.
- Event
Time This property is required. string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- Event
Type This property is required. string - The type of event that happened.
- Event
Type Version This property is required. string - 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
This property is required. string - The source of the event. Example:
ComputeApi
- Cloud
Events Version This property is required. string - 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 This property is required. string - The content type of the data contained in
data
. Example:application/json
- Datas
This property is required. []GetEvents Audit Event Data - The payload of the event. Information within
data
comes from the resource emitting the event. - Event
Id This property is required. string - The GUID of the event.
- Event
Time This property is required. string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- Event
Type This property is required. string - The type of event that happened.
- Event
Type Version This property is required. string - 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
This property is required. string - The source of the event. Example:
ComputeApi
- cloud
Events Version This property is required. String - 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 This property is required. String - The content type of the data contained in
data
. Example:application/json
- datas
This property is required. List<GetEvents Event Data> - The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id This property is required. String - The GUID of the event.
- event
Time This property is required. String - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type This property is required. String - The type of event that happened.
- event
Type Version This property is required. String - 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
This property is required. String - The source of the event. Example:
ComputeApi
- cloud
Events Version This property is required. string - 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 This property is required. string - The content type of the data contained in
data
. Example:application/json
- datas
This property is required. GetEvents Audit Event Data[] - The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id This property is required. string - The GUID of the event.
- event
Time This property is required. string - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type This property is required. string - The type of event that happened.
- event
Type Version This property is required. string - 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
This property is required. string - The source of the event. Example:
ComputeApi
- cloud_
events_ version This property is required. str - 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 This property is required. str - The content type of the data contained in
data
. Example:application/json
- datas
This property is required. Sequence[audit.Get Events Audit Event Data] - The payload of the event. Information within
data
comes from the resource emitting the event. - event_
id This property is required. str - The GUID of the event.
- event_
time This property is required. str - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event_
type This property is required. str - The type of event that happened.
- event_
type_ version This property is required. str - 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
This property is required. str - The source of the event. Example:
ComputeApi
- cloud
Events Version This property is required. String - 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 This property is required. String - The content type of the data contained in
data
. Example:application/json
- datas
This property is required. List<Property Map> - The payload of the event. Information within
data
comes from the resource emitting the event. - event
Id This property is required. String - The GUID of the event.
- event
Time This property is required. String - The time the event occurred, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.252Z
- event
Type This property is required. String - The type of event that happened.
- event
Type Version This property is required. String - 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
This property is required. String - The source of the event. Example:
ComputeApi
GetEventsAuditEventData
- Additional
Details This property is required. Dictionary<string, string> - A container object for attribues unique to the resource emitting the event.
- Availability
Domain This property is required. string - The availability domain where the resource resides.
- Compartment
Id This property is required. string - The OCID of the compartment.
- Compartment
Name This property is required. 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
This property is required. 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 Id This property is required. string - 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 This property is required. string - Name of the API operation that generated this event. Example:
GetInstance
This property is required. 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
This property is required. List<GetEvents Audit Event Data Identity> - A container object for identity attributes.
- Requests
This property is required. List<GetEvents Audit Event Data Request> - A container object for request attributes.
- Resource
Id This property is required. string - An OCID or some other ID for the resource emitting the event.
- Resource
Name This property is required. string - The name of the resource emitting the event.
- Responses
This property is required. List<GetEvents Audit Event Data Response> - A container object for response attributes.
- State
Changes This property is required. List<GetEvents Audit Event Data State Change> - A container object for state change attributes.
- Additional
Details This property is required. map[string]string - A container object for attribues unique to the resource emitting the event.
- Availability
Domain This property is required. string - The availability domain where the resource resides.
- Compartment
Id This property is required. string - The OCID of the compartment.
- Compartment
Name This property is required. 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
This property is required. 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 Id This property is required. string - 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 This property is required. string - Name of the API operation that generated this event. Example:
GetInstance
This property is required. 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
This property is required. []GetEvents Audit Event Data Identity - A container object for identity attributes.
- Requests
This property is required. []GetEvents Audit Event Data Request - A container object for request attributes.
- Resource
Id This property is required. string - An OCID or some other ID for the resource emitting the event.
- Resource
Name This property is required. string - The name of the resource emitting the event.
- Responses
This property is required. []GetEvents Audit Event Data Response - A container object for response attributes.
- State
Changes This property is required. []GetEvents Audit Event Data State Change - A container object for state change attributes.
- additional
Details This property is required. Map<String,String> - A container object for attribues unique to the resource emitting the event.
- availability
Domain This property is required. String - The availability domain where the resource resides.
- compartment
Id This property is required. String - The OCID of the compartment.
- compartment
Name This property is required. 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
This property is required. 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 Id This property is required. String - 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 This property is required. String - Name of the API operation that generated this event. Example:
GetInstance
This property is required. 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
This property is required. List<GetEvents Event Data Identity> - A container object for identity attributes.
- requests
This property is required. List<GetEvents Event Data Request> - A container object for request attributes.
- resource
Id This property is required. String - An OCID or some other ID for the resource emitting the event.
- resource
Name This property is required. String - The name of the resource emitting the event.
- responses
This property is required. List<GetEvents Event Data Response> - A container object for response attributes.
- state
Changes This property is required. List<GetEvents Event Data State Change> - A container object for state change attributes.
- additional
Details This property is required. {[key: string]: string} - A container object for attribues unique to the resource emitting the event.
- availability
Domain This property is required. string - The availability domain where the resource resides.
- compartment
Id This property is required. string - The OCID of the compartment.
- compartment
Name This property is required. 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
This property is required. {[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 Id This property is required. string - 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 This property is required. string - Name of the API operation that generated this event. Example:
GetInstance
This property is required. {[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
This property is required. GetEvents Audit Event Data Identity[] - A container object for identity attributes.
- requests
This property is required. GetEvents Audit Event Data Request[] - A container object for request attributes.
- resource
Id This property is required. string - An OCID or some other ID for the resource emitting the event.
- resource
Name This property is required. string - The name of the resource emitting the event.
- responses
This property is required. GetEvents Audit Event Data Response[] - A container object for response attributes.
- state
Changes This property is required. GetEvents Audit Event Data State Change[] - A container object for state change attributes.
- additional_
details This property is required. Mapping[str, str] - A container object for attribues unique to the resource emitting the event.
- availability_
domain This property is required. str - The availability domain where the resource resides.
- compartment_
id This property is required. str - The OCID of the compartment.
- compartment_
name This property is required. 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
This property is required. 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_ id This property is required. str - 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 This property is required. str - Name of the API operation that generated this event. Example:
GetInstance
This property is required. 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
This property is required. Sequence[audit.Get Events Audit Event Data Identity] - A container object for identity attributes.
- requests
This property is required. Sequence[audit.Get Events Audit Event Data Request] - A container object for request attributes.
- resource_
id This property is required. str - An OCID or some other ID for the resource emitting the event.
- resource_
name This property is required. str - The name of the resource emitting the event.
- responses
This property is required. Sequence[audit.Get Events Audit Event Data Response] - A container object for response attributes.
- state_
changes This property is required. Sequence[audit.Get Events Audit Event Data State Change] - A container object for state change attributes.
- additional
Details This property is required. Map<String> - A container object for attribues unique to the resource emitting the event.
- availability
Domain This property is required. String - The availability domain where the resource resides.
- compartment
Id This property is required. String - The OCID of the compartment.
- compartment
Name This property is required. 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
This property is required. 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 Id This property is required. String - 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 This property is required. String - Name of the API operation that generated this event. Example:
GetInstance
This property is required. 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
This property is required. List<Property Map> - A container object for identity attributes.
- requests
This property is required. List<Property Map> - A container object for request attributes.
- resource
Id This property is required. String - An OCID or some other ID for the resource emitting the event.
- resource
Name This property is required. String - The name of the resource emitting the event.
- responses
This property is required. List<Property Map> - A container object for response attributes.
- state
Changes This property is required. List<Property Map> - A container object for state change attributes.
GetEventsAuditEventDataIdentity
- Auth
Type This property is required. string - The type of authentication used. Example:
natv
- Caller
Id This property is required. string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- Caller
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
callerId
. - Console
Session Id This property is required. string - This value identifies any Console session associated with this request.
- Credentials
This property is required. 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 This property is required. string - The IP address of the source of the request. Example:
172.24.80.88
- Principal
Id This property is required. string - The OCID of the principal.
- Principal
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- Tenant
Id This property is required. string - The OCID of the tenant.
- User
Agent This property is required. string - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- Auth
Type This property is required. string - The type of authentication used. Example:
natv
- Caller
Id This property is required. string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- Caller
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
callerId
. - Console
Session Id This property is required. string - This value identifies any Console session associated with this request.
- Credentials
This property is required. 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 This property is required. string - The IP address of the source of the request. Example:
172.24.80.88
- Principal
Id This property is required. string - The OCID of the principal.
- Principal
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- Tenant
Id This property is required. string - The OCID of the tenant.
- User
Agent This property is required. string - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth
Type This property is required. String - The type of authentication used. Example:
natv
- caller
Id This property is required. String - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name This property is required. String - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session Id This property is required. String - This value identifies any Console session associated with this request.
- credentials
This property is required. 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 This property is required. String - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id This property is required. String - The OCID of the principal.
- principal
Name This property is required. String - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id This property is required. String - The OCID of the tenant.
- user
Agent This property is required. String - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth
Type This property is required. string - The type of authentication used. Example:
natv
- caller
Id This property is required. string - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session Id This property is required. string - This value identifies any Console session associated with this request.
- credentials
This property is required. 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 This property is required. string - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id This property is required. string - The OCID of the principal.
- principal
Name This property is required. string - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id This property is required. string - The OCID of the tenant.
- user
Agent This property is required. string - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth_
type This property is required. str - The type of authentication used. Example:
natv
- caller_
id This property is required. str - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller_
name This property is required. str - The name of the user or service. This value is the friendly name associated with
callerId
. - console_
session_ id This property is required. str - This value identifies any Console session associated with this request.
- credentials
This property is required. 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 This property is required. str - The IP address of the source of the request. Example:
172.24.80.88
- principal_
id This property is required. str - The OCID of the principal.
- principal_
name This property is required. str - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant_
id This property is required. str - The OCID of the tenant.
- user_
agent This property is required. str - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
- auth
Type This property is required. String - The type of authentication used. Example:
natv
- caller
Id This property is required. String - The OCID of the caller. The caller that made a request on behalf of the prinicpal.
- caller
Name This property is required. String - The name of the user or service. This value is the friendly name associated with
callerId
. - console
Session Id This property is required. String - This value identifies any Console session associated with this request.
- credentials
This property is required. 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 This property is required. String - The IP address of the source of the request. Example:
172.24.80.88
- principal
Id This property is required. String - The OCID of the principal.
- principal
Name This property is required. String - The name of the user or service. This value is the friendly name associated with
principalId
. Example:ExampleName
- tenant
Id This property is required. String - The OCID of the tenant.
- user
Agent This property is required. String - The user agent of the client that made the request. Example:
Jersey/2.23 (HttpUrlConnection 1.8.0_212)
GetEventsAuditEventDataRequest
- Action
This property is required. string - The HTTP method of the request. Example:
GET
- Headers
This property is required. Dictionary<string, string> - The headers of the response.
- Id
This property is required. string - The opc-request-id of the request.
- Parameters
This property is required. Dictionary<string, string> - The parameters supplied by the caller during this operation.
- Path
This property is required. string - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- Action
This property is required. string - The HTTP method of the request. Example:
GET
- Headers
This property is required. map[string]string - The headers of the response.
- Id
This property is required. string - The opc-request-id of the request.
- Parameters
This property is required. map[string]string - The parameters supplied by the caller during this operation.
- Path
This property is required. string - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action
This property is required. String - The HTTP method of the request. Example:
GET
- headers
This property is required. Map<String,String> - The headers of the response.
- id
This property is required. String - The opc-request-id of the request.
- parameters
This property is required. Map<String,String> - The parameters supplied by the caller during this operation.
- path
This property is required. String - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action
This property is required. string - The HTTP method of the request. Example:
GET
- headers
This property is required. {[key: string]: string} - The headers of the response.
- id
This property is required. string - The opc-request-id of the request.
- parameters
This property is required. {[key: string]: string} - The parameters supplied by the caller during this operation.
- path
This property is required. string - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action
This property is required. str - The HTTP method of the request. Example:
GET
- headers
This property is required. Mapping[str, str] - The headers of the response.
- id
This property is required. str - The opc-request-id of the request.
- parameters
This property is required. Mapping[str, str] - The parameters supplied by the caller during this operation.
- path
This property is required. str - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
- action
This property is required. String - The HTTP method of the request. Example:
GET
- headers
This property is required. Map<String> - The headers of the response.
- id
This property is required. String - The opc-request-id of the request.
- parameters
This property is required. Map<String> - The parameters supplied by the caller during this operation.
- path
This property is required. String - The full path of the API request. Example:
/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
GetEventsAuditEventDataResponse
- Headers
This property is required. Dictionary<string, string> - The headers of the response.
- Message
This property is required. string - A friendly description of what happened during the operation. Use this for troubleshooting.
- Payload
This property is required. 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 This property is required. string - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- Status
This property is required. string - The status code of the response. Example:
200
- Headers
This property is required. map[string]string - The headers of the response.
- Message
This property is required. string - A friendly description of what happened during the operation. Use this for troubleshooting.
- Payload
This property is required. 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 This property is required. string - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- Status
This property is required. string - The status code of the response. Example:
200
- headers
This property is required. Map<String,String> - The headers of the response.
- message
This property is required. String - A friendly description of what happened during the operation. Use this for troubleshooting.
- payload
This property is required. 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 This property is required. String - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- status
This property is required. String - The status code of the response. Example:
200
- headers
This property is required. {[key: string]: string} - The headers of the response.
- message
This property is required. string - A friendly description of what happened during the operation. Use this for troubleshooting.
- payload
This property is required. {[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 This property is required. string - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- status
This property is required. string - The status code of the response. Example:
200
- headers
This property is required. Mapping[str, str] - The headers of the response.
- message
This property is required. str - A friendly description of what happened during the operation. Use this for troubleshooting.
- payload
This property is required. 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 This property is required. str - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- status
This property is required. str - The status code of the response. Example:
200
- headers
This property is required. Map<String> - The headers of the response.
- message
This property is required. String - A friendly description of what happened during the operation. Use this for troubleshooting.
- payload
This property is required. 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 This property is required. String - The time of the response to the audited request, expressed in RFC 3339 timestamp format. Example:
2019-09-18T00:10:59.278Z
- status
This property is required. String - The status code of the response. Example:
200
GetEventsAuditEventDataStateChange
- Current
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. {[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
This property is required. {[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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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.