Results

Collecting results from your Action is simple. Any files that are dropped in the .\results folder while the Action is running are considered results. You can drop config files, spreadsheets, JSON files, database dumps, anything.

Redirecting Executable Output

If you need to collect the output data from an executable, there are 2 general ways to do that.

  1. You can call a script that runs the executable and then outputs the data into a file in the results folder

  2. You can call the executable and redirect the output to the results folder in the manifest.

For option one, this is going to be specific to your scripting language of choice, but for option two you can use the redirect operator to achieve the same goal. Here's an example:

COPY . .
RUN_WIN "binary.exe -someflag > .\results\outfile.txt"
RUN_LIN "binary -someflag > ./results/outfile.txt"

IMPORTANT On case sensitive operating systems, such as Linux, the results folder has a lower case r.

If you want to view these results, see:

Job results

Command output

The output of the command is all collected by the BrazenAgent, you can see more on the troubleshooting page.

Last updated