mitre / sandcat

A CALDERA plugin
https://caldera.mitre.org/
Apache License 2.0
60 stars 36 forks source link

[VIRTS-4148] Have agent send both stdout and stderr #421

Closed michael-the-jones closed 1 year ago

michael-the-jones commented 1 year ago

Description

This PR will send both stdout and stderr results to the server. stdout is sent as "output" (the previously used field) for compatibility with other agents, while stderr is sent as "stderr". Link status was NOT effected (i.e., if stderr exists, the link status will be failure).

Pending: https://github.com/mitre/caldera/pull/2662

Type of change

How Has This Been Tested?

Tested with the new MITRE/Caldera PR [VIRTS-4149] changes, which accounts for this change on the server side.

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication