Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getVulnerabilityProtectionProfile
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 dictionaryThe following arguments are supported:
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<Get
Vulnerability Protection Profile Rule> - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions List<GetVulnerability Protection Profile Threat Exception> - 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
[]Get
Vulnerability Protection Profile Rule - Rules
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Threat
Exceptions []GetVulnerability Protection Profile Threat Exception - 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<Get
Vulnerability Protection Profile Rule> - Rules
- snippet String
- The snippet in which the resource is defined
- tfid String
- threat
Exceptions List<GetVulnerability Protection Profile Threat Exception> - 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
Get
Vulnerability Protection Profile Rule[] - Rules
- snippet string
- The snippet in which the resource is defined
- tfid string
- threat
Exceptions GetVulnerability Protection Profile Threat Exception[] - 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[Get
Vulnerability Protection Profile Rule] - Rules
- snippet str
- The snippet in which the resource is defined
- tfid str
- threat_
exceptions Sequence[GetVulnerability Protection Profile Threat Exception] - 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
- threat
Exceptions List<Property Map> - Threat exception
Supporting Types
GetVulnerabilityProtectionProfileRule
- Action
Get
Vulnerability Protection Profile Rule Action - vulnerability profiles threat exception default action
- Category string
- Category
- Cves List<string>
- Cve
- Host string
- Host
- Name string
- Name
- Packet
Capture string - Packet capture
- Severities List<string>
- Severity
- Threat
Name string - Threat name
- Vendor
Ids List<string> - Vendor id
- Action
Get
Vulnerability Protection Profile Rule Action - vulnerability profiles threat exception default action
- Category string
- Category
- Cves []string
- Cve
- Host string
- Host
- Name string
- Name
- Packet
Capture string - Packet capture
- Severities []string
- Severity
- Threat
Name string - Threat name
- Vendor
Ids []string - Vendor id
- action
Get
Vulnerability Protection Profile Rule Action - vulnerability profiles threat exception default action
- category String
- Category
- cves List<String>
- Cve
- host String
- Host
- name String
- Name
- packet
Capture String - Packet capture
- severities List<String>
- Severity
- threat
Name String - Threat name
- vendor
Ids List<String> - Vendor id
- action
Get
Vulnerability Protection Profile Rule Action - vulnerability profiles threat exception default action
- category string
- Category
- cves string[]
- Cve
- host string
- Host
- name string
- Name
- packet
Capture string - Packet capture
- severities string[]
- Severity
- threat
Name string - Threat name
- vendor
Ids string[] - Vendor id
- action
Get
Vulnerability Protection Profile Rule Action - 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
- packet
Capture String - Packet capture
- severities List<String>
- Severity
- threat
Name String - Threat name
- vendor
Ids List<String> - Vendor id
GetVulnerabilityProtectionProfileRuleAction
- Alert
Get
Vulnerability Protection Profile Rule Action Alert - Alert
- Allow
Get
Vulnerability Protection Profile Rule Action Allow - Allow
- Block
Ip GetVulnerability Protection Profile Rule Action Block Ip - vulnerability protection block ip
- Default
Get
Vulnerability Protection Profile Rule Action Default - Default
- Drop
Get
Vulnerability Protection Profile Rule Action Drop - Drop
- Reset
Both GetVulnerability Protection Profile Rule Action Reset Both - Reset both
- Reset
Client GetVulnerability Protection Profile Rule Action Reset Client - Reset client
- Reset
Server GetVulnerability Protection Profile Rule Action Reset Server - Reset server
- Alert
Get
Vulnerability Protection Profile Rule Action Alert - Alert
- Allow
Get
Vulnerability Protection Profile Rule Action Allow - Allow
- Block
Ip GetVulnerability Protection Profile Rule Action Block Ip - vulnerability protection block ip
- Default
Get
Vulnerability Protection Profile Rule Action Default - Default
- Drop
Get
Vulnerability Protection Profile Rule Action Drop - Drop
- Reset
Both GetVulnerability Protection Profile Rule Action Reset Both - Reset both
- Reset
Client GetVulnerability Protection Profile Rule Action Reset Client - Reset client
- Reset
Server GetVulnerability Protection Profile Rule Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Rule Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Rule Action Allow - Allow
- block
Ip GetVulnerability Protection Profile Rule Action Block Ip - vulnerability protection block ip
- default_
Get
Vulnerability Protection Profile Rule Action Default - Default
- drop
Get
Vulnerability Protection Profile Rule Action Drop - Drop
- reset
Both GetVulnerability Protection Profile Rule Action Reset Both - Reset both
- reset
Client GetVulnerability Protection Profile Rule Action Reset Client - Reset client
- reset
Server GetVulnerability Protection Profile Rule Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Rule Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Rule Action Allow - Allow
- block
Ip GetVulnerability Protection Profile Rule Action Block Ip - vulnerability protection block ip
- default
Get
Vulnerability Protection Profile Rule Action Default - Default
- drop
Get
Vulnerability Protection Profile Rule Action Drop - Drop
- reset
Both GetVulnerability Protection Profile Rule Action Reset Both - Reset both
- reset
Client GetVulnerability Protection Profile Rule Action Reset Client - Reset client
- reset
Server GetVulnerability Protection Profile Rule Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Rule Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Rule Action Allow - Allow
- block_
ip GetVulnerability Protection Profile Rule Action Block Ip - vulnerability protection block ip
- default
Get
Vulnerability Protection Profile Rule Action Default - Default
- drop
Get
Vulnerability Protection Profile Rule Action Drop - Drop
- reset_
both GetVulnerability Protection Profile Rule Action Reset Both - Reset both
- reset_
client GetVulnerability Protection Profile Rule Action Reset Client - Reset client
- reset_
server GetVulnerability Protection Profile Rule Action Reset Server - Reset server
- alert Property Map
- Alert
- allow Property Map
- Allow
- block
Ip Property Map - vulnerability protection block ip
- default Property Map
- Default
- drop Property Map
- Drop
- reset
Both Property Map - Reset both
- reset
Client Property Map - Reset client
- reset
Server Property Map - Reset server
GetVulnerabilityProtectionProfileRuleActionBlockIp
GetVulnerabilityProtectionProfileThreatException
- Action
Get
Vulnerability Protection Profile Threat Exception Action - vulnerability threat exception default action
- Exempt
Ips List<GetVulnerability Protection Profile Threat Exception Exempt Ip> - Exempt ip
- Name string
- Name
- Notes string
- Notes
- Packet
Capture string - Packet capture
- Time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute - vulnerability time attribute
- Action
Get
Vulnerability Protection Profile Threat Exception Action - vulnerability threat exception default action
- Exempt
Ips []GetVulnerability Protection Profile Threat Exception Exempt Ip - Exempt ip
- Name string
- Name
- Notes string
- Notes
- Packet
Capture string - Packet capture
- Time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute - vulnerability time attribute
- action
Get
Vulnerability Protection Profile Threat Exception Action - vulnerability threat exception default action
- exempt
Ips List<GetVulnerability Protection Profile Threat Exception Exempt Ip> - Exempt ip
- name String
- Name
- notes String
- Notes
- packet
Capture String - Packet capture
- time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute - vulnerability time attribute
- action
Get
Vulnerability Protection Profile Threat Exception Action - vulnerability threat exception default action
- exempt
Ips GetVulnerability Protection Profile Threat Exception Exempt Ip[] - Exempt ip
- name string
- Name
- notes string
- Notes
- packet
Capture string - Packet capture
- time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute - vulnerability time attribute
- action
Get
Vulnerability Protection Profile Threat Exception Action - vulnerability threat exception default action
- exempt_
ips Sequence[GetVulnerability Protection Profile Threat Exception Exempt Ip] - Exempt ip
- name str
- Name
- notes str
- Notes
- packet_
capture str - Packet capture
- time_
attribute GetVulnerability Protection Profile Threat Exception Time Attribute - vulnerability time attribute
- action Property Map
- vulnerability threat exception default action
- exempt
Ips List<Property Map> - Exempt ip
- name String
- Name
- notes String
- Notes
- packet
Capture String - Packet capture
- time
Attribute Property Map - vulnerability time attribute
GetVulnerabilityProtectionProfileThreatExceptionAction
- Alert
Get
Vulnerability Protection Profile Threat Exception Action Alert - Alert
- Allow
Get
Vulnerability Protection Profile Threat Exception Action Allow - Allow
- Block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip - vulnerability protection threat exception block ip
- Default
Get
Vulnerability Protection Profile Threat Exception Action Default - Default
- Drop
Get
Vulnerability Protection Profile Threat Exception Action Drop - Drop
- Reset
Both GetVulnerability Protection Profile Threat Exception Action Reset Both - Reset both
- Reset
Client GetVulnerability Protection Profile Threat Exception Action Reset Client - Reset client
- Reset
Server GetVulnerability Protection Profile Threat Exception Action Reset Server - Reset server
- Alert
Get
Vulnerability Protection Profile Threat Exception Action Alert - Alert
- Allow
Get
Vulnerability Protection Profile Threat Exception Action Allow - Allow
- Block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip - vulnerability protection threat exception block ip
- Default
Get
Vulnerability Protection Profile Threat Exception Action Default - Default
- Drop
Get
Vulnerability Protection Profile Threat Exception Action Drop - Drop
- Reset
Both GetVulnerability Protection Profile Threat Exception Action Reset Both - Reset both
- Reset
Client GetVulnerability Protection Profile Threat Exception Action Reset Client - Reset client
- Reset
Server GetVulnerability Protection Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Threat Exception Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Threat Exception Action Allow - Allow
- block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip - vulnerability protection threat exception block ip
- default_
Get
Vulnerability Protection Profile Threat Exception Action Default - Default
- drop
Get
Vulnerability Protection Profile Threat Exception Action Drop - Drop
- reset
Both GetVulnerability Protection Profile Threat Exception Action Reset Both - Reset both
- reset
Client GetVulnerability Protection Profile Threat Exception Action Reset Client - Reset client
- reset
Server GetVulnerability Protection Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Threat Exception Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Threat Exception Action Allow - Allow
- block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip - vulnerability protection threat exception block ip
- default
Get
Vulnerability Protection Profile Threat Exception Action Default - Default
- drop
Get
Vulnerability Protection Profile Threat Exception Action Drop - Drop
- reset
Both GetVulnerability Protection Profile Threat Exception Action Reset Both - Reset both
- reset
Client GetVulnerability Protection Profile Threat Exception Action Reset Client - Reset client
- reset
Server GetVulnerability Protection Profile Threat Exception Action Reset Server - Reset server
- alert
Get
Vulnerability Protection Profile Threat Exception Action Alert - Alert
- allow
Get
Vulnerability Protection Profile Threat Exception Action Allow - Allow
- block_
ip GetVulnerability Protection Profile Threat Exception Action Block Ip - vulnerability protection threat exception block ip
- default
Get
Vulnerability Protection Profile Threat Exception Action Default - Default
- drop
Get
Vulnerability Protection Profile Threat Exception Action Drop - Drop
- reset_
both GetVulnerability Protection Profile Threat Exception Action Reset Both - Reset both
- reset_
client GetVulnerability Protection Profile Threat Exception Action Reset Client - Reset client
- reset_
server GetVulnerability Protection Profile Threat Exception Action Reset Server - Reset server
- alert Property Map
- Alert
- allow Property Map
- Allow
- block
Ip Property Map - vulnerability protection threat exception block ip
- default Property Map
- Default
- drop Property Map
- Drop
- reset
Both Property Map - Reset both
- reset
Client Property Map - Reset client
- reset
Server Property Map - Reset server
GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
GetVulnerabilityProtectionProfileThreatExceptionExemptIp
- Name string
- Name
- Name string
- Name
- name String
- Name
- name string
- Name
- name str
- Name
- name String
- Name
GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
