Method: projects.locations.securityHealthAnalyticsCustomModules.listDescendant

Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent's CRM descendants.

HTTP request

GET https://securitycentermanagement.googleapis.com/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

pageToken

string

Optional. A token identifying a page of results the server should return.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListDescendantSecurityHealthAnalyticsCustomModulesResponse.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • securitycentermanagement.securityHealthAnalyticsCustomModules.list

For more information, see the IAM documentation.