Method: folders.locations.securityCenterServices.get

获取指定 Security Command Center 服务的服务设置。

HTTP 请求

GET https://securitycentermanagement.googleapis.com/v1/{name=folders/*/locations/*/securityCenterServices/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。要检索的 Security Command Center 服务,格式为以下任一格式:

  • organizations/{organization}/locations/{location}/securityCenterServices/{service}
  • folders/{folder}/locations/{location}/securityCenterServices/{service}
  • projects/{project}/locations/{location}/securityCenterServices/{service}

{service} 的有效值如下:

  • container-threat-detection
  • event-threat-detection
  • security-health-analytics
  • vm-threat-detection
  • web-security-scanner
  • vm-threat-detection-aws
  • cloud-run-threat-detection

查询参数

参数
showEligibleModulesOnly

boolean

设置为 true 可仅显示范围内的模块。默认情况下,系统会显示所有模块。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 SecurityCenterService 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 name 资源的以下 IAM 权限:

  • securitycentermanagement.securityCenterServices.get

如需了解详情,请参阅 IAM 文档