REST Resource: organizations.locations.effectiveEventThreatDetectionCustomModules

资源:EffectiveEventThreatDetectionCustomModule

给定级别的 EventThreatDetectionCustomModule 表示法,会考虑层次结构并相应地解析各种字段。例如,如果模块在祖先级别处于启用状态,则所有后代级别的有效模块的启用状态都将设为 ENABLED。同样,如果设置了 module.inherited,则有效模块的配置将反映祖先模块的配置。

JSON 表示法
{
  "name": string,
  "config": {
    object
  },
  "enablementState": enum (EnablementState),
  "type": string,
  "displayName": string,
  "description": string
}
字段
name

string

标识符。Event Threat Detection 自定义模块的资源名称,采用以下格式之一:

  • organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}
  • folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}
  • projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}
config

object (Struct format)

仅限输出。有效模块的配置。

enablementState

enum (EnablementState)

仅限输出。在给定层次结构级别的模块的有效启用状态。

type

string

仅限输出。模块的类型(例如 CONFIGURABLE_BAD_IP)。

displayName

string

仅限输出。模块的直观易懂的名称。

description

string

仅限输出。模块的说明。

方法

get

获取给定级别有效的 Event Threat Detection 自定义模块。

list

列出指定父级的所有有效 Event Threat Detection 自定义模块。