guarddutyfilter

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 Criterion

type Criterion struct {
	// Equals: list of string, optional
	Equals terra.ListValue[terra.StringValue] `hcl:"equals,attr"`
	// Field: string, required
	Field terra.StringValue `hcl:"field,attr" validate:"required"`
	// GreaterThan: string, optional
	GreaterThan terra.StringValue `hcl:"greater_than,attr"`
	// GreaterThanOrEqual: string, optional
	GreaterThanOrEqual terra.StringValue `hcl:"greater_than_or_equal,attr"`
	// LessThan: string, optional
	LessThan terra.StringValue `hcl:"less_than,attr"`
	// LessThanOrEqual: string, optional
	LessThanOrEqual terra.StringValue `hcl:"less_than_or_equal,attr"`
	// NotEquals: list of string, optional
	NotEquals terra.ListValue[terra.StringValue] `hcl:"not_equals,attr"`
}

type CriterionAttributes

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

func (CriterionAttributes) Equals

func (CriterionAttributes) Field

func (CriterionAttributes) GreaterThan

func (c CriterionAttributes) GreaterThan() terra.StringValue

func (CriterionAttributes) GreaterThanOrEqual

func (c CriterionAttributes) GreaterThanOrEqual() terra.StringValue

func (CriterionAttributes) InternalRef

func (c CriterionAttributes) InternalRef() (terra.Reference, error)

func (CriterionAttributes) InternalTokens

func (c CriterionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CriterionAttributes) InternalWithRef

func (c CriterionAttributes) InternalWithRef(ref terra.Reference) CriterionAttributes

func (CriterionAttributes) LessThan

func (c CriterionAttributes) LessThan() terra.StringValue

func (CriterionAttributes) LessThanOrEqual

func (c CriterionAttributes) LessThanOrEqual() terra.StringValue

func (CriterionAttributes) NotEquals

type CriterionState

type CriterionState struct {
	Equals             []string `json:"equals"`
	Field              string   `json:"field"`
	GreaterThan        string   `json:"greater_than"`
	GreaterThanOrEqual string   `json:"greater_than_or_equal"`
	LessThan           string   `json:"less_than"`
	LessThanOrEqual    string   `json:"less_than_or_equal"`
	NotEquals          []string `json:"not_equals"`
}

type FindingCriteria

type FindingCriteria struct {
	// Criterion: min=1
	Criterion []Criterion `hcl:"criterion,block" validate:"min=1"`
}

type FindingCriteriaAttributes

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

func (FindingCriteriaAttributes) Criterion

func (FindingCriteriaAttributes) InternalRef

func (fc FindingCriteriaAttributes) InternalRef() (terra.Reference, error)

func (FindingCriteriaAttributes) InternalTokens

func (fc FindingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FindingCriteriaAttributes) InternalWithRef

type FindingCriteriaState

type FindingCriteriaState struct {
	Criterion []CriterionState `json:"criterion"`
}

Jump to

Keyboard shortcuts

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