Method: projects.sources.list

Lists all sources belonging to an organization.

HTTP request

GET https://securitycenter.googleapis.com/v1/{parent=projects/*}/sources

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]", "folders/[folder_id]", or "projects/[projectId]".

Query parameters

Parameters
pageToken

string

The value returned by the last ListSourcesResponse; indicates that this is a continuation of a prior sources.list call, and that the system should return the next page of data.

pageSize

integer

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

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.