Custom KICS query with external data #6505
Unanswered
gabrielvachon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a query that compares configurations between the input and the data stored in a data.json file. Everything works fine as i'm editing the REGO query in VSCode. The problem comes when I execute the query with KICS, the output doesn't show up.
The directory looks like this :
query.rego
The output doesn't show
This is the output.json when I'm developing my query in REGO :
The keyActualValue and the keyExpectedValue fields are not showing when executing the query with KICS.
Why isn't it working in KICS but works while editing the query? Could it be the data file wrongly used in that case?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions