ggs
grafana-gsuite-sync
npm i grafana-gsuite-sync
ggs

grafana-gsuite-sync

Synchronize G Suite users with Grafana

by yacut

1.0.9 (see all)License:MITTypeScript:Not Found
npm i grafana-gsuite-sync
Readme

grafana-gsuite-sync

license Docker Repository on Quay

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

docker run -it quay.io/google-cloud-tools/grafana-gsuite-sync -h

  Usage: grafana-gsuite-sync [options]

  Options:

    -p, --port [port]                              Server port
    -P, --grafana-protocol [grafana-protocol]      Grafana API protocol
    -H, --grafana-host [grafana-host]              Grafana API host
    -U, --grafana-username [grafana-username]      Grafana API admin username (default: )
    -P, --grafana-password <grafana-password>      Grafana API admin password (default: )
    -C, --google-credentials <google-credentials>  Path to google admin directory credentials file (default: )
    -A, --google-admin-email <google-admin-email>  The Google Admin Email for subject (default: )
    -r, --rules <rules>                            Comma separated rules to sync <google group email>:<grafana org name>:<users role>
        (e.g. 'group@test.com:Main:Admin')
    -s, --static-rules <static-rules>              Comma separated static rules to create <email>:<grafana org name>:<user role>
        (e.g. 'user@test.com:Main:Viewer')
    -l, --level [level]                            Log level
    -m, --mode [mode]                              How users are sychronized between google and grafana: sync or upsert-only
    -e, --exclude-role [exclude-role]              Exclude role to delete
    -i, --interval [interval]                      Sync interval
    -h, --help                                     output usage information

Downloads/wk

21

GitHub Stars

0
No data available

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
No data available
VersionTagPublished
1.0.9
latest
3yrs ago
No alternatives found
No tutorials found
Add a tutorial