kubehound

If anyone is familiar with KubeHound DSL. Can someone explain why Query 1 is different from Query 2. They are both returning values that are very close to eachother but not exact: Query 1 g.V() .hasLabel('Container') .out().emit().repeat(( .outE()) .inV() .simplePath() ).until( .has("critical", true) .or() .loops() .is(15) ).has("critical", true) .path() .count() .next() Query 2 kh.containers().criticalPaths(15).count().next() Context: * I've pasted how the criticalPaths method works * g.V() .hasLabel('Container').count() returns the same thing as kh.containers().count()
No description
Solution:
I figured it out, I've attached the fixed query 1
No description
Jump to solution
1 Reply
Solution
Gmane23
Gmane2314mo ago
I figured it out, I've attached the fixed query 1
No description
Want results from more Discord servers?
Add your server