Skip to content

scopeExpressionList being overwritten during create_dashboard_from_file #228

Open
@samiwelthomasHO

Description

@samiwelthomasHO

When we create a dashboard using the create_dashboard_from_file function, we pass in a scopeExpressionList in 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions