Class: Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb

Overview

An auditing event for one Pod.

Defined Under Namespace

Modules: PolicyConformanceVerdict Classes: ImageDetails

Instance Attribute Summary collapse

Instance Attribute Details

#deploy_time::Google::Protobuf::Timestamp

Returns Deploy time of the Pod from k8s.

Returns:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb', line 51

class ContinuousValidationPodEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Container image with auditing details.
  # @!attribute [rw] image
  #   @return [::String]
  #     The name of the image.
  # @!attribute [rw] result
  #   @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::AuditResult]
  #     The result of the audit for this image.
  # @!attribute [rw] description
  #   @return [::String]
  #     Description of the above result.
  class ImageDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Result of the audit.
    module AuditResult
      # Unspecified result. This is an error.
      AUDIT_RESULT_UNSPECIFIED = 0

      # Image is allowed.
      ALLOW = 1

      # Image is denied.
      DENY = 2
    end
  end

  # Audit time policy conformance verdict.
  module PolicyConformanceVerdict
    # We should always have a verdict. This is an error.
    POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0

    # The pod violates the policy.
    VIOLATES_POLICY = 1
  end
end

#end_time::Google::Protobuf::Timestamp

Returns Termination time of the Pod from k8s, or nothing if still running.

Returns:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb', line 51

class ContinuousValidationPodEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Container image with auditing details.
  # @!attribute [rw] image
  #   @return [::String]
  #     The name of the image.
  # @!attribute [rw] result
  #   @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::AuditResult]
  #     The result of the audit for this image.
  # @!attribute [rw] description
  #   @return [::String]
  #     Description of the above result.
  class ImageDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Result of the audit.
    module AuditResult
      # Unspecified result. This is an error.
      AUDIT_RESULT_UNSPECIFIED = 0

      # Image is allowed.
      ALLOW = 1

      # Image is denied.
      DENY = 2
    end
  end

  # Audit time policy conformance verdict.
  module PolicyConformanceVerdict
    # We should always have a verdict. This is an error.
    POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0

    # The pod violates the policy.
    VIOLATES_POLICY = 1
  end
end

#images::Array<::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails>

Returns List of images with auditing details.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb', line 51

class ContinuousValidationPodEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Container image with auditing details.
  # @!attribute [rw] image
  #   @return [::String]
  #     The name of the image.
  # @!attribute [rw] result
  #   @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::AuditResult]
  #     The result of the audit for this image.
  # @!attribute [rw] description
  #   @return [::String]
  #     Description of the above result.
  class ImageDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Result of the audit.
    module AuditResult
      # Unspecified result. This is an error.
      AUDIT_RESULT_UNSPECIFIED = 0

      # Image is allowed.
      ALLOW = 1

      # Image is denied.
      DENY = 2
    end
  end

  # Audit time policy conformance verdict.
  module PolicyConformanceVerdict
    # We should always have a verdict. This is an error.
    POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0

    # The pod violates the policy.
    VIOLATES_POLICY = 1
  end
end

#pod::String

Returns The name of the Pod.

Returns:

  • (::String)

    The name of the Pod.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb', line 51

class ContinuousValidationPodEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Container image with auditing details.
  # @!attribute [rw] image
  #   @return [::String]
  #     The name of the image.
  # @!attribute [rw] result
  #   @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::AuditResult]
  #     The result of the audit for this image.
  # @!attribute [rw] description
  #   @return [::String]
  #     Description of the above result.
  class ImageDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Result of the audit.
    module AuditResult
      # Unspecified result. This is an error.
      AUDIT_RESULT_UNSPECIFIED = 0

      # Image is allowed.
      ALLOW = 1

      # Image is denied.
      DENY = 2
    end
  end

  # Audit time policy conformance verdict.
  module PolicyConformanceVerdict
    # We should always have a verdict. This is an error.
    POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0

    # The pod violates the policy.
    VIOLATES_POLICY = 1
  end
end

#verdict::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::PolicyConformanceVerdict

Returns Auditing verdict for this Pod.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.rb', line 51

class ContinuousValidationPodEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Container image with auditing details.
  # @!attribute [rw] image
  #   @return [::String]
  #     The name of the image.
  # @!attribute [rw] result
  #   @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::AuditResult]
  #     The result of the audit for this image.
  # @!attribute [rw] description
  #   @return [::String]
  #     Description of the above result.
  class ImageDetails
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Result of the audit.
    module AuditResult
      # Unspecified result. This is an error.
      AUDIT_RESULT_UNSPECIFIED = 0

      # Image is allowed.
      ALLOW = 1

      # Image is denied.
      DENY = 2
    end
  end

  # Audit time policy conformance verdict.
  module PolicyConformanceVerdict
    # We should always have a verdict. This is an error.
    POLICY_CONFORMANCE_VERDICT_UNSPECIFIED = 0

    # The pod violates the policy.
    VIOLATES_POLICY = 1
  end
end