audit

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	pulumi.CustomResourceState

	// ID of the root compartment (tenancy)
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365.  Example: `90`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	RetentionPeriodDays pulumi.IntOutput `pulumi:"retentionPeriodDays"`
}

This resource provides the Configuration resource in Oracle Cloud Infrastructure Audit service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Audit"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Audit.NewConfiguration(ctx, "test_configuration", &Audit.ConfigurationArgs{
			CompartmentId:       pulumi.Any(tenancyOcid),
			RetentionPeriodDays: pulumi.Any(configurationRetentionPeriodDays),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Import is not supported for this resource.

func GetConfiguration

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)

GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfiguration

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

func (*Configuration) ElementType

func (*Configuration) ElementType() reflect.Type

func (*Configuration) ToConfigurationOutput

func (i *Configuration) ToConfigurationOutput() ConfigurationOutput

func (*Configuration) ToConfigurationOutputWithContext

func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationArgs

type ConfigurationArgs struct {
	// ID of the root compartment (tenancy)
	CompartmentId pulumi.StringInput
	// (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365.  Example: `90`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	RetentionPeriodDays pulumi.IntInput
}

The set of arguments for constructing a Configuration resource.

func (ConfigurationArgs) ElementType

func (ConfigurationArgs) ElementType() reflect.Type

type ConfigurationArray

type ConfigurationArray []ConfigurationInput

func (ConfigurationArray) ElementType

func (ConfigurationArray) ElementType() reflect.Type

func (ConfigurationArray) ToConfigurationArrayOutput

func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArray) ToConfigurationArrayOutputWithContext

func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationArrayInput

type ConfigurationArrayInput interface {
	pulumi.Input

	ToConfigurationArrayOutput() ConfigurationArrayOutput
	ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput
}

ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:

ConfigurationArray{ ConfigurationArgs{...} }

type ConfigurationArrayOutput

type ConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationArrayOutput) ElementType

func (ConfigurationArrayOutput) ElementType() reflect.Type

func (ConfigurationArrayOutput) Index

func (ConfigurationArrayOutput) ToConfigurationArrayOutput

func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext

func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationInput

type ConfigurationInput interface {
	pulumi.Input

	ToConfigurationOutput() ConfigurationOutput
	ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
}

type ConfigurationMap

type ConfigurationMap map[string]ConfigurationInput

func (ConfigurationMap) ElementType

func (ConfigurationMap) ElementType() reflect.Type

func (ConfigurationMap) ToConfigurationMapOutput

func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMap) ToConfigurationMapOutputWithContext

func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationMapInput

type ConfigurationMapInput interface {
	pulumi.Input

	ToConfigurationMapOutput() ConfigurationMapOutput
	ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput
}

ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:

ConfigurationMap{ "key": ConfigurationArgs{...} }

type ConfigurationMapOutput

type ConfigurationMapOutput struct{ *pulumi.OutputState }

func (ConfigurationMapOutput) ElementType

func (ConfigurationMapOutput) ElementType() reflect.Type

func (ConfigurationMapOutput) MapIndex

func (ConfigurationMapOutput) ToConfigurationMapOutput

func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext

func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationOutput

type ConfigurationOutput struct{ *pulumi.OutputState }

func (ConfigurationOutput) CompartmentId added in v0.4.0

func (o ConfigurationOutput) CompartmentId() pulumi.StringOutput

ID of the root compartment (tenancy)

func (ConfigurationOutput) ElementType

func (ConfigurationOutput) ElementType() reflect.Type

func (ConfigurationOutput) RetentionPeriodDays added in v0.4.0

func (o ConfigurationOutput) RetentionPeriodDays() pulumi.IntOutput

(Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365. Example: `90`

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ConfigurationOutput) ToConfigurationOutput

func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput

func (ConfigurationOutput) ToConfigurationOutputWithContext

func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationState

type ConfigurationState struct {
	// ID of the root compartment (tenancy)
	CompartmentId pulumi.StringPtrInput
	// (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365.  Example: `90`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	RetentionPeriodDays pulumi.IntPtrInput
}

func (ConfigurationState) ElementType

func (ConfigurationState) ElementType() reflect.Type

type GetEventsArgs

type GetEventsArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Returns events that were processed before this end date and time, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
	//
	// For example, a start value of `2017-01-01T00:00:00Z` and an end value of `2017-01-02T00:00:00Z` will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of `2017-01-01T00:00:00Z` and an end value of `2017-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 to `0`.
	EndTime string            `pulumi:"endTime"`
	Filters []GetEventsFilter `pulumi:"filters"`
	// Returns events that were processed at or after this start date and time, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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 to `0`.
	StartTime string `pulumi:"startTime"`
}

A collection of arguments for invoking getEvents.

type GetEventsAuditEvent

type GetEventsAuditEvent struct {
	// The version of the CloudEvents specification. The structure of the envelope follows the  [CloudEvents](https://github.com/cloudevents/spec) industry standard format hosted by the [Cloud Native Computing Foundation ( CNCF)](https://www.cncf.io/).
	CloudEventsVersion string `pulumi:"cloudEventsVersion"`
	// The content type of the data contained in `data`.  Example: `application/json`
	ContentType string `pulumi:"contentType"`
	// The payload of the event. Information within `data` comes from the resource emitting the event.
	Datas []GetEventsAuditEventData `pulumi:"datas"`
	// The GUID of the event.
	EventId string `pulumi:"eventId"`
	// The time the event occurred, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.  Example: `2019-09-18T00:10:59.252Z`
	EventTime string `pulumi:"eventTime"`
	// The type of event that happened.
	EventType string `pulumi:"eventType"`
	// 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`
	EventTypeVersion string `pulumi:"eventTypeVersion"`
	// The source of the event.  Example: `ComputeApi`
	Source string `pulumi:"source"`
}

type GetEventsAuditEventArgs

type GetEventsAuditEventArgs struct {
	// The version of the CloudEvents specification. The structure of the envelope follows the  [CloudEvents](https://github.com/cloudevents/spec) industry standard format hosted by the [Cloud Native Computing Foundation ( CNCF)](https://www.cncf.io/).
	CloudEventsVersion pulumi.StringInput `pulumi:"cloudEventsVersion"`
	// The content type of the data contained in `data`.  Example: `application/json`
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// The payload of the event. Information within `data` comes from the resource emitting the event.
	Datas GetEventsAuditEventDataArrayInput `pulumi:"datas"`
	// The GUID of the event.
	EventId pulumi.StringInput `pulumi:"eventId"`
	// The time the event occurred, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.  Example: `2019-09-18T00:10:59.252Z`
	EventTime pulumi.StringInput `pulumi:"eventTime"`
	// The type of event that happened.
	EventType pulumi.StringInput `pulumi:"eventType"`
	// 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`
	EventTypeVersion pulumi.StringInput `pulumi:"eventTypeVersion"`
	// The source of the event.  Example: `ComputeApi`
	Source pulumi.StringInput `pulumi:"source"`
}

func (GetEventsAuditEventArgs) ElementType

func (GetEventsAuditEventArgs) ElementType() reflect.Type

func (GetEventsAuditEventArgs) ToGetEventsAuditEventOutput

func (i GetEventsAuditEventArgs) ToGetEventsAuditEventOutput() GetEventsAuditEventOutput

func (GetEventsAuditEventArgs) ToGetEventsAuditEventOutputWithContext

func (i GetEventsAuditEventArgs) ToGetEventsAuditEventOutputWithContext(ctx context.Context) GetEventsAuditEventOutput

type GetEventsAuditEventArray

type GetEventsAuditEventArray []GetEventsAuditEventInput

func (GetEventsAuditEventArray) ElementType

func (GetEventsAuditEventArray) ElementType() reflect.Type

func (GetEventsAuditEventArray) ToGetEventsAuditEventArrayOutput

func (i GetEventsAuditEventArray) ToGetEventsAuditEventArrayOutput() GetEventsAuditEventArrayOutput

func (GetEventsAuditEventArray) ToGetEventsAuditEventArrayOutputWithContext

func (i GetEventsAuditEventArray) ToGetEventsAuditEventArrayOutputWithContext(ctx context.Context) GetEventsAuditEventArrayOutput

type GetEventsAuditEventArrayInput

type GetEventsAuditEventArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventArrayOutput() GetEventsAuditEventArrayOutput
	ToGetEventsAuditEventArrayOutputWithContext(context.Context) GetEventsAuditEventArrayOutput
}

GetEventsAuditEventArrayInput is an input type that accepts GetEventsAuditEventArray and GetEventsAuditEventArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventArrayInput` via:

GetEventsAuditEventArray{ GetEventsAuditEventArgs{...} }

type GetEventsAuditEventArrayOutput

type GetEventsAuditEventArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventArrayOutput) ElementType

func (GetEventsAuditEventArrayOutput) Index

func (GetEventsAuditEventArrayOutput) ToGetEventsAuditEventArrayOutput

func (o GetEventsAuditEventArrayOutput) ToGetEventsAuditEventArrayOutput() GetEventsAuditEventArrayOutput

func (GetEventsAuditEventArrayOutput) ToGetEventsAuditEventArrayOutputWithContext

func (o GetEventsAuditEventArrayOutput) ToGetEventsAuditEventArrayOutputWithContext(ctx context.Context) GetEventsAuditEventArrayOutput

type GetEventsAuditEventData

type GetEventsAuditEventData struct {
	// A container object for attribues unique to the resource emitting the event.
	AdditionalDetails map[string]interface{} `pulumi:"additionalDetails"`
	// The availability domain where the resource resides.
	AvailabilityDomain string `pulumi:"availabilityDomain"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// 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`
	CompartmentName string `pulumi:"compartmentName"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// 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.
	EventGroupingId string `pulumi:"eventGroupingId"`
	// Name of the API operation that generated this event.  Example: `GetInstance`
	EventName string `pulumi:"eventName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// A container object for identity attributes.
	Identities []GetEventsAuditEventDataIdentity `pulumi:"identities"`
	// A container object for request attributes.
	Requests []GetEventsAuditEventDataRequest `pulumi:"requests"`
	// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or some other ID for the resource emitting the event.
	ResourceId string `pulumi:"resourceId"`
	// The name of the resource emitting the event.
	ResourceName string `pulumi:"resourceName"`
	// A container object for response attributes.
	Responses []GetEventsAuditEventDataResponse `pulumi:"responses"`
	// A container object for state change attributes.
	StateChanges []GetEventsAuditEventDataStateChange `pulumi:"stateChanges"`
}

type GetEventsAuditEventDataArgs

type GetEventsAuditEventDataArgs struct {
	// A container object for attribues unique to the resource emitting the event.
	AdditionalDetails pulumi.MapInput `pulumi:"additionalDetails"`
	// The availability domain where the resource resides.
	AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// 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`
	CompartmentName pulumi.StringInput `pulumi:"compartmentName"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// 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.
	EventGroupingId pulumi.StringInput `pulumi:"eventGroupingId"`
	// Name of the API operation that generated this event.  Example: `GetInstance`
	EventName pulumi.StringInput `pulumi:"eventName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// A container object for identity attributes.
	Identities GetEventsAuditEventDataIdentityArrayInput `pulumi:"identities"`
	// A container object for request attributes.
	Requests GetEventsAuditEventDataRequestArrayInput `pulumi:"requests"`
	// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or some other ID for the resource emitting the event.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The name of the resource emitting the event.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
	// A container object for response attributes.
	Responses GetEventsAuditEventDataResponseArrayInput `pulumi:"responses"`
	// A container object for state change attributes.
	StateChanges GetEventsAuditEventDataStateChangeArrayInput `pulumi:"stateChanges"`
}

func (GetEventsAuditEventDataArgs) ElementType

func (GetEventsAuditEventDataArgs) ToGetEventsAuditEventDataOutput

func (i GetEventsAuditEventDataArgs) ToGetEventsAuditEventDataOutput() GetEventsAuditEventDataOutput

func (GetEventsAuditEventDataArgs) ToGetEventsAuditEventDataOutputWithContext

func (i GetEventsAuditEventDataArgs) ToGetEventsAuditEventDataOutputWithContext(ctx context.Context) GetEventsAuditEventDataOutput

type GetEventsAuditEventDataArray

type GetEventsAuditEventDataArray []GetEventsAuditEventDataInput

func (GetEventsAuditEventDataArray) ElementType

func (GetEventsAuditEventDataArray) ToGetEventsAuditEventDataArrayOutput

func (i GetEventsAuditEventDataArray) ToGetEventsAuditEventDataArrayOutput() GetEventsAuditEventDataArrayOutput

