Class VulnerabilityScanningAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.vulnerabilityscanning.VulnerabilityScanningAsyncClient
-
- All Implemented Interfaces:
VulnerabilityScanningAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public class VulnerabilityScanningAsyncClient extends BaseAsyncClient implements VulnerabilityScanningAsyncAsync client implementation for VulnerabilityScanning service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVulnerabilityScanningAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for VulnerabilityScanning.
-
Constructor Summary
Constructors Constructor Description VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.vulnerabilityscanning.VulnerabilityScanningAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
VulnerabilityScanningAsyncClient
@Deprecated public VulnerabilityScanningAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVulnerabilityScanningAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static VulnerabilityScanningAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:VulnerabilityScanningAsyncSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceVulnerabilityScanningAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:VulnerabilityScanningAsyncSets 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 callsetEndpoint.- Specified by:
setRegionin interfaceVulnerabilityScanningAsync- Parameters:
regionId- The public region ID.
-
changeContainerScanRecipeCompartment
public Future<ChangeContainerScanRecipeCompartmentResponse> changeContainerScanRecipeCompartment(ChangeContainerScanRecipeCompartmentRequest request, AsyncHandler<ChangeContainerScanRecipeCompartmentRequest,ChangeContainerScanRecipeCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a ContainerScanRecipe into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeContainerScanRecipeCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeContainerScanResultCompartment
public Future<ChangeContainerScanResultCompartmentResponse> changeContainerScanResultCompartment(ChangeContainerScanResultCompartmentRequest request, AsyncHandler<ChangeContainerScanResultCompartmentRequest,ChangeContainerScanResultCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a ContainerScanResult into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeContainerScanResultCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeContainerScanTargetCompartment
public Future<ChangeContainerScanTargetCompartmentResponse> changeContainerScanTargetCompartment(ChangeContainerScanTargetCompartmentRequest request, AsyncHandler<ChangeContainerScanTargetCompartmentRequest,ChangeContainerScanTargetCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a ContainerScanTarget into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeContainerScanTargetCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostAgentScanResultCompartment
public Future<ChangeHostAgentScanResultCompartmentResponse> changeHostAgentScanResultCompartment(ChangeHostAgentScanResultCompartmentRequest request, AsyncHandler<ChangeHostAgentScanResultCompartmentRequest,ChangeHostAgentScanResultCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostAgentScanResult into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostAgentScanResultCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostCisBenchmarkScanResultCompartment
public Future<ChangeHostCisBenchmarkScanResultCompartmentResponse> changeHostCisBenchmarkScanResultCompartment(ChangeHostCisBenchmarkScanResultCompartmentRequest request, AsyncHandler<ChangeHostCisBenchmarkScanResultCompartmentRequest,ChangeHostCisBenchmarkScanResultCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostCisBenchmarkScanResult into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostCisBenchmarkScanResultCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostEndpointProtectionScanResultCompartment
public Future<ChangeHostEndpointProtectionScanResultCompartmentResponse> changeHostEndpointProtectionScanResultCompartment(ChangeHostEndpointProtectionScanResultCompartmentRequest request, AsyncHandler<ChangeHostEndpointProtectionScanResultCompartmentRequest,ChangeHostEndpointProtectionScanResultCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostEndpointProtectionScanResult into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostEndpointProtectionScanResultCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostPortScanResultCompartment
public Future<ChangeHostPortScanResultCompartmentResponse> changeHostPortScanResultCompartment(ChangeHostPortScanResultCompartmentRequest request, AsyncHandler<ChangeHostPortScanResultCompartmentRequest,ChangeHostPortScanResultCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostPortScanResult into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostPortScanResultCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostScanRecipeCompartment
public Future<ChangeHostScanRecipeCompartmentResponse> changeHostScanRecipeCompartment(ChangeHostScanRecipeCompartmentRequest request, AsyncHandler<ChangeHostScanRecipeCompartmentRequest,ChangeHostScanRecipeCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostScanRecipe into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostScanRecipeCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeHostScanTargetCompartment
public Future<ChangeHostScanTargetCompartmentResponse> changeHostScanTargetCompartment(ChangeHostScanTargetCompartmentRequest request, AsyncHandler<ChangeHostScanTargetCompartmentRequest,ChangeHostScanTargetCompartmentResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncMoves a HostScanTarget into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeHostScanTargetCompartmentin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createContainerScanRecipe
public Future<CreateContainerScanRecipeResponse> createContainerScanRecipe(CreateContainerScanRecipeRequest request, AsyncHandler<CreateContainerScanRecipeRequest,CreateContainerScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncCreates a new ContainerScanRecipe.A recipe determines the types of security issues that you want scanned.
- Specified by:
createContainerScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createContainerScanTarget
public Future<CreateContainerScanTargetResponse> createContainerScanTarget(CreateContainerScanTargetRequest request, AsyncHandler<CreateContainerScanTargetRequest,CreateContainerScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncCreates 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.
- Specified by:
createContainerScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createHostScanRecipe
public Future<CreateHostScanRecipeResponse> createHostScanRecipe(CreateHostScanRecipeRequest request, AsyncHandler<CreateHostScanRecipeRequest,CreateHostScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncCreates a new HostScanRecipe.A recipe determines the types of security issues that you want scanned, and how often to scan.
- Specified by:
createHostScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createHostScanTarget
public Future<CreateHostScanTargetResponse> createHostScanTarget(CreateHostScanTargetRequest request, AsyncHandler<CreateHostScanTargetRequest,CreateHostScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncCreates a new HostScanTarget.A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
- Specified by:
createHostScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteContainerScanRecipe
public Future<DeleteContainerScanRecipeResponse> deleteContainerScanRecipe(DeleteContainerScanRecipeRequest request, AsyncHandler<DeleteContainerScanRecipeRequest,DeleteContainerScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the ContainerScanRecipe identified by the recipe ID.- Specified by:
deleteContainerScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteContainerScanResult
public Future<DeleteContainerScanResultResponse> deleteContainerScanResult(DeleteContainerScanResultRequest request, AsyncHandler<DeleteContainerScanResultRequest,DeleteContainerScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the ContainerScanResult identified by the container scan ID.- Specified by:
deleteContainerScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteContainerScanTarget
public Future<DeleteContainerScanTargetResponse> deleteContainerScanTarget(DeleteContainerScanTargetRequest request, AsyncHandler<DeleteContainerScanTargetRequest,DeleteContainerScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the ContainerScanTarget identified by the target ID.- Specified by:
deleteContainerScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostAgentScanResult
public Future<DeleteHostAgentScanResultResponse> deleteHostAgentScanResult(DeleteHostAgentScanResultRequest request, AsyncHandler<DeleteHostAgentScanResultRequest,DeleteHostAgentScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostAgentScanResult identified by the host agent scan ID.- Specified by:
deleteHostAgentScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostCisBenchmarkScanResult
public Future<DeleteHostCisBenchmarkScanResultResponse> deleteHostCisBenchmarkScanResult(DeleteHostCisBenchmarkScanResultRequest request, AsyncHandler<DeleteHostCisBenchmarkScanResultRequest,DeleteHostCisBenchmarkScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.- Specified by:
deleteHostCisBenchmarkScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostEndpointProtectionScanResult
public Future<DeleteHostEndpointProtectionScanResultResponse> deleteHostEndpointProtectionScanResult(DeleteHostEndpointProtectionScanResultRequest request, AsyncHandler<DeleteHostEndpointProtectionScanResultRequest,DeleteHostEndpointProtectionScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostEndpointProtectionScanResult identified by the id- Specified by:
deleteHostEndpointProtectionScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostPortScanResult
public Future<DeleteHostPortScanResultResponse> deleteHostPortScanResult(DeleteHostPortScanResultRequest request, AsyncHandler<DeleteHostPortScanResultRequest,DeleteHostPortScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostPortScanResult identified by the host port scan ID.- Specified by:
deleteHostPortScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostScanRecipe
public Future<DeleteHostScanRecipeResponse> deleteHostScanRecipe(DeleteHostScanRecipeRequest request, AsyncHandler<DeleteHostScanRecipeRequest,DeleteHostScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostScanRecipe identified by the recipe ID.- Specified by:
deleteHostScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteHostScanTarget
public Future<DeleteHostScanTargetResponse> deleteHostScanTarget(DeleteHostScanTargetRequest request, AsyncHandler<DeleteHostScanTargetRequest,DeleteHostScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncDeletes the HostScanTarget identified by the target ID.- Specified by:
deleteHostScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
exportHostAgentScanResultCsv
public Future<ExportHostAgentScanResultCsvResponse> exportHostAgentScanResultCsv(ExportHostAgentScanResultCsvRequest request, AsyncHandler<ExportHostAgentScanResultCsvRequest,ExportHostAgentScanResultCsvResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncExports 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.
- Specified by:
exportHostAgentScanResultCsvin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
exportHostVulnerabilityCsv
public Future<ExportHostVulnerabilityCsvResponse> exportHostVulnerabilityCsv(ExportHostVulnerabilityCsvRequest request, AsyncHandler<ExportHostVulnerabilityCsvRequest,ExportHostVulnerabilityCsvResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncExports a list of HostVulnerabilitySummary objects in a compartment in CSV format.- Specified by:
exportHostVulnerabilityCsvin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getContainerScanRecipe
public Future<GetContainerScanRecipeResponse> getContainerScanRecipe(GetContainerScanRecipeRequest request, AsyncHandler<GetContainerScanRecipeRequest,GetContainerScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves a ContainerScanRecipe identified by the recipe ID.A recipe determines the types of security issues that you want scanned.
- Specified by:
getContainerScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getContainerScanResult
public Future<GetContainerScanResultResponse> getContainerScanResult(GetContainerScanResultRequest request, AsyncHandler<GetContainerScanResultRequest,GetContainerScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves a ContainerScanResult identified by the container scan ID.The result includes a list of problems found in a specific image in a Docker repository.
- Specified by:
getContainerScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getContainerScanTarget
public Future<GetContainerScanTargetResponse> getContainerScanTarget(GetContainerScanTargetRequest request, AsyncHandler<GetContainerScanTargetRequest,GetContainerScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncGets 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.
- Specified by:
getContainerScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostAgentScanResult
public Future<GetHostAgentScanResultResponse> getHostAgentScanResult(GetHostAgentScanResultRequest request, AsyncHandler<GetHostAgentScanResultRequest,GetHostAgentScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves a HostAgentScanResult identified by the host agent scan ID.The result includes a list of CVEs detected in a specific compute instance.
- Specified by:
getHostAgentScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostCisBenchmarkScanResult
public Future<GetHostCisBenchmarkScanResultResponse> getHostCisBenchmarkScanResult(GetHostCisBenchmarkScanResultRequest request, AsyncHandler<GetHostCisBenchmarkScanResultRequest,GetHostCisBenchmarkScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
getHostCisBenchmarkScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostEndpointProtectionScanResult
public Future<GetHostEndpointProtectionScanResultResponse> getHostEndpointProtectionScanResult(GetHostEndpointProtectionScanResultRequest request, AsyncHandler<GetHostEndpointProtectionScanResultRequest,GetHostEndpointProtectionScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncReturns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.- Specified by:
getHostEndpointProtectionScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostPortScanResult
public Future<GetHostPortScanResultResponse> getHostPortScanResult(GetHostPortScanResultRequest request, AsyncHandler<GetHostPortScanResultRequest,GetHostPortScanResultResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
getHostPortScanResultin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostScanRecipe
public Future<GetHostScanRecipeResponse> getHostScanRecipe(GetHostScanRecipeRequest request, AsyncHandler<GetHostScanRecipeRequest,GetHostScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves a HostScanRecipe identified by the recipe ID.A recipe determines the types of security issues that you want scanned, and how often to scan.
- Specified by:
getHostScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostScanTarget
public Future<GetHostScanTargetResponse> getHostScanTarget(GetHostScanTargetRequest request, AsyncHandler<GetHostScanTargetRequest,GetHostScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
getHostScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getHostVulnerability
public Future<GetHostVulnerabilityResponse> getHostVulnerability(GetHostVulnerabilityRequest request, AsyncHandler<GetHostVulnerabilityRequest,GetHostVulnerabilityResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
getHostVulnerabilityin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVulnerability
public Future<GetVulnerabilityResponse> getVulnerability(GetVulnerabilityRequest request, AsyncHandler<GetVulnerabilityRequest,GetVulnerabilityResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
getVulnerabilityin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listContainerScanRecipes
public Future<ListContainerScanRecipesResponse> listContainerScanRecipes(ListContainerScanRecipesRequest request, AsyncHandler<ListContainerScanRecipesRequest,ListContainerScanRecipesResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves a list of ContainerScanRecipeSummary objects in a compartment.A recipe determines the types of security issues that you want scanned.
- Specified by:
listContainerScanRecipesin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listContainerScanResults
public Future<ListContainerScanResultsResponse> listContainerScanResults(ListContainerScanResultsRequest request, AsyncHandler<ListContainerScanResultsRequest,ListContainerScanResultsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listContainerScanResultsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listContainerScanTargets
public Future<ListContainerScanTargetsResponse> listContainerScanTargets(ListContainerScanTargetsRequest request, AsyncHandler<ListContainerScanTargetsRequest,ListContainerScanTargetsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listContainerScanTargetsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostAgentScanResults
public Future<ListHostAgentScanResultsResponse> listHostAgentScanResults(ListHostAgentScanResultsRequest request, AsyncHandler<ListHostAgentScanResultsRequest,ListHostAgentScanResultsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostAgentScanResultsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostCisBenchmarkScanResults
public Future<ListHostCisBenchmarkScanResultsResponse> listHostCisBenchmarkScanResults(ListHostCisBenchmarkScanResultsRequest request, AsyncHandler<ListHostCisBenchmarkScanResultsRequest,ListHostCisBenchmarkScanResultsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostCisBenchmarkScanResultsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostEndpointProtectionScanResults
public Future<ListHostEndpointProtectionScanResultsResponse> listHostEndpointProtectionScanResults(ListHostEndpointProtectionScanResultsRequest request, AsyncHandler<ListHostEndpointProtectionScanResultsRequest,ListHostEndpointProtectionScanResultsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncReturns a collection of HostEndpointProtectionScanResultSummary objects- Specified by:
listHostEndpointProtectionScanResultsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostPortScanResults
public Future<ListHostPortScanResultsResponse> listHostPortScanResults(ListHostPortScanResultsRequest request, AsyncHandler<ListHostPortScanResultsRequest,ListHostPortScanResultsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostPortScanResultsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostScanRecipes
public Future<ListHostScanRecipesResponse> listHostScanRecipes(ListHostScanRecipesRequest request, AsyncHandler<ListHostScanRecipesRequest,ListHostScanRecipesResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostScanRecipesin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostScanTargetErrors
public Future<ListHostScanTargetErrorsResponse> listHostScanTargetErrors(ListHostScanTargetErrorsRequest request, AsyncHandler<ListHostScanTargetErrorsRequest,ListHostScanTargetErrorsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostScanTargetErrorsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostScanTargets
public Future<ListHostScanTargetsResponse> listHostScanTargets(ListHostScanTargetsRequest request, AsyncHandler<ListHostScanTargetsRequest,ListHostScanTargetsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostScanTargetsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostVulnerabilities
public Future<ListHostVulnerabilitiesResponse> listHostVulnerabilities(ListHostVulnerabilitiesRequest request, AsyncHandler<ListHostVulnerabilitiesRequest,ListHostVulnerabilitiesResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostVulnerabilitiesin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listHostVulnerabilityImpactedHosts
public Future<ListHostVulnerabilityImpactedHostsResponse> listHostVulnerabilityImpactedHosts(ListHostVulnerabilityImpactedHostsRequest request, AsyncHandler<ListHostVulnerabilityImpactedHostsRequest,ListHostVulnerabilityImpactedHostsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listHostVulnerabilityImpactedHostsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVulnerabilities
public Future<ListVulnerabilitiesResponse> listVulnerabilities(ListVulnerabilitiesRequest request, AsyncHandler<ListVulnerabilitiesRequest,ListVulnerabilitiesResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listVulnerabilitiesin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVulnerabilityImpactedContainers
public Future<ListVulnerabilityImpactedContainersResponse> listVulnerabilityImpactedContainers(ListVulnerabilityImpactedContainersRequest request, AsyncHandler<ListVulnerabilityImpactedContainersRequest,ListVulnerabilityImpactedContainersResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listVulnerabilityImpactedContainersin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVulnerabilityImpactedHosts
public Future<ListVulnerabilityImpactedHostsResponse> listVulnerabilityImpactedHosts(ListVulnerabilityImpactedHostsRequest request, AsyncHandler<ListVulnerabilityImpactedHostsRequest,ListVulnerabilityImpactedHostsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncRetrieves 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.
- Specified by:
listVulnerabilityImpactedHostsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateContainerScanRecipe
public Future<UpdateContainerScanRecipeResponse> updateContainerScanRecipe(UpdateContainerScanRecipeRequest request, AsyncHandler<UpdateContainerScanRecipeRequest,UpdateContainerScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncUpdates the ContainerScanRecipe identified by the recipe ID.A recipe determines the types of security issues that you want scanned.
- Specified by:
updateContainerScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateContainerScanTarget
public Future<UpdateContainerScanTargetResponse> updateContainerScanTarget(UpdateContainerScanTargetRequest request, AsyncHandler<UpdateContainerScanTargetRequest,UpdateContainerScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncUpdates 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.
- Specified by:
updateContainerScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateHostScanRecipe
public Future<UpdateHostScanRecipeResponse> updateHostScanRecipe(UpdateHostScanRecipeRequest request, AsyncHandler<UpdateHostScanRecipeRequest,UpdateHostScanRecipeResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncUpdates the HostScanRecipe identified by the recipe ID.A recipe determines the types of security issues that you want scanned, and how often to scan.
- Specified by:
updateHostScanRecipein interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateHostScanTarget
public Future<UpdateHostScanTargetResponse> updateHostScanTarget(UpdateHostScanTargetRequest request, AsyncHandler<UpdateHostScanTargetRequest,UpdateHostScanTargetResponse> handler)
Description copied from interface:VulnerabilityScanningAsyncUpdates 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.
- Specified by:
updateHostScanTargetin interfaceVulnerabilityScanningAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-