Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metabase resource fetch erroring out #35

Closed
bsushmith opened this issue May 16, 2023 · 0 comments · Fixed by #36
Closed

metabase resource fetch erroring out #35

bsushmith opened this issue May 16, 2023 · 0 comments · Fixed by #36
Assignees

Comments

@bsushmith
Copy link
Collaborator

Description

Resource fetch for metabase groups is crashing with the below error.

panic: interface conversion: interface {} is map[string]interface {}, not string

goroutine 189 [running]:
github.com/goto/guardian/plugins/providers/metabase.(*client).fetchDatabasePermissions(0xc000bd9cc0?, 0x2bee128?, 0xc0003887d0?, {0xfc6f46?, 0xc000462400?})
	/home/runner/work/guardian/guardian/plugins/providers/metabase/client.go:298 +0x891
created by github.com/goto/guardian/plugins/providers/metabase.(*client).GetGroups
	/home/runner/work/guardian/guardian/plugins/providers/metabase/client.go:243 +0x165

Additional Details:
Metabase version: v0.44.6
Guardian version: 0.7.2

This is happening only for one instance of metabase, but for other instances with same version metabase - there are no issues.

@bsushmith bsushmith self-assigned this May 17, 2023
lifosmin pushed a commit to lifosmin/guardian that referenced this issue Aug 31, 2023
* feat: add replay dry-run option

* refactor: use new request for dryrun replay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant