1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataSafe
  6. getCryptoAssessmentCbomItems
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi

    This data source provides the list of Crypto Assessment Cbom Items in Oracle Cloud Infrastructure Data Safe service.

    Lists the CBOM items for the specified crypto assessment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCryptoAssessmentCbomItems = oci.datasafe.getCryptoAssessmentCbomItems({
        cryptoAssessmentId: testCryptoAssessment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_crypto_assessment_cbom_items = oci.datasafe.get_crypto_assessment_cbom_items(crypto_assessment_id=test_crypto_assessment["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datasafe.GetCryptoAssessmentCbomItems(ctx, &datasafe.GetCryptoAssessmentCbomItemsArgs{
    			CryptoAssessmentId: testCryptoAssessment.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 testCryptoAssessmentCbomItems = Oci.DataSafe.GetCryptoAssessmentCbomItems.Invoke(new()
        {
            CryptoAssessmentId = testCryptoAssessment.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetCryptoAssessmentCbomItemsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testCryptoAssessmentCbomItems = DataSafeFunctions.getCryptoAssessmentCbomItems(GetCryptoAssessmentCbomItemsArgs.builder()
                .cryptoAssessmentId(testCryptoAssessment.id())
                .build());
    
        }
    }
    
    variables:
      testCryptoAssessmentCbomItems:
        fn::invoke:
          function: oci:DataSafe:getCryptoAssessmentCbomItems
          arguments:
            cryptoAssessmentId: ${testCryptoAssessment.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_datasafe_getcryptoassessmentcbomitems" "testCryptoAssessmentCbomItems" {
      crypto_assessment_id = testCryptoAssessment.id
    }
    

    Using getCryptoAssessmentCbomItems

    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 getCryptoAssessmentCbomItems(args: GetCryptoAssessmentCbomItemsArgs, opts?: InvokeOptions): Promise<GetCryptoAssessmentCbomItemsResult>
    function getCryptoAssessmentCbomItemsOutput(args: GetCryptoAssessmentCbomItemsOutputArgs, opts?: InvokeOutputOptions): Output<GetCryptoAssessmentCbomItemsResult>
    def get_crypto_assessment_cbom_items(crypto_assessment_id: Optional[str] = None,
                                         filters: Optional[Sequence[GetCryptoAssessmentCbomItemsFilter]] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetCryptoAssessmentCbomItemsResult
    def get_crypto_assessment_cbom_items_output(crypto_assessment_id: pulumi.Input[Optional[str]] = None,
                                         filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetCryptoAssessmentCbomItemsFilterArgs]]]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetCryptoAssessmentCbomItemsResult]
    func GetCryptoAssessmentCbomItems(ctx *Context, args *GetCryptoAssessmentCbomItemsArgs, opts ...InvokeOption) (*GetCryptoAssessmentCbomItemsResult, error)
    func GetCryptoAssessmentCbomItemsOutput(ctx *Context, args *GetCryptoAssessmentCbomItemsOutputArgs, opts ...InvokeOption) GetCryptoAssessmentCbomItemsResultOutput

    > Note: This function is named GetCryptoAssessmentCbomItems in the Go SDK.

    public static class GetCryptoAssessmentCbomItems 
    {
        public static Task<GetCryptoAssessmentCbomItemsResult> InvokeAsync(GetCryptoAssessmentCbomItemsArgs args, InvokeOptions? opts = null)
        public static Output<GetCryptoAssessmentCbomItemsResult> Invoke(GetCryptoAssessmentCbomItemsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCryptoAssessmentCbomItemsResult> Invoke(GetCryptoAssessmentCbomItemsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCryptoAssessmentCbomItemsResult> getCryptoAssessmentCbomItems(GetCryptoAssessmentCbomItemsArgs args, InvokeOptions options)
    public static Output<GetCryptoAssessmentCbomItemsResult> getCryptoAssessmentCbomItems(GetCryptoAssessmentCbomItemsArgs args, InvokeOptions options)
    public static Output<GetCryptoAssessmentCbomItemsResult> getCryptoAssessmentCbomItems(GetCryptoAssessmentCbomItemsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:DataSafe/getCryptoAssessmentCbomItems:getCryptoAssessmentCbomItems
      arguments:
        # arguments dictionary
    data "oci_data_safe_get_crypto_assessment_cbom_items" "name" {
        # arguments
    }

    The following arguments are supported:

    CryptoAssessmentId string
    The OCID of the crypto assessment.
    Filters []GetCryptoAssessmentCbomItemsFilter
    crypto_assessment_id string
    The OCID of the crypto assessment.
    filters list(object)
    cryptoAssessmentId string
    The OCID of the crypto assessment.
    filters GetCryptoAssessmentCbomItemsFilter[]
    cryptoAssessmentId String
    The OCID of the crypto assessment.
    filters List<Property Map>

    getCryptoAssessmentCbomItems Result

    The following output properties are available:

    CryptoAssessmentCbomItemCollections List<GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollection>
    The list of crypto_assessment_cbom_item_collection.
    CryptoAssessmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetCryptoAssessmentCbomItemsFilter>
    CryptoAssessmentCbomItemCollections []GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollection
    The list of crypto_assessment_cbom_item_collection.
    CryptoAssessmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetCryptoAssessmentCbomItemsFilter
    crypto_assessment_cbom_item_collections list(object)
    The list of crypto_assessment_cbom_item_collection.
    crypto_assessment_id string
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    cryptoAssessmentCbomItemCollections List<GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollection>
    The list of crypto_assessment_cbom_item_collection.
    cryptoAssessmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetCryptoAssessmentCbomItemsFilter>
    cryptoAssessmentCbomItemCollections GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollection[]
    The list of crypto_assessment_cbom_item_collection.
    cryptoAssessmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetCryptoAssessmentCbomItemsFilter[]
    cryptoAssessmentCbomItemCollections List<Property Map>
    The list of crypto_assessment_cbom_item_collection.
    cryptoAssessmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>

    Supporting Types

    GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollection

    items list(object)
    CBOM items for the crypto assessment.
    items List<Property Map>
    CBOM items for the crypto assessment.

    GetCryptoAssessmentCbomItemsCryptoAssessmentCbomItemCollectionItem

    Algorithm string
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    ComplianceDriver string
    Static compliance standards applicable to the feature.
    ComponentType string
    Type of component represented in the CBOM item.
    ConfigurationLocations List<string>
    Locations where this item is configured or stored.
    Feature string
    Feature name represented by the CBOM item.
    Format string
    Cryptographic format used by the feature.
    KeySize string
    Observed key size for the feature.
    Protocol string
    Protocol used by the cryptographic feature.
    Algorithm string
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    ComplianceDriver string
    Static compliance standards applicable to the feature.
    ComponentType string
    Type of component represented in the CBOM item.
    ConfigurationLocations []string
    Locations where this item is configured or stored.
    Feature string
    Feature name represented by the CBOM item.
    Format string
    Cryptographic format used by the feature.
    KeySize string
    Observed key size for the feature.
    Protocol string
    Protocol used by the cryptographic feature.
    algorithm string
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    compliance_driver string
    Static compliance standards applicable to the feature.
    component_type string
    Type of component represented in the CBOM item.
    configuration_locations list(string)
    Locations where this item is configured or stored.
    feature string
    Feature name represented by the CBOM item.
    format string
    Cryptographic format used by the feature.
    key_size string
    Observed key size for the feature.
    protocol string
    Protocol used by the cryptographic feature.
    algorithm String
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    complianceDriver String
    Static compliance standards applicable to the feature.
    componentType String
    Type of component represented in the CBOM item.
    configurationLocations List<String>
    Locations where this item is configured or stored.
    feature String
    Feature name represented by the CBOM item.
    format String
    Cryptographic format used by the feature.
    keySize String
    Observed key size for the feature.
    protocol String
    Protocol used by the cryptographic feature.
    algorithm string
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    complianceDriver string
    Static compliance standards applicable to the feature.
    componentType string
    Type of component represented in the CBOM item.
    configurationLocations string[]
    Locations where this item is configured or stored.
    feature string
    Feature name represented by the CBOM item.
    format string
    Cryptographic format used by the feature.
    keySize string
    Observed key size for the feature.
    protocol string
    Protocol used by the cryptographic feature.
    algorithm str
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    compliance_driver str
    Static compliance standards applicable to the feature.
    component_type str
    Type of component represented in the CBOM item.
    configuration_locations Sequence[str]
    Locations where this item is configured or stored.
    feature str
    Feature name represented by the CBOM item.
    format str
    Cryptographic format used by the feature.
    key_size str
    Observed key size for the feature.
    protocol str
    Protocol used by the cryptographic feature.
    algorithm String
    Cryptographic algorithm or integrity/checksum value observed for the feature.
    complianceDriver String
    Static compliance standards applicable to the feature.
    componentType String
    Type of component represented in the CBOM item.
    configurationLocations List<String>
    Locations where this item is configured or stored.
    feature String
    Feature name represented by the CBOM item.
    format String
    Cryptographic format used by the feature.
    keySize String
    Observed key size for the feature.
    protocol String
    Protocol used by the cryptographic feature.

    GetCryptoAssessmentCbomItemsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.1.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial