macie2findingsfilter

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 {
	// Eq: set of string, optional
	Eq terra.SetValue[terra.StringValue] `hcl:"eq,attr"`
	// EqExactMatch: set of string, optional
	EqExactMatch terra.SetValue[terra.StringValue] `hcl:"eq_exact_match,attr"`
	// Field: string, required
	Field terra.StringValue `hcl:"field,attr" validate:"required"`
	// Gt: string, optional
	Gt terra.StringValue `hcl:"gt,attr"`
	// Gte: string, optional
	Gte terra.StringValue `hcl:"gte,attr"`
	// Lt: string, optional
	Lt terra.StringValue `hcl:"lt,attr"`
	// Lte: string, optional
	Lte terra.StringValue `hcl:"lte,attr"`
	// Neq: set of string, optional
	Neq terra.SetValue[terra.StringValue] `hcl:"neq,attr"`
}

type CriterionAttributes

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

func (CriterionAttributes) Eq

func (CriterionAttributes) EqExactMatch

func (CriterionAttributes) Field

func (CriterionAttributes) Gt

func (CriterionAttributes) Gte

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) Lt

func (CriterionAttributes) Lte

func (CriterionAttributes) Neq

type CriterionState

type CriterionState struct {
	Eq           []string `json:"eq"`
	EqExactMatch []string `json:"eq_exact_match"`
	Field        string   `json:"field"`
	Gt           string   `json:"gt"`
	Gte          string   `json:"gte"`
	Lt           string   `json:"lt"`
	Lte          string   `json:"lte"`
	Neq          []string `json:"neq"`
}

type FindingCriteria

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

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