Affected by GO-2022-0281
and 9 other vulnerabilities
GO-2022-0281 : Exposure of Sensitive Information to an Unauthorized Actor and Origin Validation Error in podman in github.com/containers/podman
GO-2022-0416 : Podman's default inheritable capabilities for linux container not empty in github.com/containers/podman
GO-2022-1151 : Buildah (as part of Podman) vulnerable to Link Following in github.com/containers/podman
GO-2023-1942 : Podman Symlink Vulnerability in github.com/containers/libpod
GO-2023-1962 : Podman Elevated Container Privileges in github.com/containers/podman
GO-2024-3042 : Podman vulnerable to memory-based denial of service in github.com/containers/podman
GO-2024-3169 : Improper Input Validation in Buildah and Podman in github.com/containers/buildah
GO-2025-3777 : Podman Improper Certificate Validation; machine missing TLS verification in github.com/containers/podman
GO-2025-3935 : podman kube play symlink traversal vulnerability in github.com/containers/podman
GO-2025-3961 : Podman Creates Temporary File with Insecure Permissions in github.com/containers/podman
The highest tagged major version is
v5 .
Discover Packages
github.com/containers/podman/v3
pkg
hooks
1.0.0
package
Version:
v3.4.0
Opens a new window with list of versions in this module.
Published: Sep 30, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package hook is the 1.0.0 hook configuration structure.
Version is the hook configuration version defined in this package.
type Hook struct {
Version string `json:"version"`
Hook rspec .Hook `json:"hook"`
When When `json:"when"`
Stages []string `json:"stages"`
}
Hook is the hook configuration structure.
Read reads hook JSON bytes, verifies them, and returns the hook configuration.
Validate performs load-time hook validation.
type When struct {
Always *bool `json:"always,omitempty"`
Annotations map[string ]string `json:"annotations,omitempty"`
Commands []string `json:"commands,omitempty"`
HasBindMounts *bool `json:"hasBindMounts,omitempty"`
Or bool `json:"-"`
}
When holds hook-injection conditions.
Match returns true if the given conditions match the configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.