REST Resource: projects.locations.securityCenterServices
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:SecurityCenterService
表示特定的 Security Command Center 服务。这包括顶级启用等设置信息,以及各个模块设置。您可以在组织、文件夹或项目级配置服务设置。组织或文件夹级的服务设置会被子文件夹和项目继承。
JSON 表示法 |
{
"name": string,
"intendedEnablementState": enum (EnablementState ),
"effectiveEnablementState": enum (EnablementState ),
"modules": {
string: {
object (ModuleSettings )
},
...
},
"updateTime": string,
"serviceConfig": {
object
}
} |
字段 |
name |
string
标识符。服务的名称,采用以下某种格式:
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
|
intendedEnablementState |
enum (EnablementState )
可选。服务在资源层次结构中相应级别的预期启用状态。DISABLED 状态会将所有模块启用状态替换为 DISABLED 。
|
effectiveEnablementState |
enum (EnablementState )
仅限输出。服务在资源层次结构中相应级别的有效启用状态。如果将预期状态设置为 INHERITED ,有效状态将从祖先的启用状态继承。此状态可能会因结算资格或新手入门状态而与预期的启用状态不同。
|
modules |
map (key: string, value: object (ModuleSettings ))
可选。模块配置,包括服务模块的启用状态。如果映射中没有某个模块,则表示其配置是从其父级继承的。 包含一系列 "key": value 对的对象。示例:{ "name": "wrench", "mass": "1.3kg", "count": "3" } 。
|
updateTime |
string (Timestamp format)
仅限输出。服务上次更新的时间。这可能是因为用户明确更新了订阅,也可能是因为其他系统更改(例如结算订阅到期)的副作用。 采用 RFC 3339 标准,生成的输出将始终在末尾带 Z,并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30"
|
serviceConfig |
object (Struct format)
可选。其他服务专用配置。并非所有服务都会使用此字段。
|
方法 |
|
获取指定 Security Command Center 服务的服务设置。 |
|
返回指定父级的所有安全控制台服务的列表。 |
|
使用给定的更新掩码更新 Security Command Center 服务。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-10。
[[["易于理解","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-04-10。"],[],[]]