Skip to content

Fix: Issue 15: Print release and build information #28

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

Merged
merged 3 commits into from
Jul 25, 2024
Merged

Conversation

mrajagopal
Copy link
Collaborator

@mrajagopal mrajagopal commented Jul 19, 2024

  • Setup version template in Cobra
  • Output version info with usage help
  • Expand the usage text to include --version and --help switch in the command
  • As a side upgraded crypto package from v0.21.0 to v.0.23.0 due to a vulnerability as detailed below

Vulnerability found in dependency crypto:
CVE-2023-42818
9.8
Improper Restriction of Excessive Authentication Attempts vulnerability with High severity found

Following this PR, the usage help information is as below:

nginx-supportpkg - a tool to create Ingress Controller diagnostics package

nginx-supportpkg - version: dev - build: dev
Usage:
 nginx-supportpkg -h|--help
 nginx-supportpkg -v|--version
 nginx-supportpkg [-n|--namespace] ns1 [-n|--namespace] ns2 [-p|--product] nic
 nginx-supportpkg [-n|--namespace] ns1,ns2 [-p|--product] nic 

* Setup version template in Cobra
* Output version info with usage help
* As a side upgraded crypto package from v0.21.0 to v.0.23.0 due to a vulnerability as detailed below

Vulnerability found in dependency crypto:
CVE-2023-42818
9.8
Improper Restriction of Excessive Authentication Attempts vulnerability with High severity found
@mrajagopal mrajagopal requested a review from a team as a code owner July 19, 2024 01:01
@mrajagopal mrajagopal added the enhancement New feature or request label Jul 19, 2024
@mrajagopal mrajagopal linked an issue Jul 19, 2024 that may be closed by this pull request
* Add a new job to the NIC job list to execute ./nginx-ingress --version within the pod
@dareste dareste merged commit e42462a into main Jul 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print release and build information
2 participants