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 Vulnerability Resources in Oracle Cloud Infrastructure Dblm service. * * > **WARNING:** End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date. * * Lists the summary of vulnerable and clean resourcees * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVulnerabilityResources = oci.dblm.getVulnerabilityResources({ * compartmentId: compartmentId, * cveId: testCve.id, * databaseRelease: vulnerabilityResourceDatabaseRelease, * displayName: vulnerabilityResourceDisplayName, * patchRecommendations: vulnerabilityResourcePatchRecommendation, * severityTypes: vulnerabilityResourceSeverityType, * state: vulnerabilityResourceState, * }); * ``` */ export declare function getVulnerabilityResources(args: GetVulnerabilityResourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVulnerabilityResources. */ export interface GetVulnerabilityResourcesArgs { /** * The required ID of the compartment in which to list resources. */ compartmentId: string; /** * The id of a CVE. */ cveId?: string; /** * A filter to return only database that match the given release version. */ databaseRelease?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Dblm.GetVulnerabilityResourcesFilter[]; /** * Filter by one or more severity types. Possible values are upToDate, patchAvailable */ patchRecommendations?: string[]; /** * Filter by one or more severity types. Possible values are critical, high, medium, low, info and none. */ severityTypes?: string[]; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getVulnerabilityResources. */ export interface GetVulnerabilityResourcesResult { readonly compartmentId: string; readonly cveId?: string; readonly databaseRelease?: string; readonly displayName?: string; readonly filters?: outputs.Dblm.GetVulnerabilityResourcesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly patchRecommendations?: string[]; readonly severityTypes?: string[]; readonly state?: string; /** * The list of vulnerability_resource_collection. */ readonly vulnerabilityResourceCollections: outputs.Dblm.GetVulnerabilityResourcesVulnerabilityResourceCollection[]; } /** * This data source provides the list of Vulnerability Resources in Oracle Cloud Infrastructure Dblm service. * * > **WARNING:** End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date. * * Lists the summary of vulnerable and clean resourcees * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVulnerabilityResources = oci.dblm.getVulnerabilityResources({ * compartmentId: compartmentId, * cveId: testCve.id, * databaseRelease: vulnerabilityResourceDatabaseRelease, * displayName: vulnerabilityResourceDisplayName, * patchRecommendations: vulnerabilityResourcePatchRecommendation, * severityTypes: vulnerabilityResourceSeverityType, * state: vulnerabilityResourceState, * }); * ``` */ export declare function getVulnerabilityResourcesOutput(args: GetVulnerabilityResourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVulnerabilityResources. */ export interface GetVulnerabilityResourcesOutputArgs { /** * The required ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The id of a CVE. */ cveId?: pulumi.Input; /** * A filter to return only database that match the given release version. */ databaseRelease?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter by one or more severity types. Possible values are upToDate, patchAvailable */ patchRecommendations?: pulumi.Input[] | undefined>; /** * Filter by one or more severity types. Possible values are critical, high, medium, low, info and none. */ severityTypes?: pulumi.Input[] | undefined>; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getVulnerabilityResources.d.ts.map