Dynatrace/dynatrace-configuration-as-code

Preset dashboards are not downloaded

Closed this issue · 1 comments

Describe the bug
Those dashboards, that are set to "preset" are skipped when downloading.

This behavior might be fine for "default" Dynatrace entities. However, in this case, any dashboard can be set to "preset". When marked as such, the dashboard is simply shown to all users in the environment (opposed to "private" dashboards, as per DT docs: "... Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups. ...").

A potential option would be to test whether owner equals "Dynatrace" in addition to the preset flag. This would skip only preset dashboards, that are actually default Dynatrace entities.