Method: organizations.sources.list

Lists all sources belonging to an organization.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]".

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

number

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 data with the following structure:

Response message for listing sources.

JSON representation
{
  "sources": [
    {
      object (Source)
    }
  ],
  "nextPageToken": string
}
Fields
sources[]

object (Source)

Sources belonging to the requested parent.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results.

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 Cloud IAM permission on the parent resource:

  • securitycenter.sources.list

For more information, see the Cloud IAM Documentation.

Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Cloud Security Command Center
Hai bisogno di assistenza? Visita la nostra pagina di assistenza.