Affected by GO-2022-0560
and 12 other vulnerabilities
GO-2022-0560: Nomad Spread Job Stanza May Trigger Panic in Servers in github.com/hashicorp/nomad
GO-2022-0573: Improper Authentication in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0577: HashiCorp Nomad vulnerable to Allocation of Resources Without Limits or Throttling in github.com/hashicorp/nomad
GO-2022-0584: Arbitrary file reads in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0591: Privilege escalation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-0600: HashiCorp Nomad Artifact Download Race Condition in github.com/hashicorp/nomad
GO-2022-0622: Improper Privilege Management in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0709: Improper network isolation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-0732: Privilege escalation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-1062: Nomad Panics On Job Submission With Bad Artifact Stanza Source URL 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
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jan 13, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Code generated by go generate; DO NOT EDIT.
-
func FSMState(p string, plastIdx int64) (interface{}, error)
-
func FindFileInPath(file string, p string) (path string, err error)
-
func FindRaftDir(p string) (raftpath string, err error)
-
func FindRaftFile(p string) (raftpath string, err error)
-
func LogEntries(p string) (logs []interface{}, warnings []error, err error)
-
func RaftStateInfo(p string) (store *raftboltdb.BoltStore, firstIdx uint64, lastIdx uint64, err error)
FSMState returns a dump of the FSM state as found in data-dir, as of lastIndx value
FindFileInPath searches for file in path p
FindRaftDir finds raft.db and returns parent directory path
FindRaftFile finds raft.db and returns path
LogEntries returns the log entries as found in raft log in the passed data-dir directory
RaftStateInfo returns info about the nomad state, as found in the passed data-dir directory
Source Files
¶
Click to show internal directories.
Click to hide internal directories.