Skip to main content

scans

Creates, updates, deletes, gets or lists a scans resource.

Overview

Namescans
TypeResource
Idgoogle.ondemandscanning.scans

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
analyze_packagesexecprojectsId, locationsIdInitiates an analysis of the provided packages.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring

Lifecycle Methods

Initiates an analysis of the provided packages.

EXEC google.ondemandscanning.scans.analyze_packages 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"resourceUri": "{{ resourceUri }}",
"packages": "{{ packages }}",
"includeOsvData": {{ includeOsvData }}
}';