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:
- CompartmentId string
- The required ID of the compartment in which to list resources.
- DatabaseRelease string
- A filter to return only database that match the given release version.
- CompartmentId string
- The required ID of the compartment in which to list resources.
- DatabaseRelease string
- A filter to return only database that match the given release version.
- compartmentId String
- The required ID of the compartment in which to list resources.
- databaseRelease String
- A filter to return only database that match the given release version.
- compartmentId string
- The required ID of the compartment in which to list resources.
- databaseRelease 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.
- compartmentId String
- The required ID of the compartment in which to list resources.
- databaseRelease String
- A filter to return only database that match the given release version.
getVulnerability Result
The following output properties are available:
- CompartmentId 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.
- PatchRecommendations List<GetSummaries Vulnerability Patch Recommendations Summary> 
- Summary of the patch recommendations for databases.
- Resources
List<GetVulnerability Resource> 
- Resources objects.
- ResourcesSummaries 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"}
- TimeEnabled string
- The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
- VulnerabilitiesSummaries List<GetVulnerability Vulnerabilities Summary> 
- Summary of vulnerabilities found in registered resources grouped by severity.
- DatabaseRelease string
- CompartmentId 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.
- PatchRecommendations []GetSummaries Vulnerability Patch Recommendations Summary 
- Summary of the patch recommendations for databases.
- Resources
[]GetVulnerability Resource 
- Resources objects.
- ResourcesSummaries []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"}
- TimeEnabled string
- The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
- VulnerabilitiesSummaries []GetVulnerability Vulnerabilities Summary 
- Summary of vulnerabilities found in registered resources grouped by severity.
- DatabaseRelease string
- compartmentId 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.
- patchRecommendations List<GetSummaries Vulnerability Patch Recommendations Summary> 
- Summary of the patch recommendations for databases.
- resources
List<GetVulnerability Resource> 
- Resources objects.
- resourcesSummaries 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"}
- timeEnabled String
- The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
- vulnerabilitiesSummaries List<GetVulnerability Vulnerabilities Summary> 
- Summary of vulnerabilities found in registered resources grouped by severity.
- databaseRelease String
- compartmentId 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.
- patchRecommendations GetSummaries Vulnerability Patch Recommendations Summary[] 
- Summary of the patch recommendations for databases.
- resources
GetVulnerability Resource[] 
- Resources objects.
- resourcesSummaries 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"}
- timeEnabled string
- The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
- vulnerabilitiesSummaries GetVulnerability Vulnerabilities Summary[] 
- Summary of vulnerabilities found in registered resources grouped by severity.
- databaseRelease 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
- compartmentId 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.
- patchRecommendations List<Property Map>Summaries 
- Summary of the patch recommendations for databases.
- resources List<Property Map>
- Resources objects.
- resourcesSummaries 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"}
- timeEnabled String
- The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
- vulnerabilitiesSummaries List<Property Map>
- Summary of vulnerabilities found in registered resources grouped by severity.
- databaseRelease String
Supporting Types
GetVulnerabilityPatchRecommendationsSummary    
- PatchAvailable int
- Total int
- UpTo intDate 
- PatchAvailable int
- Total int
- UpTo intDate 
- patchAvailable Integer
- total Integer
- upTo IntegerDate 
- patchAvailable number
- total number
- upTo numberDate 
- patch_available int
- total int
- up_to_ intdate 
- patchAvailable Number
- total Number
- upTo NumberDate 
GetVulnerabilityResource  
- ConnectorId string
- The connector Id of the resource.
- DbPlatform stringType 
- The platform type of the resource.
- DbVersion string
- The version of the resource.
- DeploymentType string
- The deployment type of the resource.
- HostInfos List<GetVulnerability Resource Host Info> 
- host info objects
- IsCluster boolDb 
- True if it is a cluster db.
- LicenseType string
- The License Type of the resource.
- ResourceCompartment stringId 
- The compartmentId of the resource.
- ResourceId string
- The Id of the resource.
- ResourceName string
- The name of the resource.
- ResourceType string
- The type of the resource.
- ConnectorId string
- The connector Id of the resource.
- DbPlatform stringType 
- The platform type of the resource.
- DbVersion string
- The version of the resource.
- DeploymentType string
- The deployment type of the resource.
- HostInfos []GetVulnerability Resource Host Info 
- host info objects
- IsCluster boolDb 
- True if it is a cluster db.
- LicenseType string
- The License Type of the resource.
- ResourceCompartment stringId 
- The compartmentId of the resource.
- ResourceId string
- The Id of the resource.
- ResourceName string
- The name of the resource.
- ResourceType string
- The type of the resource.
- connectorId String
- The connector Id of the resource.
- dbPlatform StringType 
- The platform type of the resource.
- dbVersion String
- The version of the resource.
- deploymentType String
- The deployment type of the resource.
- hostInfos List<GetVulnerability Resource Host Info> 
- host info objects
- isCluster BooleanDb 
- True if it is a cluster db.
- licenseType String
- The License Type of the resource.
- resourceCompartment StringId 
- The compartmentId of the resource.
- resourceId String
- The Id of the resource.
- resourceName String
- The name of the resource.
- resourceType String
- The type of the resource.
- connectorId string
- The connector Id of the resource.
- dbPlatform stringType 
- The platform type of the resource.
- dbVersion string
- The version of the resource.
- deploymentType string
- The deployment type of the resource.
- hostInfos GetVulnerability Resource Host Info[] 
- host info objects
- isCluster booleanDb 
- True if it is a cluster db.
- licenseType string
- The License Type of the resource.
- resourceCompartment stringId 
- The compartmentId of the resource.
- resourceId string
- The Id of the resource.
- resourceName string
- The name of the resource.
- resourceType 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.
- connectorId String
- The connector Id of the resource.
- dbPlatform StringType 
- The platform type of the resource.
- dbVersion String
- The version of the resource.
- deploymentType String
- The deployment type of the resource.
- hostInfos List<Property Map>
- host info objects
- isCluster BooleanDb 
- True if it is a cluster db.
- licenseType String
- The License Type of the resource.
- resourceCompartment StringId 
- The compartmentId of the resource.
- resourceId String
- The Id of the resource.
- resourceName String
- The name of the resource.
- resourceType String
- The type of the resource.
GetVulnerabilityResourceHostInfo    
- host_cores int
- Number of host cores.
- host_name str
- The name of the host.
GetVulnerabilityResourcesSummary   
- notRegistered IntegerResources Count 
- registeredResources IntegerCount 
- totalResources IntegerCount 
- vulnerableResources IntegerCount 
- cleanResources IntegerCount 
- errorResources IntegerCount 
- notRegistered numberResources Count 
- registeredResources numberCount 
- totalResources numberCount 
- vulnerableResources numberCount 
- cleanResources numberCount 
- errorResources numberCount 
- notRegistered NumberResources Count 
- registeredResources NumberCount 
- totalResources NumberCount 
- vulnerableResources NumberCount 
- cleanResources NumberCount 
- errorResources NumberCount 
GetVulnerabilityVulnerabilitiesSummary   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.