web icon indicating copy to clipboard operation
web copied to clipboard

Allow guest access to dashboard

Open julian7 opened this issue 5 years ago • 3 comments

There was a way in Uchiwa to make the dashboard publicly available. Sensu-go dashboard, however, requires authentication for dashboard access. I'd like to provide a limited, anonymously available dashboard.

Expected Behavior

  • A limited dashboard should be available with no sign in
  • Dashboard should allow signing in later on

Current Behavior

  • Dashboard requires manual sign in before first use.

Possible Solution

By heart, I'd like to make some API endpoints publicly available.

Context

Currently I have an "Is the app I'm using up?" dashboard, which queries sensu-api every minute from the user's browser, showing red/green pills for each app. This is an easy and nice way to communicate current status.

Then, users can click on those pills to get to a specific page in uchiwa (pointing to the clients page, filtered by subscription) to allow them getting into details. API endpoints available to this dashboard is currently proxied to sensu-api with adding a basic auth header.

Your Environment

  • Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): 5.1.0
  • Installation method (packages, binaries, docker etc.): packages
  • Operating System and version (e.g. Ubuntu 14.04): CentOS 7.6

julian7 avatar Jan 06 '19 08:01 julian7