Affected by GO-2022-1105
and 8 other vulnerabilities
GO-2022-1105 : HashiCorp Nomad vulnerable to non-sensitive metadata exposure in github.com/hashicorp/nomad
GO-2022-1106 : HashiCorp Nomad vulnerable to Insufficient Session Expiration in github.com/hashicorp/nomad
GO-2023-1581 : Uncontrolled Resource Consumption in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2023-1899 : Hashicorp Nomad ACLs Cannot Deny Access to Workload’s Own Variables 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
client
logmon
logging
package
Version:
v1.4.1
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 19
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FileRotator struct {
MaxFiles int
FileSize int64
}
FileRotator writes bytes to a rotated set of files
NewFileRotator returns a new file rotator
Close flushes and closes the rotator. It never returns an error.
Write writes a byte array to a file and rotates the file if it's size becomes
equal to the maximum size the user has defined.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.