Affected by GO-2022-0495
and 17 other vulnerabilities
GO-2022-0495 : DoS through large manifest files in Argo CD in github.com/argoproj/argo-cd
GO-2022-0497 : Insecure entropy in Argo CD's PKCE/Oauth2/OIDC params in github.com/argoproj/argo-cd
GO-2022-0498 : Argo CD's external URLs for Deployments can include JavaScript in github.com/argoproj/argo-cd
GO-2022-0499 : Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server in github.com/argoproj/argo-cd
GO-2022-0517 : Argo CD SSO users vulnerable to Cross-site Scripting in github.com/argoproj/argo-cd
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-1577 : Users with any cluster secret update access may update out-of-bounds cluster secrets 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-2049 : Argo CD cluster secret might leak in cluster details page in github.com/argoproj/argo-cd
GO-2023-2050 : Argo CD repo-server Denial of Service vulnerability 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-2667 : Out of memory crash from malicious Helm registry in github.com/argoproj/argo-cd/v2
GO-2024-2728 : Argo CD's API server does not enforce project sourceNamespaces in github.com/argoproj/argo-cd
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.4.0
Opens a new window with list of versions in this module.
Published: Jun 10, 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.
Jump to ...
Documentation
Index
Constants
Variables
Functions
ParseBoolFromEnv(envVar, defaultValue)
ParseDurationFromEnv(env, defaultValue, min, max)
ParseFloatFromEnv(env, defaultValue, min, max)
ParseInt64FromEnv(env, defaultValue, min, max)
ParseNumFromEnv(env, defaultValue, min, max)
StringFromEnv(env, defaultValue)
Types
Source Files
Documentation
Documentation
¶
func ParseBoolFromEnv(envVar string, defaultValue bool) bool
func ParseDurationFromEnv(env string, defaultValue, min, max time.Duration) time.Duration
func ParseFloatFromEnv(env string, defaultValue, min, max float32) float32
func ParseInt64FromEnv(env string, defaultValue, min, max int64) int64
func ParseNumFromEnv(env string, defaultValue, min, max int) int
func StringFromEnv(env string, defaultValue string) string
ParseBoolFromEnv retrieves a boolean value from given environment envVar.
Returns default value if envVar is not set.
nolinit:unparam
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.
nolinit:unparam
Helper function to parse a float32 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 (and min is greater than 0).
nolint:unparam
Helper function to parse a int64 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
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.