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

Add automatic vulnerabilities check for released binaries #123

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

valerena
Copy link
Contributor

Issue #, if available:

Description of changes:
Run a vulnerability check over the released binaries.
If there are vulnerabilities in the latest released binaries, then create an issue to call this out. Before creating the ticket, check if the vulnerabilities still exist when rebuilding the binaries with the same code, and include that info in the new issue.

Example issue: valerena#4

There's an improvement to be made to only create the issue if no issue has been created already. That's coming as a future improvement.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

id: check-binaries
run: |
make check-binaries
- if: always() && failure() # Failure means there are vulnerabilities
Copy link
Contributor

@seshubaws seshubaws May 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is always() checking for? Edit: I see in the docs it's to have it run even if a previous step fails (https://docs.github.com/en/actions/learn-github-actions/expressions#status-check-functions) maybe we could add that as a comment here as well?

Copy link
Member

@roger-zhangg roger-zhangg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@valerena valerena merged commit 9e6041b into aws:develop Jun 3, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants