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

docs: Add Snyk status badge to README.md #12517

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Conversation

terrytangyuan
Copy link
Member

This is to draw attention to security issues. Snyk has been failing for a couple of days but we haven't noticed even before recent patch releases (example fix for a recent issue #12515 but the patch release is already out before this). https://github.com/argoproj/argo-workflows/actions/workflows/snyk.yml?query=branch%3Amain

@terrytangyuan
Copy link
Member Author

terrytangyuan commented Jan 14, 2024

Unrelated: license scan has been failing for a long time. @agilgur5 Could you take a look?

Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

I asked in #12470 (comment), but is Dependabot just behind Snyk? Since it should auto-update on security vulns.

Although in the case of #12515, there is no way to auto-update since it was using the Argo fork of go-git

Also left 1 comment in-line

README.md Outdated Show resolved Hide resolved
@agilgur5
Copy link
Contributor

Unrelated: license scan has been failing for a long time. @agilgur5 Could you take a look?

This is waiting on Crenshaw (earlier Slack link) or someone else with existing FOSSA permissions to the Argoproj org, which I don't have

@agilgur5 agilgur5 added type/security Security related area/docs Incorrect, missing, or mistakes in docs labels Jan 14, 2024
@terrytangyuan
Copy link
Member Author

Unrelated: license scan has been failing for a long time. @agilgur5 Could you take a look?

This is waiting on Crenshaw (earlier Slack link) or someone else with existing FOSSA permissions to the Argoproj org, which I don't have

Can I remove the badge for now?

Signed-off-by: Yuan Tang <[email protected]>
@terrytangyuan terrytangyuan changed the title docs: Add CI and Snyk status badges to README.md docs: Add Snyk status badge to README.md Jan 14, 2024
@terrytangyuan
Copy link
Member Author

Yeah dependabot is not fast enough.

@terrytangyuan
Copy link
Member Author

Removed CI badge

@terrytangyuan terrytangyuan added the prioritized-review For members of the Sustainability Effort label Jan 14, 2024
@terrytangyuan terrytangyuan enabled auto-merge (squash) January 14, 2024 02:26
@agilgur5
Copy link
Contributor

agilgur5 commented Jan 14, 2024

Can I remove the badge for now?

It impacts our CLOMonitor score per #12032. So it would trade one failing badge in favor of a lower score in another badge, which I don't think is ideal either 😕 . I'd much rather fix the root cause (though I don't have permissions to do that myself)

README.md Show resolved Hide resolved
@terrytangyuan
Copy link
Member Author

terrytangyuan commented Jan 14, 2024

would trade one failing badge in favor of a lower score

How much lower?

@terrytangyuan terrytangyuan merged commit 5cded3a into main Jan 14, 2024
16 checks passed
@terrytangyuan terrytangyuan deleted the terrytangyuan-patch-1 branch January 14, 2024 04:58
@agilgur5
Copy link
Contributor

agilgur5 commented Jan 14, 2024

How much lower?

I'm not sure from a quick check; it doesn't explicitly say in the docs (and I don't remember what it was beforehand), so I'd have to check its code to verify.

Per #12032, CNCF has focused efforts on getting CLOMonitor scores up for a few years now. I wouldn't want to intentionally regress those.
Ironically, relevant to this issue, per the PR I did try using Snyk for license scanning instead, but it does not fully support all our deps.
Also, as was mentioned on Slack, CD has had a failing license badge for even longer. It is currently still failing on CD's README

@agilgur5
Copy link
Contributor

agilgur5 commented Jan 14, 2024

@terrytangyuan I got the license scan to pass now, see details in #12023 (comment) and further comments.
It's still not quite building daily / latest main and still needs transferring to Argoproj though; followed up in the Slack thread

@terrytangyuan
Copy link
Member Author

Great to hear! Thanks!

agilgur5 pushed a commit that referenced this pull request May 4, 2024
Signed-off-by: Yuan Tang <[email protected]>
(cherry picked from commit 5cded3a)
@argoproj argoproj locked as resolved and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Incorrect, missing, or mistakes in docs prioritized-review For members of the Sustainability Effort type/security Security related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants