logsecuritycontextrules

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValueSourceEnums = struct {
	Field   ValueSourceEnum
	Literal ValueSourceEnum
}{
	"FIELD",
	"LITERAL",
}

Functions

This section is empty.

Types

type SecurityContextRule

type SecurityContextRule struct {
	Query            string          `json:"query"`                      // Matcher
	RuleName         string          `json:"ruleName"`                   // Rule name
	Value            *string         `json:"value,omitempty"`            // Literal value to be set
	ValueSource      ValueSourceEnum `json:"valueSource"`                // Possible Values: `FIELD`, `LITERAL`
	ValueSourceField *string         `json:"valueSourceField,omitempty"` // Name of field used to copy value
}

func (*SecurityContextRule) HandlePreconditions

func (me *SecurityContextRule) HandlePreconditions() error

func (*SecurityContextRule) MarshalHCL

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

func (*SecurityContextRule) Schema

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

func (*SecurityContextRule) UnmarshalHCL

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

type Settings

type Settings struct {
	SecurityContextRule *SecurityContextRule `json:"securityContextRule"`
}

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

type ValueSourceEnum

type ValueSourceEnum string

Jump to

Keyboard shortcuts

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