The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/services/authz/zanzana
Serge Zaitsev 694b9dfe50
Chore: Replace xorm.io/xorm imports (#104458)
4 weeks ago
..
client Zanzana: Use authz client (#104037) 1 month ago
common K8s/Dashboard: Promote from alpha1 to beta1 (#104009) 1 month ago
logger Zanzana: bump openfga version (#94485) 8 months ago
schema Zanzana: Support subresources for users and service accounts (#102874) 2 months ago
server Zanzana: Fix health check endpoint (#104670) 1 month ago
store Chore: Replace xorm.io/xorm imports (#104458) 4 weeks ago
README.md Zanzana: Adds readme with configuration for openfga cli (#104276) 1 month ago
client.go Zanzana: Perform shadow requests (#103444) 2 months ago
server.go Zanzana: Use shared auth interceptor for zanzana and pass tracer (#100968) 3 months ago
store.go Zanzana: client integration test (#89997) 11 months ago
translations.go K8s/Dashboard: Promote from alpha1 to beta1 (#104009) 1 month ago
zanzana.go Zanzana: Support subresources for users and service accounts (#102874) 2 months ago

README.md

Zanzana

Zanzana cli

Zanzana can be run as a standalone OpenFGA HTTP server that allows you to use the OpenFGA CLI to debug and manage fine-grained authorization relationships within Grafana.

To test this you need to run standalone zanzana server. Use following config:

# ini
app_mode = development
target = zanzana-server

[feature_toggles]
zanzana = true

[zanzana.server]
http_addr = 127.0.0.1:8080

[grpc_server]
enabled = true
address = 127.0.0.1:10000

And then run grafana server target:

./bin/darwin-arm64/grafana server target

Using OpenFGA CLI

useful info on how to setup and use https://openfga.dev/docs/getting-started/cli Once the server is running, you can interact with it using the OpenFGA CLI:

# List all stores
fga store list

# Other commands
fga model read
fga tuple list