lacework

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GarDomainRegistries = []string{
	"northamerica-northeast1-docker.pkg.dev",
	"us-central1-docker.pkg.dev",
	"us-east1-docker.pkg.dev",
	"us-east4-docker.pkg.dev",
	"us-west1-docker.pkg.dev",
	"us-west2-docker.pkg.dev",
	"us-west3-docker.pkg.dev",
	"us-west4-docker.pkg.dev",
	"southamerica-east1-docker.pkg.dev",
	"europe-north1-docker.pkg.dev",
	"europe-west1-docker.pkg.dev",
	"europe-west2-docker.pkg.dev",
	"europe-west3-docker.pkg.dev",
	"europe-west4-docker.pkg.dev",
	"europe-west6-docker.pkg.dev",
	"asia-east1-docker.pkg.dev",
	"asia-east2-docker.pkg.dev",
	"asia-northeast1-docker.pkg.dev",
	"asia-northeast2-docker.pkg.dev",
	"asia-northeast3-docker.pkg.dev",
	"asia-south1-docker.pkg.dev",
	"asia-southeast1-docker.pkg.dev",
	"asia-southeast2-docker.pkg.dev",
	"australia-southeast1-docker.pkg.dev",
	"asia-docker.pkg.dev",
	"europe-docker.pkg.dev",
	"us-docker.pkg.dev",
}

Functions

func ContainsStr added in v0.8.0

func ContainsStr(array []string, expected string) bool

func Provider

func Provider() *schema.Provider

Provider returns a Lacework schema.Provider

func SearchAccountByGUID added in v0.14.0

func SearchAccountByGUID(p *api.UserProfile, guid string) (*api.Account, bool)

TODO(afiune): move to the go-sdk/api client => https://lacework.atlassian.net/browse/ALLY-798

func StringDoesNotHavePrefix added in v0.18.0

func StringDoesNotHavePrefix(chars string) schema.SchemaValidateDiagFunc

StringDoesNotHavePrefix returns a SchemaValidateFunc which validates that the provided value does not start with any of the chars.

func ValidSeverity added in v0.16.0

func ValidSeverity() schema.SchemaValidateDiagFunc

func ValidateTimeFormat added in v0.20.0

func ValidateTimeFormat(timeFormat string) schema.SchemaValidateDiagFunc

ValidateTimeFormat returns a SchemaValidateFunc which validates that the value is in the timeformat supplied.

func VerifyAlertChannelAndRollback added in v0.8.0

func VerifyAlertChannelAndRollback(d *schema.ResourceData, lacework *api.Client) error

VerifyAlertChannelAndRollback will test the integration of an alert channel, if the test is not successful, it will remove the alert channel (rollback)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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