dataprivacy

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DoNotTrackBehaviours = struct {
	CaptureAnonymized DoNotTrackBehaviour
	NoNotCapture      DoNotTrackBehaviour
	IgnoreDoNotTrack  DoNotTrackBehaviour
}{
	"CAPTURE_ANONYMIZED",
	"DO_NOT_CAPTURE",
	"IGNORE_DO_NOT_TRACK",
}
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 ApplicationDataPrivacy

type ApplicationDataPrivacy struct {
	WebApplicationID                *string                           `json:"-"`                                  // Dynatrace entity ID of the web application
	DataCaptureOptInEnabled         bool                              `json:"dataCaptureOptInEnabled"`            // (Field has overlap with `dynatrace_data_privacy`) Set to `true` to disable data capture and cookies until JavaScriptAPI `dtrum.enable()` is called
	PersistentCookieForUserTracking bool                              `json:"persistentCookieForUserTracking"`    // (Field has overlap with `dynatrace_data_privacy`) Set to `true` to set persistent cookie in order to recognize returning devices
	DoNotTrackBehaviour             DoNotTrackBehaviour               `json:"doNotTrackBehaviour"`                // (Field has overlap with `dynatrace_data_privacy`) How to handle the \"Do Not Track\" header: \n\n* `IGNORE_DO_NOT_TRACK`: ignore the header and capture the data. \n* `CAPTURE_ANONYMIZED`: capture the data but do not tie it to the user. \n* `DO_NOT_CAPTURE`: respect the header and do not capture.
	SessionReplayDataPrivacy        *SessionReplayDataPrivacySettings `json:"sessionReplayDataPrivacy,omitempty"` // (Field has overlap with `dynatrace_session_replay_web_privacy`) Data privacy settings for Session Replay

	Name string `json:"-"`
}

ApplicationDataPrivacy represents data privacy settings of the application

func (*ApplicationDataPrivacy) Load added in v1.18.1

func (me *ApplicationDataPrivacy) Load(data []byte) error

func (*ApplicationDataPrivacy) MarshalHCL

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

func (*ApplicationDataPrivacy) Schema

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

func (*ApplicationDataPrivacy) Store added in v1.18.1

func (me *ApplicationDataPrivacy) Store() ([]byte, error)

func (*ApplicationDataPrivacy) UnmarshalHCL

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

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        *SessionReplayMaskingSetting `json:"recordingMaskingSettings"`        // (Field has overlap with `dynatrace_session_replay_web_privacy`) Configuration of the Session Replay masking during Recording
	PlaybackMaskingSettings         *SessionReplayMaskingSetting `json:"playbackMaskingSettings"`         // (Field has overlap with `dynatrace_session_replay_web_privacy`) 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 DoNotTrackBehaviour

type DoNotTrackBehaviour string

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 SessionReplayDataPrivacySettings

type SessionReplayDataPrivacySettings struct {
	OptIn                  bool                    `json:"optInModeEnabled,omitempty"`       // (Field has overlap with `dynatrace_session_replay_web_privacy`) If `true`, session recording is disabled until JavaScriptAPI `dtrum.enableSessionReplay()` is called
	URLExclusionRules      []string                `json:"urlExclusionRules,omitempty"`      // (Field has overlap with `dynatrace_session_replay_web_privacy`) A list of URLs to be excluded from recording
	ContentMaskingSettings *ContentMaskingSettings `json:"contentMaskingSettings,omitempty"` // (Field has overlap with `dynatrace_session_replay_web_privacy`) 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 SessionReplayMaskingSetting

type SessionReplayMaskingSetting 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
}

SessionReplayMaskingSetting represents configuration of the Session Replay masking

func (*SessionReplayMaskingSetting) MarshalHCL

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

func (*SessionReplayMaskingSetting) Schema

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

func (*SessionReplayMaskingSetting) UnmarshalHCL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL