The get_file_job_screenshots action within the Splunk Attack Analyzer connector may fail with the error message: Downloaded screenshot is empty or is not a PNG.
This error is triggered by the _has_expected_download_signature method, located in splunkattackanalyzer_connector.py (line 52).
The method validates that the downloaded data is a non-empty byte or bytearray and that it begins with the standard PNG signature (\x89PNG\r\n\x1a\n). If these conditions are not met, the action returns a failure, even if other screenshots in the same job were successfully saved to the vault.
get_file_job_screenshots action._has_expected_download_signature returns False. This indicates that the data received from the external API failed one of the following validation checks:
b'').\x89PNG\r\n\x1a\n).To ensure playbook resilience, implement a decision block that allows the automation to proceed even if a specific screenshot retrieval fails.
get_file_job_screenshots action.container.add_note action to log a warning message in the container and allow the playbook to continue to subsequent steps.| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |