Skip to content

Conversation

@AlexNPavel
Copy link
Contributor

@AlexNPavel AlexNPavel commented Jan 28, 2026

Summary

  • Add a wrapper script (hack/govulncheck-wrapper.sh) that runs govulncheck with support for ignoring vulnerabilities that have no available fix
  • Uses govulncheck JSON output for reliable parsing
  • Only flags vulnerabilities where code actually calls the vulnerable function
  • Automatically flags previously-ignored vulnerabilities when a fix becomes available
  • Add make vulncheck target
  • Include configuration with current unfixable vulnerabilities in openshift/hive and tektoncd/pipeline

Test plan

  • Run make vulncheck and verify it passes
  • Run ./hack/govulncheck-wrapper.sh --verbose and verify output shows ignored vulnerabilities
  • Run ./hack/govulncheck-wrapper.sh --help and verify usage is displayed

@openshift-ci openshift-ci bot requested review from hoxhaeris and jupierce January 28, 2026 20:33
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2026
@AlexNPavel
Copy link
Contributor Author

/hold
Requires openshift/release#74091

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 28, 2026
@AlexNPavel
Copy link
Contributor Author

/cc @bradmwilliams

@openshift-ci openshift-ci bot requested a review from bradmwilliams January 28, 2026 20:45
Add a wrapper script that runs govulncheck and filters out
vulnerabilities that have no available fix. The script:

- Uses govulncheck JSON output for reliable parsing
- Only flags vulnerabilities where code calls the vulnerable function
- Ignores listed vulnerabilities only if no fix is available
- Automatically flags when a fix becomes available

Includes configuration file with current unfixable vulnerabilities
in openshift/hive and tektoncd/pipeline dependencies.
Copy link
Contributor

@bradmwilliams bradmwilliams left a comment

Choose a reason for hiding this comment

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

Are you going to add the same script to our other repos as well?

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 28, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AlexNPavel, bradmwilliams

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [AlexNPavel,bradmwilliams]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 28, 2026

@AlexNPavel: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/govulncheck 69779d4 link false /test govulncheck
ci/prow/security 69779d4 link false /test security

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@AlexNPavel
Copy link
Contributor Author

Are you going to add the same script to our other repos as well?

That's my current plan. I would prefer to have it shared somewhere so we don't have to worry about updating all repos if we want to change something, but I'm not sure of a way to cleanly do that right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants