SqlVulnerabilityAssessmentScanResults Interface

public interface SqlVulnerabilityAssessmentScanResults

Resource collection API of SqlVulnerabilityAssessmentScanResults.

Method Summary

Modifier and Type Method and Description
abstract ScanResult get(String scanId, String scanResultId, String workspaceId, String resourceId)

Gets the scan results of a single rule in a scan record.

abstract Response<ScanResult> getWithResponse(String scanId, String scanResultId, String workspaceId, String resourceId, Context context)

Gets the scan results of a single rule in a scan record.

abstract ScanResults list(String scanId, String workspaceId, String resourceId)

Gets a list of scan results for a single scan record.

abstract Response<ScanResults> listWithResponse(String scanId, String workspaceId, String resourceId, Context context)

Gets a list of scan results for a single scan record.

Method Details

get

public abstract ScanResult get(String scanId, String scanResultId, String workspaceId, String resourceId)

Gets the scan results of a single rule in a scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan results for the latest scan.
scanResultId - The rule Id of the results.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.

Returns:

the scan results of a single rule in a scan record.

getWithResponse

public abstract Response getWithResponse(String scanId, String scanResultId, String workspaceId, String resourceId, Context context)

Gets the scan results of a single rule in a scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan results for the latest scan.
scanResultId - The rule Id of the results.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.
context - The context to associate with this operation.

Returns:

the scan results of a single rule in a scan record along with Response<T>.

list

public abstract ScanResults list(String scanId, String workspaceId, String resourceId)

Gets a list of scan results for a single scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan results for the latest scan.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.

Returns:

a list of scan results for a single scan record.

listWithResponse

public abstract Response listWithResponse(String scanId, String workspaceId, String resourceId, Context context)

Gets a list of scan results for a single scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan results for the latest scan.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.
context - The context to associate with this operation.

Returns:

a list of scan results for a single scan record along with Response<T>.

Applies to