Sumo Logic v0.14.0, May 25 23
Sumo Logic v0.14.0, May 25 23
sumologic.CseCustomInsight
Explore with Pulumi AI
Provides a Sumo Logic CSE Custom Insight.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var customInsight = new SumoLogic.CseCustomInsight("customInsight", new()
{
Description = "Insight description",
Enabled = true,
Ordered = true,
RuleIds = new[]
{
"MATCH-S00001",
"THRESHOLD-U00005",
},
Severity = "HIGH",
SignalNames = new[]
{
"Some Signal Name",
"Wildcard Signal Name *",
},
Tags = new[]
{
"_mitreAttackTactic:TA0009",
},
});
});
package main
import (
"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewCseCustomInsight(ctx, "customInsight", &sumologic.CseCustomInsightArgs{
Description: pulumi.String("Insight description"),
Enabled: pulumi.Bool(true),
Ordered: pulumi.Bool(true),
RuleIds: pulumi.StringArray{
pulumi.String("MATCH-S00001"),
pulumi.String("THRESHOLD-U00005"),
},
Severity: pulumi.String("HIGH"),
SignalNames: pulumi.StringArray{
pulumi.String("Some Signal Name"),
pulumi.String("Wildcard Signal Name *"),
},
Tags: pulumi.StringArray{
pulumi.String("_mitreAttackTactic:TA0009"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.CseCustomInsight;
import com.pulumi.sumologic.CseCustomInsightArgs;
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 customInsight = new CseCustomInsight("customInsight", CseCustomInsightArgs.builder()
.description("Insight description")
.enabled(true)
.ordered(true)
.ruleIds(
"MATCH-S00001",
"THRESHOLD-U00005")
.severity("HIGH")
.signalNames(
"Some Signal Name",
"Wildcard Signal Name *")
.tags("_mitreAttackTactic:TA0009")
.build());
}
}
import pulumi
import pulumi_sumologic as sumologic
custom_insight = sumologic.CseCustomInsight("customInsight",
description="Insight description",
enabled=True,
ordered=True,
rule_ids=[
"MATCH-S00001",
"THRESHOLD-U00005",
],
severity="HIGH",
signal_names=[
"Some Signal Name",
"Wildcard Signal Name *",
],
tags=["_mitreAttackTactic:TA0009"])
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const customInsight = new sumologic.CseCustomInsight("customInsight", {
description: "Insight description",
enabled: true,
ordered: true,
ruleIds: [
"MATCH-S00001",
"THRESHOLD-U00005",
],
severity: "HIGH",
signalNames: [
"Some Signal Name",
"Wildcard Signal Name *",
],
tags: ["_mitreAttackTactic:TA0009"],
});
resources:
customInsight:
type: sumologic:CseCustomInsight
properties:
description: Insight description
enabled: true
ordered: true
ruleIds:
- MATCH-S00001
- THRESHOLD-U00005
severity: HIGH
signalNames:
- Some Signal Name
- Wildcard Signal Name *
tags:
- _mitreAttackTactic:TA0009
Create CseCustomInsight Resource
new CseCustomInsight(name: string, args: CseCustomInsightArgs, opts?: CustomResourceOptions);
@overload
def CseCustomInsight(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
ordered: Optional[bool] = None,
rule_ids: Optional[Sequence[str]] = None,
severity: Optional[str] = None,
signal_names: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None)
@overload
def CseCustomInsight(resource_name: str,
args: CseCustomInsightArgs,
opts: Optional[ResourceOptions] = None)
func NewCseCustomInsight(ctx *Context, name string, args CseCustomInsightArgs, opts ...ResourceOption) (*CseCustomInsight, error)
public CseCustomInsight(string name, CseCustomInsightArgs args, CustomResourceOptions? opts = null)
public CseCustomInsight(String name, CseCustomInsightArgs args)
public CseCustomInsight(String name, CseCustomInsightArgs args, CustomResourceOptions options)
type: sumologic:CseCustomInsight
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CseCustomInsightArgs
- 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 CseCustomInsightArgs
- 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 CseCustomInsightArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CseCustomInsightArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CseCustomInsightArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CseCustomInsight Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CseCustomInsight resource accepts the following input properties:
- Description string
The description of the generated Insights
- Enabled bool
Whether the Custom Insight should generate Insights
- Ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- Severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- List<string>
The tags of the generated Insights
The following attributes are exported:
- Name string
The name of the Custom Insight and the generated Insights
- Rule
Ids List<string> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Signal
Names List<string> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Description string
The description of the generated Insights
- Enabled bool
Whether the Custom Insight should generate Insights
- Ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- Severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- []string
The tags of the generated Insights
The following attributes are exported:
- Name string
The name of the Custom Insight and the generated Insights
- Rule
Ids []string The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Signal
Names []string The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- description String
The description of the generated Insights
- enabled Boolean
Whether the Custom Insight should generate Insights
- ordered Boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- severity String
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- List<String>
The tags of the generated Insights
The following attributes are exported:
- name String
The name of the Custom Insight and the generated Insights
- rule
Ids List<String> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- signal
Names List<String> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- description string
The description of the generated Insights
- enabled boolean
Whether the Custom Insight should generate Insights
- ordered boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- string[]
The tags of the generated Insights
The following attributes are exported:
- name string
The name of the Custom Insight and the generated Insights
- rule
Ids string[] The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- signal
Names string[] The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- description str
The description of the generated Insights
- enabled bool
Whether the Custom Insight should generate Insights
- ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- severity str
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- Sequence[str]
The tags of the generated Insights
The following attributes are exported:
- name str
The name of the Custom Insight and the generated Insights
- rule_
ids Sequence[str] The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- signal_
names Sequence[str] The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- description String
The description of the generated Insights
- enabled Boolean
Whether the Custom Insight should generate Insights
- ordered Boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- severity String
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- List<String>
The tags of the generated Insights
The following attributes are exported:
- name String
The name of the Custom Insight and the generated Insights
- rule
Ids List<String> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- signal
Names List<String> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
Outputs
All input properties are implicitly available as output properties. Additionally, the CseCustomInsight 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 CseCustomInsight Resource
Get an existing CseCustomInsight 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?: CseCustomInsightState, opts?: CustomResourceOptions): CseCustomInsight
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
ordered: Optional[bool] = None,
rule_ids: Optional[Sequence[str]] = None,
severity: Optional[str] = None,
signal_names: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None) -> CseCustomInsight
func GetCseCustomInsight(ctx *Context, name string, id IDInput, state *CseCustomInsightState, opts ...ResourceOption) (*CseCustomInsight, error)
public static CseCustomInsight Get(string name, Input<string> id, CseCustomInsightState? state, CustomResourceOptions? opts = null)
public static CseCustomInsight get(String name, Output<String> id, CseCustomInsightState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Description string
The description of the generated Insights
- Enabled bool
Whether the Custom Insight should generate Insights
- Name string
The name of the Custom Insight and the generated Insights
- Ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- Rule
Ids List<string> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- Signal
Names List<string> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- List<string>
The tags of the generated Insights
The following attributes are exported:
- Description string
The description of the generated Insights
- Enabled bool
Whether the Custom Insight should generate Insights
- Name string
The name of the Custom Insight and the generated Insights
- Ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- Rule
Ids []string The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- Signal
Names []string The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- []string
The tags of the generated Insights
The following attributes are exported:
- description String
The description of the generated Insights
- enabled Boolean
Whether the Custom Insight should generate Insights
- name String
The name of the Custom Insight and the generated Insights
- ordered Boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- rule
Ids List<String> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- severity String
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- signal
Names List<String> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- List<String>
The tags of the generated Insights
The following attributes are exported:
- description string
The description of the generated Insights
- enabled boolean
Whether the Custom Insight should generate Insights
- name string
The name of the Custom Insight and the generated Insights
- ordered boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- rule
Ids string[] The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- severity string
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- signal
Names string[] The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- string[]
The tags of the generated Insights
The following attributes are exported:
- description str
The description of the generated Insights
- enabled bool
Whether the Custom Insight should generate Insights
- name str
The name of the Custom Insight and the generated Insights
- ordered bool
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- rule_
ids Sequence[str] The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- severity str
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- signal_
names Sequence[str] The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- Sequence[str]
The tags of the generated Insights
The following attributes are exported:
- description String
The description of the generated Insights
- enabled Boolean
Whether the Custom Insight should generate Insights
- name String
The name of the Custom Insight and the generated Insights
- ordered Boolean
Whether the signals matching the rule IDs/signal names must be in the same chronological order as they are listed in the Custom Insight
- rule
Ids List<String> The Rule IDs to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- severity String
The severity of the generated Insights (HIGH, MEDIUM, or LOW)
- signal
Names List<String> The Signal names to match to generate an Insight (exactly one of rule_ids or signal_names must be specified)
- List<String>
The tags of the generated Insights
The following attributes are exported:
Import
Custom Insights can be imported using the field id, e.g.hcl
$ pulumi import sumologic:index/cseCustomInsight:CseCustomInsight custom_insight id
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
sumologic
Terraform Provider.