import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostScanTargetErrors = oci.vulnerabilityscanning.getHostScanTargetErrors({ * compartmentId: compartmentId, * hostScanTargetId: testHostScanTarget.id, * state: hostScanTargetErrorState, * }); * ``` */ export declare function getHostScanTargetErrors(args: GetHostScanTargetErrorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostScanTargetErrors. */ export interface GetHostScanTargetErrorsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; filters?: inputs.VulnerabilityScanning.GetHostScanTargetErrorsFilter[]; /** * unique HostScanTarget identifier */ hostScanTargetId: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getHostScanTargetErrors. */ export interface GetHostScanTargetErrorsResult { readonly compartmentId: string; readonly filters?: outputs.VulnerabilityScanning.GetHostScanTargetErrorsFilter[]; /** * The list of host_scan_target_error_summary_collection. */ readonly hostScanTargetErrorSummaryCollections: outputs.VulnerabilityScanning.GetHostScanTargetErrorsHostScanTargetErrorSummaryCollection[]; readonly hostScanTargetId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the config. */ readonly state?: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostScanTargetErrors = oci.vulnerabilityscanning.getHostScanTargetErrors({ * compartmentId: compartmentId, * hostScanTargetId: testHostScanTarget.id, * state: hostScanTargetErrorState, * }); * ``` */ export declare function getHostScanTargetErrorsOutput(args: GetHostScanTargetErrorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostScanTargetErrors. */ export interface GetHostScanTargetErrorsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * unique HostScanTarget identifier */ hostScanTargetId: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getHostScanTargetErrors.d.ts.map