1. Registry
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. getKibanaAlertingRules
Viewing docs for elasticstack 0.17.0
published on Tuesday, Nov 10, 2026 by elastic
elasticstack
Viewing docs for elasticstack 0.17.0
published on Tuesday, Nov 10, 2026 by elastic

    Reads Kibana alerting rules in a space, either one rule by ID or the rules selected by a KQL filter.

    last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them. A rule that has never executed, or whose last execution time cannot be parsed, has a null last_execution_date. A rule with no tags has tags as an empty set.

    This data source replaces the removed last_execution_status and last_execution_date attributes on the elasticstack.KibanaAlertingRule resource.

    In a space with many rules, set filter so each read does not page through every rule.

    Example Usage

    Look up one rule and read its last execution status

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const exampleKibanaAlertingRule = new elasticstack.KibanaAlertingRule("example", {
        name: "example-rule",
        consumer: "alerts",
        notifyWhen: "onActiveAlert",
        ruleTypeId: ".index-threshold",
        interval: "1m",
        enabled: true,
        params: JSON.stringify({
            aggType: "avg",
            groupBy: "top",
            termSize: 10,
            timeWindowSize: 10,
            timeWindowUnit: "s",
            threshold: [10],
            thresholdComparator: ">",
            index: ["test-index"],
            timeField: "@timestamp",
            aggField: "version",
            termField: "name",
        }),
    });
    const example = elasticstack.getKibanaAlertingRulesOutput({
        ruleId: exampleKibanaAlertingRule.ruleId,
    });
    export const lastExecutionStatus = example.apply(example => example.rules?.[0]?.lastExecutionStatus);
    
    import pulumi
    import json
    import pulumi_elasticstack as elasticstack
    
    example_kibana_alerting_rule = elasticstack.KibanaAlertingRule("example",
        name="example-rule",
        consumer="alerts",
        notify_when="onActiveAlert",
        rule_type_id=".index-threshold",
        interval="1m",
        enabled=True,
        params=json.dumps({
            "aggType": "avg",
            "groupBy": "top",
            "termSize": 10,
            "timeWindowSize": 10,
            "timeWindowUnit": "s",
            "threshold": [10],
            "thresholdComparator": ">",
            "index": ["test-index"],
            "timeField": "@timestamp",
            "aggField": "version",
            "termField": "name",
        }))
    example = elasticstack.get_kibana_alerting_rules_output(rule_id=example_kibana_alerting_rule.rule_id)
    pulumi.export("lastExecutionStatus", example.rules[0].last_execution_status)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"aggType":        "avg",
    			"groupBy":        "top",
    			"termSize":       10,
    			"timeWindowSize": 10,
    			"timeWindowUnit": "s",
    			"threshold": []float64{
    				10,
    			},
    			"thresholdComparator": ">",
    			"index": []string{
    				"test-index",
    			},
    			"timeField": "@timestamp",
    			"aggField":  "version",
    			"termField": "name",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		exampleKibanaAlertingRule, err := elasticstack.NewKibanaAlertingRule(ctx, "example", &elasticstack.KibanaAlertingRuleArgs{
    			Name:       pulumi.String("example-rule"),
    			Consumer:   pulumi.String("alerts"),
    			NotifyWhen: pulumi.String("onActiveAlert"),
    			RuleTypeId: pulumi.String(".index-threshold"),
    			Interval:   pulumi.String("1m"),
    			Enabled:    pulumi.Bool(true),
    			Params:     pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		example := elasticstack.GetKibanaAlertingRulesOutput(ctx, elasticstack.GetKibanaAlertingRulesOutputArgs{
    			RuleId: exampleKibanaAlertingRule.RuleId,
    		}, nil)
    		ctx.Export("lastExecutionStatus", example.ApplyT(func(example elasticstack.GetKibanaAlertingRulesResult) (*string, error) {
    			return &example.Rules[0].LastExecutionStatus, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Elasticstack = Pulumi.Elasticstack;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleKibanaAlertingRule = new Elasticstack.KibanaAlertingRule("example", new()
        {
            Name = "example-rule",
            Consumer = "alerts",
            NotifyWhen = "onActiveAlert",
            RuleTypeId = ".index-threshold",
            Interval = "1m",
            Enabled = true,
            Params = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["aggType"] = "avg",
                ["groupBy"] = "top",
                ["termSize"] = 10,
                ["timeWindowSize"] = 10,
                ["timeWindowUnit"] = "s",
                ["threshold"] = new[]
                {
                    10,
                },
                ["thresholdComparator"] = ">",
                ["index"] = new[]
                {
                    "test-index",
                },
                ["timeField"] = "@timestamp",
                ["aggField"] = "version",
                ["termField"] = "name",
            }),
        });
    
        var example = Elasticstack.GetKibanaAlertingRules.Invoke(new()
        {
            RuleId = exampleKibanaAlertingRule.RuleId,
        });
    
        return new Dictionary<string, object?>
        {
            ["lastExecutionStatus"] = example.Apply(getKibanaAlertingRulesResult => getKibanaAlertingRulesResult.Rules[0]?.LastExecutionStatus),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.KibanaAlertingRule;
    import com.pulumi.elasticstack.KibanaAlertingRuleArgs;
    import com.pulumi.elasticstack.ElasticstackFunctions;
    import com.pulumi.elasticstack.inputs.GetKibanaAlertingRulesArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 exampleKibanaAlertingRule = new KibanaAlertingRule("exampleKibanaAlertingRule", KibanaAlertingRuleArgs.builder()
                .name("example-rule")
                .consumer("alerts")
                .notifyWhen("onActiveAlert")
                .ruleTypeId(".index-threshold")
                .interval("1m")
                .enabled(true)
                .params(serializeJson(
                    jsonObject(
                        jsonProperty("aggType", "avg"),
                        jsonProperty("groupBy", "top"),
                        jsonProperty("termSize", 10),
                        jsonProperty("timeWindowSize", 10),
                        jsonProperty("timeWindowUnit", "s"),
                        jsonProperty("threshold", jsonArray(10)),
                        jsonProperty("thresholdComparator", ">"),
                        jsonProperty("index", jsonArray("test-index")),
                        jsonProperty("timeField", "@timestamp"),
                        jsonProperty("aggField", "version"),
                        jsonProperty("termField", "name")
                    )))
                .build());
    
            final var example = ElasticstackFunctions.getKibanaAlertingRules(GetKibanaAlertingRulesArgs.builder()
                .ruleId(exampleKibanaAlertingRule.ruleId())
                .build());
    
            ctx.export("lastExecutionStatus", example.applyValue(_example -> _example.rules()[0].lastExecutionStatus()));
        }
    }
    
    resources:
      exampleKibanaAlertingRule:
        type: elasticstack:KibanaAlertingRule
        name: example
        properties:
          name: example-rule
          consumer: alerts
          notifyWhen: onActiveAlert
          ruleTypeId: .index-threshold
          interval: 1m
          enabled: true
          params:
            fn::toJSON:
              aggType: avg
              groupBy: top
              termSize: 10
              timeWindowSize: 10
              timeWindowUnit: s
              threshold:
                - 10
              thresholdComparator: '>'
              index:
                - test-index
              timeField: '@timestamp'
              aggField: version
              termField: name
    variables:
      example:
        fn::invoke:
          function: elasticstack:getKibanaAlertingRules
          arguments:
            ruleId: ${exampleKibanaAlertingRule.ruleId}
    outputs:
      lastExecutionStatus: ${example.rules[0].lastExecutionStatus}
    
    Example coming soon!
    

    Using getKibanaAlertingRules

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKibanaAlertingRules(args: GetKibanaAlertingRulesArgs, opts?: InvokeOptions): Promise<GetKibanaAlertingRulesResult>
    function getKibanaAlertingRulesOutput(args: GetKibanaAlertingRulesOutputArgs, opts?: InvokeOutputOptions): Output<GetKibanaAlertingRulesResult>
    def get_kibana_alerting_rules(filter: Optional[str] = None,
                                  kibana_connections: Optional[Sequence[GetKibanaAlertingRulesKibanaConnection]] = None,
                                  rule_id: Optional[str] = None,
                                  space_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetKibanaAlertingRulesResult
    def get_kibana_alerting_rules_output(filter: pulumi.Input[Optional[str]] = None,
                                  kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetKibanaAlertingRulesKibanaConnectionArgs]]]] = None,
                                  rule_id: pulumi.Input[Optional[str]] = None,
                                  space_id: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetKibanaAlertingRulesResult]
    func GetKibanaAlertingRules(ctx *Context, args *GetKibanaAlertingRulesArgs, opts ...InvokeOption) (*GetKibanaAlertingRulesResult, error)
    func GetKibanaAlertingRulesOutput(ctx *Context, args *GetKibanaAlertingRulesOutputArgs, opts ...InvokeOption) GetKibanaAlertingRulesResultOutput

    > Note: This function is named GetKibanaAlertingRules in the Go SDK.

    public static class GetKibanaAlertingRules 
    {
        public static Task<GetKibanaAlertingRulesResult> InvokeAsync(GetKibanaAlertingRulesArgs args, InvokeOptions? opts = null)
        public static Output<GetKibanaAlertingRulesResult> Invoke(GetKibanaAlertingRulesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetKibanaAlertingRulesResult> Invoke(GetKibanaAlertingRulesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOptions options)
    public static Output<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOptions options)
    public static Output<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: elasticstack:index/getKibanaAlertingRules:getKibanaAlertingRules
      arguments:
        # arguments dictionary
    data "elasticstack_get_kibana_alerting_rules" "name" {
        # arguments
    }

    The following arguments are supported:

    Filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    KibanaConnections List<GetKibanaAlertingRulesKibanaConnection>
    Kibana connection configuration block.
    RuleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    SpaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    Filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    KibanaConnections []GetKibanaAlertingRulesKibanaConnection
    Kibana connection configuration block.
    RuleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    SpaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibana_connections list(object)
    Kibana connection configuration block.
    rule_id string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    space_id string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter String
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections List<GetKibanaAlertingRulesKibanaConnection>
    Kibana connection configuration block.
    ruleId String
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    spaceId String
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections GetKibanaAlertingRulesKibanaConnection[]
    Kibana connection configuration block.
    ruleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    spaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter str
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibana_connections Sequence[GetKibanaAlertingRulesKibanaConnection]
    Kibana connection configuration block.
    rule_id str
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    space_id str
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter String
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    ruleId String
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    spaceId String
    Kibana space identifier. When omitted, the default space is used and stored in state.

    getKibanaAlertingRules Result

    The following output properties are available:

    Id string
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    Rules List<GetKibanaAlertingRulesRule>
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    SpaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    Filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    KibanaConnections List<GetKibanaAlertingRulesKibanaConnection>
    Kibana connection configuration block.
    RuleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    Id string
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    Rules []GetKibanaAlertingRulesRule
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    SpaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    Filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    KibanaConnections []GetKibanaAlertingRulesKibanaConnection
    Kibana connection configuration block.
    RuleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    id string
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    rules list(object)
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    space_id string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibana_connections list(object)
    Kibana connection configuration block.
    rule_id string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    id String
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    rules List<GetKibanaAlertingRulesRule>
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    spaceId String
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter String
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections List<GetKibanaAlertingRulesKibanaConnection>
    Kibana connection configuration block.
    ruleId String
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    id string
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    rules GetKibanaAlertingRulesRule[]
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    spaceId string
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter string
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections GetKibanaAlertingRulesKibanaConnection[]
    Kibana connection configuration block.
    ruleId string
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    id str
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    rules Sequence[GetKibanaAlertingRulesRule]
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    space_id str
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter str
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibana_connections Sequence[GetKibanaAlertingRulesKibanaConnection]
    Kibana connection configuration block.
    rule_id str
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.
    id String
    Space and, for a single-rule lookup, rule ID. <space_id>/<rule_id> when rule_id is set, otherwise <space_id>.
    rules List<Property Map>
    Rules returned by the lookup or search. last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them.
    spaceId String
    Kibana space identifier. When omitted, the default space is used and stored in state.
    filter String
    KQL filter passed to Kibana unmodified. Mutually exclusive with rule_id. When both rule_id and filter are omitted, every rule in the space is returned. Set filter in spaces with many rules.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    ruleId String
    Plain Kibana rule ID to look up in space_id. Mutually exclusive with filter.

    Supporting Types

    GetKibanaAlertingRulesKibanaConnection

    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts List<string>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    Endpoints List<string>
    Headers Dictionary<string, string>
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    Insecure bool
    Disable TLS certificate validation
    Password string
    Password to use for API authentication to Kibana.
    Username string
    Username to use for API authentication to Kibana.
    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts []string
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    Endpoints []string
    Headers map[string]string
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    Insecure bool
    Disable TLS certificate validation
    Password string
    Password to use for API authentication to Kibana.
    Username string
    Username to use for API authentication to Kibana.
    api_key string
    API Key to use for authentication to Kibana
    bearer_token string
    Bearer Token to use for authentication to Kibana
    ca_certs list(string)
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints list(string)
    headers map(string)
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    insecure bool
    Disable TLS certificate validation
    password string
    Password to use for API authentication to Kibana.
    username string
    Username to use for API authentication to Kibana.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts List<String>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints List<String>
    headers Map<String,String>
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    insecure Boolean
    Disable TLS certificate validation
    password String
    Password to use for API authentication to Kibana.
    username String
    Username to use for API authentication to Kibana.
    apiKey string
    API Key to use for authentication to Kibana
    bearerToken string
    Bearer Token to use for authentication to Kibana
    caCerts string[]
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints string[]
    headers {[key: string]: string}
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    insecure boolean
    Disable TLS certificate validation
    password string
    Password to use for API authentication to Kibana.
    username string
    Username to use for API authentication to Kibana.
    api_key str
    API Key to use for authentication to Kibana
    bearer_token str
    Bearer Token to use for authentication to Kibana
    ca_certs Sequence[str]
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints Sequence[str]
    headers Mapping[str, str]
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    insecure bool
    Disable TLS certificate validation
    password str
    Password to use for API authentication to Kibana.
    username str
    Username to use for API authentication to Kibana.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts List<String>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints List<String>
    headers Map<String>
    A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
    insecure Boolean
    Disable TLS certificate validation
    password String
    Password to use for API authentication to Kibana.
    username String
    Username to use for API authentication to Kibana.

    GetKibanaAlertingRulesRule

    Consumer string
    Kibana application that owns the rule.
    Enabled bool
    Whether the rule is enabled.
    Id string
    Rule ID.
    LastExecutionDate string
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    LastExecutionStatus string
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    Name string
    Rule name.
    RuleTypeId string
    Rule type identifier.
    ScheduledTaskId string
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    Tags List<string>
    Tags on the rule. An empty set when the rule has no tags.
    Consumer string
    Kibana application that owns the rule.
    Enabled bool
    Whether the rule is enabled.
    Id string
    Rule ID.
    LastExecutionDate string
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    LastExecutionStatus string
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    Name string
    Rule name.
    RuleTypeId string
    Rule type identifier.
    ScheduledTaskId string
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    Tags []string
    Tags on the rule. An empty set when the rule has no tags.
    consumer string
    Kibana application that owns the rule.
    enabled bool
    Whether the rule is enabled.
    id string
    Rule ID.
    last_execution_date string
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    last_execution_status string
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    name string
    Rule name.
    rule_type_id string
    Rule type identifier.
    scheduled_task_id string
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    tags list(string)
    Tags on the rule. An empty set when the rule has no tags.
    consumer String
    Kibana application that owns the rule.
    enabled Boolean
    Whether the rule is enabled.
    id String
    Rule ID.
    lastExecutionDate String
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    lastExecutionStatus String
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    name String
    Rule name.
    ruleTypeId String
    Rule type identifier.
    scheduledTaskId String
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    tags List<String>
    Tags on the rule. An empty set when the rule has no tags.
    consumer string
    Kibana application that owns the rule.
    enabled boolean
    Whether the rule is enabled.
    id string
    Rule ID.
    lastExecutionDate string
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    lastExecutionStatus string
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    name string
    Rule name.
    ruleTypeId string
    Rule type identifier.
    scheduledTaskId string
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    tags string[]
    Tags on the rule. An empty set when the rule has no tags.
    consumer str
    Kibana application that owns the rule.
    enabled bool
    Whether the rule is enabled.
    id str
    Rule ID.
    last_execution_date str
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    last_execution_status str
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    name str
    Rule name.
    rule_type_id str
    Rule type identifier.
    scheduled_task_id str
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    tags Sequence[str]
    Tags on the rule. An empty set when the rule has no tags.
    consumer String
    Kibana application that owns the rule.
    enabled Boolean
    Whether the rule is enabled.
    id String
    Rule ID.
    lastExecutionDate String
    UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
    lastExecutionStatus String
    Status of the rule's last execution, such as ok or active. Null when Kibana reports no execution status.
    name String
    Rule name.
    ruleTypeId String
    Rule type identifier.
    scheduledTaskId String
    Identifier of the rule's scheduled task. Null when Kibana omits it.
    tags List<String>
    Tags on the rule. An empty set when the rule has no tags.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    elasticstack
    Viewing docs for elasticstack 0.17.0
    published on Tuesday, Nov 10, 2026 by elastic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial