cookie

package
v1.58.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SameSiteCookieAttributes = struct {
	Lax    SameSiteCookieAttribute
	None   SameSiteCookieAttribute
	Notset SameSiteCookieAttribute
	Strict SameSiteCookieAttribute
}{
	"LAX",
	"NONE",
	"NOTSET",
	"STRICT",
}

Functions

This section is empty.

Types

type SameSiteCookieAttribute

type SameSiteCookieAttribute string

type Settings

type Settings struct {
	ApplicationID            string                  `json:"-" scope:"applicationId"`         // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
	CookiePlacementDomain    *string                 `json:"cookiePlacementDomain,omitempty"` // Specify an alternative domain for cookies set by Dynatrace. Keep in mind that your browser may not allow placement of cookies on certain domains (for example, top-level domains). Before typing a domain name here, confirm that the domain will accept cookies from your browser. For details, see the list of [forbidden top-level domains](https://dt-url.net/9n6b0pfz).
	SameSiteCookieAttribute  SameSiteCookieAttribute `json:"sameSiteCookieAttribute"`         // Possible Values: `LAX`, `NONE`, `NOTSET`, `STRICT`
	UseSecureCookieAttribute bool                    `json:"useSecureCookieAttribute"`        // If your application is only accessible via SSL, you can add the Secure attribute to all cookies set by Dynatrace. This setting prevents the display of warnings from PCI-compliance security scanners. Be aware that with this setting enabled Dynatrace correlation of user actions with server-side web requests is only possible over SSL connections.
}

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