Interface WebSecurityScannerGrpc.AsyncService (2.42.0)

public static interface WebSecurityScannerGrpc.AsyncService

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

Methods

createScanConfig(CreateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public default void createScanConfig(CreateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

Creates a new ScanConfig.

Parameters
Name Description
request CreateScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>

deleteScanConfig(DeleteScanConfigRequest request, StreamObserver<Empty> responseObserver)

public default void deleteScanConfig(DeleteScanConfigRequest request, StreamObserver<Empty> responseObserver)

Deletes an existing ScanConfig and its child resources.

Parameters
Name Description
request DeleteScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

public default void getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

Gets a Finding.

Parameters
Name Description
request GetFindingRequest
responseObserver io.grpc.stub.StreamObserver<Finding>

getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public default void getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

Gets a ScanConfig.

Parameters
Name Description
request GetScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>

getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public default void getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Gets a ScanRun.

Parameters
Name Description
request GetScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

listCrawledUrls(ListCrawledUrlsRequest request, StreamObserver<ListCrawledUrlsResponse> responseObserver)

public default void listCrawledUrls(ListCrawledUrlsRequest request, StreamObserver<ListCrawledUrlsResponse> responseObserver)

List CrawledUrls under a given ScanRun.

Parameters
Name Description
request ListCrawledUrlsRequest
responseObserver io.grpc.stub.StreamObserver<ListCrawledUrlsResponse>

listFindingTypeStats(ListFindingTypeStatsRequest request, StreamObserver<ListFindingTypeStatsResponse> responseObserver)

public default void listFindingTypeStats(ListFindingTypeStatsRequest request, StreamObserver<ListFindingTypeStatsResponse> responseObserver)

List all FindingTypeStats under a given ScanRun.

Parameters
Name Description
request ListFindingTypeStatsRequest
responseObserver io.grpc.stub.StreamObserver<ListFindingTypeStatsResponse>

listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)

public default void listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)

List Findings under a given ScanRun.

Parameters
Name Description
request ListFindingsRequest
responseObserver io.grpc.stub.StreamObserver<ListFindingsResponse>

listScanConfigs(ListScanConfigsRequest request, StreamObserver<ListScanConfigsResponse> responseObserver)

public default void listScanConfigs(ListScanConfigsRequest request, StreamObserver<ListScanConfigsResponse> responseObserver)

Lists ScanConfigs under a given project.

Parameters
Name Description
request ListScanConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListScanConfigsResponse>

listScanRuns(ListScanRunsRequest request, StreamObserver<ListScanRunsResponse> responseObserver)

public default void listScanRuns(ListScanRunsRequest request, StreamObserver<ListScanRunsResponse> responseObserver)

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

Parameters
Name Description
request ListScanRunsRequest
responseObserver io.grpc.stub.StreamObserver<ListScanRunsResponse>

startScanRun(StartScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public default void startScanRun(StartScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Start a ScanRun according to the given ScanConfig.

Parameters
Name Description
request StartScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

stopScanRun(StopScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public default void stopScanRun(StopScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Stops a ScanRun. The stopped ScanRun is returned.

Parameters
Name Description
request StopScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

updateScanConfig(UpdateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public default void updateScanConfig(UpdateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

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

Parameters
Name Description
request UpdateScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>