checkpoint.ManagementThreatRule
Explore with Pulumi AI
This resource allows you to add/update/delete Check Point Threat Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const test = new checkpoint.ManagementThreatRule("test", {
layer: "Standard Threat Prevention",
position: {
top: "top",
},
});
import pulumi
import pulumi_checkpoint as checkpoint
test = checkpoint.ManagementThreatRule("test",
layer="Standard Threat Prevention",
position={
"top": "top",
})
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.NewManagementThreatRule(ctx, "test", &checkpoint.ManagementThreatRuleArgs{
Layer: pulumi.String("Standard Threat Prevention"),
Position: pulumi.StringMap{
"top": pulumi.String("top"),
},
})
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 test = new Checkpoint.ManagementThreatRule("test", new()
{
Layer = "Standard Threat Prevention",
Position =
{
{ "top", "top" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementThreatRule;
import com.pulumi.checkpoint.ManagementThreatRuleArgs;
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 test = new ManagementThreatRule("test", ManagementThreatRuleArgs.builder()
.layer("Standard Threat Prevention")
.position(Map.of("top", "top"))
.build());
}
}
resources:
test:
type: checkpoint:ManagementThreatRule
properties:
layer: Standard Threat Prevention
position:
top: top
Create ManagementThreatRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementThreatRule(name: string, args: ManagementThreatRuleArgs, opts?: CustomResourceOptions);
@overload
def ManagementThreatRule(resource_name: str,
args: ManagementThreatRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementThreatRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
layer: Optional[str] = None,
position: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
comments: Optional[str] = None,
enabled: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
install_ons: Optional[Sequence[str]] = None,
destination_negate: Optional[bool] = None,
management_threat_rule_id: Optional[str] = None,
action: Optional[str] = None,
destinations: Optional[Sequence[str]] = None,
protected_scope_negate: Optional[bool] = None,
protected_scopes: Optional[Sequence[str]] = None,
service_negate: Optional[bool] = None,
services: Optional[Sequence[str]] = None,
source_negate: Optional[bool] = None,
sources: Optional[Sequence[str]] = None,
track: Optional[str] = None,
track_settings: Optional[Mapping[str, str]] = None)
func NewManagementThreatRule(ctx *Context, name string, args ManagementThreatRuleArgs, opts ...ResourceOption) (*ManagementThreatRule, error)
public ManagementThreatRule(string name, ManagementThreatRuleArgs args, CustomResourceOptions? opts = null)
public ManagementThreatRule(String name, ManagementThreatRuleArgs args)
public ManagementThreatRule(String name, ManagementThreatRuleArgs args, CustomResourceOptions options)
type: checkpoint:ManagementThreatRule
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 ManagementThreatRuleArgs
- 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 ManagementThreatRuleArgs
- 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 ManagementThreatRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementThreatRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementThreatRuleArgs
- 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 managementThreatRuleResource = new Checkpoint.ManagementThreatRule("managementThreatRuleResource", new()
{
Layer = "string",
Position =
{
{ "string", "string" },
},
Name = "string",
Comments = "string",
Enabled = false,
IgnoreErrors = false,
IgnoreWarnings = false,
InstallOns = new[]
{
"string",
},
DestinationNegate = false,
ManagementThreatRuleId = "string",
Action = "string",
Destinations = new[]
{
"string",
},
ProtectedScopeNegate = false,
ProtectedScopes = new[]
{
"string",
},
ServiceNegate = false,
Services = new[]
{
"string",
},
SourceNegate = false,
Sources = new[]
{
"string",
},
Track = "string",
TrackSettings =
{
{ "string", "string" },
},
});
example, err := checkpoint.NewManagementThreatRule(ctx, "managementThreatRuleResource", &checkpoint.ManagementThreatRuleArgs{
Layer: pulumi.String("string"),
Position: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Comments: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
InstallOns: pulumi.StringArray{
pulumi.String("string"),
},
DestinationNegate: pulumi.Bool(false),
ManagementThreatRuleId: pulumi.String("string"),
Action: pulumi.String("string"),
Destinations: pulumi.StringArray{
pulumi.String("string"),
},
ProtectedScopeNegate: pulumi.Bool(false),
ProtectedScopes: pulumi.StringArray{
pulumi.String("string"),
},
ServiceNegate: pulumi.Bool(false),
Services: pulumi.StringArray{
pulumi.String("string"),
},
SourceNegate: pulumi.Bool(false),
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Track: pulumi.String("string"),
TrackSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var managementThreatRuleResource = new ManagementThreatRule("managementThreatRuleResource", ManagementThreatRuleArgs.builder()
.layer("string")
.position(Map.of("string", "string"))
.name("string")
.comments("string")
.enabled(false)
.ignoreErrors(false)
.ignoreWarnings(false)
.installOns("string")
.destinationNegate(false)
.managementThreatRuleId("string")
.action("string")
.destinations("string")
.protectedScopeNegate(false)
.protectedScopes("string")
.serviceNegate(false)
.services("string")
.sourceNegate(false)
.sources("string")
.track("string")
.trackSettings(Map.of("string", "string"))
.build());
management_threat_rule_resource = checkpoint.ManagementThreatRule("managementThreatRuleResource",
layer="string",
position={
"string": "string",
},
name="string",
comments="string",
enabled=False,
ignore_errors=False,
ignore_warnings=False,
install_ons=["string"],
destination_negate=False,
management_threat_rule_id="string",
action="string",
destinations=["string"],
protected_scope_negate=False,
protected_scopes=["string"],
service_negate=False,
services=["string"],
source_negate=False,
sources=["string"],
track="string",
track_settings={
"string": "string",
})
const managementThreatRuleResource = new checkpoint.ManagementThreatRule("managementThreatRuleResource", {
layer: "string",
position: {
string: "string",
},
name: "string",
comments: "string",
enabled: false,
ignoreErrors: false,
ignoreWarnings: false,
installOns: ["string"],
destinationNegate: false,
managementThreatRuleId: "string",
action: "string",
destinations: ["string"],
protectedScopeNegate: false,
protectedScopes: ["string"],
serviceNegate: false,
services: ["string"],
sourceNegate: false,
sources: ["string"],
track: "string",
trackSettings: {
string: "string",
},
});
type: checkpoint:ManagementThreatRule
properties:
action: string
comments: string
destinationNegate: false
destinations:
- string
enabled: false
ignoreErrors: false
ignoreWarnings: false
installOns:
- string
layer: string
managementThreatRuleId: string
name: string
position:
string: string
protectedScopeNegate: false
protectedScopes:
- string
serviceNegate: false
services:
- string
sourceNegate: false
sources:
- string
track: string
trackSettings:
string: string
ManagementThreatRule 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 ManagementThreatRule resource accepts the following input properties:
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Position Dictionary<string, string>
- Position in the rulebase. Position blocks are documented below.
- Action string
- Action-the enforced profile.
- Comments string
- Comments string.
- Destination
Negate bool - True if negate is set for destination.
- Destinations List<string>
- Collection of Network objects identified by the name or UID.
- Enabled bool
- Enable/Disable the rule.
- 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.
- Install
Ons List<string> - Which Gateways identified by the name or UID to install the policy on.
- Management
Threat stringRule Id - Name string
- Rule name.
- Protected
Scope boolNegate - True if negate is set for Protected Scope.
- Protected
Scopes List<string> - Collection of objects defining Protected Scope identified by the name or UID.
- Service
Negate bool - True if negate is set for service.
- Services List<string>
- Collection of Network objects identified by the name or UID.
- Source
Negate bool - True if negate is set for source.
- Sources List<string>
- Collection of Network objects identified by the name or UID.
- Track string
- Packet tracking.
- Track
Settings Dictionary<string, string> - Threat rule track settings. track_settings block are documented below.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Position map[string]string
- Position in the rulebase. Position blocks are documented below.
- Action string
- Action-the enforced profile.
- Comments string
- Comments string.
- Destination
Negate bool - True if negate is set for destination.
- Destinations []string
- Collection of Network objects identified by the name or UID.
- Enabled bool
- Enable/Disable the rule.
- 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.
- Install
Ons []string - Which Gateways identified by the name or UID to install the policy on.
- Management
Threat stringRule Id - Name string
- Rule name.
- Protected
Scope boolNegate - True if negate is set for Protected Scope.
- Protected
Scopes []string - Collection of objects defining Protected Scope identified by the name or UID.
- Service
Negate bool - True if negate is set for service.
- Services []string
- Collection of Network objects identified by the name or UID.
- Source
Negate bool - True if negate is set for source.
- Sources []string
- Collection of Network objects identified by the name or UID.
- Track string
- Packet tracking.
- Track
Settings map[string]string - Threat rule track settings. track_settings block are documented below.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- position Map<String,String>
- Position in the rulebase. Position blocks are documented below.
- action String
- Action-the enforced profile.
- comments String
- Comments string.
- destination
Negate Boolean - True if negate is set for destination.
- destinations List<String>
- Collection of Network objects identified by the name or UID.
- enabled Boolean
- Enable/Disable the rule.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.
- management
Threat StringRule Id - name String
- Rule name.
- protected
Scope BooleanNegate - True if negate is set for Protected Scope.
- protected
Scopes List<String> - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate Boolean - True if negate is set for service.
- services List<String>
- Collection of Network objects identified by the name or UID.
- source
Negate Boolean - True if negate is set for source.
- sources List<String>
- Collection of Network objects identified by the name or UID.
- track String
- Packet tracking.
- track
Settings Map<String,String> - Threat rule track settings. track_settings block are documented below.
- layer string
- Layer that the rule belongs to identified by the name or UID.
- position {[key: string]: string}
- Position in the rulebase. Position blocks are documented below.
- action string
- Action-the enforced profile.
- comments string
- Comments string.
- destination
Negate boolean - True if negate is set for destination.
- destinations string[]
- Collection of Network objects identified by the name or UID.
- enabled boolean
- Enable/Disable the rule.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- install
Ons string[] - Which Gateways identified by the name or UID to install the policy on.
- management
Threat stringRule Id - name string
- Rule name.
- protected
Scope booleanNegate - True if negate is set for Protected Scope.
- protected
Scopes string[] - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate boolean - True if negate is set for service.
- services string[]
- Collection of Network objects identified by the name or UID.
- source
Negate boolean - True if negate is set for source.
- sources string[]
- Collection of Network objects identified by the name or UID.
- track string
- Packet tracking.
- track
Settings {[key: string]: string} - Threat rule track settings. track_settings block are documented below.
- layer str
- Layer that the rule belongs to identified by the name or UID.
- position Mapping[str, str]
- Position in the rulebase. Position blocks are documented below.
- action str
- Action-the enforced profile.
- comments str
- Comments string.
- destination_
negate bool - True if negate is set for destination.
- destinations Sequence[str]
- Collection of Network objects identified by the name or UID.
- enabled bool
- Enable/Disable the rule.
- 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.
- install_
ons Sequence[str] - Which Gateways identified by the name or UID to install the policy on.
- management_
threat_ strrule_ id - name str
- Rule name.
- protected_
scope_ boolnegate - True if negate is set for Protected Scope.
- protected_
scopes Sequence[str] - Collection of objects defining Protected Scope identified by the name or UID.
- service_
negate bool - True if negate is set for service.
- services Sequence[str]
- Collection of Network objects identified by the name or UID.
- source_
negate bool - True if negate is set for source.
- sources Sequence[str]
- Collection of Network objects identified by the name or UID.
- track str
- Packet tracking.
- track_
settings Mapping[str, str] - Threat rule track settings. track_settings block are documented below.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- position Map<String>
- Position in the rulebase. Position blocks are documented below.
- action String
- Action-the enforced profile.
- comments String
- Comments string.
- destination
Negate Boolean - True if negate is set for destination.
- destinations List<String>
- Collection of Network objects identified by the name or UID.
- enabled Boolean
- Enable/Disable the rule.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.
- management
Threat StringRule Id - name String
- Rule name.
- protected
Scope BooleanNegate - True if negate is set for Protected Scope.
- protected
Scopes List<String> - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate Boolean - True if negate is set for service.
- services List<String>
- Collection of Network objects identified by the name or UID.
- source
Negate Boolean - True if negate is set for source.
- sources List<String>
- Collection of Network objects identified by the name or UID.
- track String
- Packet tracking.
- track
Settings Map<String> - Threat rule track settings. track_settings block are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementThreatRule resource produces the following output properties:
- Exceptions List<string>
- Collection of the rule's exceptions identified by UID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Exceptions []string
- Collection of the rule's exceptions identified by UID.
- Id string
- The provider-assigned unique ID for this managed resource.
- exceptions List<String>
- Collection of the rule's exceptions identified by UID.
- id String
- The provider-assigned unique ID for this managed resource.
- exceptions string[]
- Collection of the rule's exceptions identified by UID.
- id string
- The provider-assigned unique ID for this managed resource.
- exceptions Sequence[str]
- Collection of the rule's exceptions identified by UID.
- id str
- The provider-assigned unique ID for this managed resource.
- exceptions List<String>
- Collection of the rule's exceptions identified by UID.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagementThreatRule Resource
Get an existing ManagementThreatRule 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?: ManagementThreatRuleState, opts?: CustomResourceOptions): ManagementThreatRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
comments: Optional[str] = None,
destination_negate: Optional[bool] = None,
destinations: Optional[Sequence[str]] = None,
enabled: Optional[bool] = None,
exceptions: Optional[Sequence[str]] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
install_ons: Optional[Sequence[str]] = None,
layer: Optional[str] = None,
management_threat_rule_id: Optional[str] = None,
name: Optional[str] = None,
position: Optional[Mapping[str, str]] = None,
protected_scope_negate: Optional[bool] = None,
protected_scopes: Optional[Sequence[str]] = None,
service_negate: Optional[bool] = None,
services: Optional[Sequence[str]] = None,
source_negate: Optional[bool] = None,
sources: Optional[Sequence[str]] = None,
track: Optional[str] = None,
track_settings: Optional[Mapping[str, str]] = None) -> ManagementThreatRule
func GetManagementThreatRule(ctx *Context, name string, id IDInput, state *ManagementThreatRuleState, opts ...ResourceOption) (*ManagementThreatRule, error)
public static ManagementThreatRule Get(string name, Input<string> id, ManagementThreatRuleState? state, CustomResourceOptions? opts = null)
public static ManagementThreatRule get(String name, Output<String> id, ManagementThreatRuleState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementThreatRule 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.
- Action string
- Action-the enforced profile.
- Comments string
- Comments string.
- Destination
Negate bool - True if negate is set for destination.
- Destinations List<string>
- Collection of Network objects identified by the name or UID.
- Enabled bool
- Enable/Disable the rule.
- Exceptions List<string>
- Collection of the rule's exceptions identified by UID.
- 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.
- Install
Ons List<string> - Which Gateways identified by the name or UID to install the policy on.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Management
Threat stringRule Id - Name string
- Rule name.
- Position Dictionary<string, string>
- Position in the rulebase. Position blocks are documented below.
- Protected
Scope boolNegate - True if negate is set for Protected Scope.
- Protected
Scopes List<string> - Collection of objects defining Protected Scope identified by the name or UID.
- Service
Negate bool - True if negate is set for service.
- Services List<string>
- Collection of Network objects identified by the name or UID.
- Source
Negate bool - True if negate is set for source.
- Sources List<string>
- Collection of Network objects identified by the name or UID.
- Track string
- Packet tracking.
- Track
Settings Dictionary<string, string> - Threat rule track settings. track_settings block are documented below.
- Action string
- Action-the enforced profile.
- Comments string
- Comments string.
- Destination
Negate bool - True if negate is set for destination.
- Destinations []string
- Collection of Network objects identified by the name or UID.
- Enabled bool
- Enable/Disable the rule.
- Exceptions []string
- Collection of the rule's exceptions identified by UID.
- 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.
- Install
Ons []string - Which Gateways identified by the name or UID to install the policy on.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Management
Threat stringRule Id - Name string
- Rule name.
- Position map[string]string
- Position in the rulebase. Position blocks are documented below.
- Protected
Scope boolNegate - True if negate is set for Protected Scope.
- Protected
Scopes []string - Collection of objects defining Protected Scope identified by the name or UID.
- Service
Negate bool - True if negate is set for service.
- Services []string
- Collection of Network objects identified by the name or UID.
- Source
Negate bool - True if negate is set for source.
- Sources []string
- Collection of Network objects identified by the name or UID.
- Track string
- Packet tracking.
- Track
Settings map[string]string - Threat rule track settings. track_settings block are documented below.
- action String
- Action-the enforced profile.
- comments String
- Comments string.
- destination
Negate Boolean - True if negate is set for destination.
- destinations List<String>
- Collection of Network objects identified by the name or UID.
- enabled Boolean
- Enable/Disable the rule.
- exceptions List<String>
- Collection of the rule's exceptions identified by UID.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- management
Threat StringRule Id - name String
- Rule name.
- position Map<String,String>
- Position in the rulebase. Position blocks are documented below.
- protected
Scope BooleanNegate - True if negate is set for Protected Scope.
- protected
Scopes List<String> - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate Boolean - True if negate is set for service.
- services List<String>
- Collection of Network objects identified by the name or UID.
- source
Negate Boolean - True if negate is set for source.
- sources List<String>
- Collection of Network objects identified by the name or UID.
- track String
- Packet tracking.
- track
Settings Map<String,String> - Threat rule track settings. track_settings block are documented below.
- action string
- Action-the enforced profile.
- comments string
- Comments string.
- destination
Negate boolean - True if negate is set for destination.
- destinations string[]
- Collection of Network objects identified by the name or UID.
- enabled boolean
- Enable/Disable the rule.
- exceptions string[]
- Collection of the rule's exceptions identified by UID.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- install
Ons string[] - Which Gateways identified by the name or UID to install the policy on.
- layer string
- Layer that the rule belongs to identified by the name or UID.
- management
Threat stringRule Id - name string
- Rule name.
- position {[key: string]: string}
- Position in the rulebase. Position blocks are documented below.
- protected
Scope booleanNegate - True if negate is set for Protected Scope.
- protected
Scopes string[] - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate boolean - True if negate is set for service.
- services string[]
- Collection of Network objects identified by the name or UID.
- source
Negate boolean - True if negate is set for source.
- sources string[]
- Collection of Network objects identified by the name or UID.
- track string
- Packet tracking.
- track
Settings {[key: string]: string} - Threat rule track settings. track_settings block are documented below.
- action str
- Action-the enforced profile.
- comments str
- Comments string.
- destination_
negate bool - True if negate is set for destination.
- destinations Sequence[str]
- Collection of Network objects identified by the name or UID.
- enabled bool
- Enable/Disable the rule.
- exceptions Sequence[str]
- Collection of the rule's exceptions identified by UID.
- 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.
- install_
ons Sequence[str] - Which Gateways identified by the name or UID to install the policy on.
- layer str
- Layer that the rule belongs to identified by the name or UID.
- management_
threat_ strrule_ id - name str
- Rule name.
- position Mapping[str, str]
- Position in the rulebase. Position blocks are documented below.
- protected_
scope_ boolnegate - True if negate is set for Protected Scope.
- protected_
scopes Sequence[str] - Collection of objects defining Protected Scope identified by the name or UID.
- service_
negate bool - True if negate is set for service.
- services Sequence[str]
- Collection of Network objects identified by the name or UID.
- source_
negate bool - True if negate is set for source.
- sources Sequence[str]
- Collection of Network objects identified by the name or UID.
- track str
- Packet tracking.
- track_
settings Mapping[str, str] - Threat rule track settings. track_settings block are documented below.
- action String
- Action-the enforced profile.
- comments String
- Comments string.
- destination
Negate Boolean - True if negate is set for destination.
- destinations List<String>
- Collection of Network objects identified by the name or UID.
- enabled Boolean
- Enable/Disable the rule.
- exceptions List<String>
- Collection of the rule's exceptions identified by UID.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- management
Threat StringRule Id - name String
- Rule name.
- position Map<String>
- Position in the rulebase. Position blocks are documented below.
- protected
Scope BooleanNegate - True if negate is set for Protected Scope.
- protected
Scopes List<String> - Collection of objects defining Protected Scope identified by the name or UID.
- service
Negate Boolean - True if negate is set for service.
- services List<String>
- Collection of Network objects identified by the name or UID.
- source
Negate Boolean - True if negate is set for source.
- sources List<String>
- Collection of Network objects identified by the name or UID.
- track String
- Packet tracking.
- track
Settings Map<String> - Threat rule track settings. track_settings block are documented below.
Import
checkpoint_management_threat_rule
can be imported by using the following format: LAYER_NAME;RULE_UID
$ pulumi import checkpoint:index/managementThreatRule:ManagementThreatRule example "Layer_Name;9423d36f-2d66-4754-b9e2-e9f4493751d3"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.