https://github.com/mashiike/clipsight
Tools to share some QuickSight dashboards outside
https://github.com/mashiike/clipsight
Last synced: 3 months ago
JSON representation
Tools to share some QuickSight dashboards outside
- Host: GitHub
- URL: https://github.com/mashiike/clipsight
- Owner: mashiike
- License: mit
- Created: 2022-12-16T08:59:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T20:24:05.000Z (over 1 year ago)
- Last Synced: 2024-05-01T16:15:20.216Z (about 1 year ago)
- Language: Go
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ClipSight 


[](https://github.com/mashiike/clipsight/blob/master/LICENSE)ClipSight provides an embedded site for sharing several Amazon QuickSight dashboards externally.
## Install
### Binary packages
[Releases](https://github.com/mashiike/clipsight/releases)
## Usage
```
Usage: clipsightFlags:
-h, --help Show context-sensitive help.
--log-level="info" output log level ($CLIPSIGHT_LOG_LEVEL)
--ddb-table="clipsight" DynamoDB table name for user infomation ($CLIPSIGHT_DDB_TABLE)Commands:
register --email=STRING --namespace="default" --iam-role-arn=STRING --region=STRING
Register usergrant --email=STRING --dashboard-id=STRING
grant dashboard view auth to userrevoke --email=STRING --dashboard-id=STRING
revoke dashboard view auth from userserve
Start a ClipSight serverplan --config-path="."
Plan of sync config and DynamoDBapply --config-path="."
Apply sync config and DynamoDBversion
Show versionRun "clipsight --help" for more information on a command.
```## Permission management as a code
ClipSight provides a command to manage user permissions as a code.
for example, can manage user permissions with a yaml file like this.
```yaml
required_version: ">=0.0.0"users:
- email: "[email protected]"
namespace: "external"
iam_role_arn: "{{ must_env `IAM_ROLE_ARN` }}"
region: "{{ must_env `AWS_REGION` }}"
dashboards:
- dashboard_id: 12345678-1234-1234-1234-123456789012
expire: "2021-01-01T00:00:00Z"
enabled: true
- email: "[email protected]"
iam_role_arn: "{{ must_env `IAM_ROLE_ARN` }}"
dashboards:
- dashboard_id: 12345678-1234-1234-1234-123456789012
expire: "2021-01-01T00:00:00Z"
- dashboard_id: 00000000-0000-0000-0000-000000000000
enabled: true
```yaml files can be split. read all files with `--config-path` option.
modify plan and apply with `clipsight plan` and `clipsight apply` command.
```bash
$ clipsight plan --config-path /path/to/config
``````bash
$ clipsight apply --config-path /path/to/config
```## LICENSE
MIT License
Copyright (c) 2023 IKEDA Masashi