resource.type="k8s_cluster"
(protoPayload.methodName="io.k8s.core.v1.pods.create" OR
protoPayload.methodName="io.k8s.core.v1.pods.update")
protoPayload.response.status="Failure"
ドライランのログエントリを表示する
Cloud Audit Logs で、ドライランを有効にした Pod の作成または更新に関連するエントリを検索するには、次のクエリを使用します。
resource.type="k8s_cluster"
(protoPayload.methodName="io.k8s.core.v1.pods.create" OR
protoPayload.methodName="io.k8s.core.v1.pods.update")
labels."binaryauthorization.googleapis.com/dry-run"="true"
ブレークグラスのログエントリを表示する
Cloud Audit Logs で、ブレークグラスを有効にした Pod の作成または更新に関連するエントリを検索するには、次のクエリを使用します。
resource.type="k8s_cluster"
(protoPayload.methodName="io.k8s.core.v1.pods.create" OR
protoPayload.methodName="io.k8s.core.v1.pods.update")
(labels."binaryauthorization.googleapis.com/break-glass"="true" OR
protoPayload.request.metadata.labels."image-policy.k8s.io/break-glass"="true")
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-04-01 UTC。"],[[["This guide explains how to view log entries generated by Binary Authorization for Google Distributed Cloud, which are valuable for system troubleshooting."],["You must configure your Distributed Cloud user cluster to forward log entries to Cloud Audit Logs, but you can also view local audit logs if forwarding is not set up."],["Cloud Audit Logs can be queried via the Google Cloud console or the Cloud Audit Logs API."],["Specific queries are provided to find log entries for rejected deployments, dry run operations, and breakglass events, each using unique filters."],["To successfully query the logs, ensure you select the correct Google Cloud project and the `externalaudit.googleapis.com` log, as well as the appropriate time period when events occurred."]]],[]]