Security Operations
An EDR REST API returns {"host":"WS-114","hashes":["a3f1","9c0d"],"severity":8}. The analyst wants to script a filter on severity from the command line. Which format is the response, and which tool fits it?
Show the answer
Correct answerD. JSON, filtered with jq
AWhy not this: XML uses opening and closing tags, not braces, so XPath does not match this response.
BWhy not this: YAML shows hierarchy by indentation and dashes, not braces and quoted keys, so this is not YAML.
CWhy not this: EVTX is a binary Windows event log, not a text API response.
DWhy this is right: Braces, quoted keys and bracketed arrays are JSON, and jq filters JSON from the command line.
Curly braces, double-quoted keys and square-bracket arrays are JSON syntax, and jq is the command-line processor built for JSON. XML would show tags with closing elements, and YAML would use indentation and unquoted keys instead of braces.