1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. ManagementSetThreatEmulationFileTypes
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw

    This resource allows you to execute Check Point Set Threat Emulation File Types.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementSetThreatEmulationFileTypes("example", {fileTypes: [
        {
            fileType: "pdf",
            enabled: false,
        },
        {
            fileType: "docx",
            enabled: true,
        },
    ]});
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementSetThreatEmulationFileTypes("example", file_types=[
        {
            "file_type": "pdf",
            "enabled": False,
        },
        {
            "file_type": "docx",
            "enabled": True,
        },
    ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.NewManagementSetThreatEmulationFileTypes(ctx, "example", &checkpoint.ManagementSetThreatEmulationFileTypesArgs{
    			FileTypes: checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArray{
    				&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
    					FileType: pulumi.String("pdf"),
    					Enabled:  pulumi.Bool(false),
    				},
    				&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
    					FileType: pulumi.String("docx"),
    					Enabled:  pulumi.Bool(true),
    				},
    			},
    		})
    		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.ManagementSetThreatEmulationFileTypes("example", new()
        {
            FileTypes = new[]
            {
                new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
                {
                    FileType = "pdf",
                    Enabled = false,
                },
                new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
                {
                    FileType = "docx",
                    Enabled = true,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementSetThreatEmulationFileTypes;
    import com.pulumi.checkpoint.ManagementSetThreatEmulationFileTypesArgs;
    import com.pulumi.checkpoint.inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs;
    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 ManagementSetThreatEmulationFileTypes("example", ManagementSetThreatEmulationFileTypesArgs.builder()
                .fileTypes(            
                    ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
                        .fileType("pdf")
                        .enabled(false)
                        .build(),
                    ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
                        .fileType("docx")
                        .enabled(true)
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementSetThreatEmulationFileTypes
        properties:
          fileTypes:
            - fileType: pdf
              enabled: false
            - fileType: docx
              enabled: true
    
    Example coming soon!
    

    Create ManagementSetThreatEmulationFileTypes Resource

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

    Constructor syntax

    new ManagementSetThreatEmulationFileTypes(name: string, args: ManagementSetThreatEmulationFileTypesArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementSetThreatEmulationFileTypes(resource_name: str,
                                              args: ManagementSetThreatEmulationFileTypesArgs,
                                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementSetThreatEmulationFileTypes(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              file_types: Optional[Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]] = None,
                                              ignore_errors: Optional[bool] = None,
                                              ignore_warnings: Optional[bool] = None,
                                              management_set_threat_emulation_file_types_id: Optional[str] = None)
    func NewManagementSetThreatEmulationFileTypes(ctx *Context, name string, args ManagementSetThreatEmulationFileTypesArgs, opts ...ResourceOption) (*ManagementSetThreatEmulationFileTypes, error)
    public ManagementSetThreatEmulationFileTypes(string name, ManagementSetThreatEmulationFileTypesArgs args, CustomResourceOptions? opts = null)
    public ManagementSetThreatEmulationFileTypes(String name, ManagementSetThreatEmulationFileTypesArgs args)
    public ManagementSetThreatEmulationFileTypes(String name, ManagementSetThreatEmulationFileTypesArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementSetThreatEmulationFileTypes
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkpoint_management_set_threat_emulation_file_types" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ManagementSetThreatEmulationFileTypesArgs
    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 ManagementSetThreatEmulationFileTypesArgs
    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 ManagementSetThreatEmulationFileTypesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementSetThreatEmulationFileTypesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementSetThreatEmulationFileTypesArgs
    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 managementSetThreatEmulationFileTypesResource = new Checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", new()
    {
        FileTypes = new[]
        {
            new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
            {
                Enabled = false,
                FileType = "string",
                FileTypeId = "string",
            },
        },
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementSetThreatEmulationFileTypesId = "string",
    });
    
    example, err := checkpoint.NewManagementSetThreatEmulationFileTypes(ctx, "managementSetThreatEmulationFileTypesResource", &checkpoint.ManagementSetThreatEmulationFileTypesArgs{
    	FileTypes: checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArray{
    		&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
    			Enabled:    pulumi.Bool(false),
    			FileType:   pulumi.String("string"),
    			FileTypeId: pulumi.String("string"),
    		},
    	},
    	IgnoreErrors:                            pulumi.Bool(false),
    	IgnoreWarnings:                          pulumi.Bool(false),
    	ManagementSetThreatEmulationFileTypesId: pulumi.String("string"),
    })
    
    resource "checkpoint_management_set_threat_emulation_file_types" "managementSetThreatEmulationFileTypesResource" {
      lifecycle {
        create_before_destroy = true
      }
      file_types {
        enabled      = false
        file_type    = "string"
        file_type_id = "string"
      }
      ignore_errors                                 = false
      ignore_warnings                               = false
      management_set_threat_emulation_file_types_id = "string"
    }
    
    var managementSetThreatEmulationFileTypesResource = new ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", ManagementSetThreatEmulationFileTypesArgs.builder()
        .fileTypes(ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
            .enabled(false)
            .fileType("string")
            .fileTypeId("string")
            .build())
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementSetThreatEmulationFileTypesId("string")
        .build());
    
    management_set_threat_emulation_file_types_resource = checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource",
        file_types=[{
            "enabled": False,
            "file_type": "string",
            "file_type_id": "string",
        }],
        ignore_errors=False,
        ignore_warnings=False,
        management_set_threat_emulation_file_types_id="string")
    
    const managementSetThreatEmulationFileTypesResource = new checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", {
        fileTypes: [{
            enabled: false,
            fileType: "string",
            fileTypeId: "string",
        }],
        ignoreErrors: false,
        ignoreWarnings: false,
        managementSetThreatEmulationFileTypesId: "string",
    });
    
    type: checkpoint:ManagementSetThreatEmulationFileTypes
    properties:
        fileTypes:
            - enabled: false
              fileType: string
              fileTypeId: string
        ignoreErrors: false
        ignoreWarnings: false
        managementSetThreatEmulationFileTypesId: string
    

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

    FileTypes List<ManagementSetThreatEmulationFileTypesFileType>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    ManagementSetThreatEmulationFileTypesId string
    FileTypes []ManagementSetThreatEmulationFileTypesFileTypeArgs
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    ManagementSetThreatEmulationFileTypesId string
    file_types list(object)
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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_set_threat_emulation_file_types_id string
    fileTypes List<ManagementSetThreatEmulationFileTypesFileType>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId String
    fileTypes ManagementSetThreatEmulationFileTypesFileType[]
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId string
    file_types Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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_set_threat_emulation_file_types_id str
    fileTypes List<Property Map>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId String

    Outputs

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

    Get an existing ManagementSetThreatEmulationFileTypes 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?: ManagementSetThreatEmulationFileTypesState, opts?: CustomResourceOptions): ManagementSetThreatEmulationFileTypes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            file_types: Optional[Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_set_threat_emulation_file_types_id: Optional[str] = None) -> ManagementSetThreatEmulationFileTypes
    func GetManagementSetThreatEmulationFileTypes(ctx *Context, name string, id IDInput, state *ManagementSetThreatEmulationFileTypesState, opts ...ResourceOption) (*ManagementSetThreatEmulationFileTypes, error)
    public static ManagementSetThreatEmulationFileTypes Get(string name, Input<string> id, ManagementSetThreatEmulationFileTypesState? state, CustomResourceOptions? opts = null)
    public static ManagementSetThreatEmulationFileTypes get(String name, Output<String> id, ManagementSetThreatEmulationFileTypesState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementSetThreatEmulationFileTypes    get:      id: ${id}
    import {
      to = checkpoint_management_set_threat_emulation_file_types.example
      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:
    FileTypes List<ManagementSetThreatEmulationFileTypesFileType>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    ManagementSetThreatEmulationFileTypesId string
    FileTypes []ManagementSetThreatEmulationFileTypesFileTypeArgs
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    ManagementSetThreatEmulationFileTypesId string
    file_types list(object)
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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_set_threat_emulation_file_types_id string
    fileTypes List<ManagementSetThreatEmulationFileTypesFileType>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId String
    fileTypes ManagementSetThreatEmulationFileTypesFileType[]
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId string
    file_types Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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_set_threat_emulation_file_types_id str
    fileTypes List<Property Map>
    List of Threat Emulation file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    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.
    managementSetThreatEmulationFileTypesId String

    Supporting Types

    ManagementSetThreatEmulationFileTypesFileType, ManagementSetThreatEmulationFileTypesFileTypeArgs

    Enabled bool
    Enable support for Threat Emulation.
    FileType string
    File type extension.
    FileTypeId string
    File type id.
    Enabled bool
    Enable support for Threat Emulation.
    FileType string
    File type extension.
    FileTypeId string
    File type id.
    enabled bool
    Enable support for Threat Emulation.
    file_type string
    File type extension.
    file_type_id string
    File type id.
    enabled Boolean
    Enable support for Threat Emulation.
    fileType String
    File type extension.
    fileTypeId String
    File type id.
    enabled boolean
    Enable support for Threat Emulation.
    fileType string
    File type extension.
    fileTypeId string
    File type id.
    enabled bool
    Enable support for Threat Emulation.
    file_type str
    File type extension.
    file_type_id str
    File type id.
    enabled Boolean
    Enable support for Threat Emulation.
    fileType String
    File type extension.
    fileTypeId String
    File type id.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    Viewing docs for checkpoint 3.3.0
    published on Thursday, Jul 30, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial