项目作者: cloudworkz

项目描述 :
Google Group User --> Grafana
高级语言: JavaScript
项目地址: git://github.com/cloudworkz/grafana-gsuite-sync.git
创建时间: 2018-04-11T13:11:47Z
项目社区:https://github.com/cloudworkz/grafana-gsuite-sync

开源协议:MIT License

下载


grafana-gsuite-sync (deprecated)

license
Docker Repository on Quay

>> This tool has been deprecated, use grafana-permission-sync instead

What It Does

Grafana GSuite Synchroniser pulls a Google Group, extracts Google Group Member Emails and updates the Grafana Organisation Users.

graph

Requirements

  • The service account’s private key file: —google-credentials flag
  • The email of the user with permissions to access the Admin APIs: —google-admin-email flag
  • The grafana admin password: —grafana-password flag

Usage

  1. docker run -it quay.io/google-cloud-tools/grafana-gsuite-sync -h
  2. Usage: grafana-gsuite-sync [options]
  3. Options:
  4. -p, --port [port] Server port
  5. -P, --grafana-protocol [grafana-protocol] Grafana API protocol
  6. -H, --grafana-host [grafana-host] Grafana API host
  7. -U, --grafana-username [grafana-username] Grafana API admin username (default: )
  8. -P, --grafana-password <grafana-password> Grafana API admin password (default: )
  9. -C, --google-credentials <google-credentials> Path to google admin directory credentials file (default: )
  10. -A, --google-admin-email <google-admin-email> The Google Admin Email for subject (default: )
  11. -r, --rules <rules> Comma separated rules to sync <google group email>:<grafana org name>:<users role>
  12. (e.g. 'group@test.com:Main:Admin')
  13. -s, --static-rules <static-rules> Comma separated static rules to create <email>:<grafana org name>:<user role>
  14. (e.g. 'user@test.com:Main:Viewer')
  15. -l, --level [level] Log level
  16. -m, --mode [mode] How users are sychronized between google and grafana: sync or upsert-only
  17. -e, --exclude-role [exclude-role] Exclude role to delete
  18. -i, --interval [interval] Sync interval
  19. -h, --help output usage information