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

chore: add SECURITY-INSIGHTS.yml #16135

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

crenshaw-dev
Copy link
Member

Adding security insights in support of the CNCF Security Slam 2023 event. The spec is defined here: https://github.com/ossf/security-insights-spec

@crenshaw-dev crenshaw-dev requested review from a team as code owners October 27, 2023 14:15
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b71277c) 49.56% compared to head (e12d2e3) 49.43%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16135      +/-   ##
==========================================
- Coverage   49.56%   49.43%   -0.14%     
==========================================
  Files         269      269              
  Lines       46668    46788     +120     
==========================================
- Hits        23131    23128       -3     
- Misses      21263    21385     +122     
- Partials     2274     2275       +1     

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you for putting this together!

I found two things. One to discuss, the other seems to be a bug.

@crenshaw-dev crenshaw-dev requested a review from jannfis October 27, 2023 18:21
@agilgur5 agilgur5 added the security Security related label Oct 27, 2023
Comment on lines +283 to +286
# Replace the 'project-release: vX.X.X-rcX' line in SECURITY-INSIGHTS.yml
sed -i "s/project-release: v.*$/project-release: v${{ env.NEW_VERSION }}/" SECURITY-INSIGHTS.yml
# Update the 'commit-hash: XXXXXXX' line in SECURITY-INSIGHTS.yml
sed -i "s/commit-hash: .*/commit-hash: ${{ env.NEW_VERSION }}/" SECURITY-INSIGHTS.yml
Copy link

@agilgur5 agilgur5 Oct 27, 2023

Choose a reason for hiding this comment

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

So I don't think this is actually supposed to be auto-updated. Since the SECURITY-INSIGHTS.yml is meant to be manually reviewed, it would be updated the next time it is manually reviewed, is my understanding of it.

Although the spec explicitly carves out that last-updated does not include commit-hash or project-release, which could suggest the opposite

Copy link
Member Author

Choose a reason for hiding this comment

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

The update will be in a PR rather than auto-committed. How about updating the last-reviewed time as well and just adding a note to the PR that the reviewer should make sure the insights doc is up to date?

Choose a reason for hiding this comment

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

I was thinking of just manually reviewing it once a year and just updating it then. Least effort 🤷

Ofc if we change tooling etc, then can update it simultaneously as well, but otherwise I was thinking of updating it as infrequently as possible.

Copy link
Member

Choose a reason for hiding this comment

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

I was thinking of just manually reviewing it once a year and just updating it then

That will never happen, I can assure you 😅

Choose a reason for hiding this comment

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

It has to be manually reviewed at least once a year per the expiration-date

Copy link
Member Author

Choose a reason for hiding this comment

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

The date has to be manually bumped every year. 😉

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

automation

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

Update SECURITY-INSIGHTS.yml

Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

Update SECURITY-INSIGHTS.yml

Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

add snyk as security tester

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@agilgur5 agilgur5 added the github_actions Pull requests that update GitHub Actions code label Oct 28, 2023
Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM!

@crenshaw-dev crenshaw-dev merged commit 162c2d3 into argoproj:master Nov 2, 2023
@crenshaw-dev crenshaw-dev deleted the security-insights branch November 2, 2023 15:49
jmilic1 pushed a commit to jmilic1/argo-cd that referenced this pull request Nov 13, 2023
automation

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

add snyk as security tester

reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: jmilic1 <70441727+jmilic1@users.noreply.github.com>
vladfr pushed a commit to vladfr/argo-cd that referenced this pull request Dec 13, 2023
automation



Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml




add snyk as security tester



reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
tesla59 pushed a commit to tesla59/argo-cd that referenced this pull request Dec 16, 2023
automation



Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml




add snyk as security tester



reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
lyda pushed a commit to lyda/argo-cd that referenced this pull request Mar 28, 2024
automation

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml

add snyk as security tester

reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Kevin Lyda <kevin@lyda.ie>
Hariharasuthan99 pushed a commit to AmadeusITGroup/argo-cd that referenced this pull request Jun 16, 2024
automation



Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml

Update SECURITY-INSIGHTS.yml




Update SECURITY-INSIGHTS.yml




add snyk as security tester



reorganize

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code security Security related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants