@ -1,4 +1,4 @@
/ / Copyright 2021 Google LLC
/ / Copyright 2022 Google LLC
/ /
/ / Licensed under the Apache License , Version 2.0 ( the "License" ) ;
/ / you may not use this file except in compliance with the License.
@ -31,6 +31,15 @@ option ruby_package = "Google::Cloud::BinaryAuthorization::V1beta1";
message ContinuousValidationEvent {
/ / An auditing event for one Pod.
message ContinuousValidationPodEvent {
/ / Audit time policy conformance verdict.
enum PolicyConformanceVerdict {
/ / We should always have a verdict. This is an error.
POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0 ;
/ / The pod violates the policy.
VIOLATES_POLICY = 1 ;
}
/ / Container image with auditing details.
message ImageDetails {
/ / Result of the audit.
@ -55,14 +64,8 @@ message ContinuousValidationEvent {
string description = 3 ;
}
/ / Audit time policy conformance verdict.
enum PolicyConformanceVerdict {
/ / We should always have a verdict. This is an error.
POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0 ;
/ / The pod violates the policy.
VIOLATES_POLICY = 1 ;
}
/ / The k8s namespace of the Pod.
string pod_namespace = 7 ;
/ / The name of the Pod.
string pod = 1 ;