1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. AlertRule
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.AlertRule

Explore with Pulumi AI

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    Manage an alert rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as prismacloud from "@pulumi/prismacloud";
    
    const example = new prismacloud.AlertRule("example", {description: "Made by Pulumi"});
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.AlertRule("example", description="Made by Pulumi")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := prismacloud.NewAlertRule(ctx, "example", &prismacloud.AlertRuleArgs{
    			Description: pulumi.String("Made by Pulumi"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Prismacloud = Pulumi.Prismacloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Prismacloud.AlertRule("example", new()
        {
            Description = "Made by Pulumi",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.prismacloud.AlertRule;
    import com.pulumi.prismacloud.AlertRuleArgs;
    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 example = new AlertRule("example", AlertRuleArgs.builder()
                .description("Made by Pulumi")
                .build());
    
        }
    }
    
    resources:
      example:
        type: prismacloud:AlertRule
        properties:
          description: Made by Pulumi
    

    Alert Rule With Policy Filter)

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.prismacloud.AlertRule;
    import com.pulumi.prismacloud.AlertRuleArgs;
    import com.pulumi.prismacloud.inputs.AlertRuleTargetArgs;
    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 example = new AlertRule("example", AlertRuleArgs.builder()
                .description("Made by Pulumi")
                .enabled(true)
                .target(AlertRuleTargetArgs.builder()
                    .accountGroups("accountGroupId")
                    .alertRulePolicyFilters(AlertRuleTargetAlertRulePolicyFilterArgs.builder()
                        .cloudType("cloudType")
                        .policyComplianceStandard("complianceStandardName")
                        .policyLabel("policyLabel")
                        .policySeverity("severity")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: prismacloud:AlertRule
        properties:
          description: Made by Pulumi
          enabled: true
          target:
            accountGroups:
              - accountGroupId
            alertRulePolicyFilters:
              - cloudType:
                  - cloudType
                policyComplianceStandard:
                  - complianceStandardName
                policyLabel:
                  - policyLabel
                policySeverity:
                  - severity
    

    Create AlertRule Resource

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

    Constructor syntax

    new AlertRule(name: string, args: AlertRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AlertRule(resource_name: str,
                  args: AlertRuleArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertRule(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  target: Optional[AlertRuleTargetArgs] = None,
                  notification_configs: Optional[Sequence[AlertRuleNotificationConfigArgs]] = None,
                  notify_on_open: Optional[bool] = None,
                  deleted: Optional[bool] = None,
                  description: Optional[str] = None,
                  enabled: Optional[bool] = None,
                  excluded_policies: Optional[Sequence[str]] = None,
                  delay_notification_ms: Optional[float] = None,
                  name: Optional[str] = None,
                  notify_on_dismissed: Optional[bool] = None,
                  alert_rule_id: Optional[str] = None,
                  notify_on_resolved: Optional[bool] = None,
                  notify_on_snoozed: Optional[bool] = None,
                  policies: Optional[Sequence[str]] = None,
                  policy_labels: Optional[Sequence[str]] = None,
                  scan_all: Optional[bool] = None,
                  allow_auto_remediate: Optional[bool] = None)
    func NewAlertRule(ctx *Context, name string, args AlertRuleArgs, opts ...ResourceOption) (*AlertRule, error)
    public AlertRule(string name, AlertRuleArgs args, CustomResourceOptions? opts = null)
    public AlertRule(String name, AlertRuleArgs args)
    public AlertRule(String name, AlertRuleArgs args, CustomResourceOptions options)
    
    type: prismacloud:AlertRule
    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 AlertRuleArgs
    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 AlertRuleArgs
    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 AlertRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertRuleArgs
    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 alertRuleResource = new Prismacloud.AlertRule("alertRuleResource", new()
    {
        Target = new Prismacloud.Inputs.AlertRuleTargetArgs
        {
            AccountGroups = new[]
            {
                "string",
            },
            AlertRulePolicyFilters = new[]
            {
                new Prismacloud.Inputs.AlertRuleTargetAlertRulePolicyFilterArgs
                {
                    CloudTypes = new[]
                    {
                        "string",
                    },
                    PolicyComplianceStandards = new[]
                    {
                        "string",
                    },
                    PolicyLabels = new[]
                    {
                        "string",
                    },
                    PolicySeverities = new[]
                    {
                        "string",
                    },
                },
            },
            ExcludedAccounts = new[]
            {
                "string",
            },
            Regions = new[]
            {
                "string",
            },
            ResourceLists = new[]
            {
                new Prismacloud.Inputs.AlertRuleTargetResourceListArgs
                {
                    ComputeAccessGroupIds = new[]
                    {
                        "string",
                    },
                },
            },
            Tags = new[]
            {
                new Prismacloud.Inputs.AlertRuleTargetTagArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
        },
        NotificationConfigs = new[]
        {
            new Prismacloud.Inputs.AlertRuleNotificationConfigArgs
            {
                ConfigId = "string",
                ConfigType = "string",
                DayOfMonth = 0,
                DaysOfWeeks = new[]
                {
                    new Prismacloud.Inputs.AlertRuleNotificationConfigDaysOfWeekArgs
                    {
                        Day = "string",
                        Offset = 0,
                    },
                },
                DetailedReport = false,
                Enabled = false,
                Frequency = "string",
                FrequencyFromRRule = "string",
                HourOfDay = 0,
                IncludeRemediation = false,
                LastSentTs = 0,
                LastUpdated = 0,
                RRuleSchedule = "string",
                Recipients = new[]
                {
                    "string",
                },
                TemplateId = "string",
                TimezoneId = "string",
                WithCompression = false,
            },
        },
        NotifyOnOpen = false,
        Deleted = false,
        Description = "string",
        Enabled = false,
        ExcludedPolicies = new[]
        {
            "string",
        },
        DelayNotificationMs = 0,
        Name = "string",
        NotifyOnDismissed = false,
        AlertRuleId = "string",
        NotifyOnResolved = false,
        NotifyOnSnoozed = false,
        Policies = new[]
        {
            "string",
        },
        PolicyLabels = new[]
        {
            "string",
        },
        ScanAll = false,
        AllowAutoRemediate = false,
    });
    
    example, err := prismacloud.NewAlertRule(ctx, "alertRuleResource", &prismacloud.AlertRuleArgs{
    	Target: &prismacloud.AlertRuleTargetArgs{
    		AccountGroups: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertRulePolicyFilters: prismacloud.AlertRuleTargetAlertRulePolicyFilterArray{
    			&prismacloud.AlertRuleTargetAlertRulePolicyFilterArgs{
    				CloudTypes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				PolicyComplianceStandards: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				PolicyLabels: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				PolicySeverities: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		ExcludedAccounts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Regions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ResourceLists: prismacloud.AlertRuleTargetResourceListArray{
    			&prismacloud.AlertRuleTargetResourceListArgs{
    				ComputeAccessGroupIds: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		Tags: prismacloud.AlertRuleTargetTagArray{
    			&prismacloud.AlertRuleTargetTagArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	NotificationConfigs: prismacloud.AlertRuleNotificationConfigArray{
    		&prismacloud.AlertRuleNotificationConfigArgs{
    			ConfigId:   pulumi.String("string"),
    			ConfigType: pulumi.String("string"),
    			DayOfMonth: pulumi.Float64(0),
    			DaysOfWeeks: prismacloud.AlertRuleNotificationConfigDaysOfWeekArray{
    				&prismacloud.AlertRuleNotificationConfigDaysOfWeekArgs{
    					Day:    pulumi.String("string"),
    					Offset: pulumi.Float64(0),
    				},
    			},
    			DetailedReport:     pulumi.Bool(false),
    			Enabled:            pulumi.Bool(false),
    			Frequency:          pulumi.String("string"),
    			FrequencyFromRRule: pulumi.String("string"),
    			HourOfDay:          pulumi.Float64(0),
    			IncludeRemediation: pulumi.Bool(false),
    			LastSentTs:         pulumi.Float64(0),
    			LastUpdated:        pulumi.Float64(0),
    			RRuleSchedule:      pulumi.String("string"),
    			Recipients: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			TemplateId:      pulumi.String("string"),
    			TimezoneId:      pulumi.String("string"),
    			WithCompression: pulumi.Bool(false),
    		},
    	},
    	NotifyOnOpen: pulumi.Bool(false),
    	Deleted:      pulumi.Bool(false),
    	Description:  pulumi.String("string"),
    	Enabled:      pulumi.Bool(false),
    	ExcludedPolicies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DelayNotificationMs: pulumi.Float64(0),
    	Name:                pulumi.String("string"),
    	NotifyOnDismissed:   pulumi.Bool(false),
    	AlertRuleId:         pulumi.String("string"),
    	NotifyOnResolved:    pulumi.Bool(false),
    	NotifyOnSnoozed:     pulumi.Bool(false),
    	Policies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PolicyLabels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScanAll:            pulumi.Bool(false),
    	AllowAutoRemediate: pulumi.Bool(false),
    })
    
    var alertRuleResource = new AlertRule("alertRuleResource", AlertRuleArgs.builder()
        .target(AlertRuleTargetArgs.builder()
            .accountGroups("string")
            .alertRulePolicyFilters(AlertRuleTargetAlertRulePolicyFilterArgs.builder()
                .cloudTypes("string")
                .policyComplianceStandards("string")
                .policyLabels("string")
                .policySeverities("string")
                .build())
            .excludedAccounts("string")
            .regions("string")
            .resourceLists(AlertRuleTargetResourceListArgs.builder()
                .computeAccessGroupIds("string")
                .build())
            .tags(AlertRuleTargetTagArgs.builder()
                .key("string")
                .values("string")
                .build())
            .build())
        .notificationConfigs(AlertRuleNotificationConfigArgs.builder()
            .configId("string")
            .configType("string")
            .dayOfMonth(0)
            .daysOfWeeks(AlertRuleNotificationConfigDaysOfWeekArgs.builder()
                .day("string")
                .offset(0)
                .build())
            .detailedReport(false)
            .enabled(false)
            .frequency("string")
            .frequencyFromRRule("string")
            .hourOfDay(0)
            .includeRemediation(false)
            .lastSentTs(0)
            .lastUpdated(0)
            .rRuleSchedule("string")
            .recipients("string")
            .templateId("string")
            .timezoneId("string")
            .withCompression(false)
            .build())
        .notifyOnOpen(false)
        .deleted(false)
        .description("string")
        .enabled(false)
        .excludedPolicies("string")
        .delayNotificationMs(0)
        .name("string")
        .notifyOnDismissed(false)
        .alertRuleId("string")
        .notifyOnResolved(false)
        .notifyOnSnoozed(false)
        .policies("string")
        .policyLabels("string")
        .scanAll(false)
        .allowAutoRemediate(false)
        .build());
    
    alert_rule_resource = prismacloud.AlertRule("alertRuleResource",
        target={
            "account_groups": ["string"],
            "alert_rule_policy_filters": [{
                "cloud_types": ["string"],
                "policy_compliance_standards": ["string"],
                "policy_labels": ["string"],
                "policy_severities": ["string"],
            }],
            "excluded_accounts": ["string"],
            "regions": ["string"],
            "resource_lists": [{
                "compute_access_group_ids": ["string"],
            }],
            "tags": [{
                "key": "string",
                "values": ["string"],
            }],
        },
        notification_configs=[{
            "config_id": "string",
            "config_type": "string",
            "day_of_month": 0,
            "days_of_weeks": [{
                "day": "string",
                "offset": 0,
            }],
            "detailed_report": False,
            "enabled": False,
            "frequency": "string",
            "frequency_from_r_rule": "string",
            "hour_of_day": 0,
            "include_remediation": False,
            "last_sent_ts": 0,
            "last_updated": 0,
            "r_rule_schedule": "string",
            "recipients": ["string"],
            "template_id": "string",
            "timezone_id": "string",
            "with_compression": False,
        }],
        notify_on_open=False,
        deleted=False,
        description="string",
        enabled=False,
        excluded_policies=["string"],
        delay_notification_ms=0,
        name="string",
        notify_on_dismissed=False,
        alert_rule_id="string",
        notify_on_resolved=False,
        notify_on_snoozed=False,
        policies=["string"],
        policy_labels=["string"],
        scan_all=False,
        allow_auto_remediate=False)
    
    const alertRuleResource = new prismacloud.AlertRule("alertRuleResource", {
        target: {
            accountGroups: ["string"],
            alertRulePolicyFilters: [{
                cloudTypes: ["string"],
                policyComplianceStandards: ["string"],
                policyLabels: ["string"],
                policySeverities: ["string"],
            }],
            excludedAccounts: ["string"],
            regions: ["string"],
            resourceLists: [{
                computeAccessGroupIds: ["string"],
            }],
            tags: [{
                key: "string",
                values: ["string"],
            }],
        },
        notificationConfigs: [{
            configId: "string",
            configType: "string",
            dayOfMonth: 0,
            daysOfWeeks: [{
                day: "string",
                offset: 0,
            }],
            detailedReport: false,
            enabled: false,
            frequency: "string",
            frequencyFromRRule: "string",
            hourOfDay: 0,
            includeRemediation: false,
            lastSentTs: 0,
            lastUpdated: 0,
            rRuleSchedule: "string",
            recipients: ["string"],
            templateId: "string",
            timezoneId: "string",
            withCompression: false,
        }],
        notifyOnOpen: false,
        deleted: false,
        description: "string",
        enabled: false,
        excludedPolicies: ["string"],
        delayNotificationMs: 0,
        name: "string",
        notifyOnDismissed: false,
        alertRuleId: "string",
        notifyOnResolved: false,
        notifyOnSnoozed: false,
        policies: ["string"],
        policyLabels: ["string"],
        scanAll: false,
        allowAutoRemediate: false,
    });
    
    type: prismacloud:AlertRule
    properties:
        alertRuleId: string
        allowAutoRemediate: false
        delayNotificationMs: 0
        deleted: false
        description: string
        enabled: false
        excludedPolicies:
            - string
        name: string
        notificationConfigs:
            - configId: string
              configType: string
              dayOfMonth: 0
              daysOfWeeks:
                - day: string
                  offset: 0
              detailedReport: false
              enabled: false
              frequency: string
              frequencyFromRRule: string
              hourOfDay: 0
              includeRemediation: false
              lastSentTs: 0
              lastUpdated: 0
              rRuleSchedule: string
              recipients:
                - string
              templateId: string
              timezoneId: string
              withCompression: false
        notifyOnDismissed: false
        notifyOnOpen: false
        notifyOnResolved: false
        notifyOnSnoozed: false
        policies:
            - string
        policyLabels:
            - string
        scanAll: false
        target:
            accountGroups:
                - string
            alertRulePolicyFilters:
                - cloudTypes:
                    - string
                  policyComplianceStandards:
                    - string
                  policyLabels:
                    - string
                  policySeverities:
                    - string
            excludedAccounts:
                - string
            regions:
                - string
            resourceLists:
                - computeAccessGroupIds:
                    - string
            tags:
                - key: string
                  values:
                    - string
    

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

    Target AlertRuleTarget
    Model for the target filter, as defined below
    AlertRuleId string
    AllowAutoRemediate bool
    Allow auto-remediation
    DelayNotificationMs double
    Delay notifications by the specified miliseconds
    Deleted bool
    (bool) Deleted
    Description string
    Description
    Enabled bool
    Enabled (default: true)
    ExcludedPolicies List<string>
    List of policies to exclude from scan
    Name string
    Rule/Scan name
    NotificationConfigs List<AlertRuleNotificationConfig>
    List of data for notifications to third-party tools, as defined below
    NotifyOnDismissed bool
    Include dismissed alerts in notification
    NotifyOnOpen bool
    Include open alerts in notification (default: true)
    NotifyOnResolved bool
    Include resolved alerts in notification
    NotifyOnSnoozed bool
    Include snoozed alerts in notification
    Policies List<string>
    List of specific policies to scan
    PolicyLabels List<string>
    List of policy labels
    ScanAll bool
    Scan all policies
    Target AlertRuleTargetArgs
    Model for the target filter, as defined below
    AlertRuleId string
    AllowAutoRemediate bool
    Allow auto-remediation
    DelayNotificationMs float64
    Delay notifications by the specified miliseconds
    Deleted bool
    (bool) Deleted
    Description string
    Description
    Enabled bool
    Enabled (default: true)
    ExcludedPolicies []string
    List of policies to exclude from scan
    Name string
    Rule/Scan name
    NotificationConfigs []AlertRuleNotificationConfigArgs
    List of data for notifications to third-party tools, as defined below
    NotifyOnDismissed bool
    Include dismissed alerts in notification
    NotifyOnOpen bool
    Include open alerts in notification (default: true)
    NotifyOnResolved bool
    Include resolved alerts in notification
    NotifyOnSnoozed bool
    Include snoozed alerts in notification
    Policies []string
    List of specific policies to scan
    PolicyLabels []string
    List of policy labels
    ScanAll bool
    Scan all policies
    target AlertRuleTarget
    Model for the target filter, as defined below
    alertRuleId String
    allowAutoRemediate Boolean
    Allow auto-remediation
    delayNotificationMs Double
    Delay notifications by the specified miliseconds
    deleted Boolean
    (bool) Deleted
    description String
    Description
    enabled Boolean
    Enabled (default: true)
    excludedPolicies List<String>
    List of policies to exclude from scan
    name String
    Rule/Scan name
    notificationConfigs List<AlertRuleNotificationConfig>
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed Boolean
    Include dismissed alerts in notification
    notifyOnOpen Boolean
    Include open alerts in notification (default: true)
    notifyOnResolved Boolean
    Include resolved alerts in notification
    notifyOnSnoozed Boolean
    Include snoozed alerts in notification
    policies List<String>
    List of specific policies to scan
    policyLabels List<String>
    List of policy labels
    scanAll Boolean
    Scan all policies
    target AlertRuleTarget
    Model for the target filter, as defined below
    alertRuleId string
    allowAutoRemediate boolean
    Allow auto-remediation
    delayNotificationMs number
    Delay notifications by the specified miliseconds
    deleted boolean
    (bool) Deleted
    description string
    Description
    enabled boolean
    Enabled (default: true)
    excludedPolicies string[]
    List of policies to exclude from scan
    name string
    Rule/Scan name
    notificationConfigs AlertRuleNotificationConfig[]
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed boolean
    Include dismissed alerts in notification
    notifyOnOpen boolean
    Include open alerts in notification (default: true)
    notifyOnResolved boolean
    Include resolved alerts in notification
    notifyOnSnoozed boolean
    Include snoozed alerts in notification
    policies string[]
    List of specific policies to scan
    policyLabels string[]
    List of policy labels
    scanAll boolean
    Scan all policies
    target AlertRuleTargetArgs
    Model for the target filter, as defined below
    alert_rule_id str
    allow_auto_remediate bool
    Allow auto-remediation
    delay_notification_ms float
    Delay notifications by the specified miliseconds
    deleted bool
    (bool) Deleted
    description str
    Description
    enabled bool
    Enabled (default: true)
    excluded_policies Sequence[str]
    List of policies to exclude from scan
    name str
    Rule/Scan name
    notification_configs Sequence[AlertRuleNotificationConfigArgs]
    List of data for notifications to third-party tools, as defined below
    notify_on_dismissed bool
    Include dismissed alerts in notification
    notify_on_open bool
    Include open alerts in notification (default: true)
    notify_on_resolved bool
    Include resolved alerts in notification
    notify_on_snoozed bool
    Include snoozed alerts in notification
    policies Sequence[str]
    List of specific policies to scan
    policy_labels Sequence[str]
    List of policy labels
    scan_all bool
    Scan all policies
    target Property Map
    Model for the target filter, as defined below
    alertRuleId String
    allowAutoRemediate Boolean
    Allow auto-remediation
    delayNotificationMs Number
    Delay notifications by the specified miliseconds
    deleted Boolean
    (bool) Deleted
    description String
    Description
    enabled Boolean
    Enabled (default: true)
    excludedPolicies List<String>
    List of policies to exclude from scan
    name String
    Rule/Scan name
    notificationConfigs List<Property Map>
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed Boolean
    Include dismissed alerts in notification
    notifyOnOpen Boolean
    Include open alerts in notification (default: true)
    notifyOnResolved Boolean
    Include resolved alerts in notification
    notifyOnSnoozed Boolean
    Include snoozed alerts in notification
    policies List<String>
    List of specific policies to scan
    policyLabels List<String>
    List of policy labels
    scanAll Boolean
    Scan all policies

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedBy string
    Last modified by
    LastModifiedOn double
    (int) Last modified on
    NotificationChannels List<string>
    List of notification channels
    OpenAlertsCount double
    (int) Open alerts count
    Owner string
    Owner
    PolicyScanConfigId string
    Policy scan config ID
    ReadOnly bool
    (bool) Read only
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedBy string
    Last modified by
    LastModifiedOn float64
    (int) Last modified on
    NotificationChannels []string
    List of notification channels
    OpenAlertsCount float64
    (int) Open alerts count
    Owner string
    Owner
    PolicyScanConfigId string
    Policy scan config ID
    ReadOnly bool
    (bool) Read only
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedBy String
    Last modified by
    lastModifiedOn Double
    (int) Last modified on
    notificationChannels List<String>
    List of notification channels
    openAlertsCount Double
    (int) Open alerts count
    owner String
    Owner
    policyScanConfigId String
    Policy scan config ID
    readOnly Boolean
    (bool) Read only
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedBy string
    Last modified by
    lastModifiedOn number
    (int) Last modified on
    notificationChannels string[]
    List of notification channels
    openAlertsCount number
    (int) Open alerts count
    owner string
    Owner
    policyScanConfigId string
    Policy scan config ID
    readOnly boolean
    (bool) Read only
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_by str
    Last modified by
    last_modified_on float
    (int) Last modified on
    notification_channels Sequence[str]
    List of notification channels
    open_alerts_count float
    (int) Open alerts count
    owner str
    Owner
    policy_scan_config_id str
    Policy scan config ID
    read_only bool
    (bool) Read only
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedBy String
    Last modified by
    lastModifiedOn Number
    (int) Last modified on
    notificationChannels List<String>
    List of notification channels
    openAlertsCount Number
    (int) Open alerts count
    owner String
    Owner
    policyScanConfigId String
    Policy scan config ID
    readOnly Boolean
    (bool) Read only

    Look up Existing AlertRule Resource

    Get an existing AlertRule 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?: AlertRuleState, opts?: CustomResourceOptions): AlertRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_rule_id: Optional[str] = None,
            allow_auto_remediate: Optional[bool] = None,
            delay_notification_ms: Optional[float] = None,
            deleted: Optional[bool] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            excluded_policies: Optional[Sequence[str]] = None,
            last_modified_by: Optional[str] = None,
            last_modified_on: Optional[float] = None,
            name: Optional[str] = None,
            notification_channels: Optional[Sequence[str]] = None,
            notification_configs: Optional[Sequence[AlertRuleNotificationConfigArgs]] = None,
            notify_on_dismissed: Optional[bool] = None,
            notify_on_open: Optional[bool] = None,
            notify_on_resolved: Optional[bool] = None,
            notify_on_snoozed: Optional[bool] = None,
            open_alerts_count: Optional[float] = None,
            owner: Optional[str] = None,
            policies: Optional[Sequence[str]] = None,
            policy_labels: Optional[Sequence[str]] = None,
            policy_scan_config_id: Optional[str] = None,
            read_only: Optional[bool] = None,
            scan_all: Optional[bool] = None,
            target: Optional[AlertRuleTargetArgs] = None) -> AlertRule
    func GetAlertRule(ctx *Context, name string, id IDInput, state *AlertRuleState, opts ...ResourceOption) (*AlertRule, error)
    public static AlertRule Get(string name, Input<string> id, AlertRuleState? state, CustomResourceOptions? opts = null)
    public static AlertRule get(String name, Output<String> id, AlertRuleState state, CustomResourceOptions options)
    resources:  _:    type: prismacloud:AlertRule    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:
    AlertRuleId string
    AllowAutoRemediate bool
    Allow auto-remediation
    DelayNotificationMs double
    Delay notifications by the specified miliseconds
    Deleted bool
    (bool) Deleted
    Description string
    Description
    Enabled bool
    Enabled (default: true)
    ExcludedPolicies List<string>
    List of policies to exclude from scan
    LastModifiedBy string
    Last modified by
    LastModifiedOn double
    (int) Last modified on
    Name string
    Rule/Scan name
    NotificationChannels List<string>
    List of notification channels
    NotificationConfigs List<AlertRuleNotificationConfig>
    List of data for notifications to third-party tools, as defined below
    NotifyOnDismissed bool
    Include dismissed alerts in notification
    NotifyOnOpen bool
    Include open alerts in notification (default: true)
    NotifyOnResolved bool
    Include resolved alerts in notification
    NotifyOnSnoozed bool
    Include snoozed alerts in notification
    OpenAlertsCount double
    (int) Open alerts count
    Owner string
    Owner
    Policies List<string>
    List of specific policies to scan
    PolicyLabels List<string>
    List of policy labels
    PolicyScanConfigId string
    Policy scan config ID
    ReadOnly bool
    (bool) Read only
    ScanAll bool
    Scan all policies
    Target AlertRuleTarget
    Model for the target filter, as defined below
    AlertRuleId string
    AllowAutoRemediate bool
    Allow auto-remediation
    DelayNotificationMs float64
    Delay notifications by the specified miliseconds
    Deleted bool
    (bool) Deleted
    Description string
    Description
    Enabled bool
    Enabled (default: true)
    ExcludedPolicies []string
    List of policies to exclude from scan
    LastModifiedBy string
    Last modified by
    LastModifiedOn float64
    (int) Last modified on
    Name string
    Rule/Scan name
    NotificationChannels []string
    List of notification channels
    NotificationConfigs []AlertRuleNotificationConfigArgs
    List of data for notifications to third-party tools, as defined below
    NotifyOnDismissed bool
    Include dismissed alerts in notification
    NotifyOnOpen bool
    Include open alerts in notification (default: true)
    NotifyOnResolved bool
    Include resolved alerts in notification
    NotifyOnSnoozed bool
    Include snoozed alerts in notification
    OpenAlertsCount float64
    (int) Open alerts count
    Owner string
    Owner
    Policies []string
    List of specific policies to scan
    PolicyLabels []string
    List of policy labels
    PolicyScanConfigId string
    Policy scan config ID
    ReadOnly bool
    (bool) Read only
    ScanAll bool
    Scan all policies
    Target AlertRuleTargetArgs
    Model for the target filter, as defined below
    alertRuleId String
    allowAutoRemediate Boolean
    Allow auto-remediation
    delayNotificationMs Double
    Delay notifications by the specified miliseconds
    deleted Boolean
    (bool) Deleted
    description String
    Description
    enabled Boolean
    Enabled (default: true)
    excludedPolicies List<String>
    List of policies to exclude from scan
    lastModifiedBy String
    Last modified by
    lastModifiedOn Double
    (int) Last modified on
    name String
    Rule/Scan name
    notificationChannels List<String>
    List of notification channels
    notificationConfigs List<AlertRuleNotificationConfig>
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed Boolean
    Include dismissed alerts in notification
    notifyOnOpen Boolean
    Include open alerts in notification (default: true)
    notifyOnResolved Boolean
    Include resolved alerts in notification
    notifyOnSnoozed Boolean
    Include snoozed alerts in notification
    openAlertsCount Double
    (int) Open alerts count
    owner String
    Owner
    policies List<String>
    List of specific policies to scan
    policyLabels List<String>
    List of policy labels
    policyScanConfigId String
    Policy scan config ID
    readOnly Boolean
    (bool) Read only
    scanAll Boolean
    Scan all policies
    target AlertRuleTarget
    Model for the target filter, as defined below
    alertRuleId string
    allowAutoRemediate boolean
    Allow auto-remediation
    delayNotificationMs number
    Delay notifications by the specified miliseconds
    deleted boolean
    (bool) Deleted
    description string
    Description
    enabled boolean
    Enabled (default: true)
    excludedPolicies string[]
    List of policies to exclude from scan
    lastModifiedBy string
    Last modified by
    lastModifiedOn number
    (int) Last modified on
    name string
    Rule/Scan name
    notificationChannels string[]
    List of notification channels
    notificationConfigs AlertRuleNotificationConfig[]
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed boolean
    Include dismissed alerts in notification
    notifyOnOpen boolean
    Include open alerts in notification (default: true)
    notifyOnResolved boolean
    Include resolved alerts in notification
    notifyOnSnoozed boolean
    Include snoozed alerts in notification
    openAlertsCount number
    (int) Open alerts count
    owner string
    Owner
    policies string[]
    List of specific policies to scan
    policyLabels string[]
    List of policy labels
    policyScanConfigId string
    Policy scan config ID
    readOnly boolean
    (bool) Read only
    scanAll boolean
    Scan all policies
    target AlertRuleTarget
    Model for the target filter, as defined below
    alert_rule_id str
    allow_auto_remediate bool
    Allow auto-remediation
    delay_notification_ms float
    Delay notifications by the specified miliseconds
    deleted bool
    (bool) Deleted
    description str
    Description
    enabled bool
    Enabled (default: true)
    excluded_policies Sequence[str]
    List of policies to exclude from scan
    last_modified_by str
    Last modified by
    last_modified_on float
    (int) Last modified on
    name str
    Rule/Scan name
    notification_channels Sequence[str]
    List of notification channels
    notification_configs Sequence[AlertRuleNotificationConfigArgs]
    List of data for notifications to third-party tools, as defined below
    notify_on_dismissed bool
    Include dismissed alerts in notification
    notify_on_open bool
    Include open alerts in notification (default: true)
    notify_on_resolved bool
    Include resolved alerts in notification
    notify_on_snoozed bool
    Include snoozed alerts in notification
    open_alerts_count float
    (int) Open alerts count
    owner str
    Owner
    policies Sequence[str]
    List of specific policies to scan
    policy_labels Sequence[str]
    List of policy labels
    policy_scan_config_id str
    Policy scan config ID
    read_only bool
    (bool) Read only
    scan_all bool
    Scan all policies
    target AlertRuleTargetArgs
    Model for the target filter, as defined below
    alertRuleId String
    allowAutoRemediate Boolean
    Allow auto-remediation
    delayNotificationMs Number
    Delay notifications by the specified miliseconds
    deleted Boolean
    (bool) Deleted
    description String
    Description
    enabled Boolean
    Enabled (default: true)
    excludedPolicies List<String>
    List of policies to exclude from scan
    lastModifiedBy String
    Last modified by
    lastModifiedOn Number
    (int) Last modified on
    name String
    Rule/Scan name
    notificationChannels List<String>
    List of notification channels
    notificationConfigs List<Property Map>
    List of data for notifications to third-party tools, as defined below
    notifyOnDismissed Boolean
    Include dismissed alerts in notification
    notifyOnOpen Boolean
    Include open alerts in notification (default: true)
    notifyOnResolved Boolean
    Include resolved alerts in notification
    notifyOnSnoozed Boolean
    Include snoozed alerts in notification
    openAlertsCount Number
    (int) Open alerts count
    owner String
    Owner
    policies List<String>
    List of specific policies to scan
    policyLabels List<String>
    List of policy labels
    policyScanConfigId String
    Policy scan config ID
    readOnly Boolean
    (bool) Read only
    scanAll Boolean
    Scan all policies
    target Property Map
    Model for the target filter, as defined below

    Supporting Types

    AlertRuleNotificationConfig, AlertRuleNotificationConfigArgs

    ConfigId string
    Alert rule notification config ID
    ConfigType string
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    DayOfMonth double
    (int) Day of month
    DaysOfWeeks List<AlertRuleNotificationConfigDaysOfWeek>
    List of days of week, as defined below
    DetailedReport bool
    Provide CSV detailed report
    Enabled bool
    Scan enabled
    Frequency string
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    FrequencyFromRRule string
    Frequency from R rule
    HourOfDay double
    (int) Hour of day
    IncludeRemediation bool
    Include remediation in detailed report
    LastSentTs double
    (int) Time of last notification in miliseconds
    LastUpdated double
    (int) Last updated
    RRuleSchedule string
    R rule schedule
    Recipients List<string>
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    TemplateId string
    Template ID
    TimezoneId string
    Timezone ID
    WithCompression bool
    Compress detailed report
    ConfigId string
    Alert rule notification config ID
    ConfigType string
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    DayOfMonth float64
    (int) Day of month
    DaysOfWeeks []AlertRuleNotificationConfigDaysOfWeek
    List of days of week, as defined below
    DetailedReport bool
    Provide CSV detailed report
    Enabled bool
    Scan enabled
    Frequency string
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    FrequencyFromRRule string
    Frequency from R rule
    HourOfDay float64
    (int) Hour of day
    IncludeRemediation bool
    Include remediation in detailed report
    LastSentTs float64
    (int) Time of last notification in miliseconds
    LastUpdated float64
    (int) Last updated
    RRuleSchedule string
    R rule schedule
    Recipients []string
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    TemplateId string
    Template ID
    TimezoneId string
    Timezone ID
    WithCompression bool
    Compress detailed report
    configId String
    Alert rule notification config ID
    configType String
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    dayOfMonth Double
    (int) Day of month
    daysOfWeeks List<AlertRuleNotificationConfigDaysOfWeek>
    List of days of week, as defined below
    detailedReport Boolean
    Provide CSV detailed report
    enabled Boolean
    Scan enabled
    frequency String
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    frequencyFromRRule String
    Frequency from R rule
    hourOfDay Double
    (int) Hour of day
    includeRemediation Boolean
    Include remediation in detailed report
    lastSentTs Double
    (int) Time of last notification in miliseconds
    lastUpdated Double
    (int) Last updated
    rRuleSchedule String
    R rule schedule
    recipients List<String>
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    templateId String
    Template ID
    timezoneId String
    Timezone ID
    withCompression Boolean
    Compress detailed report
    configId string
    Alert rule notification config ID
    configType string
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    dayOfMonth number
    (int) Day of month
    daysOfWeeks AlertRuleNotificationConfigDaysOfWeek[]
    List of days of week, as defined below
    detailedReport boolean
    Provide CSV detailed report
    enabled boolean
    Scan enabled
    frequency string
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    frequencyFromRRule string
    Frequency from R rule
    hourOfDay number
    (int) Hour of day
    includeRemediation boolean
    Include remediation in detailed report
    lastSentTs number
    (int) Time of last notification in miliseconds
    lastUpdated number
    (int) Last updated
    rRuleSchedule string
    R rule schedule
    recipients string[]
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    templateId string
    Template ID
    timezoneId string
    Timezone ID
    withCompression boolean
    Compress detailed report
    config_id str
    Alert rule notification config ID
    config_type str
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    day_of_month float
    (int) Day of month
    days_of_weeks Sequence[AlertRuleNotificationConfigDaysOfWeek]
    List of days of week, as defined below
    detailed_report bool
    Provide CSV detailed report
    enabled bool
    Scan enabled
    frequency str
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    frequency_from_r_rule str
    Frequency from R rule
    hour_of_day float
    (int) Hour of day
    include_remediation bool
    Include remediation in detailed report
    last_sent_ts float
    (int) Time of last notification in miliseconds
    last_updated float
    (int) Last updated
    r_rule_schedule str
    R rule schedule
    recipients Sequence[str]
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    template_id str
    Template ID
    timezone_id str
    Timezone ID
    with_compression bool
    Compress detailed report
    configId String
    Alert rule notification config ID
    configType String
    Config type. Valid values are email, slack, splunk, amazon_sqs, microsoft_teams, jira, webhook, aws_security_hub, google_cscc, service_now, pager_duty, aws_s3, snowflake or demisto
    dayOfMonth Number
    (int) Day of month
    daysOfWeeks List<Property Map>
    List of days of week, as defined below
    detailedReport Boolean
    Provide CSV detailed report
    enabled Boolean
    Scan enabled
    frequency String
    Frequency. Valid values are as_it_happens, daily, weekly, or monthly.
    frequencyFromRRule String
    Frequency from R rule
    hourOfDay Number
    (int) Hour of day
    includeRemediation Boolean
    Include remediation in detailed report
    lastSentTs Number
    (int) Time of last notification in miliseconds
    lastUpdated Number
    (int) Last updated
    rRuleSchedule String
    R rule schedule
    recipients List<String>
    List of unique email addresses to notify (For email notifications), List of integration ids (For integrations without notification templates), or List of notification template ids (For integrations with notification templates)
    templateId String
    Template ID
    timezoneId String
    Timezone ID
    withCompression Boolean
    Compress detailed report

    AlertRuleNotificationConfigDaysOfWeek, AlertRuleNotificationConfigDaysOfWeekArgs

    Day string
    Day
    Offset double
    (int) Offset
    Day string
    Day
    Offset float64
    (int) Offset
    day String
    Day
    offset Double
    (int) Offset
    day string
    Day
    offset number
    (int) Offset
    day str
    Day
    offset float
    (int) Offset
    day String
    Day
    offset Number
    (int) Offset

    AlertRuleTarget, AlertRuleTargetArgs

    AccountGroups List<string>
    List of account groups
    AlertRulePolicyFilters List<AlertRuleTargetAlertRulePolicyFilter>
    Model for Alert Rule Policy Filter, as defined below
    ExcludedAccounts List<string>
    List of excluded accounts
    Regions List<string>
    List of regions
    ResourceLists List<AlertRuleTargetResourceList>
    Model for holding the resource list for compute access groups below
    Tags List<AlertRuleTargetTag>
    List of tag models, as defined below
    AccountGroups []string
    List of account groups
    AlertRulePolicyFilters []AlertRuleTargetAlertRulePolicyFilter
    Model for Alert Rule Policy Filter, as defined below
    ExcludedAccounts []string
    List of excluded accounts
    Regions []string
    List of regions
    ResourceLists []AlertRuleTargetResourceList
    Model for holding the resource list for compute access groups below
    Tags []AlertRuleTargetTag
    List of tag models, as defined below
    accountGroups List<String>
    List of account groups
    alertRulePolicyFilters List<AlertRuleTargetAlertRulePolicyFilter>
    Model for Alert Rule Policy Filter, as defined below
    excludedAccounts List<String>
    List of excluded accounts
    regions List<String>
    List of regions
    resourceLists List<AlertRuleTargetResourceList>
    Model for holding the resource list for compute access groups below
    tags List<AlertRuleTargetTag>
    List of tag models, as defined below
    accountGroups string[]
    List of account groups
    alertRulePolicyFilters AlertRuleTargetAlertRulePolicyFilter[]
    Model for Alert Rule Policy Filter, as defined below
    excludedAccounts string[]
    List of excluded accounts
    regions string[]
    List of regions
    resourceLists AlertRuleTargetResourceList[]
    Model for holding the resource list for compute access groups below
    tags AlertRuleTargetTag[]
    List of tag models, as defined below
    account_groups Sequence[str]
    List of account groups
    alert_rule_policy_filters Sequence[AlertRuleTargetAlertRulePolicyFilter]
    Model for Alert Rule Policy Filter, as defined below
    excluded_accounts Sequence[str]
    List of excluded accounts
    regions Sequence[str]
    List of regions
    resource_lists Sequence[AlertRuleTargetResourceList]
    Model for holding the resource list for compute access groups below
    tags Sequence[AlertRuleTargetTag]
    List of tag models, as defined below
    accountGroups List<String>
    List of account groups
    alertRulePolicyFilters List<Property Map>
    Model for Alert Rule Policy Filter, as defined below
    excludedAccounts List<String>
    List of excluded accounts
    regions List<String>
    List of regions
    resourceLists List<Property Map>
    Model for holding the resource list for compute access groups below
    tags List<Property Map>
    List of tag models, as defined below

    AlertRuleTargetAlertRulePolicyFilter, AlertRuleTargetAlertRulePolicyFilterArgs

    CloudTypes List<string>
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    PolicyComplianceStandards List<string>
    Compliance Standard name.
    PolicyLabels List<string>
    Policy Label.
    PolicySeverities List<string>
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.
    CloudTypes []string
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    PolicyComplianceStandards []string
    Compliance Standard name.
    PolicyLabels []string
    Policy Label.
    PolicySeverities []string
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.
    cloudTypes List<String>
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    policyComplianceStandards List<String>
    Compliance Standard name.
    policyLabels List<String>
    Policy Label.
    policySeverities List<String>
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.
    cloudTypes string[]
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    policyComplianceStandards string[]
    Compliance Standard name.
    policyLabels string[]
    Policy Label.
    policySeverities string[]
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.
    cloud_types Sequence[str]
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    policy_compliance_standards Sequence[str]
    Compliance Standard name.
    policy_labels Sequence[str]
    Policy Label.
    policy_severities Sequence[str]
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.
    cloudTypes List<String>
    Cloud Type. Valid values are aws, alibaba_cloud, azure, gcp, ibm, oci.
    policyComplianceStandards List<String>
    Compliance Standard name.
    policyLabels List<String>
    Policy Label.
    policySeverities List<String>
    Policy Severity. Valid values are LOW, MEDIUM, HIGH, CRITICAL, INFORMATIONAL.

    AlertRuleTargetResourceList, AlertRuleTargetResourceListArgs

    ComputeAccessGroupIds List<string>
    List of compute access group ids
    ComputeAccessGroupIds []string
    List of compute access group ids
    computeAccessGroupIds List<String>
    List of compute access group ids
    computeAccessGroupIds string[]
    List of compute access group ids
    compute_access_group_ids Sequence[str]
    List of compute access group ids
    computeAccessGroupIds List<String>
    List of compute access group ids

    AlertRuleTargetTag, AlertRuleTargetTagArgs

    Key string
    Resource tag target
    Values List<string>
    List of values for resource tag key
    Key string
    Resource tag target
    Values []string
    List of values for resource tag key
    key String
    Resource tag target
    values List<String>
    List of values for resource tag key
    key string
    Resource tag target
    values string[]
    List of values for resource tag key
    key str
    Resource tag target
    values Sequence[str]
    List of values for resource tag key
    key String
    Resource tag target
    values List<String>
    List of values for resource tag key

    Import

    Resources can be imported using the policy scan config ID:

    $ pulumi import prismacloud:index/alertRule:AlertRule example 11111111-2222-3333-4444-555555555555
    

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

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks