Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Dblm.getVulnerability
Explore with Pulumi AI
This data source provides details about a specific Vulnerability resource in Oracle Cloud Infrastructure Dblm service.
Gets a Vulnerability
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  testVulnerability:
    fn::invoke:
      function: oci:Dblm:getVulnerability
      arguments:
        compartmentId: ${compartmentId}
        databaseRelease: ${vulnerabilityDatabaseRelease}
        state: ${vulnerabilityState}
Using getVulnerability
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVulnerability(args: GetVulnerabilityArgs, opts?: InvokeOptions): Promise<GetVulnerabilityResult>
function getVulnerabilityOutput(args: GetVulnerabilityOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityResult>def get_vulnerability(compartment_id: Optional[str] = None,
                      database_release: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetVulnerabilityResult
def get_vulnerability_output(compartment_id: Optional[pulumi.Input[str]] = None,
                      database_release: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityResult]func GetVulnerability(ctx *Context, args *GetVulnerabilityArgs, opts ...InvokeOption) (*GetVulnerabilityResult, error)
func GetVulnerabilityOutput(ctx *Context, args *GetVulnerabilityOutputArgs, opts ...InvokeOption) GetVulnerabilityResultOutput> Note: This function is named GetVulnerability in the Go SDK.
public static class GetVulnerability 
{
    public static Task<GetVulnerabilityResult> InvokeAsync(GetVulnerabilityArgs args, InvokeOptions? opts = null)
    public static Output<GetVulnerabilityResult> Invoke(GetVulnerabilityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVulnerabilityResult> getVulnerability(GetVulnerabilityArgs args, InvokeOptions options)
public static Output<GetVulnerabilityResult> getVulnerability(GetVulnerabilityArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Dblm/getVulnerability:getVulnerability
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The required ID of the compartment in which to list resources.
 - Database
Release string - A filter to return only database that match the given release version.
 
- Compartment
Id string - The required ID of the compartment in which to list resources.
 - Database
Release string - A filter to return only database that match the given release version.
 
- compartment
Id String - The required ID of the compartment in which to list resources.
 - database
Release String - A filter to return only database that match the given release version.
 
- compartment
Id string - The required ID of the compartment in which to list resources.
 - database
Release string - A filter to return only database that match the given release version.
 
- compartment_
id str - The required ID of the compartment in which to list resources.
 - database_
release str - A filter to return only database that match the given release version.
 
- compartment
Id String - The required ID of the compartment in which to list resources.
 - database
Release String - A filter to return only database that match the given release version.
 
getVulnerability Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier.
 - Dictionary<string, string>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The provider-assigned unique ID for this managed resource.
 - Message string
 - A message describing the status of the feature's state.
 - Patch
Recommendations List<GetSummaries Vulnerability Patch Recommendations Summary>  - Summary of the patch recommendations for databases.
 - Resources
List<Get
Vulnerability Resource>  - Resources objects.
 - Resources
Summaries List<GetVulnerability Resources Summary>  - Summary of dblm registered and unregistered resources.
 - State string
 - The current state of the feature.
 - Dictionary<string, string>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Enabled string - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - Vulnerabilities
Summaries List<GetVulnerability Vulnerabilities Summary>  - Summary of vulnerabilities found in registered resources grouped by severity.
 - Database
Release string 
- Compartment
Id string - Compartment Identifier.
 - map[string]string
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The provider-assigned unique ID for this managed resource.
 - Message string
 - A message describing the status of the feature's state.
 - Patch
Recommendations []GetSummaries Vulnerability Patch Recommendations Summary  - Summary of the patch recommendations for databases.
 - Resources
[]Get
Vulnerability Resource  - Resources objects.
 - Resources
Summaries []GetVulnerability Resources Summary  - Summary of dblm registered and unregistered resources.
 - State string
 - The current state of the feature.
 - map[string]string
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Enabled string - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - Vulnerabilities
Summaries []GetVulnerability Vulnerabilities Summary  - Summary of vulnerabilities found in registered resources grouped by severity.
 - Database
Release string 
- compartment
Id String - Compartment Identifier.
 - Map<String,String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The provider-assigned unique ID for this managed resource.
 - message String
 - A message describing the status of the feature's state.
 - patch
Recommendations List<GetSummaries Vulnerability Patch Recommendations Summary>  - Summary of the patch recommendations for databases.
 - resources
List<Get
Vulnerability Resource>  - Resources objects.
 - resources
Summaries List<GetVulnerability Resources Summary>  - Summary of dblm registered and unregistered resources.
 - state String
 - The current state of the feature.
 - Map<String,String>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Enabled String - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - vulnerabilities
Summaries List<GetVulnerability Vulnerabilities Summary>  - Summary of vulnerabilities found in registered resources grouped by severity.
 - database
Release String 
- compartment
Id string - Compartment Identifier.
 - {[key: string]: string}
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id string
 - The provider-assigned unique ID for this managed resource.
 - message string
 - A message describing the status of the feature's state.
 - patch
Recommendations GetSummaries Vulnerability Patch Recommendations Summary[]  - Summary of the patch recommendations for databases.
 - resources
Get
Vulnerability Resource[]  - Resources objects.
 - resources
Summaries GetVulnerability Resources Summary[]  - Summary of dblm registered and unregistered resources.
 - state string
 - The current state of the feature.
 - {[key: string]: string}
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Enabled string - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - vulnerabilities
Summaries GetVulnerability Vulnerabilities Summary[]  - Summary of vulnerabilities found in registered resources grouped by severity.
 - database
Release string 
- compartment_
id str - Compartment Identifier.
 - Mapping[str, str]
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id str
 - The provider-assigned unique ID for this managed resource.
 - message str
 - A message describing the status of the feature's state.
 - patch_
recommendations_ Sequence[dblm.summaries Get Vulnerability Patch Recommendations Summary]  - Summary of the patch recommendations for databases.
 - resources
Sequence[dblm.
Get Vulnerability Resource]  - Resources objects.
 - resources_
summaries Sequence[dblm.Get Vulnerability Resources Summary]  - Summary of dblm registered and unregistered resources.
 - state str
 - The current state of the feature.
 - Mapping[str, str]
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time_
enabled str - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - vulnerabilities_
summaries Sequence[dblm.Get Vulnerability Vulnerabilities Summary]  - Summary of vulnerabilities found in registered resources grouped by severity.
 - database_
release str 
- compartment
Id String - Compartment Identifier.
 - Map<String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The provider-assigned unique ID for this managed resource.
 - message String
 - A message describing the status of the feature's state.
 - patch
Recommendations List<Property Map>Summaries  - Summary of the patch recommendations for databases.
 - resources List<Property Map>
 - Resources objects.
 - resources
Summaries List<Property Map> - Summary of dblm registered and unregistered resources.
 - state String
 - The current state of the feature.
 - Map<String>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Enabled String - The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
 - vulnerabilities
Summaries List<Property Map> - Summary of vulnerabilities found in registered resources grouped by severity.
 - database
Release String 
Supporting Types
GetVulnerabilityPatchRecommendationsSummary    
- Patch
Available int - Total int
 - Up
To intDate  
- Patch
Available int - Total int
 - Up
To intDate  
- patch
Available Integer - total Integer
 - up
To IntegerDate  
- patch
Available number - total number
 - up
To numberDate  
- patch_
available int - total int
 - up_
to_ intdate  
- patch
Available Number - total Number
 - up
To NumberDate  
GetVulnerabilityResource  
- Connector
Id string - The connector Id of the resource.
 - Db
Platform stringType  - The platform type of the resource.
 - Db
Version string - The version of the resource.
 - Deployment
Type string - The deployment type of the resource.
 - Host
Infos List<GetVulnerability Resource Host Info>  - host info objects
 - Is
Cluster boolDb  - True if it is a cluster db.
 - License
Type string - The License Type of the resource.
 - Resource
Compartment stringId  - The compartmentId of the resource.
 - Resource
Id string - The Id of the resource.
 - Resource
Name string - The name of the resource.
 - Resource
Type string - The type of the resource.
 
- Connector
Id string - The connector Id of the resource.
 - Db
Platform stringType  - The platform type of the resource.
 - Db
Version string - The version of the resource.
 - Deployment
Type string - The deployment type of the resource.
 - Host
Infos []GetVulnerability Resource Host Info  - host info objects
 - Is
Cluster boolDb  - True if it is a cluster db.
 - License
Type string - The License Type of the resource.
 - Resource
Compartment stringId  - The compartmentId of the resource.
 - Resource
Id string - The Id of the resource.
 - Resource
Name string - The name of the resource.
 - Resource
Type string - The type of the resource.
 
- connector
Id String - The connector Id of the resource.
 - db
Platform StringType  - The platform type of the resource.
 - db
Version String - The version of the resource.
 - deployment
Type String - The deployment type of the resource.
 - host
Infos List<GetVulnerability Resource Host Info>  - host info objects
 - is
Cluster BooleanDb  - True if it is a cluster db.
 - license
Type String - The License Type of the resource.
 - resource
Compartment StringId  - The compartmentId of the resource.
 - resource
Id String - The Id of the resource.
 - resource
Name String - The name of the resource.
 - resource
Type String - The type of the resource.
 
- connector
Id string - The connector Id of the resource.
 - db
Platform stringType  - The platform type of the resource.
 - db
Version string - The version of the resource.
 - deployment
Type string - The deployment type of the resource.
 - host
Infos GetVulnerability Resource Host Info[]  - host info objects
 - is
Cluster booleanDb  - True if it is a cluster db.
 - license
Type string - The License Type of the resource.
 - resource
Compartment stringId  - The compartmentId of the resource.
 - resource
Id string - The Id of the resource.
 - resource
Name string - The name of the resource.
 - resource
Type string - The type of the resource.
 
- connector_
id str - The connector Id of the resource.
 - db_
platform_ strtype  - The platform type of the resource.
 - db_
version str - The version of the resource.
 - deployment_
type str - The deployment type of the resource.
 - host_
infos Sequence[dblm.Get Vulnerability Resource Host Info]  - host info objects
 - is_
cluster_ booldb  - True if it is a cluster db.
 - license_
type str - The License Type of the resource.
 - resource_
compartment_ strid  - The compartmentId of the resource.
 - resource_
id str - The Id of the resource.
 - resource_
name str - The name of the resource.
 - resource_
type str - The type of the resource.
 
- connector
Id String - The connector Id of the resource.
 - db
Platform StringType  - The platform type of the resource.
 - db
Version String - The version of the resource.
 - deployment
Type String - The deployment type of the resource.
 - host
Infos List<Property Map> - host info objects
 - is
Cluster BooleanDb  - True if it is a cluster db.
 - license
Type String - The License Type of the resource.
 - resource
Compartment StringId  - The compartmentId of the resource.
 - resource
Id String - The Id of the resource.
 - resource
Name String - The name of the resource.
 - resource
Type String - The type of the resource.
 
GetVulnerabilityResourceHostInfo    
- host_
cores int - Number of host cores.
 - host_
name str - The name of the host.
 
GetVulnerabilityResourcesSummary   
- not
Registered IntegerResources Count  - registered
Resources IntegerCount  - total
Resources IntegerCount  - vulnerable
Resources IntegerCount  - clean
Resources IntegerCount  - error
Resources IntegerCount  
- not
Registered numberResources Count  - registered
Resources numberCount  - total
Resources numberCount  - vulnerable
Resources numberCount  - clean
Resources numberCount  - error
Resources numberCount  
- not
Registered NumberResources Count  - registered
Resources NumberCount  - total
Resources NumberCount  - vulnerable
Resources NumberCount  - clean
Resources NumberCount  - error
Resources NumberCount  
GetVulnerabilityVulnerabilitiesSummary   
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.