Class AutomationSource
java.lang.Object
com.azure.resourcemanager.security.models.AutomationSource
The source event types which evaluate the security automation set of rules. For example - security alerts and
security assessments. To learn more about the supported security events data models schemas - please visit
https://aka.ms/ASCAutomationSchemas.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventSource property: A valid event source type.ruleSets()
Get the ruleSets property: A set of rules which evaluate upon event interception.void
validate()
Validates the instance.withEventSource
(EventSource eventSource) Set the eventSource property: A valid event source type.withRuleSets
(List<AutomationRuleSet> ruleSets) Set the ruleSets property: A set of rules which evaluate upon event interception.
-
Constructor Details
-
AutomationSource
public AutomationSource()Creates an instance of AutomationSource class.
-
-
Method Details
-
eventSource
Get the eventSource property: A valid event source type.- Returns:
- the eventSource value.
-
withEventSource
Set the eventSource property: A valid event source type.- Parameters:
eventSource
- the eventSource value to set.- Returns:
- the AutomationSource object itself.
-
ruleSets
Get the ruleSets property: A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').- Returns:
- the ruleSets value.
-
withRuleSets
Set the ruleSets property: A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').- Parameters:
ruleSets
- the ruleSets value to set.- Returns:
- the AutomationSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-