Data Source: oci_vulnerability_scanning_host_scan_target_errors

This data source provides the list of Host Scan Target Errors in Oracle Cloud Infrastructure Vulnerability Scanning service.

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.

Example Usage

data "oci_vulnerability_scanning_host_scan_target_errors" "test_host_scan_target_errors" {
	#Required
	compartment_id = var.compartment_id
	host_scan_target_id = oci_vulnerability_scanning_host_scan_target.test_host_scan_target.id

	#Optional
	state = var.host_scan_target_error_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

HostScanTargetError Reference

The following attributes are exported: