1. Registry
  2. Packages
  3. Sumologic Provider
  4. API Docs
  5. CseSigmaRule
Viewing docs for sumologic 3.3.8
published on Wednesday, Nov 11, 2026 by sumologic
sumologic logo
Viewing docs for sumologic 3.3.8
published on Wednesday, Nov 11, 2026 by sumologic

    Provides a Sumo Logic CSE Match Rule created from a Sigma rule.

    The Sigma rule is looked up by its ID and converted to a Sumo Logic match rule. The converted fields are copied into the new rule when it is created, and the rule is marked as originating from Sigma. Later changes to the parent Sigma rule are not applied to the created match rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const sigmaRule = new sumologic.CseSigmaRule("sigma_rule", {
        sigmaId: "637f689e-b4a5-4a86-be0e-0100a0a33ba2",
        enabled: true,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    sigma_rule = sumologic.CseSigmaRule("sigma_rule",
        sigma_id="637f689e-b4a5-4a86-be0e-0100a0a33ba2",
        enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewCseSigmaRule(ctx, "sigma_rule", &sumologic.CseSigmaRuleArgs{
    			SigmaId: pulumi.String("637f689e-b4a5-4a86-be0e-0100a0a33ba2"),
    			Enabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var sigmaRule = new Sumologic.CseSigmaRule("sigma_rule", new()
        {
            SigmaId = "637f689e-b4a5-4a86-be0e-0100a0a33ba2",
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.CseSigmaRule;
    import com.pulumi.sumologic.CseSigmaRuleArgs;
    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 sigmaRule = new CseSigmaRule("sigmaRule", CseSigmaRuleArgs.builder()
                .sigmaId("637f689e-b4a5-4a86-be0e-0100a0a33ba2")
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      sigmaRule:
        type: sumologic:CseSigmaRule
        name: sigma_rule
        properties:
          sigmaId: 637f689e-b4a5-4a86-be0e-0100a0a33ba2
          enabled: true
    
    Example coming soon!
    

    Any converted field can be overridden. Note that an empty list (for example tags = [] or no entity_selectors blocks) is treated as unset, so it keeps the converted Sigma value rather than clearing it.

    Example of overriding fields:

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const sigmaRule = new sumologic.CseSigmaRule("sigma_rule", {
        sigmaId: "637f689e-b4a5-4a86-be0e-0100a0a33ba2",
        enabled: true,
        name: "My Sigma Rule",
        isPrototype: false,
        tags: ["_mitreAttackTactic:TA0004"],
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    sigma_rule = sumologic.CseSigmaRule("sigma_rule",
        sigma_id="637f689e-b4a5-4a86-be0e-0100a0a33ba2",
        enabled=True,
        name="My Sigma Rule",
        is_prototype=False,
        tags=["_mitreAttackTactic:TA0004"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewCseSigmaRule(ctx, "sigma_rule", &sumologic.CseSigmaRuleArgs{
    			SigmaId:     pulumi.String("637f689e-b4a5-4a86-be0e-0100a0a33ba2"),
    			Enabled:     pulumi.Bool(true),
    			Name:        pulumi.String("My Sigma Rule"),
    			IsPrototype: pulumi.Bool(false),
    			Tags: pulumi.StringArray{
    				pulumi.String("_mitreAttackTactic:TA0004"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var sigmaRule = new Sumologic.CseSigmaRule("sigma_rule", new()
        {
            SigmaId = "637f689e-b4a5-4a86-be0e-0100a0a33ba2",
            Enabled = true,
            Name = "My Sigma Rule",
            IsPrototype = false,
            Tags = new[]
            {
                "_mitreAttackTactic:TA0004",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.CseSigmaRule;
    import com.pulumi.sumologic.CseSigmaRuleArgs;
    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 sigmaRule = new CseSigmaRule("sigmaRule", CseSigmaRuleArgs.builder()
                .sigmaId("637f689e-b4a5-4a86-be0e-0100a0a33ba2")
                .enabled(true)
                .name("My Sigma Rule")
                .isPrototype(false)
                .tags("_mitreAttackTactic:TA0004")
                .build());
    
        }
    }
    
    resources:
      sigmaRule:
        type: sumologic:CseSigmaRule
        name: sigma_rule
        properties:
          sigmaId: 637f689e-b4a5-4a86-be0e-0100a0a33ba2
          enabled: true
          name: My Sigma Rule
          isPrototype: false
          tags:
            - _mitreAttackTactic:TA0004
    
    Example coming soon!
    

    Create CseSigmaRule Resource

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

    Constructor syntax

    new CseSigmaRule(name: string, args: CseSigmaRuleArgs, opts?: CustomResourceOptions);
    @overload
    def CseSigmaRule(resource_name: str,
                     args: CseSigmaRuleArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CseSigmaRule(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     enabled: Optional[bool] = None,
                     sigma_id: Optional[str] = None,
                     entity_selectors: Optional[Sequence[CseSigmaRuleEntitySelectorArgs]] = None,
                     cse_sigma_rule_id: Optional[str] = None,
                     expression: Optional[str] = None,
                     is_prototype: Optional[bool] = None,
                     name: Optional[str] = None,
                     name_expression: Optional[str] = None,
                     severity_mapping: Optional[CseSigmaRuleSeverityMappingArgs] = None,
                     description_expression: Optional[str] = None,
                     summary_expression: Optional[str] = None,
                     suppression_window_size: Optional[float] = None,
                     tags: Optional[Sequence[str]] = None)
    func NewCseSigmaRule(ctx *Context, name string, args CseSigmaRuleArgs, opts ...ResourceOption) (*CseSigmaRule, error)
    public CseSigmaRule(string name, CseSigmaRuleArgs args, CustomResourceOptions? opts = null)
    public CseSigmaRule(String name, CseSigmaRuleArgs args)
    public CseSigmaRule(String name, CseSigmaRuleArgs args, CustomResourceOptions options)
    
    type: sumologic:CseSigmaRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sumologic_cse_sigma_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CseSigmaRuleArgs
    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 CseSigmaRuleArgs
    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 CseSigmaRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CseSigmaRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CseSigmaRuleArgs
    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 cseSigmaRuleResource = new Sumologic.CseSigmaRule("cseSigmaRuleResource", new()
    {
        Enabled = false,
        SigmaId = "string",
        EntitySelectors = new[]
        {
            new Sumologic.Inputs.CseSigmaRuleEntitySelectorArgs
            {
                EntityType = "string",
                Expression = "string",
            },
        },
        CseSigmaRuleId = "string",
        Expression = "string",
        IsPrototype = false,
        Name = "string",
        NameExpression = "string",
        SeverityMapping = new Sumologic.Inputs.CseSigmaRuleSeverityMappingArgs
        {
            Type = "string",
            Default = 0.0,
            Field = "string",
            Mappings = new[]
            {
                new Sumologic.Inputs.CseSigmaRuleSeverityMappingMappingArgs
                {
                    From = "string",
                    To = 0.0,
                    Type = "string",
                },
            },
        },
        DescriptionExpression = "string",
        SummaryExpression = "string",
        SuppressionWindowSize = 0.0,
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := sumologic.NewCseSigmaRule(ctx, "cseSigmaRuleResource", &sumologic.CseSigmaRuleArgs{
    	Enabled: pulumi.Bool(false),
    	SigmaId: pulumi.String("string"),
    	EntitySelectors: sumologic.CseSigmaRuleEntitySelectorArray{
    		&sumologic.CseSigmaRuleEntitySelectorArgs{
    			EntityType: pulumi.String("string"),
    			Expression: pulumi.String("string"),
    		},
    	},
    	CseSigmaRuleId: pulumi.String("string"),
    	Expression:     pulumi.String("string"),
    	IsPrototype:    pulumi.Bool(false),
    	Name:           pulumi.String("string"),
    	NameExpression: pulumi.String("string"),
    	SeverityMapping: &sumologic.CseSigmaRuleSeverityMappingArgs{
    		Type:    pulumi.String("string"),
    		Default: pulumi.Float64(0),
    		Field:   pulumi.String("string"),
    		Mappings: sumologic.CseSigmaRuleSeverityMappingMappingArray{
    			&sumologic.CseSigmaRuleSeverityMappingMappingArgs{
    				From: pulumi.String("string"),
    				To:   pulumi.Float64(0),
    				Type: pulumi.String("string"),
    			},
    		},
    	},
    	DescriptionExpression: pulumi.String("string"),
    	SummaryExpression:     pulumi.String("string"),
    	SuppressionWindowSize: pulumi.Float64(0),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "sumologic_cse_sigma_rule" "cseSigmaRuleResource" {
      lifecycle {
        create_before_destroy = true
      }
      enabled  = false
      sigma_id = "string"
      entity_selectors {
        entity_type = "string"
        expression  = "string"
      }
      cse_sigma_rule_id = "string"
      expression        = "string"
      is_prototype      = false
      name              = "string"
      name_expression   = "string"
      severity_mapping = {
        type    = "string"
        default = 0
        field   = "string"
        mappings = [{
          from = "string"
          to   = 0
          type = "string"
        }]
      }
      description_expression  = "string"
      summary_expression      = "string"
      suppression_window_size = 0
      tags                    = ["string"]
    }
    
    var cseSigmaRuleResource = new CseSigmaRule("cseSigmaRuleResource", CseSigmaRuleArgs.builder()
        .enabled(false)
        .sigmaId("string")
        .entitySelectors(CseSigmaRuleEntitySelectorArgs.builder()
            .entityType("string")
            .expression("string")
            .build())
        .cseSigmaRuleId("string")
        .expression("string")
        .isPrototype(false)
        .name("string")
        .nameExpression("string")
        .severityMapping(CseSigmaRuleSeverityMappingArgs.builder()
            .type("string")
            .default_(0.0)
            .field("string")
            .mappings(CseSigmaRuleSeverityMappingMappingArgs.builder()
                .from("string")
                .to(0.0)
                .type("string")
                .build())
            .build())
        .descriptionExpression("string")
        .summaryExpression("string")
        .suppressionWindowSize(0.0)
        .tags("string")
        .build());
    
    cse_sigma_rule_resource = sumologic.CseSigmaRule("cseSigmaRuleResource",
        enabled=False,
        sigma_id="string",
        entity_selectors=[{
            "entity_type": "string",
            "expression": "string",
        }],
        cse_sigma_rule_id="string",
        expression="string",
        is_prototype=False,
        name="string",
        name_expression="string",
        severity_mapping={
            "type": "string",
            "default": float(0),
            "field": "string",
            "mappings": [{
                "from_": "string",
                "to": float(0),
                "type": "string",
            }],
        },
        description_expression="string",
        summary_expression="string",
        suppression_window_size=float(0),
        tags=["string"])
    
    const cseSigmaRuleResource = new sumologic.CseSigmaRule("cseSigmaRuleResource", {
        enabled: false,
        sigmaId: "string",
        entitySelectors: [{
            entityType: "string",
            expression: "string",
        }],
        cseSigmaRuleId: "string",
        expression: "string",
        isPrototype: false,
        name: "string",
        nameExpression: "string",
        severityMapping: {
            type: "string",
            "default": 0,
            field: "string",
            mappings: [{
                from: "string",
                to: 0,
                type: "string",
            }],
        },
        descriptionExpression: "string",
        summaryExpression: "string",
        suppressionWindowSize: 0,
        tags: ["string"],
    });
    
    type: sumologic:CseSigmaRule
    properties:
        cseSigmaRuleId: string
        descriptionExpression: string
        enabled: false
        entitySelectors:
            - entityType: string
              expression: string
        expression: string
        isPrototype: false
        name: string
        nameExpression: string
        severityMapping:
            default: 0
            field: string
            mappings:
                - from: string
                  to: 0
                  type: string
            type: string
        sigmaId: string
        summaryExpression: string
        suppressionWindowSize: 0
        tags:
            - string
    

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

    Enabled bool
    Whether the rule should generate Signals
    SigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    CseSigmaRuleId string
    The internal ID of the rule.
    DescriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    EntitySelectors List<CseSigmaRuleEntitySelector>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    Expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    IsPrototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    Name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    NameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    SeverityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    SummaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    SuppressionWindowSize double

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    Tags List<string>
    The tags of the generated Signals. Defaults to the converted Sigma value.
    Enabled bool
    Whether the rule should generate Signals
    SigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    CseSigmaRuleId string
    The internal ID of the rule.
    DescriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    EntitySelectors []CseSigmaRuleEntitySelectorArgs
    The entities to generate Signals on. Defaults to the converted Sigma value.
    Expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    IsPrototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    Name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    NameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    SeverityMapping CseSigmaRuleSeverityMappingArgs
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    SummaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    SuppressionWindowSize float64

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    Tags []string
    The tags of the generated Signals. Defaults to the converted Sigma value.
    enabled bool
    Whether the rule should generate Signals
    sigma_id string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    cse_sigma_rule_id string
    The internal ID of the rule.
    description_expression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    entity_selectors list(object)
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    is_prototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    name_expression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    severity_mapping object
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    summary_expression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppression_window_size number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags list(string)
    The tags of the generated Signals. Defaults to the converted Sigma value.
    enabled Boolean
    Whether the rule should generate Signals
    sigmaId String
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    cseSigmaRuleId String
    The internal ID of the rule.
    descriptionExpression String
    The description of the generated Signals. Defaults to the converted Sigma value.
    entitySelectors List<CseSigmaRuleEntitySelector>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression String
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype Boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name String
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression String
    The name of the generated Signals. Defaults to the converted Sigma value.
    severityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    summaryExpression String
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize Double

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags List<String>
    The tags of the generated Signals. Defaults to the converted Sigma value.
    enabled boolean
    Whether the rule should generate Signals
    sigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    cseSigmaRuleId string
    The internal ID of the rule.
    descriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    entitySelectors CseSigmaRuleEntitySelector[]
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    severityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    summaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags string[]
    The tags of the generated Signals. Defaults to the converted Sigma value.
    enabled bool
    Whether the rule should generate Signals
    sigma_id str
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    cse_sigma_rule_id str
    The internal ID of the rule.
    description_expression str
    The description of the generated Signals. Defaults to the converted Sigma value.
    entity_selectors Sequence[CseSigmaRuleEntitySelectorArgs]
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression str
    The expression for which records to match on. Defaults to the converted Sigma value.
    is_prototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name str
    The name of the Rule. Defaults to the name of the Sigma rule.
    name_expression str
    The name of the generated Signals. Defaults to the converted Sigma value.
    severity_mapping CseSigmaRuleSeverityMappingArgs
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    summary_expression str
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppression_window_size float

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags Sequence[str]
    The tags of the generated Signals. Defaults to the converted Sigma value.
    enabled Boolean
    Whether the rule should generate Signals
    sigmaId String
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    cseSigmaRuleId String
    The internal ID of the rule.
    descriptionExpression String
    The description of the generated Signals. Defaults to the converted Sigma value.
    entitySelectors List<Property Map>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression String
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype Boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name String
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression String
    The name of the generated Signals. Defaults to the converted Sigma value.
    severityMapping Property Map
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    summaryExpression String
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize Number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags List<String>
    The tags of the generated Signals. Defaults to the converted Sigma value.

    Outputs

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

    Category string
    The category of the rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginalSource string
    The original source of the rule. Always sigma.
    Category string
    The category of the rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginalSource string
    The original source of the rule. Always sigma.
    category string
    The category of the rule.
    id string
    The provider-assigned unique ID for this managed resource.
    original_source string
    The original source of the rule. Always sigma.
    category String
    The category of the rule.
    id String
    The provider-assigned unique ID for this managed resource.
    originalSource String
    The original source of the rule. Always sigma.
    category string
    The category of the rule.
    id string
    The provider-assigned unique ID for this managed resource.
    originalSource string
    The original source of the rule. Always sigma.
    category str
    The category of the rule.
    id str
    The provider-assigned unique ID for this managed resource.
    original_source str
    The original source of the rule. Always sigma.
    category String
    The category of the rule.
    id String
    The provider-assigned unique ID for this managed resource.
    originalSource String
    The original source of the rule. Always sigma.

    Look up Existing CseSigmaRule Resource

    Get an existing CseSigmaRule 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?: CseSigmaRuleState, opts?: CustomResourceOptions): CseSigmaRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            category: Optional[str] = None,
            cse_sigma_rule_id: Optional[str] = None,
            description_expression: Optional[str] = None,
            enabled: Optional[bool] = None,
            entity_selectors: Optional[Sequence[CseSigmaRuleEntitySelectorArgs]] = None,
            expression: Optional[str] = None,
            is_prototype: Optional[bool] = None,
            name: Optional[str] = None,
            name_expression: Optional[str] = None,
            original_source: Optional[str] = None,
            severity_mapping: Optional[CseSigmaRuleSeverityMappingArgs] = None,
            sigma_id: Optional[str] = None,
            summary_expression: Optional[str] = None,
            suppression_window_size: Optional[float] = None,
            tags: Optional[Sequence[str]] = None) -> CseSigmaRule
    func GetCseSigmaRule(ctx *Context, name string, id IDInput, state *CseSigmaRuleState, opts ...ResourceOption) (*CseSigmaRule, error)
    public static CseSigmaRule Get(string name, Input<string> id, CseSigmaRuleState? state, CustomResourceOptions? opts = null)
    public static CseSigmaRule get(String name, Output<String> id, CseSigmaRuleState state, CustomResourceOptions options)
    resources:  _:    type: sumologic:CseSigmaRule    get:      id: ${id}
    import {
      to = sumologic_cse_sigma_rule.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:
    Category string
    The category of the rule.
    CseSigmaRuleId string
    The internal ID of the rule.
    DescriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    Enabled bool
    Whether the rule should generate Signals
    EntitySelectors List<CseSigmaRuleEntitySelector>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    Expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    IsPrototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    Name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    NameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    OriginalSource string
    The original source of the rule. Always sigma.
    SeverityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    SigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    SummaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    SuppressionWindowSize double

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    Tags List<string>
    The tags of the generated Signals. Defaults to the converted Sigma value.
    Category string
    The category of the rule.
    CseSigmaRuleId string
    The internal ID of the rule.
    DescriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    Enabled bool
    Whether the rule should generate Signals
    EntitySelectors []CseSigmaRuleEntitySelectorArgs
    The entities to generate Signals on. Defaults to the converted Sigma value.
    Expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    IsPrototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    Name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    NameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    OriginalSource string
    The original source of the rule. Always sigma.
    SeverityMapping CseSigmaRuleSeverityMappingArgs
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    SigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    SummaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    SuppressionWindowSize float64

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    Tags []string
    The tags of the generated Signals. Defaults to the converted Sigma value.
    category string
    The category of the rule.
    cse_sigma_rule_id string
    The internal ID of the rule.
    description_expression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    enabled bool
    Whether the rule should generate Signals
    entity_selectors list(object)
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    is_prototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    name_expression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    original_source string
    The original source of the rule. Always sigma.
    severity_mapping object
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    sigma_id string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    summary_expression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppression_window_size number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags list(string)
    The tags of the generated Signals. Defaults to the converted Sigma value.
    category String
    The category of the rule.
    cseSigmaRuleId String
    The internal ID of the rule.
    descriptionExpression String
    The description of the generated Signals. Defaults to the converted Sigma value.
    enabled Boolean
    Whether the rule should generate Signals
    entitySelectors List<CseSigmaRuleEntitySelector>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression String
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype Boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name String
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression String
    The name of the generated Signals. Defaults to the converted Sigma value.
    originalSource String
    The original source of the rule. Always sigma.
    severityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    sigmaId String
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    summaryExpression String
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize Double

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags List<String>
    The tags of the generated Signals. Defaults to the converted Sigma value.
    category string
    The category of the rule.
    cseSigmaRuleId string
    The internal ID of the rule.
    descriptionExpression string
    The description of the generated Signals. Defaults to the converted Sigma value.
    enabled boolean
    Whether the rule should generate Signals
    entitySelectors CseSigmaRuleEntitySelector[]
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression string
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name string
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression string
    The name of the generated Signals. Defaults to the converted Sigma value.
    originalSource string
    The original source of the rule. Always sigma.
    severityMapping CseSigmaRuleSeverityMapping
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    sigmaId string
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    summaryExpression string
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags string[]
    The tags of the generated Signals. Defaults to the converted Sigma value.
    category str
    The category of the rule.
    cse_sigma_rule_id str
    The internal ID of the rule.
    description_expression str
    The description of the generated Signals. Defaults to the converted Sigma value.
    enabled bool
    Whether the rule should generate Signals
    entity_selectors Sequence[CseSigmaRuleEntitySelectorArgs]
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression str
    The expression for which records to match on. Defaults to the converted Sigma value.
    is_prototype bool
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name str
    The name of the Rule. Defaults to the name of the Sigma rule.
    name_expression str
    The name of the generated Signals. Defaults to the converted Sigma value.
    original_source str
    The original source of the rule. Always sigma.
    severity_mapping CseSigmaRuleSeverityMappingArgs
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    sigma_id str
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    summary_expression str
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppression_window_size float

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags Sequence[str]
    The tags of the generated Signals. Defaults to the converted Sigma value.
    category String
    The category of the rule.
    cseSigmaRuleId String
    The internal ID of the rule.
    descriptionExpression String
    The description of the generated Signals. Defaults to the converted Sigma value.
    enabled Boolean
    Whether the rule should generate Signals
    entitySelectors List<Property Map>
    The entities to generate Signals on. Defaults to the converted Sigma value.
    expression String
    The expression for which records to match on. Defaults to the converted Sigma value.
    isPrototype Boolean
    Whether the generated Signals should be prototype Signals. Defaults to the converted Sigma value.
    name String
    The name of the Rule. Defaults to the name of the Sigma rule.
    nameExpression String
    The name of the generated Signals. Defaults to the converted Sigma value.
    originalSource String
    The original source of the rule. Always sigma.
    severityMapping Property Map
    The configuration of how the severity of the Signals should be mapped from the Records. Defaults to the converted Sigma value.
    sigmaId String
    The ID (UUID) of the Sigma rule to import. Changing this forces a new rule to be created.
    summaryExpression String
    The summary of the generated Signals. Defaults to the converted Sigma value.
    suppressionWindowSize Number

    For how long to suppress Signal generation, in milliseconds. Must be between 0 and the global limit of 7 days.

    The following attributes are exported:

    tags List<String>
    The tags of the generated Signals. Defaults to the converted Sigma value.

    Supporting Types

    CseSigmaRuleEntitySelector, CseSigmaRuleEntitySelectorArgs

    EntityType string
    The type of the entity to generate the Signal on.
    Expression string
    The expression or field name to generate the Signal on.
    EntityType string
    The type of the entity to generate the Signal on.
    Expression string
    The expression or field name to generate the Signal on.
    entity_type string
    The type of the entity to generate the Signal on.
    expression string
    The expression or field name to generate the Signal on.
    entityType String
    The type of the entity to generate the Signal on.
    expression String
    The expression or field name to generate the Signal on.
    entityType string
    The type of the entity to generate the Signal on.
    expression string
    The expression or field name to generate the Signal on.
    entity_type str
    The type of the entity to generate the Signal on.
    expression str
    The expression or field name to generate the Signal on.
    entityType String
    The type of the entity to generate the Signal on.
    expression String
    The expression or field name to generate the Signal on.

    CseSigmaRuleSeverityMapping, CseSigmaRuleSeverityMappingArgs

    Type string
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    Default double
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    Field string
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    Mappings List<CseSigmaRuleSeverityMappingMapping>
    The map of record values to severities to use in the "fieldValueMapping" case
    Type string
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    Default float64
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    Field string
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    Mappings []CseSigmaRuleSeverityMappingMapping
    The map of record values to severities to use in the "fieldValueMapping" case
    type string
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    default number
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    field string
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    mappings list(object)
    The map of record values to severities to use in the "fieldValueMapping" case
    type String
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    default_ Double
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    field String
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    mappings List<CseSigmaRuleSeverityMappingMapping>
    The map of record values to severities to use in the "fieldValueMapping" case
    type string
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    default number
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    field string
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    mappings CseSigmaRuleSeverityMappingMapping[]
    The map of record values to severities to use in the "fieldValueMapping" case
    type str
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    default float
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    field str
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    mappings Sequence[CseSigmaRuleSeverityMappingMapping]
    The map of record values to severities to use in the "fieldValueMapping" case
    type String
    Whether to set a constant severity ("constant"), set the severity based on the direct value of a record field ("fieldValue"), or map a record field value to a severity ("fieldValueMapping").
    default Number
    The severity to use in the "constant" case or to fall back to if the field used by "fieldValue"/"fieldValueMapping" is not populated.
    field String
    The field to use in the "fieldValue"/"fieldValueMapping" cases.
    mappings List<Property Map>
    The map of record values to severities to use in the "fieldValueMapping" case

    CseSigmaRuleSeverityMappingMapping, CseSigmaRuleSeverityMappingMappingArgs

    From string
    The record value to map from
    To double
    The severity value to map to
    Type string
    Must be set to "eq" currently
    From string
    The record value to map from
    To float64
    The severity value to map to
    Type string
    Must be set to "eq" currently
    from string
    The record value to map from
    to number
    The severity value to map to
    type string
    Must be set to "eq" currently
    from String
    The record value to map from
    to Double
    The severity value to map to
    type String
    Must be set to "eq" currently
    from string
    The record value to map from
    to number
    The severity value to map to
    type string
    Must be set to "eq" currently
    from_ str
    The record value to map from
    to float
    The severity value to map to
    type str
    Must be set to "eq" currently
    from String
    The record value to map from
    to Number
    The severity value to map to
    type String
    Must be set to "eq" currently

    Import

    Importing is not supported, because the Sigma ID cannot be read back from an existing rule.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Sumo Logic sumologic/terraform-provider-sumologic
    License
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Viewing docs for sumologic 3.3.8
    published on Wednesday, Nov 11, 2026 by sumologic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial