DataDog / KubeHound

Kubernetes Attack Graph
https://kubehound.io
Apache License 2.0
705 stars 39 forks source link

Add Attack Reference JSON to Kubehound directory #151

Open hassanalawie opened 7 months ago

hassanalawie commented 7 months ago

It would be nice to include a JSON in the ./kubehound directory with the contents on https://kubehound.io/reference/attacks/. Something along the lines of [{ 'IDENTITY_ASSUME':{ 'Description':'', 'Details':'', 'Prerequisites':'' } }, {'ATTACK_2':{ 'Description':'', 'Details':'', 'Prerequisites':''}} ]

edznux-dd commented 7 months ago

:wave: To make sure I understand, you would like us to convert the .md files here into JSON file? The file are currently following a fairly standardized format if that can be a workaround for now.

Do you have a specific use case in mind? To make sure we can cover it if we do that :)

hassanalawie commented 7 months ago

👋 To make sure I understand, you would like us to convert the .md files here into JSON file? The file are currently following a fairly standardized format if that can be a workaround for now.

Do you have a specific use case in mind? To make sure we can cover it if we do that :)

Hey! I actually already made the JSON for myself but if you feel it might be useful for others I'd be glad to share it. I am looking to feed some Kubehound generated data into an LLM and in order to get a valuable response, I typically need to include information from the attack reference. In order to scale this, I only send information from relevant attack paths to my Kubehound data instead of sending all the information.

Let me know :)