Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [container] Add preview support for monitoring a cluster's pods for compliance with a provided Binary Authorization platform policy via Binary Authorization Continuous Validation #4541

Merged
merged 2 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,21 @@ message BinaryAuthorization {
// project's singleton policy. This is equivalent to setting the
// enabled boolean to true.
PROJECT_SINGLETON_POLICY_ENFORCE = 2;

// Use Binary Authorization with the policies specified in policy_bindings.
POLICY_BINDINGS = 5;

// Use Binary Authorization with the policies specified in policy_bindings,
// and also with the project's singleton policy in enforcement mode.
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE = 6;
}

// Binauthz policy that applies to this cluster.
message PolicyBinding {
// The relative resource name of the binauthz platform policy to audit. GKE
// platform policies have the following format:
// `projects/{project_number}/platforms/gke/policies/{policy_id}`.
optional string name = 1;
}

// This field is deprecated. Leave this unset and instead configure
Expand All @@ -1740,6 +1755,10 @@ message BinaryAuthorization {
// Mode of operation for binauthz policy evaluation. If unspecified, defaults
// to DISABLED.
EvaluationMode evaluation_mode = 2;

// Optional. Binauthz policies that apply to this cluster.
repeated PolicyBinding policy_bindings = 5
[(google.api.field_behavior) = OPTIONAL];
}

// Configuration for the PodSecurityPolicy feature.
Expand Down
110 changes: 109 additions & 1 deletion packages/google-container/protos/protos.d.ts

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

Loading