REST Resource: projects.scanConfigs

Resource: 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.

JSON representation
{
  "name": string,
  "description": string,
  "enabled": boolean,
  "createTime": string,
  "updateTime": string
}
Fields
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

string (Timestamp format)

Output only. The time this scan config was created.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

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

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Methods

get

Gets the specified scan configuration.

list

Lists scan configurations for the specified project.

update

Updates the specified scan configuration.
Trang này có hữu ích không? Hãy cho chúng tôi biết đánh giá của bạn:

Gửi phản hồi về...