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

checkpoint.ManagementSmartTask

Explore with Pulumi AI

This resource allows you to execute Check Point Smart Task.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const smartTask = new checkpoint.ManagementSmartTask("smartTask", {
    action: {
        sendWebRequest: {
            fingerprint: "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
            overrideProxy: true,
            proxyUrl: "https://demo.example.com/policy-installation-reports",
            sharedSecret: " secret",
            timeOut: 200,
            url: "https://demo.example.com/policy-installation-reports",
        },
    },
    description: "my smart task",
    enabled: true,
    trigger: "Before Publish",
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

smart_task = checkpoint.ManagementSmartTask("smartTask",
    action={
        "send_web_request": {
            "fingerprint": "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
            "override_proxy": True,
            "proxy_url": "https://demo.example.com/policy-installation-reports",
            "shared_secret": " secret",
            "time_out": 200,
            "url": "https://demo.example.com/policy-installation-reports",
        },
    },
    description="my smart task",
    enabled=True,
    trigger="Before Publish")
Copy
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.NewManagementSmartTask(ctx, "smartTask", &checkpoint.ManagementSmartTaskArgs{
			Action: &checkpoint.ManagementSmartTaskActionArgs{
				SendWebRequest: &checkpoint.ManagementSmartTaskActionSendWebRequestArgs{
					Fingerprint:   pulumi.String("8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c"),
					OverrideProxy: pulumi.Bool(true),
					ProxyUrl:      pulumi.String("https://demo.example.com/policy-installation-reports"),
					SharedSecret:  pulumi.String(" secret"),
					TimeOut:       pulumi.Float64(200),
					Url:           pulumi.String("https://demo.example.com/policy-installation-reports"),
				},
			},
			Description: pulumi.String("my smart task"),
			Enabled:     pulumi.Bool(true),
			Trigger:     pulumi.String("Before Publish"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var smartTask = new Checkpoint.ManagementSmartTask("smartTask", new()
    {
        Action = new Checkpoint.Inputs.ManagementSmartTaskActionArgs
        {
            SendWebRequest = new Checkpoint.Inputs.ManagementSmartTaskActionSendWebRequestArgs
            {
                Fingerprint = "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
                OverrideProxy = true,
                ProxyUrl = "https://demo.example.com/policy-installation-reports",
                SharedSecret = " secret",
                TimeOut = 200,
                Url = "https://demo.example.com/policy-installation-reports",
            },
        },
        Description = "my smart task",
        Enabled = true,
        Trigger = "Before Publish",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementSmartTask;
import com.pulumi.checkpoint.ManagementSmartTaskArgs;
import com.pulumi.checkpoint.inputs.ManagementSmartTaskActionArgs;
import com.pulumi.checkpoint.inputs.ManagementSmartTaskActionSendWebRequestArgs;
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 smartTask = new ManagementSmartTask("smartTask", ManagementSmartTaskArgs.builder()
            .action(ManagementSmartTaskActionArgs.builder()
                .sendWebRequest(ManagementSmartTaskActionSendWebRequestArgs.builder()
                    .fingerprint("8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c")
                    .overrideProxy(true)
                    .proxyUrl("https://demo.example.com/policy-installation-reports")
                    .sharedSecret(" secret")
                    .timeOut(200)
                    .url("https://demo.example.com/policy-installation-reports")
                    .build())
                .build())
            .description("my smart task")
            .enabled(true)
            .trigger("Before Publish")
            .build());

    }
}
Copy
resources:
  smartTask:
    type: checkpoint:ManagementSmartTask
    properties:
      action:
        sendWebRequest:
          fingerprint: 8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c
          overrideProxy: true
          proxyUrl: https://demo.example.com/policy-installation-reports
          sharedSecret: ' secret'
          timeOut: 200
          url: https://demo.example.com/policy-installation-reports
      description: my smart task
      enabled: true
      trigger: Before Publish
Copy

Create ManagementSmartTask Resource

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

Constructor syntax

new ManagementSmartTask(name: string, args?: ManagementSmartTaskArgs, opts?: CustomResourceOptions);
@overload
def ManagementSmartTask(resource_name: str,
                        args: Optional[ManagementSmartTaskArgs] = None,
                        opts: Optional[ResourceOptions] = None)

@overload
def ManagementSmartTask(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        action: Optional[ManagementSmartTaskActionArgs] = None,
                        color: Optional[str] = None,
                        comments: Optional[str] = None,
                        custom_data: Optional[str] = None,
                        description: Optional[str] = None,
                        enabled: Optional[bool] = None,
                        fail_open: Optional[bool] = None,
                        ignore_errors: Optional[bool] = None,
                        ignore_warnings: Optional[bool] = None,
                        management_smart_task_id: Optional[str] = None,
                        name: Optional[str] = None,
                        tags: Optional[Sequence[str]] = None,
                        trigger: Optional[str] = None)
func NewManagementSmartTask(ctx *Context, name string, args *ManagementSmartTaskArgs, opts ...ResourceOption) (*ManagementSmartTask, error)
public ManagementSmartTask(string name, ManagementSmartTaskArgs? args = null, CustomResourceOptions? opts = null)
public ManagementSmartTask(String name, ManagementSmartTaskArgs args)
public ManagementSmartTask(String name, ManagementSmartTaskArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSmartTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ManagementSmartTaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ManagementSmartTaskArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ManagementSmartTaskArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ManagementSmartTaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementSmartTaskArgs
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 managementSmartTaskResource = new Checkpoint.ManagementSmartTask("managementSmartTaskResource", new()
{
    Action = new Checkpoint.Inputs.ManagementSmartTaskActionArgs
    {
        RunScript = new Checkpoint.Inputs.ManagementSmartTaskActionRunScriptArgs
        {
            RepositoryScript = "string",
            Targets = new[]
            {
                "string",
            },
            TimeOut = 0,
        },
        SendMail = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailArgs
        {
            MailSettings = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailMailSettingsArgs
            {
                Attachment = "string",
                BccRecipients = "string",
                Body = "string",
                CcRecipients = "string",
                Recipients = "string",
                SenderEmail = "string",
                Subject = "string",
            },
            SmtpServer = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailSmtpServerArgs
            {
                Authentication = "string",
                Encryption = "string",
                Name = "string",
                Port = "string",
                Server = "string",
                Username = "string",
            },
        },
        SendWebRequest = new Checkpoint.Inputs.ManagementSmartTaskActionSendWebRequestArgs
        {
            Fingerprint = "string",
            OverrideProxy = false,
            ProxyUrl = "string",
            SharedSecret = "string",
            TimeOut = 0,
            Url = "string",
        },
    },
    Color = "string",
    Comments = "string",
    CustomData = "string",
    Description = "string",
    Enabled = false,
    FailOpen = false,
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementSmartTaskId = "string",
    Name = "string",
    Tags = new[]
    {
        "string",
    },
    Trigger = "string",
});
Copy
example, err := checkpoint.NewManagementSmartTask(ctx, "managementSmartTaskResource", &checkpoint.ManagementSmartTaskArgs{
	Action: &checkpoint.ManagementSmartTaskActionArgs{
		RunScript: &checkpoint.ManagementSmartTaskActionRunScriptArgs{
			RepositoryScript: pulumi.String("string"),
			Targets: pulumi.StringArray{
				pulumi.String("string"),
			},
			TimeOut: pulumi.Float64(0),
		},
		SendMail: &checkpoint.ManagementSmartTaskActionSendMailArgs{
			MailSettings: &checkpoint.ManagementSmartTaskActionSendMailMailSettingsArgs{
				Attachment:    pulumi.String("string"),
				BccRecipients: pulumi.String("string"),
				Body:          pulumi.String("string"),
				CcRecipients:  pulumi.String("string"),
				Recipients:    pulumi.String("string"),
				SenderEmail:   pulumi.String("string"),
				Subject:       pulumi.String("string"),
			},
			SmtpServer: &checkpoint.ManagementSmartTaskActionSendMailSmtpServerArgs{
				Authentication: pulumi.String("string"),
				Encryption:     pulumi.String("string"),
				Name:           pulumi.String("string"),
				Port:           pulumi.String("string"),
				Server:         pulumi.String("string"),
				Username:       pulumi.String("string"),
			},
		},
		SendWebRequest: &checkpoint.ManagementSmartTaskActionSendWebRequestArgs{
			Fingerprint:   pulumi.String("string"),
			OverrideProxy: pulumi.Bool(false),
			ProxyUrl:      pulumi.String("string"),
			SharedSecret:  pulumi.String("string"),
			TimeOut:       pulumi.Float64(0),
			Url:           pulumi.String("string"),
		},
	},
	Color:                 pulumi.String("string"),
	Comments:              pulumi.String("string"),
	CustomData:            pulumi.String("string"),
	Description:           pulumi.String("string"),
	Enabled:               pulumi.Bool(false),
	FailOpen:              pulumi.Bool(false),
	IgnoreErrors:          pulumi.Bool(false),
	IgnoreWarnings:        pulumi.Bool(false),
	ManagementSmartTaskId: pulumi.String("string"),
	Name:                  pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	Trigger: pulumi.String("string"),
})
Copy
var managementSmartTaskResource = new ManagementSmartTask("managementSmartTaskResource", ManagementSmartTaskArgs.builder()
    .action(ManagementSmartTaskActionArgs.builder()
        .runScript(ManagementSmartTaskActionRunScriptArgs.builder()
            .repositoryScript("string")
            .targets("string")
            .timeOut(0)
            .build())
        .sendMail(ManagementSmartTaskActionSendMailArgs.builder()
            .mailSettings(ManagementSmartTaskActionSendMailMailSettingsArgs.builder()
                .attachment("string")
                .bccRecipients("string")
                .body("string")
                .ccRecipients("string")
                .recipients("string")
                .senderEmail("string")
                .subject("string")
                .build())
            .smtpServer(ManagementSmartTaskActionSendMailSmtpServerArgs.builder()
                .authentication("string")
                .encryption("string")
                .name("string")
                .port("string")
                .server("string")
                .username("string")
                .build())
            .build())
        .sendWebRequest(ManagementSmartTaskActionSendWebRequestArgs.builder()
            .fingerprint("string")
            .overrideProxy(false)
            .proxyUrl("string")
            .sharedSecret("string")
            .timeOut(0)
            .url("string")
            .build())
        .build())
    .color("string")
    .comments("string")
    .customData("string")
    .description("string")
    .enabled(false)
    .failOpen(false)
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementSmartTaskId("string")
    .name("string")
    .tags("string")
    .trigger("string")
    .build());
Copy
management_smart_task_resource = checkpoint.ManagementSmartTask("managementSmartTaskResource",
    action={
        "run_script": {
            "repository_script": "string",
            "targets": ["string"],
            "time_out": 0,
        },
        "send_mail": {
            "mail_settings": {
                "attachment": "string",
                "bcc_recipients": "string",
                "body": "string",
                "cc_recipients": "string",
                "recipients": "string",
                "sender_email": "string",
                "subject": "string",
            },
            "smtp_server": {
                "authentication": "string",
                "encryption": "string",
                "name": "string",
                "port": "string",
                "server": "string",
                "username": "string",
            },
        },
        "send_web_request": {
            "fingerprint": "string",
            "override_proxy": False,
            "proxy_url": "string",
            "shared_secret": "string",
            "time_out": 0,
            "url": "string",
        },
    },
    color="string",
    comments="string",
    custom_data="string",
    description="string",
    enabled=False,
    fail_open=False,
    ignore_errors=False,
    ignore_warnings=False,
    management_smart_task_id="string",
    name="string",
    tags=["string"],
    trigger="string")
Copy
const managementSmartTaskResource = new checkpoint.ManagementSmartTask("managementSmartTaskResource", {
    action: {
        runScript: {
            repositoryScript: "string",
            targets: ["string"],
            timeOut: 0,
        },
        sendMail: {
            mailSettings: {
                attachment: "string",
                bccRecipients: "string",
                body: "string",
                ccRecipients: "string",
                recipients: "string",
                senderEmail: "string",
                subject: "string",
            },
            smtpServer: {
                authentication: "string",
                encryption: "string",
                name: "string",
                port: "string",
                server: "string",
                username: "string",
            },
        },
        sendWebRequest: {
            fingerprint: "string",
            overrideProxy: false,
            proxyUrl: "string",
            sharedSecret: "string",
            timeOut: 0,
            url: "string",
        },
    },
    color: "string",
    comments: "string",
    customData: "string",
    description: "string",
    enabled: false,
    failOpen: false,
    ignoreErrors: false,
    ignoreWarnings: false,
    managementSmartTaskId: "string",
    name: "string",
    tags: ["string"],
    trigger: "string",
});
Copy
type: checkpoint:ManagementSmartTask
properties:
    action:
        runScript:
            repositoryScript: string
            targets:
                - string
            timeOut: 0
        sendMail:
            mailSettings:
                attachment: string
                bccRecipients: string
                body: string
                ccRecipients: string
                recipients: string
                senderEmail: string
                subject: string
            smtpServer:
                authentication: string
                encryption: string
                name: string
                port: string
                server: string
                username: string
        sendWebRequest:
            fingerprint: string
            overrideProxy: false
            proxyUrl: string
            sharedSecret: string
            timeOut: 0
            url: string
    color: string
    comments: string
    customData: string
    description: string
    enabled: false
    failOpen: false
    ignoreErrors: false
    ignoreWarnings: false
    managementSmartTaskId: string
    name: string
    tags:
        - string
    trigger: string
Copy

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

Action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
Description string
Description of the SmartTask's functionality and options.
Enabled bool
Whether the SmartTask is enabled and will run when triggered.
FailOpen bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
ManagementSmartTaskId string
Name string
Object name.
Tags List<string>
Collection of tag identifiers.tags blocks are documented below.
Trigger string
Trigger type associated with the SmartTask.
Action ManagementSmartTaskActionArgs
The action to be run when the trigger is fired.action blocks are documented below.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
Description string
Description of the SmartTask's functionality and options.
Enabled bool
Whether the SmartTask is enabled and will run when triggered.
FailOpen bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
ManagementSmartTaskId string
Name string
Object name.
Tags []string
Collection of tag identifiers.tags blocks are documented below.
Trigger string
Trigger type associated with the SmartTask.
action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customData String
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description String
Description of the SmartTask's functionality and options.
enabled Boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen Boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
trigger String
Trigger type associated with the SmartTask.
action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
customData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description string
Description of the SmartTask's functionality and options.
enabled boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId string
name string
Object name.
tags string[]
Collection of tag identifiers.tags blocks are documented below.
trigger string
Trigger type associated with the SmartTask.
action ManagementSmartTaskActionArgs
The action to be run when the trigger is fired.action blocks are documented below.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
custom_data str
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description str
Description of the SmartTask's functionality and options.
enabled bool
Whether the SmartTask is enabled and will run when triggered.
fail_open bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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_smart_task_id str
name str
Object name.
tags Sequence[str]
Collection of tag identifiers.tags blocks are documented below.
trigger str
Trigger type associated with the SmartTask.
action Property Map
The action to be run when the trigger is fired.action blocks are documented below.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customData String
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description String
Description of the SmartTask's functionality and options.
enabled Boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen Boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
trigger String
Trigger type associated with the SmartTask.

Outputs

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

Get an existing ManagementSmartTask 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?: ManagementSmartTaskState, opts?: CustomResourceOptions): ManagementSmartTask
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[ManagementSmartTaskActionArgs] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        custom_data: Optional[str] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        fail_open: Optional[bool] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        management_smart_task_id: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        trigger: Optional[str] = None) -> ManagementSmartTask
func GetManagementSmartTask(ctx *Context, name string, id IDInput, state *ManagementSmartTaskState, opts ...ResourceOption) (*ManagementSmartTask, error)
public static ManagementSmartTask Get(string name, Input<string> id, ManagementSmartTaskState? state, CustomResourceOptions? opts = null)
public static ManagementSmartTask get(String name, Output<String> id, ManagementSmartTaskState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementSmartTask    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
Description string
Description of the SmartTask's functionality and options.
Enabled bool
Whether the SmartTask is enabled and will run when triggered.
FailOpen bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
ManagementSmartTaskId string
Name string
Object name.
Tags List<string>
Collection of tag identifiers.tags blocks are documented below.
Trigger string
Trigger type associated with the SmartTask.
Action ManagementSmartTaskActionArgs
The action to be run when the trigger is fired.action blocks are documented below.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
Description string
Description of the SmartTask's functionality and options.
Enabled bool
Whether the SmartTask is enabled and will run when triggered.
FailOpen bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
ManagementSmartTaskId string
Name string
Object name.
Tags []string
Collection of tag identifiers.tags blocks are documented below.
Trigger string
Trigger type associated with the SmartTask.
action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customData String
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description String
Description of the SmartTask's functionality and options.
enabled Boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen Boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
trigger String
Trigger type associated with the SmartTask.
action ManagementSmartTaskAction
The action to be run when the trigger is fired.action blocks are documented below.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
customData string
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description string
Description of the SmartTask's functionality and options.
enabled boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId string
name string
Object name.
tags string[]
Collection of tag identifiers.tags blocks are documented below.
trigger string
Trigger type associated with the SmartTask.
action ManagementSmartTaskActionArgs
The action to be run when the trigger is fired.action blocks are documented below.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
custom_data str
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description str
Description of the SmartTask's functionality and options.
enabled bool
Whether the SmartTask is enabled and will run when triggered.
fail_open bool
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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_smart_task_id str
name str
Object name.
tags Sequence[str]
Collection of tag identifiers.tags blocks are documented below.
trigger str
Trigger type associated with the SmartTask.
action Property Map
The action to be run when the trigger is fired.action blocks are documented below.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customData String
Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
description String
Description of the SmartTask's functionality and options.
enabled Boolean
Whether the SmartTask is enabled and will run when triggered.
failOpen Boolean
If the action fails to execute, whether to treat the execution failure as an error, or continue.
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.
managementSmartTaskId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
trigger String
Trigger type associated with the SmartTask.

Supporting Types

ManagementSmartTaskAction
, ManagementSmartTaskActionArgs

RunScript ManagementSmartTaskActionRunScript
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
SendMail ManagementSmartTaskActionSendMail
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
SendWebRequest ManagementSmartTaskActionSendWebRequest
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
RunScript ManagementSmartTaskActionRunScript
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
SendMail ManagementSmartTaskActionSendMail
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
SendWebRequest ManagementSmartTaskActionSendWebRequest
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
runScript ManagementSmartTaskActionRunScript
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
sendMail ManagementSmartTaskActionSendMail
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
sendWebRequest ManagementSmartTaskActionSendWebRequest
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
runScript ManagementSmartTaskActionRunScript
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
sendMail ManagementSmartTaskActionSendMail
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
sendWebRequest ManagementSmartTaskActionSendWebRequest
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
run_script ManagementSmartTaskActionRunScript
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
send_mail ManagementSmartTaskActionSendMail
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
send_web_request ManagementSmartTaskActionSendWebRequest
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
runScript Property Map
When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
sendMail Property Map
When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
sendWebRequest Property Map
When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.

ManagementSmartTaskActionRunScript
, ManagementSmartTaskActionRunScriptArgs

RepositoryScript string
Repository script that is executed when the trigger is fired., identified by the name or UID.
Targets List<string>
Targets to execute the script on.targets blocks are documented below.
TimeOut double
Script execution time-out in seconds.
RepositoryScript string
Repository script that is executed when the trigger is fired., identified by the name or UID.
Targets []string
Targets to execute the script on.targets blocks are documented below.
TimeOut float64
Script execution time-out in seconds.
repositoryScript String
Repository script that is executed when the trigger is fired., identified by the name or UID.
targets List<String>
Targets to execute the script on.targets blocks are documented below.
timeOut Double
Script execution time-out in seconds.
repositoryScript string
Repository script that is executed when the trigger is fired., identified by the name or UID.
targets string[]
Targets to execute the script on.targets blocks are documented below.
timeOut number
Script execution time-out in seconds.
repository_script str
Repository script that is executed when the trigger is fired., identified by the name or UID.
targets Sequence[str]
Targets to execute the script on.targets blocks are documented below.
time_out float
Script execution time-out in seconds.
repositoryScript String
Repository script that is executed when the trigger is fired., identified by the name or UID.
targets List<String>
Targets to execute the script on.targets blocks are documented below.
timeOut Number
Script execution time-out in seconds.

ManagementSmartTaskActionSendMail
, ManagementSmartTaskActionSendMailArgs

MailSettings This property is required. ManagementSmartTaskActionSendMailMailSettings
The required settings to send the mail by.mail_settings blocks are documented below.
SmtpServer ManagementSmartTaskActionSendMailSmtpServer
The UID or the name a preconfigured SMTP server object.
MailSettings This property is required. ManagementSmartTaskActionSendMailMailSettings
The required settings to send the mail by.mail_settings blocks are documented below.
SmtpServer ManagementSmartTaskActionSendMailSmtpServer
The UID or the name a preconfigured SMTP server object.
mailSettings This property is required. ManagementSmartTaskActionSendMailMailSettings
The required settings to send the mail by.mail_settings blocks are documented below.
smtpServer ManagementSmartTaskActionSendMailSmtpServer
The UID or the name a preconfigured SMTP server object.
mailSettings This property is required. ManagementSmartTaskActionSendMailMailSettings
The required settings to send the mail by.mail_settings blocks are documented below.
smtpServer ManagementSmartTaskActionSendMailSmtpServer
The UID or the name a preconfigured SMTP server object.
mail_settings This property is required. ManagementSmartTaskActionSendMailMailSettings
The required settings to send the mail by.mail_settings blocks are documented below.
smtp_server ManagementSmartTaskActionSendMailSmtpServer
The UID or the name a preconfigured SMTP server object.
mailSettings This property is required. Property Map
The required settings to send the mail by.mail_settings blocks are documented below.
smtpServer Property Map
The UID or the name a preconfigured SMTP server object.

ManagementSmartTaskActionSendMailMailSettings
, ManagementSmartTaskActionSendMailMailSettingsArgs

Attachment string
What file should be attached to the mail.
BccRecipients string
A comma separated list of bcc recipient mail addresses.
Body string
The email body.
CcRecipients string
A comma separated list of cc recipient mail addresses.
Recipients string
A comma separated list of recipient mail addresses.
SenderEmail string
An email address to send the mail from.
Subject string
The email subject.
Attachment string
What file should be attached to the mail.
BccRecipients string
A comma separated list of bcc recipient mail addresses.
Body string
The email body.
CcRecipients string
A comma separated list of cc recipient mail addresses.
Recipients string
A comma separated list of recipient mail addresses.
SenderEmail string
An email address to send the mail from.
Subject string
The email subject.
attachment String
What file should be attached to the mail.
bccRecipients String
A comma separated list of bcc recipient mail addresses.
body String
The email body.
ccRecipients String
A comma separated list of cc recipient mail addresses.
recipients String
A comma separated list of recipient mail addresses.
senderEmail String
An email address to send the mail from.
subject String
The email subject.
attachment string
What file should be attached to the mail.
bccRecipients string
A comma separated list of bcc recipient mail addresses.
body string
The email body.
ccRecipients string
A comma separated list of cc recipient mail addresses.
recipients string
A comma separated list of recipient mail addresses.
senderEmail string
An email address to send the mail from.
subject string
The email subject.
attachment str
What file should be attached to the mail.
bcc_recipients str
A comma separated list of bcc recipient mail addresses.
body str
The email body.
cc_recipients str
A comma separated list of cc recipient mail addresses.
recipients str
A comma separated list of recipient mail addresses.
sender_email str
An email address to send the mail from.
subject str
The email subject.
attachment String
What file should be attached to the mail.
bccRecipients String
A comma separated list of bcc recipient mail addresses.
body String
The email body.
ccRecipients String
A comma separated list of cc recipient mail addresses.
recipients String
A comma separated list of recipient mail addresses.
senderEmail String
An email address to send the mail from.
subject String
The email subject.

ManagementSmartTaskActionSendMailSmtpServer
, ManagementSmartTaskActionSendMailSmtpServerArgs

Authentication string
Does the mail server requires authentication.
Encryption string
Encryption type.
Name string
Object name.
Port string
The SMTP port to use.
Server string
The SMTP server address.
Username string
A username for the SMTP server.
Authentication string
Does the mail server requires authentication.
Encryption string
Encryption type.
Name string
Object name.
Port string
The SMTP port to use.
Server string
The SMTP server address.
Username string
A username for the SMTP server.
authentication String
Does the mail server requires authentication.
encryption String
Encryption type.
name String
Object name.
port String
The SMTP port to use.
server String
The SMTP server address.
username String
A username for the SMTP server.
authentication string
Does the mail server requires authentication.
encryption string
Encryption type.
name string
Object name.
port string
The SMTP port to use.
server string
The SMTP server address.
username string
A username for the SMTP server.
authentication str
Does the mail server requires authentication.
encryption str
Encryption type.
name str
Object name.
port str
The SMTP port to use.
server str
The SMTP server address.
username str
A username for the SMTP server.
authentication String
Does the mail server requires authentication.
encryption String
Encryption type.
name String
Object name.
port String
The SMTP port to use.
server String
The SMTP server address.
username String
A username for the SMTP server.

ManagementSmartTaskActionSendWebRequest
, ManagementSmartTaskActionSendWebRequestArgs

Fingerprint string
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
OverrideProxy bool
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
ProxyUrl string
URL of the proxy used to send the request.
SharedSecret string
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
TimeOut double
Web Request time-out in seconds.
Url string
URL used for the web request.
Fingerprint string
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
OverrideProxy bool
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
ProxyUrl string
URL of the proxy used to send the request.
SharedSecret string
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
TimeOut float64
Web Request time-out in seconds.
Url string
URL used for the web request.
fingerprint String
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
overrideProxy Boolean
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
proxyUrl String
URL of the proxy used to send the request.
sharedSecret String
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
timeOut Double
Web Request time-out in seconds.
url String
URL used for the web request.
fingerprint string
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
overrideProxy boolean
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
proxyUrl string
URL of the proxy used to send the request.
sharedSecret string
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
timeOut number
Web Request time-out in seconds.
url string
URL used for the web request.
fingerprint str
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
override_proxy bool
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
proxy_url str
URL of the proxy used to send the request.
shared_secret str
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
time_out float
Web Request time-out in seconds.
url str
URL used for the web request.
fingerprint String
The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
overrideProxy Boolean
Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
proxyUrl String
URL of the proxy used to send the request.
sharedSecret String
Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
timeOut Number
Web Request time-out in seconds.
url String
URL used for the web request.

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.