Class WebSecurityScannerGrpc.WebSecurityScannerFutureStub (2.23.0)

public static final class WebSecurityScannerGrpc.WebSecurityScannerFutureStub extends AbstractFutureStub<WebSecurityScannerGrpc.WebSecurityScannerFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > WebSecurityScannerGrpc.WebSecurityScannerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected WebSecurityScannerGrpc.WebSecurityScannerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
WebSecurityScannerGrpc.WebSecurityScannerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createScanConfig(CreateScanConfigRequest request)

public ListenableFuture<ScanConfig> createScanConfig(CreateScanConfigRequest request)

Creates a new ScanConfig.

Parameter
NameDescription
requestCreateScanConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanConfig>

deleteScanConfig(DeleteScanConfigRequest request)

public ListenableFuture<Empty> deleteScanConfig(DeleteScanConfigRequest request)

Deletes an existing ScanConfig and its child resources.

Parameter
NameDescription
requestDeleteScanConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getFinding(GetFindingRequest request)

public ListenableFuture<Finding> getFinding(GetFindingRequest request)

Gets a Finding.

Parameter
NameDescription
requestGetFindingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Finding>

getScanConfig(GetScanConfigRequest request)

public ListenableFuture<ScanConfig> getScanConfig(GetScanConfigRequest request)

Gets a ScanConfig.

Parameter
NameDescription
requestGetScanConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanConfig>

getScanRun(GetScanRunRequest request)

public ListenableFuture<ScanRun> getScanRun(GetScanRunRequest request)

Gets a ScanRun.

Parameter
NameDescription
requestGetScanRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanRun>

listCrawledUrls(ListCrawledUrlsRequest request)

public ListenableFuture<ListCrawledUrlsResponse> listCrawledUrls(ListCrawledUrlsRequest request)

List CrawledUrls under a given ScanRun.

Parameter
NameDescription
requestListCrawledUrlsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCrawledUrlsResponse>

listFindingTypeStats(ListFindingTypeStatsRequest request)

public ListenableFuture<ListFindingTypeStatsResponse> listFindingTypeStats(ListFindingTypeStatsRequest request)

List all FindingTypeStats under a given ScanRun.

Parameter
NameDescription
requestListFindingTypeStatsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFindingTypeStatsResponse>

listFindings(ListFindingsRequest request)

public ListenableFuture<ListFindingsResponse> listFindings(ListFindingsRequest request)

List Findings under a given ScanRun.

Parameter
NameDescription
requestListFindingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFindingsResponse>

listScanConfigs(ListScanConfigsRequest request)

public ListenableFuture<ListScanConfigsResponse> listScanConfigs(ListScanConfigsRequest request)

Lists ScanConfigs under a given project.

Parameter
NameDescription
requestListScanConfigsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListScanConfigsResponse>

listScanRuns(ListScanRunsRequest request)

public ListenableFuture<ListScanRunsResponse> listScanRuns(ListScanRunsRequest request)

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

Parameter
NameDescription
requestListScanRunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListScanRunsResponse>

startScanRun(StartScanRunRequest request)

public ListenableFuture<ScanRun> startScanRun(StartScanRunRequest request)

Start a ScanRun according to the given ScanConfig.

Parameter
NameDescription
requestStartScanRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanRun>

stopScanRun(StopScanRunRequest request)

public ListenableFuture<ScanRun> stopScanRun(StopScanRunRequest request)

Stops a ScanRun. The stopped ScanRun is returned.

Parameter
NameDescription
requestStopScanRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanRun>

updateScanConfig(UpdateScanConfigRequest request)

public ListenableFuture<ScanConfig> updateScanConfig(UpdateScanConfigRequest request)

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

Parameter
NameDescription
requestUpdateScanConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ScanConfig>