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

checkpoint.ManagementOverrideCategorization

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 Override Categorization.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementOverrideCategorization("example", {
        newPrimaryCategory: "Botnets",
        risk: "low",
        url: "newOverride",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementOverrideCategorization("example",
        new_primary_category="Botnets",
        risk="low",
        url="newOverride")
    
    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.NewManagementOverrideCategorization(ctx, "example", &checkpoint.ManagementOverrideCategorizationArgs{
    			NewPrimaryCategory: pulumi.String("Botnets"),
    			Risk:               pulumi.String("low"),
    			Url:                pulumi.String("newOverride"),
    		})
    		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.ManagementOverrideCategorization("example", new()
        {
            NewPrimaryCategory = "Botnets",
            Risk = "low",
            Url = "newOverride",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementOverrideCategorization;
    import com.pulumi.checkpoint.ManagementOverrideCategorizationArgs;
    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 ManagementOverrideCategorization("example", ManagementOverrideCategorizationArgs.builder()
                .newPrimaryCategory("Botnets")
                .risk("low")
                .url("newOverride")
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementOverrideCategorization
        properties:
          newPrimaryCategory: Botnets
          risk: low
          url: newOverride
    

    Create ManagementOverrideCategorization Resource

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

    Constructor syntax

    new ManagementOverrideCategorization(name: string, args: ManagementOverrideCategorizationArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementOverrideCategorization(resource_name: str,
                                         args: ManagementOverrideCategorizationArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementOverrideCategorization(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         url: Optional[str] = None,
                                         additional_categories: Optional[Sequence[str]] = None,
                                         color: Optional[str] = None,
                                         comments: Optional[str] = None,
                                         ignore_errors: Optional[bool] = None,
                                         ignore_warnings: Optional[bool] = None,
                                         management_override_categorization_id: Optional[str] = None,
                                         new_primary_category: Optional[str] = None,
                                         risk: Optional[str] = None,
                                         tags: Optional[Sequence[str]] = None,
                                         url_defined_as_regular_expression: Optional[bool] = None)
    func NewManagementOverrideCategorization(ctx *Context, name string, args ManagementOverrideCategorizationArgs, opts ...ResourceOption) (*ManagementOverrideCategorization, error)
    public ManagementOverrideCategorization(string name, ManagementOverrideCategorizationArgs args, CustomResourceOptions? opts = null)
    public ManagementOverrideCategorization(String name, ManagementOverrideCategorizationArgs args)
    public ManagementOverrideCategorization(String name, ManagementOverrideCategorizationArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementOverrideCategorization
    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 ManagementOverrideCategorizationArgs
    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 ManagementOverrideCategorizationArgs
    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 ManagementOverrideCategorizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementOverrideCategorizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementOverrideCategorizationArgs
    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 managementOverrideCategorizationResource = new Checkpoint.ManagementOverrideCategorization("managementOverrideCategorizationResource", new()
    {
        Url = "string",
        AdditionalCategories = new[]
        {
            "string",
        },
        Color = "string",
        Comments = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementOverrideCategorizationId = "string",
        NewPrimaryCategory = "string",
        Risk = "string",
        Tags = new[]
        {
            "string",
        },
        UrlDefinedAsRegularExpression = false,
    });
    
    example, err := checkpoint.NewManagementOverrideCategorization(ctx, "managementOverrideCategorizationResource", &checkpoint.ManagementOverrideCategorizationArgs{
    	Url: pulumi.String("string"),
    	AdditionalCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Color:                              pulumi.String("string"),
    	Comments:                           pulumi.String("string"),
    	IgnoreErrors:                       pulumi.Bool(false),
    	IgnoreWarnings:                     pulumi.Bool(false),
    	ManagementOverrideCategorizationId: pulumi.String("string"),
    	NewPrimaryCategory:                 pulumi.String("string"),
    	Risk:                               pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UrlDefinedAsRegularExpression: pulumi.Bool(false),
    })
    
    var managementOverrideCategorizationResource = new ManagementOverrideCategorization("managementOverrideCategorizationResource", ManagementOverrideCategorizationArgs.builder()
        .url("string")
        .additionalCategories("string")
        .color("string")
        .comments("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementOverrideCategorizationId("string")
        .newPrimaryCategory("string")
        .risk("string")
        .tags("string")
        .urlDefinedAsRegularExpression(false)
        .build());
    
    management_override_categorization_resource = checkpoint.ManagementOverrideCategorization("managementOverrideCategorizationResource",
        url="string",
        additional_categories=["string"],
        color="string",
        comments="string",
        ignore_errors=False,
        ignore_warnings=False,
        management_override_categorization_id="string",
        new_primary_category="string",
        risk="string",
        tags=["string"],
        url_defined_as_regular_expression=False)
    
    const managementOverrideCategorizationResource = new checkpoint.ManagementOverrideCategorization("managementOverrideCategorizationResource", {
        url: "string",
        additionalCategories: ["string"],
        color: "string",
        comments: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        managementOverrideCategorizationId: "string",
        newPrimaryCategory: "string",
        risk: "string",
        tags: ["string"],
        urlDefinedAsRegularExpression: false,
    });
    
    type: checkpoint:ManagementOverrideCategorization
    properties:
        additionalCategories:
            - string
        color: string
        comments: string
        ignoreErrors: false
        ignoreWarnings: false
        managementOverrideCategorizationId: string
        newPrimaryCategory: string
        risk: string
        tags:
            - string
        url: string
        urlDefinedAsRegularExpression: false
    

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

    Url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    AdditionalCategories List<string>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    ManagementOverrideCategorizationId string
    NewPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    Risk string
    States the override categorization risk.
    Tags List<string>
    Collection of tag identifiers.
    UrlDefinedAsRegularExpression bool
    States whether the URL is defined as a Regular Expression or not.
    Url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    AdditionalCategories []string
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    ManagementOverrideCategorizationId string
    NewPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    Risk string
    States the override categorization risk.
    Tags []string
    Collection of tag identifiers.
    UrlDefinedAsRegularExpression bool
    States whether the URL is defined as a Regular Expression or not.
    url String
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    additionalCategories List<String>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId String
    newPrimaryCategory String
    Uid or name of the primary category based on its most defining aspect.
    risk String
    States the override categorization risk.
    tags List<String>
    Collection of tag identifiers.
    urlDefinedAsRegularExpression Boolean
    States whether the URL is defined as a Regular Expression or not.
    url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    additionalCategories string[]
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId string
    newPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    risk string
    States the override categorization risk.
    tags string[]
    Collection of tag identifiers.
    urlDefinedAsRegularExpression boolean
    States whether the URL is defined as a Regular Expression or not.
    url str
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    additional_categories Sequence[str]
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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_override_categorization_id str
    new_primary_category str
    Uid or name of the primary category based on its most defining aspect.
    risk str
    States the override categorization risk.
    tags Sequence[str]
    Collection of tag identifiers.
    url_defined_as_regular_expression bool
    States whether the URL is defined as a Regular Expression or not.
    url String
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    additionalCategories List<String>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId String
    newPrimaryCategory String
    Uid or name of the primary category based on its most defining aspect.
    risk String
    States the override categorization risk.
    tags List<String>
    Collection of tag identifiers.
    urlDefinedAsRegularExpression Boolean
    States whether the URL is defined as a Regular Expression or not.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementOverrideCategorization 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 ManagementOverrideCategorization Resource

    Get an existing ManagementOverrideCategorization 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?: ManagementOverrideCategorizationState, opts?: CustomResourceOptions): ManagementOverrideCategorization
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_categories: Optional[Sequence[str]] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_override_categorization_id: Optional[str] = None,
            new_primary_category: Optional[str] = None,
            risk: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            url: Optional[str] = None,
            url_defined_as_regular_expression: Optional[bool] = None) -> ManagementOverrideCategorization
    func GetManagementOverrideCategorization(ctx *Context, name string, id IDInput, state *ManagementOverrideCategorizationState, opts ...ResourceOption) (*ManagementOverrideCategorization, error)
    public static ManagementOverrideCategorization Get(string name, Input<string> id, ManagementOverrideCategorizationState? state, CustomResourceOptions? opts = null)
    public static ManagementOverrideCategorization get(String name, Output<String> id, ManagementOverrideCategorizationState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementOverrideCategorization    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:
    AdditionalCategories List<string>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    ManagementOverrideCategorizationId string
    NewPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    Risk string
    States the override categorization risk.
    Tags List<string>
    Collection of tag identifiers.
    Url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    UrlDefinedAsRegularExpression bool
    States whether the URL is defined as a Regular Expression or not.
    AdditionalCategories []string
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    ManagementOverrideCategorizationId string
    NewPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    Risk string
    States the override categorization risk.
    Tags []string
    Collection of tag identifiers.
    Url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    UrlDefinedAsRegularExpression bool
    States whether the URL is defined as a Regular Expression or not.
    additionalCategories List<String>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId String
    newPrimaryCategory String
    Uid or name of the primary category based on its most defining aspect.
    risk String
    States the override categorization risk.
    tags List<String>
    Collection of tag identifiers.
    url String
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    urlDefinedAsRegularExpression Boolean
    States whether the URL is defined as a Regular Expression or not.
    additionalCategories string[]
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId string
    newPrimaryCategory string
    Uid or name of the primary category based on its most defining aspect.
    risk string
    States the override categorization risk.
    tags string[]
    Collection of tag identifiers.
    url string
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    urlDefinedAsRegularExpression boolean
    States whether the URL is defined as a Regular Expression or not.
    additional_categories Sequence[str]
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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_override_categorization_id str
    new_primary_category str
    Uid or name of the primary category based on its most defining aspect.
    risk str
    States the override categorization risk.
    tags Sequence[str]
    Collection of tag identifiers.
    url str
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    url_defined_as_regular_expression bool
    States whether the URL is defined as a Regular Expression or not.
    additionalCategories List<String>
    Uid or name of the categories to override in the Application and URL Filtering or Threat Prevention.
    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.
    managementOverrideCategorizationId String
    newPrimaryCategory String
    Uid or name of the primary category based on its most defining aspect.
    risk String
    States the override categorization risk.
    tags List<String>
    Collection of tag identifiers.
    url String
    The URL for which we want to update the category and risk definitions, the URL and the object name are the same for Override Categorization.
    urlDefinedAsRegularExpression Boolean
    States whether the URL is defined as a Regular Expression or not.

    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