Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivy Scan Step reports "invalid blocks" when reporting to slack #456

Open
dmaljovec opened this issue Mar 9, 2022 · 1 comment
Open

Comments

@dmaljovec
Copy link

There may be an issue with the Trivy Scan step. We attempted to use it and received an invalid_blocks message at the point when it attempt to send a message to slack. We are attempting to run the linked entrypoint.sh script locally now to see if we can identify where the slack message body is malformed.

@dmaljovec
Copy link
Author

dmaljovec commented Mar 9, 2022

It appears to be related to message length. It would be great if the step was smart enough to automatically split really long messages, or perhaps even to sort items by criticality and post each level in its own message. The latter might mitigate the problem, but could still stumble if the vulnerability list is really long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant