attackprotectionsettings

package
v1.72.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockingStrategies = struct {
	Block   BlockingStrategy
	Monitor BlockingStrategy
	Off     BlockingStrategy
}{
	"BLOCK",
	"MONITOR",
	"OFF",
}

Functions

This section is empty.

Types

type AttackHandling

type AttackHandling struct {
	BlockingStrategyDotNet BlockingStrategy `json:"blockingStrategyDotNet"` // (v1.290) Possible Values: `BLOCK`, `MONITOR`, `OFF`
	BlockingStrategyJava   BlockingStrategy `json:"blockingStrategyJava"`   // Possible Values: `BLOCK`, `MONITOR`, `OFF`
}

Default attack handling. Default settings for handling attacks.

func (*AttackHandling) MarshalHCL

func (me *AttackHandling) MarshalHCL(properties hcl.Properties) error

func (*AttackHandling) Schema

func (me *AttackHandling) Schema() map[string]*schema.Schema

func (*AttackHandling) UnmarshalHCL

func (me *AttackHandling) UnmarshalHCL(decoder hcl.Decoder) error

type BlockingStrategy

type BlockingStrategy string

type Settings

type Settings struct {
	DefaultAttackHandling *AttackHandling `json:"defaultAttackHandling"` // Define global incoming attack control
	Enabled               bool            `json:"enabled"`               // This setting is enabled (`true`) or disabled (`false`)
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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