wafwebacl

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ActionAttributes

type ActionAttributes struct {
	// contains filtered or unexported fields
}

func (ActionAttributes) InternalRef

func (a ActionAttributes) InternalRef() (terra.Reference, error)

func (ActionAttributes) InternalTokens

func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionAttributes) InternalWithRef

func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes

func (ActionAttributes) Type

type ActionState

type ActionState struct {
	Type string `json:"type"`
}

type DefaultAction

type DefaultAction struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type DefaultActionAttributes

type DefaultActionAttributes struct {
	// contains filtered or unexported fields
}

func (DefaultActionAttributes) InternalRef

func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)

func (DefaultActionAttributes) InternalTokens

func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultActionAttributes) InternalWithRef

func (DefaultActionAttributes) Type

type DefaultActionState

type DefaultActionState struct {
	Type string `json:"type"`
}

type FieldToMatch

type FieldToMatch struct {
	// Data: string, optional
	Data terra.StringValue `hcl:"data,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type FieldToMatchAttributes

type FieldToMatchAttributes struct {
	// contains filtered or unexported fields
}

func (FieldToMatchAttributes) Data

func (FieldToMatchAttributes) InternalRef

func (ftm FieldToMatchAttributes) InternalRef() (terra.Reference, error)

func (FieldToMatchAttributes) InternalTokens

func (ftm FieldToMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldToMatchAttributes) InternalWithRef

func (FieldToMatchAttributes) Type

type FieldToMatchState

type FieldToMatchState struct {
	Data string `json:"data"`
	Type string `json:"type"`
}

type LoggingConfiguration

type LoggingConfiguration struct {
	// LogDestination: string, required
	LogDestination terra.StringValue `hcl:"log_destination,attr" validate:"required"`
	// RedactedFields: optional
	RedactedFields *RedactedFields `hcl:"redacted_fields,block"`
}

type LoggingConfigurationAttributes

type LoggingConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (LoggingConfigurationAttributes) InternalRef

func (LoggingConfigurationAttributes) InternalTokens

func (lc LoggingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingConfigurationAttributes) InternalWithRef

func (LoggingConfigurationAttributes) LogDestination

func (lc LoggingConfigurationAttributes) LogDestination() terra.StringValue

func (LoggingConfigurationAttributes) RedactedFields

type LoggingConfigurationState

type LoggingConfigurationState struct {
	LogDestination string                `json:"log_destination"`
	RedactedFields []RedactedFieldsState `json:"redacted_fields"`
}

type OverrideAction

type OverrideAction struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type OverrideActionAttributes

type OverrideActionAttributes struct {
	// contains filtered or unexported fields
}

func (OverrideActionAttributes) InternalRef

func (oa OverrideActionAttributes) InternalRef() (terra.Reference, error)

func (OverrideActionAttributes) InternalTokens

func (oa OverrideActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OverrideActionAttributes) InternalWithRef

func (OverrideActionAttributes) Type

type OverrideActionState

type OverrideActionState struct {
	Type string `json:"type"`
}

type RedactedFields

type RedactedFields struct {
	// FieldToMatch: min=1
	FieldToMatch []FieldToMatch `hcl:"field_to_match,block" validate:"min=1"`
}

type RedactedFieldsAttributes

type RedactedFieldsAttributes struct {
	// contains filtered or unexported fields
}

func (RedactedFieldsAttributes) FieldToMatch

func (RedactedFieldsAttributes) InternalRef

func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)

func (RedactedFieldsAttributes) InternalTokens

func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedactedFieldsAttributes) InternalWithRef

type RedactedFieldsState

type RedactedFieldsState struct {
	FieldToMatch []FieldToMatchState `json:"field_to_match"`
}

type Rules

type Rules struct {
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// RuleId: string, required
	RuleId terra.StringValue `hcl:"rule_id,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Action: optional
	Action *Action `hcl:"action,block"`
	// OverrideAction: optional
	OverrideAction *OverrideAction `hcl:"override_action,block"`
}

type RulesAttributes

type RulesAttributes struct {
	// contains filtered or unexported fields
}

func (RulesAttributes) Action

func (RulesAttributes) InternalRef

func (r RulesAttributes) InternalRef() (terra.Reference, error)

func (RulesAttributes) InternalTokens

func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RulesAttributes) InternalWithRef

func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes

func (RulesAttributes) OverrideAction

func (RulesAttributes) Priority

func (r RulesAttributes) Priority() terra.NumberValue

func (RulesAttributes) RuleId

func (r RulesAttributes) RuleId() terra.StringValue

func (RulesAttributes) Type

type RulesState

type RulesState struct {
	Priority       float64               `json:"priority"`
	RuleId         string                `json:"rule_id"`
	Type           string                `json:"type"`
	Action         []ActionState         `json:"action"`
	OverrideAction []OverrideActionState `json:"override_action"`
}

Jump to

Keyboard shortcuts

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