Method: projects.locations.securityHealthAnalyticsCustomModules.listDescendant

Returns a list of all resident SecurityHealthAnalyticsCustomModule resources under the given organization, folder, or project and all of its 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 the parent organization, folder, or project in which to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • 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 pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

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.