1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getVulnerabilityProtectionProfileList
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
    //
    // Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
    const allShared = scm.getVulnerabilityProtectionProfileList({
        folder: "All",
    });
    export const scmVulnerabilityProtectionProfileListAllShared = allShared.then(allShared => allShared.datas);
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
    #
    # Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
    all_shared = scm.get_vulnerability_protection_profile_list(folder="All")
    pulumi.export("scmVulnerabilityProtectionProfileListAllShared", all_shared.datas)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
    		//
    		// Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
    		allShared, err := scm.GetVulnerabilityProtectionProfileList(ctx, &scm.GetVulnerabilityProtectionProfileListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmVulnerabilityProtectionProfileListAllShared", allShared.Datas)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
        //
        // Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
        var allShared = Scm.GetVulnerabilityProtectionProfileList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmVulnerabilityProtectionProfileListAllShared"] = allShared.Apply(getVulnerabilityProtectionProfileListResult => getVulnerabilityProtectionProfileListResult.Datas),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetVulnerabilityProtectionProfileListArgs;
    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) {
            //
            // Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
            //
            // Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
            final var allShared = ScmFunctions.getVulnerabilityProtectionProfileList(GetVulnerabilityProtectionProfileListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("scmVulnerabilityProtectionProfileListAllShared", allShared.datas());
        }
    }
    
    variables:
      #
      # Data source to retrieve a list of SCM Vulnerability Protection Profile objects.
      #
    
      # Example 1: Fetch a list of all SCM Vulnerability Protection Profile in the "Shared" folder.
      allShared:
        fn::invoke:
          function: scm:getVulnerabilityProtectionProfileList
          arguments:
            folder: All
    outputs:
      # Output the list of all SCM Vulnerability Protection Profile objects from the "Shared" folder.
      scmVulnerabilityProtectionProfileListAllShared: ${allShared.datas}
    

    Using getVulnerabilityProtectionProfileList

    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 getVulnerabilityProtectionProfileList(args: GetVulnerabilityProtectionProfileListArgs, opts?: InvokeOptions): Promise<GetVulnerabilityProtectionProfileListResult>
    function getVulnerabilityProtectionProfileListOutput(args: GetVulnerabilityProtectionProfileListOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityProtectionProfileListResult>
    def get_vulnerability_protection_profile_list(device: Optional[str] = None,
                                                  folder: Optional[str] = None,
                                                  limit: Optional[int] = None,
                                                  name: Optional[str] = None,
                                                  offset: Optional[int] = None,
                                                  snippet: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetVulnerabilityProtectionProfileListResult
    def get_vulnerability_protection_profile_list_output(device: Optional[pulumi.Input[str]] = None,
                                                  folder: Optional[pulumi.Input[str]] = None,
                                                  limit: Optional[pulumi.Input[int]] = None,
                                                  name: Optional[pulumi.Input[str]] = None,
                                                  offset: Optional[pulumi.Input[int]] = None,
                                                  snippet: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityProtectionProfileListResult]
    func GetVulnerabilityProtectionProfileList(ctx *Context, args *GetVulnerabilityProtectionProfileListArgs, opts ...InvokeOption) (*GetVulnerabilityProtectionProfileListResult, error)
    func GetVulnerabilityProtectionProfileListOutput(ctx *Context, args *GetVulnerabilityProtectionProfileListOutputArgs, opts ...InvokeOption) GetVulnerabilityProtectionProfileListResultOutput

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

    public static class GetVulnerabilityProtectionProfileList 
    {
        public static Task<GetVulnerabilityProtectionProfileListResult> InvokeAsync(GetVulnerabilityProtectionProfileListArgs args, InvokeOptions? opts = null)
        public static Output<GetVulnerabilityProtectionProfileListResult> Invoke(GetVulnerabilityProtectionProfileListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVulnerabilityProtectionProfileListResult> getVulnerabilityProtectionProfileList(GetVulnerabilityProtectionProfileListArgs args, InvokeOptions options)
    public static Output<GetVulnerabilityProtectionProfileListResult> getVulnerabilityProtectionProfileList(GetVulnerabilityProtectionProfileListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getVulnerabilityProtectionProfileList:getVulnerabilityProtectionProfileList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getVulnerabilityProtectionProfileList Result

    The following output properties are available:

    Datas List<GetVulnerabilityProtectionProfileListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetVulnerabilityProtectionProfileListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetVulnerabilityProtectionProfileListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetVulnerabilityProtectionProfileListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetVulnerabilityProtectionProfileListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetVulnerabilityProtectionProfileListData

    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Name
    Rules List<GetVulnerabilityProtectionProfileListDataRule>
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions List<GetVulnerabilityProtectionProfileListDataThreatException>
    Threat exception
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Name
    Rules []GetVulnerabilityProtectionProfileListDataRule
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions []GetVulnerabilityProtectionProfileListDataThreatException
    Threat exception
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Name
    rules List<GetVulnerabilityProtectionProfileListDataRule>
    Rules
    snippet String
    The snippet in which the resource is defined
    tfid String
    threatExceptions List<GetVulnerabilityProtectionProfileListDataThreatException>
    Threat exception
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    name string
    Name
    rules GetVulnerabilityProtectionProfileListDataRule[]
    Rules
    snippet string
    The snippet in which the resource is defined
    tfid string
    threatExceptions GetVulnerabilityProtectionProfileListDataThreatException[]
    Threat exception
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    id str
    UUID of the resource
    name str
    Name
    rules Sequence[GetVulnerabilityProtectionProfileListDataRule]
    Rules
    snippet str
    The snippet in which the resource is defined
    tfid str
    threat_exceptions Sequence[GetVulnerabilityProtectionProfileListDataThreatException]
    Threat exception
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Name
    rules List<Property Map>
    Rules
    snippet String
    The snippet in which the resource is defined
    tfid String
    threatExceptions List<Property Map>
    Threat exception

    GetVulnerabilityProtectionProfileListDataRule

    Action GetVulnerabilityProtectionProfileListDataRuleAction
    vulnerability profiles threat exception default action
    Category string
    Category
    Cves List<string>
    Cve
    Host string
    Host
    Name string
    Name
    PacketCapture string
    Packet capture
    Severities List<string>
    Severity
    ThreatName string
    Threat name
    VendorIds List<string>
    Vendor id
    Action GetVulnerabilityProtectionProfileListDataRuleAction
    vulnerability profiles threat exception default action
    Category string
    Category
    Cves []string
    Cve
    Host string
    Host
    Name string
    Name
    PacketCapture string
    Packet capture
    Severities []string
    Severity
    ThreatName string
    Threat name
    VendorIds []string
    Vendor id
    action GetVulnerabilityProtectionProfileListDataRuleAction
    vulnerability profiles threat exception default action
    category String
    Category
    cves List<String>
    Cve
    host String
    Host
    name String
    Name
    packetCapture String
    Packet capture
    severities List<String>
    Severity
    threatName String
    Threat name
    vendorIds List<String>
    Vendor id
    action GetVulnerabilityProtectionProfileListDataRuleAction
    vulnerability profiles threat exception default action
    category string
    Category
    cves string[]
    Cve
    host string
    Host
    name string
    Name
    packetCapture string
    Packet capture
    severities string[]
    Severity
    threatName string
    Threat name
    vendorIds string[]
    Vendor id
    action GetVulnerabilityProtectionProfileListDataRuleAction
    vulnerability profiles threat exception default action
    category str
    Category
    cves Sequence[str]
    Cve
    host str
    Host
    name str
    Name
    packet_capture str
    Packet capture
    severities Sequence[str]
    Severity
    threat_name str
    Threat name
    vendor_ids Sequence[str]
    Vendor id
    action Property Map
    vulnerability profiles threat exception default action
    category String
    Category
    cves List<String>
    Cve
    host String
    Host
    name String
    Name
    packetCapture String
    Packet capture
    severities List<String>
    Severity
    threatName String
    Threat name
    vendorIds List<String>
    Vendor id

    GetVulnerabilityProtectionProfileListDataRuleAction

    GetVulnerabilityProtectionProfileListDataRuleActionBlockIp

    Duration int
    Duration
    TrackBy string
    Track by
    Duration int
    Duration
    TrackBy string
    Track by
    duration Integer
    Duration
    trackBy String
    Track by
    duration number
    Duration
    trackBy string
    Track by
    duration int
    Duration
    track_by str
    Track by
    duration Number
    Duration
    trackBy String
    Track by

    GetVulnerabilityProtectionProfileListDataThreatException

    action Property Map
    vulnerability threat exception default action
    exemptIps List<Property Map>
    Exempt ip
    name String
    Name
    notes String
    Notes
    packetCapture String
    Packet capture
    timeAttribute Property Map
    vulnerability time attribute

    GetVulnerabilityProtectionProfileListDataThreatExceptionAction

    alert Property Map
    Alert
    allow Property Map
    Allow
    blockIp Property Map
    vulnerability protection threat exception block ip
    default Property Map
    Default
    drop Property Map
    Drop
    resetBoth Property Map
    Reset both
    resetClient Property Map
    Reset client
    resetServer Property Map
    Reset server

    GetVulnerabilityProtectionProfileListDataThreatExceptionActionBlockIp

    Duration int
    Duration
    TrackBy string
    Track by
    Duration int
    Duration
    TrackBy string
    Track by
    duration Integer
    Duration
    trackBy String
    Track by
    duration number
    Duration
    trackBy string
    Track by
    duration int
    Duration
    track_by str
    Track by
    duration Number
    Duration
    trackBy String
    Track by

    GetVulnerabilityProtectionProfileListDataThreatExceptionExemptIp

    Name string
    Name
    Name string
    Name
    name String
    Name
    name string
    Name
    name str
    Name
    name String
    Name

    GetVulnerabilityProtectionProfileListDataThreatExceptionTimeAttribute

    Interval int
    Interval
    Threshold int
    Threshold
    TrackBy string
    Track by
    Interval int
    Interval
    Threshold int
    Threshold
    TrackBy string
    Track by
    interval Integer
    Interval
    threshold Integer
    Threshold
    trackBy String
    Track by
    interval number
    Interval
    threshold number
    Threshold
    trackBy string
    Track by
    interval int
    Interval
    threshold int
    Threshold
    track_by str
    Track by
    interval Number
    Interval
    threshold Number
    Threshold
    trackBy String
    Track by

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate