appdetection

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Matchers = struct {
	DomainContains   Matcher
	DomainEndsWith   Matcher
	DomainEquals     Matcher
	DomainMatches    Matcher
	DomainStartsWith Matcher
	UrlContains      Matcher
	UrlEndsWith      Matcher
	UrlEquals        Matcher
	UrlStartsWith    Matcher
}{
	"DOMAIN_CONTAINS",
	"DOMAIN_ENDS_WITH",
	"DOMAIN_EQUALS",
	"DOMAIN_MATCHES",
	"DOMAIN_STARTS_WITH",
	"URL_CONTAINS",
	"URL_ENDS_WITH",
	"URL_EQUALS",
	"URL_STARTS_WITH",
}

Functions

This section is empty.

Types

type Matcher

type Matcher string

type Settings

type Settings struct {
	ApplicationID string  `json:"applicationId"`         // Select an existing application or create a new one.
	Description   *string `json:"description,omitempty"` // (v1.274) Add a description for your rule
	Matcher       Matcher `json:"matcher"`               // Possible Values: `DOMAIN_CONTAINS`, `DOMAIN_ENDS_WITH`, `DOMAIN_EQUALS`, `DOMAIN_MATCHES`, `DOMAIN_STARTS_WITH`, `URL_CONTAINS`, `URL_ENDS_WITH`, `URL_EQUALS`, `URL_STARTS_WITH`
	Pattern       string  `json:"pattern"`               // Pattern
}

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