func (GetEventsAuditEventDataArray) ToGetEventsAuditEventDataArrayOutputWithContext

func (i GetEventsAuditEventDataArray) ToGetEventsAuditEventDataArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataArrayOutput

type GetEventsAuditEventDataArrayInput

type GetEventsAuditEventDataArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataArrayOutput() GetEventsAuditEventDataArrayOutput
	ToGetEventsAuditEventDataArrayOutputWithContext(context.Context) GetEventsAuditEventDataArrayOutput
}

GetEventsAuditEventDataArrayInput is an input type that accepts GetEventsAuditEventDataArray and GetEventsAuditEventDataArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventDataArrayInput` via:

GetEventsAuditEventDataArray{ GetEventsAuditEventDataArgs{...} }

type GetEventsAuditEventDataArrayOutput

type GetEventsAuditEventDataArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataArrayOutput) ElementType

func (GetEventsAuditEventDataArrayOutput) Index

func (GetEventsAuditEventDataArrayOutput) ToGetEventsAuditEventDataArrayOutput

func (o GetEventsAuditEventDataArrayOutput) ToGetEventsAuditEventDataArrayOutput() GetEventsAuditEventDataArrayOutput

func (GetEventsAuditEventDataArrayOutput) ToGetEventsAuditEventDataArrayOutputWithContext

func (o GetEventsAuditEventDataArrayOutput) ToGetEventsAuditEventDataArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataArrayOutput

type GetEventsAuditEventDataIdentity

type GetEventsAuditEventDataIdentity struct {
	// The type of authentication used.  Example: `natv`
	AuthType string `pulumi:"authType"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the caller. The caller that made a  request on behalf of the prinicpal.
	CallerId string `pulumi:"callerId"`
	// The name of the user or service. This value is the friendly name associated with `callerId`.
	CallerName string `pulumi:"callerName"`
	// This value identifies any Console session associated with this request.
	ConsoleSessionId string `pulumi:"consoleSessionId"`
	// 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 (/).
	Credentials string `pulumi:"credentials"`
	// The IP address of the source of the request.  Example: `172.24.80.88`
	IpAddress string `pulumi:"ipAddress"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal.
	PrincipalId string `pulumi:"principalId"`
	// The name of the user or service. This value is the friendly name associated with `principalId`.  Example: `ExampleName`
	PrincipalName string `pulumi:"principalName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant.
	TenantId string `pulumi:"tenantId"`
	// The user agent of the client that made the request.  Example: `Jersey/2.23 (HttpUrlConnection 1.8.0_212)`
	UserAgent string `pulumi:"userAgent"`
}

type GetEventsAuditEventDataIdentityArgs

type GetEventsAuditEventDataIdentityArgs struct {
	// The type of authentication used.  Example: `natv`
	AuthType pulumi.StringInput `pulumi:"authType"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the caller. The caller that made a  request on behalf of the prinicpal.
	CallerId pulumi.StringInput `pulumi:"callerId"`
	// The name of the user or service. This value is the friendly name associated with `callerId`.
	CallerName pulumi.StringInput `pulumi:"callerName"`
	// This value identifies any Console session associated with this request.
	ConsoleSessionId pulumi.StringInput `pulumi:"consoleSessionId"`
	// 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 (/).
	Credentials pulumi.StringInput `pulumi:"credentials"`
	// The IP address of the source of the request.  Example: `172.24.80.88`
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The name of the user or service. This value is the friendly name associated with `principalId`.  Example: `ExampleName`
	PrincipalName pulumi.StringInput `pulumi:"principalName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The user agent of the client that made the request.  Example: `Jersey/2.23 (HttpUrlConnection 1.8.0_212)`
	UserAgent pulumi.StringInput `pulumi:"userAgent"`
}

func (GetEventsAuditEventDataIdentityArgs) ElementType

func (GetEventsAuditEventDataIdentityArgs) ToGetEventsAuditEventDataIdentityOutput

func (i GetEventsAuditEventDataIdentityArgs) ToGetEventsAuditEventDataIdentityOutput() GetEventsAuditEventDataIdentityOutput

func (GetEventsAuditEventDataIdentityArgs) ToGetEventsAuditEventDataIdentityOutputWithContext

func (i GetEventsAuditEventDataIdentityArgs) ToGetEventsAuditEventDataIdentityOutputWithContext(ctx context.Context) GetEventsAuditEventDataIdentityOutput

type GetEventsAuditEventDataIdentityArray

type GetEventsAuditEventDataIdentityArray []GetEventsAuditEventDataIdentityInput

func (GetEventsAuditEventDataIdentityArray) ElementType

func (GetEventsAuditEventDataIdentityArray) ToGetEventsAuditEventDataIdentityArrayOutput

func (i GetEventsAuditEventDataIdentityArray) ToGetEventsAuditEventDataIdentityArrayOutput() GetEventsAuditEventDataIdentityArrayOutput

func (GetEventsAuditEventDataIdentityArray) ToGetEventsAuditEventDataIdentityArrayOutputWithContext

func (i GetEventsAuditEventDataIdentityArray) ToGetEventsAuditEventDataIdentityArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataIdentityArrayOutput

type GetEventsAuditEventDataIdentityArrayInput

type GetEventsAuditEventDataIdentityArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataIdentityArrayOutput() GetEventsAuditEventDataIdentityArrayOutput
	ToGetEventsAuditEventDataIdentityArrayOutputWithContext(context.Context) GetEventsAuditEventDataIdentityArrayOutput
}

