Uh oh!
There was an error while loading. Please reload this page.
Fix dashboard list logging and restricted monitor filtering - #688
Merged
Conversation
Signed-off-by: riyaz.shiraguppi <riyaz.shiraguppi@datadoghq.com>
riyazshforce-pushed
the
riyazsh/dashboard-list-logger-fix
branch
from
September 1, 2026 22:12
efffba8 to
bc10ef1Compareriyazshforce-pushed
the
riyazsh/dashboard-list-logger-fix
branch
from
September 1, 2026 23:27
bc10ef1 to
f4a36ceCompareriyazshforce-pushed
the
riyazsh/dashboard-list-logger-fix
branch
from
September 1, 2026 23:33
f4a36ce to
e8ba835Comparenathantournant
approved these changes
Sep 2, 2026
riyazshforce-pushed
the
riyazsh/dashboard-list-logger-fix
branch
from
September 2, 2026 13:20
e8ba835 to
b53ee4cCompareUh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Context
PR #683 added the correct behavior for dashboard lists: integration dashboards are not portable across orgs, so list membership should drop integration_* entries before create/update. The code path logged dropped_dashboard_ids as an extra keyword argument, but the sync-cli Log.info wrapper only accepts _id and resource_type. That caused Log.info() got an unexpected keyword argument 'dropped_dashboard_ids' before the drop could complete.
For restricted monitors, the existing skip flag only filtered the legacy flat restricted_roles field. Some monitors express access control through restriction_policy.bindings[].principals instead. With this change, the same explicit skip flag also filters those monitors so DDR runs emit an intentional filtered outcome instead of trying to create/update a monitor whose access-control principals are not ready in the destination org.
Testing