File tree Expand file tree Collapse file tree
google/cloud/binaryauthorization/v1beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,23 @@ message ContinuousValidationEvent {
4242
4343 // Container image with auditing details.
4444 message ImageDetails {
45+ // The container type.
46+ enum ContainerType {
47+ // The container type should always be specified. This is an error.
48+ CONTAINER_TYPE_UNSPECIFIED = 0 ;
49+
50+ // A regular deployment.
51+ CONTAINER = 1 ;
52+
53+ // Init container defined as specified at
54+ // https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
55+ INIT_CONTAINER = 2 ;
56+
57+ // Ephemeral container defined as specified at
58+ // https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
59+ EPHEMERAL_CONTAINER = 3 ;
60+ }
61+
4562 // Result of the audit.
4663 enum AuditResult {
4764 // Unspecified result. This is an error.
@@ -109,6 +126,12 @@ message ContinuousValidationEvent {
109126 // The name of the image.
110127 string image = 1 ;
111128
129+ // The name of the container.
130+ string container_name = 5 ;
131+
132+ // The container type that this image belongs to.
133+ ContainerType container_type = 6 ;
134+
112135 // The result of the audit for this image.
113136 AuditResult result = 2 ;
114137
You can’t perform that action at this time.
0 commit comments