microsoft / security-devops-action

Microsoft Security DevOps for GitHub Actions.
MIT License
97 stars 44 forks source link

Fix exec-command output #80

Closed larohra closed 8 months ago

larohra commented 8 months ago

The client was not correctly parsing the exec-command output due to which the API call was failing.

Eg:

attempting to send report: {"dockerVersion":"Docker version 24.0.7, build afdd53b","dockerEvents": ["ID=","572402417699.dkr.ecr.us-east-2.amazonaws.com/bugbash02repo:740c3002335f4adf77bdd6d83ee7daf16d55ef1c"] ,"dockerImages":["CreatedAt=2023-11-02 16:56:17 +0000 UTC::Repo=572402417699.dkr.ecr.us-east-2.amazonaws.com/bugbash02repo::Tag=740c3002335f4adf77bdd6d83ee7daf16d55ef1c::Digest=sha256:4c932a3b56a2bf5021f6cabf57803da3eda19da7ed3b6a2b659be0258b2d3fa7","

Fixed the output and improved the logging.