1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemAlertevent
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystemAlertevent

Explore with Pulumi AI

fortimanager logo
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

    Alert events.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortimanager from "@pulumi/fortimanager";
    
    const trname = new fortimanager.SystemAlertevent("trname", {
        enableGenericTexts: ["enable"],
        enableSeverityFilters: ["enable"],
        eventTimePeriod: "1",
        numEvents: "1",
        severityFilter: "high",
        severityLevelComps: ["<="],
        severityLevelLogs: [
            "information",
            "notify",
            "warning",
            "alert",
            "emergency",
        ],
    });
    
    import pulumi
    import pulumi_fortimanager as fortimanager
    
    trname = fortimanager.SystemAlertevent("trname",
        enable_generic_texts=["enable"],
        enable_severity_filters=["enable"],
        event_time_period="1",
        num_events="1",
        severity_filter="high",
        severity_level_comps=["<="],
        severity_level_logs=[
            "information",
            "notify",
            "warning",
            "alert",
            "emergency",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fortimanager.NewSystemAlertevent(ctx, "trname", &fortimanager.SystemAlerteventArgs{
    			EnableGenericTexts: pulumi.StringArray{
    				pulumi.String("enable"),
    			},
    			EnableSeverityFilters: pulumi.StringArray{
    				pulumi.String("enable"),
    			},
    			EventTimePeriod: pulumi.String("1"),
    			NumEvents:       pulumi.String("1"),
    			SeverityFilter:  pulumi.String("high"),
    			SeverityLevelComps: pulumi.StringArray{
    				pulumi.String("<="),
    			},
    			SeverityLevelLogs: pulumi.StringArray{
    				pulumi.String("information"),
    				pulumi.String("notify"),
    				pulumi.String("warning"),
    				pulumi.String("alert"),
    				pulumi.String("emergency"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortimanager = Pulumi.Fortimanager;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortimanager.SystemAlertevent("trname", new()
        {
            EnableGenericTexts = new[]
            {
                "enable",
            },
            EnableSeverityFilters = new[]
            {
                "enable",
            },
            EventTimePeriod = "1",
            NumEvents = "1",
            SeverityFilter = "high",
            SeverityLevelComps = new[]
            {
                "<=",
            },
            SeverityLevelLogs = new[]
            {
                "information",
                "notify",
                "warning",
                "alert",
                "emergency",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortimanager.SystemAlertevent;
    import com.pulumi.fortimanager.SystemAlerteventArgs;
    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 trname = new SystemAlertevent("trname", SystemAlerteventArgs.builder()
                .enableGenericTexts("enable")
                .enableSeverityFilters("enable")
                .eventTimePeriod(1)
                .numEvents(1)
                .severityFilter("high")
                .severityLevelComps("<=")
                .severityLevelLogs(            
                    "information",
                    "notify",
                    "warning",
                    "alert",
                    "emergency")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortimanager:SystemAlertevent
        properties:
          enableGenericTexts:
            - enable
          enableSeverityFilters:
            - enable
          eventTimePeriod: 1
          numEvents: 1
          severityFilter: high
          severityLevelComps:
            - <=
          severityLevelLogs:
            - information
            - notify
            - warning
            - alert
            - emergency
    

    Create SystemAlertevent Resource

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

    Constructor syntax

    new SystemAlertevent(name: string, args?: SystemAlerteventArgs, opts?: CustomResourceOptions);
    @overload
    def SystemAlertevent(resource_name: str,
                         args: Optional[SystemAlerteventArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SystemAlertevent(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         alert_destinations: Optional[Sequence[SystemAlerteventAlertDestinationArgs]] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         enable_generic_texts: Optional[Sequence[str]] = None,
                         enable_severity_filters: Optional[Sequence[str]] = None,
                         event_time_period: Optional[str] = None,
                         generic_text: Optional[str] = None,
                         name: Optional[str] = None,
                         num_events: Optional[str] = None,
                         severity_filter: Optional[str] = None,
                         severity_level_comps: Optional[Sequence[str]] = None,
                         severity_level_logs: Optional[Sequence[str]] = None,
                         system_alertevent_id: Optional[str] = None)
    func NewSystemAlertevent(ctx *Context, name string, args *SystemAlerteventArgs, opts ...ResourceOption) (*SystemAlertevent, error)
    public SystemAlertevent(string name, SystemAlerteventArgs? args = null, CustomResourceOptions? opts = null)
    public SystemAlertevent(String name, SystemAlerteventArgs args)
    public SystemAlertevent(String name, SystemAlerteventArgs args, CustomResourceOptions options)
    
    type: fortimanager:SystemAlertevent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SystemAlerteventArgs
    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 SystemAlerteventArgs
    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 SystemAlerteventArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SystemAlerteventArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SystemAlerteventArgs
    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 systemAlerteventResource = new Fortimanager.SystemAlertevent("systemAlerteventResource", new()
    {
        AlertDestinations = new[]
        {
            new Fortimanager.Inputs.SystemAlerteventAlertDestinationArgs
            {
                From = "string",
                SmtpName = "string",
                SnmpName = "string",
                SyslogName = "string",
                To = "string",
                Type = "string",
            },
        },
        DynamicSortSubtable = "string",
        EnableGenericTexts = new[]
        {
            "string",
        },
        EnableSeverityFilters = new[]
        {
            "string",
        },
        EventTimePeriod = "string",
        GenericText = "string",
        Name = "string",
        NumEvents = "string",
        SeverityFilter = "string",
        SeverityLevelComps = new[]
        {
            "string",
        },
        SeverityLevelLogs = new[]
        {
            "string",
        },
        SystemAlerteventId = "string",
    });
    
    example, err := fortimanager.NewSystemAlertevent(ctx, "systemAlerteventResource", &fortimanager.SystemAlerteventArgs{
    AlertDestinations: .SystemAlerteventAlertDestinationArray{
    &.SystemAlerteventAlertDestinationArgs{
    From: pulumi.String("string"),
    SmtpName: pulumi.String("string"),
    SnmpName: pulumi.String("string"),
    SyslogName: pulumi.String("string"),
    To: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    },
    DynamicSortSubtable: pulumi.String("string"),
    EnableGenericTexts: pulumi.StringArray{
    pulumi.String("string"),
    },
    EnableSeverityFilters: pulumi.StringArray{
    pulumi.String("string"),
    },
    EventTimePeriod: pulumi.String("string"),
    GenericText: pulumi.String("string"),
    Name: pulumi.String("string"),
    NumEvents: pulumi.String("string"),
    SeverityFilter: pulumi.String("string"),
    SeverityLevelComps: pulumi.StringArray{
    pulumi.String("string"),
    },
    SeverityLevelLogs: pulumi.StringArray{
    pulumi.String("string"),
    },
    SystemAlerteventId: pulumi.String("string"),
    })
    
    var systemAlerteventResource = new SystemAlertevent("systemAlerteventResource", SystemAlerteventArgs.builder()
        .alertDestinations(SystemAlerteventAlertDestinationArgs.builder()
            .from("string")
            .smtpName("string")
            .snmpName("string")
            .syslogName("string")
            .to("string")
            .type("string")
            .build())
        .dynamicSortSubtable("string")
        .enableGenericTexts("string")
        .enableSeverityFilters("string")
        .eventTimePeriod("string")
        .genericText("string")
        .name("string")
        .numEvents("string")
        .severityFilter("string")
        .severityLevelComps("string")
        .severityLevelLogs("string")
        .systemAlerteventId("string")
        .build());
    
    system_alertevent_resource = fortimanager.SystemAlertevent("systemAlerteventResource",
        alert_destinations=[{
            "from_": "string",
            "smtp_name": "string",
            "snmp_name": "string",
            "syslog_name": "string",
            "to": "string",
            "type": "string",
        }],
        dynamic_sort_subtable="string",
        enable_generic_texts=["string"],
        enable_severity_filters=["string"],
        event_time_period="string",
        generic_text="string",
        name="string",
        num_events="string",
        severity_filter="string",
        severity_level_comps=["string"],
        severity_level_logs=["string"],
        system_alertevent_id="string")
    
    const systemAlerteventResource = new fortimanager.SystemAlertevent("systemAlerteventResource", {
        alertDestinations: [{
            from: "string",
            smtpName: "string",
            snmpName: "string",
            syslogName: "string",
            to: "string",
            type: "string",
        }],
        dynamicSortSubtable: "string",
        enableGenericTexts: ["string"],
        enableSeverityFilters: ["string"],
        eventTimePeriod: "string",
        genericText: "string",
        name: "string",
        numEvents: "string",
        severityFilter: "string",
        severityLevelComps: ["string"],
        severityLevelLogs: ["string"],
        systemAlerteventId: "string",
    });
    
    type: fortimanager:SystemAlertevent
    properties:
        alertDestinations:
            - from: string
              smtpName: string
              snmpName: string
              syslogName: string
              to: string
              type: string
        dynamicSortSubtable: string
        enableGenericTexts:
            - string
        enableSeverityFilters:
            - string
        eventTimePeriod: string
        genericText: string
        name: string
        numEvents: string
        severityFilter: string
        severityLevelComps:
            - string
        severityLevelLogs:
            - string
        systemAlerteventId: string
    

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

    AlertDestinations List<SystemAlerteventAlertDestination>
    Alert-Destination. The structure of alert_destination block is documented below.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    EnableGenericTexts List<string>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EnableSeverityFilters List<string>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    GenericText string
    Text that must be contained in a log to trigger alert.
    Name string
    Alert name.
    NumEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    SeverityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    SeverityLevelComps List<string>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    SeverityLevelLogs List<string>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    SystemAlerteventId string
    an identifier for the resource with format {{name}}.
    AlertDestinations []SystemAlerteventAlertDestinationArgs
    Alert-Destination. The structure of alert_destination block is documented below.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    EnableGenericTexts []string
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EnableSeverityFilters []string
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    GenericText string
    Text that must be contained in a log to trigger alert.
    Name string
    Alert name.
    NumEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    SeverityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    SeverityLevelComps []string
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    SeverityLevelLogs []string
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    SystemAlerteventId string
    an identifier for the resource with format {{name}}.
    alertDestinations List<SystemAlerteventAlertDestination>
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts List<String>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters List<String>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod String
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText String
    Text that must be contained in a log to trigger alert.
    name String
    Alert name.
    numEvents String
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter String
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps List<String>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs List<String>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId String
    an identifier for the resource with format {{name}}.
    alertDestinations SystemAlerteventAlertDestination[]
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts string[]
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters string[]
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText string
    Text that must be contained in a log to trigger alert.
    name string
    Alert name.
    numEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps string[]
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs string[]
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId string
    an identifier for the resource with format {{name}}.
    alert_destinations Sequence[SystemAlerteventAlertDestinationArgs]
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enable_generic_texts Sequence[str]
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enable_severity_filters Sequence[str]
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    event_time_period str
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    generic_text str
    Text that must be contained in a log to trigger alert.
    name str
    Alert name.
    num_events str
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severity_filter str
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severity_level_comps Sequence[str]
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severity_level_logs Sequence[str]
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    system_alertevent_id str
    an identifier for the resource with format {{name}}.
    alertDestinations List<Property Map>
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts List<String>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters List<String>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod String
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText String
    Text that must be contained in a log to trigger alert.
    name String
    Alert name.
    numEvents String
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter String
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps List<String>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs List<String>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId String
    an identifier for the resource with format {{name}}.

    Outputs

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

    Get an existing SystemAlertevent 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?: SystemAlerteventState, opts?: CustomResourceOptions): SystemAlertevent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_destinations: Optional[Sequence[SystemAlerteventAlertDestinationArgs]] = None,
            dynamic_sort_subtable: Optional[str] = None,
            enable_generic_texts: Optional[Sequence[str]] = None,
            enable_severity_filters: Optional[Sequence[str]] = None,
            event_time_period: Optional[str] = None,
            generic_text: Optional[str] = None,
            name: Optional[str] = None,
            num_events: Optional[str] = None,
            severity_filter: Optional[str] = None,
            severity_level_comps: Optional[Sequence[str]] = None,
            severity_level_logs: Optional[Sequence[str]] = None,
            system_alertevent_id: Optional[str] = None) -> SystemAlertevent
    func GetSystemAlertevent(ctx *Context, name string, id IDInput, state *SystemAlerteventState, opts ...ResourceOption) (*SystemAlertevent, error)
    public static SystemAlertevent Get(string name, Input<string> id, SystemAlerteventState? state, CustomResourceOptions? opts = null)
    public static SystemAlertevent get(String name, Output<String> id, SystemAlerteventState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:SystemAlertevent    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlertDestinations List<SystemAlerteventAlertDestination>
    Alert-Destination. The structure of alert_destination block is documented below.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    EnableGenericTexts List<string>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EnableSeverityFilters List<string>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    GenericText string
    Text that must be contained in a log to trigger alert.
    Name string
    Alert name.
    NumEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    SeverityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    SeverityLevelComps List<string>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    SeverityLevelLogs List<string>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    SystemAlerteventId string
    an identifier for the resource with format {{name}}.
    AlertDestinations []SystemAlerteventAlertDestinationArgs
    Alert-Destination. The structure of alert_destination block is documented below.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    EnableGenericTexts []string
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EnableSeverityFilters []string
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    EventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    GenericText string
    Text that must be contained in a log to trigger alert.
    Name string
    Alert name.
    NumEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    SeverityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    SeverityLevelComps []string
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    SeverityLevelLogs []string
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    SystemAlerteventId string
    an identifier for the resource with format {{name}}.
    alertDestinations List<SystemAlerteventAlertDestination>
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts List<String>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters List<String>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod String
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText String
    Text that must be contained in a log to trigger alert.
    name String
    Alert name.
    numEvents String
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter String
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps List<String>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs List<String>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId String
    an identifier for the resource with format {{name}}.
    alertDestinations SystemAlerteventAlertDestination[]
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts string[]
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters string[]
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod string
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText string
    Text that must be contained in a log to trigger alert.
    name string
    Alert name.
    numEvents string
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter string
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps string[]
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs string[]
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId string
    an identifier for the resource with format {{name}}.
    alert_destinations Sequence[SystemAlerteventAlertDestinationArgs]
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enable_generic_texts Sequence[str]
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enable_severity_filters Sequence[str]
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    event_time_period str
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    generic_text str
    Text that must be contained in a log to trigger alert.
    name str
    Alert name.
    num_events str
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severity_filter str
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severity_level_comps Sequence[str]
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severity_level_logs Sequence[str]
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    system_alertevent_id str
    an identifier for the resource with format {{name}}.
    alertDestinations List<Property Map>
    Alert-Destination. The structure of alert_destination block is documented below.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    enableGenericTexts List<String>
    Enable/disable generic text match. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    enableSeverityFilters List<String>
    Enable/disable alert severity filter. enable - Enable setting. disable - Disable setting. Valid values: enable, disable.
    eventTimePeriod String
    Time period (hours). 0.5 - 30 minutes. 1 - 1 hour. 3 - 3 hours. 6 - 6 hours. 12 - 12 hours. 24 - 1 day. 72 - 3 days. 168 - 1 week. Valid values: 0.5, 1, 3, 6, 12, 24, 72, 168.
    genericText String
    Text that must be contained in a log to trigger alert.
    name String
    Alert name.
    numEvents String
    Minimum number of events required within time period. 1 - 1 event. 5 - 5 events. 10 - 10 events. 50 - 50 events. 100 - 100 events. Valid values: 1, 5, 10, 50, 100.
    severityFilter String
    Required log severity to trigger alert. high - High level alert. medium-high - Medium-high level alert. medium - Medium level alert. medium-low - Medium-low level alert. low - Low level alert. Valid values: high, medium-high, medium, medium-low, low.
    severityLevelComps List<String>
    Log severity threshold comparison criterion. Valid values: >=, =, <=.
    severityLevelLogs List<String>
    Log severity threshold level. no-check - Do not check severity level for this log type. information - Information level. notify - Notify level. warning - Warning level. error - Error level. critical - Critical level. alert - Alert level. emergency - Emergency level. Valid values: no-check, information, notify, warning, error, critical, alert, emergency.
    systemAlerteventId String
    an identifier for the resource with format {{name}}.

    Supporting Types

    SystemAlerteventAlertDestination, SystemAlerteventAlertDestinationArgs

    From string
    Sender email address to use in alert emails.
    SmtpName string
    SMTP server name.
    SnmpName string
    SNMP trap name.
    SyslogName string
    Syslog server name.
    To string
    Recipient email address to use in alert emails.
    Type string
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.
    From string
    Sender email address to use in alert emails.
    SmtpName string
    SMTP server name.
    SnmpName string
    SNMP trap name.
    SyslogName string
    Syslog server name.
    To string
    Recipient email address to use in alert emails.
    Type string
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.
    from String
    Sender email address to use in alert emails.
    smtpName String
    SMTP server name.
    snmpName String
    SNMP trap name.
    syslogName String
    Syslog server name.
    to String
    Recipient email address to use in alert emails.
    type String
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.
    from string
    Sender email address to use in alert emails.
    smtpName string
    SMTP server name.
    snmpName string
    SNMP trap name.
    syslogName string
    Syslog server name.
    to string
    Recipient email address to use in alert emails.
    type string
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.
    from_ str
    Sender email address to use in alert emails.
    smtp_name str
    SMTP server name.
    snmp_name str
    SNMP trap name.
    syslog_name str
    Syslog server name.
    to str
    Recipient email address to use in alert emails.
    type str
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.
    from String
    Sender email address to use in alert emails.
    smtpName String
    SMTP server name.
    snmpName String
    SNMP trap name.
    syslogName String
    Syslog server name.
    to String
    Recipient email address to use in alert emails.
    type String
    Destination type. mail - Send email alert. snmp - Send SNMP trap. syslog - Send syslog message. Valid values: mail, snmp, syslog.

    Import

    System AlertEvent can be imported using any of these accepted formats:

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/systemAlertevent:SystemAlertevent labelname {{name}}
    

    $ unset “FORTIMANAGER_IMPORT_TABLE”

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

    Package Details

    Repository
    fortimanager fortinetdev/terraform-provider-fortimanager
    License
    Notes
    This Pulumi package is based on the fortimanager Terraform Provider.
    fortimanager logo
    fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev