Affected by GO-2022-0518
and 8 other vulnerabilities
GO-2022-0518 : Argo CD certificate verification is skipped for connections to OIDC providers in github.com/argoproj/argo-cd
GO-2023-1520 : JWT audience claim is not verified in github.com/argoproj/argo-cd
GO-2023-1670 : Argo CD authenticated but unauthorized users may enumerate Application names via the API in github.com/argoproj/argo-cd
GO-2023-2085 : Path traversal allows leaking out-of-bound Helm charts from Argo CD repo-server in github.com/argoproj/argo-cd
GO-2024-2646 : Cross-site scripting on application summary component in github.com/argoproj/argo-cd/v2
GO-2024-2792 : Argo CD vulnerable to a Denial of Service via malicious jqPathExpressions in ignoreDifferences in github.com/argoproj/argo-cd
GO-2024-2877 : ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache in github.com/argoproj/argo-cd
GO-2024-2898 : Argo-cd authenticated users can enumerate clusters by name in github.com/argoproj/argo-cd
GO-2024-3002 : Argo CD Unauthenticated Denial of Service (DoS) Vulnerability via /api/webhook Endpoint in github.com/argoproj/argo-cd
Discover Packages
github.com/argoproj/argo-cd/v2
util
env
package
Version:
v2.1.16
Opens a new window with list of versions in this module.
Published: Jun 21, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Documentation
Documentation
¶
ParseBoolFromEnv retrieves a boolean value from given environment envVar.
Returns default value if envVar is not set.
Helper function to parse a time duration from an environment variable. Returns a
default if env is not set, is not parseable to a duration, exceeds max (if
max is greater than 0) or is less than min.
func ParseNumFromEnv(env string , defaultValue, min, max int ) int
Helper function to parse a number from an environment variable. Returns a
default if env is not set, is not parseable to a number, exceeds max (if
max is greater than 0) or is less than min.
nolint:unparam
Source Files
¶
Click to show internal directories.
Click to hide internal directories.