Affected by GO-2022-0615
and 6 other vulnerabilities
GO-2022-0615 : Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector in github.com/hashicorp/consul
GO-2022-0953 : HashiCorp Consul Ingress Gateway Panic Can Shutdown Servers in github.com/hashicorp/consul
GO-2022-1029 : HashiCorp Consul vulnerable to authorization bypass in github.com/hashicorp/consul
GO-2023-1827 : Hashicorp Consul vulnerable to denial of service in github.com/hashicorp/consul
GO-2024-3241 : Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in github.com/hashicorp/consul
GO-2024-3242 : Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
GO-2024-3243 : Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul
Discover Packages
github.com/hashicorp/consul
sentinel
package
Version:
v1.11.1
Opens a new window with list of versions in this module.
Published: Dec 15, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 102
Opens a new window with list of known importers.
Documentation
Documentation
¶
ScopeCatalogUpsert returns the standard sentinel scope for a catalog create
or update. Service is allowed to be nil.
ScopeKVUpsert returns the standard sentinel scope for a KV create or update.
Evaluator wraps the Sentinel evaluator from the HashiCorp Sentinel policy
engine.
New returns a new instance of the Sentinel code engine. This is only available
in Consul Enterprise so this version always returns nil.
type ScopeFn func() map[string ]interface{}
ScopeFn is a callback that provides a sentinel scope. This is a callback
so that if we don't run sentinel for some reason (not enabled or a basic
policy check means we don't have to) then we don't spend the effort to make
the map.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.