Abstract types

static

GetScanConfigRequest

Request to get a scan configuration.

Property

Name Type Optional Description

name

string

 

The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].

See also

google.devtools.containeranalysis.v1beta1.GetScanConfigRequest definition in proto format

static

ListScanConfigsRequest

Request to list scan configurations.

Properties

Name Type Optional Description

parent

string

 

The name of the project to list scan configurations for in the form of projects/[PROJECT_ID].

filter

string

 

The filter expression.

pageSize

number

 

The number of scan configs to return in the list.

pageToken

string

 

Token to provide to skip to a particular spot in the list.

See also

google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest definition in proto format

static

ListScanConfigsResponse

Response for listing scan configurations.

Properties

Name Type Optional Description

scanConfigs

Array of Object

 

The scan configurations requested.

This object should have the same structure as ScanConfig

nextPageToken

string

 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

See also

google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse definition in proto format

static

ScanConfig

A scan configuration specifies whether Cloud components in a project have a particular type of analysis being run. For example, it can configure whether vulnerability scanning is being done on Docker images or not.

Properties

Name Type Optional Description

name

string

 

Output only. The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].

description

string

 

Output only. A human-readable description of what the scan configuration does.

enabled

boolean

 

Whether the scan is enabled.

createTime

Object

 

Output only. The time this scan config was created.

This object should have the same structure as Timestamp

updateTime

Object

 

Output only. The time this scan config was last updated.

This object should have the same structure as Timestamp

See also

google.devtools.containeranalysis.v1beta1.ScanConfig definition in proto format

static

UpdateScanConfigRequest

A request to update a scan configuration.

Properties

Name Type Optional Description

name

string

 

The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].

scanConfig

Object

 

The updated scan configuration.

This object should have the same structure as ScanConfig

See also

google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest definition in proto format