Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getAntiSpywareProfile
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.getAntiSpywareProfile({
    id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_anti_spyware_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.LookupAntiSpywareProfile(ctx, &scm.LookupAntiSpywareProfileArgs{
			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.GetAntiSpywareProfile.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.GetAntiSpywareProfileArgs;
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.getAntiSpywareProfile(GetAntiSpywareProfileArgs.builder()
            .id("1234-56-789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getAntiSpywareProfile
      arguments:
        id: 1234-56-789
Using getAntiSpywareProfile
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 getAntiSpywareProfile(args: GetAntiSpywareProfileArgs, opts?: InvokeOptions): Promise<GetAntiSpywareProfileResult>
function getAntiSpywareProfileOutput(args: GetAntiSpywareProfileOutputArgs, opts?: InvokeOptions): Output<GetAntiSpywareProfileResult>def get_anti_spyware_profile(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAntiSpywareProfileResult
def get_anti_spyware_profile_output(id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAntiSpywareProfileResult]func LookupAntiSpywareProfile(ctx *Context, args *LookupAntiSpywareProfileArgs, opts ...InvokeOption) (*LookupAntiSpywareProfileResult, error)
func LookupAntiSpywareProfileOutput(ctx *Context, args *LookupAntiSpywareProfileOutputArgs, opts ...InvokeOption) LookupAntiSpywareProfileResultOutput> Note: This function is named LookupAntiSpywareProfile in the Go SDK.
public static class GetAntiSpywareProfile 
{
    public static Task<GetAntiSpywareProfileResult> InvokeAsync(GetAntiSpywareProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetAntiSpywareProfileResult> Invoke(GetAntiSpywareProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAntiSpywareProfileResult> getAntiSpywareProfile(GetAntiSpywareProfileArgs args, InvokeOptions options)
public static Output<GetAntiSpywareProfileResult> getAntiSpywareProfile(GetAntiSpywareProfileArgs args, InvokeOptions options)
fn::invoke:
  function: scm:index/getAntiSpywareProfile:getAntiSpywareProfile
  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.
 
getAntiSpywareProfile Result
The following output properties are available:
- Cloud
Inline boolAnalysis  - The CloudInlineAnalysis param. Default: 
false. - Description string
 - The Description param.
 - Id string
 - The Id param.
 - Inline
Exception List<string>Edl Urls  - The InlineExceptionEdlUrls param.
 - Inline
Exception List<string>Ip Addresses  - The InlineExceptionIpAddresses param.
 - Mica
Engine List<GetSpyware Enabled Lists Anti Spyware Profile Mica Engine Spyware Enabled List>  - The MicaEngineSpywareEnabledList param.
 - Name string
 - The Name param.
 - Rules
List<Get
Anti Spyware Profile Rule>  - The Rules param.
 - Tfid string
 - Threat
Exceptions List<GetAnti Spyware Profile Threat Exception>  - The ThreatExceptions param.
 
- Cloud
Inline boolAnalysis  - The CloudInlineAnalysis param. Default: 
false. - Description string
 - The Description param.
 - Id string
 - The Id param.
 - Inline
Exception []stringEdl Urls  - The InlineExceptionEdlUrls param.
 - Inline
Exception []stringIp Addresses  - The InlineExceptionIpAddresses param.
 - Mica
Engine []GetSpyware Enabled Lists Anti Spyware Profile Mica Engine Spyware Enabled List  - The MicaEngineSpywareEnabledList param.
 - Name string
 - The Name param.
 - Rules
[]Get
Anti Spyware Profile Rule  - The Rules param.
 - Tfid string
 - Threat
Exceptions []GetAnti Spyware Profile Threat Exception  - The ThreatExceptions param.
 
- cloud
Inline BooleanAnalysis  - The CloudInlineAnalysis param. Default: 
false. - description String
 - The Description param.
 - id String
 - The Id param.
 - inline
Exception List<String>Edl Urls  - The InlineExceptionEdlUrls param.
 - inline
Exception List<String>Ip Addresses  - The InlineExceptionIpAddresses param.
 - mica
Engine List<GetSpyware Enabled Lists Anti Spyware Profile Mica Engine Spyware Enabled List>  - The MicaEngineSpywareEnabledList param.
 - name String
 - The Name param.
 - rules
List<Get
Anti Spyware Profile Rule>  - The Rules param.
 - tfid String
 - threat
Exceptions List<GetAnti Spyware Profile Threat Exception>  - The ThreatExceptions param.
 
- cloud
Inline booleanAnalysis  - The CloudInlineAnalysis param. Default: 
false. - description string
 - The Description param.
 - id string
 - The Id param.
 - inline
Exception string[]Edl Urls  - The InlineExceptionEdlUrls param.
 - inline
Exception string[]Ip Addresses  - The InlineExceptionIpAddresses param.
 - mica
Engine GetSpyware Enabled Lists Anti Spyware Profile Mica Engine Spyware Enabled List[]  - The MicaEngineSpywareEnabledList param.
 - name string
 - The Name param.
 - rules
Get
Anti Spyware Profile Rule[]  - The Rules param.
 - tfid string
 - threat
Exceptions GetAnti Spyware Profile Threat Exception[]  - The ThreatExceptions param.
 
- cloud_
inline_ boolanalysis  - The CloudInlineAnalysis param. Default: 
false. - description str
 - The Description param.
 - id str
 - The Id param.
 - inline_
exception_ Sequence[str]edl_ urls  - The InlineExceptionEdlUrls param.
 - inline_
exception_ Sequence[str]ip_ addresses  - The InlineExceptionIpAddresses param.
 - mica_
engine_ Sequence[Getspyware_ enabled_ lists Anti Spyware Profile Mica Engine Spyware Enabled List]  - The MicaEngineSpywareEnabledList param.
 - name str
 - The Name param.
 - rules
Sequence[Get
Anti Spyware Profile Rule]  - The Rules param.
 - tfid str
 - threat_
exceptions Sequence[GetAnti Spyware Profile Threat Exception]  - The ThreatExceptions param.
 
- cloud
Inline BooleanAnalysis  - The CloudInlineAnalysis param. Default: 
false. - description String
 - The Description param.
 - id String
 - The Id param.
 - inline
Exception List<String>Edl Urls  - The InlineExceptionEdlUrls param.
 - inline
Exception List<String>Ip Addresses  - The InlineExceptionIpAddresses param.
 - mica
Engine List<Property Map>Spyware Enabled Lists  - The MicaEngineSpywareEnabledList param.
 - name String
 - The Name param.
 - rules List<Property Map>
 - The Rules param.
 - tfid String
 - threat
Exceptions List<Property Map> - The ThreatExceptions param.
 
Supporting Types
GetAntiSpywareProfileMicaEngineSpywareEnabledList        
- Inline
Policy stringAction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - Name string
 - The Name param.
 
- Inline
Policy stringAction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - Name string
 - The Name param.
 
- inline
Policy StringAction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - name String
 - The Name param.
 
- inline
Policy stringAction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - name string
 - The Name param.
 
- inline_
policy_ straction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - name str
 - The Name param.
 
- inline
Policy StringAction  - The InlinePolicyAction param. String must be one of these: 
"alert","allow","drop","reset-both","reset-client","reset-server". Default:"alert". - name String
 - The Name param.
 
GetAntiSpywareProfileRule    
- Action
Get
Anti Spyware Profile Rule Action  - The Action param.
 - Category string
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
- Action
Get
Anti Spyware Profile Rule Action  - The Action param.
 - Category string
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
- action
Get
Anti Spyware Profile Rule Action  - The Action param.
 - category String
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
- action
Get
Anti Spyware Profile Rule Action  - The Action param.
 - category string
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
- action
Get
Anti Spyware Profile Rule Action  - The Action param.
 - category str
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
- action Property Map
 - The Action param.
 - category String
 - The Category param. String must be one of these: 
"dns-proxy","backdoor","data-theft","autogen","spyware","dns-security","downloader","dns-phishing","phishing-kit","cryptominer","hacktool","dns-benign","dns-wildfire","botnet","dns-grayware","inline-cloud-c2","keylogger","p2p-communication","domain-edl","webshell","command-and-control","dns-ddns","net-worm","any","tls-fingerprint","dns-new-domain","dns","fraud","dns-c2","adware","post-exploitation","dns-malware","browser-hijack","dns-parked". - 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. String length must exceed 4 characters.
 
GetAntiSpywareProfileRuleAction     
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetAnti Spyware Profile Rule Action Block Ip  - The BlockIp 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 GetAnti Spyware Profile Rule Action Block Ip  - The BlockIp 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 GetAnti Spyware Profile Rule Action Block Ip  - The BlockIp 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 GetAnti Spyware Profile Rule Action Block Ip  - The BlockIp 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 GetAnti Spyware Profile Rule Action Block Ip  - The BlockIp 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.
 - drop Boolean
 - The Drop param.
 - reset
Both Boolean - The ResetBoth param.
 - reset
Client Boolean - The ResetClient param.
 - reset
Server Boolean - The ResetServer param.
 
GetAntiSpywareProfileRuleActionBlockIp       
GetAntiSpywareProfileThreatException     
- Action
Get
Anti Spyware Profile Threat Exception Action  - The Action param.
 - Exempt
Ips List<GetAnti Spyware 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". 
- Action
Get
Anti Spyware Profile Threat Exception Action  - The Action param.
 - Exempt
Ips []GetAnti Spyware 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". 
- action
Get
Anti Spyware Profile Threat Exception Action  - The Action param.
 - exempt
Ips List<GetAnti Spyware 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". 
- action
Get
Anti Spyware Profile Threat Exception Action  - The Action param.
 - exempt
Ips GetAnti Spyware 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". 
- action
Get
Anti Spyware Profile Threat Exception Action  - The Action param.
 - exempt_
ips Sequence[GetAnti Spyware 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". 
- 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". 
GetAntiSpywareProfileThreatExceptionAction      
- Alert bool
 - The Alert param.
 - Allow bool
 - The Allow param.
 - Block
Ip GetAnti Spyware 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 GetAnti Spyware 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 GetAnti Spyware 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 GetAnti Spyware 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 GetAnti Spyware 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.
 
GetAntiSpywareProfileThreatExceptionActionBlockIp        
GetAntiSpywareProfileThreatExceptionExemptIp       
- 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.
 
Package Details
- Repository
 - scm pulumi/pulumi-scm
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scmTerraform Provider.