jq – Check if JSON file contains specific value greater than or equal to a defined variable?
I have a file "results.json" It looks like this { "applicationId" : "application", "scanId" : "scanId", "policyEvaluationResult" : { "alerts" : [ { "trigger" : { "policyId" : "pid1", "policyName" : "Security-High", "threatLevel" : 9, "policyViolationId" : "pvid1", }, "trigger"…