[[["容易理解","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-09-05 (世界標準時間)。"],[],[],null,["| Premium and Enterprise [service tiers](/security-command-center/docs/service-tiers)\n\nThis document describes a threat finding type in Security Command Center. Threat findings are generated by\n[threat detectors](/security-command-center/docs/concepts-security-sources#threats) when they detect\na potential threat in your cloud resources. For a full list of available threat findings, see [Threat findings index](/security-command-center/docs/threat-findings-index).\n\nOverview\n\nA potentially malicious actor attempted to determine what sensitive objects in\nGKE they can query for, by using the [`kubectl\nauth can-i get`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command. Specifically,\nthe actor ran any of the following commands:\n\n- `kubectl auth can-i get '*'`\n- `kubectl auth can-i get secrets`\n- `kubectl auth can-i get clusterroles/cluster-admin`\n\nHow to respond\n\nTo respond to this finding, do the following:\n\nStep 1: Review finding details\n\n1. Open the `Discovery: Can get sensitive Kubernetes object check` finding as directed in [Reviewing findings](/security-command-center/docs/how-to-investigate-threats#reviewing_findings).\n2. In the finding details, on the **Summary** tab, note the values of\n following fields:\n\n - Under **What was detected** :\n - **Kubernetes access reviews** : the requested access review information, based on the [`SelfSubjectAccessReview`](https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/) k8s resource.\n - **Principal email**: the account that made the call.\n - Under **Affected resource** :\n - **Resource display name**: the Kubernetes cluster where the action occurred.\n - Under **Related links** :\n - **Cloud Logging URI**: link to Logging entries.\n\nStep 2: Check logs\n\n1. On the **Summary tab** of the finding details panel, click the **Cloud Logging URI** link to open the **Logs Explorer**.\n2. On the page that loads, check for other actions taken by the principal by\n using the following filters:\n\n - `resource.labels.cluster_name=\"`\u003cvar class=\"edit\" translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e`\"`\n - `protoPayload.authenticationInfo.principalEmail=\"`\u003cvar class=\"edit\" translate=\"no\"\u003ePRINCIPAL_EMAIL\u003c/var\u003e`\"`\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e: the value that you noted in the\n **Resource display name** field in the finding details.\n\n - \u003cvar translate=\"no\"\u003ePRINCIPAL_EMAIL\u003c/var\u003e: the value that you noted in the\n **Principal email** field in the finding details.\n\nStep 3: Research attack and response methods\n\n1. Review MITRE ATT\\&CK framework entries for this finding type: [Discovery](https://attack.mitre.org/tactics/TA0007/)\n2. Confirm the sensitivity of the object queried and determine whether there are other signs of malicious activity by the principal in the logs.\n3. If the account that you noted in the **Principal email** row in the\n [finding details](#discovery_gke_findings) is not a service account,\n contact the owner of the account to confirm whether the legitimate owner\n conducted the action.\n\n If the principal email is a service account (IAM or\n Kubernetes), identify the source of the access review to determine its\n legitimacy.\n4. To develop a response plan, combine your investigation results with\n MITRE research.\n\nWhat's next\n\n- Learn [how to work with threat\n findings in Security Command Center](/security-command-center/docs/how-to-investigate-threats).\n- Refer to the [Threat findings index](/security-command-center/docs/threat-findings-index).\n- Learn how to [review a\n finding](/security-command-center/docs/how-to-investigate-threats#reviewing_findings) through the Google Cloud console.\n- Learn about the [services that\n generate threat findings](/security-command-center/docs/concepts-security-sources#threats)."]]