Method: projects.locations.securityCenterServices.list

Returns a list of all Security Command Center services for the given parent.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent to list Security Command Center services, 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.

showEligibleModulesOnly

boolean

Flag that, when set, is used to filter the module settings that are shown. The default setting is that all modules are shown.

Request body

The request body must be empty.

Response body

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

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.securityCenterServices.list

For more information, see the IAM documentation.