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) 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) 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) 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 (me *SessionReplayDataPrivacySettings) Schema() map[string]*schema.Schema
func (*SessionReplayDataPrivacySettings) UnmarshalHCL ¶
func (me *SessionReplayDataPrivacySettings) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // SessionReplay Enabled CostControlPercentage int32 `json:"costControlPercentage"` // Session replay sampling rating in percentage EnableCSSResourceCapturing bool `json:"enableCssResourceCapturing"` // Capture (`true`) or don't capture (`false`) CSS resources from the session CSSResourceCapturingExclusionRules []string `json:"cssResourceCapturingExclusionRules"` // 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
Click to show internal directories.
Click to hide internal directories.