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

[BUG] RBASC FACET an RBAC Graph are not displayed #372

Open
kaz-33 opened this issue Nov 22, 2023 · 5 comments
Open

[BUG] RBASC FACET an RBAC Graph are not displayed #372

kaz-33 opened this issue Nov 22, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@kaz-33
Copy link

kaz-33 commented Nov 22, 2023

Short issue description

Krane version:
krane 0.1.0
OS Ubuntu 2004
container in local mode
K8S 1.24.x
RKE2

How can we reproduce the issue?

in my local machine, inside docker i run krane report -d /rbac + i run krane dashboard
all seems good, i see the findings but impossible to display the RBAC Graph and RBAC Facets...
i got this message when i run the report....

INFO: This may take several seconds to complete...
INFO: ERR Invalid graph operation on empty key. Graph `rbac-default` will be created.
INFO: Set RBAC cache path to: rbac/

Any idea?
I saw also this information:
https://redis.com/blog/redisgraph-eol/

Suggestions on how to fix the issue (OPTIONAL)

@kaz-33 kaz-33 added the bug Something isn't working label Nov 22, 2023
@marcinc
Copy link
Contributor

marcinc commented Nov 29, 2023

Hi @kaz-33. Could you expand with a bit more detail for us to understand the issue better? Any commands that you run would be helpful. The message you're seeing is expected btw. - it creates a new graph is there isn't one already.

@kaz-33
Copy link
Author

kaz-33 commented Dec 11, 2023

Hi @marcinc Marcinc, sorry for the delay.
Than i explain i install krane to watch better the role,and misconfiguration

  1. The menu finding --> show me issues
  2. Menu RBAC Facets --> nothing appears
  3. Menu Graph --> nothing appears

do you want some trace, do you have the path for the log?

@kaz-33
Copy link
Author

kaz-33 commented Jan 18, 2024

Hi @marcinc,
no news?

@marcinc
Copy link
Contributor

marcinc commented Dec 18, 2024

Hi @kaz-33. Sorry for late reply. Could you estimate the size of RBAC in your cluster please? What's the approximate number of various roles and bindings that you are dealing with? In some cases the UI may struggle rendering larger data sets which can lead to problems loading that data and showing it in the browser. This may be addressed at some point but I won't be able to specify ETA on that. FYI: the simplified graph doesn't currently offer much value in terms of information that you can extract from it and it will most likely be removed from the tool in the future.

@kaz-33
Copy link
Author

kaz-33 commented Dec 23, 2024

Hi Marcin,
more or less 150 Roles and 300 Rolesbinging

  • 250 Clusterroles and 170 clusterrolebinding.
    Br

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants