v1beta1

v1beta1

Source:

Type Definitions

GetScanConfigRequest

Request to get a scan configuration.

Properties:
Name Type Description
name string

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

Source:
See:

ListScanConfigsRequest

Request to list scan configurations.

Properties:
Name Type 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.

Source:
See:

ListScanConfigsResponse

Response for listing scan configurations.

Properties:
Name Type Description
scanConfigs Array.<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.

Source:
See:

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 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

Source:
See:

UpdateScanConfigRequest

A request to update a scan configuration.

Properties:
Name Type 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

Source:
See: