Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

feat: Adds a pod_namespace field to pod events created by Continuous Validation, to distinguish pods with the same name that run in different namespaces #156

Merged
merged 2 commits into from
Jun 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class ContinuousValidationPodEvent(proto.Message):
r"""An auditing event for one Pod.

Attributes:
pod_namespace (str):
The k8s namespace of the Pod.
pod (str):
The name of the Pod.
deploy_time (google.protobuf.timestamp_pb2.Timestamp):
Expand Down Expand Up @@ -101,6 +103,10 @@ class AuditResult(proto.Enum):
number=3,
)

pod_namespace = proto.Field(
proto.STRING,
number=7,
)
pod = proto.Field(
proto.STRING,
number=1,
Expand Down