sensitivedatamasking

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReplacementTypes = struct {
	Sha256 ReplacementType
	String ReplacementType
}{
	"SHA256",
	"STRING",
}
View Source
var RuleTypes = struct {
	Regex   RuleType
	VarName RuleType
}{
	"REGEX",
	"VAR_NAME",
}

Functions

This section is empty.

Types

type ReplacementType

type ReplacementType string

type RuleType

type RuleType string

type Settings

type Settings struct {
	Enabled            bool            `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
	ReplacementPattern *string         `json:"replacementPattern,omitempty"`
	ReplacementType    ReplacementType `json:"replacementType"` // Possible Values: `SHA256`, `STRING`
	RuleName           string          `json:"ruleName"`        // Rule Name
	RuleRegex          *string         `json:"ruleRegex,omitempty"`
	RuleType           RuleType        `json:"ruleType"` // Possible Values: `REGEX`, `VAR_NAME`
	RuleVarName        *string         `json:"ruleVarName,omitempty"`
	InsertAfter        string          `json:"-"`
}

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

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