sessionreplay

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 MaskingPresets = struct {
	AllowList     MaskingPreset
	BlockList     MaskingPreset
	MaskAll       MaskingPreset
	MaskUserInput MaskingPreset
}{
	"ALLOW_LIST",
	"BLOCK_LIST",
	"MASK_ALL",
	"MASK_USER_INPUT",
}
View Source
var MaskingRuleTypes = struct {
	Attribute MaskingRuleType
	Element   MaskingRuleType
}{
	"ATTRIBUTE",
	"ELEMENT",
}

Functions

This section is empty.

Types

type ContentMaskingSettings

type ContentMaskingSettings struct {
	RecordingMaskingSettingsVersion int32           `json:"recordingMaskingSettingsVersion"` // The version of the content masking. \n\nYou can use this API only with the version 2. \n\nIf you're using version 1, set this field to `2` in the PUT request to switch to version 2
	RecordingMaskingSettings        *MaskingSetting `json:"recordingMaskingSettings"`        // Configuration of the Session Replay masking during Recording
	PlaybackMaskingSettings         *MaskingSetting `json:"playbackMaskingSettings"`         // Configuration of the Session Replay masking during Playback
}

ContentMaskingSettings represents content masking settings for Session Replay. \n\nFor more details, see [Configure Session Replay](https://dt-url.net/0m03slq) in Dynatrace Documentation

func (*ContentMaskingSettings) MarshalHCL

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

func (*ContentMaskingSettings) Schema

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

func (*ContentMaskingSettings) UnmarshalHCL

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

type MaskingPreset

type MaskingPreset string

type MaskingRule

type MaskingRule struct {
	Type                  MaskingRuleType `json:"maskingRuleType"`       // The type of the masking rule
	Selector              string          `json:"selector"`              // The selector for the element or the attribute to be masked. \n\nSpecify a CSS expression for an element or a [regular expression](https://dt-url.net/k9e0iaq) for an attribute
	UserInteractionHidden bool            `json:"userInteractionHidden"` // Interactions with the element are (`true`) or are not (`false) masked
}

MaskingRule The masking rule defining how data is hidden

func (*MaskingRule) MarshalHCL

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

func (*MaskingRule) Schema

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

func (*MaskingRule) UnmarshalHCL

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

type MaskingRuleType

type MaskingRuleType string

type MaskingRules

type MaskingRules []*MaskingRule

MaskingRules The masking rules defining how data is hidden

func (MaskingRules) MarshalHCL

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

func (*MaskingRules) Schema

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

func (*MaskingRules) UnmarshalHCL

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

type MaskingSetting

type MaskingSetting struct {
	Preset MaskingPreset `json:"maskingPreset"`          // The type of the masking: \n\n* `MASK_ALL`: Mask all texts, user input, and images. \n* `MASK_USER_INPUT`: Mask all data that is provided through user input \n* `ALLOW_LIST`: Only elements, specified in **maskingRules** are shown, everything else is masked. \n* `BLOCK_LIST`: Elements, specified in **maskingRules** are masked, everything else is shown.
	Rules  MaskingRules  `json:"maskingRules,omitempty"` // A list of masking rules
}

MaskingSetting represents configuration of the Session Replay masking

func (*MaskingSetting) MarshalHCL

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

func (*MaskingSetting) Schema

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

func (*MaskingSetting) UnmarshalHCL

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

type SessionReplayDataPrivacySettings

type SessionReplayDataPrivacySettings struct {
	OptIn                  bool                    `json:"optInModeEnabled,omitempty"`       // If `true`, session recording is disabled until JavaScriptAPI `dtrum.enableSessionReplay()` is called
	URLExclusionRules      []string                `json:"urlExclusionRules,omitempty"`      // A list of URLs to be excluded from recording
	ContentMaskingSettings *ContentMaskingSettings `json:"contentMaskingSettings,omitempty"` // Content masking settings for Session Replay. \n\nFor more details, see [Configure Session Replay](https://dt-url.net/0m03slq) in Dynatrace Documentation
}

SessionReplayDataPrivacySettings Data privacy settings for Session Replay

func (*SessionReplayDataPrivacySettings) MarshalHCL

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

func (*SessionReplayDataPrivacySettings) Schema

func (*SessionReplayDataPrivacySettings) UnmarshalHCL

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

type Settings

type Settings struct {
	Enabled                            bool     `json:"enabled"`                            // (Field has overlap with `dynatrace_web_app_enablement`) SessionReplay Enabled
	CostControlPercentage              int32    `json:"costControlPercentage"`              // (Field has overlap with `dynatrace_web_app_enablement`) Session replay sampling rating in percentage
	EnableCSSResourceCapturing         bool     `json:"enableCssResourceCapturing"`         // (Field has overlap with `dynatrace_session_replay_resource_capture`) Capture (`true`) or don't capture (`false`) CSS resources from the session
	CSSResourceCapturingExclusionRules []string `json:"cssResourceCapturingExclusionRules"` // (Field has overlap with `dynatrace_session_replay_resource_capture`) A list of URLs to be excluded from CSS resource capturing
}

Settings Session replay settings

func (*Settings) MarshalHCL

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

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