Skip to content

JQ tips #

Installation #

sudo apt install jq


Filtering (Grepping) for specific key values, then selecting a specific key afterwards #

  • Example given: Bloohound collector’s json data. Finding hosts with Unconstrained Delegation.
    1
    cat 20210101_computers.json|jq '.computers[] |select(.Properties.unconstraineddelegation ==true) | .Properties.name'
    

Last update: May 14, 2021