Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
oci.Dblm.getVulnerabilityScan
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
This data source provides details about a specific Vulnerability Scan resource in Oracle Cloud Infrastructure Dblm service.
Gets information about a VulnerabilityScan.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVulnerabilityScan = oci.Dblm.getVulnerabilityScan({
vulnerabilityScanId: testVulnerabilityScanOciDblmVulnerabilityScan.id,
});
import pulumi
import pulumi_oci as oci
test_vulnerability_scan = oci.Dblm.get_vulnerability_scan(vulnerability_scan_id=test_vulnerability_scan_oci_dblm_vulnerability_scan["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/dblm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dblm.GetVulnerabilityScan(ctx, &dblm.GetVulnerabilityScanArgs{
VulnerabilityScanId: testVulnerabilityScanOciDblmVulnerabilityScan.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testVulnerabilityScan = Oci.Dblm.GetVulnerabilityScan.Invoke(new()
{
VulnerabilityScanId = testVulnerabilityScanOciDblmVulnerabilityScan.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dblm.DblmFunctions;
import com.pulumi.oci.Dblm.inputs.GetVulnerabilityScanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testVulnerabilityScan = DblmFunctions.getVulnerabilityScan(GetVulnerabilityScanArgs.builder()
.vulnerabilityScanId(testVulnerabilityScanOciDblmVulnerabilityScan.id())
.build());
}
}
variables:
testVulnerabilityScan:
fn::invoke:
function: oci:Dblm:getVulnerabilityScan
arguments:
vulnerabilityScanId: ${testVulnerabilityScanOciDblmVulnerabilityScan.id}
Using getVulnerabilityScan
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 getVulnerabilityScan(args: GetVulnerabilityScanArgs, opts?: InvokeOptions): Promise<GetVulnerabilityScanResult>
function getVulnerabilityScanOutput(args: GetVulnerabilityScanOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityScanResult>def get_vulnerability_scan(vulnerability_scan_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVulnerabilityScanResult
def get_vulnerability_scan_output(vulnerability_scan_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityScanResult]func LookupVulnerabilityScan(ctx *Context, args *LookupVulnerabilityScanArgs, opts ...InvokeOption) (*LookupVulnerabilityScanResult, error)
func LookupVulnerabilityScanOutput(ctx *Context, args *LookupVulnerabilityScanOutputArgs, opts ...InvokeOption) LookupVulnerabilityScanResultOutput> Note: This function is named LookupVulnerabilityScan in the Go SDK.
public static class GetVulnerabilityScan
{
public static Task<GetVulnerabilityScanResult> InvokeAsync(GetVulnerabilityScanArgs args, InvokeOptions? opts = null)
public static Output<GetVulnerabilityScanResult> Invoke(GetVulnerabilityScanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVulnerabilityScanResult> getVulnerabilityScan(GetVulnerabilityScanArgs args, InvokeOptions options)
public static Output<GetVulnerabilityScanResult> getVulnerabilityScan(GetVulnerabilityScanArgs args, InvokeOptions options)
fn::invoke:
function: oci:Dblm/getVulnerabilityScan:getVulnerabilityScan
arguments:
# arguments dictionaryThe following arguments are supported:
- Vulnerability
Scan stringId - The OCID of the VulnerabilityScan.
- Vulnerability
Scan stringId - The OCID of the VulnerabilityScan.
- vulnerability
Scan StringId - The OCID of the VulnerabilityScan.
- vulnerability
Scan stringId - The OCID of the VulnerabilityScan.
- vulnerability_
scan_ strid - The OCID of the VulnerabilityScan.
- vulnerability
Scan StringId - The OCID of the VulnerabilityScan.
getVulnerabilityScan Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable.
- 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 OCID of the VulnerabilityScan.
- State string
- The current state of the VulnerabilityScan.
- 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
Created string - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Ended string - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Vulnerability
Scan stringId - Vulnerability
Scan stringMessage - The message of the vulnerability scan status.
- Vulnerability
Scan stringStatus - The status of the vulnerability scan.
- Vulnerability
Scan stringType - Scan type is CVE, PATCH or IMAGE_PATCH
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable.
- 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 OCID of the VulnerabilityScan.
- State string
- The current state of the VulnerabilityScan.
- 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
Created string - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Ended string - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Vulnerability
Scan stringId - Vulnerability
Scan stringMessage - The message of the vulnerability scan status.
- Vulnerability
Scan stringStatus - The status of the vulnerability scan.
- Vulnerability
Scan stringType - Scan type is CVE, PATCH or IMAGE_PATCH
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A user-friendly name. It does not have to be unique, and it is changeable.
- 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 OCID of the VulnerabilityScan.
- state String
- The current state of the VulnerabilityScan.
- 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
Created String - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Ended String - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - vulnerability
Scan StringId - vulnerability
Scan StringMessage - The message of the vulnerability scan status.
- vulnerability
Scan StringStatus - The status of the vulnerability scan.
- vulnerability
Scan StringType - Scan type is CVE, PATCH or IMAGE_PATCH
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A user-friendly name. It does not have to be unique, and it is changeable.
- {[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 OCID of the VulnerabilityScan.
- state string
- The current state of the VulnerabilityScan.
- {[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
Created string - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Ended string - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - vulnerability
Scan stringId - vulnerability
Scan stringMessage - The message of the vulnerability scan status.
- vulnerability
Scan stringStatus - The status of the vulnerability scan.
- vulnerability
Scan stringType - Scan type is CVE, PATCH or IMAGE_PATCH
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - A user-friendly name. It does not have to be unique, and it is changeable.
- 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 OCID of the VulnerabilityScan.
- state str
- The current state of the VulnerabilityScan.
- 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_
created str - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
ended str - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - vulnerability_
scan_ strid - vulnerability_
scan_ strmessage - The message of the vulnerability scan status.
- vulnerability_
scan_ strstatus - The status of the vulnerability scan.
- vulnerability_
scan_ strtype - Scan type is CVE, PATCH or IMAGE_PATCH
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A user-friendly name. It does not have to be unique, and it is changeable.
- 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 OCID of the VulnerabilityScan.
- state String
- The current state of the VulnerabilityScan.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the VulnerabilityScan was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Ended String - The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - vulnerability
Scan StringId - vulnerability
Scan StringMessage - The message of the vulnerability scan status.
- vulnerability
Scan StringStatus - The status of the vulnerability scan.
- vulnerability
Scan StringType - Scan type is CVE, PATCH or IMAGE_PATCH
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
