Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Dblm.getVulnerabilityAggregatedVulnerabilityData
Explore with Pulumi AI
This data source provides the list of Vulnerability Aggregated Vulnerability Data in Oracle Cloud Infrastructure Dblm service.
Gets an AggregatedVulnerabilityData
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVulnerabilityAggregatedVulnerabilityData = oci.Dblm.getVulnerabilityAggregatedVulnerabilityData({
    compartmentId: compartmentId,
    databaseRelease: vulnerabilityAggregatedVulnerabilityDataDatabaseRelease,
    state: vulnerabilityAggregatedVulnerabilityDataState,
    timeCreatedGreaterThan: vulnerabilityAggregatedVulnerabilityDataTimeCreatedGreaterThan,
    timeEndedLessThan: vulnerabilityAggregatedVulnerabilityDataTimeEndedLessThan,
});
import pulumi
import pulumi_oci as oci
test_vulnerability_aggregated_vulnerability_data = oci.Dblm.get_vulnerability_aggregated_vulnerability_data(compartment_id=compartment_id,
    database_release=vulnerability_aggregated_vulnerability_data_database_release,
    state=vulnerability_aggregated_vulnerability_data_state,
    time_created_greater_than=vulnerability_aggregated_vulnerability_data_time_created_greater_than,
    time_ended_less_than=vulnerability_aggregated_vulnerability_data_time_ended_less_than)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/dblm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dblm.GetVulnerabilityAggregatedVulnerabilityData(ctx, &dblm.GetVulnerabilityAggregatedVulnerabilityDataArgs{
			CompartmentId:          compartmentId,
			DatabaseRelease:        pulumi.StringRef(vulnerabilityAggregatedVulnerabilityDataDatabaseRelease),
			State:                  pulumi.StringRef(vulnerabilityAggregatedVulnerabilityDataState),
			TimeCreatedGreaterThan: pulumi.StringRef(vulnerabilityAggregatedVulnerabilityDataTimeCreatedGreaterThan),
			TimeEndedLessThan:      pulumi.StringRef(vulnerabilityAggregatedVulnerabilityDataTimeEndedLessThan),
		}, 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 testVulnerabilityAggregatedVulnerabilityData = Oci.Dblm.GetVulnerabilityAggregatedVulnerabilityData.Invoke(new()
    {
        CompartmentId = compartmentId,
        DatabaseRelease = vulnerabilityAggregatedVulnerabilityDataDatabaseRelease,
        State = vulnerabilityAggregatedVulnerabilityDataState,
        TimeCreatedGreaterThan = vulnerabilityAggregatedVulnerabilityDataTimeCreatedGreaterThan,
        TimeEndedLessThan = vulnerabilityAggregatedVulnerabilityDataTimeEndedLessThan,
    });
});
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.GetVulnerabilityAggregatedVulnerabilityDataArgs;
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 testVulnerabilityAggregatedVulnerabilityData = DblmFunctions.getVulnerabilityAggregatedVulnerabilityData(GetVulnerabilityAggregatedVulnerabilityDataArgs.builder()
            .compartmentId(compartmentId)
            .databaseRelease(vulnerabilityAggregatedVulnerabilityDataDatabaseRelease)
            .state(vulnerabilityAggregatedVulnerabilityDataState)
            .timeCreatedGreaterThan(vulnerabilityAggregatedVulnerabilityDataTimeCreatedGreaterThan)
            .timeEndedLessThan(vulnerabilityAggregatedVulnerabilityDataTimeEndedLessThan)
            .build());
    }
}
variables:
  testVulnerabilityAggregatedVulnerabilityData:
    fn::invoke:
      function: oci:Dblm:getVulnerabilityAggregatedVulnerabilityData
      arguments:
        compartmentId: ${compartmentId}
        databaseRelease: ${vulnerabilityAggregatedVulnerabilityDataDatabaseRelease}
        state: ${vulnerabilityAggregatedVulnerabilityDataState}
        timeCreatedGreaterThan: ${vulnerabilityAggregatedVulnerabilityDataTimeCreatedGreaterThan}
        timeEndedLessThan: ${vulnerabilityAggregatedVulnerabilityDataTimeEndedLessThan}
Using getVulnerabilityAggregatedVulnerabilityData
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 getVulnerabilityAggregatedVulnerabilityData(args: GetVulnerabilityAggregatedVulnerabilityDataArgs, opts?: InvokeOptions): Promise<GetVulnerabilityAggregatedVulnerabilityDataResult>
function getVulnerabilityAggregatedVulnerabilityDataOutput(args: GetVulnerabilityAggregatedVulnerabilityDataOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityAggregatedVulnerabilityDataResult>def get_vulnerability_aggregated_vulnerability_data(compartment_id: Optional[str] = None,
                                                    database_release: Optional[str] = None,
                                                    filters: Optional[Sequence[GetVulnerabilityAggregatedVulnerabilityDataFilter]] = None,
                                                    state: Optional[str] = None,
                                                    time_created_greater_than: Optional[str] = None,
                                                    time_ended_less_than: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetVulnerabilityAggregatedVulnerabilityDataResult
def get_vulnerability_aggregated_vulnerability_data_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                    database_release: Optional[pulumi.Input[str]] = None,
                                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVulnerabilityAggregatedVulnerabilityDataFilterArgs]]]] = None,
                                                    state: Optional[pulumi.Input[str]] = None,
                                                    time_created_greater_than: Optional[pulumi.Input[str]] = None,
                                                    time_ended_less_than: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityAggregatedVulnerabilityDataResult]func GetVulnerabilityAggregatedVulnerabilityData(ctx *Context, args *GetVulnerabilityAggregatedVulnerabilityDataArgs, opts ...InvokeOption) (*GetVulnerabilityAggregatedVulnerabilityDataResult, error)
func GetVulnerabilityAggregatedVulnerabilityDataOutput(ctx *Context, args *GetVulnerabilityAggregatedVulnerabilityDataOutputArgs, opts ...InvokeOption) GetVulnerabilityAggregatedVulnerabilityDataResultOutput> Note: This function is named GetVulnerabilityAggregatedVulnerabilityData in the Go SDK.
public static class GetVulnerabilityAggregatedVulnerabilityData 
{
    public static Task<GetVulnerabilityAggregatedVulnerabilityDataResult> InvokeAsync(GetVulnerabilityAggregatedVulnerabilityDataArgs args, InvokeOptions? opts = null)
    public static Output<GetVulnerabilityAggregatedVulnerabilityDataResult> Invoke(GetVulnerabilityAggregatedVulnerabilityDataInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVulnerabilityAggregatedVulnerabilityDataResult> getVulnerabilityAggregatedVulnerabilityData(GetVulnerabilityAggregatedVulnerabilityDataArgs args, InvokeOptions options)
public static Output<GetVulnerabilityAggregatedVulnerabilityDataResult> getVulnerabilityAggregatedVulnerabilityData(GetVulnerabilityAggregatedVulnerabilityDataArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Dblm/getVulnerabilityAggregatedVulnerabilityData:getVulnerabilityAggregatedVulnerabilityData
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which to list resources.
- DatabaseRelease string
- A filter to return only database that match the given release version.
- Filters
List<GetVulnerability Aggregated Vulnerability Data Filter> 
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- TimeCreated stringGreater Than 
- The created greater than.
- TimeEnded stringLess Than 
- The time ended less than.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DatabaseRelease string
- A filter to return only database that match the given release version.
- Filters
[]GetVulnerability Aggregated Vulnerability Data Filter 
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- TimeCreated stringGreater Than 
- The created greater than.
- TimeEnded stringLess Than 
- The time ended less than.
- compartmentId String
- The ID of the compartment in which to list resources.
- databaseRelease String
- A filter to return only database that match the given release version.
- filters
List<GetVulnerability Aggregated Vulnerability Data Filter> 
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- timeCreated StringGreater Than 
- The created greater than.
- timeEnded StringLess Than 
- The time ended less than.
- compartmentId string
- The ID of the compartment in which to list resources.
- databaseRelease string
- A filter to return only database that match the given release version.
- filters
GetVulnerability Aggregated Vulnerability Data Filter[] 
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- timeCreated stringGreater Than 
- The created greater than.
- timeEnded stringLess Than 
- The time ended less than.
- compartment_id str
- The ID of the compartment in which to list resources.
- database_release str
- A filter to return only database that match the given release version.
- filters
Sequence[GetVulnerability Aggregated Vulnerability Data Filter] 
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- time_created_ strgreater_ than 
- The created greater than.
- time_ended_ strless_ than 
- The time ended less than.
- compartmentId String
- The ID of the compartment in which to list resources.
- databaseRelease String
- A filter to return only database that match the given release version.
- filters List<Property Map>
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- timeCreated StringGreater Than 
- The created greater than.
- timeEnded StringLess Than 
- The time ended less than.
getVulnerabilityAggregatedVulnerabilityData Result
The following output properties are available:
- AggregatedVulnerability List<GetCollections Vulnerability Aggregated Vulnerability Data Aggregated Vulnerability Collection> 
- The list of aggregated_vulnerability_collection.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- DatabaseRelease string
- Filters
List<GetVulnerability Aggregated Vulnerability Data Filter> 
- State string
- TimeCreated stringGreater Than 
- TimeEnded stringLess Than 
- AggregatedVulnerability []GetCollections Vulnerability Aggregated Vulnerability Data Aggregated Vulnerability Collection 
- The list of aggregated_vulnerability_collection.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- DatabaseRelease string
- Filters
[]GetVulnerability Aggregated Vulnerability Data Filter 
- State string
- TimeCreated stringGreater Than 
- TimeEnded stringLess Than 
- aggregatedVulnerability List<GetCollections Vulnerability Aggregated Vulnerability Data Aggregated Vulnerability Collection> 
- The list of aggregated_vulnerability_collection.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- databaseRelease String
- filters
List<GetVulnerability Aggregated Vulnerability Data Filter> 
- state String
- timeCreated StringGreater Than 
- timeEnded StringLess Than 
- aggregatedVulnerability GetCollections Vulnerability Aggregated Vulnerability Data Aggregated Vulnerability Collection[] 
- The list of aggregated_vulnerability_collection.
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- databaseRelease string
- filters
GetVulnerability Aggregated Vulnerability Data Filter[] 
- state string
- timeCreated stringGreater Than 
- timeEnded stringLess Than 
- aggregated_vulnerability_ Sequence[Getcollections Vulnerability Aggregated Vulnerability Data Aggregated Vulnerability Collection] 
- The list of aggregated_vulnerability_collection.
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- database_release str
- filters
Sequence[GetVulnerability Aggregated Vulnerability Data Filter] 
- state str
- time_created_ strgreater_ than 
- time_ended_ strless_ than 
- aggregatedVulnerability List<Property Map>Collections 
- The list of aggregated_vulnerability_collection.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- databaseRelease String
- filters List<Property Map>
- state String
- timeCreated StringGreater Than 
- timeEnded StringLess Than 
Supporting Types
GetVulnerabilityAggregatedVulnerabilityDataAggregatedVulnerabilityCollection       
- items List<Property Map>
- List of data
GetVulnerabilityAggregatedVulnerabilityDataAggregatedVulnerabilityCollectionItem        
- RegisteredResources intCount 
- Registered databases against which the scan ran.
- Timestamp string
- UTC timestamp when the scan completed.
- VulnerabilitiesCount int
- Unresolved vulnerabilities that were found by the scan.
- RegisteredResources intCount 
- Registered databases against which the scan ran.
- Timestamp string
- UTC timestamp when the scan completed.
- VulnerabilitiesCount int
- Unresolved vulnerabilities that were found by the scan.
- registeredResources IntegerCount 
- Registered databases against which the scan ran.
- timestamp String
- UTC timestamp when the scan completed.
- vulnerabilitiesCount Integer
- Unresolved vulnerabilities that were found by the scan.
- registeredResources numberCount 
- Registered databases against which the scan ran.
- timestamp string
- UTC timestamp when the scan completed.
- vulnerabilitiesCount number
- Unresolved vulnerabilities that were found by the scan.
- registered_resources_ intcount 
- Registered databases against which the scan ran.
- timestamp str
- UTC timestamp when the scan completed.
- vulnerabilities_count int
- Unresolved vulnerabilities that were found by the scan.
- registeredResources NumberCount 
- Registered databases against which the scan ran.
- timestamp String
- UTC timestamp when the scan completed.
- vulnerabilitiesCount Number
- Unresolved vulnerabilities that were found by the scan.
GetVulnerabilityAggregatedVulnerabilityDataFilter     
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.