Method: projects.scanConfigs.list

Lists scan configurations for a project.

HTTP request

GET https://containeranalysis.googleapis.com/v1alpha1/{parent=projects/*}/scanConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

This containers the project Id i.e.: projects/{projectId}

Authorization requires the following Google IAM permission on the specified resource parent:

  • containeranalysis.scanconfigs.list

Query parameters

Parameters
filter

string

The filter expression.

pageSize

number

The number of items to return.

pageToken

string

The page token to use for the next request.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

A list of scan configs for the project.

JSON representation
{
  "scanConfigs": [
    {
      object (ScanConfig)
    }
  ],
  "nextPageToken": string
}
Fields
scanConfigs[]

object (ScanConfig)

The set of scan configs.

nextPageToken

string

A page token to pass in order to get more scan configs.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น