Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloud.datadog.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConfigurationRule
- func (in *ConfigurationRule) DeepCopy() *ConfigurationRule
- func (in *ConfigurationRule) DeepCopyInto(out *ConfigurationRule)
- func (in *ConfigurationRule) DeepCopyObject() runtime.Object
- func (mg *ConfigurationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ConfigurationRule) GetConnectionDetailsMapping() map[string]string
- func (mg *ConfigurationRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ConfigurationRule) GetID() string
- func (tr *ConfigurationRule) GetInitParameters() (map[string]any, error)
- func (mg *ConfigurationRule) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ConfigurationRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ConfigurationRule) GetObservation() (map[string]any, error)
- func (tr *ConfigurationRule) GetParameters() (map[string]any, error)
- func (mg *ConfigurationRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *ConfigurationRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ConfigurationRule) GetTerraformResourceType() string
- func (tr *ConfigurationRule) GetTerraformSchemaVersion() int
- func (mg *ConfigurationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ConfigurationRule) Hub()
- func (tr *ConfigurationRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *ConfigurationRule) SetConditions(c ...xpv1.Condition)
- func (mg *ConfigurationRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ConfigurationRule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ConfigurationRule) SetObservation(obs map[string]any) error
- func (tr *ConfigurationRule) SetParameters(params map[string]any) error
- func (mg *ConfigurationRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ConfigurationRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ConfigurationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConfigurationRuleInitParameters
- type ConfigurationRuleList
- type ConfigurationRuleObservation
- type ConfigurationRuleParameters
- type ConfigurationRuleSpec
- type ConfigurationRuleStatus
- type FilterInitParameters
- type FilterObservation
- type FilterParameters
- type WorkloadSecurityAgentRule
- func (in *WorkloadSecurityAgentRule) DeepCopy() *WorkloadSecurityAgentRule
- func (in *WorkloadSecurityAgentRule) DeepCopyInto(out *WorkloadSecurityAgentRule)
- func (in *WorkloadSecurityAgentRule) DeepCopyObject() runtime.Object
- func (mg *WorkloadSecurityAgentRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *WorkloadSecurityAgentRule) GetConnectionDetailsMapping() map[string]string
- func (mg *WorkloadSecurityAgentRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *WorkloadSecurityAgentRule) GetID() string
- func (tr *WorkloadSecurityAgentRule) GetInitParameters() (map[string]any, error)
- func (mg *WorkloadSecurityAgentRule) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *WorkloadSecurityAgentRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *WorkloadSecurityAgentRule) GetObservation() (map[string]any, error)
- func (tr *WorkloadSecurityAgentRule) GetParameters() (map[string]any, error)
- func (mg *WorkloadSecurityAgentRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *WorkloadSecurityAgentRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *WorkloadSecurityAgentRule) GetTerraformResourceType() string
- func (tr *WorkloadSecurityAgentRule) GetTerraformSchemaVersion() int
- func (mg *WorkloadSecurityAgentRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *WorkloadSecurityAgentRule) Hub()
- func (tr *WorkloadSecurityAgentRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *WorkloadSecurityAgentRule) SetConditions(c ...xpv1.Condition)
- func (mg *WorkloadSecurityAgentRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *WorkloadSecurityAgentRule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *WorkloadSecurityAgentRule) SetObservation(obs map[string]any) error
- func (tr *WorkloadSecurityAgentRule) SetParameters(params map[string]any) error
- func (mg *WorkloadSecurityAgentRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *WorkloadSecurityAgentRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *WorkloadSecurityAgentRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type WorkloadSecurityAgentRuleInitParameters
- type WorkloadSecurityAgentRuleList
- func (in *WorkloadSecurityAgentRuleList) DeepCopy() *WorkloadSecurityAgentRuleList
- func (in *WorkloadSecurityAgentRuleList) DeepCopyInto(out *WorkloadSecurityAgentRuleList)
- func (in *WorkloadSecurityAgentRuleList) DeepCopyObject() runtime.Object
- func (l *WorkloadSecurityAgentRuleList) GetItems() []resource.Managed
- type WorkloadSecurityAgentRuleObservation
- type WorkloadSecurityAgentRuleParameters
- type WorkloadSecurityAgentRuleSpec
- type WorkloadSecurityAgentRuleStatus
Constants ¶
const ( CRDGroup = "cloud.datadog.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ConfigurationRule_Kind = "ConfigurationRule" ConfigurationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConfigurationRule_Kind}.String() ConfigurationRule_KindAPIVersion = ConfigurationRule_Kind + "." + CRDGroupVersion.String() ConfigurationRule_GroupVersionKind = CRDGroupVersion.WithKind(ConfigurationRule_Kind) )
Repository type metadata.
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 )
var ( WorkloadSecurityAgentRule_Kind = "WorkloadSecurityAgentRule" WorkloadSecurityAgentRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkloadSecurityAgentRule_Kind}.String() WorkloadSecurityAgentRule_KindAPIVersion = WorkloadSecurityAgentRule_Kind + "." + CRDGroupVersion.String() WorkloadSecurityAgentRule_GroupVersionKind = CRDGroupVersion.WithKind(WorkloadSecurityAgentRule_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ConfigurationRule ¶
type ConfigurationRule 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.enabled) || (has(self.initProvider) && has(self.initProvider.enabled))",message="spec.forProvider.enabled is a required parameter" // +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" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.severity) || (has(self.initProvider) && has(self.initProvider.severity))",message="spec.forProvider.severity is a required parameter" Spec ConfigurationRuleSpec `json:"spec"` Status ConfigurationRuleStatus `json:"status,omitempty"` }
ConfigurationRule is the Schema for the ConfigurationRules API. Provides a Datadog Cloud Configuration Rule resource. +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 (*ConfigurationRule) DeepCopy ¶
func (in *ConfigurationRule) DeepCopy() *ConfigurationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRule.
func (*ConfigurationRule) DeepCopyInto ¶
func (in *ConfigurationRule) DeepCopyInto(out *ConfigurationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationRule) DeepCopyObject ¶
func (in *ConfigurationRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigurationRule) GetCondition ¶
func (mg *ConfigurationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ConfigurationRule.
func (*ConfigurationRule) GetConnectionDetailsMapping ¶
func (tr *ConfigurationRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ConfigurationRule
func (*ConfigurationRule) GetDeletionPolicy ¶
func (mg *ConfigurationRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ConfigurationRule.
func (*ConfigurationRule) GetID ¶
func (tr *ConfigurationRule) GetID() string
GetID returns ID of underlying Terraform resource of this ConfigurationRule
func (*ConfigurationRule) GetInitParameters ¶
func (tr *ConfigurationRule) GetInitParameters() (map[string]any, error)
GetInitParameters of this ConfigurationRule
func (*ConfigurationRule) GetManagementPolicies ¶
func (mg *ConfigurationRule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ConfigurationRule.
func (*ConfigurationRule) GetMergedParameters ¶
func (tr *ConfigurationRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ConfigurationRule
func (*ConfigurationRule) GetObservation ¶
func (tr *ConfigurationRule) GetObservation() (map[string]any, error)
GetObservation of this ConfigurationRule
func (*ConfigurationRule) GetParameters ¶
func (tr *ConfigurationRule) GetParameters() (map[string]any, error)
GetParameters of this ConfigurationRule
func (*ConfigurationRule) GetProviderConfigReference ¶
func (mg *ConfigurationRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ConfigurationRule.
func (*ConfigurationRule) GetPublishConnectionDetailsTo ¶
func (mg *ConfigurationRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ConfigurationRule.
func (*ConfigurationRule) GetTerraformResourceType ¶
func (mg *ConfigurationRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ConfigurationRule
func (*ConfigurationRule) GetTerraformSchemaVersion ¶
func (tr *ConfigurationRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ConfigurationRule) GetWriteConnectionSecretToReference ¶
func (mg *ConfigurationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ConfigurationRule.
func (*ConfigurationRule) Hub ¶
func (tr *ConfigurationRule) Hub()
Hub marks this type as a conversion hub.
func (*ConfigurationRule) LateInitialize ¶
func (tr *ConfigurationRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ConfigurationRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*ConfigurationRule) SetConditions ¶
func (mg *ConfigurationRule) SetConditions(c ...xpv1.Condition)
SetConditions of this ConfigurationRule.
func (*ConfigurationRule) SetDeletionPolicy ¶
func (mg *ConfigurationRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ConfigurationRule.
func (*ConfigurationRule) SetManagementPolicies ¶
func (mg *ConfigurationRule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ConfigurationRule.
func (*ConfigurationRule) SetObservation ¶
func (tr *ConfigurationRule) SetObservation(obs map[string]any) error
SetObservation for this ConfigurationRule
func (*ConfigurationRule) SetParameters ¶
func (tr *ConfigurationRule) SetParameters(params map[string]any) error
SetParameters for this ConfigurationRule
func (*ConfigurationRule) SetProviderConfigReference ¶
func (mg *ConfigurationRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ConfigurationRule.
func (*ConfigurationRule) SetPublishConnectionDetailsTo ¶
func (mg *ConfigurationRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ConfigurationRule.
func (*ConfigurationRule) SetWriteConnectionSecretToReference ¶
func (mg *ConfigurationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ConfigurationRule.
type ConfigurationRuleInitParameters ¶
type ConfigurationRuleInitParameters struct { // (Boolean) Whether the cloud configuration rule is enabled. // Whether the cloud configuration rule is enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block List) Additional queries to filter matched events before they are processed. Defaults to empty list (see below for nested schema) // Additional queries to filter matched events before they are processed. Defaults to empty list Filter []FilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` // (List of String) Fields to group by when generating signals, e.g. @resource. Defaults to empty list. // Fields to group by when generating signals, e.g. @resource. Defaults to empty list. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) The message associated to the rule that will be shown in findings and signals. // The message associated to the rule that will be shown in findings and signals. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The name of the cloud configuration rule. // The name of the cloud configuration rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (List of String) Notification targets for signals. Defaults to empty list. // Notification targets for signals. Defaults to empty list. Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"` // (String) Policy written in Rego format. // Policy written in Rego format. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` // (List of String) Related resource types to be checked by the rule. Defaults to empty list. // Related resource types to be checked by the rule. Defaults to empty list. RelatedResourceTypes []*string `json:"relatedResourceTypes,omitempty" tf:"related_resource_types,omitempty"` // (String) Main resource type to be checked by the rule. // Main resource type to be checked by the rule. ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` // (String) Severity of the rule and associated signals. Valid values are info, low, medium, high, critical. // Severity of the rule and associated signals. Valid values are `info`, `low`, `medium`, `high`, `critical`. Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (List of String) Tags of the rule, propagated to findings and signals. Defaults to empty list. // Tags of the rule, propagated to findings and signals. Defaults to empty list. Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*ConfigurationRuleInitParameters) DeepCopy ¶
func (in *ConfigurationRuleInitParameters) DeepCopy() *ConfigurationRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleInitParameters.
func (*ConfigurationRuleInitParameters) DeepCopyInto ¶
func (in *ConfigurationRuleInitParameters) DeepCopyInto(out *ConfigurationRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationRuleList ¶
type ConfigurationRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConfigurationRule `json:"items"` }
ConfigurationRuleList contains a list of ConfigurationRules
func (*ConfigurationRuleList) DeepCopy ¶
func (in *ConfigurationRuleList) DeepCopy() *ConfigurationRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleList.
func (*ConfigurationRuleList) DeepCopyInto ¶
func (in *ConfigurationRuleList) DeepCopyInto(out *ConfigurationRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationRuleList) DeepCopyObject ¶
func (in *ConfigurationRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigurationRuleList) GetItems ¶
func (l *ConfigurationRuleList) GetItems() []resource.Managed
GetItems of this ConfigurationRuleList.
type ConfigurationRuleObservation ¶
type ConfigurationRuleObservation struct { // (Boolean) Whether the cloud configuration rule is enabled. // Whether the cloud configuration rule is enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block List) Additional queries to filter matched events before they are processed. Defaults to empty list (see below for nested schema) // Additional queries to filter matched events before they are processed. Defaults to empty list Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"` // (List of String) Fields to group by when generating signals, e.g. @resource. Defaults to empty list. // Fields to group by when generating signals, e.g. @resource. Defaults to empty list. GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The message associated to the rule that will be shown in findings and signals. // The message associated to the rule that will be shown in findings and signals. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The name of the cloud configuration rule. // The name of the cloud configuration rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (List of String) Notification targets for signals. Defaults to empty list. // Notification targets for signals. Defaults to empty list. Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"` // (String) Policy written in Rego format. // Policy written in Rego format. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` // (List of String) Related resource types to be checked by the rule. Defaults to empty list. // Related resource types to be checked by the rule. Defaults to empty list. RelatedResourceTypes []*string `json:"relatedResourceTypes,omitempty" tf:"related_resource_types,omitempty"` // (String) Main resource type to be checked by the rule. // Main resource type to be checked by the rule. ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` // (String) Severity of the rule and associated signals. Valid values are info, low, medium, high, critical. // Severity of the rule and associated signals. Valid values are `info`, `low`, `medium`, `high`, `critical`. Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (List of String) Tags of the rule, propagated to findings and signals. Defaults to empty list. // Tags of the rule, propagated to findings and signals. Defaults to empty list. Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*ConfigurationRuleObservation) DeepCopy ¶
func (in *ConfigurationRuleObservation) DeepCopy() *ConfigurationRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleObservation.
func (*ConfigurationRuleObservation) DeepCopyInto ¶
func (in *ConfigurationRuleObservation) DeepCopyInto(out *ConfigurationRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationRuleParameters ¶
type ConfigurationRuleParameters struct { // (Boolean) Whether the cloud configuration rule is enabled. // Whether the cloud configuration rule is enabled. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Block List) Additional queries to filter matched events before they are processed. Defaults to empty list (see below for nested schema) // Additional queries to filter matched events before they are processed. Defaults to empty list // +kubebuilder:validation:Optional Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` // (List of String) Fields to group by when generating signals, e.g. @resource. Defaults to empty list. // Fields to group by when generating signals, e.g. @resource. Defaults to empty list. // +kubebuilder:validation:Optional GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` // (String) The message associated to the rule that will be shown in findings and signals. // The message associated to the rule that will be shown in findings and signals. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The name of the cloud configuration rule. // The name of the cloud configuration rule. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (List of String) Notification targets for signals. Defaults to empty list. // Notification targets for signals. Defaults to empty list. // +kubebuilder:validation:Optional Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"` // (String) Policy written in Rego format. // Policy written in Rego format. // +kubebuilder:validation:Optional Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` // (List of String) Related resource types to be checked by the rule. Defaults to empty list. // Related resource types to be checked by the rule. Defaults to empty list. // +kubebuilder:validation:Optional RelatedResourceTypes []*string `json:"relatedResourceTypes,omitempty" tf:"related_resource_types,omitempty"` // (String) Main resource type to be checked by the rule. // Main resource type to be checked by the rule. // +kubebuilder:validation:Optional ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` // (String) Severity of the rule and associated signals. Valid values are info, low, medium, high, critical. // Severity of the rule and associated signals. Valid values are `info`, `low`, `medium`, `high`, `critical`. // +kubebuilder:validation:Optional Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` // (List of String) Tags of the rule, propagated to findings and signals. Defaults to empty list. // Tags of the rule, propagated to findings and signals. Defaults to empty list. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*ConfigurationRuleParameters) DeepCopy ¶
func (in *ConfigurationRuleParameters) DeepCopy() *ConfigurationRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleParameters.
func (*ConfigurationRuleParameters) DeepCopyInto ¶
func (in *ConfigurationRuleParameters) DeepCopyInto(out *ConfigurationRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationRuleSpec ¶
type ConfigurationRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ConfigurationRuleParameters `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 ConfigurationRuleInitParameters `json:"initProvider,omitempty"` }
ConfigurationRuleSpec defines the desired state of ConfigurationRule
func (*ConfigurationRuleSpec) DeepCopy ¶
func (in *ConfigurationRuleSpec) DeepCopy() *ConfigurationRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleSpec.
func (*ConfigurationRuleSpec) DeepCopyInto ¶
func (in *ConfigurationRuleSpec) DeepCopyInto(out *ConfigurationRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationRuleStatus ¶
type ConfigurationRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ConfigurationRuleObservation `json:"atProvider,omitempty"` }
ConfigurationRuleStatus defines the observed state of ConfigurationRule.
func (*ConfigurationRuleStatus) DeepCopy ¶
func (in *ConfigurationRuleStatus) DeepCopy() *ConfigurationRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRuleStatus.
func (*ConfigurationRuleStatus) DeepCopyInto ¶
func (in *ConfigurationRuleStatus) DeepCopyInto(out *ConfigurationRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterInitParameters ¶
type FilterInitParameters 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"` // (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 ¶
func (in *FilterInitParameters) DeepCopy() *FilterInitParameters
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 FilterObservation ¶
type FilterObservation 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"` // (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 FilterParameters ¶
type FilterParameters 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"` // (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 WorkloadSecurityAgentRule ¶
type WorkloadSecurityAgentRule 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.expression) || (has(self.initProvider) && has(self.initProvider.expression))",message="spec.forProvider.expression 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 WorkloadSecurityAgentRuleSpec `json:"spec"` Status WorkloadSecurityAgentRuleStatus `json:"status,omitempty"` }
WorkloadSecurityAgentRule is the Schema for the WorkloadSecurityAgentRules API. Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. +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 (*WorkloadSecurityAgentRule) DeepCopy ¶
func (in *WorkloadSecurityAgentRule) DeepCopy() *WorkloadSecurityAgentRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRule) DeepCopyInto(out *WorkloadSecurityAgentRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadSecurityAgentRule) DeepCopyObject ¶
func (in *WorkloadSecurityAgentRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkloadSecurityAgentRule) GetCondition ¶
func (mg *WorkloadSecurityAgentRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) GetConnectionDetailsMapping ¶
func (tr *WorkloadSecurityAgentRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetDeletionPolicy ¶
func (mg *WorkloadSecurityAgentRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) GetID ¶
func (tr *WorkloadSecurityAgentRule) GetID() string
GetID returns ID of underlying Terraform resource of this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetInitParameters ¶
func (tr *WorkloadSecurityAgentRule) GetInitParameters() (map[string]any, error)
GetInitParameters of this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetManagementPolicies ¶
func (mg *WorkloadSecurityAgentRule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) GetMergedParameters ¶
func (tr *WorkloadSecurityAgentRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetObservation ¶
func (tr *WorkloadSecurityAgentRule) GetObservation() (map[string]any, error)
GetObservation of this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetParameters ¶
func (tr *WorkloadSecurityAgentRule) GetParameters() (map[string]any, error)
GetParameters of this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetProviderConfigReference ¶
func (mg *WorkloadSecurityAgentRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) GetPublishConnectionDetailsTo ¶
func (mg *WorkloadSecurityAgentRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) GetTerraformResourceType ¶
func (mg *WorkloadSecurityAgentRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) GetTerraformSchemaVersion ¶
func (tr *WorkloadSecurityAgentRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*WorkloadSecurityAgentRule) GetWriteConnectionSecretToReference ¶
func (mg *WorkloadSecurityAgentRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) Hub ¶
func (tr *WorkloadSecurityAgentRule) Hub()
Hub marks this type as a conversion hub.
func (*WorkloadSecurityAgentRule) LateInitialize ¶
func (tr *WorkloadSecurityAgentRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this WorkloadSecurityAgentRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*WorkloadSecurityAgentRule) SetConditions ¶
func (mg *WorkloadSecurityAgentRule) SetConditions(c ...xpv1.Condition)
SetConditions of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) SetDeletionPolicy ¶
func (mg *WorkloadSecurityAgentRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) SetManagementPolicies ¶
func (mg *WorkloadSecurityAgentRule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) SetObservation ¶
func (tr *WorkloadSecurityAgentRule) SetObservation(obs map[string]any) error
SetObservation for this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) SetParameters ¶
func (tr *WorkloadSecurityAgentRule) SetParameters(params map[string]any) error
SetParameters for this WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRule) SetProviderConfigReference ¶
func (mg *WorkloadSecurityAgentRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) SetPublishConnectionDetailsTo ¶
func (mg *WorkloadSecurityAgentRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRule) SetWriteConnectionSecretToReference ¶
func (mg *WorkloadSecurityAgentRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this WorkloadSecurityAgentRule.
type WorkloadSecurityAgentRuleInitParameters ¶
type WorkloadSecurityAgentRuleInitParameters struct { // (String) The description of the Agent rule. Defaults to "". // The description of the Agent rule. Defaults to `""`. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether the Agent rule is enabled. Defaults to true. // Whether the Agent rule is enabled. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The SECL expression of the Agent rule. // The SECL expression of the Agent rule. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // (String) The name of the Agent rule. // The name of the Agent rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*WorkloadSecurityAgentRuleInitParameters) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleInitParameters) DeepCopy() *WorkloadSecurityAgentRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleInitParameters.
func (*WorkloadSecurityAgentRuleInitParameters) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleInitParameters) DeepCopyInto(out *WorkloadSecurityAgentRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadSecurityAgentRuleList ¶
type WorkloadSecurityAgentRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WorkloadSecurityAgentRule `json:"items"` }
WorkloadSecurityAgentRuleList contains a list of WorkloadSecurityAgentRules
func (*WorkloadSecurityAgentRuleList) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleList) DeepCopy() *WorkloadSecurityAgentRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleList.
func (*WorkloadSecurityAgentRuleList) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleList) DeepCopyInto(out *WorkloadSecurityAgentRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadSecurityAgentRuleList) DeepCopyObject ¶
func (in *WorkloadSecurityAgentRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkloadSecurityAgentRuleList) GetItems ¶
func (l *WorkloadSecurityAgentRuleList) GetItems() []resource.Managed
GetItems of this WorkloadSecurityAgentRuleList.
type WorkloadSecurityAgentRuleObservation ¶
type WorkloadSecurityAgentRuleObservation struct { // (String) The description of the Agent rule. Defaults to "". // The description of the Agent rule. Defaults to `""`. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether the Agent rule is enabled. Defaults to true. // Whether the Agent rule is enabled. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The SECL expression of the Agent rule. // The SECL expression of the Agent rule. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the Agent rule. // The name of the Agent rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*WorkloadSecurityAgentRuleObservation) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleObservation) DeepCopy() *WorkloadSecurityAgentRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleObservation.
func (*WorkloadSecurityAgentRuleObservation) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleObservation) DeepCopyInto(out *WorkloadSecurityAgentRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadSecurityAgentRuleParameters ¶
type WorkloadSecurityAgentRuleParameters struct { // (String) The description of the Agent rule. Defaults to "". // The description of the Agent rule. Defaults to `""`. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Whether the Agent rule is enabled. Defaults to true. // Whether the Agent rule is enabled. Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The SECL expression of the Agent rule. // The SECL expression of the Agent rule. // +kubebuilder:validation:Optional Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // (String) The name of the Agent rule. // The name of the Agent rule. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*WorkloadSecurityAgentRuleParameters) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleParameters) DeepCopy() *WorkloadSecurityAgentRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleParameters.
func (*WorkloadSecurityAgentRuleParameters) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleParameters) DeepCopyInto(out *WorkloadSecurityAgentRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadSecurityAgentRuleSpec ¶
type WorkloadSecurityAgentRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider WorkloadSecurityAgentRuleParameters `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 WorkloadSecurityAgentRuleInitParameters `json:"initProvider,omitempty"` }
WorkloadSecurityAgentRuleSpec defines the desired state of WorkloadSecurityAgentRule
func (*WorkloadSecurityAgentRuleSpec) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleSpec) DeepCopy() *WorkloadSecurityAgentRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleSpec.
func (*WorkloadSecurityAgentRuleSpec) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleSpec) DeepCopyInto(out *WorkloadSecurityAgentRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadSecurityAgentRuleStatus ¶
type WorkloadSecurityAgentRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider WorkloadSecurityAgentRuleObservation `json:"atProvider,omitempty"` }
WorkloadSecurityAgentRuleStatus defines the observed state of WorkloadSecurityAgentRule.
func (*WorkloadSecurityAgentRuleStatus) DeepCopy ¶
func (in *WorkloadSecurityAgentRuleStatus) DeepCopy() *WorkloadSecurityAgentRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSecurityAgentRuleStatus.
func (*WorkloadSecurityAgentRuleStatus) DeepCopyInto ¶
func (in *WorkloadSecurityAgentRuleStatus) DeepCopyInto(out *WorkloadSecurityAgentRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.