1. Registry
  2. Packages
  3. Google Cloud (GCP)
  4. API Docs
  5. networksecurity
  6. SecurityProfile
Viewing docs for Google Cloud v10.5.0
published on Wednesday, Nov 18, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v10.5.0
published on Wednesday, Nov 18, 2026 by Pulumi

    A security profile defines the behavior associated to a profile type.

    To get more information about SecurityProfile, see:

    Example Usage

    Network Security Security Profile Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "THREAT_PREVENTION",
        labels: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="THREAT_PREVENTION",
        labels={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("THREAT_PREVENTION"),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "THREAT_PREVENTION",
            Labels = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new SecurityProfile("default", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("THREAT_PREVENTION")
                .labels(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:networksecurity:SecurityProfile
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: THREAT_PREVENTION
          labels:
            foo: bar
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "THREAT_PREVENTION"
      labels = {
        "foo" = "bar"
      }
    }
    

    Network Security Security Profile Overrides

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "THREAT_PREVENTION",
        threatPreventionProfile: {
            severityOverrides: [
                {
                    action: "ALLOW",
                    severity: "INFORMATIONAL",
                },
                {
                    action: "DENY",
                    severity: "HIGH",
                },
            ],
            threatOverrides: [{
                action: "ALLOW",
                threatId: "280647",
            }],
            antivirusOverrides: [{
                protocol: "SMTP",
                action: "ALLOW",
            }],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="THREAT_PREVENTION",
        threat_prevention_profile={
            "severity_overrides": [
                {
                    "action": "ALLOW",
                    "severity": "INFORMATIONAL",
                },
                {
                    "action": "DENY",
                    "severity": "HIGH",
                },
            ],
            "threat_overrides": [{
                "action": "ALLOW",
                "threat_id": "280647",
            }],
            "antivirus_overrides": [{
                "protocol": "SMTP",
                "action": "ALLOW",
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("THREAT_PREVENTION"),
    			ThreatPreventionProfile: &networksecurity.SecurityProfileThreatPreventionProfileArgs{
    				SeverityOverrides: networksecurity.SecurityProfileThreatPreventionProfileSeverityOverrideArray{
    					&networksecurity.SecurityProfileThreatPreventionProfileSeverityOverrideArgs{
    						Action:   pulumi.String("ALLOW"),
    						Severity: pulumi.String("INFORMATIONAL"),
    					},
    					&networksecurity.SecurityProfileThreatPreventionProfileSeverityOverrideArgs{
    						Action:   pulumi.String("DENY"),
    						Severity: pulumi.String("HIGH"),
    					},
    				},
    				ThreatOverrides: networksecurity.SecurityProfileThreatPreventionProfileThreatOverrideArray{
    					&networksecurity.SecurityProfileThreatPreventionProfileThreatOverrideArgs{
    						Action:   pulumi.String("ALLOW"),
    						ThreatId: pulumi.String("280647"),
    					},
    				},
    				AntivirusOverrides: networksecurity.SecurityProfileThreatPreventionProfileAntivirusOverrideArray{
    					&networksecurity.SecurityProfileThreatPreventionProfileAntivirusOverrideArgs{
    						Protocol: pulumi.String("SMTP"),
    						Action:   pulumi.String("ALLOW"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "THREAT_PREVENTION",
            ThreatPreventionProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileArgs
            {
                SeverityOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileSeverityOverrideArgs
                    {
                        Action = "ALLOW",
                        Severity = "INFORMATIONAL",
                    },
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileSeverityOverrideArgs
                    {
                        Action = "DENY",
                        Severity = "HIGH",
                    },
                },
                ThreatOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileThreatOverrideArgs
                    {
                        Action = "ALLOW",
                        ThreatId = "280647",
                    },
                },
                AntivirusOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileAntivirusOverrideArgs
                    {
                        Protocol = "SMTP",
                        Action = "ALLOW",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileThreatPreventionProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileThreatPreventionProfileSeverityOverrideArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileThreatPreventionProfileThreatOverrideArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileThreatPreventionProfileAntivirusOverrideArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new SecurityProfile("default", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("THREAT_PREVENTION")
                .threatPreventionProfile(SecurityProfileThreatPreventionProfileArgs.builder()
                    .severityOverrides(                
                        SecurityProfileThreatPreventionProfileSeverityOverrideArgs.builder()
                            .action("ALLOW")
                            .severity("INFORMATIONAL")
                            .build(),
                        SecurityProfileThreatPreventionProfileSeverityOverrideArgs.builder()
                            .action("DENY")
                            .severity("HIGH")
                            .build())
                    .threatOverrides(SecurityProfileThreatPreventionProfileThreatOverrideArgs.builder()
                        .action("ALLOW")
                        .threatId("280647")
                        .build())
                    .antivirusOverrides(SecurityProfileThreatPreventionProfileAntivirusOverrideArgs.builder()
                        .protocol("SMTP")
                        .action("ALLOW")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:networksecurity:SecurityProfile
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: THREAT_PREVENTION
          threatPreventionProfile:
            severityOverrides:
              - action: ALLOW
                severity: INFORMATIONAL
              - action: DENY
                severity: HIGH
            threatOverrides:
              - action: ALLOW
                threatId: '280647'
            antivirusOverrides:
              - protocol: SMTP
                action: ALLOW
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "THREAT_PREVENTION"
      threat_prevention_profile = {
        severity_overrides = [{
          action   = "ALLOW"
          severity = "INFORMATIONAL"
          }, {
          action   = "DENY"
          severity = "HIGH"
        }]
        threat_overrides = [{
          action    = "ALLOW"
          threat_id = "280647"
        }]
        antivirus_overrides = [{
          protocol = "SMTP"
          action   = "ALLOW"
        }]
      }
    }
    

    Network Security Security Profile Mirroring

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.compute.Network("default", {
        name: "my-network",
        autoCreateSubnetworks: false,
    });
    const defaultMirroringDeploymentGroup = new gcp.networksecurity.MirroringDeploymentGroup("default", {
        mirroringDeploymentGroupId: "my-dg",
        location: "global",
        network: _default.id,
    });
    const defaultMirroringEndpointGroup = new gcp.networksecurity.MirroringEndpointGroup("default", {
        mirroringEndpointGroupId: "my-eg",
        location: "global",
        mirroringDeploymentGroup: defaultMirroringDeploymentGroup.id,
    });
    const defaultSecurityProfile = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "CUSTOM_MIRRORING",
        customMirroringProfile: {
            mirroringEndpointGroup: defaultMirroringEndpointGroup.id,
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.compute.Network("default",
        name="my-network",
        auto_create_subnetworks=False)
    default_mirroring_deployment_group = gcp.networksecurity.MirroringDeploymentGroup("default",
        mirroring_deployment_group_id="my-dg",
        location="global",
        network=default.id)
    default_mirroring_endpoint_group = gcp.networksecurity.MirroringEndpointGroup("default",
        mirroring_endpoint_group_id="my-eg",
        location="global",
        mirroring_deployment_group=default_mirroring_deployment_group.id)
    default_security_profile = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="CUSTOM_MIRRORING",
        custom_mirroring_profile={
            "mirroring_endpoint_group": default_mirroring_endpoint_group.id,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_default, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
    			Name:                  pulumi.String("my-network"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		defaultMirroringDeploymentGroup, err := networksecurity.NewMirroringDeploymentGroup(ctx, "default", &networksecurity.MirroringDeploymentGroupArgs{
    			MirroringDeploymentGroupId: pulumi.String("my-dg"),
    			Location:                   pulumi.String("global"),
    			Network:                    _default.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultMirroringEndpointGroup, err := networksecurity.NewMirroringEndpointGroup(ctx, "default", &networksecurity.MirroringEndpointGroupArgs{
    			MirroringEndpointGroupId: pulumi.String("my-eg"),
    			Location:                 pulumi.String("global"),
    			MirroringDeploymentGroup: defaultMirroringDeploymentGroup.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("CUSTOM_MIRRORING"),
    			CustomMirroringProfile: &networksecurity.SecurityProfileCustomMirroringProfileArgs{
    				MirroringEndpointGroup: defaultMirroringEndpointGroup.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Compute.Network("default", new()
        {
            Name = "my-network",
            AutoCreateSubnetworks = false,
        });
    
        var defaultMirroringDeploymentGroup = new Gcp.NetworkSecurity.MirroringDeploymentGroup("default", new()
        {
            MirroringDeploymentGroupId = "my-dg",
            Location = "global",
            Network = @default.Id,
        });
    
        var defaultMirroringEndpointGroup = new Gcp.NetworkSecurity.MirroringEndpointGroup("default", new()
        {
            MirroringEndpointGroupId = "my-eg",
            Location = "global",
            MirroringDeploymentGroup = defaultMirroringDeploymentGroup.Id,
        });
    
        var defaultSecurityProfile = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "CUSTOM_MIRRORING",
            CustomMirroringProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileCustomMirroringProfileArgs
            {
                MirroringEndpointGroup = defaultMirroringEndpointGroup.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.networksecurity.MirroringDeploymentGroup;
    import com.pulumi.gcp.networksecurity.MirroringDeploymentGroupArgs;
    import com.pulumi.gcp.networksecurity.MirroringEndpointGroup;
    import com.pulumi.gcp.networksecurity.MirroringEndpointGroupArgs;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileCustomMirroringProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new Network("default", NetworkArgs.builder()
                .name("my-network")
                .autoCreateSubnetworks(false)
                .build());
    
            var defaultMirroringDeploymentGroup = new MirroringDeploymentGroup("defaultMirroringDeploymentGroup", MirroringDeploymentGroupArgs.builder()
                .mirroringDeploymentGroupId("my-dg")
                .location("global")
                .network(default_.id())
                .build());
    
            var defaultMirroringEndpointGroup = new MirroringEndpointGroup("defaultMirroringEndpointGroup", MirroringEndpointGroupArgs.builder()
                .mirroringEndpointGroupId("my-eg")
                .location("global")
                .mirroringDeploymentGroup(defaultMirroringDeploymentGroup.id())
                .build());
    
            var defaultSecurityProfile = new SecurityProfile("defaultSecurityProfile", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("CUSTOM_MIRRORING")
                .customMirroringProfile(SecurityProfileCustomMirroringProfileArgs.builder()
                    .mirroringEndpointGroup(defaultMirroringEndpointGroup.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:compute:Network
        properties:
          name: my-network
          autoCreateSubnetworks: false
      defaultMirroringDeploymentGroup:
        type: gcp:networksecurity:MirroringDeploymentGroup
        name: default
        properties:
          mirroringDeploymentGroupId: my-dg
          location: global
          network: ${default.id}
      defaultMirroringEndpointGroup:
        type: gcp:networksecurity:MirroringEndpointGroup
        name: default
        properties:
          mirroringEndpointGroupId: my-eg
          location: global
          mirroringDeploymentGroup: ${defaultMirroringDeploymentGroup.id}
      defaultSecurityProfile:
        type: gcp:networksecurity:SecurityProfile
        name: default
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: CUSTOM_MIRRORING
          customMirroringProfile:
            mirroringEndpointGroup: ${defaultMirroringEndpointGroup.id}
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_compute_network" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name                    = "my-network"
      auto_create_subnetworks = false
    }
    resource "gcp_networksecurity_mirroring_deployment_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      mirroring_deployment_group_id = "my-dg"
      location                      = "global"
      network                       = gcp_compute_network.default.id
    }
    resource "gcp_networksecurity_mirroring_endpoint_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      mirroring_endpoint_group_id = "my-eg"
      location                    = "global"
      mirroring_deployment_group  = gcp_networksecurity_mirroring_deployment_group.default.id
    }
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "CUSTOM_MIRRORING"
      custom_mirroring_profile = {
        mirroring_endpoint_group = gcp_networksecurity_mirroring_endpoint_group.default.id
      }
    }
    

    Network Security Security Profile Intercept

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.compute.Network("default", {
        name: "my-network",
        autoCreateSubnetworks: false,
    });
    const defaultInterceptDeploymentGroup = new gcp.networksecurity.InterceptDeploymentGroup("default", {
        interceptDeploymentGroupId: "my-dg",
        location: "global",
        network: _default.id,
    });
    const defaultInterceptEndpointGroup = new gcp.networksecurity.InterceptEndpointGroup("default", {
        interceptEndpointGroupId: "my-eg",
        location: "global",
        interceptDeploymentGroup: defaultInterceptDeploymentGroup.id,
    });
    const defaultSecurityProfile = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "CUSTOM_INTERCEPT",
        customInterceptProfile: {
            interceptEndpointGroup: defaultInterceptEndpointGroup.id,
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.compute.Network("default",
        name="my-network",
        auto_create_subnetworks=False)
    default_intercept_deployment_group = gcp.networksecurity.InterceptDeploymentGroup("default",
        intercept_deployment_group_id="my-dg",
        location="global",
        network=default.id)
    default_intercept_endpoint_group = gcp.networksecurity.InterceptEndpointGroup("default",
        intercept_endpoint_group_id="my-eg",
        location="global",
        intercept_deployment_group=default_intercept_deployment_group.id)
    default_security_profile = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="CUSTOM_INTERCEPT",
        custom_intercept_profile={
            "intercept_endpoint_group": default_intercept_endpoint_group.id,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_default, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
    			Name:                  pulumi.String("my-network"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		defaultInterceptDeploymentGroup, err := networksecurity.NewInterceptDeploymentGroup(ctx, "default", &networksecurity.InterceptDeploymentGroupArgs{
    			InterceptDeploymentGroupId: pulumi.String("my-dg"),
    			Location:                   pulumi.String("global"),
    			Network:                    _default.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultInterceptEndpointGroup, err := networksecurity.NewInterceptEndpointGroup(ctx, "default", &networksecurity.InterceptEndpointGroupArgs{
    			InterceptEndpointGroupId: pulumi.String("my-eg"),
    			Location:                 pulumi.String("global"),
    			InterceptDeploymentGroup: defaultInterceptDeploymentGroup.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("CUSTOM_INTERCEPT"),
    			CustomInterceptProfile: &networksecurity.SecurityProfileCustomInterceptProfileArgs{
    				InterceptEndpointGroup: defaultInterceptEndpointGroup.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Compute.Network("default", new()
        {
            Name = "my-network",
            AutoCreateSubnetworks = false,
        });
    
        var defaultInterceptDeploymentGroup = new Gcp.NetworkSecurity.InterceptDeploymentGroup("default", new()
        {
            InterceptDeploymentGroupId = "my-dg",
            Location = "global",
            Network = @default.Id,
        });
    
        var defaultInterceptEndpointGroup = new Gcp.NetworkSecurity.InterceptEndpointGroup("default", new()
        {
            InterceptEndpointGroupId = "my-eg",
            Location = "global",
            InterceptDeploymentGroup = defaultInterceptDeploymentGroup.Id,
        });
    
        var defaultSecurityProfile = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "CUSTOM_INTERCEPT",
            CustomInterceptProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileCustomInterceptProfileArgs
            {
                InterceptEndpointGroup = defaultInterceptEndpointGroup.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.networksecurity.InterceptDeploymentGroup;
    import com.pulumi.gcp.networksecurity.InterceptDeploymentGroupArgs;
    import com.pulumi.gcp.networksecurity.InterceptEndpointGroup;
    import com.pulumi.gcp.networksecurity.InterceptEndpointGroupArgs;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileCustomInterceptProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new Network("default", NetworkArgs.builder()
                .name("my-network")
                .autoCreateSubnetworks(false)
                .build());
    
            var defaultInterceptDeploymentGroup = new InterceptDeploymentGroup("defaultInterceptDeploymentGroup", InterceptDeploymentGroupArgs.builder()
                .interceptDeploymentGroupId("my-dg")
                .location("global")
                .network(default_.id())
                .build());
    
            var defaultInterceptEndpointGroup = new InterceptEndpointGroup("defaultInterceptEndpointGroup", InterceptEndpointGroupArgs.builder()
                .interceptEndpointGroupId("my-eg")
                .location("global")
                .interceptDeploymentGroup(defaultInterceptDeploymentGroup.id())
                .build());
    
            var defaultSecurityProfile = new SecurityProfile("defaultSecurityProfile", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("CUSTOM_INTERCEPT")
                .customInterceptProfile(SecurityProfileCustomInterceptProfileArgs.builder()
                    .interceptEndpointGroup(defaultInterceptEndpointGroup.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:compute:Network
        properties:
          name: my-network
          autoCreateSubnetworks: false
      defaultInterceptDeploymentGroup:
        type: gcp:networksecurity:InterceptDeploymentGroup
        name: default
        properties:
          interceptDeploymentGroupId: my-dg
          location: global
          network: ${default.id}
      defaultInterceptEndpointGroup:
        type: gcp:networksecurity:InterceptEndpointGroup
        name: default
        properties:
          interceptEndpointGroupId: my-eg
          location: global
          interceptDeploymentGroup: ${defaultInterceptDeploymentGroup.id}
      defaultSecurityProfile:
        type: gcp:networksecurity:SecurityProfile
        name: default
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: CUSTOM_INTERCEPT
          customInterceptProfile:
            interceptEndpointGroup: ${defaultInterceptEndpointGroup.id}
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_compute_network" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name                    = "my-network"
      auto_create_subnetworks = false
    }
    resource "gcp_networksecurity_intercept_deployment_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      intercept_deployment_group_id = "my-dg"
      location                      = "global"
      network                       = gcp_compute_network.default.id
    }
    resource "gcp_networksecurity_intercept_endpoint_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      intercept_endpoint_group_id = "my-eg"
      location                    = "global"
      intercept_deployment_group  = gcp_networksecurity_intercept_deployment_group.default.id
    }
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "CUSTOM_INTERCEPT"
      custom_intercept_profile = {
        intercept_endpoint_group = gcp_networksecurity_intercept_endpoint_group.default.id
      }
    }
    

    Network Security Security Profile Url Filtering

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "URL_FILTERING",
        urlFilteringProfile: {
            urlFilters: [
                {
                    priority: 1,
                    filteringAction: "ALLOW",
                    urls: [
                        "*example.com",
                        "*about.example.com",
                        "*help.example.com",
                    ],
                },
                {
                    priority: 2,
                    filteringAction: "DENY",
                    urls: ["*restricted.example.com"],
                },
            ],
        },
        labels: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="URL_FILTERING",
        url_filtering_profile={
            "url_filters": [
                {
                    "priority": 1,
                    "filtering_action": "ALLOW",
                    "urls": [
                        "*example.com",
                        "*about.example.com",
                        "*help.example.com",
                    ],
                },
                {
                    "priority": 2,
                    "filtering_action": "DENY",
                    "urls": ["*restricted.example.com"],
                },
            ],
        },
        labels={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("URL_FILTERING"),
    			UrlFilteringProfile: &networksecurity.SecurityProfileUrlFilteringProfileArgs{
    				UrlFilters: networksecurity.SecurityProfileUrlFilteringProfileUrlFilterArray{
    					&networksecurity.SecurityProfileUrlFilteringProfileUrlFilterArgs{
    						Priority:        pulumi.Int(1),
    						FilteringAction: pulumi.String("ALLOW"),
    						Urls: pulumi.StringArray{
    							pulumi.String("*example.com"),
    							pulumi.String("*about.example.com"),
    							pulumi.String("*help.example.com"),
    						},
    					},
    					&networksecurity.SecurityProfileUrlFilteringProfileUrlFilterArgs{
    						Priority:        pulumi.Int(2),
    						FilteringAction: pulumi.String("DENY"),
    						Urls: pulumi.StringArray{
    							pulumi.String("*restricted.example.com"),
    						},
    					},
    				},
    			},
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "URL_FILTERING",
            UrlFilteringProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileUrlFilteringProfileArgs
            {
                UrlFilters = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileUrlFilteringProfileUrlFilterArgs
                    {
                        Priority = 1,
                        FilteringAction = "ALLOW",
                        Urls = new[]
                        {
                            "*example.com",
                            "*about.example.com",
                            "*help.example.com",
                        },
                    },
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileUrlFilteringProfileUrlFilterArgs
                    {
                        Priority = 2,
                        FilteringAction = "DENY",
                        Urls = new[]
                        {
                            "*restricted.example.com",
                        },
                    },
                },
            },
            Labels = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileUrlFilteringProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileUrlFilteringProfileUrlFilterArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new SecurityProfile("default", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("URL_FILTERING")
                .urlFilteringProfile(SecurityProfileUrlFilteringProfileArgs.builder()
                    .urlFilters(                
                        SecurityProfileUrlFilteringProfileUrlFilterArgs.builder()
                            .priority(1)
                            .filteringAction("ALLOW")
                            .urls(                        
                                "*example.com",
                                "*about.example.com",
                                "*help.example.com")
                            .build(),
                        SecurityProfileUrlFilteringProfileUrlFilterArgs.builder()
                            .priority(2)
                            .filteringAction("DENY")
                            .urls("*restricted.example.com")
                            .build())
                    .build())
                .labels(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:networksecurity:SecurityProfile
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: URL_FILTERING
          urlFilteringProfile:
            urlFilters:
              - priority: 1
                filteringAction: ALLOW
                urls:
                  - '*example.com'
                  - '*about.example.com'
                  - '*help.example.com'
              - priority: 2
                filteringAction: DENY
                urls:
                  - '*restricted.example.com'
          labels:
            foo: bar
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "URL_FILTERING"
      url_filtering_profile = {
        url_filters = [{
          priority         = 1
          filtering_action = "ALLOW"
          urls             = ["*example.com", "*about.example.com", "*help.example.com"]
          }, {
          priority         = 2
          filtering_action = "DENY"
          urls             = ["*restricted.example.com"]
        }]
      }
      labels = {
        "foo" = "bar"
      }
    }
    

    Network Security Security Profile Broker

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.compute.Network("default", {
        name: "my-network",
        autoCreateSubnetworks: false,
    });
    const defaultMirroringDeploymentGroup = new gcp.networksecurity.MirroringDeploymentGroup("default", {
        mirroringDeploymentGroupId: "my-dg",
        location: "global",
        network: _default.id,
    });
    const defaultMirroringEndpointGroup = new gcp.networksecurity.MirroringEndpointGroup("default", {
        mirroringEndpointGroupId: "my-eg",
        location: "global",
        type: "BROKER",
        mirroringDeploymentGroups: [defaultMirroringDeploymentGroup.id],
    });
    const defaultSecurityProfile = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "organizations/123456789",
        description: "my description",
        type: "CUSTOM_MIRRORING",
        customMirroringProfile: {
            mirroringEndpointGroup: defaultMirroringEndpointGroup.id,
            mirroringDeploymentGroups: [defaultMirroringDeploymentGroup.id],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.compute.Network("default",
        name="my-network",
        auto_create_subnetworks=False)
    default_mirroring_deployment_group = gcp.networksecurity.MirroringDeploymentGroup("default",
        mirroring_deployment_group_id="my-dg",
        location="global",
        network=default.id)
    default_mirroring_endpoint_group = gcp.networksecurity.MirroringEndpointGroup("default",
        mirroring_endpoint_group_id="my-eg",
        location="global",
        type="BROKER",
        mirroring_deployment_groups=[default_mirroring_deployment_group.id])
    default_security_profile = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="organizations/123456789",
        description="my description",
        type="CUSTOM_MIRRORING",
        custom_mirroring_profile={
            "mirroring_endpoint_group": default_mirroring_endpoint_group.id,
            "mirroring_deployment_groups": [default_mirroring_deployment_group.id],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_default, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
    			Name:                  pulumi.String("my-network"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		defaultMirroringDeploymentGroup, err := networksecurity.NewMirroringDeploymentGroup(ctx, "default", &networksecurity.MirroringDeploymentGroupArgs{
    			MirroringDeploymentGroupId: pulumi.String("my-dg"),
    			Location:                   pulumi.String("global"),
    			Network:                    _default.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultMirroringEndpointGroup, err := networksecurity.NewMirroringEndpointGroup(ctx, "default", &networksecurity.MirroringEndpointGroupArgs{
    			MirroringEndpointGroupId: pulumi.String("my-eg"),
    			Location:                 pulumi.String("global"),
    			Type:                     pulumi.String("BROKER"),
    			MirroringDeploymentGroups: pulumi.StringArray{
    				defaultMirroringDeploymentGroup.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("organizations/123456789"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("CUSTOM_MIRRORING"),
    			CustomMirroringProfile: &networksecurity.SecurityProfileCustomMirroringProfileArgs{
    				MirroringEndpointGroup: defaultMirroringEndpointGroup.ID(),
    				MirroringDeploymentGroups: pulumi.StringArray{
    					defaultMirroringDeploymentGroup.ID(),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Compute.Network("default", new()
        {
            Name = "my-network",
            AutoCreateSubnetworks = false,
        });
    
        var defaultMirroringDeploymentGroup = new Gcp.NetworkSecurity.MirroringDeploymentGroup("default", new()
        {
            MirroringDeploymentGroupId = "my-dg",
            Location = "global",
            Network = @default.Id,
        });
    
        var defaultMirroringEndpointGroup = new Gcp.NetworkSecurity.MirroringEndpointGroup("default", new()
        {
            MirroringEndpointGroupId = "my-eg",
            Location = "global",
            Type = "BROKER",
            MirroringDeploymentGroups = new[]
            {
                defaultMirroringDeploymentGroup.Id,
            },
        });
    
        var defaultSecurityProfile = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "organizations/123456789",
            Description = "my description",
            Type = "CUSTOM_MIRRORING",
            CustomMirroringProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileCustomMirroringProfileArgs
            {
                MirroringEndpointGroup = defaultMirroringEndpointGroup.Id,
                MirroringDeploymentGroups = new[]
                {
                    defaultMirroringDeploymentGroup.Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.networksecurity.MirroringDeploymentGroup;
    import com.pulumi.gcp.networksecurity.MirroringDeploymentGroupArgs;
    import com.pulumi.gcp.networksecurity.MirroringEndpointGroup;
    import com.pulumi.gcp.networksecurity.MirroringEndpointGroupArgs;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileCustomMirroringProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new Network("default", NetworkArgs.builder()
                .name("my-network")
                .autoCreateSubnetworks(false)
                .build());
    
            var defaultMirroringDeploymentGroup = new MirroringDeploymentGroup("defaultMirroringDeploymentGroup", MirroringDeploymentGroupArgs.builder()
                .mirroringDeploymentGroupId("my-dg")
                .location("global")
                .network(default_.id())
                .build());
    
            var defaultMirroringEndpointGroup = new MirroringEndpointGroup("defaultMirroringEndpointGroup", MirroringEndpointGroupArgs.builder()
                .mirroringEndpointGroupId("my-eg")
                .location("global")
                .type("BROKER")
                .mirroringDeploymentGroups(defaultMirroringDeploymentGroup.id())
                .build());
    
            var defaultSecurityProfile = new SecurityProfile("defaultSecurityProfile", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("organizations/123456789")
                .description("my description")
                .type("CUSTOM_MIRRORING")
                .customMirroringProfile(SecurityProfileCustomMirroringProfileArgs.builder()
                    .mirroringEndpointGroup(defaultMirroringEndpointGroup.id())
                    .mirroringDeploymentGroups(defaultMirroringDeploymentGroup.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:compute:Network
        properties:
          name: my-network
          autoCreateSubnetworks: false
      defaultMirroringDeploymentGroup:
        type: gcp:networksecurity:MirroringDeploymentGroup
        name: default
        properties:
          mirroringDeploymentGroupId: my-dg
          location: global
          network: ${default.id}
      defaultMirroringEndpointGroup:
        type: gcp:networksecurity:MirroringEndpointGroup
        name: default
        properties:
          mirroringEndpointGroupId: my-eg
          location: global
          type: BROKER
          mirroringDeploymentGroups:
            - ${defaultMirroringDeploymentGroup.id}
      defaultSecurityProfile:
        type: gcp:networksecurity:SecurityProfile
        name: default
        properties:
          name: my-security-profile
          parent: organizations/123456789
          description: my description
          type: CUSTOM_MIRRORING
          customMirroringProfile:
            mirroringEndpointGroup: ${defaultMirroringEndpointGroup.id}
            mirroringDeploymentGroups:
              - ${defaultMirroringDeploymentGroup.id}
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_compute_network" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name                    = "my-network"
      auto_create_subnetworks = false
    }
    resource "gcp_networksecurity_mirroring_deployment_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      mirroring_deployment_group_id = "my-dg"
      location                      = "global"
      network                       = gcp_compute_network.default.id
    }
    resource "gcp_networksecurity_mirroring_endpoint_group" "default" {
      lifecycle {
        create_before_destroy = true
      }
      mirroring_endpoint_group_id = "my-eg"
      location                    = "global"
      type                        = "BROKER"
      mirroring_deployment_groups = [gcp_networksecurity_mirroring_deployment_group.default.id]
    }
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "organizations/123456789"
      description = "my description"
      type        = "CUSTOM_MIRRORING"
      custom_mirroring_profile = {
        mirroring_endpoint_group    = gcp_networksecurity_mirroring_endpoint_group.default.id
        mirroring_deployment_groups = [gcp_networksecurity_mirroring_deployment_group.default.id]
      }
    }
    

    Network Security Security Profile Wildfire

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.SecurityProfile("default", {
        name: "my-security-profile",
        parent: "projects/my-project-name",
        description: "my description",
        type: "WILDFIRE_ANALYSIS",
        wildfireAnalysisProfile: {
            wildfireRealtimeLookup: true,
            wildfireSubmissionRules: [
                {
                    direction: "BOTH",
                    fileSelectionMode: "ALL_FILE_TYPES",
                },
                {
                    direction: "UPLOAD",
                    fileSelectionMode: "CUSTOM_FILE_TYPES",
                    customFileTypes: {
                        fileTypes: [
                            "PDF",
                            "SCRIPT",
                        ],
                    },
                },
            ],
            wildfireInlineCloudAnalysisRules: [
                {
                    direction: "BOTH",
                    action: "ALLOW",
                    fileSelectionMode: "ALL_FILE_TYPES",
                },
                {
                    direction: "DOWNLOAD",
                    action: "DENY",
                    fileSelectionMode: "CUSTOM_FILE_TYPES",
                    customFileTypes: {
                        fileTypes: ["PE"],
                    },
                },
            ],
            wildfireOverrides: [{
                protocol: "WILDFIRE_HTTP",
                action: "WILDFIRE_DENY",
            }],
            wildfireInlineMlOverrides: [{
                protocol: "WILDFIRE_FTP",
                action: "WILDFIRE_ALERT",
            }],
            wildfireThreatOverrides: [{
                threatId: "12345",
                action: "WILDFIRE_ALLOW",
            }],
            wildfireInlineMlSetting: {
                inlineMlConfigs: [{
                    fileType: "WINDOWS_EXECUTABLE",
                    action: "ENABLE",
                }],
                fileExceptions: [{
                    partialHash: "12345abcdef",
                    filename: "virus.exe",
                }],
            },
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.SecurityProfile("default",
        name="my-security-profile",
        parent="projects/my-project-name",
        description="my description",
        type="WILDFIRE_ANALYSIS",
        wildfire_analysis_profile={
            "wildfire_realtime_lookup": True,
            "wildfire_submission_rules": [
                {
                    "direction": "BOTH",
                    "file_selection_mode": "ALL_FILE_TYPES",
                },
                {
                    "direction": "UPLOAD",
                    "file_selection_mode": "CUSTOM_FILE_TYPES",
                    "custom_file_types": {
                        "file_types": [
                            "PDF",
                            "SCRIPT",
                        ],
                    },
                },
            ],
            "wildfire_inline_cloud_analysis_rules": [
                {
                    "direction": "BOTH",
                    "action": "ALLOW",
                    "file_selection_mode": "ALL_FILE_TYPES",
                },
                {
                    "direction": "DOWNLOAD",
                    "action": "DENY",
                    "file_selection_mode": "CUSTOM_FILE_TYPES",
                    "custom_file_types": {
                        "file_types": ["PE"],
                    },
                },
            ],
            "wildfire_overrides": [{
                "protocol": "WILDFIRE_HTTP",
                "action": "WILDFIRE_DENY",
            }],
            "wildfire_inline_ml_overrides": [{
                "protocol": "WILDFIRE_FTP",
                "action": "WILDFIRE_ALERT",
            }],
            "wildfire_threat_overrides": [{
                "threat_id": "12345",
                "action": "WILDFIRE_ALLOW",
            }],
            "wildfire_inline_ml_setting": {
                "inline_ml_configs": [{
                    "file_type": "WINDOWS_EXECUTABLE",
                    "action": "ENABLE",
                }],
                "file_exceptions": [{
                    "partial_hash": "12345abcdef",
                    "filename": "virus.exe",
                }],
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networksecurity.NewSecurityProfile(ctx, "default", &networksecurity.SecurityProfileArgs{
    			Name:        pulumi.String("my-security-profile"),
    			Parent:      pulumi.String("projects/my-project-name"),
    			Description: pulumi.String("my description"),
    			Type:        pulumi.String("WILDFIRE_ANALYSIS"),
    			WildfireAnalysisProfile: &networksecurity.SecurityProfileWildfireAnalysisProfileArgs{
    				WildfireRealtimeLookup: pulumi.Bool(true),
    				WildfireSubmissionRules: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArray{
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs{
    						Direction:         pulumi.String("BOTH"),
    						FileSelectionMode: pulumi.String("ALL_FILE_TYPES"),
    					},
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs{
    						Direction:         pulumi.String("UPLOAD"),
    						FileSelectionMode: pulumi.String("CUSTOM_FILE_TYPES"),
    						CustomFileTypes: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs{
    							FileTypes: pulumi.StringArray{
    								pulumi.String("PDF"),
    								pulumi.String("SCRIPT"),
    							},
    						},
    					},
    				},
    				WildfireInlineCloudAnalysisRules: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArray{
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs{
    						Direction:         pulumi.String("BOTH"),
    						Action:            pulumi.String("ALLOW"),
    						FileSelectionMode: pulumi.String("ALL_FILE_TYPES"),
    					},
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs{
    						Direction:         pulumi.String("DOWNLOAD"),
    						Action:            pulumi.String("DENY"),
    						FileSelectionMode: pulumi.String("CUSTOM_FILE_TYPES"),
    						CustomFileTypes: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs{
    							FileTypes: pulumi.StringArray{
    								pulumi.String("PE"),
    							},
    						},
    					},
    				},
    				WildfireOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireOverrideArray{
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs{
    						Protocol: pulumi.String("WILDFIRE_HTTP"),
    						Action:   pulumi.String("WILDFIRE_DENY"),
    					},
    				},
    				WildfireInlineMlOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArray{
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs{
    						Protocol: pulumi.String("WILDFIRE_FTP"),
    						Action:   pulumi.String("WILDFIRE_ALERT"),
    					},
    				},
    				WildfireThreatOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArray{
    					&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs{
    						ThreatId: pulumi.String("12345"),
    						Action:   pulumi.String("WILDFIRE_ALLOW"),
    					},
    				},
    				WildfireInlineMlSetting: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs{
    					InlineMlConfigs: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArray{
    						&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs{
    							FileType: pulumi.String("WINDOWS_EXECUTABLE"),
    							Action:   pulumi.String("ENABLE"),
    						},
    					},
    					FileExceptions: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArray{
    						&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs{
    							PartialHash: pulumi.String("12345abcdef"),
    							Filename:    pulumi.String("virus.exe"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.SecurityProfile("default", new()
        {
            Name = "my-security-profile",
            Parent = "projects/my-project-name",
            Description = "my description",
            Type = "WILDFIRE_ANALYSIS",
            WildfireAnalysisProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileArgs
            {
                WildfireRealtimeLookup = true,
                WildfireSubmissionRules = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs
                    {
                        Direction = "BOTH",
                        FileSelectionMode = "ALL_FILE_TYPES",
                    },
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs
                    {
                        Direction = "UPLOAD",
                        FileSelectionMode = "CUSTOM_FILE_TYPES",
                        CustomFileTypes = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs
                        {
                            FileTypes = new[]
                            {
                                "PDF",
                                "SCRIPT",
                            },
                        },
                    },
                },
                WildfireInlineCloudAnalysisRules = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs
                    {
                        Direction = "BOTH",
                        Action = "ALLOW",
                        FileSelectionMode = "ALL_FILE_TYPES",
                    },
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs
                    {
                        Direction = "DOWNLOAD",
                        Action = "DENY",
                        FileSelectionMode = "CUSTOM_FILE_TYPES",
                        CustomFileTypes = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs
                        {
                            FileTypes = new[]
                            {
                                "PE",
                            },
                        },
                    },
                },
                WildfireOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs
                    {
                        Protocol = "WILDFIRE_HTTP",
                        Action = "WILDFIRE_DENY",
                    },
                },
                WildfireInlineMlOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs
                    {
                        Protocol = "WILDFIRE_FTP",
                        Action = "WILDFIRE_ALERT",
                    },
                },
                WildfireThreatOverrides = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs
                    {
                        ThreatId = "12345",
                        Action = "WILDFIRE_ALLOW",
                    },
                },
                WildfireInlineMlSetting = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs
                {
                    InlineMlConfigs = new[]
                    {
                        new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs
                        {
                            FileType = "WINDOWS_EXECUTABLE",
                            Action = "ENABLE",
                        },
                    },
                    FileExceptions = new[]
                    {
                        new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs
                        {
                            PartialHash = "12345abcdef",
                            Filename = "virus.exe",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs;
    import com.pulumi.gcp.networksecurity.inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var default_ = new SecurityProfile("default", SecurityProfileArgs.builder()
                .name("my-security-profile")
                .parent("projects/my-project-name")
                .description("my description")
                .type("WILDFIRE_ANALYSIS")
                .wildfireAnalysisProfile(SecurityProfileWildfireAnalysisProfileArgs.builder()
                    .wildfireRealtimeLookup(true)
                    .wildfireSubmissionRules(                
                        SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs.builder()
                            .direction("BOTH")
                            .fileSelectionMode("ALL_FILE_TYPES")
                            .build(),
                        SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs.builder()
                            .direction("UPLOAD")
                            .fileSelectionMode("CUSTOM_FILE_TYPES")
                            .customFileTypes(SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs.builder()
                                .fileTypes(                            
                                    "PDF",
                                    "SCRIPT")
                                .build())
                            .build())
                    .wildfireInlineCloudAnalysisRules(                
                        SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs.builder()
                            .direction("BOTH")
                            .action("ALLOW")
                            .fileSelectionMode("ALL_FILE_TYPES")
                            .build(),
                        SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs.builder()
                            .direction("DOWNLOAD")
                            .action("DENY")
                            .fileSelectionMode("CUSTOM_FILE_TYPES")
                            .customFileTypes(SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs.builder()
                                .fileTypes("PE")
                                .build())
                            .build())
                    .wildfireOverrides(SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs.builder()
                        .protocol("WILDFIRE_HTTP")
                        .action("WILDFIRE_DENY")
                        .build())
                    .wildfireInlineMlOverrides(SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs.builder()
                        .protocol("WILDFIRE_FTP")
                        .action("WILDFIRE_ALERT")
                        .build())
                    .wildfireThreatOverrides(SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs.builder()
                        .threatId("12345")
                        .action("WILDFIRE_ALLOW")
                        .build())
                    .wildfireInlineMlSetting(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs.builder()
                        .inlineMlConfigs(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs.builder()
                            .fileType("WINDOWS_EXECUTABLE")
                            .action("ENABLE")
                            .build())
                        .fileExceptions(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs.builder()
                            .partialHash("12345abcdef")
                            .filename("virus.exe")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:networksecurity:SecurityProfile
        properties:
          name: my-security-profile
          parent: projects/my-project-name
          description: my description
          type: WILDFIRE_ANALYSIS
          wildfireAnalysisProfile:
            wildfireRealtimeLookup: true
            wildfireSubmissionRules:
              - direction: BOTH
                fileSelectionMode: ALL_FILE_TYPES
              - direction: UPLOAD
                fileSelectionMode: CUSTOM_FILE_TYPES
                customFileTypes:
                  fileTypes:
                    - PDF
                    - SCRIPT
            wildfireInlineCloudAnalysisRules:
              - direction: BOTH
                action: ALLOW
                fileSelectionMode: ALL_FILE_TYPES
              - direction: DOWNLOAD
                action: DENY
                fileSelectionMode: CUSTOM_FILE_TYPES
                customFileTypes:
                  fileTypes:
                    - PE
            wildfireOverrides:
              - protocol: WILDFIRE_HTTP
                action: WILDFIRE_DENY
            wildfireInlineMlOverrides:
              - protocol: WILDFIRE_FTP
                action: WILDFIRE_ALERT
            wildfireThreatOverrides:
              - threatId: '12345'
                action: WILDFIRE_ALLOW
            wildfireInlineMlSetting:
              inlineMlConfigs:
                - fileType: WINDOWS_EXECUTABLE
                  action: ENABLE
              fileExceptions:
                - partialHash: 12345abcdef
                  filename: virus.exe
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_networksecurity_security_profile" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "my-security-profile"
      parent      = "projects/my-project-name"
      description = "my description"
      type        = "WILDFIRE_ANALYSIS"
      wildfire_analysis_profile = {
        wildfire_realtime_lookup = true
        wildfire_submission_rules = [{
          direction           = "BOTH"
          file_selection_mode = "ALL_FILE_TYPES"
          }, {
          direction           = "UPLOAD"
          file_selection_mode = "CUSTOM_FILE_TYPES"
          custom_file_types = {
            file_types = ["PDF", "SCRIPT"]
          }
        }]
        wildfire_inline_cloud_analysis_rules = [{
          direction           = "BOTH"
          action              = "ALLOW"
          file_selection_mode = "ALL_FILE_TYPES"
          }, {
          direction           = "DOWNLOAD"
          action              = "DENY"
          file_selection_mode = "CUSTOM_FILE_TYPES"
          custom_file_types = {
            file_types = ["PE"]
          }
        }]
        wildfire_overrides = [{
          protocol = "WILDFIRE_HTTP"
          action   = "WILDFIRE_DENY"
        }]
        wildfire_inline_ml_overrides = [{
          protocol = "WILDFIRE_FTP"
          action   = "WILDFIRE_ALERT"
        }]
        wildfire_threat_overrides = [{
          threat_id = "12345"
          action    = "WILDFIRE_ALLOW"
        }]
        wildfire_inline_ml_setting = {
          inline_ml_configs = [{
            file_type = "WINDOWS_EXECUTABLE"
            action    = "ENABLE"
          }]
          file_exceptions = [{
            partial_hash = "12345abcdef"
            filename     = "virus.exe"
          }]
        }
      }
    }
    

    Create SecurityProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurityProfile(name: string, args: SecurityProfileArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityProfile(resource_name: str,
                        args: SecurityProfileArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityProfile(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        type: Optional[str] = None,
                        custom_intercept_profile: Optional[SecurityProfileCustomInterceptProfileArgs] = None,
                        custom_mirroring_profile: Optional[SecurityProfileCustomMirroringProfileArgs] = None,
                        deletion_policy: Optional[str] = None,
                        description: Optional[str] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        parent: Optional[str] = None,
                        threat_prevention_profile: Optional[SecurityProfileThreatPreventionProfileArgs] = None,
                        url_filtering_profile: Optional[SecurityProfileUrlFilteringProfileArgs] = None,
                        wildfire_analysis_profile: Optional[SecurityProfileWildfireAnalysisProfileArgs] = None)
    func NewSecurityProfile(ctx *Context, name string, args SecurityProfileArgs, opts ...ResourceOption) (*SecurityProfile, error)
    public SecurityProfile(string name, SecurityProfileArgs args, CustomResourceOptions? opts = null)
    public SecurityProfile(String name, SecurityProfileArgs args)
    public SecurityProfile(String name, SecurityProfileArgs args, CustomResourceOptions options)
    
    type: gcp:networksecurity:SecurityProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_networksecurity_security_profile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SecurityProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecurityProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecurityProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var securityProfileResource = new Gcp.NetworkSecurity.SecurityProfile("securityProfileResource", new()
    {
        Type = "string",
        CustomInterceptProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileCustomInterceptProfileArgs
        {
            InterceptEndpointGroup = "string",
        },
        CustomMirroringProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileCustomMirroringProfileArgs
        {
            MirroringEndpointGroup = "string",
            MirroringDeploymentGroups = new[]
            {
                "string",
            },
            MirroringEndpointGroupType = "string",
        },
        DeletionPolicy = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Parent = "string",
        ThreatPreventionProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileArgs
        {
            AntivirusOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileAntivirusOverrideArgs
                {
                    Action = "string",
                    Protocol = "string",
                },
            },
            SeverityOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileSeverityOverrideArgs
                {
                    Action = "string",
                    Severity = "string",
                },
            },
            ThreatOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileThreatPreventionProfileThreatOverrideArgs
                {
                    Action = "string",
                    ThreatId = "string",
                    Type = "string",
                },
            },
        },
        UrlFilteringProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileUrlFilteringProfileArgs
        {
            UrlFilters = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileUrlFilteringProfileUrlFilterArgs
                {
                    FilteringAction = "string",
                    Priority = 0,
                    Urls = new[]
                    {
                        "string",
                    },
                },
            },
        },
        WildfireAnalysisProfile = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileArgs
        {
            WildfireInlineCloudAnalysisRules = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs
                {
                    Action = "string",
                    Direction = "string",
                    FileSelectionMode = "string",
                    CustomFileTypes = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs
                    {
                        FileTypes = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            WildfireInlineMlOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs
                {
                    Action = "string",
                    Protocol = "string",
                },
            },
            WildfireInlineMlSetting = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs
            {
                FileExceptions = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs
                    {
                        PartialHash = "string",
                        Filename = "string",
                    },
                },
                InlineMlConfigs = new[]
                {
                    new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs
                    {
                        Action = "string",
                        FileType = "string",
                    },
                },
            },
            WildfireOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs
                {
                    Action = "string",
                    Protocol = "string",
                },
            },
            WildfireRealtimeLookup = false,
            WildfireSubmissionRules = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs
                {
                    Direction = "string",
                    FileSelectionMode = "string",
                    CustomFileTypes = new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs
                    {
                        FileTypes = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            WildfireThreatOverrides = new[]
            {
                new Gcp.NetworkSecurity.Inputs.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs
                {
                    Action = "string",
                    ThreatId = "string",
                },
            },
        },
    });
    
    example, err := networksecurity.NewSecurityProfile(ctx, "securityProfileResource", &networksecurity.SecurityProfileArgs{
    	Type: pulumi.String("string"),
    	CustomInterceptProfile: &networksecurity.SecurityProfileCustomInterceptProfileArgs{
    		InterceptEndpointGroup: pulumi.String("string"),
    	},
    	CustomMirroringProfile: &networksecurity.SecurityProfileCustomMirroringProfileArgs{
    		MirroringEndpointGroup: pulumi.String("string"),
    		MirroringDeploymentGroups: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		MirroringEndpointGroupType: pulumi.String("string"),
    	},
    	DeletionPolicy: pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Parent:   pulumi.String("string"),
    	ThreatPreventionProfile: &networksecurity.SecurityProfileThreatPreventionProfileArgs{
    		AntivirusOverrides: networksecurity.SecurityProfileThreatPreventionProfileAntivirusOverrideArray{
    			&networksecurity.SecurityProfileThreatPreventionProfileAntivirusOverrideArgs{
    				Action:   pulumi.String("string"),
    				Protocol: pulumi.String("string"),
    			},
    		},
    		SeverityOverrides: networksecurity.SecurityProfileThreatPreventionProfileSeverityOverrideArray{
    			&networksecurity.SecurityProfileThreatPreventionProfileSeverityOverrideArgs{
    				Action:   pulumi.String("string"),
    				Severity: pulumi.String("string"),
    			},
    		},
    		ThreatOverrides: networksecurity.SecurityProfileThreatPreventionProfileThreatOverrideArray{
    			&networksecurity.SecurityProfileThreatPreventionProfileThreatOverrideArgs{
    				Action:   pulumi.String("string"),
    				ThreatId: pulumi.String("string"),
    				Type:     pulumi.String("string"),
    			},
    		},
    	},
    	UrlFilteringProfile: &networksecurity.SecurityProfileUrlFilteringProfileArgs{
    		UrlFilters: networksecurity.SecurityProfileUrlFilteringProfileUrlFilterArray{
    			&networksecurity.SecurityProfileUrlFilteringProfileUrlFilterArgs{
    				FilteringAction: pulumi.String("string"),
    				Priority:        pulumi.Int(0),
    				Urls: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	WildfireAnalysisProfile: &networksecurity.SecurityProfileWildfireAnalysisProfileArgs{
    		WildfireInlineCloudAnalysisRules: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArray{
    			&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs{
    				Action:            pulumi.String("string"),
    				Direction:         pulumi.String("string"),
    				FileSelectionMode: pulumi.String("string"),
    				CustomFileTypes: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs{
    					FileTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    		WildfireInlineMlOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArray{
    			&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs{
    				Action:   pulumi.String("string"),
    				Protocol: pulumi.String("string"),
    			},
    		},
    		WildfireInlineMlSetting: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs{
    			FileExceptions: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArray{
    				&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs{
    					PartialHash: pulumi.String("string"),
    					Filename:    pulumi.String("string"),
    				},
    			},
    			InlineMlConfigs: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArray{
    				&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs{
    					Action:   pulumi.String("string"),
    					FileType: pulumi.String("string"),
    				},
    			},
    		},
    		WildfireOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireOverrideArray{
    			&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs{
    				Action:   pulumi.String("string"),
    				Protocol: pulumi.String("string"),
    			},
    		},
    		WildfireRealtimeLookup: pulumi.Bool(false),
    		WildfireSubmissionRules: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArray{
    			&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs{
    				Direction:         pulumi.String("string"),
    				FileSelectionMode: pulumi.String("string"),
    				CustomFileTypes: &networksecurity.SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs{
    					FileTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    		WildfireThreatOverrides: networksecurity.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArray{
    			&networksecurity.SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs{
    				Action:   pulumi.String("string"),
    				ThreatId: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    resource "gcp_networksecurity_security_profile" "securityProfileResource" {
      lifecycle {
        create_before_destroy = true
      }
      type = "string"
      custom_intercept_profile = {
        intercept_endpoint_group = "string"
      }
      custom_mirroring_profile = {
        mirroring_endpoint_group      = "string"
        mirroring_deployment_groups   = ["string"]
        mirroring_endpoint_group_type = "string"
      }
      deletion_policy = "string"
      description     = "string"
      labels = {
        "string" = "string"
      }
      location = "string"
      name     = "string"
      parent   = "string"
      threat_prevention_profile = {
        antivirus_overrides = [{
          action   = "string"
          protocol = "string"
        }]
        severity_overrides = [{
          action   = "string"
          severity = "string"
        }]
        threat_overrides = [{
          action    = "string"
          threat_id = "string"
          type      = "string"
        }]
      }
      url_filtering_profile = {
        url_filters = [{
          filtering_action = "string"
          priority         = 0
          urls             = ["string"]
        }]
      }
      wildfire_analysis_profile = {
        wildfire_inline_cloud_analysis_rules = [{
          action              = "string"
          direction           = "string"
          file_selection_mode = "string"
          custom_file_types = {
            file_types = ["string"]
          }
        }]
        wildfire_inline_ml_overrides = [{
          action   = "string"
          protocol = "string"
        }]
        wildfire_inline_ml_setting = {
          file_exceptions = [{
            partial_hash = "string"
            filename     = "string"
          }]
          inline_ml_configs = [{
            action    = "string"
            file_type = "string"
          }]
        }
        wildfire_overrides = [{
          action   = "string"
          protocol = "string"
        }]
        wildfire_realtime_lookup = false
        wildfire_submission_rules = [{
          direction           = "string"
          file_selection_mode = "string"
          custom_file_types = {
            file_types = ["string"]
          }
        }]
        wildfire_threat_overrides = [{
          action    = "string"
          threat_id = "string"
        }]
      }
    }
    
    var securityProfileResource = new SecurityProfile("securityProfileResource", SecurityProfileArgs.builder()
        .type("string")
        .customInterceptProfile(SecurityProfileCustomInterceptProfileArgs.builder()
            .interceptEndpointGroup("string")
            .build())
        .customMirroringProfile(SecurityProfileCustomMirroringProfileArgs.builder()
            .mirroringEndpointGroup("string")
            .mirroringDeploymentGroups("string")
            .mirroringEndpointGroupType("string")
            .build())
        .deletionPolicy("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .parent("string")
        .threatPreventionProfile(SecurityProfileThreatPreventionProfileArgs.builder()
            .antivirusOverrides(SecurityProfileThreatPreventionProfileAntivirusOverrideArgs.builder()
                .action("string")
                .protocol("string")
                .build())
            .severityOverrides(SecurityProfileThreatPreventionProfileSeverityOverrideArgs.builder()
                .action("string")
                .severity("string")
                .build())
            .threatOverrides(SecurityProfileThreatPreventionProfileThreatOverrideArgs.builder()
                .action("string")
                .threatId("string")
                .type("string")
                .build())
            .build())
        .urlFilteringProfile(SecurityProfileUrlFilteringProfileArgs.builder()
            .urlFilters(SecurityProfileUrlFilteringProfileUrlFilterArgs.builder()
                .filteringAction("string")
                .priority(0)
                .urls("string")
                .build())
            .build())
        .wildfireAnalysisProfile(SecurityProfileWildfireAnalysisProfileArgs.builder()
            .wildfireInlineCloudAnalysisRules(SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs.builder()
                .action("string")
                .direction("string")
                .fileSelectionMode("string")
                .customFileTypes(SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs.builder()
                    .fileTypes("string")
                    .build())
                .build())
            .wildfireInlineMlOverrides(SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs.builder()
                .action("string")
                .protocol("string")
                .build())
            .wildfireInlineMlSetting(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs.builder()
                .fileExceptions(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs.builder()
                    .partialHash("string")
                    .filename("string")
                    .build())
                .inlineMlConfigs(SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs.builder()
                    .action("string")
                    .fileType("string")
                    .build())
                .build())
            .wildfireOverrides(SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs.builder()
                .action("string")
                .protocol("string")
                .build())
            .wildfireRealtimeLookup(false)
            .wildfireSubmissionRules(SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs.builder()
                .direction("string")
                .fileSelectionMode("string")
                .customFileTypes(SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs.builder()
                    .fileTypes("string")
                    .build())
                .build())
            .wildfireThreatOverrides(SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs.builder()
                .action("string")
                .threatId("string")
                .build())
            .build())
        .build());
    
    security_profile_resource = gcp.networksecurity.SecurityProfile("securityProfileResource",
        type="string",
        custom_intercept_profile={
            "intercept_endpoint_group": "string",
        },
        custom_mirroring_profile={
            "mirroring_endpoint_group": "string",
            "mirroring_deployment_groups": ["string"],
            "mirroring_endpoint_group_type": "string",
        },
        deletion_policy="string",
        description="string",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        parent="string",
        threat_prevention_profile={
            "antivirus_overrides": [{
                "action": "string",
                "protocol": "string",
            }],
            "severity_overrides": [{
                "action": "string",
                "severity": "string",
            }],
            "threat_overrides": [{
                "action": "string",
                "threat_id": "string",
                "type": "string",
            }],
        },
        url_filtering_profile={
            "url_filters": [{
                "filtering_action": "string",
                "priority": 0,
                "urls": ["string"],
            }],
        },
        wildfire_analysis_profile={
            "wildfire_inline_cloud_analysis_rules": [{
                "action": "string",
                "direction": "string",
                "file_selection_mode": "string",
                "custom_file_types": {
                    "file_types": ["string"],
                },
            }],
            "wildfire_inline_ml_overrides": [{
                "action": "string",
                "protocol": "string",
            }],
            "wildfire_inline_ml_setting": {
                "file_exceptions": [{
                    "partial_hash": "string",
                    "filename": "string",
                }],
                "inline_ml_configs": [{
                    "action": "string",
                    "file_type": "string",
                }],
            },
            "wildfire_overrides": [{
                "action": "string",
                "protocol": "string",
            }],
            "wildfire_realtime_lookup": False,
            "wildfire_submission_rules": [{
                "direction": "string",
                "file_selection_mode": "string",
                "custom_file_types": {
                    "file_types": ["string"],
                },
            }],
            "wildfire_threat_overrides": [{
                "action": "string",
                "threat_id": "string",
            }],
        })
    
    const securityProfileResource = new gcp.networksecurity.SecurityProfile("securityProfileResource", {
        type: "string",
        customInterceptProfile: {
            interceptEndpointGroup: "string",
        },
        customMirroringProfile: {
            mirroringEndpointGroup: "string",
            mirroringDeploymentGroups: ["string"],
            mirroringEndpointGroupType: "string",
        },
        deletionPolicy: "string",
        description: "string",
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        parent: "string",
        threatPreventionProfile: {
            antivirusOverrides: [{
                action: "string",
                protocol: "string",
            }],
            severityOverrides: [{
                action: "string",
                severity: "string",
            }],
            threatOverrides: [{
                action: "string",
                threatId: "string",
                type: "string",
            }],
        },
        urlFilteringProfile: {
            urlFilters: [{
                filteringAction: "string",
                priority: 0,
                urls: ["string"],
            }],
        },
        wildfireAnalysisProfile: {
            wildfireInlineCloudAnalysisRules: [{
                action: "string",
                direction: "string",
                fileSelectionMode: "string",
                customFileTypes: {
                    fileTypes: ["string"],
                },
            }],
            wildfireInlineMlOverrides: [{
                action: "string",
                protocol: "string",
            }],
            wildfireInlineMlSetting: {
                fileExceptions: [{
                    partialHash: "string",
                    filename: "string",
                }],
                inlineMlConfigs: [{
                    action: "string",
                    fileType: "string",
                }],
            },
            wildfireOverrides: [{
                action: "string",
                protocol: "string",
            }],
            wildfireRealtimeLookup: false,
            wildfireSubmissionRules: [{
                direction: "string",
                fileSelectionMode: "string",
                customFileTypes: {
                    fileTypes: ["string"],
                },
            }],
            wildfireThreatOverrides: [{
                action: "string",
                threatId: "string",
            }],
        },
    });
    
    type: gcp:networksecurity:SecurityProfile
    properties:
        customInterceptProfile:
            interceptEndpointGroup: string
        customMirroringProfile:
            mirroringDeploymentGroups:
                - string
            mirroringEndpointGroup: string
            mirroringEndpointGroupType: string
        deletionPolicy: string
        description: string
        labels:
            string: string
        location: string
        name: string
        parent: string
        threatPreventionProfile:
            antivirusOverrides:
                - action: string
                  protocol: string
            severityOverrides:
                - action: string
                  severity: string
            threatOverrides:
                - action: string
                  threatId: string
                  type: string
        type: string
        urlFilteringProfile:
            urlFilters:
                - filteringAction: string
                  priority: 0
                  urls:
                    - string
        wildfireAnalysisProfile:
            wildfireInlineCloudAnalysisRules:
                - action: string
                  customFileTypes:
                    fileTypes:
                        - string
                  direction: string
                  fileSelectionMode: string
            wildfireInlineMlOverrides:
                - action: string
                  protocol: string
            wildfireInlineMlSetting:
                fileExceptions:
                    - filename: string
                      partialHash: string
                inlineMlConfigs:
                    - action: string
                      fileType: string
            wildfireOverrides:
                - action: string
                  protocol: string
            wildfireRealtimeLookup: false
            wildfireSubmissionRules:
                - customFileTypes:
                    fileTypes:
                        - string
                  direction: string
                  fileSelectionMode: string
            wildfireThreatOverrides:
                - action: string
                  threatId: string
    

    SecurityProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SecurityProfile resource accepts the following input properties:

    Type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    CustomInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    CustomMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    An optional description of the security profile. The Max length is 512 characters.
    Labels Dictionary<string, string>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Location string
    The location of the security profile. The default value is global.
    Name string
    The name of the security profile resource.
    Parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    ThreatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    UrlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    WildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    Type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    CustomInterceptProfile SecurityProfileCustomInterceptProfileArgs
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    CustomMirroringProfile SecurityProfileCustomMirroringProfileArgs
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    An optional description of the security profile. The Max length is 512 characters.
    Labels map[string]string

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Location string
    The location of the security profile. The default value is global.
    Name string
    The name of the security profile resource.
    Parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    ThreatPreventionProfile SecurityProfileThreatPreventionProfileArgs
    The threat prevention configuration for the security profile. Structure is documented below.
    UrlFilteringProfile SecurityProfileUrlFilteringProfileArgs
    The url filtering configuration for the security profile. Structure is documented below.
    WildfireAnalysisProfile SecurityProfileWildfireAnalysisProfileArgs
    The wildfire analysis configuration for the security profile. Structure is documented below.
    type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    custom_intercept_profile object
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    custom_mirroring_profile object
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    An optional description of the security profile. The Max length is 512 characters.
    labels map(string)

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location string
    The location of the security profile. The default value is global.
    name string
    The name of the security profile resource.
    parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    threat_prevention_profile object
    The threat prevention configuration for the security profile. Structure is documented below.
    url_filtering_profile object
    The url filtering configuration for the security profile. Structure is documented below.
    wildfire_analysis_profile object
    The wildfire analysis configuration for the security profile. Structure is documented below.
    type String
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    customInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    An optional description of the security profile. The Max length is 512 characters.
    labels Map<String,String>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location String
    The location of the security profile. The default value is global.
    name String
    The name of the security profile resource.
    parent String
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    threatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    urlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    customInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    An optional description of the security profile. The Max length is 512 characters.
    labels {[key: string]: string}

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location string
    The location of the security profile. The default value is global.
    name string
    The name of the security profile resource.
    parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    threatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    urlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    type str
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    custom_intercept_profile SecurityProfileCustomInterceptProfileArgs
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    custom_mirroring_profile SecurityProfileCustomMirroringProfileArgs
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    An optional description of the security profile. The Max length is 512 characters.
    labels Mapping[str, str]

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location str
    The location of the security profile. The default value is global.
    name str
    The name of the security profile resource.
    parent str
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    threat_prevention_profile SecurityProfileThreatPreventionProfileArgs
    The threat prevention configuration for the security profile. Structure is documented below.
    url_filtering_profile SecurityProfileUrlFilteringProfileArgs
    The url filtering configuration for the security profile. Structure is documented below.
    wildfire_analysis_profile SecurityProfileWildfireAnalysisProfileArgs
    The wildfire analysis configuration for the security profile. Structure is documented below.
    type String
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    customInterceptProfile Property Map
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile Property Map
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    An optional description of the security profile. The Max length is 512 characters.
    labels Map<String>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location String
    The location of the security profile. The default value is global.
    name String
    The name of the security profile resource.
    parent String
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    threatPreventionProfile Property Map
    The threat prevention configuration for the security profile. Structure is documented below.
    urlFilteringProfile Property Map
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile Property Map
    The wildfire analysis configuration for the security profile. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityProfile resource produces the following output properties:

    CreateTime string
    Time the security profile was created in UTC.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    SelfLink string
    Server-defined URL of this resource.
    UpdateTime string
    Time the security profile was updated in UTC.
    CreateTime string
    Time the security profile was created in UTC.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    SelfLink string
    Server-defined URL of this resource.
    UpdateTime string
    Time the security profile was updated in UTC.
    create_time string
    Time the security profile was created in UTC.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    self_link string
    Server-defined URL of this resource.
    update_time string
    Time the security profile was updated in UTC.
    createTime String
    Time the security profile was created in UTC.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink String
    Server-defined URL of this resource.
    updateTime String
    Time the security profile was updated in UTC.
    createTime string
    Time the security profile was created in UTC.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink string
    Server-defined URL of this resource.
    updateTime string
    Time the security profile was updated in UTC.
    create_time str
    Time the security profile was created in UTC.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    id str
    The provider-assigned unique ID for this managed resource.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    self_link str
    Server-defined URL of this resource.
    update_time str
    Time the security profile was updated in UTC.
    createTime String
    Time the security profile was created in UTC.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink String
    Server-defined URL of this resource.
    updateTime String
    Time the security profile was updated in UTC.

    Look up Existing SecurityProfile Resource

    Get an existing SecurityProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecurityProfileState, opts?: CustomResourceOptions): SecurityProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            custom_intercept_profile: Optional[SecurityProfileCustomInterceptProfileArgs] = None,
            custom_mirroring_profile: Optional[SecurityProfileCustomMirroringProfileArgs] = None,
            deletion_policy: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            etag: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            parent: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            self_link: Optional[str] = None,
            threat_prevention_profile: Optional[SecurityProfileThreatPreventionProfileArgs] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None,
            url_filtering_profile: Optional[SecurityProfileUrlFilteringProfileArgs] = None,
            wildfire_analysis_profile: Optional[SecurityProfileWildfireAnalysisProfileArgs] = None) -> SecurityProfile
    func GetSecurityProfile(ctx *Context, name string, id IDInput, state *SecurityProfileState, opts ...ResourceOption) (*SecurityProfile, error)
    public static SecurityProfile Get(string name, Input<string> id, SecurityProfileState? state, CustomResourceOptions? opts = null)
    public static SecurityProfile get(String name, Output<String> id, SecurityProfileState state, CustomResourceOptions options)
    resources:  existingSecurityProfile:    type: gcp:networksecurity:SecurityProfile    get:      id: ${id}
    import {
      to = gcp_networksecurity_security_profile.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state SecurityProfileState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state SecurityProfileState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state SecurityProfileState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state SecurityProfileState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    CreateTime string
    Time the security profile was created in UTC.
    CustomInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    CustomMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    An optional description of the security profile. The Max length is 512 characters.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels Dictionary<string, string>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Location string
    The location of the security profile. The default value is global.
    Name string
    The name of the security profile resource.
    Parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    SelfLink string
    Server-defined URL of this resource.
    ThreatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    Type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    UpdateTime string
    Time the security profile was updated in UTC.
    UrlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    WildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    CreateTime string
    Time the security profile was created in UTC.
    CustomInterceptProfile SecurityProfileCustomInterceptProfileArgs
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    CustomMirroringProfile SecurityProfileCustomMirroringProfileArgs
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    An optional description of the security profile. The Max length is 512 characters.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels map[string]string

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Location string
    The location of the security profile. The default value is global.
    Name string
    The name of the security profile resource.
    Parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    SelfLink string
    Server-defined URL of this resource.
    ThreatPreventionProfile SecurityProfileThreatPreventionProfileArgs
    The threat prevention configuration for the security profile. Structure is documented below.
    Type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    UpdateTime string
    Time the security profile was updated in UTC.
    UrlFilteringProfile SecurityProfileUrlFilteringProfileArgs
    The url filtering configuration for the security profile. Structure is documented below.
    WildfireAnalysisProfile SecurityProfileWildfireAnalysisProfileArgs
    The wildfire analysis configuration for the security profile. Structure is documented below.
    create_time string
    Time the security profile was created in UTC.
    custom_intercept_profile object
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    custom_mirroring_profile object
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    An optional description of the security profile. The Max length is 512 characters.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels map(string)

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location string
    The location of the security profile. The default value is global.
    name string
    The name of the security profile resource.
    parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    self_link string
    Server-defined URL of this resource.
    threat_prevention_profile object
    The threat prevention configuration for the security profile. Structure is documented below.
    type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    update_time string
    Time the security profile was updated in UTC.
    url_filtering_profile object
    The url filtering configuration for the security profile. Structure is documented below.
    wildfire_analysis_profile object
    The wildfire analysis configuration for the security profile. Structure is documented below.
    createTime String
    Time the security profile was created in UTC.
    customInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    An optional description of the security profile. The Max length is 512 characters.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String,String>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location String
    The location of the security profile. The default value is global.
    name String
    The name of the security profile resource.
    parent String
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink String
    Server-defined URL of this resource.
    threatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    type String
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    updateTime String
    Time the security profile was updated in UTC.
    urlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    createTime string
    Time the security profile was created in UTC.
    customInterceptProfile SecurityProfileCustomInterceptProfile
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile SecurityProfileCustomMirroringProfile
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    An optional description of the security profile. The Max length is 512 characters.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels {[key: string]: string}

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location string
    The location of the security profile. The default value is global.
    name string
    The name of the security profile resource.
    parent string
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink string
    Server-defined URL of this resource.
    threatPreventionProfile SecurityProfileThreatPreventionProfile
    The threat prevention configuration for the security profile. Structure is documented below.
    type string
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    updateTime string
    Time the security profile was updated in UTC.
    urlFilteringProfile SecurityProfileUrlFilteringProfile
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile SecurityProfileWildfireAnalysisProfile
    The wildfire analysis configuration for the security profile. Structure is documented below.
    create_time str
    Time the security profile was created in UTC.
    custom_intercept_profile SecurityProfileCustomInterceptProfileArgs
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    custom_mirroring_profile SecurityProfileCustomMirroringProfileArgs
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    An optional description of the security profile. The Max length is 512 characters.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Mapping[str, str]

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location str
    The location of the security profile. The default value is global.
    name str
    The name of the security profile resource.
    parent str
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    self_link str
    Server-defined URL of this resource.
    threat_prevention_profile SecurityProfileThreatPreventionProfileArgs
    The threat prevention configuration for the security profile. Structure is documented below.
    type str
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    update_time str
    Time the security profile was updated in UTC.
    url_filtering_profile SecurityProfileUrlFilteringProfileArgs
    The url filtering configuration for the security profile. Structure is documented below.
    wildfire_analysis_profile SecurityProfileWildfireAnalysisProfileArgs
    The wildfire analysis configuration for the security profile. Structure is documented below.
    createTime String
    Time the security profile was created in UTC.
    customInterceptProfile Property Map
    The configuration for defining the Intercept Endpoint Group used to intercept traffic to third-party firewall appliances. Structure is documented below.
    customMirroringProfile Property Map
    The configuration for defining the Mirroring Endpoint Group used to mirror traffic to third-party collectors. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    An optional description of the security profile. The Max length is 512 characters.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String>

    A map of key/value label pairs to assign to the resource.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    location String
    The location of the security profile. The default value is global.
    name String
    The name of the security profile resource.
    parent String
    The name of the parent this security profile belongs to. Format: organizations/{organization_id} or projects/{project_id}.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    selfLink String
    Server-defined URL of this resource.
    threatPreventionProfile Property Map
    The threat prevention configuration for the security profile. Structure is documented below.
    type String
    The type of security profile. Possible values are: THREAT_PREVENTION, URL_FILTERING, CUSTOM_MIRRORING, CUSTOM_INTERCEPT, WILDFIRE_ANALYSIS.
    updateTime String
    Time the security profile was updated in UTC.
    urlFilteringProfile Property Map
    The url filtering configuration for the security profile. Structure is documented below.
    wildfireAnalysisProfile Property Map
    The wildfire analysis configuration for the security profile. Structure is documented below.

    Supporting Types

    SecurityProfileCustomInterceptProfile, SecurityProfileCustomInterceptProfileArgs

    InterceptEndpointGroup string
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    InterceptEndpointGroup string
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    intercept_endpoint_group string
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    interceptEndpointGroup String
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    interceptEndpointGroup string
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    intercept_endpoint_group str
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}
    interceptEndpointGroup String
    The Intercept Endpoint Group to which matching traffic should be intercepted. Format: projects/{project_id}/locations/global/interceptEndpointGroups/{endpoint_group_id}

    SecurityProfileCustomMirroringProfile, SecurityProfileCustomMirroringProfileArgs

    MirroringEndpointGroup string
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    MirroringDeploymentGroups List<string>
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    MirroringEndpointGroupType string
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    MirroringEndpointGroup string
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    MirroringDeploymentGroups []string
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    MirroringEndpointGroupType string
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    mirroring_endpoint_group string
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    mirroring_deployment_groups list(string)
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    mirroring_endpoint_group_type string
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    mirroringEndpointGroup String
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    mirroringDeploymentGroups List<String>
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    mirroringEndpointGroupType String
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    mirroringEndpointGroup string
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    mirroringDeploymentGroups string[]
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    mirroringEndpointGroupType string
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    mirroring_endpoint_group str
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    mirroring_deployment_groups Sequence[str]
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    mirroring_endpoint_group_type str
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER
    mirroringEndpointGroup String
    The target Mirroring Endpoint Group. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. Format: projects/{project_id}/locations/global/mirroringEndpointGroups/{endpoint_group_id}
    mirroringDeploymentGroups List<String>
    The target downstream Mirroring Deployment Groups. This field is used for Packet Broker mirroring endpoint groups to specify the deployment groups that the packet should be mirrored to by the broker. Format: projects/{project_id}/locations/global/mirroringDeploymentGroups/{deployment_group_id}
    mirroringEndpointGroupType String
    (Output) The type of the mirroring endpoint group this profile is attached to. Possible values: DIRECT BROKER

    SecurityProfileThreatPreventionProfile, SecurityProfileThreatPreventionProfileArgs

    AntivirusOverrides List<SecurityProfileThreatPreventionProfileAntivirusOverride>
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    SeverityOverrides List<SecurityProfileThreatPreventionProfileSeverityOverride>
    The configuration for overriding threats actions by severity match. Structure is documented below.
    ThreatOverrides List<SecurityProfileThreatPreventionProfileThreatOverride>
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    AntivirusOverrides []SecurityProfileThreatPreventionProfileAntivirusOverride
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    SeverityOverrides []SecurityProfileThreatPreventionProfileSeverityOverride
    The configuration for overriding threats actions by severity match. Structure is documented below.
    ThreatOverrides []SecurityProfileThreatPreventionProfileThreatOverride
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    antivirus_overrides list(object)
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    severity_overrides list(object)
    The configuration for overriding threats actions by severity match. Structure is documented below.
    threat_overrides list(object)
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    antivirusOverrides List<SecurityProfileThreatPreventionProfileAntivirusOverride>
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    severityOverrides List<SecurityProfileThreatPreventionProfileSeverityOverride>
    The configuration for overriding threats actions by severity match. Structure is documented below.
    threatOverrides List<SecurityProfileThreatPreventionProfileThreatOverride>
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    antivirusOverrides SecurityProfileThreatPreventionProfileAntivirusOverride[]
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    severityOverrides SecurityProfileThreatPreventionProfileSeverityOverride[]
    The configuration for overriding threats actions by severity match. Structure is documented below.
    threatOverrides SecurityProfileThreatPreventionProfileThreatOverride[]
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    antivirus_overrides Sequence[SecurityProfileThreatPreventionProfileAntivirusOverride]
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    severity_overrides Sequence[SecurityProfileThreatPreventionProfileSeverityOverride]
    The configuration for overriding threats actions by severity match. Structure is documented below.
    threat_overrides Sequence[SecurityProfileThreatPreventionProfileThreatOverride]
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.
    antivirusOverrides List<Property Map>
    Defines what action to take for antivirus threats per protocol. Structure is documented below.
    severityOverrides List<Property Map>
    The configuration for overriding threats actions by severity match. Structure is documented below.
    threatOverrides List<Property Map>
    The configuration for overriding threats actions by threat id match. If a threat is matched both by configuration provided in severity overrides and threat overrides, the threat overrides action is applied. Structure is documented below.

    SecurityProfileThreatPreventionProfileAntivirusOverride, SecurityProfileThreatPreventionProfileAntivirusOverrideArgs

    Action string
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    Protocol string
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    Action string
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    Protocol string
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    action string
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    protocol string
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    action String
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    protocol String
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    action string
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    protocol string
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    action str
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    protocol str
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.
    action String
    Threat action override. For some threat types, only a subset of actions applies. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    protocol String
    Required protocol to match. Possible values are: SMTP, SMB, POP3, IMAP, HTTP2, HTTP, FTP.

    SecurityProfileThreatPreventionProfileSeverityOverride, SecurityProfileThreatPreventionProfileSeverityOverrideArgs

    Action string
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    Severity string
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    Action string
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    Severity string
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    action string
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    severity string
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    action String
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    severity String
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    action string
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    severity string
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    action str
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    severity str
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.
    action String
    Threat action override. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    severity String
    Severity level to match. Possible values are: CRITICAL, HIGH, INFORMATIONAL, LOW, MEDIUM.

    SecurityProfileThreatPreventionProfileThreatOverride, SecurityProfileThreatPreventionProfileThreatOverrideArgs

    Action string
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    ThreatId string
    Vendor-specific ID of a threat to override.
    Type string
    (Output) Type of threat.
    Action string
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    ThreatId string
    Vendor-specific ID of a threat to override.
    Type string
    (Output) Type of threat.
    action string
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    threat_id string
    Vendor-specific ID of a threat to override.
    type string
    (Output) Type of threat.
    action String
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    threatId String
    Vendor-specific ID of a threat to override.
    type String
    (Output) Type of threat.
    action string
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    threatId string
    Vendor-specific ID of a threat to override.
    type string
    (Output) Type of threat.
    action str
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    threat_id str
    Vendor-specific ID of a threat to override.
    type str
    (Output) Type of threat.
    action String
    Threat action. Possible values are: ALERT, ALLOW, DEFAULT_ACTION, DENY.
    threatId String
    Vendor-specific ID of a threat to override.
    type String
    (Output) Type of threat.

    SecurityProfileUrlFilteringProfile, SecurityProfileUrlFilteringProfileArgs

    UrlFilters List<SecurityProfileUrlFilteringProfileUrlFilter>
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    UrlFilters []SecurityProfileUrlFilteringProfileUrlFilter
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    url_filters list(object)
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    urlFilters List<SecurityProfileUrlFilteringProfileUrlFilter>
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    urlFilters SecurityProfileUrlFilteringProfileUrlFilter[]
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    url_filters Sequence[SecurityProfileUrlFilteringProfileUrlFilter]
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.
    urlFilters List<Property Map>
    The configuration for action to take based on domain name match. A domain name would be checked for matching filters through the list in order of highest to lowest priority, and the first filter that a domain name matches with is the one whose actions gets applied. Structure is documented below.

    SecurityProfileUrlFilteringProfileUrlFilter, SecurityProfileUrlFilteringProfileUrlFilterArgs

    FilteringAction string
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    Priority int
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    Urls List<string>
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    FilteringAction string
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    Priority int
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    Urls []string
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    filtering_action string
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    priority number
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    urls list(string)
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    filteringAction String
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    priority Integer
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    urls List<String>
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    filteringAction string
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    priority number
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    urls string[]
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    filtering_action str
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    priority int
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    urls Sequence[str]
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.
    filteringAction String
    The action to take when the filter is applied. Possible values are: ALLOW, DENY.
    priority Number
    The priority of the filter within the URL filtering profile. Must be an integer from 0 and 2147483647, inclusive. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL filtering profile.
    urls List<String>
    A list of domain matcher strings that a domain name gets compared with to determine if the filter is applicable. A domain name must match with at least one of the strings in the list for a filter to be applicable.

    SecurityProfileWildfireAnalysisProfile, SecurityProfileWildfireAnalysisProfileArgs

    WildfireInlineCloudAnalysisRules List<SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule>
    The configuration for inline cloud analysis of files. Structure is documented below.
    WildfireInlineMlOverrides List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride>
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    WildfireInlineMlSetting SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    WildfireOverrides List<SecurityProfileWildfireAnalysisProfileWildfireOverride>
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    WildfireRealtimeLookup bool
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    WildfireSubmissionRules List<SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule>
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    WildfireThreatOverrides List<SecurityProfileWildfireAnalysisProfileWildfireThreatOverride>
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    WildfireInlineCloudAnalysisRules []SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule
    The configuration for inline cloud analysis of files. Structure is documented below.
    WildfireInlineMlOverrides []SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    WildfireInlineMlSetting SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    WildfireOverrides []SecurityProfileWildfireAnalysisProfileWildfireOverride
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    WildfireRealtimeLookup bool
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    WildfireSubmissionRules []SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    WildfireThreatOverrides []SecurityProfileWildfireAnalysisProfileWildfireThreatOverride
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    wildfire_inline_cloud_analysis_rules list(object)
    The configuration for inline cloud analysis of files. Structure is documented below.
    wildfire_inline_ml_overrides list(object)
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    wildfire_inline_ml_setting object
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    wildfire_overrides list(object)
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    wildfire_realtime_lookup bool
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    wildfire_submission_rules list(object)
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    wildfire_threat_overrides list(object)
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    wildfireInlineCloudAnalysisRules List<SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule>
    The configuration for inline cloud analysis of files. Structure is documented below.
    wildfireInlineMlOverrides List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride>
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    wildfireInlineMlSetting SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    wildfireOverrides List<SecurityProfileWildfireAnalysisProfileWildfireOverride>
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    wildfireRealtimeLookup Boolean
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    wildfireSubmissionRules List<SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule>
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    wildfireThreatOverrides List<SecurityProfileWildfireAnalysisProfileWildfireThreatOverride>
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    wildfireInlineCloudAnalysisRules SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule[]
    The configuration for inline cloud analysis of files. Structure is documented below.
    wildfireInlineMlOverrides SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride[]
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    wildfireInlineMlSetting SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    wildfireOverrides SecurityProfileWildfireAnalysisProfileWildfireOverride[]
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    wildfireRealtimeLookup boolean
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    wildfireSubmissionRules SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule[]
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    wildfireThreatOverrides SecurityProfileWildfireAnalysisProfileWildfireThreatOverride[]
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    wildfire_inline_cloud_analysis_rules Sequence[SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule]
    The configuration for inline cloud analysis of files. Structure is documented below.
    wildfire_inline_ml_overrides Sequence[SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride]
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    wildfire_inline_ml_setting SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    wildfire_overrides Sequence[SecurityProfileWildfireAnalysisProfileWildfireOverride]
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    wildfire_realtime_lookup bool
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    wildfire_submission_rules Sequence[SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule]
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    wildfire_threat_overrides Sequence[SecurityProfileWildfireAnalysisProfileWildfireThreatOverride]
    The configuration for overriding threats actions by threat id match. Structure is documented below.
    wildfireInlineCloudAnalysisRules List<Property Map>
    The configuration for inline cloud analysis of files. Structure is documented below.
    wildfireInlineMlOverrides List<Property Map>
    Defines what action to take for WildFire inline ML threats per protocol. Structure is documented below.
    wildfireInlineMlSetting Property Map
    WildFire inline Machine Learning setting for the Security Profile. Structure is documented below.
    wildfireOverrides List<Property Map>
    Defines what action to take for WildFire threats per protocol. Structure is documented below.
    wildfireRealtimeLookup Boolean
    Whether to hold the transfer of a file while the WildFire real-time signature cloud performs a signature lookup. Default value is false.
    wildfireSubmissionRules List<Property Map>
    The configuration for file submission to WildFire in cloud. Structure is documented below.
    wildfireThreatOverrides List<Property Map>
    The configuration for overriding threats actions by threat id match. Structure is documented below.

    SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRule, SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleArgs

    Action string
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    Direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    FileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    CustomFileTypes SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    Action string
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    Direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    FileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    CustomFileTypes SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    action string
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    file_selection_mode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    custom_file_types object
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    action String
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    direction String
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode String
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    action string
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    action str
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    direction str
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    file_selection_mode str
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    custom_file_types SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    action String
    The action to take when a rule is matched. Possible values are: ALLOW, DENY, ALERT.
    direction String
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode String
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes Property Map
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.

    SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypes, SecurityProfileWildfireAnalysisProfileWildfireInlineCloudAnalysisRuleCustomFileTypesArgs

    FileTypes List<string>
    The file types to match for a rule. For allowed values, see API docs.
    FileTypes []string
    The file types to match for a rule. For allowed values, see API docs.
    file_types list(string)
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes List<String>
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes string[]
    The file types to match for a rule. For allowed values, see API docs.
    file_types Sequence[str]
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes List<String>
    The file types to match for a rule. For allowed values, see API docs.

    SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverride, SecurityProfileWildfireAnalysisProfileWildfireInlineMlOverrideArgs

    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    Protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    Protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol String
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action str
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol str
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol String
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.

    SecurityProfileWildfireAnalysisProfileWildfireInlineMlSetting, SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingArgs

    FileExceptions List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException>
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    InlineMlConfigs List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig>
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    FileExceptions []SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    InlineMlConfigs []SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    file_exceptions list(object)
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    inline_ml_configs list(object)
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    fileExceptions List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException>
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    inlineMlConfigs List<SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig>
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    fileExceptions SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException[]
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    inlineMlConfigs SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig[]
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    file_exceptions Sequence[SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException]
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    inline_ml_configs Sequence[SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig]
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.
    fileExceptions List<Property Map>
    File exceptions to exclude from WildFire inline ML. Structure is documented below.
    inlineMlConfigs List<Property Map>
    Defines what action to take for a specific file type in WildFire inline ML. Structure is documented below.

    SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileException, SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingFileExceptionArgs

    PartialHash string
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    Filename string
    The file name associated with the partial hash.
    PartialHash string
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    Filename string
    The file name associated with the partial hash.
    partial_hash string
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    filename string
    The file name associated with the partial hash.
    partialHash String
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    filename String
    The file name associated with the partial hash.
    partialHash string
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    filename string
    The file name associated with the partial hash.
    partial_hash str
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    filename str
    The file name associated with the partial hash.
    partialHash String
    Machine learning partial hash of the file to exclude from WildFire Inline ML analysis.
    filename String
    The file name associated with the partial hash.

    SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfig, SecurityProfileWildfireAnalysisProfileWildfireInlineMlSettingInlineMlConfigArgs

    Action string
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    FileType string
    The file type to match. For allowed values, see API docs
    Action string
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    FileType string
    The file type to match. For allowed values, see API docs
    action string
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    file_type string
    The file type to match. For allowed values, see API docs
    action String
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    fileType String
    The file type to match. For allowed values, see API docs
    action string
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    fileType string
    The file type to match. For allowed values, see API docs
    action str
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    file_type str
    The file type to match. For allowed values, see API docs
    action String
    The action to take for a file type. Possible values are: DISABLE, ALERT, ENABLE.
    fileType String
    The file type to match. For allowed values, see API docs

    SecurityProfileWildfireAnalysisProfileWildfireOverride, SecurityProfileWildfireAnalysisProfileWildfireOverrideArgs

    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    Protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    Protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol String
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol string
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action str
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol str
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW, WILDFIRE_ALERT, WILDFIRE_DENY.
    protocol String
    Required protocol to match. Possible values are: WILDFIRE_SMTP, WILDFIRE_SMB, WILDFIRE_POP3, WILDFIRE_IMAP, WILDFIRE_HTTP2, WILDFIRE_HTTP, WILDFIRE_FTP.

    SecurityProfileWildfireAnalysisProfileWildfireSubmissionRule, SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleArgs

    Direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    FileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    CustomFileTypes SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    Direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    FileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    CustomFileTypes SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    file_selection_mode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    custom_file_types object
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    direction String
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode String
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    direction string
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode string
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    direction str
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    file_selection_mode str
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    custom_file_types SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.
    direction String
    Direction of traffic to match for a rule. Possible values are: UPLOAD, DOWNLOAD, BOTH.
    fileSelectionMode String
    Defines the file selection mode for a rule. Possible values are: ALL_FILE_TYPES, CUSTOM_FILE_TYPES.
    customFileTypes Property Map
    Defines the custom file types to match for a rule. The API will only accept this if fileSelectionMode is set to CUSTOM_FILE_TYPES Structure is documented below.

    SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypes, SecurityProfileWildfireAnalysisProfileWildfireSubmissionRuleCustomFileTypesArgs

    FileTypes List<string>
    The file types to match for a rule. For allowed values, see API docs.
    FileTypes []string
    The file types to match for a rule. For allowed values, see API docs.
    file_types list(string)
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes List<String>
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes string[]
    The file types to match for a rule. For allowed values, see API docs.
    file_types Sequence[str]
    The file types to match for a rule. For allowed values, see API docs.
    fileTypes List<String>
    The file types to match for a rule. For allowed values, see API docs.

    SecurityProfileWildfireAnalysisProfileWildfireThreatOverride, SecurityProfileWildfireAnalysisProfileWildfireThreatOverrideArgs

    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    ThreatId string
    Vendor-specific ID of a threat to override.
    Action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    ThreatId string
    Vendor-specific ID of a threat to override.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    threat_id string
    Vendor-specific ID of a threat to override.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    threatId String
    Vendor-specific ID of a threat to override.
    action string
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    threatId string
    Vendor-specific ID of a threat to override.
    action str
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    threat_id str
    Vendor-specific ID of a threat to override.
    action String
    Threat action override. Possible values are: WILDFIRE_DEFAULT_ACTION, WILDFIRE_ALLOW.
    threatId String
    Vendor-specific ID of a threat to override.

    Import

    SecurityProfile can be imported using any of these accepted formats:

    • {{parent}}/locations/{{location}}/securityProfiles/{{name}}

    When using the pulumi import command, SecurityProfile can be imported using one of the formats above. For example:

    $ pulumi import gcp:networksecurity/securityProfile:SecurityProfile default {{parent}}/locations/{{location}}/securityProfiles/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v10.5.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial