{"id":21392203,"url":"https://github.com/sysdiglabs/sdc-db-unshare","last_synced_at":"2025-03-16T13:41:49.306Z","repository":{"id":98014560,"uuid":"225369319","full_name":"sysdiglabs/sdc-db-unshare","owner":"sysdiglabs","description":"Unshare dashboards from Sysdig Monitor","archived":false,"fork":false,"pushed_at":"2019-12-02T15:09:45.000Z","size":5106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T13:18:26.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sysdiglabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-02T12:24:41.000Z","updated_at":"2024-06-19T09:01:40.888Z","dependencies_parsed_at":null,"dependency_job_id":"55997f84-7d44-4165-a76b-b0f3bac63ad7","html_url":"https://github.com/sysdiglabs/sdc-db-unshare","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fsdc-db-unshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fsdc-db-unshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fsdc-db-unshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fsdc-db-unshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysdiglabs","download_url":"https://codeload.github.com/sysdiglabs/sdc-db-unshare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878411,"owners_count":20362432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T13:39:35.485Z","updated_at":"2025-03-16T13:41:49.286Z","avatar_url":"https://github.com/sysdiglabs.png","language":"Go","readme":"# DB Unshare\n\nDB Unshare is a project created to unshare dashboards in the Sysdig Monitor front-end. \nYou must be and administrator to modify other people's dashboards.\n\n⚠️ Warning! This tool will become deprecated and this repository removed once the official [CLI](https://github.com/draios/sysdig-platform-cli) is able to unshare dashboards.\n\n## Installation\n\nUse Go to install it with: \n\n```\ngo get -v -u github.com/sysdiglabs/sdc-db-unshare\n```\n\n## Usage\n\nFor every request you need to provide your Sysdig API Token using the `-t` or `--token` option.\nFor the following examples, we will use the fictional token `ZZZZZZZZ-XXXX-YYYY-XXXX-AAAABBBBCCCC`.\n\nIf you need more help, check the help menu:\n\n```\n$ sdc-db-unshare -h                                                          \nList and unshare dashboards from Sysdig Monitor\n\nUsage:\n  sdc-db-unshare [command]\n\nAvailable Commands:\n  dashboard   Manage dashboards\n  help        Help about any command\n\nFlags:\n  -h, --help           help for sdc-db-unshare\n  -t, --token string   API Token for Sysdig Platform communication\n\nUse \"sdc-db-unshare [command] --help\" for more information about a command.\n```\n\n### List all dashboards\n\n```\n$ sdc-db-unshare -t ZZZZZZZZ-XXXX-YYYY-XXXX-AAAABBBBCCCC dashboard list\nID    DASHBOARD                                      USER                              \n43256 Cisco examples                                 user1@mail.com    \n43697 Kubernetes Namespace State 2                   user2@mail.com    \n55355 Kubernetes Namespace Health                    user2@mail.com    \n56714 Executive Dashboard for RBC                    user2@mail.com    \n52261 Kubernetes Cluster and Node Capacity v2        user3@mail.com  \n52262 Istio Overview                                 user3@mail.com  \n```\n\n### Get a dashboard info\n\n```\n$ sdc-db-unshare -t ZZZZZZZZ-XXXX-YYYY-XXXX-AAAABBBBCCCC dashboard get 52262\nID    NAME           AUTHOR         PUBLIC SHARED AUTOCREATED VERSION \n52262 Istio Overview user3@mail.com false  true   false       1\n```\n\n### Unshare a dashboard\n\n```\n$ sdc-db-unshare -t ZZZZZZZZ-XXXX-YYYY-XXXX-AAAABBBBCCCC dashboard unshare 52262 \n```\n\nThe dashboard should now be unshared and the version should be increased by 1.\n\n```\n$ sdc-db-unshare -t ZZZZZZZZ-XXXX-YYYY-XXXX-AAAABBBBCCCC dashboard get 52262\nID    NAME           AUTHOR         PUBLIC SHARED AUTOCREATED VERSION \n52262 Istio Overview user3@mail.com false  false  false       2\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fsdc-db-unshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysdiglabs%2Fsdc-db-unshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fsdc-db-unshare/lists"}