Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getVulnerabilityProtectionProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getVulnerabilityProtectionProfile({
    id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_vulnerability_protection_profile(id="1234-56-789")
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 {
		_, err := scm.LookupVulnerabilityProtectionProfile(ctx, &scm.LookupVulnerabilityProtectionProfileArgs{
			Id: "1234-56-789",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() => 
{
    var example = Scm.GetVulnerabilityProtectionProfile.Invoke(new()
    {
        Id = "1234-56-789",
    });
});
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) {
        final var example = ScmFunctions.getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs.builder()
            .id("1234-56-789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getVulnerabilityProtectionProfile
      arguments:
        id: 1234-56-789
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,
                                         opts: Optional[InvokeOptions] = None) -> GetVulnerabilityProtectionProfileResult
def get_vulnerability_protection_profile_output(id: 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:
- Id string
 - The Id param.
 
- Id string
 - The Id param.
 
- id String
 - The Id param.
 
- id string
 - The Id param.
 
- id str
 - The Id param.
 
- id String
 - The Id param.
 
getVulnerabilityProtectionProfile Result
The following output properties are available:
- Description string
 - The Description param.
 - Id string
 - The Id param.
 - Name string
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - Rules
List<Get
Vulnerability Protection Profile Rule>  - The Rules param.
 - Tfid string
 - Threat
Exceptions List<GetVulnerability Protection Profile Threat Exception>  - The ThreatExceptions param.
 
- Description string
 - The Description param.
 - Id string
 - The Id param.
 - Name string
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - Rules
[]Get
Vulnerability Protection Profile Rule  - The Rules param.
 - Tfid string
 - Threat
Exceptions []GetVulnerability Protection Profile Threat Exception  - The ThreatExceptions param.
 
- description String
 - The Description param.
 - id String
 - The Id param.
 - name String
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - rules
List<Get
Vulnerability Protection Profile Rule>  - The Rules param.
 - tfid String
 - threat
Exceptions List<GetVulnerability Protection Profile Threat Exception>  - The ThreatExceptions param.
 
- description string
 - The Description param.
 - id string
 - The Id param.
 - name string
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - rules
Get
Vulnerability Protection Profile Rule[]  - The Rules param.
 - tfid string
 - threat
Exceptions GetVulnerability Protection Profile Threat Exception[]  - The ThreatExceptions param.
 
- description str
 - The Description param.
 - id str
 - The Id param.
 - name str
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - rules
Sequence[Get
Vulnerability Protection Profile Rule]  - The Rules param.
 - tfid str
 - threat_
exceptions Sequence[GetVulnerability Protection Profile Threat Exception]  - The ThreatExceptions param.
 
- description String
 - The Description param.
 - id String
 - The Id param.
 - name String
 - The Name param. String validation regex: 
^[a-zA-Z0-9._-]+$. - rules List<Property Map>
 - The Rules param.
 - tfid String
 - threat
Exceptions List<Property Map> - The ThreatExceptions param.
 
Supporting Types
GetVulnerabilityProtectionProfileRule    
- Action
Get
Vulnerability Protection Profile Rule Action  - The Action param.
 - Category string
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - Cves List<string>
 - The Cves param.
 - Host string
 - The Host param.
 - Name string
 - The Name param.
 - Packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - Severities List<string>
 - The Severities param.
 - Threat
Name string - The ThreatName param.
 - Vendor
Ids List<string> - The VendorIds param.
 
- Action
Get
Vulnerability Protection Profile Rule Action  - The Action param.
 - Category string
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - Cves []string
 - The Cves param.
 - Host string
 - The Host param.
 - Name string
 - The Name param.
 - Packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - Severities []string
 - The Severities param.
 - Threat
Name string - The ThreatName param.
 - Vendor
Ids []string - The VendorIds param.
 
- action
Get
Vulnerability Protection Profile Rule Action  - The Action param.
 - category String
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - cves List<String>
 - The Cves param.
 - host String
 - The Host param.
 - name String
 - The Name param.
 - packet
Capture String - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - severities List<String>
 - The Severities param.
 - threat
Name String - The ThreatName param.
 - vendor
Ids List<String> - The VendorIds param.
 
- action
Get
Vulnerability Protection Profile Rule Action  - The Action param.
 - category string
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - cves string[]
 - The Cves param.
 - host string
 - The Host param.
 - name string
 - The Name param.
 - packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - severities string[]
 - The Severities param.
 - threat
Name string - The ThreatName param.
 - vendor
Ids string[] - The VendorIds param.
 
- action
Get
Vulnerability Protection Profile Rule Action  - The Action param.
 - category str
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - cves Sequence[str]
 - The Cves param.
 - host str
 - The Host param.
 - name str
 - The Name param.
 - packet_
capture str - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - severities Sequence[str]
 - The Severities param.
 - threat_
name str - The ThreatName param.
 - vendor_
ids Sequence[str] - The VendorIds param.
 
- action Property Map
 - The Action param.
 - category String
 - The Category param. String must be one of these: 
"any","brute-force","code-execution","code-obfuscation","command-execution","dos","exploit-kit","info-leak","insecure-credentials","overflow","phishing","protocol-anomaly","scan","sql-injection". - cves List<String>
 - The Cves param.
 - host String
 - The Host param.
 - name String
 - The Name param.
 - packet
Capture String - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - severities List<String>
 - The Severities param.
 - threat
Name String - The ThreatName param.
 - vendor
Ids List<String> - The VendorIds param.
 
GetVulnerabilityProtectionProfileRuleAction     
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetVulnerability Protection Profile Rule Action Block Ip  - The BlockIp param.
 - Default bool
 - The Default param.
 - Drop bool
 - The Drop param.
 - Reset
Both bool - The ResetBoth param.
 - Reset
Client bool - The ResetClient param.
 - Reset
Server bool - The ResetServer param.
 
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetVulnerability Protection Profile Rule Action Block Ip  - The BlockIp param.
 - Default bool
 - The Default param.
 - Drop bool
 - The Drop param.
 - Reset
Both bool - The ResetBoth param.
 - Reset
Client bool - The ResetClient param.
 - Reset
Server bool - The ResetServer param.
 
- alert Boolean
 - The Alert param.
 - allow Boolean
 - The Allow param.
 - block
Ip GetVulnerability Protection Profile Rule Action Block Ip  - The BlockIp param.
 - default_ Boolean
 - The Default param.
 - drop Boolean
 - The Drop param.
 - reset
Both Boolean - The ResetBoth param.
 - reset
Client Boolean - The ResetClient param.
 - reset
Server Boolean - The ResetServer param.
 
- alert boolean
 - The Alert param.
 - allow boolean
 - The Allow param.
 - block
Ip GetVulnerability Protection Profile Rule Action Block Ip  - The BlockIp param.
 - default boolean
 - The Default param.
 - drop boolean
 - The Drop param.
 - reset
Both boolean - The ResetBoth param.
 - reset
Client boolean - The ResetClient param.
 - reset
Server boolean - The ResetServer param.
 
- alert bool
 - The Alert param.
 - allow bool
 - The Allow param.
 - block_
ip GetVulnerability Protection Profile Rule Action Block Ip  - The BlockIp param.
 - default bool
 - The Default param.
 - drop bool
 - The Drop param.
 - reset_
both bool - The ResetBoth param.
 - reset_
client bool - The ResetClient param.
 - reset_
server bool - The ResetServer param.
 
- alert Boolean
 - The Alert param.
 - allow Boolean
 - The Allow param.
 - block
Ip Property Map - The BlockIp param.
 - default Boolean
 - The Default param.
 - drop Boolean
 - The Drop param.
 - reset
Both Boolean - The ResetBoth param.
 - reset
Client Boolean - The ResetClient param.
 - reset
Server Boolean - The ResetServer param.
 
GetVulnerabilityProtectionProfileRuleActionBlockIp       
GetVulnerabilityProtectionProfileThreatException     
- Action
Get
Vulnerability Protection Profile Threat Exception Action  - The Action param.
 - Exempt
Ips List<GetVulnerability Protection Profile Threat Exception Exempt Ip>  - The ExemptIps param.
 - Name string
 - The Name param.
 - Notes string
 - The Notes param.
 - Packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - Time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute  - The TimeAttribute param.
 
- Action
Get
Vulnerability Protection Profile Threat Exception Action  - The Action param.
 - Exempt
Ips []GetVulnerability Protection Profile Threat Exception Exempt Ip  - The ExemptIps param.
 - Name string
 - The Name param.
 - Notes string
 - The Notes param.
 - Packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - Time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute  - The TimeAttribute param.
 
- action
Get
Vulnerability Protection Profile Threat Exception Action  - The Action param.
 - exempt
Ips List<GetVulnerability Protection Profile Threat Exception Exempt Ip>  - The ExemptIps param.
 - name String
 - The Name param.
 - notes String
 - The Notes param.
 - packet
Capture String - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute  - The TimeAttribute param.
 
- action
Get
Vulnerability Protection Profile Threat Exception Action  - The Action param.
 - exempt
Ips GetVulnerability Protection Profile Threat Exception Exempt Ip[]  - The ExemptIps param.
 - name string
 - The Name param.
 - notes string
 - The Notes param.
 - packet
Capture string - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - time
Attribute GetVulnerability Protection Profile Threat Exception Time Attribute  - The TimeAttribute param.
 
- action
Get
Vulnerability Protection Profile Threat Exception Action  - The Action param.
 - exempt_
ips Sequence[GetVulnerability Protection Profile Threat Exception Exempt Ip]  - The ExemptIps param.
 - name str
 - The Name param.
 - notes str
 - The Notes param.
 - packet_
capture str - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - time_
attribute GetVulnerability Protection Profile Threat Exception Time Attribute  - The TimeAttribute param.
 
- action Property Map
 - The Action param.
 - exempt
Ips List<Property Map> - The ExemptIps param.
 - name String
 - The Name param.
 - notes String
 - The Notes param.
 - packet
Capture String - The PacketCapture param. String must be one of these: 
"disable","single-packet","extended-capture". - time
Attribute Property Map - The TimeAttribute param.
 
GetVulnerabilityProtectionProfileThreatExceptionAction      
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip  - The BlockIp param.
 - Default bool
 - The Default param.
 - Drop bool
 - The Drop param.
 - Reset
Both bool - The ResetBoth param.
 - Reset
Client bool - The ResetClient param.
 - Reset
Server bool - The ResetServer param.
 
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip  - The BlockIp param.
 - Default bool
 - The Default param.
 - Drop bool
 - The Drop param.
 - Reset
Both bool - The ResetBoth param.
 - Reset
Client bool - The ResetClient param.
 - Reset
Server bool - The ResetServer param.
 
- alert Boolean
 - The Alert param.
 - allow Boolean
 - The Allow param.
 - block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip  - The BlockIp param.
 - default_ Boolean
 - The Default param.
 - drop Boolean
 - The Drop param.
 - reset
Both Boolean - The ResetBoth param.
 - reset
Client Boolean - The ResetClient param.
 - reset
Server Boolean - The ResetServer param.
 
- alert boolean
 - The Alert param.
 - allow boolean
 - The Allow param.
 - block
Ip GetVulnerability Protection Profile Threat Exception Action Block Ip  - The BlockIp param.
 - default boolean
 - The Default param.
 - drop boolean
 - The Drop param.
 - reset
Both boolean - The ResetBoth param.
 - reset
Client boolean - The ResetClient param.
 - reset
Server boolean - The ResetServer param.
 
- alert bool
 - The Alert param.
 - allow bool
 - The Allow param.
 - block_
ip GetVulnerability Protection Profile Threat Exception Action Block Ip  - The BlockIp param.
 - default bool
 - The Default param.
 - drop bool
 - The Drop param.
 - reset_
both bool - The ResetBoth param.
 - reset_
client bool - The ResetClient param.
 - reset_
server bool - The ResetServer param.
 
- alert Boolean
 - The Alert param.
 - allow Boolean
 - The Allow param.
 - block
Ip Property Map - The BlockIp param.
 - default Boolean
 - The Default param.
 - drop Boolean
 - The Drop param.
 - reset
Both Boolean - The ResetBoth param.
 - reset
Client Boolean - The ResetClient param.
 - reset
Server Boolean - The ResetServer param.
 
GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp        
GetVulnerabilityProtectionProfileThreatExceptionExemptIp       
- Name string
 - The Name param.
 
- Name string
 - The Name param.
 
- name String
 - The Name param.
 
- name string
 - The Name param.
 
- name str
 - The Name param.
 
- name String
 - The Name param.
 
GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute       
Package Details
- Repository
 - scm pulumi/pulumi-scm
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scmTerraform Provider.