privacypreferences

package
v1.59.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaskingPresets = struct {
	AllowList     MaskingPreset
	BlockList     MaskingPreset
	MaskAll       MaskingPreset
	MaskUserInput MaskingPreset
}{
	"ALLOW_LIST",
	"BLOCK_LIST",
	"MASK_ALL",
	"MASK_USER_INPUT",
}
View Source
var MaskingTargetTypes = struct {
	Attribute MaskingTargetType
	Element   MaskingTargetType
}{
	"ATTRIBUTE",
	"ELEMENT",
}

Functions

This section is empty.

Types

type AllowListRule

type AllowListRule struct {
	AttributeExpression *string           `json:"attributeExpression,omitempty"` // Attribute masking can be applied to web applications that store data within attributes, typically data-NAME attributes in HTML5. When you define attributes, their values are masked while recording but not removed.
	CssExpression       *string           `json:"cssExpression,omitempty"`       // Content masking can be applied to webpages where personal data is displayed. When content masking is applied to parent elements, all child elements are masked by default.
	Target              MaskingTargetType `json:"target"`                        // Possible Values: `ATTRIBUTE`, `ELEMENT`
}

func (*AllowListRule) MarshalHCL

func (me *AllowListRule) MarshalHCL(properties hcl.Properties) error

func (*AllowListRule) Schema

func (me *AllowListRule) Schema() map[string]*schema.Schema

func (*AllowListRule) UnmarshalHCL

func (me *AllowListRule) UnmarshalHCL(decoder hcl.Decoder) error

type AllowListRules

type AllowListRules []*AllowListRule

func (AllowListRules) MarshalHCL

func (me AllowListRules) MarshalHCL(properties hcl.Properties) error

func (*AllowListRules) Schema

func (me *AllowListRules) Schema() map[string]*schema.Schema

func (*AllowListRules) UnmarshalHCL

func (me *AllowListRules) UnmarshalHCL(decoder hcl.Decoder) error

type BlockListRule

type BlockListRule struct {
	AttributeExpression *string           `json:"attributeExpression,omitempty"` // Attribute masking can be applied to web applications that store data within attributes, typically data-NAME attributes in HTML5. When you define attributes, their values are masked while recording but not removed.
	CssExpression       *string           `json:"cssExpression,omitempty"`       // Content masking can be applied to webpages where personal data is displayed. When content masking is applied to parent elements, all child elements are masked by default.
	HideUserInteraction *bool             `json:"hideUserInteraction,omitempty"` // Hide user interactions with these elements, including clicks that expand elements, highlighting that results from hovering a cursor over an option, and selection of specific form options.
	Target              MaskingTargetType `json:"target"`                        // Possible Values: `ELEMENT`, `ATTRIBUTE`
}

func (*BlockListRule) MarshalHCL

func (me *BlockListRule) MarshalHCL(properties hcl.Properties) error

func (*BlockListRule) Schema

func (me *BlockListRule) Schema() map[string]*schema.Schema

func (*BlockListRule) UnmarshalHCL

func (me *BlockListRule) UnmarshalHCL(decoder hcl.Decoder) error

type BlockListRules

type BlockListRules []*BlockListRule

func (BlockListRules) MarshalHCL

func (me BlockListRules) MarshalHCL(properties hcl.Properties) error

func (*BlockListRules) Schema

func (me *BlockListRules) Schema() map[string]*schema.Schema

func (*BlockListRules) UnmarshalHCL

func (me *BlockListRules) UnmarshalHCL(decoder hcl.Decoder) error

type MaskingPreset

type MaskingPreset string

type MaskingPresetConfig

type MaskingPresetConfig struct {
	PlaybackMaskingAllowListRules  AllowListRules `json:"playbackMaskingAllowListRules,omitempty"`  // (Field has overlap with `dynatrace_application_data_privacy`) The elements are defined by the CSS selector or attribute name.
	PlaybackMaskingBlockListRules  BlockListRules `json:"playbackMaskingBlockListRules,omitempty"`  // (Field has overlap with `dynatrace_application_data_privacy`) The elements are defined by the CSS selector or attribute name.
	PlaybackMaskingPreset          MaskingPreset  `json:"playbackMaskingPreset"`                    // (Field has overlap with `dynatrace_application_data_privacy`) Possible Values: `MASK_ALL`, `MASK_USER_INPUT`, `ALLOW_LIST`, `BLOCK_LIST`
	RecordingMaskingAllowListRules AllowListRules `json:"recordingMaskingAllowListRules,omitempty"` // (Field has overlap with `dynatrace_application_data_privacy`) The elements are defined by the CSS selector or attribute name.
	RecordingMaskingBlockListRules BlockListRules `json:"recordingMaskingBlockListRules,omitempty"` // (Field has overlap with `dynatrace_application_data_privacy`) The elements are defined by the CSS selector or attribute name.
	RecordingMaskingPreset         MaskingPreset  `json:"recordingMaskingPreset"`                   // (Field has overlap with `dynatrace_application_data_privacy`) Possible Values: `MASK_USER_INPUT`, `ALLOW_LIST`, `BLOCK_LIST`, `MASK_ALL`
}

Content masking preferences. To protect your end users' privacy, select or customize [predefined masking options](https://dt-url.net/sr-masking-preset-options) that suit your content recording and playback requirements.// The recording masking settings are applied at record time to all webpages that your users navigate to. The playback masking settings are applied when replaying recorded sessions, including those that were recorded before your masking settings were applied.// Note: When you set the recording masking settings to a more restrictive option, the same option is also enabled for playback masking settings, which affects all past recorded sessions as well.

func (*MaskingPresetConfig) MarshalHCL

func (me *MaskingPresetConfig) MarshalHCL(properties hcl.Properties) error

func (*MaskingPresetConfig) Schema

func (me *MaskingPresetConfig) Schema() map[string]*schema.Schema

func (*MaskingPresetConfig) UnmarshalHCL

func (me *MaskingPresetConfig) UnmarshalHCL(decoder hcl.Decoder) error

type MaskingTargetType

type MaskingTargetType 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.
	EnableOptInMode         bool                 `json:"enableOptInMode"`                   // (Field has overlap with `dynatrace_application_data_privacy`) When [Session Replay opt-in mode](https://dt-url.net/sr-opt-in-mode) is turned on, Session Replay is deactivated until explicitly activated via an API call.
	MaskingPresets          *MaskingPresetConfig `json:"maskingPresets"`                    // (Field has overlap with `dynatrace_application_data_privacy`) To protect your end users' privacy, select or customize [predefined masking options](https://dt-url.net/sr-masking-preset-options) that suit your content recording and playback requirements.
	UrlExclusionPatternList []string             `json:"urlExclusionPatternList,omitempty"` // (Field has overlap with `dynatrace_application_data_privacy`) Exclude webpages or views from Session Replay recording by adding [URL exclusion rules](https://dt-url.net/sr-url-exclusion)
}

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