-
Notifications
You must be signed in to change notification settings - Fork 44
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
Azure Kubernetes not supported? #124
Comments
I will take a proper look next week but it seems like a manifestation of this issue: gruntwork-io/terratest#976 (comment) Could just be a case of including.
in https://github.com/DataDog/KubeHound/blob/main/pkg/collector/k8s_api.go |
Thank you, @d0g0x01 . This helped a bit, but another error came up, which I have no clue how to deal with :(
thank you |
Apologies for reminder, @d0g0x01 . But is there any quick fix? I will lose the access to the current cluster in 2-3 days (my assessment time is ending), but I am really interested to see your tool in action in this environment. thank you |
I dont think so via the api collector :( BUT If you have kubectl access you could use the offline mode.
|
Much appreciated. Thank you for that, @d0g0x01 ! |
hello @d0g0x01 , that almost worked! Unfortunately, it seems the collector is aware of namespaces and creates all the folder structure for it, but the ingestor tool is not aware of it. It looks for the roles* files in the main folder instead of in namespace subfolders. Also, there is some error about: "could not write in bulk to mongo: context canceled", which I am not sure how to deal with it too.
Anyway, it was really close. Thank you for all the assistance. |
Sorry - its not a fully support feature yet and we mainly use it for debugging/dev. However if you move/rename the files to the structure defined here you should be good https://github.com/DataDog/KubeHound/blob/main/pkg/collector/file.go#L24 |
I fully understand. Don't worry. The offline ingestion is another great feature to have though. Thank you for quick responses and help, @d0g0x01 !!! |
Hello,
thanks for amazing tool. Unfortunately, I cannot use it in my current assessment. My kubeconfig works fine, I can get all information from kubectl I want, but when I run './kubehound.sh run', I am getting this error:
Any suggestion, please?
thanks
The text was updated successfully, but these errors were encountered: