v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ruleset.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ruleset.cloudflare.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Ruleset_Kind             = "Ruleset"
	Ruleset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Ruleset_Kind}.String()
	Ruleset_KindAPIVersion   = Ruleset_Kind + "." + CRDGroupVersion.String()
	Ruleset_GroupVersionKind = CRDGroupVersion.WithKind(Ruleset_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionParametersObservation

type ActionParametersObservation struct {

	// List of override configurations to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Overrides []OverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"`
}

func (*ActionParametersObservation) DeepCopy

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

func (*ActionParametersObservation) DeepCopyInto

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

type ActionParametersParameters

type ActionParametersParameters struct {

	// Turn on or off Cloudflare Automatic HTTPS rewrites.
	// +kubebuilder:validation:Optional
	AutomaticHTTPSRewrites *bool `json:"automaticHttpsRewrites,omitempty" tf:"automatic_https_rewrites,omitempty"`

	// Indicate which file extensions to minify automatically.
	// +kubebuilder:validation:Optional
	Autominify []AutominifyParameters `json:"autominify,omitempty" tf:"autominify,omitempty"`

	// Inspect the visitor's browser for headers commonly associated with spammers and certain bots.
	// +kubebuilder:validation:Optional
	Bic *bool `json:"bic,omitempty" tf:"bic,omitempty"`

	// List of browser TTL parameters to apply to the request.
	// +kubebuilder:validation:Optional
	BrowserTTL []BrowserTTLParameters `json:"browserTtl,omitempty" tf:"browser_ttl,omitempty"`

	// Whether to cache if expression matches.
	// +kubebuilder:validation:Optional
	Cache *bool `json:"cache,omitempty" tf:"cache,omitempty"`

	// List of cache key parameters to apply to the request.
	// +kubebuilder:validation:Optional
	CacheKey []CacheKeyParameters `json:"cacheKey,omitempty" tf:"cache_key,omitempty"`

	// Content of the custom error response.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Content-Type of the custom error response.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// List of cookie values to include as part of custom fields logging.
	// +kubebuilder:validation:Optional
	CookieFields []*string `json:"cookieFields,omitempty" tf:"cookie_fields,omitempty"`

	// Turn off all active Cloudflare Apps.
	// +kubebuilder:validation:Optional
	DisableApps *bool `json:"disableApps,omitempty" tf:"disable_apps,omitempty"`

	// Turn off railgun feature of the Cloudflare Speed app.
	// +kubebuilder:validation:Optional
	DisableRailgun *bool `json:"disableRailgun,omitempty" tf:"disable_railgun,omitempty"`

	// Turn off zaraz feature.
	// +kubebuilder:validation:Optional
	DisableZaraz *bool `json:"disableZaraz,omitempty" tf:"disable_zaraz,omitempty"`

	// List of edge TTL parameters to apply to the request.
	// +kubebuilder:validation:Optional
	EdgeTTL []EdgeTTLParameters `json:"edgeTtl,omitempty" tf:"edge_ttl,omitempty"`

	// Turn on or off the Cloudflare Email Obfuscation feature of the Cloudflare Scrape Shield app.
	// +kubebuilder:validation:Optional
	EmailObfuscation *bool `json:"emailObfuscation,omitempty" tf:"email_obfuscation,omitempty"`

	// Use a list to lookup information for the action.
	// +kubebuilder:validation:Optional
	FromList []FromListParameters `json:"fromList,omitempty" tf:"from_list,omitempty"`

	// Use a value to lookup information for the action.
	// +kubebuilder:validation:Optional
	FromValue []FromValueParameters `json:"fromValue,omitempty" tf:"from_value,omitempty"`

	// List of HTTP header modifications to perform in the ruleset rule.
	// +kubebuilder:validation:Optional
	Headers []HeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"`

	// Host Header that request origin receives.
	// +kubebuilder:validation:Optional
	HostHeader *string `json:"hostHeader,omitempty" tf:"host_header,omitempty"`

	// Turn on or off the hotlink protection feature.
	// +kubebuilder:validation:Optional
	HotlinkProtection *bool `json:"hotlinkProtection,omitempty" tf:"hotlink_protection,omitempty"`

	// Identifier of the action parameter to modify.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// +kubebuilder:validation:Optional
	Increment *float64 `json:"increment,omitempty" tf:"increment,omitempty"`

	// List of properties to configure WAF payload logging.
	// +kubebuilder:validation:Optional
	MatchedData []MatchedDataParameters `json:"matchedData,omitempty" tf:"matched_data,omitempty"`

	// Turn on or off Cloudflare Mirage of the Cloudflare Speed app.
	// +kubebuilder:validation:Optional
	Mirage *bool `json:"mirage,omitempty" tf:"mirage,omitempty"`

	// Turn on or off the Cloudflare Opportunistic Encryption feature of the Edge Certificates tab in the Cloudflare SSL/TLS app.
	// +kubebuilder:validation:Optional
	OpportunisticEncryption *bool `json:"opportunisticEncryption,omitempty" tf:"opportunistic_encryption,omitempty"`

	// List of properties to change request origin.
	// +kubebuilder:validation:Optional
	Origin []OriginParameters `json:"origin,omitempty" tf:"origin,omitempty"`

	// Pass-through error page for origin.
	// +kubebuilder:validation:Optional
	OriginErrorPagePassthru *bool `json:"originErrorPagePassthru,omitempty" tf:"origin_error_page_passthru,omitempty"`

	// List of override configurations to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Overrides []OverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_custom_errors`, `http_log_custom_fields`, `http_request_cache_settings`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_late_transform_managed`, `http_request_main`, `http_request_origin`, `http_request_dynamic_redirect`, `http_request_redirect`, `http_request_sanitize`, `http_request_transform`, `http_response_firewall_managed`, `http_response_headers_transform`, `http_response_headers_transform_managed`, `magic_transit`, `http_ratelimit`, `http_request_sbfm`, `http_config_settings`.
	// +kubebuilder:validation:Optional
	Phases []*string `json:"phases,omitempty" tf:"phases,omitempty"`

	// Apply options from the Polish feature of the Cloudflare Speed app.
	// +kubebuilder:validation:Optional
	Polish *string `json:"polish,omitempty" tf:"polish,omitempty"`

	// Products to target with the actions. Available values: `bic`, `hot`, `ratelimit`, `securityLevel`, `uablock`, `waf`, `zonelockdown`.
	// +kubebuilder:validation:Optional
	Products []*string `json:"products,omitempty" tf:"products,omitempty"`

	// List of request headers to include as part of custom fields logging, in lowercase.
	// +kubebuilder:validation:Optional
	RequestFields []*string `json:"requestFields,omitempty" tf:"request_fields,omitempty"`

	// Respect strong ETags.
	// +kubebuilder:validation:Optional
	RespectStrongEtags *bool `json:"respectStrongEtags,omitempty" tf:"respect_strong_etags,omitempty"`

	// List of parameters that configure the response given to end users.
	// +kubebuilder:validation:Optional
	Response []ResponseParameters `json:"response,omitempty" tf:"response,omitempty"`

	// List of response headers to include as part of custom fields logging, in lowercase.
	// +kubebuilder:validation:Optional
	ResponseFields []*string `json:"responseFields,omitempty" tf:"response_fields,omitempty"`

	// Turn on or off Cloudflare Rocket Loader in the Cloudflare Speed app.
	// +kubebuilder:validation:Optional
	RocketLoader *bool `json:"rocketLoader,omitempty" tf:"rocket_loader,omitempty"`

	// Map of managed WAF rule ID to comma-delimited string of ruleset rule IDs. Example: `rules = { "efb7b8c949ac4650a09736fc376e9aee" = "5de7edfa648c4d6891dc3e7f84534ffa,e3a567afc347477d9702d9047e97d760" }`.
	// +kubebuilder:validation:Optional
	Rules map[string]*string `json:"rules,omitempty" tf:"rules,omitempty"`

	// Which ruleset ID to target.
	// +kubebuilder:validation:Optional
	Ruleset *string `json:"ruleset,omitempty" tf:"ruleset,omitempty"`

	// List of managed WAF rule IDs to target. Only valid when the `"action"` is set to skip.
	// +kubebuilder:validation:Optional
	Rulesets []*string `json:"rulesets,omitempty" tf:"rulesets,omitempty"`

	// Control options for the SSL feature of the Edge Certificates tab in the Cloudflare SSL/TLS app.
	// +kubebuilder:validation:Optional
	SSL *string `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// Control options for the Security Level feature from the Security app.
	// +kubebuilder:validation:Optional
	SecurityLevel *string `json:"securityLevel,omitempty" tf:"security_level,omitempty"`

	// List of serve stale parameters to apply to the request.
	// +kubebuilder:validation:Optional
	ServeStale []ServeStaleParameters `json:"serveStale,omitempty" tf:"serve_stale,omitempty"`

	// Turn on or off the Server Side Excludes feature of the Cloudflare Scrape Shield app.
	// +kubebuilder:validation:Optional
	ServerSideExcludes *bool `json:"serverSideExcludes,omitempty" tf:"server_side_excludes,omitempty"`

	// List of properties to manange Server Name Indication.
	// +kubebuilder:validation:Optional
	Sni []SniParameters `json:"sni,omitempty" tf:"sni,omitempty"`

	// HTTP status code of the custom error response.
	// +kubebuilder:validation:Optional
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`

	// Turn on or off the SXG feature.
	// +kubebuilder:validation:Optional
	Sxg *bool `json:"sxg,omitempty" tf:"sxg,omitempty"`

	// List of URI properties to configure for the ruleset rule when performing URL rewrite transformations.
	// +kubebuilder:validation:Optional
	URI []URIParameters `json:"uri,omitempty" tf:"uri,omitempty"`

	// Version of the ruleset to deploy.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ActionParametersParameters) DeepCopy

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

func (*ActionParametersParameters) DeepCopyInto

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

type AutominifyObservation

type AutominifyObservation struct {
}

func (*AutominifyObservation) DeepCopy

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

func (*AutominifyObservation) DeepCopyInto

func (in *AutominifyObservation) DeepCopyInto(out *AutominifyObservation)

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

type AutominifyParameters

type AutominifyParameters struct {

	// SSL minification.
	// +kubebuilder:validation:Optional
	CSS *bool `json:"css,omitempty" tf:"css,omitempty"`

	// HTML minification.
	// +kubebuilder:validation:Optional
	HTML *bool `json:"html,omitempty" tf:"html,omitempty"`

	// JS minification.
	// +kubebuilder:validation:Optional
	Js *bool `json:"js,omitempty" tf:"js,omitempty"`
}

func (*AutominifyParameters) DeepCopy

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

func (*AutominifyParameters) DeepCopyInto

func (in *AutominifyParameters) DeepCopyInto(out *AutominifyParameters)

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

type BrowserTTLObservation

type BrowserTTLObservation struct {
}

func (*BrowserTTLObservation) DeepCopy

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

func (*BrowserTTLObservation) DeepCopyInto

func (in *BrowserTTLObservation) DeepCopyInto(out *BrowserTTLObservation)

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

type BrowserTTLParameters

type BrowserTTLParameters struct {

	// Default browser TTL.
	// +kubebuilder:validation:Optional
	Default *float64 `json:"default,omitempty" tf:"default,omitempty"`

	// Mode of the browser TTL.
	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`
}

func (*BrowserTTLParameters) DeepCopy

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

func (*BrowserTTLParameters) DeepCopyInto

func (in *BrowserTTLParameters) DeepCopyInto(out *BrowserTTLParameters)

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

type CacheKeyObservation

type CacheKeyObservation struct {
}

func (*CacheKeyObservation) DeepCopy

func (in *CacheKeyObservation) DeepCopy() *CacheKeyObservation

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

func (*CacheKeyObservation) DeepCopyInto

func (in *CacheKeyObservation) DeepCopyInto(out *CacheKeyObservation)

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

type CacheKeyParameters

type CacheKeyParameters struct {

	// Cache by device type. Conflicts with "custom_key.user.device_type".
	// +kubebuilder:validation:Optional
	CacheByDeviceType *bool `json:"cacheByDeviceType,omitempty" tf:"cache_by_device_type,omitempty"`

	// Cache deception armor.
	// +kubebuilder:validation:Optional
	CacheDeceptionArmor *bool `json:"cacheDeceptionArmor,omitempty" tf:"cache_deception_armor,omitempty"`

	// Custom key parameters for the request.
	// +kubebuilder:validation:Optional
	CustomKey []CustomKeyParameters `json:"customKey,omitempty" tf:"custom_key,omitempty"`

	// Ignore query strings order.
	// +kubebuilder:validation:Optional
	IgnoreQueryStringsOrder *bool `json:"ignoreQueryStringsOrder,omitempty" tf:"ignore_query_strings_order,omitempty"`
}

func (*CacheKeyParameters) DeepCopy

func (in *CacheKeyParameters) DeepCopy() *CacheKeyParameters

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

func (*CacheKeyParameters) DeepCopyInto

func (in *CacheKeyParameters) DeepCopyInto(out *CacheKeyParameters)

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

type CategoriesObservation

type CategoriesObservation struct {

	// Defines if the current tag-level override enables or disables the ruleset rules with the specified tag.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*CategoriesObservation) DeepCopy

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

func (*CategoriesObservation) DeepCopyInto

func (in *CategoriesObservation) DeepCopyInto(out *CategoriesObservation)

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

type CategoriesParameters

type CategoriesParameters struct {

	// Action to perform in the tag-level override. Available values: `block`, `challenge`, `ddos_dynamic`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `set_cache_settings`, `set_config`, `serve_error`, `skip`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Tag name to apply the ruleset rule override to.
	// +kubebuilder:validation:Optional
	Category *string `json:"category,omitempty" tf:"category,omitempty"`

	// Defines if the current tag-level override enables or disables the ruleset rules with the specified tag. Available values: `enabled`, `disabled`. Defaults to `""`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CategoriesParameters) DeepCopy

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

func (*CategoriesParameters) DeepCopyInto

func (in *CategoriesParameters) DeepCopyInto(out *CategoriesParameters)

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

type CookieObservation

type CookieObservation struct {
}

func (*CookieObservation) DeepCopy

func (in *CookieObservation) DeepCopy() *CookieObservation

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

func (*CookieObservation) DeepCopyInto

func (in *CookieObservation) DeepCopyInto(out *CookieObservation)

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

type CookieParameters

type CookieParameters struct {

	// List of cookies to check for presence in the custom key.
	// +kubebuilder:validation:Optional
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// List of cookies to include in the custom key.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*CookieParameters) DeepCopy

func (in *CookieParameters) DeepCopy() *CookieParameters

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

func (*CookieParameters) DeepCopyInto

func (in *CookieParameters) DeepCopyInto(out *CookieParameters)

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

type CustomKeyObservation

type CustomKeyObservation struct {
}

func (*CustomKeyObservation) DeepCopy

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

func (*CustomKeyObservation) DeepCopyInto

func (in *CustomKeyObservation) DeepCopyInto(out *CustomKeyObservation)

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

type CustomKeyParameters

type CustomKeyParameters struct {

	// Cookie parameters for the custom key.
	// +kubebuilder:validation:Optional
	Cookie []CookieParameters `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// Header parameters for the custom key.
	// +kubebuilder:validation:Optional
	Header []HeaderParameters `json:"header,omitempty" tf:"header,omitempty"`

	// Host parameters for the custom key.
	// +kubebuilder:validation:Optional
	Host []HostParameters `json:"host,omitempty" tf:"host,omitempty"`

	// Query string parameters for the custom key.
	// +kubebuilder:validation:Optional
	QueryString []QueryStringParameters `json:"queryString,omitempty" tf:"query_string,omitempty"`

	// User parameters for the custom key.
	// +kubebuilder:validation:Optional
	User []UserParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*CustomKeyParameters) DeepCopy

func (in *CustomKeyParameters) DeepCopy() *CustomKeyParameters

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

func (*CustomKeyParameters) DeepCopyInto

func (in *CustomKeyParameters) DeepCopyInto(out *CustomKeyParameters)

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

type EdgeTTLObservation

type EdgeTTLObservation struct {
}

func (*EdgeTTLObservation) DeepCopy

func (in *EdgeTTLObservation) DeepCopy() *EdgeTTLObservation

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

func (*EdgeTTLObservation) DeepCopyInto

func (in *EdgeTTLObservation) DeepCopyInto(out *EdgeTTLObservation)

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

type EdgeTTLParameters

type EdgeTTLParameters struct {

	// Default edge TTL.
	// +kubebuilder:validation:Optional
	Default *float64 `json:"default,omitempty" tf:"default,omitempty"`

	// Mode of the edge TTL.
	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// Edge TTL for the status codes.
	// +kubebuilder:validation:Optional
	StatusCodeTTL []StatusCodeTTLParameters `json:"statusCodeTtl,omitempty" tf:"status_code_ttl,omitempty"`
}

func (*EdgeTTLParameters) DeepCopy

func (in *EdgeTTLParameters) DeepCopy() *EdgeTTLParameters

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

func (*EdgeTTLParameters) DeepCopyInto

func (in *EdgeTTLParameters) DeepCopyInto(out *EdgeTTLParameters)

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

type ExposedCredentialCheckObservation

type ExposedCredentialCheckObservation struct {
}

func (*ExposedCredentialCheckObservation) DeepCopy

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

func (*ExposedCredentialCheckObservation) DeepCopyInto

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

type ExposedCredentialCheckParameters

type ExposedCredentialCheckParameters struct {

	// Firewall Rules expression language based on Wireshark display filters for where to check for the "password" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language).
	// +kubebuilder:validation:Optional
	PasswordExpression *string `json:"passwordExpression,omitempty" tf:"password_expression,omitempty"`

	// Firewall Rules expression language based on Wireshark display filters for where to check for the "username" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language).
	// +kubebuilder:validation:Optional
	UsernameExpression *string `json:"usernameExpression,omitempty" tf:"username_expression,omitempty"`
}

func (*ExposedCredentialCheckParameters) DeepCopy

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

func (*ExposedCredentialCheckParameters) DeepCopyInto

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

type FromListObservation

type FromListObservation struct {
}

func (*FromListObservation) DeepCopy

func (in *FromListObservation) DeepCopy() *FromListObservation

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

func (*FromListObservation) DeepCopyInto

func (in *FromListObservation) DeepCopyInto(out *FromListObservation)

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

type FromListParameters

type FromListParameters struct {

	// Expression to use for the list lookup.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Name of the list.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*FromListParameters) DeepCopy

func (in *FromListParameters) DeepCopy() *FromListParameters

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

func (*FromListParameters) DeepCopyInto

func (in *FromListParameters) DeepCopyInto(out *FromListParameters)

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

type FromValueObservation

type FromValueObservation struct {
}

func (*FromValueObservation) DeepCopy

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

func (*FromValueObservation) DeepCopyInto

func (in *FromValueObservation) DeepCopyInto(out *FromValueObservation)

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

type FromValueParameters

type FromValueParameters struct {

	// Preserve query string for redirect URL.
	// +kubebuilder:validation:Optional
	PreserveQueryString *bool `json:"preserveQueryString,omitempty" tf:"preserve_query_string,omitempty"`

	// Status code for redirect.
	// +kubebuilder:validation:Optional
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`

	// Target URL for redirect.
	// +kubebuilder:validation:Optional
	TargetURL []TargetURLParameters `json:"targetUrl,omitempty" tf:"target_url,omitempty"`
}

func (*FromValueParameters) DeepCopy

func (in *FromValueParameters) DeepCopy() *FromValueParameters

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

func (*FromValueParameters) DeepCopyInto

func (in *FromValueParameters) DeepCopyInto(out *FromValueParameters)

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

type HeaderObservation

type HeaderObservation struct {
}

func (*HeaderObservation) DeepCopy

func (in *HeaderObservation) DeepCopy() *HeaderObservation

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

func (*HeaderObservation) DeepCopyInto

func (in *HeaderObservation) DeepCopyInto(out *HeaderObservation)

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

type HeaderParameters

type HeaderParameters struct {

	// List of headers to check for presence in the custom key.
	// +kubebuilder:validation:Optional
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Exclude the origin header from the custom key.
	// +kubebuilder:validation:Optional
	ExcludeOrigin *bool `json:"excludeOrigin,omitempty" tf:"exclude_origin,omitempty"`

	// List of headers to include in the custom key.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*HeaderParameters) DeepCopy

func (in *HeaderParameters) DeepCopy() *HeaderParameters

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

func (*HeaderParameters) DeepCopyInto

func (in *HeaderParameters) DeepCopyInto(out *HeaderParameters)

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

type HeadersObservation

type HeadersObservation struct {
}

func (*HeadersObservation) DeepCopy

func (in *HeadersObservation) DeepCopy() *HeadersObservation

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

func (*HeadersObservation) DeepCopyInto

func (in *HeadersObservation) DeepCopyInto(out *HeadersObservation)

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

type HeadersParameters

type HeadersParameters struct {

	// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. Conflicts with `"value"`.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Name of the HTTP request header to target.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Action to perform on the HTTP request header. Available values: `remove`, `set`.
	// +kubebuilder:validation:Optional
	Operation *string `json:"operation,omitempty" tf:"operation,omitempty"`

	// Static value to provide as the HTTP request header value. Conflicts with `"expression"`.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*HeadersParameters) DeepCopy

func (in *HeadersParameters) DeepCopy() *HeadersParameters

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

func (*HeadersParameters) DeepCopyInto

func (in *HeadersParameters) DeepCopyInto(out *HeadersParameters)

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

type HostObservation

type HostObservation struct {
}

func (*HostObservation) DeepCopy

func (in *HostObservation) DeepCopy() *HostObservation

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

func (*HostObservation) DeepCopyInto

func (in *HostObservation) DeepCopyInto(out *HostObservation)

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

type HostParameters

type HostParameters struct {

	// Resolve hostname to IP address.
	// +kubebuilder:validation:Optional
	Resolved *bool `json:"resolved,omitempty" tf:"resolved,omitempty"`
}

func (*HostParameters) DeepCopy

func (in *HostParameters) DeepCopy() *HostParameters

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

func (*HostParameters) DeepCopyInto

func (in *HostParameters) DeepCopyInto(out *HostParameters)

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

type LoggingObservation

type LoggingObservation struct {

	// Override the default logging behavior when a rule is matched.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*LoggingObservation) DeepCopy

func (in *LoggingObservation) DeepCopy() *LoggingObservation

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

func (*LoggingObservation) DeepCopyInto

func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation)

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

type LoggingParameters

type LoggingParameters struct {

	// Override the default logging behavior when a rule is matched. Available values: `enabled`, `disabled`. Defaults to `""`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*LoggingParameters) DeepCopy

func (in *LoggingParameters) DeepCopy() *LoggingParameters

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

func (*LoggingParameters) DeepCopyInto

func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters)

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

type MatchedDataObservation

type MatchedDataObservation struct {
}

func (*MatchedDataObservation) DeepCopy

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

func (*MatchedDataObservation) DeepCopyInto

func (in *MatchedDataObservation) DeepCopyInto(out *MatchedDataObservation)

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

type MatchedDataParameters

type MatchedDataParameters struct {

	// Public key to use within WAF Ruleset payload logging to view the HTTP request parameters. You can generate a public key [using the `matched-data-cli` command-line tool](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/command-line/generate-key-pair) or [in the Cloudflare dashboard](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/configure).
	// +kubebuilder:validation:Optional
	PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
}

func (*MatchedDataParameters) DeepCopy

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

func (*MatchedDataParameters) DeepCopyInto

func (in *MatchedDataParameters) DeepCopyInto(out *MatchedDataParameters)

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

type OriginObservation

type OriginObservation struct {
}

func (*OriginObservation) DeepCopy

func (in *OriginObservation) DeepCopy() *OriginObservation

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

func (*OriginObservation) DeepCopyInto

func (in *OriginObservation) DeepCopyInto(out *OriginObservation)

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

type OriginParameters

type OriginParameters struct {

	// Origin Hostname where request is sent.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// Origin Port where request is sent.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}

func (*OriginParameters) DeepCopy

func (in *OriginParameters) DeepCopy() *OriginParameters

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

func (*OriginParameters) DeepCopyInto

func (in *OriginParameters) DeepCopyInto(out *OriginParameters)

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

type OverridesObservation

type OverridesObservation struct {

	// List of tag-based overrides.
	// +kubebuilder:validation:Optional
	Categories []CategoriesObservation `json:"categories,omitempty" tf:"categories,omitempty"`

	// Defines if the current ruleset-level override enables or disables the ruleset.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// List of rule-based overrides.
	// +kubebuilder:validation:Optional
	Rules []OverridesRulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`
}

func (*OverridesObservation) DeepCopy

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

func (*OverridesObservation) DeepCopyInto

func (in *OverridesObservation) DeepCopyInto(out *OverridesObservation)

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

type OverridesParameters

type OverridesParameters struct {

	// Action to perform in the rule-level override. Available values: `block`, `challenge`, `ddos_dynamic`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `set_cache_settings`, `set_config`, `serve_error`, `skip`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// List of tag-based overrides.
	// +kubebuilder:validation:Optional
	Categories []CategoriesParameters `json:"categories,omitempty" tf:"categories,omitempty"`

	// List of rule-based overrides.
	// +kubebuilder:validation:Optional
	Rules []OverridesRulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Sensitivity level to override for all ruleset rules. Available values: `default`, `medium`, `low`, `eoff`.
	// +kubebuilder:validation:Optional
	SensitivityLevel *string `json:"sensitivityLevel,omitempty" tf:"sensitivity_level,omitempty"`

	// Defines if the current ruleset-level override enables or disables the ruleset. Available values: `enabled`, `disabled`. Defaults to `""`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*OverridesParameters) DeepCopy

func (in *OverridesParameters) DeepCopy() *OverridesParameters

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

func (*OverridesParameters) DeepCopyInto

func (in *OverridesParameters) DeepCopyInto(out *OverridesParameters)

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

type OverridesRulesObservation

type OverridesRulesObservation struct {

	// Defines if the current rule-level override enables or disables the rule.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*OverridesRulesObservation) DeepCopy

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

func (*OverridesRulesObservation) DeepCopyInto

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

type OverridesRulesParameters

type OverridesRulesParameters struct {

	// Action to perform in the rule-level override. Available values: `block`, `challenge`, `ddos_dynamic`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `set_cache_settings`, `set_config`, `serve_error`, `skip`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Rule ID to apply the override to.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Anomaly score threshold to apply in the ruleset rule override. Only applicable to modsecurity-based rulesets.
	// +kubebuilder:validation:Optional
	ScoreThreshold *float64 `json:"scoreThreshold,omitempty" tf:"score_threshold,omitempty"`

	// Sensitivity level for a ruleset rule override.
	// +kubebuilder:validation:Optional
	SensitivityLevel *string `json:"sensitivityLevel,omitempty" tf:"sensitivity_level,omitempty"`

	// Defines if the current rule-level override enables or disables the rule. Available values: `enabled`, `disabled`. Defaults to `""`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*OverridesRulesParameters) DeepCopy

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

func (*OverridesRulesParameters) DeepCopyInto

func (in *OverridesRulesParameters) DeepCopyInto(out *OverridesRulesParameters)

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

type PathObservation

type PathObservation struct {
}

func (*PathObservation) DeepCopy

func (in *PathObservation) DeepCopy() *PathObservation

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

func (*PathObservation) DeepCopyInto

func (in *PathObservation) DeepCopyInto(out *PathObservation)

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

type PathParameters

type PathParameters struct {

	// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Static string value of the updated URI path or query string component.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*PathParameters) DeepCopy

func (in *PathParameters) DeepCopy() *PathParameters

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

func (*PathParameters) DeepCopyInto

func (in *PathParameters) DeepCopyInto(out *PathParameters)

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

type QueryObservation

type QueryObservation struct {
}

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 {

	// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Static string value of the updated URI path or query string component.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,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 QueryStringObservation

type QueryStringObservation struct {
}

func (*QueryStringObservation) DeepCopy

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

func (*QueryStringObservation) DeepCopyInto

func (in *QueryStringObservation) DeepCopyInto(out *QueryStringObservation)

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

type QueryStringParameters

type QueryStringParameters struct {

	// List of query string parameters to exclude from the custom key. Conflicts with "include".
	// +kubebuilder:validation:Optional
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// List of query string parameters to include in the custom key. Conflicts with "exclude".
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*QueryStringParameters) DeepCopy

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

func (*QueryStringParameters) DeepCopyInto

func (in *QueryStringParameters) DeepCopyInto(out *QueryStringParameters)

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

type RatelimitObservation

type RatelimitObservation struct {
}

func (*RatelimitObservation) DeepCopy

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

func (*RatelimitObservation) DeepCopyInto

func (in *RatelimitObservation) DeepCopyInto(out *RatelimitObservation)

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

type RatelimitParameters

type RatelimitParameters struct {

	// List of parameters that define how Cloudflare tracks the request rate for this rule.
	// +kubebuilder:validation:Optional
	Characteristics []*string `json:"characteristics,omitempty" tf:"characteristics,omitempty"`

	// Criteria for counting HTTP requests to trigger the Rate Limiting action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
	// +kubebuilder:validation:Optional
	CountingExpression *string `json:"countingExpression,omitempty" tf:"counting_expression,omitempty"`

	// Once the request rate is reached, the Rate Limiting rule blocks further requests for the period of time defined in this field.
	// +kubebuilder:validation:Optional
	MitigationTimeout *float64 `json:"mitigationTimeout,omitempty" tf:"mitigation_timeout,omitempty"`

	// The period of time to consider (in seconds) when evaluating the request rate.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// The number of requests over the period of time that will trigger the Rate Limiting rule.
	// +kubebuilder:validation:Optional
	RequestsPerPeriod *float64 `json:"requestsPerPeriod,omitempty" tf:"requests_per_period,omitempty"`

	// Whether to include requests to origin within the Rate Limiting count.
	// +kubebuilder:validation:Optional
	RequestsToOrigin *bool `json:"requestsToOrigin,omitempty" tf:"requests_to_origin,omitempty"`
}

func (*RatelimitParameters) DeepCopy

func (in *RatelimitParameters) DeepCopy() *RatelimitParameters

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

func (*RatelimitParameters) DeepCopyInto

func (in *RatelimitParameters) DeepCopyInto(out *RatelimitParameters)

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

type ResponseObservation

type ResponseObservation struct {
}

func (*ResponseObservation) DeepCopy

func (in *ResponseObservation) DeepCopy() *ResponseObservation

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

func (*ResponseObservation) DeepCopyInto

func (in *ResponseObservation) DeepCopyInto(out *ResponseObservation)

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

type ResponseParameters

type ResponseParameters struct {

	// Body content to include in the response.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// HTTP content type to send in the response.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// HTTP status code to send in the response.
	// +kubebuilder:validation:Optional
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`
}

func (*ResponseParameters) DeepCopy

func (in *ResponseParameters) DeepCopy() *ResponseParameters

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

func (*ResponseParameters) DeepCopyInto

func (in *ResponseParameters) DeepCopyInto(out *ResponseParameters)

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

type RulesObservation

type RulesObservation struct {

	// List of parameters that configure the behavior of the ruleset rule action.
	// +kubebuilder:validation:Optional
	ActionParameters []ActionParametersObservation `json:"actionParameters,omitempty" tf:"action_parameters,omitempty"`

	// Unique rule identifier.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// List parameters to configure how the rule generates logs.
	// +kubebuilder:validation:Optional
	Logging []LoggingObservation `json:"logging,omitempty" tf:"logging,omitempty"`

	// Rule reference.
	Ref *string `json:"ref,omitempty" tf:"ref,omitempty"`

	// Version of the ruleset to deploy.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddos_dynamic`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `set_cache_settings`, `set_config`, `serve_error`, `skip`.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// List of parameters that configure the behavior of the ruleset rule action.
	// +kubebuilder:validation:Optional
	ActionParameters []ActionParametersParameters `json:"actionParameters,omitempty" tf:"action_parameters,omitempty"`

	// Brief summary of the ruleset rule and its intended use.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether the rule is active.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// List of parameters that configure exposed credential checks.
	// +kubebuilder:validation:Optional
	ExposedCredentialCheck []ExposedCredentialCheckParameters `json:"exposedCredentialCheck,omitempty" tf:"exposed_credential_check,omitempty"`

	// Criteria for an HTTP request to trigger the ruleset rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
	// +kubebuilder:validation:Required
	Expression *string `json:"expression" tf:"expression,omitempty"`

	// List parameters to configure how the rule generates logs.
	// +kubebuilder:validation:Optional
	Logging []LoggingParameters `json:"logging,omitempty" tf:"logging,omitempty"`

	// List of parameters that configure HTTP rate limiting behaviour.
	// +kubebuilder:validation:Optional
	Ratelimit []RatelimitParameters `json:"ratelimit,omitempty" tf:"ratelimit,omitempty"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type Ruleset

type Ruleset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RulesetSpec   `json:"spec"`
	Status            RulesetStatus `json:"status,omitempty"`
}

Ruleset is the Schema for the Rulesets API. <no value> +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}

func (*Ruleset) DeepCopy

func (in *Ruleset) DeepCopy() *Ruleset

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

func (*Ruleset) DeepCopyInto

func (in *Ruleset) DeepCopyInto(out *Ruleset)

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

func (*Ruleset) DeepCopyObject

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

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

func (*Ruleset) GetCondition

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

GetCondition of this Ruleset.

func (*Ruleset) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Ruleset

func (*Ruleset) GetDeletionPolicy

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

GetDeletionPolicy of this Ruleset.

func (*Ruleset) GetID

func (tr *Ruleset) GetID() string

GetID returns ID of underlying Terraform resource of this Ruleset

func (*Ruleset) GetObservation

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

GetObservation of this Ruleset

func (*Ruleset) GetParameters

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

GetParameters of this Ruleset

func (*Ruleset) GetProviderConfigReference

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

GetProviderConfigReference of this Ruleset.

func (*Ruleset) GetProviderReference

func (mg *Ruleset) GetProviderReference() *xpv1.Reference

GetProviderReference of this Ruleset. Deprecated: Use GetProviderConfigReference.

func (*Ruleset) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Ruleset.

func (*Ruleset) GetTerraformResourceType

func (mg *Ruleset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Ruleset

func (*Ruleset) GetTerraformSchemaVersion

func (tr *Ruleset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Ruleset) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Ruleset.

func (*Ruleset) LateInitialize

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

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

func (*Ruleset) ResolveReferences

func (mg *Ruleset) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Ruleset.

func (*Ruleset) SetConditions

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

SetConditions of this Ruleset.

func (*Ruleset) SetDeletionPolicy

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

SetDeletionPolicy of this Ruleset.

func (*Ruleset) SetObservation

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

SetObservation for this Ruleset

func (*Ruleset) SetParameters

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

SetParameters for this Ruleset

func (*Ruleset) SetProviderConfigReference

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

SetProviderConfigReference of this Ruleset.

func (*Ruleset) SetProviderReference

func (mg *Ruleset) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Ruleset. Deprecated: Use SetProviderConfigReference.

func (*Ruleset) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Ruleset.

func (*Ruleset) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Ruleset.

type RulesetList

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

RulesetList contains a list of Rulesets

func (*RulesetList) DeepCopy

func (in *RulesetList) DeepCopy() *RulesetList

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

func (*RulesetList) DeepCopyInto

func (in *RulesetList) DeepCopyInto(out *RulesetList)

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

func (*RulesetList) DeepCopyObject

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

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

func (*RulesetList) GetItems

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

GetItems of this RulesetList.

type RulesetObservation

type RulesetObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// List of rules to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`
}

func (*RulesetObservation) DeepCopy

func (in *RulesetObservation) DeepCopy() *RulesetObservation

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

func (*RulesetObservation) DeepCopyInto

func (in *RulesetObservation) DeepCopyInto(out *RulesetObservation)

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

type RulesetParameters

type RulesetParameters struct {

	// The account identifier to target for the resource. Conflicts with `zone_id`.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// Brief summary of the ruleset and its intended use.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `schema`, `zone`.
	// +kubebuilder:validation:Required
	Kind *string `json:"kind" tf:"kind,omitempty"`

	// Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_custom_errors`, `http_log_custom_fields`, `http_request_cache_settings`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_late_transform_managed`, `http_request_main`, `http_request_origin`, `http_request_dynamic_redirect`, `http_request_redirect`, `http_request_sanitize`, `http_request_transform`, `http_response_firewall_managed`, `http_response_headers_transform`, `http_response_headers_transform_managed`, `magic_transit`, `http_ratelimit`, `http_request_sbfm`, `http_config_settings`.
	// +kubebuilder:validation:Required
	Phase *string `json:"phase" tf:"phase,omitempty"`

	// List of rules to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Name of entitlement that is shareable between entities.
	// +kubebuilder:validation:Optional
	ShareableEntitlementName *string `json:"shareableEntitlementName,omitempty" tf:"shareable_entitlement_name,omitempty"`

	// The zone identifier to target for the resource. Conflicts with `account_id`.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*RulesetParameters) DeepCopy

func (in *RulesetParameters) DeepCopy() *RulesetParameters

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

func (*RulesetParameters) DeepCopyInto

func (in *RulesetParameters) DeepCopyInto(out *RulesetParameters)

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

type RulesetSpec

type RulesetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RulesetParameters `json:"forProvider"`
}

RulesetSpec defines the desired state of Ruleset

func (*RulesetSpec) DeepCopy

func (in *RulesetSpec) DeepCopy() *RulesetSpec

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

func (*RulesetSpec) DeepCopyInto

func (in *RulesetSpec) DeepCopyInto(out *RulesetSpec)

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

type RulesetStatus

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

RulesetStatus defines the observed state of Ruleset.

func (*RulesetStatus) DeepCopy

func (in *RulesetStatus) DeepCopy() *RulesetStatus

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

func (*RulesetStatus) DeepCopyInto

func (in *RulesetStatus) DeepCopyInto(out *RulesetStatus)

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

type ServeStaleObservation

type ServeStaleObservation struct {
}

func (*ServeStaleObservation) DeepCopy

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

func (*ServeStaleObservation) DeepCopyInto

func (in *ServeStaleObservation) DeepCopyInto(out *ServeStaleObservation)

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

type ServeStaleParameters

type ServeStaleParameters struct {

	// Disable stale while updating.
	// +kubebuilder:validation:Optional
	DisableStaleWhileUpdating *bool `json:"disableStaleWhileUpdating,omitempty" tf:"disable_stale_while_updating,omitempty"`
}

func (*ServeStaleParameters) DeepCopy

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

func (*ServeStaleParameters) DeepCopyInto

func (in *ServeStaleParameters) DeepCopyInto(out *ServeStaleParameters)

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

type SniObservation

type SniObservation struct {
}

func (*SniObservation) DeepCopy

func (in *SniObservation) DeepCopy() *SniObservation

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

func (*SniObservation) DeepCopyInto

func (in *SniObservation) DeepCopyInto(out *SniObservation)

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

type SniParameters

type SniParameters struct {

	// Value to define for SNI.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*SniParameters) DeepCopy

func (in *SniParameters) DeepCopy() *SniParameters

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

func (*SniParameters) DeepCopyInto

func (in *SniParameters) DeepCopyInto(out *SniParameters)

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

type StatusCodeRangeObservation

type StatusCodeRangeObservation struct {
}

func (*StatusCodeRangeObservation) DeepCopy

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

func (*StatusCodeRangeObservation) DeepCopyInto

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

type StatusCodeRangeParameters

type StatusCodeRangeParameters struct {

	// From status code.
	// +kubebuilder:validation:Optional
	From *float64 `json:"from,omitempty" tf:"from,omitempty"`

	// To status code.
	// +kubebuilder:validation:Optional
	To *float64 `json:"to,omitempty" tf:"to,omitempty"`
}

func (*StatusCodeRangeParameters) DeepCopy

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

func (*StatusCodeRangeParameters) DeepCopyInto

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

type StatusCodeTTLObservation

type StatusCodeTTLObservation struct {
}

func (*StatusCodeTTLObservation) DeepCopy

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

func (*StatusCodeTTLObservation) DeepCopyInto

func (in *StatusCodeTTLObservation) DeepCopyInto(out *StatusCodeTTLObservation)

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

type StatusCodeTTLParameters

type StatusCodeTTLParameters struct {

	// Status code for which the edge TTL is applied. Conflicts with "status_code_range".
	// +kubebuilder:validation:Optional
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`

	// Status code range for which the edge TTL is applied. Conflicts with "status_code".
	// +kubebuilder:validation:Optional
	StatusCodeRange []StatusCodeRangeParameters `json:"statusCodeRange,omitempty" tf:"status_code_range,omitempty"`

	// Status code edge TTL value.
	// +kubebuilder:validation:Required
	Value *float64 `json:"value" tf:"value,omitempty"`
}

func (*StatusCodeTTLParameters) DeepCopy

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

func (*StatusCodeTTLParameters) DeepCopyInto

func (in *StatusCodeTTLParameters) DeepCopyInto(out *StatusCodeTTLParameters)

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

type TargetURLObservation

type TargetURLObservation struct {
}

func (*TargetURLObservation) DeepCopy

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

func (*TargetURLObservation) DeepCopyInto

func (in *TargetURLObservation) DeepCopyInto(out *TargetURLObservation)

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

type TargetURLParameters

type TargetURLParameters struct {

	// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. Conflicts with `"value"`.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// Static value to provide as the HTTP request header value. Conflicts with `"expression"`.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TargetURLParameters) DeepCopy

func (in *TargetURLParameters) DeepCopy() *TargetURLParameters

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

func (*TargetURLParameters) DeepCopyInto

func (in *TargetURLParameters) DeepCopyInto(out *TargetURLParameters)

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

type URIObservation

type URIObservation struct {
}

func (*URIObservation) DeepCopy

func (in *URIObservation) DeepCopy() *URIObservation

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

func (*URIObservation) DeepCopyInto

func (in *URIObservation) DeepCopyInto(out *URIObservation)

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

type URIParameters

type URIParameters struct {

	// +kubebuilder:validation:Optional
	Origin *bool `json:"origin,omitempty" tf:"origin,omitempty"`

	// URI path configuration when performing a URL rewrite.
	// +kubebuilder:validation:Optional
	Path []PathParameters `json:"path,omitempty" tf:"path,omitempty"`

	// Query string configuration when performing a URL rewrite.
	// +kubebuilder:validation:Optional
	Query []QueryParameters `json:"query,omitempty" tf:"query,omitempty"`
}

func (*URIParameters) DeepCopy

func (in *URIParameters) DeepCopy() *URIParameters

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

func (*URIParameters) DeepCopyInto

func (in *URIParameters) DeepCopyInto(out *URIParameters)

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

type UserObservation

type UserObservation struct {
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// Add device type to the custom key. Conflicts with "cache_key.cache_by_device_type".
	// +kubebuilder:validation:Optional
	DeviceType *bool `json:"deviceType,omitempty" tf:"device_type,omitempty"`

	// Add geo data to the custom key.
	// +kubebuilder:validation:Optional
	Geo *bool `json:"geo,omitempty" tf:"geo,omitempty"`

	// Add language data to the custom key.
	// +kubebuilder:validation:Optional
	Lang *bool `json:"lang,omitempty" tf:"lang,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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