Interface WebSecurityScannerGrpc.AsyncService (2.37.0)

public static interface WebSecurityScannerGrpc.AsyncService

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.

Methods

createScanConfig(CreateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

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

Creates a new ScanConfig.

Parameters
NameDescription
requestCreateScanConfigRequest
responseObserverio.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
NameDescription
requestDeleteScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

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

Gets a Finding.

Parameters
NameDescription
requestGetFindingRequest
responseObserverio.grpc.stub.StreamObserver<Finding>

getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

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

Gets a ScanConfig.

Parameters
NameDescription
requestGetScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<ScanConfig>

getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

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

Gets a ScanRun.

Parameters
NameDescription
requestGetScanRunRequest
responseObserverio.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
NameDescription
requestListCrawledUrlsRequest
responseObserverio.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
NameDescription
requestListFindingTypeStatsRequest
responseObserverio.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
NameDescription
requestListFindingsRequest
responseObserverio.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
NameDescription
requestListScanConfigsRequest
responseObserverio.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
NameDescription
requestListScanRunsRequest
responseObserverio.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
NameDescription
requestStartScanRunRequest
responseObserverio.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
NameDescription
requestStopScanRunRequest
responseObserverio.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
NameDescription
requestUpdateScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<ScanConfig>