1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Dblm
  5. getVulnerability
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Dblm.getVulnerability

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

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}
Copy

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>
Copy
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]
Copy
func GetVulnerability(ctx *Context, args *GetVulnerabilityArgs, opts ...InvokeOption) (*GetVulnerabilityResult, error)
func GetVulnerabilityOutput(ctx *Context, args *GetVulnerabilityOutputArgs, opts ...InvokeOption) GetVulnerabilityResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVulnerabilityResult> getVulnerability(GetVulnerabilityArgs args, InvokeOptions options)
public static Output<GetVulnerabilityResult> getVulnerability(GetVulnerabilityArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Dblm/getVulnerability:getVulnerability
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.
FreeformTags 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.
PatchRecommendationsSummaries List<GetVulnerabilityPatchRecommendationsSummary>
Summary of the patch recommendations for databases.
Resources List<GetVulnerabilityResource>
Resources objects.
ResourcesSummaries List<GetVulnerabilityResourcesSummary>
Summary of dblm registered and unregistered resources.
State string
The current state of the feature.
SystemTags 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<GetVulnerabilityVulnerabilitiesSummary>
Summary of vulnerabilities found in registered resources grouped by severity.
DatabaseRelease string
CompartmentId string
Compartment Identifier.
FreeformTags 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.
PatchRecommendationsSummaries []GetVulnerabilityPatchRecommendationsSummary
Summary of the patch recommendations for databases.
Resources []GetVulnerabilityResource
Resources objects.
ResourcesSummaries []GetVulnerabilityResourcesSummary
Summary of dblm registered and unregistered resources.
State string
The current state of the feature.
SystemTags 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 []GetVulnerabilityVulnerabilitiesSummary
Summary of vulnerabilities found in registered resources grouped by severity.
DatabaseRelease string
compartmentId String
Compartment Identifier.
freeformTags 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.
patchRecommendationsSummaries List<GetVulnerabilityPatchRecommendationsSummary>
Summary of the patch recommendations for databases.
resources List<GetVulnerabilityResource>
Resources objects.
resourcesSummaries List<GetVulnerabilityResourcesSummary>
Summary of dblm registered and unregistered resources.
state String
The current state of the feature.
systemTags 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<GetVulnerabilityVulnerabilitiesSummary>
Summary of vulnerabilities found in registered resources grouped by severity.
databaseRelease String
compartmentId string
Compartment Identifier.
freeformTags {[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.
patchRecommendationsSummaries GetVulnerabilityPatchRecommendationsSummary[]
Summary of the patch recommendations for databases.
resources GetVulnerabilityResource[]
Resources objects.
resourcesSummaries GetVulnerabilityResourcesSummary[]
Summary of dblm registered and unregistered resources.
state string
The current state of the feature.
systemTags {[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 GetVulnerabilityVulnerabilitiesSummary[]
Summary of vulnerabilities found in registered resources grouped by severity.
databaseRelease string
compartment_id str
Compartment Identifier.
freeform_tags 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_summaries Sequence[dblm.GetVulnerabilityPatchRecommendationsSummary]
Summary of the patch recommendations for databases.
resources Sequence[dblm.GetVulnerabilityResource]
Resources objects.
resources_summaries Sequence[dblm.GetVulnerabilityResourcesSummary]
Summary of dblm registered and unregistered resources.
state str
The current state of the feature.
system_tags 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.GetVulnerabilityVulnerabilitiesSummary]
Summary of vulnerabilities found in registered resources grouped by severity.
database_release str
compartmentId String
Compartment Identifier.
freeformTags 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.
patchRecommendationsSummaries List<Property Map>
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.
systemTags 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 This property is required. int
Total This property is required. int
UpToDate This property is required. int
PatchAvailable This property is required. int
Total This property is required. int
UpToDate This property is required. int
patchAvailable This property is required. Integer
total This property is required. Integer
upToDate This property is required. Integer
patchAvailable This property is required. number
total This property is required. number
upToDate This property is required. number
patch_available This property is required. int
total This property is required. int
up_to_date This property is required. int
patchAvailable This property is required. Number
total This property is required. Number
upToDate This property is required. Number

GetVulnerabilityResource

ConnectorId This property is required. string
The connector Id of the resource.
DbPlatformType This property is required. string
The platform type of the resource.
DbVersion This property is required. string
The version of the resource.
DeploymentType This property is required. string
The deployment type of the resource.
HostInfos This property is required. List<GetVulnerabilityResourceHostInfo>
host info objects
IsClusterDb This property is required. bool
True if it is a cluster db.
LicenseType This property is required. string
The License Type of the resource.
ResourceCompartmentId This property is required. string
The compartmentId of the resource.
ResourceId This property is required. string
The Id of the resource.
ResourceName This property is required. string
The name of the resource.
ResourceType This property is required. string
The type of the resource.
ConnectorId This property is required. string
The connector Id of the resource.
DbPlatformType This property is required. string
The platform type of the resource.
DbVersion This property is required. string
The version of the resource.
DeploymentType This property is required. string
The deployment type of the resource.
HostInfos This property is required. []GetVulnerabilityResourceHostInfo
host info objects
IsClusterDb This property is required. bool
True if it is a cluster db.
LicenseType This property is required. string
The License Type of the resource.
ResourceCompartmentId This property is required. string
The compartmentId of the resource.
ResourceId This property is required. string
The Id of the resource.
ResourceName This property is required. string
The name of the resource.
ResourceType This property is required. string
The type of the resource.
connectorId This property is required. String
The connector Id of the resource.
dbPlatformType This property is required. String
The platform type of the resource.
dbVersion This property is required. String
The version of the resource.
deploymentType This property is required. String
The deployment type of the resource.
hostInfos This property is required. List<GetVulnerabilityResourceHostInfo>
host info objects
isClusterDb This property is required. Boolean
True if it is a cluster db.
licenseType This property is required. String
The License Type of the resource.
resourceCompartmentId This property is required. String
The compartmentId of the resource.
resourceId This property is required. String
The Id of the resource.
resourceName This property is required. String
The name of the resource.
resourceType This property is required. String
The type of the resource.
connectorId This property is required. string
The connector Id of the resource.
dbPlatformType This property is required. string
The platform type of the resource.
dbVersion This property is required. string
The version of the resource.
deploymentType This property is required. string
The deployment type of the resource.
hostInfos This property is required. GetVulnerabilityResourceHostInfo[]
host info objects
isClusterDb This property is required. boolean
True if it is a cluster db.
licenseType This property is required. string
The License Type of the resource.
resourceCompartmentId This property is required. string
The compartmentId of the resource.
resourceId This property is required. string
The Id of the resource.
resourceName This property is required. string
The name of the resource.
resourceType This property is required. string
The type of the resource.
connector_id This property is required. str
The connector Id of the resource.
db_platform_type This property is required. str
The platform type of the resource.
db_version This property is required. str
The version of the resource.
deployment_type This property is required. str
The deployment type of the resource.
host_infos This property is required. Sequence[dblm.GetVulnerabilityResourceHostInfo]
host info objects
is_cluster_db This property is required. bool
True if it is a cluster db.
license_type This property is required. str
The License Type of the resource.
resource_compartment_id This property is required. str
The compartmentId of the resource.
resource_id This property is required. str
The Id of the resource.
resource_name This property is required. str
The name of the resource.
resource_type This property is required. str
The type of the resource.
connectorId This property is required. String
The connector Id of the resource.
dbPlatformType This property is required. String
The platform type of the resource.
dbVersion This property is required. String
The version of the resource.
deploymentType This property is required. String
The deployment type of the resource.
hostInfos This property is required. List<Property Map>
host info objects
isClusterDb This property is required. Boolean
True if it is a cluster db.
licenseType This property is required. String
The License Type of the resource.
resourceCompartmentId This property is required. String
The compartmentId of the resource.
resourceId This property is required. String
The Id of the resource.
resourceName This property is required. String
The name of the resource.
resourceType This property is required. String
The type of the resource.

GetVulnerabilityResourceHostInfo

HostCores This property is required. int
Number of host cores.
HostName This property is required. string
The name of the host.
HostCores This property is required. int
Number of host cores.
HostName This property is required. string
The name of the host.
hostCores This property is required. Integer
Number of host cores.
hostName This property is required. String
The name of the host.
hostCores This property is required. number
Number of host cores.
hostName This property is required. string
The name of the host.
host_cores This property is required. int
Number of host cores.
host_name This property is required. str
The name of the host.
hostCores This property is required. Number
Number of host cores.
hostName This property is required. String
The name of the host.

GetVulnerabilityResourcesSummary

NotRegisteredResourcesCount This property is required. int
RegisteredResourcesCount This property is required. int
TotalResourcesCount This property is required. int
VulnerableResourcesCount This property is required. int
CleanResourcesCount int
ErrorResourcesCount int
NotRegisteredResourcesCount This property is required. int
RegisteredResourcesCount This property is required. int
TotalResourcesCount This property is required. int
VulnerableResourcesCount This property is required. int
CleanResourcesCount int
ErrorResourcesCount int
notRegisteredResourcesCount This property is required. Integer
registeredResourcesCount This property is required. Integer
totalResourcesCount This property is required. Integer
vulnerableResourcesCount This property is required. Integer
cleanResourcesCount Integer
errorResourcesCount Integer
notRegisteredResourcesCount This property is required. number
registeredResourcesCount This property is required. number
totalResourcesCount This property is required. number
vulnerableResourcesCount This property is required. number
cleanResourcesCount number
errorResourcesCount number
not_registered_resources_count This property is required. int
registered_resources_count This property is required. int
total_resources_count This property is required. int
vulnerable_resources_count This property is required. int
clean_resources_count int
error_resources_count int
notRegisteredResourcesCount This property is required. Number
registeredResourcesCount This property is required. Number
totalResourcesCount This property is required. Number
vulnerableResourcesCount This property is required. Number
cleanResourcesCount Number
errorResourcesCount Number

GetVulnerabilityVulnerabilitiesSummary

Critical This property is required. int
High This property is required. int
Info This property is required. int
Low This property is required. int
Medium This property is required. int
Total This property is required. int
Critical This property is required. int
High This property is required. int
Info This property is required. int
Low This property is required. int
Medium This property is required. int
Total This property is required. int
critical This property is required. Integer
high This property is required. Integer
info This property is required. Integer
low This property is required. Integer
medium This property is required. Integer
total This property is required. Integer
critical This property is required. number
high This property is required. number
info This property is required. number
low This property is required. number
medium This property is required. number
total This property is required. number
critical This property is required. int
high This property is required. int
info This property is required. int
low This property is required. int
medium This property is required. int
total This property is required. int
critical This property is required. Number
high This property is required. Number
info This property is required. Number
low This property is required. Number
medium This property is required. Number
total This property is required. Number

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi