Class FusionAlertRule
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.AlertRuleInner
com.azure.resourcemanager.securityinsights.models.FusionAlertRule
Represents Fusion alert rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.Get the description property: The description of the alert rule.Get the displayName property: The display name for alerts created by this alert rule.enabled()
Get the enabled property: Determines whether this alert rule is enabled or disabled.Get the lastModifiedUtc property: The last time that this alert has been modified.Get the scenarioExclusionPatterns property: Configuration to exclude scenarios in fusion detection.severity()
Get the severity property: The severity for alerts created by this alert rule.Get the sourceSettings property: Configuration for all supported source signals in fusion detection.tactics()
Get the tactics property: The tactics of the alert rule.Get the techniques property: The techniques of the alert rule.void
validate()
Validates the instance.withAlertRuleTemplateName
(String alertRuleTemplateName) Set the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.withEnabled
(Boolean enabled) Set the enabled property: Determines whether this alert rule is enabled or disabled.Set the etag property: Etag of the azure resource.withScenarioExclusionPatterns
(List<FusionScenarioExclusionPattern> scenarioExclusionPatterns) Set the scenarioExclusionPatterns property: Configuration to exclude scenarios in fusion detection.withSourceSettings
(List<FusionSourceSettings> sourceSettings) Set the sourceSettings property: Configuration for all supported source signals in fusion detection.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
FusionAlertRule
public FusionAlertRule()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classAlertRuleInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
alertRuleTemplateName
Get the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.- Returns:
- the alertRuleTemplateName value.
-
withAlertRuleTemplateName
Set the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.- Parameters:
alertRuleTemplateName
- the alertRuleTemplateName value to set.- Returns:
- the FusionAlertRule object itself.
-
description
Get the description property: The description of the alert rule.- Returns:
- the description value.
-
displayName
Get the displayName property: The display name for alerts created by this alert rule.- Returns:
- the displayName value.
-
enabled
Get the enabled property: Determines whether this alert rule is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Determines whether this alert rule is enabled or disabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the FusionAlertRule object itself.
-
sourceSettings
Get the sourceSettings property: Configuration for all supported source signals in fusion detection.- Returns:
- the sourceSettings value.
-
withSourceSettings
Set the sourceSettings property: Configuration for all supported source signals in fusion detection.- Parameters:
sourceSettings
- the sourceSettings value to set.- Returns:
- the FusionAlertRule object itself.
-
scenarioExclusionPatterns
Get the scenarioExclusionPatterns property: Configuration to exclude scenarios in fusion detection.- Returns:
- the scenarioExclusionPatterns value.
-
withScenarioExclusionPatterns
public FusionAlertRule withScenarioExclusionPatterns(List<FusionScenarioExclusionPattern> scenarioExclusionPatterns) Set the scenarioExclusionPatterns property: Configuration to exclude scenarios in fusion detection.- Parameters:
scenarioExclusionPatterns
- the scenarioExclusionPatterns value to set.- Returns:
- the FusionAlertRule object itself.
-
lastModifiedUtc
Get the lastModifiedUtc property: The last time that this alert has been modified.- Returns:
- the lastModifiedUtc value.
-
severity
Get the severity property: The severity for alerts created by this alert rule.- Returns:
- the severity value.
-
tactics
Get the tactics property: The tactics of the alert rule.- Returns:
- the tactics value.
-
techniques
Get the techniques property: The techniques of the alert rule.- Returns:
- the techniques value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAlertRuleInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-