Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 15, 2023
1 parent 291bfb8 commit 3e2ff11
Show file tree
Hide file tree
Showing 64 changed files with 74 additions and 8,690 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ module V1beta1
# @!attribute [rw] pod_event
# @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent]
# Pod event.
# @!attribute [rw] unsupported_policy_event
# @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::UnsupportedPolicyEvent]
# Unsupported policy event.
# @!attribute [rw] config_error_event
# @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ConfigErrorEvent]
# Config error event.
class ContinuousValidationEvent
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -39,6 +39,9 @@ class ContinuousValidationEvent
# @!attribute [rw] pod
# @return [::String]
# The name of the Pod.
# @!attribute [rw] policy_name
# @return [::String]
# The name of the policy.
# @!attribute [rw] deploy_time
# @return [::Google::Protobuf::Timestamp]
# Deploy time of the Pod from k8s.
Expand All @@ -65,10 +68,69 @@ class ContinuousValidationPodEvent
# @!attribute [rw] description
# @return [::String]
# Description of the above result.
# @!attribute [rw] check_results
# @return [::Array<::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::CheckResult>]
# List of check results.
class ImageDetails
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods

# @!attribute [rw] check_set_index
# @return [::String]
# The index of the check set.
# @!attribute [rw] check_set_name
# @return [::String]
# The name of the check set.
# @!attribute [rw] check_set_scope
# @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::CheckResult::CheckSetScope]
# The scope of the check set.
# @!attribute [rw] check_index
# @return [::String]
# The index of the check.
# @!attribute [rw] check_name
# @return [::String]
# The name of the check.
# @!attribute [rw] check_type
# @return [::String]
# The type of the check.
# @!attribute [rw] verdict
# @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent::ImageDetails::CheckResult::CheckVerdict]
# The verdict of this check.
# @!attribute [rw] explanation
# @return [::String]
# User-friendly explanation of this check result.
class CheckResult
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods

# A scope specifier for check sets.
# @!attribute [rw] kubernetes_service_account
# @return [::String]
# Matches a single Kubernetes service account, e.g.
# 'my-namespace:my-service-account'.
# `kubernetes_service_account` scope is always more specific than
# `kubernetes_namespace` scope for the same namespace.
# @!attribute [rw] kubernetes_namespace
# @return [::String]
# Matches all Kubernetes service accounts in the provided
# namespace, unless a more specific `kubernetes_service_account`
# scope already matched.
class CheckSetScope
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Result of evaluating one check.
module CheckVerdict
# We should always have a verdict. This is an error.
CHECK_VERDICT_UNSPECIFIED = 0

# The check was successfully evaluated and the image did not satisfy
# the check.
NON_CONFORMANT = 1
end
end

# Result of the audit.
module AuditResult
# Unspecified result. This is an error.
Expand All @@ -92,11 +154,12 @@ module PolicyConformanceVerdict
end
end

# An event describing that the project policy is unsupported by CV.
# An event describing a user-actionable configuration issue that prevents CV
# from auditing.
# @!attribute [rw] description
# @return [::String]
# A description of the unsupported policy.
class UnsupportedPolicyEvent
# A description of the issue.
class ConfigErrorEvent
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3e2ff11

Please sign in to comment.