Class WebSecurityScannerGrpc.WebSecurityScannerBlockingStub (2.55.0)

public static final class WebSecurityScannerGrpc.WebSecurityScannerBlockingStub extends AbstractBlockingStub<WebSecurityScannerGrpc.WebSecurityScannerBlockingStub>

A stub to allow clients to do synchronous rpc calls to service WebSecurityScanner.

Cloud Web Security Scanner Service identifies security vulnerabilities in web applications hosted on Google Cloud Platform. It crawls your application, and attempts to exercise as many user inputs and event handlers as possible.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > WebSecurityScannerGrpc.WebSecurityScannerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected WebSecurityScannerGrpc.WebSecurityScannerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WebSecurityScannerGrpc.WebSecurityScannerBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createScanConfig(CreateScanConfigRequest request)

public ScanConfig createScanConfig(CreateScanConfigRequest request)

Creates a new ScanConfig.

Parameter
Name Description
request CreateScanConfigRequest
Returns
Type Description
ScanConfig

deleteScanConfig(DeleteScanConfigRequest request)

public Empty deleteScanConfig(DeleteScanConfigRequest request)

Deletes an existing ScanConfig and its child resources.

Parameter
Name Description
request DeleteScanConfigRequest
Returns
Type Description
Empty

getFinding(GetFindingRequest request)

public Finding getFinding(GetFindingRequest request)

Gets a Finding.

Parameter
Name Description
request GetFindingRequest
Returns
Type Description
Finding

getScanConfig(GetScanConfigRequest request)

public ScanConfig getScanConfig(GetScanConfigRequest request)

Gets a ScanConfig.

Parameter
Name Description
request GetScanConfigRequest
Returns
Type Description
ScanConfig

getScanRun(GetScanRunRequest request)

public ScanRun getScanRun(GetScanRunRequest request)

Gets a ScanRun.

Parameter
Name Description
request GetScanRunRequest
Returns
Type Description
ScanRun

listCrawledUrls(ListCrawledUrlsRequest request)

public ListCrawledUrlsResponse listCrawledUrls(ListCrawledUrlsRequest request)

List CrawledUrls under a given ScanRun.

Parameter
Name Description
request ListCrawledUrlsRequest
Returns
Type Description
ListCrawledUrlsResponse

listFindingTypeStats(ListFindingTypeStatsRequest request)

public ListFindingTypeStatsResponse listFindingTypeStats(ListFindingTypeStatsRequest request)

List all FindingTypeStats under a given ScanRun.

Parameter
Name Description
request ListFindingTypeStatsRequest
Returns
Type Description
ListFindingTypeStatsResponse

listFindings(ListFindingsRequest request)

public ListFindingsResponse listFindings(ListFindingsRequest request)

List Findings under a given ScanRun.

Parameter
Name Description
request ListFindingsRequest
Returns
Type Description
ListFindingsResponse

listScanConfigs(ListScanConfigsRequest request)

public ListScanConfigsResponse listScanConfigs(ListScanConfigsRequest request)

Lists ScanConfigs under a given project.

Parameter
Name Description
request ListScanConfigsRequest
Returns
Type Description
ListScanConfigsResponse

listScanRuns(ListScanRunsRequest request)

public ListScanRunsResponse listScanRuns(ListScanRunsRequest request)

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Parameter
Name Description
request ListScanRunsRequest
Returns
Type Description
ListScanRunsResponse

startScanRun(StartScanRunRequest request)

public ScanRun startScanRun(StartScanRunRequest request)

Start a ScanRun according to the given ScanConfig.

Parameter
Name Description
request StartScanRunRequest
Returns
Type Description
ScanRun

stopScanRun(StopScanRunRequest request)

public ScanRun stopScanRun(StopScanRunRequest request)

Stops a ScanRun. The stopped ScanRun is returned.

Parameter
Name Description
request StopScanRunRequest
Returns
Type Description
ScanRun

updateScanConfig(UpdateScanConfigRequest request)

public ScanConfig updateScanConfig(UpdateScanConfigRequest request)

Updates a ScanConfig. This method support partial update of a ScanConfig.

Parameter
Name Description
request UpdateScanConfigRequest
Returns
Type Description
ScanConfig