- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`ancestors
Type: UNORDERED_LIST_STRING
description
Type: STRING
Provider name: description
Description: Optional. A description comment about the policy.
etag
Type: STRING
Provider name: etag
Description: Optional. Used to prevent updating the policy when another request has updated it since it was retrieved.
gke_policy
Type: STRUCT
Provider name: gkePolicy
Description: Optional. GKE platform-specific policy.
check_sets
UNORDERED_LIST_STRUCT
checkSets
CheckSet
objects to apply, scoped by namespace or namespace and service account. Exactly one CheckSet
will be evaluated for a given Pod (unless the list is empty, in which case the behavior is “always allow”). If multiple CheckSet
objects have scopes that match the namespace and service account of the Pod being evaluated, only the CheckSet
with the MOST SPECIFIC scope will match. CheckSet
objects must be listed in order of decreasing specificity, i.e. if a scope matches a given service account (which must include the namespace), it must come before a CheckSet
with a scope matching just that namespace. This property is enforced by server-side validation. The purpose of this restriction is to ensure that if more than one CheckSet
matches a given Pod, the CheckSet
that will be evaluated will always be the first in the list to match (because if any other matches, it must be less specific). If check_sets
is empty, the default behavior is to allow all images. If check_sets
is non-empty, the last check_sets
entry must always be a CheckSet
with no scope set, i.e. a catchall to handle any situation not caught by the preceding CheckSet
objects.checks
UNORDERED_LIST_STRUCT
checks
checks
evaluates to “allow”. If checks
is empty, the default behavior is “always allow”.always_deny
BOOLEAN
alwaysDeny
CheckSet
applies and the image isn’t exempted by an image allowlist. This check is primarily useful for testing, or to set the default behavior for all unmatched scopes to “deny”.gcp_display_name
STRING
displayName
image_allowlist
STRUCT
imageAllowlist
allow_pattern
UNORDERED_LIST_STRING
allowPattern
image_freshness_check
STRUCT
imageFreshnessCheck
max_upload_age_days
INT32
maxUploadAgeDays
sigstore_signature_check
STRUCT
sigstoreSignatureCheck
sigstore_authorities
UNORDERED_LIST_STRUCT
sigstoreAuthorities
gcp_display_name
STRING
displayName
SigstoreAuthority
. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.public_key_set
STRUCT
publicKeySet
public_keys
UNORDERED_LIST_STRUCT
publicKeys
public_keys
must have at least one entry.public_key_pem
STRING
publicKeyPem
simple_signing_attestation_check
STRUCT
simpleSigningAttestationCheck
attestation_authenticators
UNORDERED_LIST_STRUCT
attestationAuthenticators
gcp_display_name
STRING
displayName
AttestationAuthenticator
. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.pkix_public_key_set
STRUCT
pkixPublicKeySet
pkix_public_keys
UNORDERED_LIST_STRUCT
pkixPublicKeys
pkix_public_keys
must have at least one entry.key_id
STRING
keyId
key_id
field exactly. The ID may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If key_id
is left blank and this PkixPublicKey
is not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If this PkixPublicKey
is used in the context of a wrapper that has its own notion of key ID (e.g. AttestorPublicKey
), then this field can either match that value exactly, or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.public_key_pem
STRING
publicKeyPem
signature_algorithm
STRING
signatureAlgorithm
public_key_pem
(i.e. this algorithm must match that of the public key).SIGNATURE_ALGORITHM_UNSPECIFIED
- Not specified.RSA_PSS_2048_SHA256
- RSASSA-PSS 2048 bit key with a SHA256 digest.RSA_SIGN_PSS_2048_SHA256
- RSASSA-PSS 2048 bit key with a SHA256 digest.RSA_PSS_3072_SHA256
- RSASSA-PSS 3072 bit key with a SHA256 digest.RSA_SIGN_PSS_3072_SHA256
- RSASSA-PSS 3072 bit key with a SHA256 digest.RSA_PSS_4096_SHA256
- RSASSA-PSS 4096 bit key with a SHA256 digest.RSA_SIGN_PSS_4096_SHA256
- RSASSA-PSS 4096 bit key with a SHA256 digest.RSA_PSS_4096_SHA512
- RSASSA-PSS 4096 bit key with a SHA512 digest.RSA_SIGN_PSS_4096_SHA512
- RSASSA-PSS 4096 bit key with a SHA512 digest.RSA_SIGN_PKCS1_2048_SHA256
- RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.RSA_SIGN_PKCS1_3072_SHA256
- RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.RSA_SIGN_PKCS1_4096_SHA256
- RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.RSA_SIGN_PKCS1_4096_SHA512
- RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.ECDSA_P256_SHA256
- ECDSA on the NIST P-256 curve with a SHA256 digest.EC_SIGN_P256_SHA256
- ECDSA on the NIST P-256 curve with a SHA256 digest.ECDSA_P384_SHA384
- ECDSA on the NIST P-384 curve with a SHA384 digest.EC_SIGN_P384_SHA384
- ECDSA on the NIST P-384 curve with a SHA384 digest.ECDSA_P521_SHA512
- ECDSA on the NIST P-521 curve with a SHA512 digest.EC_SIGN_P521_SHA512
- ECDSA on the NIST P-521 curve with a SHA512 digest.container_analysis_attestation_projects
UNORDERED_LIST_STRING
containerAnalysisAttestationProjects
projects/[PROJECT_ID]
. Only one attestation needs to successfully verify an image for this check to pass, so a single verified attestation found in any of container_analysis_attestation_projects
is sufficient for the check to pass. A project ID must be used, not a project number. When fetching Occurrences from Container Analysis, only AttestationOccurrence
kinds are considered. In the future, additional Occurrence kinds may be added to the query. Maximum number of container_analysis_attestation_projects
allowed in each SimpleSigningAttestationCheck
is 10.slsa_check
STRUCT
slsaCheck
rules
UNORDERED_LIST_STRUCT
rules
attestation_source
STRUCT
attestationSource
container_analysis_attestation_projects
UNORDERED_LIST_STRING
containerAnalysisAttestationProjects
projects/[PROJECT_ID]
. Maximum number of container_analysis_attestation_projects
allowed in each AttestationSource
is 10.config_based_build_required
BOOLEAN
configBasedBuildRequired
trusted_source_repo_patterns
specifies the repositories containing this configuration.custom_constraints
STRING
customConstraints
trusted_builder
STRING
trustedBuilder
BUILDER_UNSPECIFIED
- Should never happen.GOOGLE_CLOUD_BUILD
- The whole Google Cloud Build (GCB) builder group, including all GCB builder types.trusted_source_repo_patterns
UNORDERED_LIST_STRING
trustedSourceRepoPatterns
https://
). The patterns must not include schemes. For example, the pattern source.cloud.google.com/my-project/my-repo-name
matches the following URLs: - source.cloud.google.com/my-project/my-repo-name
- git+ssh://source.cloud.google.com/my-project/my-repo-name
- https://source.cloud.google.com/my-project/my-repo-name
A pattern matches a URL either exactly or with *
wildcards. *
can be used in only two ways: 1. trailing *
after hosturi/ to match varying endings; 2. trailing **
after hosturi/ to match /
as well. *
and **
can only be used as wildcards and can only occur at the end of the pattern after a /
. (So it’s not possible to match a URL that contains literal *
.) For example: - github.com/my-project/my-repo
is valid to match a single repo - github.com/my-project/*
will match all direct repos in my-project
- github.com/**
matches all repos in GitHubtrusted_directory_check
STRUCT
trustedDirectoryCheck
trusted_dir_patterns
UNORDERED_LIST_STRING
trustedDirPatterns
us.pkg.dev
, or gcr.io
. Additionally, *
can be used in three ways as wildcards: 1. leading *
to match varying prefixes in registry subdomain (useful for location prefixes); 2. trailing *
after registry/ to match varying endings; 3. trailing **
after registry/ to match “/” as well. For example: – gcr.io/my-project/my-repo
is valid to match a single directory – *-docker.pkg.dev/my-project/my-repo
or *.gcr.io/my-project
are valid to match varying prefixes – gcr.io/my-project/*
will match all direct directories in my-project
– gcr.io/my-project/**
would match all directories in my-project
– gcr.i*
is not allowed since the registry is not completely specified – sub*domain.gcr.io/nginx
is not valid because only leading *
or trailing *
are allowed. – *pkg.dev/my-project/my-repo
is not valid because leading *
can only match subdomain – **-docker.pkg.dev
is not valid because one leading *
is allowed, and that it cannot match /
vulnerability_check
STRUCT
vulnerabilityCheck
allowed_cves
UNORDERED_LIST_STRING
allowedCves
maximumUnfixableSeverity
or maximumFixableSeverity
. CVEs are listed in the format of Container Analysis note id. For example: - CVE-2021-20305 - CVE-2020-10543 The CVEs are applicable regardless of note provider project, e.g., an entry of CVE-2021-20305
will allow vulnerabilities with a note name of either projects/goog-vulnz/notes/CVE-2021-20305
or projects/CUSTOM-PROJECT/notes/CVE-2021-20305
.blocked_cves
UNORDERED_LIST_STRING
blockedCves
maximumUnfixableSeverity
or maximumFixableSeverity
. CVEs are listed in the format of Container Analysis note id. For example: - CVE-2021-20305 - CVE-2020-10543 The CVEs are applicable regardless of note provider project, e.g., an entry of CVE-2021-20305
will block vulnerabilities with a note name of either projects/goog-vulnz/notes/CVE-2021-20305
or projects/CUSTOM-PROJECT/notes/CVE-2021-20305
.container_analysis_vulnerability_projects
UNORDERED_LIST_STRING
containerAnalysisVulnerabilityProjects
projects/[PROJECT_ID]
, e.g., projects/my-gcp-project
. An attempt will be made for each project to fetch vulnerabilities, and all valid vulnerabilities will be used to check against the vulnerability policy. If no valid scan is found in all projects configured here, an error will be returned for the check. Maximum number of container_analysis_vulnerability_projects
allowed in each VulnerabilityCheck
is 10.maximum_fixable_severity
STRING
maximumFixableSeverity
MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED
- Not specified.BLOCK_ALL
- Block any vulnerability.MINIMAL
- Allow only minimal severity.LOW
- Allow only low severity and lower.MEDIUM
- Allow medium severity and lower.HIGH
- Allow high severity and lower.CRITICAL
- Allow critical severity and lower.ALLOW_ALL
- Allow all severity, even vulnerability with unspecified severity.maximum_unfixable_severity
STRING
maximumUnfixableSeverity
MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED
- Not specified.BLOCK_ALL
- Block any vulnerability.MINIMAL
- Allow only minimal severity.LOW
- Allow only low severity and lower.MEDIUM
- Allow medium severity and lower.HIGH
- Allow high severity and lower.CRITICAL
- Allow critical severity and lower.ALLOW_ALL
- Allow all severity, even vulnerability with unspecified severity.gcp_display_name
STRING
displayName
CheckSet
. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.image_allowlist
STRUCT
imageAllowlist
CheckSet
. If any of the patterns match the image being evaluated, no checks in the CheckSet
will be evaluated.allow_pattern
UNORDERED_LIST_STRING
allowPattern
scope
STRUCT
scope
CheckSet
applies. If unset or an empty string (the default), applies to all namespaces and service accounts. See the Scope
message documentation for details on scoping rules.kubernetes_namespace
STRING
kubernetesNamespace
kubernetes_service_account
scope already matched.kubernetes_service_account
STRING
kubernetesServiceAccount
my-namespace:my-service-account
. kubernetes_service_account
scope is always more specific than kubernetes_namespace
scope for the same namespace.image_allowlist
STRUCT
imageAllowlist
allow_pattern
UNORDERED_LIST_STRING
allowPattern
labels
Type: UNORDERED_LIST_STRING
name
Type: STRING
Provider name: name
Description: Output only. The relative resource name of the Binary Authorization platform policy, in the form of projects/*/platforms/*/policies/*
.
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
resource_name
Type: STRING
tags
Type: UNORDERED_LIST_STRING
update_time
Type: TIMESTAMP
Provider name: updateTime
Description: Output only. Time when the policy was last updated.