Class ImageDetails (1.8.0)

ImageDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Container image with auditing details.

Attributes

NameDescription
image str
The name of the image.
container_name str
The name of the container.
container_type google.cloud.binaryauthorization_v1beta1.types.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType
The container type that this image belongs to.
result google.cloud.binaryauthorization_v1beta1.types.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult
The result of the audit for this image.
description str
Description of the above result.
check_results MutableSequence[google.cloud.binaryauthorization_v1beta1.types.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult]
List of check results.

Classes

AuditResult

AuditResult(value)

Result of the audit.

Values: AUDIT_RESULT_UNSPECIFIED (0): Unspecified result. This is an error. ALLOW (1): Image is allowed. DENY (2): Image is denied.

CheckResult

CheckResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ContainerType

ContainerType(value)

The container type.

Values: CONTAINER_TYPE_UNSPECIFIED (0): The container type should always be specified. This is an error. CONTAINER (1): A regular deployment. INIT_CONTAINER (2): Init container defined as specified at https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ EPHEMERAL_CONTAINER (3): Ephemeral container defined as specified at https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/