WebSecurityScanner
import { WebSecurityScanner } from "https://googleapis.deno.dev/v1/websecurityscanner:v1.ts";
Scans your Compute and App Engine apps for common web vulnerabilities.
§Methods
Creates a new ScanConfig.
Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.
Gets a ScanConfig.
Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
Lists ScanConfigs under a given project.
Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.
Updates a ScanConfig. This method support partial update of a ScanConfig.
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
List CrawledUrls under a given ScanRun.
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
List Findings under a given ScanRun.
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
List all FindingTypeStats under a given ScanRun.
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
Stops a ScanRun. The stopped ScanRun is returned.
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.