Affected by GO-2022-0457
and 11 other vulnerabilities
GO-2022-0457 : Access to Unix domain socket can lead to privileges escalation in Cilium in github.com/cilium/cilium
GO-2022-0458 : Improper Privilege Management in Cilium in github.com/cilium/cilium
GO-2022-0959 : Network Policies & (Clusterwide) Cilium Network Policies with namespace label selectors may unexpectedly select pods with maliciously crafted labels in github.com/cilium/cilium
GO-2023-1643 : Potential network policy bypass when routing IPv6 traffic in github.com/cilium/cilium
GO-2023-1730 : Debug mode leaks confidential data in Cilium in github.com/cilium/cilium
GO-2023-1785 : Potential HTTP policy bypass when using header rules in Cilium in github.com/cilium/cilium
GO-2023-2078 : Kubernetes users may update Pod labels to bypass network policy in github.com/cilium/cilium
GO-2023-2079 : Specific Cilium configurations vulnerable to DoS via Kubernetes annotations in github.com/cilium/cilium
GO-2023-2080 : Cilium vulnerable to bypass of namespace restrictions in CiliumNetworkPolicy in github.com/cilium/cilium
GO-2024-2656 : Unencrypted traffic between nodes with IPsec in github.com/cilium/cilium
GO-2024-2666 : Insecure IPsec transparent encryption in github.com/cilium/cilium
GO-2024-3072 : Policy bypass for Host Firewall policy due to race condition in Cilium agent in github.com/cilium/cilium
Discover Packages
github.com/cilium/cilium
pkg
api
metrics
mock
package
Version:
v1.9.0-rc2
Opens a new window with list of versions in this module.
Published: Oct 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type MockMetrics struct {
}
MockMetrics is a mock implementation of pkg/api/metrics
NewMockMetrics returns a new metrics implementation with a mocked backend
APICall returns the sum of all durations of all API for a given operation
and status
ObserveAPICall must be called on every API call made with the operation
performed, the status code received and the duration of the call. The
duration of the API call will be observed. The total can be retrieved with
APICall().
ObserveRateLimit must be called in case an API call was subject to rate
limiting. The duration of the rate-limiting will be observed. The taotal of
all durations can be retrieve with RateLimit().
RateLimit returns the sum of all rate limited durations of all API for a
given operation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.