GetEventsAuditEventDataIdentityArrayInput is an input type that accepts GetEventsAuditEventDataIdentityArray and GetEventsAuditEventDataIdentityArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventDataIdentityArrayInput` via:

GetEventsAuditEventDataIdentityArray{ GetEventsAuditEventDataIdentityArgs{...} }

type GetEventsAuditEventDataIdentityArrayOutput

type GetEventsAuditEventDataIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataIdentityArrayOutput) ElementType

func (GetEventsAuditEventDataIdentityArrayOutput) Index

func (GetEventsAuditEventDataIdentityArrayOutput) ToGetEventsAuditEventDataIdentityArrayOutput

func (o GetEventsAuditEventDataIdentityArrayOutput) ToGetEventsAuditEventDataIdentityArrayOutput() GetEventsAuditEventDataIdentityArrayOutput

func (GetEventsAuditEventDataIdentityArrayOutput) ToGetEventsAuditEventDataIdentityArrayOutputWithContext

func (o GetEventsAuditEventDataIdentityArrayOutput) ToGetEventsAuditEventDataIdentityArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataIdentityArrayOutput

type GetEventsAuditEventDataIdentityInput

type GetEventsAuditEventDataIdentityInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataIdentityOutput() GetEventsAuditEventDataIdentityOutput
	ToGetEventsAuditEventDataIdentityOutputWithContext(context.Context) GetEventsAuditEventDataIdentityOutput
}

GetEventsAuditEventDataIdentityInput is an input type that accepts GetEventsAuditEventDataIdentityArgs and GetEventsAuditEventDataIdentityOutput values. You can construct a concrete instance of `GetEventsAuditEventDataIdentityInput` via:

GetEventsAuditEventDataIdentityArgs{...}

type GetEventsAuditEventDataIdentityOutput

type GetEventsAuditEventDataIdentityOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataIdentityOutput) AuthType

The type of authentication used. Example: `natv`

func (GetEventsAuditEventDataIdentityOutput) CallerId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the caller. The caller that made a request on behalf of the prinicpal.

func (GetEventsAuditEventDataIdentityOutput) CallerName

The name of the user or service. This value is the friendly name associated with `callerId`.

func (GetEventsAuditEventDataIdentityOutput) ConsoleSessionId

This value identifies any Console session associated with this request.

func (GetEventsAuditEventDataIdentityOutput) Credentials

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 (/).

func (GetEventsAuditEventDataIdentityOutput) ElementType

func (GetEventsAuditEventDataIdentityOutput) IpAddress

The IP address of the source of the request. Example: `172.24.80.88`

func (GetEventsAuditEventDataIdentityOutput) PrincipalId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal.

func (GetEventsAuditEventDataIdentityOutput) PrincipalName

The name of the user or service. This value is the friendly name associated with `principalId`. Example: `ExampleName`

func (GetEventsAuditEventDataIdentityOutput) TenantId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant.

func (GetEventsAuditEventDataIdentityOutput) ToGetEventsAuditEventDataIdentityOutput

func (o GetEventsAuditEventDataIdentityOutput) ToGetEventsAuditEventDataIdentityOutput() GetEventsAuditEventDataIdentityOutput

func (GetEventsAuditEventDataIdentityOutput) ToGetEventsAuditEventDataIdentityOutputWithContext

func (o GetEventsAuditEventDataIdentityOutput) ToGetEventsAuditEventDataIdentityOutputWithContext(ctx context.Context) GetEventsAuditEventDataIdentityOutput

func (GetEventsAuditEventDataIdentityOutput) UserAgent

The user agent of the client that made the request. Example: `Jersey/2.23 (HttpUrlConnection 1.8.0_212)`

type GetEventsAuditEventDataInput

type GetEventsAuditEventDataInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataOutput() GetEventsAuditEventDataOutput
	ToGetEventsAuditEventDataOutputWithContext(context.Context) GetEventsAuditEventDataOutput
}

GetEventsAuditEventDataInput is an input type that accepts GetEventsAuditEventDataArgs and GetEventsAuditEventDataOutput values. You can construct a concrete instance of `GetEventsAuditEventDataInput` via:

GetEventsAuditEventDataArgs{...}

type GetEventsAuditEventDataOutput

type GetEventsAuditEventDataOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataOutput) AdditionalDetails

func (o GetEventsAuditEventDataOutput) AdditionalDetails() pulumi.MapOutput

A container object for attribues unique to the resource emitting the event.

func (GetEventsAuditEventDataOutput) AvailabilityDomain

func (o GetEventsAuditEventDataOutput) AvailabilityDomain() pulumi.StringOutput

The availability domain where the resource resides.

func (GetEventsAuditEventDataOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.

func (GetEventsAuditEventDataOutput) CompartmentName

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`

func (GetEventsAuditEventDataOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetEventsAuditEventDataOutput) ElementType

func (GetEventsAuditEventDataOutput) EventGroupingId

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.

func (GetEventsAuditEventDataOutput) EventName

Name of the API operation that generated this event. Example: `GetInstance`

func (GetEventsAuditEventDataOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetEventsAuditEventDataOutput) Identities

A container object for identity attributes.

func (GetEventsAuditEventDataOutput) Requests

A container object for request attributes.

func (GetEventsAuditEventDataOutput) ResourceId

An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or some other ID for the resource emitting the event.

func (GetEventsAuditEventDataOutput) ResourceName

The name of the resource emitting the event.

func (GetEventsAuditEventDataOutput) Responses

A container object for response attributes.

func (GetEventsAuditEventDataOutput) StateChanges

A container object for state change attributes.

func (GetEventsAuditEventDataOutput) ToGetEventsAuditEventDataOutput

func (o GetEventsAuditEventDataOutput) ToGetEventsAuditEventDataOutput() GetEventsAuditEventDataOutput

func (GetEventsAuditEventDataOutput) ToGetEventsAuditEventDataOutputWithContext

func (o GetEventsAuditEventDataOutput) ToGetEventsAuditEventDataOutputWithContext(ctx context.Context) GetEventsAuditEventDataOutput

type GetEventsAuditEventDataRequest

type GetEventsAuditEventDataRequest struct {
	// The HTTP method of the request.  Example: `GET`
	Action string `pulumi:"action"`
	// The headers of the response.
	Headers map[string]interface{} `pulumi:"headers"`
	// The opc-request-id of the request.
	Id string `pulumi:"id"`
	// The parameters supplied by the caller during this operation.
	Parameters map[string]interface{} `pulumi:"parameters"`
	// The full path of the API request.  Example: `/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>`
	Path string `pulumi:"path"`
}

type GetEventsAuditEventDataRequestArgs

type GetEventsAuditEventDataRequestArgs struct {
	// The HTTP method of the request.  Example: `GET`
	Action pulumi.StringInput `pulumi:"action"`
	// The headers of the response.
	Headers pulumi.MapInput `pulumi:"headers"`
	// The opc-request-id of the request.
	Id pulumi.StringInput `pulumi:"id"`
	// The parameters supplied by the caller during this operation.
	Parameters pulumi.MapInput `pulumi:"parameters"`
	// The full path of the API request.  Example: `/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>`
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetEventsAuditEventDataRequestArgs) ElementType

