@Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public class VulnerabilityScanningClient extends BaseSyncClient implements VulnerabilityScanning
Modifier and Type | Class and Description |
---|---|
static class |
VulnerabilityScanningClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for VulnerabilityScanning.
|
Constructor and Description |
---|
VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for VulnerabilityScanning.
public final String clientCommonLibraryVersion
@Deprecated public VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public VulnerabilityScanningClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public VulnerabilityScanningClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see VulnerabilityScanningClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- VulnerabilityScanningClient.Builder.executorService
public static VulnerabilityScanningClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
VulnerabilityScanning
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.
setRegion
in interface VulnerabilityScanning
region
- The region of the service.public void setRegion(String regionId)
VulnerabilityScanning
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
.
setRegion
in interface VulnerabilityScanning
regionId
- The public region ID.public ChangeContainerScanRecipeCompartmentResponse changeContainerScanRecipeCompartment(ChangeContainerScanRecipeCompartmentRequest request)
VulnerabilityScanning
Moves a ContainerScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeContainerScanRecipeCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeContainerScanResultCompartmentResponse changeContainerScanResultCompartment(ChangeContainerScanResultCompartmentRequest request)
VulnerabilityScanning
Moves a ContainerScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeContainerScanResultCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeContainerScanTargetCompartmentResponse changeContainerScanTargetCompartment(ChangeContainerScanTargetCompartmentRequest request)
VulnerabilityScanning
Moves a ContainerScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeContainerScanTargetCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostAgentScanResultCompartmentResponse changeHostAgentScanResultCompartment(ChangeHostAgentScanResultCompartmentRequest request)
VulnerabilityScanning
Moves a HostAgentScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostAgentScanResultCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostCisBenchmarkScanResultCompartmentResponse changeHostCisBenchmarkScanResultCompartment(ChangeHostCisBenchmarkScanResultCompartmentRequest request)
VulnerabilityScanning
Moves a HostCisBenchmarkScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostCisBenchmarkScanResultCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostEndpointProtectionScanResultCompartmentResponse changeHostEndpointProtectionScanResultCompartment(ChangeHostEndpointProtectionScanResultCompartmentRequest request)
VulnerabilityScanning
Moves a HostEndpointProtectionScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostEndpointProtectionScanResultCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostPortScanResultCompartmentResponse changeHostPortScanResultCompartment(ChangeHostPortScanResultCompartmentRequest request)
VulnerabilityScanning
Moves a HostPortScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostPortScanResultCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostScanRecipeCompartmentResponse changeHostScanRecipeCompartment(ChangeHostScanRecipeCompartmentRequest request)
VulnerabilityScanning
Moves a HostScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostScanRecipeCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ChangeHostScanTargetCompartmentResponse changeHostScanTargetCompartment(ChangeHostScanTargetCompartmentRequest request)
VulnerabilityScanning
Moves a HostScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeHostScanTargetCompartment
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic CreateContainerScanRecipeResponse createContainerScanRecipe(CreateContainerScanRecipeRequest request)
VulnerabilityScanning
Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned.
createContainerScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic CreateContainerScanTargetResponse createContainerScanTarget(CreateContainerScanTargetRequest request)
VulnerabilityScanning
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.
createContainerScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic CreateHostScanRecipeResponse createHostScanRecipe(CreateHostScanRecipeRequest request)
VulnerabilityScanning
Creates a new HostScanRecipe. A recipe determines the types of security issues that you want scanned, and how often to scan.
createHostScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic CreateHostScanTargetResponse createHostScanTarget(CreateHostScanTargetRequest request)
VulnerabilityScanning
Creates a new HostScanTarget. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
createHostScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteContainerScanRecipeResponse deleteContainerScanRecipe(DeleteContainerScanRecipeRequest request)
VulnerabilityScanning
Deletes the ContainerScanRecipe identified by the recipe ID.
deleteContainerScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteContainerScanResultResponse deleteContainerScanResult(DeleteContainerScanResultRequest request)
VulnerabilityScanning
Deletes the ContainerScanResult identified by the container scan ID.
deleteContainerScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteContainerScanTargetResponse deleteContainerScanTarget(DeleteContainerScanTargetRequest request)
VulnerabilityScanning
Deletes the ContainerScanTarget identified by the target ID.
deleteContainerScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostAgentScanResultResponse deleteHostAgentScanResult(DeleteHostAgentScanResultRequest request)
VulnerabilityScanning
Deletes the HostAgentScanResult identified by the host agent scan ID.
deleteHostAgentScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostCisBenchmarkScanResultResponse deleteHostCisBenchmarkScanResult(DeleteHostCisBenchmarkScanResultRequest request)
VulnerabilityScanning
Deletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.
deleteHostCisBenchmarkScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostEndpointProtectionScanResultResponse deleteHostEndpointProtectionScanResult(DeleteHostEndpointProtectionScanResultRequest request)
VulnerabilityScanning
Deletes the HostEndpointProtectionScanResult identified by the id
deleteHostEndpointProtectionScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostPortScanResultResponse deleteHostPortScanResult(DeleteHostPortScanResultRequest request)
VulnerabilityScanning
Deletes the HostPortScanResult identified by the host port scan ID.
deleteHostPortScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostScanRecipeResponse deleteHostScanRecipe(DeleteHostScanRecipeRequest request)
VulnerabilityScanning
Deletes the HostScanRecipe identified by the recipe ID.
deleteHostScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic DeleteHostScanTargetResponse deleteHostScanTarget(DeleteHostScanTargetRequest request)
VulnerabilityScanning
Deletes the HostScanTarget identified by the target ID.
deleteHostScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ExportHostAgentScanResultCsvResponse exportHostAgentScanResultCsv(ExportHostAgentScanResultCsvRequest request)
VulnerabilityScanning
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.
exportHostAgentScanResultCsv
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ExportHostVulnerabilityCsvResponse exportHostVulnerabilityCsv(ExportHostVulnerabilityCsvRequest request)
VulnerabilityScanning
Exports a list of HostVulnerabilitySummary objects in a compartment in CSV format.
exportHostVulnerabilityCsv
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetContainerScanRecipeResponse getContainerScanRecipe(GetContainerScanRecipeRequest request)
VulnerabilityScanning
Retrieves a ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
getContainerScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetContainerScanResultResponse getContainerScanResult(GetContainerScanResultRequest request)
VulnerabilityScanning
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.
getContainerScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetContainerScanTargetResponse getContainerScanTarget(GetContainerScanTargetRequest request)
VulnerabilityScanning
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.
getContainerScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostAgentScanResultResponse getHostAgentScanResult(GetHostAgentScanResultRequest request)
VulnerabilityScanning
Retrieves a HostAgentScanResult identified by the host agent scan ID. The result includes a list of CVEs detected in a specific compute instance.
getHostAgentScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostCisBenchmarkScanResultResponse getHostCisBenchmarkScanResult(GetHostCisBenchmarkScanResultRequest request)
VulnerabilityScanning
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.
getHostCisBenchmarkScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostEndpointProtectionScanResultResponse getHostEndpointProtectionScanResult(GetHostEndpointProtectionScanResultRequest request)
VulnerabilityScanning
Returns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.
getHostEndpointProtectionScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostPortScanResultResponse getHostPortScanResult(GetHostPortScanResultRequest request)
VulnerabilityScanning
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.
getHostPortScanResult
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostScanRecipeResponse getHostScanRecipe(GetHostScanRecipeRequest request)
VulnerabilityScanning
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.
getHostScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostScanTargetResponse getHostScanTarget(GetHostScanTargetRequest request)
VulnerabilityScanning
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.
getHostScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetHostVulnerabilityResponse getHostVulnerability(GetHostVulnerabilityRequest request)
VulnerabilityScanning
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.
getHostVulnerability
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetVulnerabilityResponse getVulnerability(GetVulnerabilityRequest request)
VulnerabilityScanning
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.
getVulnerability
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
VulnerabilityScanning
Gets the status of the work request with the given ID.
getWorkRequest
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListContainerScanRecipesResponse listContainerScanRecipes(ListContainerScanRecipesRequest request)
VulnerabilityScanning
Retrieves a list of ContainerScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned.
listContainerScanRecipes
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListContainerScanResultsResponse listContainerScanResults(ListContainerScanResultsRequest request)
VulnerabilityScanning
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.
listContainerScanResults
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListContainerScanTargetsResponse listContainerScanTargets(ListContainerScanTargetsRequest request)
VulnerabilityScanning
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.
listContainerScanTargets
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostAgentScanResultsResponse listHostAgentScanResults(ListHostAgentScanResultsRequest request)
VulnerabilityScanning
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.
listHostAgentScanResults
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostCisBenchmarkScanResultsResponse listHostCisBenchmarkScanResults(ListHostCisBenchmarkScanResultsRequest request)
VulnerabilityScanning
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.
listHostCisBenchmarkScanResults
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostEndpointProtectionScanResultsResponse listHostEndpointProtectionScanResults(ListHostEndpointProtectionScanResultsRequest request)
VulnerabilityScanning
Returns a collection of HostEndpointProtectionScanResultSummary objects
listHostEndpointProtectionScanResults
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostPortScanResultsResponse listHostPortScanResults(ListHostPortScanResultsRequest request)
VulnerabilityScanning
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.
listHostPortScanResults
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostScanRecipesResponse listHostScanRecipes(ListHostScanRecipesRequest request)
VulnerabilityScanning
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.
listHostScanRecipes
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostScanTargetErrorsResponse listHostScanTargetErrors(ListHostScanTargetErrorsRequest request)
VulnerabilityScanning
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.
listHostScanTargetErrors
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostScanTargetsResponse listHostScanTargets(ListHostScanTargetsRequest request)
VulnerabilityScanning
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.
listHostScanTargets
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostVulnerabilitiesResponse listHostVulnerabilities(ListHostVulnerabilitiesRequest request)
VulnerabilityScanning
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.
listHostVulnerabilities
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListHostVulnerabilityImpactedHostsResponse listHostVulnerabilityImpactedHosts(ListHostVulnerabilityImpactedHostsRequest request)
VulnerabilityScanning
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.
listHostVulnerabilityImpactedHosts
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListVulnerabilitiesResponse listVulnerabilities(ListVulnerabilitiesRequest request)
VulnerabilityScanning
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.
listVulnerabilities
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListVulnerabilityImpactedContainersResponse listVulnerabilityImpactedContainers(ListVulnerabilityImpactedContainersRequest request)
VulnerabilityScanning
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.
listVulnerabilityImpactedContainers
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListVulnerabilityImpactedHostsResponse listVulnerabilityImpactedHosts(ListVulnerabilityImpactedHostsRequest request)
VulnerabilityScanning
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.
listVulnerabilityImpactedHosts
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
VulnerabilityScanning
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
VulnerabilityScanning
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
VulnerabilityScanning
Lists the work requests in a compartment.
listWorkRequests
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic UpdateContainerScanRecipeResponse updateContainerScanRecipe(UpdateContainerScanRecipeRequest request)
VulnerabilityScanning
Updates the ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
updateContainerScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic UpdateContainerScanTargetResponse updateContainerScanTarget(UpdateContainerScanTargetRequest request)
VulnerabilityScanning
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.
updateContainerScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic UpdateHostScanRecipeResponse updateHostScanRecipe(UpdateHostScanRecipeRequest request)
VulnerabilityScanning
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.
updateHostScanRecipe
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic UpdateHostScanTargetResponse updateHostScanTarget(UpdateHostScanTargetRequest request)
VulnerabilityScanning
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.
updateHostScanTarget
in interface VulnerabilityScanning
request
- The request object containing the details to sendpublic VulnerabilityScanningWaiters getWaiters()
VulnerabilityScanning
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface VulnerabilityScanning
public VulnerabilityScanningPaginators getPaginators()
VulnerabilityScanning
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface VulnerabilityScanning
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.