Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on May 7, 2026. It is now read-only.
This repository was archived by the owner on May 7, 2026. It is now read-only.
There was an error while loading. Please reload this page.
When we create a dashboard using the
create_dashboard_from_filefunction, we pass in ascopeExpressionListin the JSON file as per the V3 Dashboards API https://app.sysdigcloud.com/api/public/docs/index.html#tag/Dashboard-V3.We noticed that our scopes were being overwritten to an empty list here https://github.com/sysdiglabs/sysdig-sdk-python/blob/master/sdcclient/monitor/_dashboards_v3.py#L287
Not sure if this is a bug, but we skipped this line of code and the Dashboard was created successfully and our dashboard scopes were created as expected.