---
title: "POST /v1/{+parent}/customModules"
method: POST
path: "/v1/{+parent}/customModules"
tags: ["organizations"]
---

# POST /v1/{+parent}/customModules

`POST /v1/{+parent}/customModules`

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
  - `enablementState` 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' | 'INHERITED'
  - `displayName` string
  - `name` string
  - `lastEditor` string
  - `cloudProvider` 'CLOUD_PROVIDER_UNSPECIFIED' | 'GOOGLE_CLOUD_PLATFORM' | 'AMAZON_WEB_SERVICES' | 'MICROSOFT_AZURE'
  - `ancestorModule` string
  - `customConfig` GoogleCloudSecuritycenterV1CustomConfig
    - `customOutput` GoogleCloudSecuritycenterV1CustomOutputSpec
      - `properties` GoogleCloudSecuritycenterV1Property[]
        - `name` string
        - `valueExpression` Expr
          - `expression` string
          - `description` string
          - `location` string
          - `title` string
    - `recommendation` string
    - `resourceSelector` GoogleCloudSecuritycenterV1ResourceSelector
      - `resourceTypes` string[]
    - `predicate` Expr
      - `expression` string
      - `description` string
      - `location` string
      - `title` string
    - `severity` 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'
    - `description` string
  - `updateTime` string, google-datetime

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/securitycenter.md) · [All operations](https://skmtc.net/google/apis/securitycenter/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/securitycenter/versions/1dddf1287cd1/schema)
