I'm building OpenSourceOM. Open source, you run it yourself. AWS, Azure, GCP, and Kubernetes get pulled into a graph of workloads, identities, network, and datastores, and findings get ranked off that.
I don't close anything just because nothing can reach it. Score starts at the base severity, then +10 if the workload is internet-reachable, +25 if it can get to a datastore, +5 if an admin identity can access it. Normal CSPM and CVE findings always show up.
The attack-path row is the part I'm less sure about. It only gets written when the workload is reachable from the internet, it already has some other finding, and it can reach a datastore, on its own or through a role it can assume. No hop to data, no attack-path row. The original finding is still in the list.
"Reachable" is whatever the APIs say. Public IP, or a load balancer with a public frontend, plus an allow. On Kubernetes that's a LoadBalancer or an Ingress backend. A NetworkPolicy that doesn't allow the world drops the edge. NodePort by itself doesn't count. CloudTrail, Activity Log, and GCP Admin Activity get saved on the path afterwards so you can see what changed. They don't decide whether the edge is there. No agent, no flow logs.
A public VM with a bad CVE and no database behind it never gets that attack-path finding. Just the +10. I'd still fix that first. Is the datastore requirement useful, or am I burying the thing people actually open on Monday?
Also, does anyone close findings that aren't reachable in the current config, or do you only sort on it? I keep hearing that a pod with no path today has one after the next deploy, so I haven't auto-closed anything. Might just be hoarding findings.
This is config only. If you wouldn't trust that order, what else would you want on the graph before you would?
https://github.com/OpenSourceOM/core