---
title: "GET /v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant"
method: GET
path: "/v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant"
tags: ["folders"]
---

# GET /v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant

`GET /v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant`

## Request

- Base URL: `https://securitycenter.googleapis.com`
- URL: `https://securitycenter.googleapis.com/v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/securitycenter`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/securitycenter`

## Path parameters

- `foldersId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

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

## Changes

- **2026-11-14** `c55a92eb682a`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/securitycenter` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/securitycenter` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/securitycenter/changes/v1/folders/:foldersId/securityHealthAnalyticsSettings/customModules:listDescendant/get.md)

---

[API](https://skmtc.dev/google/apis/securitycenter.md) - [All operations](https://skmtc.dev/google/apis/securitycenter/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/securitycenter/revisions/c55a92eb682a?raw)
