Remediation Recommendation Text Overflow error
Remediation Recommendation Text should not be longer than 512 per Amazon Finding Format. May need to trunc() this output?
DEBUG:botocore.parsers:Response headers: {'Date': 'Wed, 08 Jan 2020 18:39:09 GMT', 'Content-Type': 'application/json', 'Content-Length': '272', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'b666c1c5-f8cc-4f92-affe-43a765f9e576', 'x-amz-apigw-id': 'F_o4LGjaoAMFjlQ=', 'X-Amzn-Trace-Id': 'Root=1-5e1621cd-90678ae8f317b9a8a6802ea8;Sampled=0'}
DEBUG:botocore.parsers:Response body:
b'{"FailedCount":1,"SuccessCount":0,"FailedFindings":[{"Id":"us-east-1/i-01ac323e031057ffa/132237","ErrorCode":"InvalidInput","ErrorMessage":"Finding does not adhere to Amazon Finding Format. data.Remediation.Recommendation.Text should NOT be longer than 512 characters."}]}'
DEBUG:botocore.hooks:Event needs-retry.securityhub.BatchImportFindings: calling handler <botocore.retryhandler.RetryHandler object at 0x7f9b71bcbcf8>
DEBUG:botocore.retryhandler:No retry needed.
INFO:main.SecurityHubIngester:drained last batch queue of transformed vulns