Cloud Run Threat Detection 是 Security Command Center 的一项内置服务,可持续监控 Cloud Run 资源的状态,以检测最常见的运行时攻击。如果 Cloud Run Threat Detection 检测到攻击,它会在 Security Command Center 中近乎实时地生成发现结果。
Cloud Run Threat Detection 的运行时检测器会监控扫描的资源以查找可疑的二进制文件和库,并使用自然语言处理 (NLP) 来检测恶意 Bash 和 Python 代码。这些运行时检测器仅支持在第二代执行环境中运行的 Cloud Run 资源。如果您未指定执行环境但启用了 Cloud Run 威胁检测,Cloud Run 会默认将您的资源设置为第二代执行环境。
如需了解如何在 Cloud Run 资源中配置威胁检测,请参阅 Security Command Center 文档中的使用 Cloud Run 威胁检测。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# Use Cloud Run Threat Detection\n\n| **Preview\n| --- Cloud Run Threat Detection**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n[Cloud Run Threat Detection](/security-command-center/docs/cloud-run-threat-detection-overview)\nis a built-in service of Security Command Center that continuously monitors the state of\nCloud Run resources to detect the most common runtime attacks. If\nCloud Run Threat Detection detects an attack, it generates a\nfinding in Security Command Center in near-real time.\n\nCloud Run Threat Detection's runtime detectors monitor the scanned resources for suspicious\nbinaries and libraries and uses natural language processing (NLP) to detect\nmalicious Bash and Python code. These runtime detectors support only\nCloud Run resources that run on the [second generation execution environment](/run/docs/about-execution-environments).\nIf you don't specify an execution environment and use Cloud Run Threat Detection,\nCloud Run sets the second generation environment by default for\nyour resources.\n\nFor instructions on how to configure threat detection in your Cloud Run\nresources, see [Use Cloud Run Threat Detection](/security-command-center/docs/use-cloud-run-threat-detection)\nin the Security Command Center documentation."]]