@Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public interface VulnerabilityScanningAsync extends AutoCloseable
Use the Vulnerability Scanning Service (VSS) API to manage scan recipes, targets, and reports. For more information, see the Vulnerability Scanning documentation.
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateFuture<ChangeContainerScanRecipeCompartmentResponse> changeContainerScanRecipeCompartment(ChangeContainerScanRecipeCompartmentRequest request, AsyncHandler<ChangeContainerScanRecipeCompartmentRequest,ChangeContainerScanRecipeCompartmentResponse> handler)
Moves a ContainerScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeContainerScanResultCompartmentResponse> changeContainerScanResultCompartment(ChangeContainerScanResultCompartmentRequest request, AsyncHandler<ChangeContainerScanResultCompartmentRequest,ChangeContainerScanResultCompartmentResponse> handler)
Moves a ContainerScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeContainerScanTargetCompartmentResponse> changeContainerScanTargetCompartment(ChangeContainerScanTargetCompartmentRequest request, AsyncHandler<ChangeContainerScanTargetCompartmentRequest,ChangeContainerScanTargetCompartmentResponse> handler)
Moves a ContainerScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostAgentScanResultCompartmentResponse> changeHostAgentScanResultCompartment(ChangeHostAgentScanResultCompartmentRequest request, AsyncHandler<ChangeHostAgentScanResultCompartmentRequest,ChangeHostAgentScanResultCompartmentResponse> handler)
Moves a HostAgentScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostCisBenchmarkScanResultCompartmentResponse> changeHostCisBenchmarkScanResultCompartment(ChangeHostCisBenchmarkScanResultCompartmentRequest request, AsyncHandler<ChangeHostCisBenchmarkScanResultCompartmentRequest,ChangeHostCisBenchmarkScanResultCompartmentResponse> handler)
Moves a HostCisBenchmarkScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostEndpointProtectionScanResultCompartmentResponse> changeHostEndpointProtectionScanResultCompartment(ChangeHostEndpointProtectionScanResultCompartmentRequest request, AsyncHandler<ChangeHostEndpointProtectionScanResultCompartmentRequest,ChangeHostEndpointProtectionScanResultCompartmentResponse> handler)
Moves a HostEndpointProtectionScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostPortScanResultCompartmentResponse> changeHostPortScanResultCompartment(ChangeHostPortScanResultCompartmentRequest request, AsyncHandler<ChangeHostPortScanResultCompartmentRequest,ChangeHostPortScanResultCompartmentResponse> handler)
Moves a HostPortScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostScanRecipeCompartmentResponse> changeHostScanRecipeCompartment(ChangeHostScanRecipeCompartmentRequest request, AsyncHandler<ChangeHostScanRecipeCompartmentRequest,ChangeHostScanRecipeCompartmentResponse> handler)
Moves a HostScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeHostScanTargetCompartmentResponse> changeHostScanTargetCompartment(ChangeHostScanTargetCompartmentRequest request, AsyncHandler<ChangeHostScanTargetCompartmentRequest,ChangeHostScanTargetCompartmentResponse> handler)
Moves a HostScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateContainerScanRecipeResponse> createContainerScanRecipe(CreateContainerScanRecipeRequest request, AsyncHandler<CreateContainerScanRecipeRequest,CreateContainerScanRecipeResponse> handler)
Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateContainerScanTargetResponse> createContainerScanTarget(CreateContainerScanTargetRequest request, AsyncHandler<CreateContainerScanTargetRequest,CreateContainerScanTargetResponse> handler)
Creates a new ContainerScanTarget. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateHostScanRecipeResponse> createHostScanRecipe(CreateHostScanRecipeRequest request, AsyncHandler<CreateHostScanRecipeRequest,CreateHostScanRecipeResponse> handler)
Creates a new HostScanRecipe. A recipe determines the types of security issues that you want scanned, and how often to scan.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateHostScanTargetResponse> createHostScanTarget(CreateHostScanTargetRequest request, AsyncHandler<CreateHostScanTargetRequest,CreateHostScanTargetResponse> handler)
Creates a new HostScanTarget. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteContainerScanRecipeResponse> deleteContainerScanRecipe(DeleteContainerScanRecipeRequest request, AsyncHandler<DeleteContainerScanRecipeRequest,DeleteContainerScanRecipeResponse> handler)
Deletes the ContainerScanRecipe identified by the recipe ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteContainerScanResultResponse> deleteContainerScanResult(DeleteContainerScanResultRequest request, AsyncHandler<DeleteContainerScanResultRequest,DeleteContainerScanResultResponse> handler)
Deletes the ContainerScanResult identified by the container scan ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteContainerScanTargetResponse> deleteContainerScanTarget(DeleteContainerScanTargetRequest request, AsyncHandler<DeleteContainerScanTargetRequest,DeleteContainerScanTargetResponse> handler)
Deletes the ContainerScanTarget identified by the target ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostAgentScanResultResponse> deleteHostAgentScanResult(DeleteHostAgentScanResultRequest request, AsyncHandler<DeleteHostAgentScanResultRequest,DeleteHostAgentScanResultResponse> handler)
Deletes the HostAgentScanResult identified by the host agent scan ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostCisBenchmarkScanResultResponse> deleteHostCisBenchmarkScanResult(DeleteHostCisBenchmarkScanResultRequest request, AsyncHandler<DeleteHostCisBenchmarkScanResultRequest,DeleteHostCisBenchmarkScanResultResponse> handler)
Deletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostEndpointProtectionScanResultResponse> deleteHostEndpointProtectionScanResult(DeleteHostEndpointProtectionScanResultRequest request, AsyncHandler<DeleteHostEndpointProtectionScanResultRequest,DeleteHostEndpointProtectionScanResultResponse> handler)
Deletes the HostEndpointProtectionScanResult identified by the id
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostPortScanResultResponse> deleteHostPortScanResult(DeleteHostPortScanResultRequest request, AsyncHandler<DeleteHostPortScanResultRequest,DeleteHostPortScanResultResponse> handler)
Deletes the HostPortScanResult identified by the host port scan ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostScanRecipeResponse> deleteHostScanRecipe(DeleteHostScanRecipeRequest request, AsyncHandler<DeleteHostScanRecipeRequest,DeleteHostScanRecipeResponse> handler)
Deletes the HostScanRecipe identified by the recipe ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteHostScanTargetResponse> deleteHostScanTarget(DeleteHostScanTargetRequest request, AsyncHandler<DeleteHostScanTargetRequest,DeleteHostScanTargetResponse> handler)
Deletes the HostScanTarget identified by the target ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ExportHostAgentScanResultCsvResponse> exportHostAgentScanResultCsv(ExportHostAgentScanResultCsvRequest request, AsyncHandler<ExportHostAgentScanResultCsvRequest,ExportHostAgentScanResultCsvResponse> handler)
Exports a list of HostAgentScanResultSummary objects within a compartment and during a specified time range in CSV format. You can filter the results by problem severity.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ExportHostVulnerabilityCsvResponse> exportHostVulnerabilityCsv(ExportHostVulnerabilityCsvRequest request, AsyncHandler<ExportHostVulnerabilityCsvRequest,ExportHostVulnerabilityCsvResponse> handler)
Exports a list of HostVulnerabilitySummary objects in a compartment in CSV format.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetContainerScanRecipeResponse> getContainerScanRecipe(GetContainerScanRecipeRequest request, AsyncHandler<GetContainerScanRecipeRequest,GetContainerScanRecipeResponse> handler)
Retrieves a ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetContainerScanResultResponse> getContainerScanResult(GetContainerScanResultRequest request, AsyncHandler<GetContainerScanResultRequest,GetContainerScanResultResponse> handler)
Retrieves a ContainerScanResult identified by the container scan ID. The result includes a list of problems found in a specific image in a Docker repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetContainerScanTargetResponse> getContainerScanTarget(GetContainerScanTargetRequest request, AsyncHandler<GetContainerScanTargetRequest,GetContainerScanTargetResponse> handler)
Gets a ContainerScanTarget identified by the target ID. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostAgentScanResultResponse> getHostAgentScanResult(GetHostAgentScanResultRequest request, AsyncHandler<GetHostAgentScanResultRequest,GetHostAgentScanResultResponse> handler)
Retrieves a HostAgentScanResult identified by the host agent scan ID. The result includes a list of CVEs detected in a specific compute instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostCisBenchmarkScanResultResponse> getHostCisBenchmarkScanResult(GetHostCisBenchmarkScanResultRequest request, AsyncHandler<GetHostCisBenchmarkScanResultRequest,GetHostCisBenchmarkScanResultResponse> handler)
Retrieves a HostCisBenchmarkScanResult identified by the benchmark scan result ID. A CIS (Center for Internet Security) benchmark scan result includes a list of benchmarks that were tested on a specific compute instance, and whether each test passed or failed.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostEndpointProtectionScanResultResponse> getHostEndpointProtectionScanResult(GetHostEndpointProtectionScanResultRequest request, AsyncHandler<GetHostEndpointProtectionScanResultRequest,GetHostEndpointProtectionScanResultResponse> handler)
Returns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostPortScanResultResponse> getHostPortScanResult(GetHostPortScanResultRequest request, AsyncHandler<GetHostPortScanResultRequest,GetHostPortScanResultResponse> handler)
Retrieves a HostPortScanResult identified by the host port scan ID. The result includes a list of open ports that were detected in a specific compute instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostScanRecipeResponse> getHostScanRecipe(GetHostScanRecipeRequest request, AsyncHandler<GetHostScanRecipeRequest,GetHostScanRecipeResponse> handler)
Retrieves a HostScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned, and how often to scan.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostScanTargetResponse> getHostScanTarget(GetHostScanTargetRequest request, AsyncHandler<GetHostScanTargetRequest,GetHostScanTargetResponse> handler)
Retrieves a HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHostVulnerabilityResponse> getHostVulnerability(GetHostVulnerabilityRequest request, AsyncHandler<GetHostVulnerabilityRequest,GetHostVulnerabilityResponse> handler)
Retrieves a HostVulnerability identified by the host vulnerability ID. A host vulnerability describes a security issue that was detected in scans of one or more compute instances. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVulnerabilityResponse> getVulnerability(GetVulnerabilityRequest request, AsyncHandler<GetVulnerabilityRequest,GetVulnerabilityResponse> handler)
Retrieves a Vulnerability identified by the vulnerability ID. A vulnerability describes a security issue that was detected in scans of one or more compute instances, container scan repositories. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the status of the work request with the given ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListContainerScanRecipesResponse> listContainerScanRecipes(ListContainerScanRecipesRequest request, AsyncHandler<ListContainerScanRecipesRequest,ListContainerScanRecipesResponse> handler)
Retrieves a list of ContainerScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListContainerScanResultsResponse> listContainerScanResults(ListContainerScanResultsRequest request, AsyncHandler<ListContainerScanResultsRequest,ListContainerScanResultsResponse> handler)
Retrieves a list of ContainerScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A container scan result includes a list of problems detected in a specific image in a Docker repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListContainerScanTargetsResponse> listContainerScanTargets(ListContainerScanTargetsRequest request, AsyncHandler<ListContainerScanTargetsRequest,ListContainerScanTargetsResponse> handler)
Retrieves a list of ContainerScanTargetSummary objects in a compartment. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostAgentScanResultsResponse> listHostAgentScanResults(ListHostAgentScanResultsRequest request, AsyncHandler<ListHostAgentScanResultsRequest,ListHostAgentScanResultsResponse> handler)
Retrieves a list of HostAgentScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. An agent scan result includes a list of CVEs detected in a specific compute instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostCisBenchmarkScanResultsResponse> listHostCisBenchmarkScanResults(ListHostCisBenchmarkScanResultsRequest request, AsyncHandler<ListHostCisBenchmarkScanResultsRequest,ListHostCisBenchmarkScanResultsResponse> handler)
Retrieves a list of HostCisBenchmarkScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A CIS (Center for Internet Security) benchmark scan result includes the number of failed benchmark tests on a specific compute instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostEndpointProtectionScanResultsResponse> listHostEndpointProtectionScanResults(ListHostEndpointProtectionScanResultsRequest request, AsyncHandler<ListHostEndpointProtectionScanResultsRequest,ListHostEndpointProtectionScanResultsResponse> handler)
Returns a collection of HostEndpointProtectionScanResultSummary objects
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostPortScanResultsResponse> listHostPortScanResults(ListHostPortScanResultsRequest request, AsyncHandler<ListHostPortScanResultsRequest,ListHostPortScanResultsResponse> handler)
Retrieves a list of HostPortScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A port scan result includes a list of open ports that were detected in a specific compute instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostScanRecipesResponse> listHostScanRecipes(ListHostScanRecipesRequest request, AsyncHandler<ListHostScanRecipesRequest,ListHostScanRecipesResponse> handler)
Retrieves a list of HostScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned, and how often to scan.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostScanTargetErrorsResponse> listHostScanTargetErrors(ListHostScanTargetErrorsRequest request, AsyncHandler<ListHostScanTargetErrorsRequest,ListHostScanTargetErrorsResponse> handler)
Retrieves list of errors during scanning on instances associated with HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostScanTargetsResponse> listHostScanTargets(ListHostScanTargetsRequest request, AsyncHandler<ListHostScanTargetsRequest,ListHostScanTargetsResponse> handler)
Retrieves a list of HostScanTargetSummary objects in a compartment. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostVulnerabilitiesResponse> listHostVulnerabilities(ListHostVulnerabilitiesRequest request, AsyncHandler<ListHostVulnerabilitiesRequest,ListHostVulnerabilitiesResponse> handler)
Retrieves a list of HostVulnerabilitySummary objects in a compartment. You can filter and sort the vulnerabilities by problem severity and time. A host vulnerability describes a security issue that was detected in scans of one or more compute instances.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListHostVulnerabilityImpactedHostsResponse> listHostVulnerabilityImpactedHosts(ListHostVulnerabilityImpactedHostsRequest request, AsyncHandler<ListHostVulnerabilityImpactedHostsRequest,ListHostVulnerabilityImpactedHostsResponse> handler)
Retrieves a list of HostVulnerabilityImpactedHostSummary objects for a specific host vulnerability ID. An impacted host summary identifies a compute instance on which the specified vulnerability was detected.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVulnerabilitiesResponse> listVulnerabilities(ListVulnerabilitiesRequest request, AsyncHandler<ListVulnerabilitiesRequest,ListVulnerabilitiesResponse> handler)
Retrieves a list of VulnerabilitySummary objects in a compartment. You can filter and sort the vulnerabilities by problem severity and time and type. A vulnerability describes a security issue that was detected in scans of one or more compute instances, container images.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVulnerabilityImpactedContainersResponse> listVulnerabilityImpactedContainers(ListVulnerabilityImpactedContainersRequest request, AsyncHandler<ListVulnerabilityImpactedContainersRequest,ListVulnerabilityImpactedContainersResponse> handler)
Retrieves a list of VulnerabilityImpactedContainerSummary objects for a specific vulnerability ID. An impacted container image summary identifies container images on which the specified vulnerability was detected.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVulnerabilityImpactedHostsResponse> listVulnerabilityImpactedHosts(ListVulnerabilityImpactedHostsRequest request, AsyncHandler<ListVulnerabilityImpactedHostsRequest,ListVulnerabilityImpactedHostsResponse> handler)
Retrieves a list of VulnerabilityImpactedHostSummary objects for a specific host vulnerability ID. An impacted host summary identifies a compute instance on which the specified vulnerability was detected.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Return a (paginated) list of errors for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Return a (paginated) list of logs for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateContainerScanRecipeResponse> updateContainerScanRecipe(UpdateContainerScanRecipeRequest request, AsyncHandler<UpdateContainerScanRecipeRequest,UpdateContainerScanRecipeResponse> handler)
Updates the ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateContainerScanTargetResponse> updateContainerScanTarget(UpdateContainerScanTargetRequest request, AsyncHandler<UpdateContainerScanTargetRequest,UpdateContainerScanTargetResponse> handler)
Updates the ContainerScanTarget identified by the target ID. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateHostScanRecipeResponse> updateHostScanRecipe(UpdateHostScanRecipeRequest request, AsyncHandler<UpdateHostScanRecipeRequest,UpdateHostScanRecipeResponse> handler)
Updates the HostScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned, and how often to scan.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateHostScanTargetResponse> updateHostScanTarget(UpdateHostScanTargetRequest request, AsyncHandler<UpdateHostScanTargetRequest,UpdateHostScanTargetResponse> handler)
Updates the HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2024. All rights reserved.