Class VulnerabilityScanningClient
Service client instance for VulnerabilityScanning.
Implements
Inherited Members
Namespace: Oci.VulnerabilityscanningService
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class VulnerabilityScanningClient : RegionalClientBase, IDisposable
Constructors
VulnerabilityScanningClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public VulnerabilityScanningClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type | Name | Description |
---|---|---|
IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public VulnerabilityScanningPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
VulnerabilityScanningPaginators |
Waiters
Declaration
public VulnerabilityScanningWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
VulnerabilityScanningWaiters |
Methods
ChangeContainerScanRecipeCompartment(ChangeContainerScanRecipeCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a ContainerScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeContainerScanRecipeCompartmentResponse> ChangeContainerScanRecipeCompartment(ChangeContainerScanRecipeCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeContainerScanRecipeCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeContainerScanRecipeCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeContainerScanRecipeCompartment API.
ChangeContainerScanResultCompartment(ChangeContainerScanResultCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a ContainerScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeContainerScanResultCompartmentResponse> ChangeContainerScanResultCompartment(ChangeContainerScanResultCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeContainerScanResultCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeContainerScanResultCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeContainerScanResultCompartment API.
ChangeContainerScanTargetCompartment(ChangeContainerScanTargetCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a ContainerScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeContainerScanTargetCompartmentResponse> ChangeContainerScanTargetCompartment(ChangeContainerScanTargetCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeContainerScanTargetCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeContainerScanTargetCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeContainerScanTargetCompartment API.
ChangeHostAgentScanResultCompartment(ChangeHostAgentScanResultCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostAgentScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostAgentScanResultCompartmentResponse> ChangeHostAgentScanResultCompartment(ChangeHostAgentScanResultCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostAgentScanResultCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostAgentScanResultCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostAgentScanResultCompartment API.
ChangeHostCisBenchmarkScanResultCompartment(ChangeHostCisBenchmarkScanResultCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostCisBenchmarkScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostCisBenchmarkScanResultCompartmentResponse> ChangeHostCisBenchmarkScanResultCompartment(ChangeHostCisBenchmarkScanResultCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostCisBenchmarkScanResultCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostCisBenchmarkScanResultCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostCisBenchmarkScanResultCompartment API.
ChangeHostEndpointProtectionScanResultCompartment(ChangeHostEndpointProtectionScanResultCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostEndpointProtectionScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostEndpointProtectionScanResultCompartmentResponse> ChangeHostEndpointProtectionScanResultCompartment(ChangeHostEndpointProtectionScanResultCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostEndpointProtectionScanResultCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostEndpointProtectionScanResultCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostEndpointProtectionScanResultCompartment API.
ChangeHostPortScanResultCompartment(ChangeHostPortScanResultCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostPortScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostPortScanResultCompartmentResponse> ChangeHostPortScanResultCompartment(ChangeHostPortScanResultCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostPortScanResultCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostPortScanResultCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostPortScanResultCompartment API.
ChangeHostScanRecipeCompartment(ChangeHostScanRecipeCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostScanRecipeCompartmentResponse> ChangeHostScanRecipeCompartment(ChangeHostScanRecipeCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostScanRecipeCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostScanRecipeCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostScanRecipeCompartment API.
ChangeHostScanTargetCompartment(ChangeHostScanTargetCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a HostScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeHostScanTargetCompartmentResponse> ChangeHostScanTargetCompartment(ChangeHostScanTargetCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeHostScanTargetCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeHostScanTargetCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeHostScanTargetCompartment API.
CreateContainerScanRecipe(CreateContainerScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned.
Declaration
public Task<CreateContainerScanRecipeResponse> CreateContainerScanRecipe(CreateContainerScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateContainerScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateContainerScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateContainerScanRecipe API.
CreateContainerScanTarget(CreateContainerScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<CreateContainerScanTargetResponse> CreateContainerScanTarget(CreateContainerScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateContainerScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateContainerScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateContainerScanTarget API.
CreateHostScanRecipe(CreateHostScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new HostScanRecipe. A recipe determines the types of security issues that you want scanned, and how often to scan.
Declaration
public Task<CreateHostScanRecipeResponse> CreateHostScanRecipe(CreateHostScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateHostScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateHostScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateHostScanRecipe API.
CreateHostScanTarget(CreateHostScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new HostScanTarget. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.
Declaration
public Task<CreateHostScanTargetResponse> CreateHostScanTarget(CreateHostScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateHostScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateHostScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateHostScanTarget API.
DeleteContainerScanRecipe(DeleteContainerScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the ContainerScanRecipe identified by the recipe ID.
Declaration
public Task<DeleteContainerScanRecipeResponse> DeleteContainerScanRecipe(DeleteContainerScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteContainerScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteContainerScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerScanRecipe API.
DeleteContainerScanResult(DeleteContainerScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the ContainerScanResult identified by the container scan ID.
Declaration
public Task<DeleteContainerScanResultResponse> DeleteContainerScanResult(DeleteContainerScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteContainerScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteContainerScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerScanResult API.
DeleteContainerScanTarget(DeleteContainerScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the ContainerScanTarget identified by the target ID.
Declaration
public Task<DeleteContainerScanTargetResponse> DeleteContainerScanTarget(DeleteContainerScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteContainerScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteContainerScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerScanTarget API.
DeleteHostAgentScanResult(DeleteHostAgentScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostAgentScanResult identified by the host agent scan ID.
Declaration
public Task<DeleteHostAgentScanResultResponse> DeleteHostAgentScanResult(DeleteHostAgentScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostAgentScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostAgentScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostAgentScanResult API.
DeleteHostCisBenchmarkScanResult(DeleteHostCisBenchmarkScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.
Declaration
public Task<DeleteHostCisBenchmarkScanResultResponse> DeleteHostCisBenchmarkScanResult(DeleteHostCisBenchmarkScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostCisBenchmarkScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostCisBenchmarkScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostCisBenchmarkScanResult API.
DeleteHostEndpointProtectionScanResult(DeleteHostEndpointProtectionScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostEndpointProtectionScanResult identified by the id
Declaration
public Task<DeleteHostEndpointProtectionScanResultResponse> DeleteHostEndpointProtectionScanResult(DeleteHostEndpointProtectionScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostEndpointProtectionScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostEndpointProtectionScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostEndpointProtectionScanResult API.
DeleteHostPortScanResult(DeleteHostPortScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostPortScanResult identified by the host port scan ID.
Declaration
public Task<DeleteHostPortScanResultResponse> DeleteHostPortScanResult(DeleteHostPortScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostPortScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostPortScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostPortScanResult API.
DeleteHostScanRecipe(DeleteHostScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostScanRecipe identified by the recipe ID.
Declaration
public Task<DeleteHostScanRecipeResponse> DeleteHostScanRecipe(DeleteHostScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostScanRecipe API.
DeleteHostScanTarget(DeleteHostScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the HostScanTarget identified by the target ID.
Declaration
public Task<DeleteHostScanTargetResponse> DeleteHostScanTarget(DeleteHostScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteHostScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteHostScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteHostScanTarget API.
ExportHostAgentScanResultCsv(ExportHostAgentScanResultCsvRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ExportHostAgentScanResultCsvResponse> ExportHostAgentScanResultCsv(ExportHostAgentScanResultCsvRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ExportHostAgentScanResultCsvRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ExportHostAgentScanResultCsvResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ExportHostAgentScanResultCsv API.
ExportHostVulnerabilityCsv(ExportHostVulnerabilityCsvRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Exports a list of HostVulnerabilitySummary objects in a compartment in CSV format.
Declaration
public Task<ExportHostVulnerabilityCsvResponse> ExportHostVulnerabilityCsv(ExportHostVulnerabilityCsvRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ExportHostVulnerabilityCsvRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ExportHostVulnerabilityCsvResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ExportHostVulnerabilityCsv API.
GetContainerScanRecipe(GetContainerScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Retrieves a ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
Declaration
public Task<GetContainerScanRecipeResponse> GetContainerScanRecipe(GetContainerScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetContainerScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetContainerScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerScanRecipe API.
GetContainerScanResult(GetContainerScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetContainerScanResultResponse> GetContainerScanResult(GetContainerScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetContainerScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetContainerScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerScanResult API.
GetContainerScanTarget(GetContainerScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetContainerScanTargetResponse> GetContainerScanTarget(GetContainerScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetContainerScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetContainerScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerScanTarget API.
GetHostAgentScanResult(GetHostAgentScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Retrieves a HostAgentScanResult identified by the host agent scan ID. The result includes a list of CVEs detected in a specific compute instance.
Declaration
public Task<GetHostAgentScanResultResponse> GetHostAgentScanResult(GetHostAgentScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostAgentScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostAgentScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostAgentScanResult API.
GetHostCisBenchmarkScanResult(GetHostCisBenchmarkScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetHostCisBenchmarkScanResultResponse> GetHostCisBenchmarkScanResult(GetHostCisBenchmarkScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostCisBenchmarkScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostCisBenchmarkScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostCisBenchmarkScanResult API.
GetHostEndpointProtectionScanResult(GetHostEndpointProtectionScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.
Declaration
public Task<GetHostEndpointProtectionScanResultResponse> GetHostEndpointProtectionScanResult(GetHostEndpointProtectionScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostEndpointProtectionScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostEndpointProtectionScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostEndpointProtectionScanResult API.
GetHostPortScanResult(GetHostPortScanResultRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetHostPortScanResultResponse> GetHostPortScanResult(GetHostPortScanResultRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostPortScanResultRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostPortScanResultResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostPortScanResult API.
GetHostScanRecipe(GetHostScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetHostScanRecipeResponse> GetHostScanRecipe(GetHostScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostScanRecipe API.
GetHostScanTarget(GetHostScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetHostScanTargetResponse> GetHostScanTarget(GetHostScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostScanTarget API.
GetHostVulnerability(GetHostVulnerabilityRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetHostVulnerabilityResponse> GetHostVulnerability(GetHostVulnerabilityRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetHostVulnerabilityRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetHostVulnerabilityResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetHostVulnerability API.
GetVulnerability(GetVulnerabilityRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<GetVulnerabilityResponse> GetVulnerability(GetVulnerabilityRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetVulnerabilityRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetVulnerabilityResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetVulnerability API.
GetWorkRequest(GetWorkRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the status of the work request with the given ID.
Declaration
public Task<GetWorkRequestResponse> GetWorkRequest(GetWorkRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetWorkRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetWorkRequest API.
ListContainerScanRecipes(ListContainerScanRecipesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Retrieves a list of ContainerScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned.
Declaration
public Task<ListContainerScanRecipesResponse> ListContainerScanRecipes(ListContainerScanRecipesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListContainerScanRecipesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListContainerScanRecipesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerScanRecipes API.
ListContainerScanResults(ListContainerScanResultsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListContainerScanResultsResponse> ListContainerScanResults(ListContainerScanResultsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListContainerScanResultsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListContainerScanResultsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerScanResults API.
ListContainerScanTargets(ListContainerScanTargetsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListContainerScanTargetsResponse> ListContainerScanTargets(ListContainerScanTargetsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListContainerScanTargetsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListContainerScanTargetsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerScanTargets API.
ListHostAgentScanResults(ListHostAgentScanResultsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostAgentScanResultsResponse> ListHostAgentScanResults(ListHostAgentScanResultsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostAgentScanResultsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostAgentScanResultsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostAgentScanResults API.
ListHostCisBenchmarkScanResults(ListHostCisBenchmarkScanResultsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostCisBenchmarkScanResultsResponse> ListHostCisBenchmarkScanResults(ListHostCisBenchmarkScanResultsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostCisBenchmarkScanResultsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostCisBenchmarkScanResultsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostCisBenchmarkScanResults API.
ListHostEndpointProtectionScanResults(ListHostEndpointProtectionScanResultsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a collection of HostEndpointProtectionScanResultSummary objects
Declaration
public Task<ListHostEndpointProtectionScanResultsResponse> ListHostEndpointProtectionScanResults(ListHostEndpointProtectionScanResultsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostEndpointProtectionScanResultsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostEndpointProtectionScanResultsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostEndpointProtectionScanResults API.
ListHostPortScanResults(ListHostPortScanResultsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostPortScanResultsResponse> ListHostPortScanResults(ListHostPortScanResultsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostPortScanResultsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostPortScanResultsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostPortScanResults API.
ListHostScanRecipes(ListHostScanRecipesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostScanRecipesResponse> ListHostScanRecipes(ListHostScanRecipesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostScanRecipesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostScanRecipesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostScanRecipes API.
ListHostScanTargetErrors(ListHostScanTargetErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostScanTargetErrorsResponse> ListHostScanTargetErrors(ListHostScanTargetErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostScanTargetErrorsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostScanTargetErrorsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostScanTargetErrors API.
ListHostScanTargets(ListHostScanTargetsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostScanTargetsResponse> ListHostScanTargets(ListHostScanTargetsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostScanTargetsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostScanTargetsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostScanTargets API.
ListHostVulnerabilities(ListHostVulnerabilitiesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostVulnerabilitiesResponse> ListHostVulnerabilities(ListHostVulnerabilitiesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostVulnerabilitiesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostVulnerabilitiesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostVulnerabilities API.
ListHostVulnerabilityImpactedHosts(ListHostVulnerabilityImpactedHostsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListHostVulnerabilityImpactedHostsResponse> ListHostVulnerabilityImpactedHosts(ListHostVulnerabilityImpactedHostsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListHostVulnerabilityImpactedHostsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListHostVulnerabilityImpactedHostsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListHostVulnerabilityImpactedHosts API.
ListVulnerabilities(ListVulnerabilitiesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListVulnerabilitiesResponse> ListVulnerabilities(ListVulnerabilitiesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListVulnerabilitiesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListVulnerabilitiesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListVulnerabilities API.
ListVulnerabilityImpactedContainers(ListVulnerabilityImpactedContainersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListVulnerabilityImpactedContainersResponse> ListVulnerabilityImpactedContainers(ListVulnerabilityImpactedContainersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListVulnerabilityImpactedContainersRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListVulnerabilityImpactedContainersResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListVulnerabilityImpactedContainers API.
ListVulnerabilityImpactedHosts(ListVulnerabilityImpactedHostsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ListVulnerabilityImpactedHostsResponse> ListVulnerabilityImpactedHosts(ListVulnerabilityImpactedHostsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListVulnerabilityImpactedHostsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListVulnerabilityImpactedHostsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListVulnerabilityImpactedHosts API.
ListWorkRequestErrors(ListWorkRequestErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Return a (paginated) list of errors for a given work request.
Declaration
public Task<ListWorkRequestErrorsResponse> ListWorkRequestErrors(ListWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestErrorsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestErrorsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequestErrors API.
ListWorkRequestLogs(ListWorkRequestLogsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Return a (paginated) list of logs for a given work request.
Declaration
public Task<ListWorkRequestLogsResponse> ListWorkRequestLogs(ListWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestLogsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestLogsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequestLogs API.
ListWorkRequests(ListWorkRequestsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists the work requests in a compartment.
Declaration
public Task<ListWorkRequestsResponse> ListWorkRequests(ListWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequests API.
UpdateContainerScanRecipe(UpdateContainerScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.
Declaration
public Task<UpdateContainerScanRecipeResponse> UpdateContainerScanRecipe(UpdateContainerScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateContainerScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateContainerScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerScanRecipe API.
UpdateContainerScanTarget(UpdateContainerScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<UpdateContainerScanTargetResponse> UpdateContainerScanTarget(UpdateContainerScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateContainerScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateContainerScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerScanTarget API.
UpdateHostScanRecipe(UpdateHostScanRecipeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<UpdateHostScanRecipeResponse> UpdateHostScanRecipe(UpdateHostScanRecipeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateHostScanRecipeRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateHostScanRecipeResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateHostScanRecipe API.
UpdateHostScanTarget(UpdateHostScanTargetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<UpdateHostScanTargetResponse> UpdateHostScanTarget(UpdateHostScanTargetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateHostScanTargetRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateHostScanTargetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateHostScanTarget API.