Affected by GO-2023-1707
and 5 other vulnerabilities
GO-2023-1707 : HashiCorp Nomad vulnerable to unauthenticated client agent HTTP request privilege escalation in github.com/hashicorp/nomad
GO-2024-2669 : API token secret ID leak to Sentinel in github.com/hashicorp/nomad
GO-2024-2670 : ACL security vulnerability in github.com/hashicorp/nomad
GO-2024-3073 : Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad
GO-2024-3262 : Hashicorp Nomad Incorrect Authorization vulnerability in github.com/hashicorp/nomad
GO-2024-3354 : Hashicorp Nomad Incorrect Privilege Assignment vulnerability in github.com/hashicorp/nomad
Discover Packages
github.com/hashicorp/nomad
helper
testtask
package
Version:
v1.5.1
Opens a new window with list of versions in this module.
Published: Mar 10, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package testtask implements a portable set of commands useful as stand-ins
for user tasks.
Path returns the path to the currently running executable.
Run interprets os.Args as a testtask script if the current program was
launched with an environment configured by SetCmdEnv or SetTaskEnv. It
returns false if the environment was not set by this package.
SetCmdEnv configures the environment of cmd so that Run executes a testtask
script when called from within cmd.
SetTaskConfigEnv configures the environment of t so that Run executes a testtask
script when called from within t.
SetTaskEnv configures the environment of t so that Run executes a testtask
script when called from within t.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.