func (GetEventsAuditEventDataRequestArgs) ToGetEventsAuditEventDataRequestOutput

func (i GetEventsAuditEventDataRequestArgs) ToGetEventsAuditEventDataRequestOutput() GetEventsAuditEventDataRequestOutput

func (GetEventsAuditEventDataRequestArgs) ToGetEventsAuditEventDataRequestOutputWithContext

func (i GetEventsAuditEventDataRequestArgs) ToGetEventsAuditEventDataRequestOutputWithContext(ctx context.Context) GetEventsAuditEventDataRequestOutput

type GetEventsAuditEventDataRequestArray

type GetEventsAuditEventDataRequestArray []GetEventsAuditEventDataRequestInput

func (GetEventsAuditEventDataRequestArray) ElementType

func (GetEventsAuditEventDataRequestArray) ToGetEventsAuditEventDataRequestArrayOutput

func (i GetEventsAuditEventDataRequestArray) ToGetEventsAuditEventDataRequestArrayOutput() GetEventsAuditEventDataRequestArrayOutput

func (GetEventsAuditEventDataRequestArray) ToGetEventsAuditEventDataRequestArrayOutputWithContext

func (i GetEventsAuditEventDataRequestArray) ToGetEventsAuditEventDataRequestArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataRequestArrayOutput

type GetEventsAuditEventDataRequestArrayInput

type GetEventsAuditEventDataRequestArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataRequestArrayOutput() GetEventsAuditEventDataRequestArrayOutput
	ToGetEventsAuditEventDataRequestArrayOutputWithContext(context.Context) GetEventsAuditEventDataRequestArrayOutput
}

GetEventsAuditEventDataRequestArrayInput is an input type that accepts GetEventsAuditEventDataRequestArray and GetEventsAuditEventDataRequestArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventDataRequestArrayInput` via:

GetEventsAuditEventDataRequestArray{ GetEventsAuditEventDataRequestArgs{...} }

type GetEventsAuditEventDataRequestArrayOutput

type GetEventsAuditEventDataRequestArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataRequestArrayOutput) ElementType

func (GetEventsAuditEventDataRequestArrayOutput) Index

func (GetEventsAuditEventDataRequestArrayOutput) ToGetEventsAuditEventDataRequestArrayOutput

func (o GetEventsAuditEventDataRequestArrayOutput) ToGetEventsAuditEventDataRequestArrayOutput() GetEventsAuditEventDataRequestArrayOutput

func (GetEventsAuditEventDataRequestArrayOutput) ToGetEventsAuditEventDataRequestArrayOutputWithContext

func (o GetEventsAuditEventDataRequestArrayOutput) ToGetEventsAuditEventDataRequestArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataRequestArrayOutput

type GetEventsAuditEventDataRequestInput

type GetEventsAuditEventDataRequestInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataRequestOutput() GetEventsAuditEventDataRequestOutput
	ToGetEventsAuditEventDataRequestOutputWithContext(context.Context) GetEventsAuditEventDataRequestOutput
}

GetEventsAuditEventDataRequestInput is an input type that accepts GetEventsAuditEventDataRequestArgs and GetEventsAuditEventDataRequestOutput values. You can construct a concrete instance of `GetEventsAuditEventDataRequestInput` via:

GetEventsAuditEventDataRequestArgs{...}

type GetEventsAuditEventDataRequestOutput

type GetEventsAuditEventDataRequestOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataRequestOutput) Action

The HTTP method of the request. Example: `GET`

func (GetEventsAuditEventDataRequestOutput) ElementType

func (GetEventsAuditEventDataRequestOutput) Headers

The headers of the response.

func (GetEventsAuditEventDataRequestOutput) Id

The opc-request-id of the request.

func (GetEventsAuditEventDataRequestOutput) Parameters

The parameters supplied by the caller during this operation.

func (GetEventsAuditEventDataRequestOutput) Path

The full path of the API request. Example: `/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>`

func (GetEventsAuditEventDataRequestOutput) ToGetEventsAuditEventDataRequestOutput

func (o GetEventsAuditEventDataRequestOutput) ToGetEventsAuditEventDataRequestOutput() GetEventsAuditEventDataRequestOutput

func (GetEventsAuditEventDataRequestOutput) ToGetEventsAuditEventDataRequestOutputWithContext

func (o GetEventsAuditEventDataRequestOutput) ToGetEventsAuditEventDataRequestOutputWithContext(ctx context.Context) GetEventsAuditEventDataRequestOutput

type GetEventsAuditEventDataResponse

type GetEventsAuditEventDataResponse struct {
	// The headers of the response.
	Headers map[string]interface{} `pulumi:"headers"`
	// A friendly description of what happened during the operation. Use this for troubleshooting.
	Message string `pulumi:"message"`
	// This value is included for backward compatibility with the Audit version 1 schema, where  it contained metadata of interest from the response payload.
	Payload map[string]interface{} `pulumi:"payload"`
	// The time of the response to the audited request, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.  Example: `2019-09-18T00:10:59.278Z`
	ResponseTime string `pulumi:"responseTime"`
	// The status code of the response.  Example: `200`
	Status string `pulumi:"status"`
}

type GetEventsAuditEventDataResponseArgs

type GetEventsAuditEventDataResponseArgs struct {
	// The headers of the response.
	Headers pulumi.MapInput `pulumi:"headers"`
	// A friendly description of what happened during the operation. Use this for troubleshooting.
	Message pulumi.StringInput `pulumi:"message"`
	// This value is included for backward compatibility with the Audit version 1 schema, where  it contained metadata of interest from the response payload.
	Payload pulumi.MapInput `pulumi:"payload"`
	// The time of the response to the audited request, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.  Example: `2019-09-18T00:10:59.278Z`
	ResponseTime pulumi.StringInput `pulumi:"responseTime"`
	// The status code of the response.  Example: `200`
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetEventsAuditEventDataResponseArgs) ElementType

func (GetEventsAuditEventDataResponseArgs) ToGetEventsAuditEventDataResponseOutput

func (i GetEventsAuditEventDataResponseArgs) ToGetEventsAuditEventDataResponseOutput() GetEventsAuditEventDataResponseOutput

func (GetEventsAuditEventDataResponseArgs) ToGetEventsAuditEventDataResponseOutputWithContext

func (i GetEventsAuditEventDataResponseArgs) ToGetEventsAuditEventDataResponseOutputWithContext(ctx context.Context) GetEventsAuditEventDataResponseOutput

type GetEventsAuditEventDataResponseArray

type GetEventsAuditEventDataResponseArray []GetEventsAuditEventDataResponseInput

func (GetEventsAuditEventDataResponseArray) ElementType

func (GetEventsAuditEventDataResponseArray) ToGetEventsAuditEventDataResponseArrayOutput

func (i GetEventsAuditEventDataResponseArray) ToGetEventsAuditEventDataResponseArrayOutput() GetEventsAuditEventDataResponseArrayOutput

func (GetEventsAuditEventDataResponseArray) ToGetEventsAuditEventDataResponseArrayOutputWithContext

func (i GetEventsAuditEventDataResponseArray) ToGetEventsAuditEventDataResponseArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataResponseArrayOutput

type GetEventsAuditEventDataResponseArrayInput

type GetEventsAuditEventDataResponseArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataResponseArrayOutput() GetEventsAuditEventDataResponseArrayOutput
	ToGetEventsAuditEventDataResponseArrayOutputWithContext(context.Context) GetEventsAuditEventDataResponseArrayOutput
}

GetEventsAuditEventDataResponseArrayInput is an input type that accepts GetEventsAuditEventDataResponseArray and GetEventsAuditEventDataResponseArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventDataResponseArrayInput` via:

GetEventsAuditEventDataResponseArray{ GetEventsAuditEventDataResponseArgs{...} }

type GetEventsAuditEventDataResponseArrayOutput

type GetEventsAuditEventDataResponseArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataResponseArrayOutput) ElementType

func (GetEventsAuditEventDataResponseArrayOutput) Index

func (GetEventsAuditEventDataResponseArrayOutput) ToGetEventsAuditEventDataResponseArrayOutput

func (o GetEventsAuditEventDataResponseArrayOutput) ToGetEventsAuditEventDataResponseArrayOutput() GetEventsAuditEventDataResponseArrayOutput

func (GetEventsAuditEventDataResponseArrayOutput) ToGetEventsAuditEventDataResponseArrayOutputWithContext

func (o GetEventsAuditEventDataResponseArrayOutput) ToGetEventsAuditEventDataResponseArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataResponseArrayOutput

type GetEventsAuditEventDataResponseInput

type GetEventsAuditEventDataResponseInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataResponseOutput() GetEventsAuditEventDataResponseOutput
	ToGetEventsAuditEventDataResponseOutputWithContext(context.Context) GetEventsAuditEventDataResponseOutput
}

GetEventsAuditEventDataResponseInput is an input type that accepts GetEventsAuditEventDataResponseArgs and GetEventsAuditEventDataResponseOutput values. You can construct a concrete instance of `GetEventsAuditEventDataResponseInput` via:

GetEventsAuditEventDataResponseArgs{...}

type GetEventsAuditEventDataResponseOutput

type GetEventsAuditEventDataResponseOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataResponseOutput) ElementType

func (GetEventsAuditEventDataResponseOutput) Headers

The headers of the response.

func (GetEventsAuditEventDataResponseOutput) Message

A friendly description of what happened during the operation. Use this for troubleshooting.

func (GetEventsAuditEventDataResponseOutput) Payload

This value is included for backward compatibility with the Audit version 1 schema, where it contained metadata of interest from the response payload.

func (GetEventsAuditEventDataResponseOutput) ResponseTime

The time of the response to the audited request, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-09-18T00:10:59.278Z`

func (GetEventsAuditEventDataResponseOutput) Status

The status code of the response. Example: `200`

func (GetEventsAuditEventDataResponseOutput) ToGetEventsAuditEventDataResponseOutput

func (o GetEventsAuditEventDataResponseOutput) ToGetEventsAuditEventDataResponseOutput() GetEventsAuditEventDataResponseOutput

func (GetEventsAuditEventDataResponseOutput) ToGetEventsAuditEventDataResponseOutputWithContext

func (o GetEventsAuditEventDataResponseOutput) ToGetEventsAuditEventDataResponseOutputWithContext(ctx context.Context) GetEventsAuditEventDataResponseOutput

type GetEventsAuditEventDataStateChange

type GetEventsAuditEventDataStateChange struct {
	// 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`.
	Current map[string]interface{} `pulumi:"current"`
	// 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`.
	Previous map[string]interface{} `pulumi:"previous"`
}

type GetEventsAuditEventDataStateChangeArgs

type GetEventsAuditEventDataStateChangeArgs struct {
	// 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`.
	Current pulumi.MapInput `pulumi:"current"`
	// 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`.
	Previous pulumi.MapInput `pulumi:"previous"`
}

func (GetEventsAuditEventDataStateChangeArgs) ElementType

func (GetEventsAuditEventDataStateChangeArgs) ToGetEventsAuditEventDataStateChangeOutput

func (i GetEventsAuditEventDataStateChangeArgs) ToGetEventsAuditEventDataStateChangeOutput() GetEventsAuditEventDataStateChangeOutput

func (GetEventsAuditEventDataStateChangeArgs) ToGetEventsAuditEventDataStateChangeOutputWithContext

func (i GetEventsAuditEventDataStateChangeArgs) ToGetEventsAuditEventDataStateChangeOutputWithContext(ctx context.Context) GetEventsAuditEventDataStateChangeOutput

type GetEventsAuditEventDataStateChangeArray

type GetEventsAuditEventDataStateChangeArray []GetEventsAuditEventDataStateChangeInput

func (GetEventsAuditEventDataStateChangeArray) ElementType

func (GetEventsAuditEventDataStateChangeArray) ToGetEventsAuditEventDataStateChangeArrayOutput

func (i GetEventsAuditEventDataStateChangeArray) ToGetEventsAuditEventDataStateChangeArrayOutput() GetEventsAuditEventDataStateChangeArrayOutput

func (GetEventsAuditEventDataStateChangeArray) ToGetEventsAuditEventDataStateChangeArrayOutputWithContext

func (i GetEventsAuditEventDataStateChangeArray) ToGetEventsAuditEventDataStateChangeArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataStateChangeArrayOutput

type GetEventsAuditEventDataStateChangeArrayInput

type GetEventsAuditEventDataStateChangeArrayInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataStateChangeArrayOutput() GetEventsAuditEventDataStateChangeArrayOutput
	ToGetEventsAuditEventDataStateChangeArrayOutputWithContext(context.Context) GetEventsAuditEventDataStateChangeArrayOutput
}

GetEventsAuditEventDataStateChangeArrayInput is an input type that accepts GetEventsAuditEventDataStateChangeArray and GetEventsAuditEventDataStateChangeArrayOutput values. You can construct a concrete instance of `GetEventsAuditEventDataStateChangeArrayInput` via:

GetEventsAuditEventDataStateChangeArray{ GetEventsAuditEventDataStateChangeArgs{...} }

type GetEventsAuditEventDataStateChangeArrayOutput

type GetEventsAuditEventDataStateChangeArrayOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataStateChangeArrayOutput) ElementType

func (GetEventsAuditEventDataStateChangeArrayOutput) Index

func (GetEventsAuditEventDataStateChangeArrayOutput) ToGetEventsAuditEventDataStateChangeArrayOutput

func (o GetEventsAuditEventDataStateChangeArrayOutput) ToGetEventsAuditEventDataStateChangeArrayOutput() GetEventsAuditEventDataStateChangeArrayOutput

func (GetEventsAuditEventDataStateChangeArrayOutput) ToGetEventsAuditEventDataStateChangeArrayOutputWithContext

func (o GetEventsAuditEventDataStateChangeArrayOutput) ToGetEventsAuditEventDataStateChangeArrayOutputWithContext(ctx context.Context) GetEventsAuditEventDataStateChangeArrayOutput

type GetEventsAuditEventDataStateChangeInput

type GetEventsAuditEventDataStateChangeInput interface {
	pulumi.Input

	ToGetEventsAuditEventDataStateChangeOutput() GetEventsAuditEventDataStateChangeOutput
	ToGetEventsAuditEventDataStateChangeOutputWithContext(context.Context) GetEventsAuditEventDataStateChangeOutput
}

GetEventsAuditEventDataStateChangeInput is an input type that accepts GetEventsAuditEventDataStateChangeArgs and GetEventsAuditEventDataStateChangeOutput values. You can construct a concrete instance of `GetEventsAuditEventDataStateChangeInput` via:

GetEventsAuditEventDataStateChangeArgs{...}

type GetEventsAuditEventDataStateChangeOutput

type GetEventsAuditEventDataStateChangeOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventDataStateChangeOutput) Current

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`.

func (GetEventsAuditEventDataStateChangeOutput) ElementType

func (GetEventsAuditEventDataStateChangeOutput) Previous

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`.

func (GetEventsAuditEventDataStateChangeOutput) ToGetEventsAuditEventDataStateChangeOutput

func (o GetEventsAuditEventDataStateChangeOutput) ToGetEventsAuditEventDataStateChangeOutput() GetEventsAuditEventDataStateChangeOutput

func (GetEventsAuditEventDataStateChangeOutput) ToGetEventsAuditEventDataStateChangeOutputWithContext

func (o GetEventsAuditEventDataStateChangeOutput) ToGetEventsAuditEventDataStateChangeOutputWithContext(ctx context.Context) GetEventsAuditEventDataStateChangeOutput

type GetEventsAuditEventInput

type GetEventsAuditEventInput interface {
	pulumi.Input

	ToGetEventsAuditEventOutput() GetEventsAuditEventOutput
	ToGetEventsAuditEventOutputWithContext(context.Context) GetEventsAuditEventOutput
}

GetEventsAuditEventInput is an input type that accepts GetEventsAuditEventArgs and GetEventsAuditEventOutput values. You can construct a concrete instance of `GetEventsAuditEventInput` via:

GetEventsAuditEventArgs{...}

type GetEventsAuditEventOutput

type GetEventsAuditEventOutput struct{ *pulumi.OutputState }

func (GetEventsAuditEventOutput) CloudEventsVersion

func (o GetEventsAuditEventOutput) CloudEventsVersion() pulumi.StringOutput

The version of the CloudEvents specification. The structure of the envelope follows the [CloudEvents](https://github.com/cloudevents/spec) industry standard format hosted by the [Cloud Native Computing Foundation ( CNCF)](https://www.cncf.io/).

func (GetEventsAuditEventOutput) ContentType

The content type of the data contained in `data`. Example: `application/json`

func (GetEventsAuditEventOutput) Datas

The payload of the event. Information within `data` comes from the resource emitting the event.

func (GetEventsAuditEventOutput) ElementType

func (GetEventsAuditEventOutput) ElementType() reflect.Type

func (GetEventsAuditEventOutput) EventId

The GUID of the event.

func (GetEventsAuditEventOutput) EventTime

The time the event occurred, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-09-18T00:10:59.252Z`

func (GetEventsAuditEventOutput) EventType

The type of event that happened.

func (GetEventsAuditEventOutput) EventTypeVersion

func (o GetEventsAuditEventOutput) EventTypeVersion() pulumi.StringOutput

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`

func (GetEventsAuditEventOutput) Source

The source of the event. Example: `ComputeApi`

func (GetEventsAuditEventOutput) ToGetEventsAuditEventOutput

func (o GetEventsAuditEventOutput) ToGetEventsAuditEventOutput() GetEventsAuditEventOutput

func (GetEventsAuditEventOutput) ToGetEventsAuditEventOutputWithContext

func (o GetEventsAuditEventOutput) ToGetEventsAuditEventOutputWithContext(ctx context.Context) GetEventsAuditEventOutput

type GetEventsFilter

type GetEventsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetEventsFilterArgs

type GetEventsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEventsFilterArgs) ElementType

func (GetEventsFilterArgs) ElementType() reflect.Type

func (GetEventsFilterArgs) ToGetEventsFilterOutput

func (i GetEventsFilterArgs) ToGetEventsFilterOutput() GetEventsFilterOutput

func (GetEventsFilterArgs) ToGetEventsFilterOutputWithContext

func (i GetEventsFilterArgs) ToGetEventsFilterOutputWithContext(ctx context.Context) GetEventsFilterOutput

type GetEventsFilterArray

type GetEventsFilterArray []GetEventsFilterInput

func (GetEventsFilterArray) ElementType

func (GetEventsFilterArray) ElementType() reflect.Type

func (GetEventsFilterArray) ToGetEventsFilterArrayOutput

func (i GetEventsFilterArray) ToGetEventsFilterArrayOutput() GetEventsFilterArrayOutput

func (GetEventsFilterArray) ToGetEventsFilterArrayOutputWithContext

func (i GetEventsFilterArray) ToGetEventsFilterArrayOutputWithContext(ctx context.Context) GetEventsFilterArrayOutput

type GetEventsFilterArrayInput

type GetEventsFilterArrayInput interface {
	pulumi.Input

	ToGetEventsFilterArrayOutput() GetEventsFilterArrayOutput
	ToGetEventsFilterArrayOutputWithContext(context.Context) GetEventsFilterArrayOutput
}

GetEventsFilterArrayInput is an input type that accepts GetEventsFilterArray and GetEventsFilterArrayOutput values. You can construct a concrete instance of `GetEventsFilterArrayInput` via:

GetEventsFilterArray{ GetEventsFilterArgs{...} }

type GetEventsFilterArrayOutput

type GetEventsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEventsFilterArrayOutput) ElementType

func (GetEventsFilterArrayOutput) ElementType() reflect.Type

func (GetEventsFilterArrayOutput) Index

func (GetEventsFilterArrayOutput) ToGetEventsFilterArrayOutput

func (o GetEventsFilterArrayOutput) ToGetEventsFilterArrayOutput() GetEventsFilterArrayOutput

func (GetEventsFilterArrayOutput) ToGetEventsFilterArrayOutputWithContext

func (o GetEventsFilterArrayOutput) ToGetEventsFilterArrayOutputWithContext(ctx context.Context) GetEventsFilterArrayOutput

type GetEventsFilterInput

type GetEventsFilterInput interface {
	pulumi.Input

	ToGetEventsFilterOutput() GetEventsFilterOutput
	ToGetEventsFilterOutputWithContext(context.Context) GetEventsFilterOutput
}

GetEventsFilterInput is an input type that accepts GetEventsFilterArgs and GetEventsFilterOutput values. You can construct a concrete instance of `GetEventsFilterInput` via:

GetEventsFilterArgs{...}

type GetEventsFilterOutput

type GetEventsFilterOutput struct{ *pulumi.OutputState }

func (GetEventsFilterOutput) ElementType

func (GetEventsFilterOutput) ElementType() reflect.Type

func (GetEventsFilterOutput) Name

func (GetEventsFilterOutput) Regex

func (GetEventsFilterOutput) ToGetEventsFilterOutput

func (o GetEventsFilterOutput) ToGetEventsFilterOutput() GetEventsFilterOutput

func (GetEventsFilterOutput) ToGetEventsFilterOutputWithContext

func (o GetEventsFilterOutput) ToGetEventsFilterOutputWithContext(ctx context.Context) GetEventsFilterOutput

func (GetEventsFilterOutput) Values

type GetEventsOutputArgs

type GetEventsOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Returns events that were processed before this end date and time, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
	//
	// For example, a start value of `2017-01-01T00:00:00Z` and an end value of `2017-01-02T00:00:00Z` will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of `2017-01-01T00:00:00Z` and an end value of `2017-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 to `0`.
	EndTime pulumi.StringInput        `pulumi:"endTime"`
	Filters GetEventsFilterArrayInput `pulumi:"filters"`
	// Returns events that were processed at or after this start date and time, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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 to `0`.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

A collection of arguments for invoking getEvents.

func (GetEventsOutputArgs) ElementType

func (GetEventsOutputArgs) ElementType() reflect.Type

type GetEventsResult

type GetEventsResult struct {
	// The list of audit_events.
	AuditEvents []GetEventsAuditEvent `pulumi:"auditEvents"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the resource  emitting the event.
	CompartmentId string            `pulumi:"compartmentId"`
	EndTime       string            `pulumi:"endTime"`
	Filters       []GetEventsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	StartTime string `pulumi:"startTime"`
}

A collection of values returned by getEvents.

func GetEvents

func GetEvents(ctx *pulumi.Context, args *GetEventsArgs, opts ...pulumi.InvokeOption) (*GetEventsResult, error)

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

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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
	})
}

```

type GetEventsResultOutput

type GetEventsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEvents.

func (GetEventsResultOutput) AuditEvents

The list of audit_events.

func (GetEventsResultOutput) CompartmentId

func (o GetEventsResultOutput) CompartmentId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the resource emitting the event.

func (GetEventsResultOutput) ElementType

func (GetEventsResultOutput) ElementType() reflect.Type

func (GetEventsResultOutput) EndTime

func (GetEventsResultOutput) Filters

func (GetEventsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEventsResultOutput) StartTime

func (GetEventsResultOutput) ToGetEventsResultOutput

func (o GetEventsResultOutput) ToGetEventsResultOutput() GetEventsResultOutput

func (GetEventsResultOutput) ToGetEventsResultOutputWithContext

func (o GetEventsResultOutput) ToGetEventsResultOutputWithContext(ctx context.Context) GetEventsResultOutput

type LookupConfigurationArgs

type LookupConfigurationArgs struct {
	// ID of the root compartment (tenancy)
	CompartmentId string `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

type LookupConfigurationOutputArgs

type LookupConfigurationOutputArgs struct {
	// ID of the root compartment (tenancy)
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

func (LookupConfigurationOutputArgs) ElementType

type LookupConfigurationResult

type LookupConfigurationResult struct {
	CompartmentId string `pulumi:"compartmentId"`
	Id            string `pulumi:"id"`
	// The retention period setting, specified in days. The minimum is 90, the maximum 365.  Example: `90`
	RetentionPeriodDays int `pulumi:"retentionPeriodDays"`
}

A collection of values returned by getConfiguration.

func LookupConfiguration

func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)

This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Audit service.

Get the configuration

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Audit"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Audit.GetConfiguration(ctx, &audit.GetConfigurationArgs{
			CompartmentId: tenancyOcid,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConfigurationResultOutput

type LookupConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfiguration.

func (LookupConfigurationResultOutput) CompartmentId

func (LookupConfigurationResultOutput) ElementType

func (LookupConfigurationResultOutput) Id

func (LookupConfigurationResultOutput) RetentionPeriodDays

func (o LookupConfigurationResultOutput) RetentionPeriodDays() pulumi.IntOutput

The retention period setting, specified in days. The minimum is 90, the maximum 365. Example: `90`

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutput

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL