LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

The run-script result has two output fields per target, statusDescription and responseMessage. What is the difference, and how do you get the full output as readable text?

statusDescription is a readable preview that is cut off after the first characters ("…"); responseMessage holds the complete output, Base64-encoded. Extract responseMessage with json_query and decode it with b64decode.

The result is deeply nested: "run-script" → a task ID → tasks (one per target) → "task-details" → the fields. So:

Field Content Use
statusDescription first part of the output, then ... a quick look
responseMessage all of the output, Base64 the real result

Base64 turns arbitrary bytes into plain ASCII letters, so the output survives transport inside JSON whatever characters it contains (newlines, control characters, binary).

The path to the field for every target:

"run-script".*.tasks[*]."task-details"[0].responseMessage

* skips the unknown task ID, tasks[*] visits each target, and [0] takes the first detail entry. That gives one Base64 string per target. Decode each one, and the shell output reappears line by line, ready to print or save with copy.

Go deeper:

From Quiz: ITIA / Network Automation with Ansible and a Check Point Firewall | Updated: Dec 01, 2026