1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. ManagementExceptionGroup
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.ManagementExceptionGroup

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    This resource allows you to execute Check Point Exception Group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementExceptionGroup("example", {applyOn: "manually-select-threat-rules"});
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementExceptionGroup("example", apply_on="manually-select-threat-rules")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.NewManagementExceptionGroup(ctx, "example", &checkpoint.ManagementExceptionGroupArgs{
    			ApplyOn: pulumi.String("manually-select-threat-rules"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementExceptionGroup("example", new()
        {
            ApplyOn = "manually-select-threat-rules",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementExceptionGroup;
    import com.pulumi.checkpoint.ManagementExceptionGroupArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ManagementExceptionGroup("example", ManagementExceptionGroupArgs.builder()
                .applyOn("manually-select-threat-rules")
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementExceptionGroup
        properties:
          applyOn: manually-select-threat-rules
    

    Create ManagementExceptionGroup Resource

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

    Constructor syntax

    new ManagementExceptionGroup(name: string, args?: ManagementExceptionGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementExceptionGroup(resource_name: str,
                                 args: Optional[ManagementExceptionGroupArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementExceptionGroup(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 applied_profile: Optional[str] = None,
                                 applied_threat_rules: Optional[Sequence[ManagementExceptionGroupAppliedThreatRuleArgs]] = None,
                                 apply_on: Optional[str] = None,
                                 color: Optional[str] = None,
                                 comments: Optional[str] = None,
                                 ignore_errors: Optional[bool] = None,
                                 ignore_warnings: Optional[bool] = None,
                                 management_exception_group_id: Optional[str] = None,
                                 name: Optional[str] = None,
                                 tags: Optional[Sequence[str]] = None)
    func NewManagementExceptionGroup(ctx *Context, name string, args *ManagementExceptionGroupArgs, opts ...ResourceOption) (*ManagementExceptionGroup, error)
    public ManagementExceptionGroup(string name, ManagementExceptionGroupArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementExceptionGroup(String name, ManagementExceptionGroupArgs args)
    public ManagementExceptionGroup(String name, ManagementExceptionGroupArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementExceptionGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ManagementExceptionGroupArgs
    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 ManagementExceptionGroupArgs
    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 ManagementExceptionGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementExceptionGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementExceptionGroupArgs
    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 managementExceptionGroupResource = new Checkpoint.ManagementExceptionGroup("managementExceptionGroupResource", new()
    {
        AppliedProfile = "string",
        AppliedThreatRules = new[]
        {
            new Checkpoint.Inputs.ManagementExceptionGroupAppliedThreatRuleArgs
            {
                Position = 
                {
                    { "string", "string" },
                },
                Layer = "string",
                Name = "string",
            },
        },
        ApplyOn = "string",
        Color = "string",
        Comments = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementExceptionGroupId = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := checkpoint.NewManagementExceptionGroup(ctx, "managementExceptionGroupResource", &checkpoint.ManagementExceptionGroupArgs{
    	AppliedProfile: pulumi.String("string"),
    	AppliedThreatRules: checkpoint.ManagementExceptionGroupAppliedThreatRuleArray{
    		&checkpoint.ManagementExceptionGroupAppliedThreatRuleArgs{
    			Position: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Layer: pulumi.String("string"),
    			Name:  pulumi.String("string"),
    		},
    	},
    	ApplyOn:                    pulumi.String("string"),
    	Color:                      pulumi.String("string"),
    	Comments:                   pulumi.String("string"),
    	IgnoreErrors:               pulumi.Bool(false),
    	IgnoreWarnings:             pulumi.Bool(false),
    	ManagementExceptionGroupId: pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var managementExceptionGroupResource = new ManagementExceptionGroup("managementExceptionGroupResource", ManagementExceptionGroupArgs.builder()
        .appliedProfile("string")
        .appliedThreatRules(ManagementExceptionGroupAppliedThreatRuleArgs.builder()
            .position(Map.of("string", "string"))
            .layer("string")
            .name("string")
            .build())
        .applyOn("string")
        .color("string")
        .comments("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementExceptionGroupId("string")
        .name("string")
        .tags("string")
        .build());
    
    management_exception_group_resource = checkpoint.ManagementExceptionGroup("managementExceptionGroupResource",
        applied_profile="string",
        applied_threat_rules=[{
            "position": {
                "string": "string",
            },
            "layer": "string",
            "name": "string",
        }],
        apply_on="string",
        color="string",
        comments="string",
        ignore_errors=False,
        ignore_warnings=False,
        management_exception_group_id="string",
        name="string",
        tags=["string"])
    
    const managementExceptionGroupResource = new checkpoint.ManagementExceptionGroup("managementExceptionGroupResource", {
        appliedProfile: "string",
        appliedThreatRules: [{
            position: {
                string: "string",
            },
            layer: "string",
            name: "string",
        }],
        applyOn: "string",
        color: "string",
        comments: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        managementExceptionGroupId: "string",
        name: "string",
        tags: ["string"],
    });
    
    type: checkpoint:ManagementExceptionGroup
    properties:
        appliedProfile: string
        appliedThreatRules:
            - layer: string
              name: string
              position:
                string: string
        applyOn: string
        color: string
        comments: string
        ignoreErrors: false
        ignoreWarnings: false
        managementExceptionGroupId: string
        name: string
        tags:
            - string
    

    ManagementExceptionGroup 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 ManagementExceptionGroup resource accepts the following input properties:

    AppliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    AppliedThreatRules List<ManagementExceptionGroupAppliedThreatRule>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    ApplyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementExceptionGroupId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    AppliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    AppliedThreatRules []ManagementExceptionGroupAppliedThreatRuleArgs
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    ApplyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementExceptionGroupId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile String
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules List<ManagementExceptionGroupAppliedThreatRule>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn String
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules ManagementExceptionGroupAppliedThreatRule[]
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    applied_profile str
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    applied_threat_rules Sequence[ManagementExceptionGroupAppliedThreatRuleArgs]
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    apply_on str
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_exception_group_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile String
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules List<Property Map>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn String
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagementExceptionGroup Resource

    Get an existing ManagementExceptionGroup 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?: ManagementExceptionGroupState, opts?: CustomResourceOptions): ManagementExceptionGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            applied_profile: Optional[str] = None,
            applied_threat_rules: Optional[Sequence[ManagementExceptionGroupAppliedThreatRuleArgs]] = None,
            apply_on: Optional[str] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_exception_group_id: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> ManagementExceptionGroup
    func GetManagementExceptionGroup(ctx *Context, name string, id IDInput, state *ManagementExceptionGroupState, opts ...ResourceOption) (*ManagementExceptionGroup, error)
    public static ManagementExceptionGroup Get(string name, Input<string> id, ManagementExceptionGroupState? state, CustomResourceOptions? opts = null)
    public static ManagementExceptionGroup get(String name, Output<String> id, ManagementExceptionGroupState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementExceptionGroup    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    AppliedThreatRules List<ManagementExceptionGroupAppliedThreatRule>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    ApplyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementExceptionGroupId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    AppliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    AppliedThreatRules []ManagementExceptionGroupAppliedThreatRuleArgs
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    ApplyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementExceptionGroupId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile String
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules List<ManagementExceptionGroupAppliedThreatRule>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn String
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile string
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules ManagementExceptionGroupAppliedThreatRule[]
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn string
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    applied_profile str
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    applied_threat_rules Sequence[ManagementExceptionGroupAppliedThreatRuleArgs]
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    apply_on str
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_exception_group_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    appliedProfile String
    The threat profile to apply this group to in the case of apply-on threat-rules-with-specific-profile.
    appliedThreatRules List<Property Map>
    The threat rules to apply this group on in the case of apply-on manually-select-threat-rules.applied_threat_rules blocks are documented below.
    applyOn String
    An exception group can be set to apply on all threat rules, all threat rules which have a specific profile, or those rules manually chosen by the user.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementExceptionGroupId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.

    Supporting Types

    ManagementExceptionGroupAppliedThreatRule, ManagementExceptionGroupAppliedThreatRuleArgs

    Position Dictionary<string, string>
    Position in the rulebase.
    Layer string
    The layer of the threat rule to which the group is to be attached.
    Name string
    The name of the threat rule to which the group is to be attached.
    Position map[string]string
    Position in the rulebase.
    Layer string
    The layer of the threat rule to which the group is to be attached.
    Name string
    The name of the threat rule to which the group is to be attached.
    position Map<String,String>
    Position in the rulebase.
    layer String
    The layer of the threat rule to which the group is to be attached.
    name String
    The name of the threat rule to which the group is to be attached.
    position {[key: string]: string}
    Position in the rulebase.
    layer string
    The layer of the threat rule to which the group is to be attached.
    name string
    The name of the threat rule to which the group is to be attached.
    position Mapping[str, str]
    Position in the rulebase.
    layer str
    The layer of the threat rule to which the group is to be attached.
    name str
    The name of the threat rule to which the group is to be attached.
    position Map<String>
    Position in the rulebase.
    layer String
    The layer of the threat rule to which the group is to be attached.
    name String
    The name of the threat rule to which the group is to be attached.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw