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

Stricter dependency/security review #2617

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

dims
Copy link
Member

@dims dims commented Oct 15, 2023

  • Add new GH action for dependency review
  • Add new GH action for govulncheck

action.yaml copied from here (untouched):
https://github.com/golang/govulncheck-action/blob/master/action.yml

under BSD 3-Clause "New" or "Revised" License:
https://github.com/golang/govulncheck-action/blob/master/LICENSE

Need to copy the file because github actions in github orgs with enterprise license cannot refer to things as shown by this error:
image

@dims dims requested a review from a team as a code owner October 15, 2023 00:11
@dims dims force-pushed the stricter-dependency-security-review branch 2 times, most recently from a94c62b to 49472e7 Compare October 15, 2023 00:28
Signed-off-by: Davanum Srinivas <[email protected]>
@dims dims force-pushed the stricter-dependency-security-review branch from 49472e7 to 7d8fdad Compare October 15, 2023 00:30
@jdn5126
Copy link
Contributor

jdn5126 commented Oct 15, 2023

Thanks for adding this @dims! I am wondering if govulncheck should be run as a periodic job rather than a PR gate. The reason being that when new vulns pop up, unrelated PRs will be blocked until govulncheck is addressed. What do you think?

@dims
Copy link
Member Author

dims commented Oct 15, 2023

@jdn5126 of course! feel free to use the pattern that works for you. you can land this and modify or just borrow code from this PR.

Here's the tough part ... someone to watch the periodic job and take remediation steps. having this block landing PR(s) forces everyone to deal with it immediately as it is annoying and gets in the way :)

@jdn5126
Copy link
Contributor

jdn5126 commented Oct 15, 2023

Great point, we can always move it to a periodic job later if it is a blocker

@jdn5126 jdn5126 merged commit 377b255 into aws:master Oct 15, 2023
6 checks passed
@orsenthil
Copy link
Member

LGTM. Thank you!.

Periodic job will be better, provided a way to alert and act on the periodic job failure.

jdn5126 added a commit that referenced this pull request Oct 20, 2023
* restore node update permission to master until image tag can be updated (#2513)

* Merge branch 'release-1.14' (#2517)

* network policies update to readme (#2478)

* init draft of network policy desc

* add security note

* fixup

* fixup

* fix placeholder link

* Update manifest for cni 1.14 (#2526)

* Mimic VPC-RC limit struture (#2516)

* limits api pkg (#2528)

* Update kops tests for 1.28 and fix generate-cni-yaml script (#2536)

* skip IPAMD events test (#2537)

* chore: remove refs to deprecated io/ioutil (#2541)

* Change default Node Agent ports for health and metrics (#2545)

* remove self-managed node group from pod-eni test suite (#2547)

* bump controller runtime to 0.16.1 (#2548)

Co-authored-by: Joseph Chen <[email protected]>

* update agent image (#2554)

* fix(chart): Switch base64 encoded cniConfig.fileContents to the binaryData (#2552)

* Update the use of privileged flag in aws-vpc-cni manifest (#2555)

* increment default Calico version for helm compatibility (#2560)

* update nginx image (#2561)

* Only metrics (#2557)

Prometheus metrics for capturing ENI IP usage and no available IP address errors

Co-authored-by: Lindsay Hanks <[email protected]>

* CHANGELOG, chart, and manifest updates for VPC CNI v1.15.0 release (#2563)

* remove calico test suite from weekly integration tests (#2559)

* remove addon-tests integration suite as it is no longer needed (#2564)

* Only metrics (#2569)

* rename warm pool metrics

---------

Co-authored-by: Lindsay Hanks <[email protected]>

* Fix unused version variable (#2566)

* Update example table 'Pod per Prefixes' value (#2573)

* Bandwidth plugin with NP is currently unsupported (#2572)

* Bandwidth plugin with NP

* Messaging review

* pass CNINode scheme to client only (#2570)

* reduce api calls (#2575)

* Add region flag to describe-addon command (#2576)

* add ENABLE_V4_EGRESS (#2577)

* Add test registry parameter for ipv6 and CNI full tests (#2585)

* update golang image (#2586)

* increase time for service readiness (#2587)

* do not patch CNINode for custom networking unless podENI is enabled (#2591)

* Remove self-managed node group from custom-networking suite (#2590)

* remove self-managed node group from custom-networking suite

* Select CNI manifest based on regions (#2593)

* Update metrics helper image url based on region (#2604)

* dependabot updates (#2605)

* Graceful termination for service connectivity tests (#2611)

* update CHANGELOG, charts, and manifests in master following v1.15.1 release (#2614)

* go module updates and golang builder image update (#2615)

* update Golang to 1.21.3 (#2616)

* Stricter dependency/security review (#2617)

* Stricter dependency/security review

Signed-off-by: Davanum Srinivas <[email protected]>

* move common things to a separate file

Signed-off-by: Davanum Srinivas <[email protected]>

---------

Signed-off-by: Davanum Srinivas <[email protected]>

* update actions for go 1.21 and fix deps action warnings (#2618)

---------

Signed-off-by: Davanum Srinivas <[email protected]>
Co-authored-by: Jay Deokar <[email protected]>
Co-authored-by: Geoffrey Cline <[email protected]>
Co-authored-by: Joseph Chen <[email protected]>
Co-authored-by: guangwu <[email protected]>
Co-authored-by: Joseph Chen <[email protected]>
Co-authored-by: Valentin Zayash <[email protected]>
Co-authored-by: lnhanks <[email protected]>
Co-authored-by: Lindsay Hanks <[email protected]>
Co-authored-by: 김은빈 <[email protected]>
Co-authored-by: Jayanth Varavani <[email protected]>
Co-authored-by: Davanum Srinivas <[email protected]>
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.

4 participants