1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getVulnerabilityProtectionProfile
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

    VulnerabilityProtectionProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
    const scmVpProfile = scm.getVulnerabilityProtectionProfile({
        id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c",
    });
    export const scmVulnerabilityProtectionProfileDetails = {
        profileId: scmVpProfile.then(scmVpProfile => scmVpProfile.id),
        folder: scmVpProfile.then(scmVpProfile => scmVpProfile.folder),
        name: scmVpProfile.then(scmVpProfile => scmVpProfile.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
    scm_vp_profile = scm.get_vulnerability_protection_profile(id="f2a337e2-f3a6-45aa-9273-de3d216f8d9c")
    pulumi.export("scmVulnerabilityProtectionProfileDetails", {
        "profileId": scm_vp_profile.id,
        "folder": scm_vp_profile.folder,
        "name": scm_vp_profile.name,
    })
    
    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 single SCM Vulnerability Protection Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
    		scmVpProfile, err := scm.LookupVulnerabilityProtectionProfile(ctx, &scm.LookupVulnerabilityProtectionProfileArgs{
    			Id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmVulnerabilityProtectionProfileDetails", pulumi.StringMap{
    			"profileId": scmVpProfile.Id,
    			"folder":    scmVpProfile.Folder,
    			"name":      scmVpProfile.Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
        var scmVpProfile = Scm.GetVulnerabilityProtectionProfile.Invoke(new()
        {
            Id = "f2a337e2-f3a6-45aa-9273-de3d216f8d9c",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmVulnerabilityProtectionProfileDetails"] = 
            {
                { "profileId", scmVpProfile.Apply(getVulnerabilityProtectionProfileResult => getVulnerabilityProtectionProfileResult.Id) },
                { "folder", scmVpProfile.Apply(getVulnerabilityProtectionProfileResult => getVulnerabilityProtectionProfileResult.Folder) },
                { "name", scmVpProfile.Apply(getVulnerabilityProtectionProfileResult => getVulnerabilityProtectionProfileResult.Name) },
            },
        };
    });
    
    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.GetVulnerabilityProtectionProfileArgs;
    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 single SCM Vulnerability Protection Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
            final var scmVpProfile = ScmFunctions.getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs.builder()
                .id("f2a337e2-f3a6-45aa-9273-de3d216f8d9c")
                .build());
    
            ctx.export("scmVulnerabilityProtectionProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmVpProfile.id()),
                Map.entry("folder", scmVpProfile.folder()),
                Map.entry("name", scmVpProfile.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
      scmVpProfile:
        fn::invoke:
          function: scm:getVulnerabilityProtectionProfile
          arguments:
            id: f2a337e2-f3a6-45aa-9273-de3d216f8d9c
    outputs:
      # Output the details of the single SCM Vulnerability Protection Profile  Profile object found.
      scmVulnerabilityProtectionProfileDetails:
        profileId: ${scmVpProfile.id}
        folder: ${scmVpProfile.folder}
        name: ${scmVpProfile.name}
    

    Using getVulnerabilityProtectionProfile

    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 getVulnerabilityProtectionProfile(args: GetVulnerabilityProtectionProfileArgs, opts?: InvokeOptions): Promise<GetVulnerabilityProtectionProfileResult>
    function getVulnerabilityProtectionProfileOutput(args: GetVulnerabilityProtectionProfileOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityProtectionProfileResult>
    def get_vulnerability_protection_profile(id: Optional[str] = None,
                                             name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetVulnerabilityProtectionProfileResult
    def get_vulnerability_protection_profile_output(id: Optional[pulumi.Input[str]] = None,
                                             name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityProtectionProfileResult]
    func LookupVulnerabilityProtectionProfile(ctx *Context, args *LookupVulnerabilityProtectionProfileArgs, opts ...InvokeOption) (*LookupVulnerabilityProtectionProfileResult, error)
    func LookupVulnerabilityProtectionProfileOutput(ctx *Context, args *LookupVulnerabilityProtectionProfileOutputArgs, opts ...InvokeOption) LookupVulnerabilityProtectionProfileResultOutput

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

    public static class GetVulnerabilityProtectionProfile 
    {
        public static Task<GetVulnerabilityProtectionProfileResult> InvokeAsync(GetVulnerabilityProtectionProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetVulnerabilityProtectionProfileResult> Invoke(GetVulnerabilityProtectionProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVulnerabilityProtectionProfileResult> getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs args, InvokeOptions options)
    public static Output<GetVulnerabilityProtectionProfileResult> getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getVulnerabilityProtectionProfile:getVulnerabilityProtectionProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Name string
    Name
    Id string
    UUID of the resource
    Name string
    Name
    id String
    UUID of the resource
    name String
    Name
    id string
    UUID of the resource
    name string
    Name
    id str
    UUID of the resource
    name str
    Name
    id String
    UUID of the resource
    name String
    Name

    getVulnerabilityProtectionProfile Result

    The following output properties are available:

    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<GetVulnerabilityProtectionProfileRule>
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions List<GetVulnerabilityProtectionProfileThreatException>
    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 []GetVulnerabilityProtectionProfileRule
    Rules
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ThreatExceptions []GetVulnerabilityProtectionProfileThreatException
    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<GetVulnerabilityProtectionProfileRule>
    Rules
    snippet String
    The snippet in which the resource is defined
    tfid String
    threatExceptions List<GetVulnerabilityProtectionProfileThreatException>
    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 GetVulnerabilityProtectionProfileRule[]
    Rules
    snippet string
    The snippet in which the resource is defined
    tfid string
    threatExceptions GetVulnerabilityProtectionProfileThreatException[]
    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[GetVulnerabilityProtectionProfileRule]
    Rules
    snippet str
    The snippet in which the resource is defined
    tfid str
    threat_exceptions Sequence[GetVulnerabilityProtectionProfileThreatException]
    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

    Supporting Types

    GetVulnerabilityProtectionProfileRule

    Action GetVulnerabilityProtectionProfileRuleAction
    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 GetVulnerabilityProtectionProfileRuleAction
    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 GetVulnerabilityProtectionProfileRuleAction
    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 GetVulnerabilityProtectionProfileRuleAction
    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 GetVulnerabilityProtectionProfileRuleAction
    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

    GetVulnerabilityProtectionProfileRuleAction

    GetVulnerabilityProtectionProfileRuleActionBlockIp

    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

    GetVulnerabilityProtectionProfileThreatException

    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

    GetVulnerabilityProtectionProfileThreatExceptionAction

    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

    GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp

    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

    GetVulnerabilityProtectionProfileThreatExceptionExemptIp

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

    GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute

    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