v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=securitymonitoring.datadog.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "securitymonitoring.datadog.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	DefaultRule_Kind             = "DefaultRule"
	DefaultRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DefaultRule_Kind}.String()
	DefaultRule_KindAPIVersion   = DefaultRule_Kind + "." + CRDGroupVersion.String()
	DefaultRule_GroupVersionKind = CRDGroupVersion.WithKind(DefaultRule_Kind)
)

Repository type metadata.

View Source
var (
	Filter_Kind             = "Filter"
	Filter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Filter_Kind}.String()
	Filter_KindAPIVersion   = Filter_Kind + "." + CRDGroupVersion.String()
	Filter_GroupVersionKind = CRDGroupVersion.WithKind(Filter_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Rule_Kind             = "Rule"
	Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String()
	Rule_KindAPIVersion   = Rule_Kind + "." + CRDGroupVersion.String()
	Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AgentRuleInitParameters

type AgentRuleInitParameters struct {

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	AgentRuleID *string `json:"agentRuleId,omitempty" tf:"agent_rule_id,omitempty"`

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`
}

func (*AgentRuleInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentRuleInitParameters.

func (*AgentRuleInitParameters) DeepCopyInto

func (in *AgentRuleInitParameters) DeepCopyInto(out *AgentRuleInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentRuleObservation

type AgentRuleObservation struct {

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	AgentRuleID *string `json:"agentRuleId,omitempty" tf:"agent_rule_id,omitempty"`

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`
}

func (*AgentRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentRuleObservation.

func (*AgentRuleObservation) DeepCopyInto

func (in *AgentRuleObservation) DeepCopyInto(out *AgentRuleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentRuleParameters

type AgentRuleParameters struct {

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	// +kubebuilder:validation:Optional
	AgentRuleID *string `json:"agentRuleId" tf:"agent_rule_id,omitempty"`

	// (String) Deprecated. It won't be applied anymore.
	// **Deprecated**. It won't be applied anymore.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression" tf:"expression,omitempty"`
}

func (*AgentRuleParameters) DeepCopy

func (in *AgentRuleParameters) DeepCopy() *AgentRuleParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentRuleParameters.

func (*AgentRuleParameters) DeepCopyInto

func (in *AgentRuleParameters) DeepCopyInto(out *AgentRuleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CaseInitParameters

type CaseInitParameters struct {

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (String) Status of the rule case to match. Valid values are info, low, medium, high, critical.
	// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CaseInitParameters) DeepCopy

func (in *CaseInitParameters) DeepCopy() *CaseInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaseInitParameters.

func (*CaseInitParameters) DeepCopyInto

func (in *CaseInitParameters) DeepCopyInto(out *CaseInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CaseObservation

type CaseObservation struct {

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (String) Status of the rule case to match. Valid values are info, low, medium, high, critical.
	// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CaseObservation) DeepCopy

func (in *CaseObservation) DeepCopy() *CaseObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaseObservation.

func (*CaseObservation) DeepCopyInto

func (in *CaseObservation) DeepCopyInto(out *CaseObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CaseParameters

type CaseParameters struct {

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	// +kubebuilder:validation:Optional
	Notifications []*string `json:"notifications" tf:"notifications,omitempty"`

	// (String) Status of the rule case to match. Valid values are info, low, medium, high, critical.
	// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*CaseParameters) DeepCopy

func (in *CaseParameters) DeepCopy() *CaseParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaseParameters.

func (*CaseParameters) DeepCopyInto

func (in *CaseParameters) DeepCopyInto(out *CaseParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultRule

type DefaultRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DefaultRuleSpec   `json:"spec"`
	Status            DefaultRuleStatus `json:"status,omitempty"`
}

DefaultRule is the Schema for the DefaultRules API. Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadog}

func (*DefaultRule) DeepCopy

func (in *DefaultRule) DeepCopy() *DefaultRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRule.

func (*DefaultRule) DeepCopyInto

func (in *DefaultRule) DeepCopyInto(out *DefaultRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DefaultRule) DeepCopyObject

func (in *DefaultRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DefaultRule) GetCondition

func (mg *DefaultRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DefaultRule.

func (*DefaultRule) GetConnectionDetailsMapping

func (tr *DefaultRule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DefaultRule

func (*DefaultRule) GetDeletionPolicy

func (mg *DefaultRule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DefaultRule.

func (*DefaultRule) GetID

func (tr *DefaultRule) GetID() string

GetID returns ID of underlying Terraform resource of this DefaultRule

func (*DefaultRule) GetInitParameters

func (tr *DefaultRule) GetInitParameters() (map[string]any, error)

GetInitParameters of this DefaultRule

func (*DefaultRule) GetManagementPolicies

func (mg *DefaultRule) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DefaultRule.

func (*DefaultRule) GetMergedParameters

func (tr *DefaultRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DefaultRule

func (*DefaultRule) GetObservation

func (tr *DefaultRule) GetObservation() (map[string]any, error)

GetObservation of this DefaultRule

func (*DefaultRule) GetParameters

func (tr *DefaultRule) GetParameters() (map[string]any, error)

GetParameters of this DefaultRule

func (*DefaultRule) GetProviderConfigReference

func (mg *DefaultRule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DefaultRule.

func (*DefaultRule) GetPublishConnectionDetailsTo

func (mg *DefaultRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DefaultRule.

func (*DefaultRule) GetTerraformResourceType

func (mg *DefaultRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DefaultRule

func (*DefaultRule) GetTerraformSchemaVersion

func (tr *DefaultRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DefaultRule) GetWriteConnectionSecretToReference

func (mg *DefaultRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DefaultRule.

func (*DefaultRule) Hub

func (tr *DefaultRule) Hub()

Hub marks this type as a conversion hub.

func (*DefaultRule) LateInitialize

func (tr *DefaultRule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DefaultRule using its observed tfState. returns True if there are any spec changes for the resource.

func (*DefaultRule) SetConditions

func (mg *DefaultRule) SetConditions(c ...xpv1.Condition)

SetConditions of this DefaultRule.

func (*DefaultRule) SetDeletionPolicy

func (mg *DefaultRule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DefaultRule.

func (*DefaultRule) SetManagementPolicies

func (mg *DefaultRule) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DefaultRule.

func (*DefaultRule) SetObservation

func (tr *DefaultRule) SetObservation(obs map[string]any) error

SetObservation for this DefaultRule

func (*DefaultRule) SetParameters

func (tr *DefaultRule) SetParameters(params map[string]any) error

SetParameters for this DefaultRule

func (*DefaultRule) SetProviderConfigReference

func (mg *DefaultRule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DefaultRule.

func (*DefaultRule) SetPublishConnectionDetailsTo

func (mg *DefaultRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DefaultRule.

func (*DefaultRule) SetWriteConnectionSecretToReference

func (mg *DefaultRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DefaultRule.

type DefaultRuleInitParameters

type DefaultRuleInitParameters struct {

	// (Block List, Max: 10) Cases of the rule, this is used to update notifications. (see below for nested schema)
	// Cases of the rule, this is used to update notifications.
	Case []CaseInitParameters `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Enable the rule. Defaults to true.
	// Enable the rule. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	Filter []FilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"`

	// (Block List, Max: 1) Options on default rules. Note that only a subset of fields can be updated on default rule options. (see below for nested schema)
	// Options on default rules. Note that only a subset of fields can be updated on default rule options.
	Options []OptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"`
}

func (*DefaultRuleInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleInitParameters.

func (*DefaultRuleInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultRuleList

type DefaultRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DefaultRule `json:"items"`
}

DefaultRuleList contains a list of DefaultRules

func (*DefaultRuleList) DeepCopy

func (in *DefaultRuleList) DeepCopy() *DefaultRuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleList.

func (*DefaultRuleList) DeepCopyInto

func (in *DefaultRuleList) DeepCopyInto(out *DefaultRuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DefaultRuleList) DeepCopyObject

func (in *DefaultRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DefaultRuleList) GetItems

func (l *DefaultRuleList) GetItems() []resource.Managed

GetItems of this DefaultRuleList.

type DefaultRuleObservation

type DefaultRuleObservation struct {

	// (Block List, Max: 10) Cases of the rule, this is used to update notifications. (see below for nested schema)
	// Cases of the rule, this is used to update notifications.
	Case []CaseObservation `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Enable the rule. Defaults to true.
	// Enable the rule. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Block List, Max: 1) Options on default rules. Note that only a subset of fields can be updated on default rule options. (see below for nested schema)
	// Options on default rules. Note that only a subset of fields can be updated on default rule options.
	Options []OptionsObservation `json:"options,omitempty" tf:"options,omitempty"`

	// (String) The rule type.
	// The rule type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DefaultRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleObservation.

func (*DefaultRuleObservation) DeepCopyInto

func (in *DefaultRuleObservation) DeepCopyInto(out *DefaultRuleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultRuleParameters

type DefaultRuleParameters struct {

	// (Block List, Max: 10) Cases of the rule, this is used to update notifications. (see below for nested schema)
	// Cases of the rule, this is used to update notifications.
	// +kubebuilder:validation:Optional
	Case []CaseParameters `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Enable the rule. Defaults to true.
	// Enable the rule. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	// +kubebuilder:validation:Optional
	Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"`

	// (Block List, Max: 1) Options on default rules. Note that only a subset of fields can be updated on default rule options. (see below for nested schema)
	// Options on default rules. Note that only a subset of fields can be updated on default rule options.
	// +kubebuilder:validation:Optional
	Options []OptionsParameters `json:"options,omitempty" tf:"options,omitempty"`
}

func (*DefaultRuleParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleParameters.

func (*DefaultRuleParameters) DeepCopyInto

func (in *DefaultRuleParameters) DeepCopyInto(out *DefaultRuleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultRuleSpec

type DefaultRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DefaultRuleParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DefaultRuleInitParameters `json:"initProvider,omitempty"`
}

DefaultRuleSpec defines the desired state of DefaultRule

func (*DefaultRuleSpec) DeepCopy

func (in *DefaultRuleSpec) DeepCopy() *DefaultRuleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleSpec.

func (*DefaultRuleSpec) DeepCopyInto

func (in *DefaultRuleSpec) DeepCopyInto(out *DefaultRuleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultRuleStatus

type DefaultRuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DefaultRuleObservation `json:"atProvider,omitempty"`
}

DefaultRuleStatus defines the observed state of DefaultRule.

func (*DefaultRuleStatus) DeepCopy

func (in *DefaultRuleStatus) DeepCopy() *DefaultRuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultRuleStatus.

func (*DefaultRuleStatus) DeepCopyInto

func (in *DefaultRuleStatus) DeepCopyInto(out *DefaultRuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExclusionFilterInitParameters

type ExclusionFilterInitParameters struct {

	// (String) The name of the security filter.
	// Exclusion filter name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// Exclusion filter query. Logs that match this query are excluded from the security filter.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*ExclusionFilterInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionFilterInitParameters.

func (*ExclusionFilterInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExclusionFilterObservation

type ExclusionFilterObservation struct {

	// (String) The name of the security filter.
	// Exclusion filter name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// Exclusion filter query. Logs that match this query are excluded from the security filter.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*ExclusionFilterObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionFilterObservation.

func (*ExclusionFilterObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExclusionFilterParameters

type ExclusionFilterParameters struct {

	// (String) The name of the security filter.
	// Exclusion filter name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// Exclusion filter query. Logs that match this query are excluded from the security filter.
	// +kubebuilder:validation:Optional
	Query *string `json:"query" tf:"query,omitempty"`
}

func (*ExclusionFilterParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionFilterParameters.

func (*ExclusionFilterParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Filter

type Filter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.isEnabled) || (has(self.initProvider) && has(self.initProvider.isEnabled))",message="spec.forProvider.isEnabled is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.query) || (has(self.initProvider) && has(self.initProvider.query))",message="spec.forProvider.query is a required parameter"
	Spec   FilterSpec   `json:"spec"`
	Status FilterStatus `json:"status,omitempty"`
}

Filter is the Schema for the Filters API. Provides a Datadog Security Monitoring Rule API resource for security filters. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadog}

func (*Filter) DeepCopy

func (in *Filter) DeepCopy() *Filter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.

func (*Filter) DeepCopyInto

func (in *Filter) DeepCopyInto(out *Filter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Filter) DeepCopyObject

func (in *Filter) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Filter) GetCondition

func (mg *Filter) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Filter.

func (*Filter) GetConnectionDetailsMapping

func (tr *Filter) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Filter

func (*Filter) GetDeletionPolicy

func (mg *Filter) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Filter.

func (*Filter) GetID

func (tr *Filter) GetID() string

GetID returns ID of underlying Terraform resource of this Filter

func (*Filter) GetInitParameters

func (tr *Filter) GetInitParameters() (map[string]any, error)

GetInitParameters of this Filter

func (*Filter) GetManagementPolicies

func (mg *Filter) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Filter.

func (*Filter) GetMergedParameters

func (tr *Filter) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Filter

func (*Filter) GetObservation

func (tr *Filter) GetObservation() (map[string]any, error)

GetObservation of this Filter

func (*Filter) GetParameters

func (tr *Filter) GetParameters() (map[string]any, error)

GetParameters of this Filter

func (*Filter) GetProviderConfigReference

func (mg *Filter) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Filter.

func (*Filter) GetPublishConnectionDetailsTo

func (mg *Filter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Filter.

func (*Filter) GetTerraformResourceType

func (mg *Filter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Filter

func (*Filter) GetTerraformSchemaVersion

func (tr *Filter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Filter) GetWriteConnectionSecretToReference

func (mg *Filter) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Filter.

func (*Filter) Hub

func (tr *Filter) Hub()

Hub marks this type as a conversion hub.

func (*Filter) LateInitialize

func (tr *Filter) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Filter using its observed tfState. returns True if there are any spec changes for the resource.

func (*Filter) SetConditions

func (mg *Filter) SetConditions(c ...xpv1.Condition)

SetConditions of this Filter.

func (*Filter) SetDeletionPolicy

func (mg *Filter) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Filter.

func (*Filter) SetManagementPolicies

func (mg *Filter) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Filter.

func (*Filter) SetObservation

func (tr *Filter) SetObservation(obs map[string]any) error

SetObservation for this Filter

func (*Filter) SetParameters

func (tr *Filter) SetParameters(params map[string]any) error

SetParameters for this Filter

func (*Filter) SetProviderConfigReference

func (mg *Filter) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Filter.

func (*Filter) SetPublishConnectionDetailsTo

func (mg *Filter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Filter.

func (*Filter) SetWriteConnectionSecretToReference

func (mg *Filter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Filter.

type FilterInitParameters

type FilterInitParameters struct {

	// (String) The type of filtering action. Allowed enum values: require, suppress Valid values are require, suppress.
	// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// (String) Query for selecting logs to apply the filtering action.
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*FilterInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterInitParameters.

func (*FilterInitParameters) DeepCopyInto

func (in *FilterInitParameters) DeepCopyInto(out *FilterInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterInitParameters_2

type FilterInitParameters_2 struct {

	// (Block List) Exclusion filters to exclude some logs from the security filter. (see below for nested schema)
	// Exclusion filters to exclude some logs from the security filter.
	ExclusionFilter []ExclusionFilterInitParameters `json:"exclusionFilter,omitempty" tf:"exclusion_filter,omitempty"`

	// (String) The filtered data type. Valid values are logs. Defaults to "logs".
	// The filtered data type. Valid values are `logs`. Defaults to `"logs"`.
	FilteredDataType *string `json:"filteredDataType,omitempty" tf:"filtered_data_type,omitempty"`

	// (Boolean) Whether the security filter is enabled.
	// Whether the security filter is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// (String) The name of the security filter.
	// The name of the security filter.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// The query of the security filter.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*FilterInitParameters_2) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterInitParameters_2.

func (*FilterInitParameters_2) DeepCopyInto

func (in *FilterInitParameters_2) DeepCopyInto(out *FilterInitParameters_2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterList

type FilterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Filter `json:"items"`
}

FilterList contains a list of Filters

func (*FilterList) DeepCopy

func (in *FilterList) DeepCopy() *FilterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterList.

func (*FilterList) DeepCopyInto

func (in *FilterList) DeepCopyInto(out *FilterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FilterList) DeepCopyObject

func (in *FilterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FilterList) GetItems

func (l *FilterList) GetItems() []resource.Managed

GetItems of this FilterList.

type FilterObservation

type FilterObservation struct {

	// (String) The type of filtering action. Allowed enum values: require, suppress Valid values are require, suppress.
	// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// (String) Query for selecting logs to apply the filtering action.
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation.

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterObservation_2

type FilterObservation_2 struct {

	// (Block List) Exclusion filters to exclude some logs from the security filter. (see below for nested schema)
	// Exclusion filters to exclude some logs from the security filter.
	ExclusionFilter []ExclusionFilterObservation `json:"exclusionFilter,omitempty" tf:"exclusion_filter,omitempty"`

	// (String) The filtered data type. Valid values are logs. Defaults to "logs".
	// The filtered data type. Valid values are `logs`. Defaults to `"logs"`.
	FilteredDataType *string `json:"filteredDataType,omitempty" tf:"filtered_data_type,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Boolean) Whether the security filter is enabled.
	// Whether the security filter is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// (String) The name of the security filter.
	// The name of the security filter.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// The query of the security filter.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// (Number) The version of the security filter.
	// The version of the security filter.
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*FilterObservation_2) DeepCopy

func (in *FilterObservation_2) DeepCopy() *FilterObservation_2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation_2.

func (*FilterObservation_2) DeepCopyInto

func (in *FilterObservation_2) DeepCopyInto(out *FilterObservation_2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterParameters

type FilterParameters struct {

	// (String) The type of filtering action. Allowed enum values: require, suppress Valid values are require, suppress.
	// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// (String) Query for selecting logs to apply the filtering action.
	// Query for selecting logs to apply the filtering action.
	// +kubebuilder:validation:Optional
	Query *string `json:"query" tf:"query,omitempty"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters.

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterParameters_2

type FilterParameters_2 struct {

	// (Block List) Exclusion filters to exclude some logs from the security filter. (see below for nested schema)
	// Exclusion filters to exclude some logs from the security filter.
	// +kubebuilder:validation:Optional
	ExclusionFilter []ExclusionFilterParameters `json:"exclusionFilter,omitempty" tf:"exclusion_filter,omitempty"`

	// (String) The filtered data type. Valid values are logs. Defaults to "logs".
	// The filtered data type. Valid values are `logs`. Defaults to `"logs"`.
	// +kubebuilder:validation:Optional
	FilteredDataType *string `json:"filteredDataType,omitempty" tf:"filtered_data_type,omitempty"`

	// (Boolean) Whether the security filter is enabled.
	// Whether the security filter is enabled.
	// +kubebuilder:validation:Optional
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// (String) The name of the security filter.
	// The name of the security filter.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The query of the security filter.
	// The query of the security filter.
	// +kubebuilder:validation:Optional
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*FilterParameters_2) DeepCopy

func (in *FilterParameters_2) DeepCopy() *FilterParameters_2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters_2.

func (*FilterParameters_2) DeepCopyInto

func (in *FilterParameters_2) DeepCopyInto(out *FilterParameters_2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterSpec

type FilterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FilterParameters_2 `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider FilterInitParameters_2 `json:"initProvider,omitempty"`
}

FilterSpec defines the desired state of Filter

func (*FilterSpec) DeepCopy

func (in *FilterSpec) DeepCopy() *FilterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSpec.

func (*FilterSpec) DeepCopyInto

func (in *FilterSpec) DeepCopyInto(out *FilterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterStatus

type FilterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FilterObservation_2 `json:"atProvider,omitempty"`
}

FilterStatus defines the observed state of Filter.

func (*FilterStatus) DeepCopy

func (in *FilterStatus) DeepCopy() *FilterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterStatus.

func (*FilterStatus) DeepCopyInto

func (in *FilterStatus) DeepCopyInto(out *FilterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImpossibleTravelOptionsInitParameters

type ImpossibleTravelOptionsInitParameters struct {

	// (Boolean) If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to false.
	// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`.
	BaselineUserLocations *bool `json:"baselineUserLocations,omitempty" tf:"baseline_user_locations,omitempty"`
}

func (*ImpossibleTravelOptionsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpossibleTravelOptionsInitParameters.

func (*ImpossibleTravelOptionsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImpossibleTravelOptionsObservation

type ImpossibleTravelOptionsObservation struct {

	// (Boolean) If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to false.
	// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`.
	BaselineUserLocations *bool `json:"baselineUserLocations,omitempty" tf:"baseline_user_locations,omitempty"`
}

func (*ImpossibleTravelOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpossibleTravelOptionsObservation.

func (*ImpossibleTravelOptionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImpossibleTravelOptionsParameters

type ImpossibleTravelOptionsParameters struct {

	// (Boolean) If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to false.
	// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`.
	// +kubebuilder:validation:Optional
	BaselineUserLocations *bool `json:"baselineUserLocations,omitempty" tf:"baseline_user_locations,omitempty"`
}

func (*ImpossibleTravelOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpossibleTravelOptionsParameters.

func (*ImpossibleTravelOptionsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NewValueOptionsInitParameters

type NewValueOptionsInitParameters struct {

	// (Number) The duration in days after which a learned value is forgotten. Valid values are 1, 2, 7, 14, 21, 28.
	// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`.
	ForgetAfter *float64 `json:"forgetAfter,omitempty" tf:"forget_after,omitempty"`

	// (Number) The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are 0, 1, 7. Defaults to 1.
	// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`.
	LearningDuration *float64 `json:"learningDuration,omitempty" tf:"learning_duration,omitempty"`

	// (String) The learning method used to determine when signals should be generated for values that weren't learned. Valid values are duration, threshold. Defaults to "duration".
	// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`.
	LearningMethod *string `json:"learningMethod,omitempty" tf:"learning_method,omitempty"`

	// (Number) A number of occurrences after which signals are generated for values that weren't learned. Valid values are 0, 1. Defaults to 0.
	// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`.
	LearningThreshold *float64 `json:"learningThreshold,omitempty" tf:"learning_threshold,omitempty"`
}

func (*NewValueOptionsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewValueOptionsInitParameters.

func (*NewValueOptionsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NewValueOptionsObservation

type NewValueOptionsObservation struct {

	// (Number) The duration in days after which a learned value is forgotten. Valid values are 1, 2, 7, 14, 21, 28.
	// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`.
	ForgetAfter *float64 `json:"forgetAfter,omitempty" tf:"forget_after,omitempty"`

	// (Number) The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are 0, 1, 7. Defaults to 1.
	// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`.
	LearningDuration *float64 `json:"learningDuration,omitempty" tf:"learning_duration,omitempty"`

	// (String) The learning method used to determine when signals should be generated for values that weren't learned. Valid values are duration, threshold. Defaults to "duration".
	// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`.
	LearningMethod *string `json:"learningMethod,omitempty" tf:"learning_method,omitempty"`

	// (Number) A number of occurrences after which signals are generated for values that weren't learned. Valid values are 0, 1. Defaults to 0.
	// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`.
	LearningThreshold *float64 `json:"learningThreshold,omitempty" tf:"learning_threshold,omitempty"`
}

func (*NewValueOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewValueOptionsObservation.

func (*NewValueOptionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NewValueOptionsParameters

type NewValueOptionsParameters struct {

	// (Number) The duration in days after which a learned value is forgotten. Valid values are 1, 2, 7, 14, 21, 28.
	// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`.
	// +kubebuilder:validation:Optional
	ForgetAfter *float64 `json:"forgetAfter" tf:"forget_after,omitempty"`

	// (Number) The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are 0, 1, 7. Defaults to 1.
	// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`.
	// +kubebuilder:validation:Optional
	LearningDuration *float64 `json:"learningDuration,omitempty" tf:"learning_duration,omitempty"`

	// (String) The learning method used to determine when signals should be generated for values that weren't learned. Valid values are duration, threshold. Defaults to "duration".
	// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`.
	// +kubebuilder:validation:Optional
	LearningMethod *string `json:"learningMethod,omitempty" tf:"learning_method,omitempty"`

	// (Number) A number of occurrences after which signals are generated for values that weren't learned. Valid values are 0, 1. Defaults to 0.
	// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`.
	// +kubebuilder:validation:Optional
	LearningThreshold *float64 `json:"learningThreshold,omitempty" tf:"learning_threshold,omitempty"`
}

func (*NewValueOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewValueOptionsParameters.

func (*NewValueOptionsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OptionsInitParameters

type OptionsInitParameters struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`
}

func (*OptionsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsInitParameters.

func (*OptionsInitParameters) DeepCopyInto

func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OptionsObservation

type OptionsObservation struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`
}

func (*OptionsObservation) DeepCopy

func (in *OptionsObservation) DeepCopy() *OptionsObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsObservation.

func (*OptionsObservation) DeepCopyInto

func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OptionsParameters

type OptionsParameters struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`
}

func (*OptionsParameters) DeepCopy

func (in *OptionsParameters) DeepCopy() *OptionsParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsParameters.

func (*OptionsParameters) DeepCopyInto

func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QueryInitParameters

type QueryInitParameters struct {

	// (Block List, Deprecated) Deprecated. It won't be applied anymore. Deprecated. agent_rule has been deprecated in favor of new Agent Rule resource. (see below for nested schema)
	// **Deprecated**. It won't be applied anymore. **Deprecated.** `agent_rule` has been deprecated in favor of new Agent Rule resource.
	AgentRule []AgentRuleInitParameters `json:"agentRule,omitempty" tf:"agent_rule,omitempty"`

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"count"`.
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Field for which the cardinality is measured. Sent as an array.
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields []*string `json:"distinctFields,omitempty" tf:"distinct_fields,omitempty"`

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by.
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (String, Deprecated) The target field to aggregate over when using the sum, max, or geo_data aggregations. Deprecated. Configure metrics instead. This attribute will be removed in the next major version of the provider.
	// The target field to aggregate over when using the `sum`, `max`, or `geo_data` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// (List of String) Group of target fields to aggregate over when using the sum, max, geo_data, or new_value aggregations. The sum, max, and geo_data aggregations only accept one value in this list, whereas the new_value aggregation accepts up to five values.
	// Group of target fields to aggregate over when using the `sum`, `max`, `geo_data`, or `new_value` aggregations. The `sum`, `max`, and `geo_data` aggregations only accept one value in this list, whereas the `new_value` aggregation accepts up to five values.
	Metrics []*string `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to run on logs.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*QueryInitParameters) DeepCopy

func (in *QueryInitParameters) DeepCopy() *QueryInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInitParameters.

func (*QueryInitParameters) DeepCopyInto

func (in *QueryInitParameters) DeepCopyInto(out *QueryInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QueryObservation

type QueryObservation struct {

	// (Block List, Deprecated) Deprecated. It won't be applied anymore. Deprecated. agent_rule has been deprecated in favor of new Agent Rule resource. (see below for nested schema)
	// **Deprecated**. It won't be applied anymore. **Deprecated.** `agent_rule` has been deprecated in favor of new Agent Rule resource.
	AgentRule []AgentRuleObservation `json:"agentRule,omitempty" tf:"agent_rule,omitempty"`

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"count"`.
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Field for which the cardinality is measured. Sent as an array.
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields []*string `json:"distinctFields,omitempty" tf:"distinct_fields,omitempty"`

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by.
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (String, Deprecated) The target field to aggregate over when using the sum, max, or geo_data aggregations. Deprecated. Configure metrics instead. This attribute will be removed in the next major version of the provider.
	// The target field to aggregate over when using the `sum`, `max`, or `geo_data` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// (List of String) Group of target fields to aggregate over when using the sum, max, geo_data, or new_value aggregations. The sum, max, and geo_data aggregations only accept one value in this list, whereas the new_value aggregation accepts up to five values.
	// Group of target fields to aggregate over when using the `sum`, `max`, `geo_data`, or `new_value` aggregations. The `sum`, `max`, and `geo_data` aggregations only accept one value in this list, whereas the `new_value` aggregation accepts up to five values.
	Metrics []*string `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to run on logs.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*QueryObservation) DeepCopy

func (in *QueryObservation) DeepCopy() *QueryObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryObservation.

func (*QueryObservation) DeepCopyInto

func (in *QueryObservation) DeepCopyInto(out *QueryObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QueryParameters

type QueryParameters struct {

	// (Block List, Deprecated) Deprecated. It won't be applied anymore. Deprecated. agent_rule has been deprecated in favor of new Agent Rule resource. (see below for nested schema)
	// **Deprecated**. It won't be applied anymore. **Deprecated.** `agent_rule` has been deprecated in favor of new Agent Rule resource.
	// +kubebuilder:validation:Optional
	AgentRule []AgentRuleParameters `json:"agentRule,omitempty" tf:"agent_rule,omitempty"`

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"count"`.
	// +kubebuilder:validation:Optional
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Field for which the cardinality is measured. Sent as an array.
	// Field for which the cardinality is measured. Sent as an array.
	// +kubebuilder:validation:Optional
	DistinctFields []*string `json:"distinctFields,omitempty" tf:"distinct_fields,omitempty"`

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by.
	// +kubebuilder:validation:Optional
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (String, Deprecated) The target field to aggregate over when using the sum, max, or geo_data aggregations. Deprecated. Configure metrics instead. This attribute will be removed in the next major version of the provider.
	// The target field to aggregate over when using the `sum`, `max`, or `geo_data` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider.
	// +kubebuilder:validation:Optional
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// (List of String) Group of target fields to aggregate over when using the sum, max, geo_data, or new_value aggregations. The sum, max, and geo_data aggregations only accept one value in this list, whereas the new_value aggregation accepts up to five values.
	// Group of target fields to aggregate over when using the `sum`, `max`, `geo_data`, or `new_value` aggregations. The `sum`, `max`, and `geo_data` aggregations only accept one value in this list, whereas the `new_value` aggregation accepts up to five values.
	// +kubebuilder:validation:Optional
	Metrics []*string `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to run on logs.
	// +kubebuilder:validation:Optional
	Query *string `json:"query" tf:"query,omitempty"`
}

func (*QueryParameters) DeepCopy

func (in *QueryParameters) DeepCopy() *QueryParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameters.

func (*QueryParameters) DeepCopyInto

func (in *QueryParameters) DeepCopyInto(out *QueryParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RootQueryInitParameters

type RootQueryInitParameters struct {

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by. If empty, each log triggers a signal.
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to filter logs.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*RootQueryInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootQueryInitParameters.

func (*RootQueryInitParameters) DeepCopyInto

func (in *RootQueryInitParameters) DeepCopyInto(out *RootQueryInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RootQueryObservation

type RootQueryObservation struct {

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by. If empty, each log triggers a signal.
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to filter logs.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*RootQueryObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootQueryObservation.

func (*RootQueryObservation) DeepCopyInto

func (in *RootQueryObservation) DeepCopyInto(out *RootQueryObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RootQueryParameters

type RootQueryParameters struct {

	// (List of String) Fields to group by. If empty, each log triggers a signal.
	// Fields to group by. If empty, each log triggers a signal.
	// +kubebuilder:validation:Optional
	GroupByFields []*string `json:"groupByFields,omitempty" tf:"group_by_fields,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query to filter logs.
	// +kubebuilder:validation:Optional
	Query *string `json:"query" tf:"query,omitempty"`
}

func (*RootQueryParameters) DeepCopy

func (in *RootQueryParameters) DeepCopy() *RootQueryParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootQueryParameters.

func (*RootQueryParameters) DeepCopyInto

func (in *RootQueryParameters) DeepCopyInto(out *RootQueryParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rule

type Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.message) || (has(self.initProvider) && has(self.initProvider.message))",message="spec.forProvider.message is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   RuleSpec   `json:"spec"`
	Status RuleStatus `json:"status,omitempty"`
}

Rule is the Schema for the Rules API. Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use datadog_security_default_rule instead. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadog}

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Rule) DeepCopyObject

func (in *Rule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Rule) GetCondition

func (mg *Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Rule.

func (*Rule) GetConnectionDetailsMapping

func (tr *Rule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Rule

func (*Rule) GetDeletionPolicy

func (mg *Rule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Rule.

func (*Rule) GetID

func (tr *Rule) GetID() string

GetID returns ID of underlying Terraform resource of this Rule

func (*Rule) GetInitParameters

func (tr *Rule) GetInitParameters() (map[string]any, error)

GetInitParameters of this Rule

func (*Rule) GetManagementPolicies

func (mg *Rule) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Rule.

func (*Rule) GetMergedParameters

func (tr *Rule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Rule

func (*Rule) GetObservation

func (tr *Rule) GetObservation() (map[string]any, error)

GetObservation of this Rule

func (*Rule) GetParameters

func (tr *Rule) GetParameters() (map[string]any, error)

GetParameters of this Rule

func (*Rule) GetProviderConfigReference

func (mg *Rule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Rule.

func (*Rule) GetPublishConnectionDetailsTo

func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Rule.

func (*Rule) GetTerraformResourceType

func (mg *Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rule

func (*Rule) GetTerraformSchemaVersion

func (tr *Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rule) GetWriteConnectionSecretToReference

func (mg *Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Rule.

func (*Rule) Hub

func (tr *Rule) Hub()

Hub marks this type as a conversion hub.

func (*Rule) LateInitialize

func (tr *Rule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Rule using its observed tfState. returns True if there are any spec changes for the resource.

func (*Rule) SetConditions

func (mg *Rule) SetConditions(c ...xpv1.Condition)

SetConditions of this Rule.

func (*Rule) SetDeletionPolicy

func (mg *Rule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Rule.

func (*Rule) SetManagementPolicies

func (mg *Rule) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Rule.

func (*Rule) SetObservation

func (tr *Rule) SetObservation(obs map[string]any) error

SetObservation for this Rule

func (*Rule) SetParameters

func (tr *Rule) SetParameters(params map[string]any) error

SetParameters for this Rule

func (*Rule) SetProviderConfigReference

func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Rule.

func (*Rule) SetPublishConnectionDetailsTo

func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Rule.

func (*Rule) SetWriteConnectionSecretToReference

func (mg *Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Rule.

type RuleCaseInitParameters

type RuleCaseInitParameters struct {

	// (String) A rule case contains logical operations (>,>=, &&, ||) to determine if a signal should be generated based on the event counts in the previously defined queries.
	// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// (String) The name of the rule.
	// Name of the case.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RuleCaseInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCaseInitParameters.

func (*RuleCaseInitParameters) DeepCopyInto

func (in *RuleCaseInitParameters) DeepCopyInto(out *RuleCaseInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleCaseObservation

type RuleCaseObservation struct {

	// (String) A rule case contains logical operations (>,>=, &&, ||) to determine if a signal should be generated based on the event counts in the previously defined queries.
	// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// (String) The name of the rule.
	// Name of the case.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RuleCaseObservation) DeepCopy

func (in *RuleCaseObservation) DeepCopy() *RuleCaseObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCaseObservation.

func (*RuleCaseObservation) DeepCopyInto

func (in *RuleCaseObservation) DeepCopyInto(out *RuleCaseObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleCaseParameters

type RuleCaseParameters struct {

	// (String) A rule case contains logical operations (>,>=, &&, ||) to determine if a signal should be generated based on the event counts in the previously defined queries.
	// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries.
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// (String) The name of the rule.
	// Name of the case.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	// +kubebuilder:validation:Optional
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*RuleCaseParameters) DeepCopy

func (in *RuleCaseParameters) DeepCopy() *RuleCaseParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCaseParameters.

func (*RuleCaseParameters) DeepCopyInto

func (in *RuleCaseParameters) DeepCopyInto(out *RuleCaseParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleFilterInitParameters

type RuleFilterInitParameters struct {

	// (String) The type of filtering action. Valid values are require, suppress.
	// The type of filtering action. Valid values are `require`, `suppress`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*RuleFilterInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleFilterInitParameters.

func (*RuleFilterInitParameters) DeepCopyInto

func (in *RuleFilterInitParameters) DeepCopyInto(out *RuleFilterInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleFilterObservation

type RuleFilterObservation struct {

	// (String) The type of filtering action. Valid values are require, suppress.
	// The type of filtering action. Valid values are `require`, `suppress`.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*RuleFilterObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleFilterObservation.

func (*RuleFilterObservation) DeepCopyInto

func (in *RuleFilterObservation) DeepCopyInto(out *RuleFilterObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleFilterParameters

type RuleFilterParameters struct {

	// (String) The type of filtering action. Valid values are require, suppress.
	// The type of filtering action. Valid values are `require`, `suppress`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Query for selecting logs to apply the filtering action.
	// +kubebuilder:validation:Optional
	Query *string `json:"query" tf:"query,omitempty"`
}

func (*RuleFilterParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleFilterParameters.

func (*RuleFilterParameters) DeepCopyInto

func (in *RuleFilterParameters) DeepCopyInto(out *RuleFilterParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleInitParameters

type RuleInitParameters struct {

	// (Block List, Max: 10) Cases for generating signals. (see below for nested schema)
	// Cases for generating signals.
	Case []RuleCaseInitParameters `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Whether the rule is enabled. Defaults to true.
	// Whether the rule is enabled. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	Filter []RuleFilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"`

	// by values in their title. Defaults to false.
	// Whether the notifications include the triggering group-by values in their title. Defaults to `false`.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty" tf:"has_extended_title,omitempty"`

	// (String) Message for generated signals.
	// Message for generated signals.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) The name of the rule.
	// The name of the rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List, Max: 1) Options on rules. (see below for nested schema)
	// Options on rules.
	Options []RuleOptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	Query []QueryInitParameters `json:"query,omitempty" tf:"query,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	SignalQuery []SignalQueryInitParameters `json:"signalQuery,omitempty" tf:"signal_query,omitempty"`

	// (Set of String) Tags for generated signals.
	// Tags for generated signals.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// party rules. Only required and accepted for third-party rules (see below for nested schema)
	// Cases for generating signals for third-party rules. Only required and accepted for third-party rules
	ThirdPartyCase []ThirdPartyCaseInitParameters `json:"thirdPartyCase,omitempty" tf:"third_party_case,omitempty"`

	// (String) The rule type. Valid values are application_security, log_detection, workload_security, signal_correlation. Defaults to "log_detection".
	// The rule type. Valid values are `application_security`, `log_detection`, `workload_security`, `signal_correlation`. Defaults to `"log_detection"`.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RuleInitParameters) DeepCopy

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters.

func (*RuleInitParameters) DeepCopyInto

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleList

type RuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Rule `json:"items"`
}

RuleList contains a list of Rules

func (*RuleList) DeepCopy

func (in *RuleList) DeepCopy() *RuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList.

func (*RuleList) DeepCopyInto

func (in *RuleList) DeepCopyInto(out *RuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleList) DeepCopyObject

func (in *RuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RuleList) GetItems

func (l *RuleList) GetItems() []resource.Managed

GetItems of this RuleList.

type RuleObservation

type RuleObservation struct {

	// (Block List, Max: 10) Cases for generating signals. (see below for nested schema)
	// Cases for generating signals.
	Case []RuleCaseObservation `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Whether the rule is enabled. Defaults to true.
	// Whether the rule is enabled. Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	Filter []RuleFilterObservation `json:"filter,omitempty" tf:"filter,omitempty"`

	// by values in their title. Defaults to false.
	// Whether the notifications include the triggering group-by values in their title. Defaults to `false`.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty" tf:"has_extended_title,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) Message for generated signals.
	// Message for generated signals.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) The name of the rule.
	// The name of the rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List, Max: 1) Options on rules. (see below for nested schema)
	// Options on rules.
	Options []RuleOptionsObservation `json:"options,omitempty" tf:"options,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	Query []QueryObservation `json:"query,omitempty" tf:"query,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	SignalQuery []SignalQueryObservation `json:"signalQuery,omitempty" tf:"signal_query,omitempty"`

	// (Set of String) Tags for generated signals.
	// Tags for generated signals.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// party rules. Only required and accepted for third-party rules (see below for nested schema)
	// Cases for generating signals for third-party rules. Only required and accepted for third-party rules
	ThirdPartyCase []ThirdPartyCaseObservation `json:"thirdPartyCase,omitempty" tf:"third_party_case,omitempty"`

	// (String) The rule type. Valid values are application_security, log_detection, workload_security, signal_correlation. Defaults to "log_detection".
	// The rule type. Valid values are `application_security`, `log_detection`, `workload_security`, `signal_correlation`. Defaults to `"log_detection"`.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation.

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleOptionsInitParameters

type RuleOptionsInitParameters struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`

	// (String) The detection method. Valid values are threshold, new_value, anomaly_detection, impossible_travel, hardcoded, third_party. Defaults to "threshold".
	// The detection method. Valid values are `threshold`, `new_value`, `anomaly_detection`, `impossible_travel`, `hardcoded`, `third_party`. Defaults to `"threshold"`.
	DetectionMethod *string `json:"detectionMethod,omitempty" tf:"detection_method,omitempty"`

	// (Number) A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200.
	// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`.
	EvaluationWindow *float64 `json:"evaluationWindow,omitempty" tf:"evaluation_window,omitempty"`

	// (Block List, Max: 1) Options for rules using the impossible travel detection method. (see below for nested schema)
	// Options for rules using the impossible travel detection method.
	ImpossibleTravelOptions []ImpossibleTravelOptionsInitParameters `json:"impossibleTravelOptions,omitempty" tf:"impossible_travel_options,omitempty"`

	// (Number) Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600.
	// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`.
	KeepAlive *float64 `json:"keepAlive,omitempty" tf:"keep_alive,omitempty"`

	// (Number) A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400.
	// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`.
	MaxSignalDuration *float64 `json:"maxSignalDuration,omitempty" tf:"max_signal_duration,omitempty"`

	// (Block List, Max: 1) New value rules specific options. (see below for nested schema)
	// New value rules specific options.
	NewValueOptions []NewValueOptionsInitParameters `json:"newValueOptions,omitempty" tf:"new_value_options,omitempty"`

	// party detection method. (see below for nested schema)
	// Options for rules using the third-party detection method.
	ThirdPartyRuleOptions []ThirdPartyRuleOptionsInitParameters `json:"thirdPartyRuleOptions,omitempty" tf:"third_party_rule_options,omitempty"`
}

func (*RuleOptionsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleOptionsInitParameters.

func (*RuleOptionsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleOptionsObservation

type RuleOptionsObservation struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`

	// (String) The detection method. Valid values are threshold, new_value, anomaly_detection, impossible_travel, hardcoded, third_party. Defaults to "threshold".
	// The detection method. Valid values are `threshold`, `new_value`, `anomaly_detection`, `impossible_travel`, `hardcoded`, `third_party`. Defaults to `"threshold"`.
	DetectionMethod *string `json:"detectionMethod,omitempty" tf:"detection_method,omitempty"`

	// (Number) A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200.
	// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`.
	EvaluationWindow *float64 `json:"evaluationWindow,omitempty" tf:"evaluation_window,omitempty"`

	// (Block List, Max: 1) Options for rules using the impossible travel detection method. (see below for nested schema)
	// Options for rules using the impossible travel detection method.
	ImpossibleTravelOptions []ImpossibleTravelOptionsObservation `json:"impossibleTravelOptions,omitempty" tf:"impossible_travel_options,omitempty"`

	// (Number) Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600.
	// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`.
	KeepAlive *float64 `json:"keepAlive,omitempty" tf:"keep_alive,omitempty"`

	// (Number) A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400.
	// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`.
	MaxSignalDuration *float64 `json:"maxSignalDuration,omitempty" tf:"max_signal_duration,omitempty"`

	// (Block List, Max: 1) New value rules specific options. (see below for nested schema)
	// New value rules specific options.
	NewValueOptions []NewValueOptionsObservation `json:"newValueOptions,omitempty" tf:"new_value_options,omitempty"`

	// party detection method. (see below for nested schema)
	// Options for rules using the third-party detection method.
	ThirdPartyRuleOptions []ThirdPartyRuleOptionsObservation `json:"thirdPartyRuleOptions,omitempty" tf:"third_party_rule_options,omitempty"`
}

func (*RuleOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleOptionsObservation.

func (*RuleOptionsObservation) DeepCopyInto

func (in *RuleOptionsObservation) DeepCopyInto(out *RuleOptionsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleOptionsParameters

type RuleOptionsParameters struct {

	// production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with staging, test, or dev. Only available when the rule type is log_detection. Defaults to false.
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `log_detection`. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty" tf:"decrease_criticality_based_on_env,omitempty"`

	// (String) The detection method. Valid values are threshold, new_value, anomaly_detection, impossible_travel, hardcoded, third_party. Defaults to "threshold".
	// The detection method. Valid values are `threshold`, `new_value`, `anomaly_detection`, `impossible_travel`, `hardcoded`, `third_party`. Defaults to `"threshold"`.
	// +kubebuilder:validation:Optional
	DetectionMethod *string `json:"detectionMethod,omitempty" tf:"detection_method,omitempty"`

	// (Number) A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200.
	// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`.
	// +kubebuilder:validation:Optional
	EvaluationWindow *float64 `json:"evaluationWindow,omitempty" tf:"evaluation_window,omitempty"`

	// (Block List, Max: 1) Options for rules using the impossible travel detection method. (see below for nested schema)
	// Options for rules using the impossible travel detection method.
	// +kubebuilder:validation:Optional
	ImpossibleTravelOptions []ImpossibleTravelOptionsParameters `json:"impossibleTravelOptions,omitempty" tf:"impossible_travel_options,omitempty"`

	// (Number) Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600.
	// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`.
	// +kubebuilder:validation:Optional
	KeepAlive *float64 `json:"keepAlive,omitempty" tf:"keep_alive,omitempty"`

	// (Number) A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400.
	// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`.
	// +kubebuilder:validation:Optional
	MaxSignalDuration *float64 `json:"maxSignalDuration,omitempty" tf:"max_signal_duration,omitempty"`

	// (Block List, Max: 1) New value rules specific options. (see below for nested schema)
	// New value rules specific options.
	// +kubebuilder:validation:Optional
	NewValueOptions []NewValueOptionsParameters `json:"newValueOptions,omitempty" tf:"new_value_options,omitempty"`

	// party detection method. (see below for nested schema)
	// Options for rules using the third-party detection method.
	// +kubebuilder:validation:Optional
	ThirdPartyRuleOptions []ThirdPartyRuleOptionsParameters `json:"thirdPartyRuleOptions,omitempty" tf:"third_party_rule_options,omitempty"`
}

func (*RuleOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleOptionsParameters.

func (*RuleOptionsParameters) DeepCopyInto

func (in *RuleOptionsParameters) DeepCopyInto(out *RuleOptionsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleParameters

type RuleParameters struct {

	// (Block List, Max: 10) Cases for generating signals. (see below for nested schema)
	// Cases for generating signals.
	// +kubebuilder:validation:Optional
	Case []RuleCaseParameters `json:"case,omitempty" tf:"case,omitempty"`

	// (Boolean) Whether the rule is enabled. Defaults to true.
	// Whether the rule is enabled. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (Block List) Additional queries to filter matched events before they are processed. (see below for nested schema)
	// Additional queries to filter matched events before they are processed.
	// +kubebuilder:validation:Optional
	Filter []RuleFilterParameters `json:"filter,omitempty" tf:"filter,omitempty"`

	// by values in their title. Defaults to false.
	// Whether the notifications include the triggering group-by values in their title. Defaults to `false`.
	// +kubebuilder:validation:Optional
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty" tf:"has_extended_title,omitempty"`

	// (String) Message for generated signals.
	// Message for generated signals.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// (String) The name of the rule.
	// The name of the rule.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block List, Max: 1) Options on rules. (see below for nested schema)
	// Options on rules.
	// +kubebuilder:validation:Optional
	Options []RuleOptionsParameters `json:"options,omitempty" tf:"options,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	// +kubebuilder:validation:Optional
	Query []QueryParameters `json:"query,omitempty" tf:"query,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// Queries for selecting logs which are part of the rule.
	// +kubebuilder:validation:Optional
	SignalQuery []SignalQueryParameters `json:"signalQuery,omitempty" tf:"signal_query,omitempty"`

	// (Set of String) Tags for generated signals.
	// Tags for generated signals.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// party rules. Only required and accepted for third-party rules (see below for nested schema)
	// Cases for generating signals for third-party rules. Only required and accepted for third-party rules
	// +kubebuilder:validation:Optional
	ThirdPartyCase []ThirdPartyCaseParameters `json:"thirdPartyCase,omitempty" tf:"third_party_case,omitempty"`

	// (String) The rule type. Valid values are application_security, log_detection, workload_security, signal_correlation. Defaults to "log_detection".
	// The rule type. Valid values are `application_security`, `log_detection`, `workload_security`, `signal_correlation`. Defaults to `"log_detection"`.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters.

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleSpec

type RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RuleInitParameters `json:"initProvider,omitempty"`
}

RuleSpec defines the desired state of Rule

func (*RuleSpec) DeepCopy

func (in *RuleSpec) DeepCopy() *RuleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.

func (*RuleSpec) DeepCopyInto

func (in *RuleSpec) DeepCopyInto(out *RuleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleStatus

type RuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        RuleObservation `json:"atProvider,omitempty"`
}

RuleStatus defines the observed state of Rule.

func (*RuleStatus) DeepCopy

func (in *RuleStatus) DeepCopy() *RuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.

func (*RuleStatus) DeepCopyInto

func (in *RuleStatus) DeepCopyInto(out *RuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SignalQueryInitParameters

type SignalQueryInitParameters struct {

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"event_count"`.
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Fields to correlate by.
	// Fields to correlate by.
	CorrelatedByFields []*string `json:"correlatedByFields,omitempty" tf:"correlated_by_fields,omitempty"`

	// projected per query attributes of the rule. Defaults to "".
	// Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`.
	CorrelatedQueryIndex *string `json:"correlatedQueryIndex,omitempty" tf:"correlated_query_index,omitempty"`

	// ONLY.
	// Default Rule ID of the signal to correlate. This value is READ-ONLY.
	DefaultRuleID *string `json:"defaultRuleId,omitempty" tf:"default_rule_id,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Rule ID of the signal to correlate.
	// Rule ID of the signal to correlate.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`
}

func (*SignalQueryInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalQueryInitParameters.

func (*SignalQueryInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SignalQueryObservation

type SignalQueryObservation struct {

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"event_count"`.
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Fields to correlate by.
	// Fields to correlate by.
	CorrelatedByFields []*string `json:"correlatedByFields,omitempty" tf:"correlated_by_fields,omitempty"`

	// projected per query attributes of the rule. Defaults to "".
	// Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`.
	CorrelatedQueryIndex *string `json:"correlatedQueryIndex,omitempty" tf:"correlated_query_index,omitempty"`

	// ONLY.
	// Default Rule ID of the signal to correlate. This value is READ-ONLY.
	DefaultRuleID *string `json:"defaultRuleId,omitempty" tf:"default_rule_id,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Rule ID of the signal to correlate.
	// Rule ID of the signal to correlate.
	RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"`
}

func (*SignalQueryObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalQueryObservation.

func (*SignalQueryObservation) DeepCopyInto

func (in *SignalQueryObservation) DeepCopyInto(out *SignalQueryObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SignalQueryParameters

type SignalQueryParameters struct {

	// (String) The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are count, cardinality, sum, max, new_value, geo_data, event_count, none. Defaults to "count".
	// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `new_value`, `geo_data`, `event_count`, `none`. Defaults to `"event_count"`.
	// +kubebuilder:validation:Optional
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation,omitempty"`

	// (List of String) Fields to correlate by.
	// Fields to correlate by.
	// +kubebuilder:validation:Optional
	CorrelatedByFields []*string `json:"correlatedByFields,omitempty" tf:"correlated_by_fields,omitempty"`

	// projected per query attributes of the rule. Defaults to "".
	// Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`.
	// +kubebuilder:validation:Optional
	CorrelatedQueryIndex *string `json:"correlatedQueryIndex,omitempty" tf:"correlated_query_index,omitempty"`

	// ONLY.
	// Default Rule ID of the signal to correlate. This value is READ-ONLY.
	// +kubebuilder:validation:Optional
	DefaultRuleID *string `json:"defaultRuleId,omitempty" tf:"default_rule_id,omitempty"`

	// (String) The name of the rule.
	// Name of the query. Not compatible with `new_value` aggregations.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Rule ID of the signal to correlate.
	// Rule ID of the signal to correlate.
	// +kubebuilder:validation:Optional
	RuleID *string `json:"ruleId" tf:"rule_id,omitempty"`
}

func (*SignalQueryParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalQueryParameters.

func (*SignalQueryParameters) DeepCopyInto

func (in *SignalQueryParameters) DeepCopyInto(out *SignalQueryParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyCaseInitParameters

type ThirdPartyCaseInitParameters struct {

	// (String) The name of the rule.
	// Name of the case.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// A query to associate a third-party event to this case.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ThirdPartyCaseInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyCaseInitParameters.

func (*ThirdPartyCaseInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyCaseObservation

type ThirdPartyCaseObservation struct {

	// (String) The name of the rule.
	// Name of the case.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// A query to associate a third-party event to this case.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ThirdPartyCaseObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyCaseObservation.

func (*ThirdPartyCaseObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyCaseParameters

type ThirdPartyCaseParameters struct {

	// (String) The name of the rule.
	// Name of the case.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (List of String) Notification targets for each rule case.
	// Notification targets for each rule case.
	// +kubebuilder:validation:Optional
	Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"`

	// (Block List) Queries for selecting logs which are part of the rule. (see below for nested schema)
	// A query to associate a third-party event to this case.
	// +kubebuilder:validation:Optional
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// (String) Severity of the Security Signal. Valid values are info, low, medium, high, critical.
	// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*ThirdPartyCaseParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyCaseParameters.

func (*ThirdPartyCaseParameters) DeepCopyInto

func (in *ThirdPartyCaseParameters) DeepCopyInto(out *ThirdPartyCaseParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyRuleOptionsInitParameters

type ThirdPartyRuleOptionsInitParameters struct {

	// party cases match.
	// Notification targets for the default rule case, when none of the third-party cases match.
	DefaultNotifications []*string `json:"defaultNotifications,omitempty" tf:"default_notifications,omitempty"`

	// party cases match. Valid values are info, low, medium, high, critical.
	// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	DefaultStatus *string `json:"defaultStatus,omitempty" tf:"default_status,omitempty"`

	// party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. (see below for nested schema)
	// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert.
	RootQuery []RootQueryInitParameters `json:"rootQuery,omitempty" tf:"root_query,omitempty"`

	// (String) A template for the signal title; if omitted, the title is generated based on the case name.
	// A template for the signal title; if omitted, the title is generated based on the case name.
	SignalTitleTemplate *string `json:"signalTitleTemplate,omitempty" tf:"signal_title_template,omitempty"`
}

func (*ThirdPartyRuleOptionsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyRuleOptionsInitParameters.

func (*ThirdPartyRuleOptionsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyRuleOptionsObservation

type ThirdPartyRuleOptionsObservation struct {

	// party cases match.
	// Notification targets for the default rule case, when none of the third-party cases match.
	DefaultNotifications []*string `json:"defaultNotifications,omitempty" tf:"default_notifications,omitempty"`

	// party cases match. Valid values are info, low, medium, high, critical.
	// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	DefaultStatus *string `json:"defaultStatus,omitempty" tf:"default_status,omitempty"`

	// party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. (see below for nested schema)
	// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert.
	RootQuery []RootQueryObservation `json:"rootQuery,omitempty" tf:"root_query,omitempty"`

	// (String) A template for the signal title; if omitted, the title is generated based on the case name.
	// A template for the signal title; if omitted, the title is generated based on the case name.
	SignalTitleTemplate *string `json:"signalTitleTemplate,omitempty" tf:"signal_title_template,omitempty"`
}

func (*ThirdPartyRuleOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyRuleOptionsObservation.

func (*ThirdPartyRuleOptionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThirdPartyRuleOptionsParameters

type ThirdPartyRuleOptionsParameters struct {

	// party cases match.
	// Notification targets for the default rule case, when none of the third-party cases match.
	// +kubebuilder:validation:Optional
	DefaultNotifications []*string `json:"defaultNotifications,omitempty" tf:"default_notifications,omitempty"`

	// party cases match. Valid values are info, low, medium, high, critical.
	// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`.
	// +kubebuilder:validation:Optional
	DefaultStatus *string `json:"defaultStatus" tf:"default_status,omitempty"`

	// party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. (see below for nested schema)
	// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert.
	// +kubebuilder:validation:Optional
	RootQuery []RootQueryParameters `json:"rootQuery" tf:"root_query,omitempty"`

	// (String) A template for the signal title; if omitted, the title is generated based on the case name.
	// A template for the signal title; if omitted, the title is generated based on the case name.
	// +kubebuilder:validation:Optional
	SignalTitleTemplate *string `json:"signalTitleTemplate,omitempty" tf:"signal_title_template,omitempty"`
}

func (*ThirdPartyRuleOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyRuleOptionsParameters.

func (*ThirdPartyRuleOptionsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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