Package com.datadog.api.client.v2.model
Class SecurityMonitoringRuleOptions
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringRuleOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringRuleOptions
extends Object
Options.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectionOptions(SecurityMonitoringRuleAnomalyDetectionOptions anomalyDetectionOptions) complianceRuleOptions(CloudConfigurationComplianceRuleOptions complianceRuleOptions) decreaseCriticalityBasedOnEnv(Boolean decreaseCriticalityBasedOnEnv) detectionMethod(SecurityMonitoringRuleDetectionMethod detectionMethod) booleanReturn true if this SecurityMonitoringRuleOptions object is equal to o.evaluationWindow(SecurityMonitoringRuleEvaluationWindow evaluationWindow) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Options on anomaly detection method.Options for cloud_configuration rules.If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce signal noise.The detection method.A time window is specified to match when at least one of the cases matches true.Hardcoded evaluator type.Options on impossible travel detection method.Once a signal is generated, the signal will remain "open" if a case is matched at least once within this keep alive window.A signal will "close" regardless of the query being matched once the time exceeds the maximum duration.Options on new value detection method.Options on sequence detection method.Options on third party detection method.hardcodedEvaluatorType(SecurityMonitoringRuleHardcodedEvaluatorType hardcodedEvaluatorType) inthashCode()impossibleTravelOptions(SecurityMonitoringRuleImpossibleTravelOptions impossibleTravelOptions) keepAlive(SecurityMonitoringRuleKeepAlive keepAlive) maxSignalDuration(SecurityMonitoringRuleMaxSignalDuration maxSignalDuration) newValueOptions(SecurityMonitoringRuleNewValueOptions newValueOptions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.sequenceDetectionOptions(SecurityMonitoringRuleSequenceDetectionOptions sequenceDetectionOptions) voidsetAnomalyDetectionOptions(SecurityMonitoringRuleAnomalyDetectionOptions anomalyDetectionOptions) voidsetComplianceRuleOptions(CloudConfigurationComplianceRuleOptions complianceRuleOptions) voidsetDecreaseCriticalityBasedOnEnv(Boolean decreaseCriticalityBasedOnEnv) voidsetDetectionMethod(SecurityMonitoringRuleDetectionMethod detectionMethod) voidsetEvaluationWindow(SecurityMonitoringRuleEvaluationWindow evaluationWindow) voidsetHardcodedEvaluatorType(SecurityMonitoringRuleHardcodedEvaluatorType hardcodedEvaluatorType) voidsetImpossibleTravelOptions(SecurityMonitoringRuleImpossibleTravelOptions impossibleTravelOptions) voidsetKeepAlive(SecurityMonitoringRuleKeepAlive keepAlive) voidsetMaxSignalDuration(SecurityMonitoringRuleMaxSignalDuration maxSignalDuration) voidsetNewValueOptions(SecurityMonitoringRuleNewValueOptions newValueOptions) voidsetSequenceDetectionOptions(SecurityMonitoringRuleSequenceDetectionOptions sequenceDetectionOptions) voidsetThirdPartyRuleOptions(SecurityMonitoringRuleThirdPartyOptions thirdPartyRuleOptions) thirdPartyRuleOptions(SecurityMonitoringRuleThirdPartyOptions thirdPartyRuleOptions) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANOMALY_DETECTION_OPTIONS
- See Also:
-
JSON_PROPERTY_COMPLIANCE_RULE_OPTIONS
- See Also:
-
JSON_PROPERTY_DECREASE_CRITICALITY_BASED_ON_ENV
- See Also:
-
JSON_PROPERTY_DETECTION_METHOD
- See Also:
-
JSON_PROPERTY_EVALUATION_WINDOW
- See Also:
-
JSON_PROPERTY_HARDCODED_EVALUATOR_TYPE
- See Also:
-
JSON_PROPERTY_IMPOSSIBLE_TRAVEL_OPTIONS
- See Also:
-
JSON_PROPERTY_KEEP_ALIVE
- See Also:
-
JSON_PROPERTY_MAX_SIGNAL_DURATION
- See Also:
-
JSON_PROPERTY_NEW_VALUE_OPTIONS
- See Also:
-
JSON_PROPERTY_SEQUENCE_DETECTION_OPTIONS
- See Also:
-
JSON_PROPERTY_THIRD_PARTY_RULE_OPTIONS
- See Also:
-
-
Constructor Details
-
SecurityMonitoringRuleOptions
public SecurityMonitoringRuleOptions()
-
-
Method Details
-
anomalyDetectionOptions
public SecurityMonitoringRuleOptions anomalyDetectionOptions(SecurityMonitoringRuleAnomalyDetectionOptions anomalyDetectionOptions) -
getAnomalyDetectionOptions
Options on anomaly detection method.- Returns:
- anomalyDetectionOptions
-
setAnomalyDetectionOptions
public void setAnomalyDetectionOptions(SecurityMonitoringRuleAnomalyDetectionOptions anomalyDetectionOptions) -
complianceRuleOptions
public SecurityMonitoringRuleOptions complianceRuleOptions(CloudConfigurationComplianceRuleOptions complianceRuleOptions) -
getComplianceRuleOptions
Options for cloud_configuration rules. FieldsresourceTypeandregoRuleare mandatory when managing customcloud_configurationrules.- Returns:
- complianceRuleOptions
-
setComplianceRuleOptions
-
decreaseCriticalityBasedOnEnv
public SecurityMonitoringRuleOptions decreaseCriticalityBasedOnEnv(Boolean decreaseCriticalityBasedOnEnv) -
getDecreaseCriticalityBasedOnEnv
If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce signal noise. The severity is decreased by one level:CRITICALin production becomesHIGHin non-production,HIGHbecomesMEDIUMand so on.INFOremainsINFO. The decrement is applied when the environment tag of the signal starts withstaging,testordev.- Returns:
- decreaseCriticalityBasedOnEnv
-
setDecreaseCriticalityBasedOnEnv
-
detectionMethod
public SecurityMonitoringRuleOptions detectionMethod(SecurityMonitoringRuleDetectionMethod detectionMethod) -
getDetectionMethod
The detection method.- Returns:
- detectionMethod
-
setDetectionMethod
-
evaluationWindow
public SecurityMonitoringRuleOptions evaluationWindow(SecurityMonitoringRuleEvaluationWindow evaluationWindow) -
getEvaluationWindow
A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. For third party detection method, this field is not used.- Returns:
- evaluationWindow
-
setEvaluationWindow
-
hardcodedEvaluatorType
public SecurityMonitoringRuleOptions hardcodedEvaluatorType(SecurityMonitoringRuleHardcodedEvaluatorType hardcodedEvaluatorType) -
getHardcodedEvaluatorType
Hardcoded evaluator type.- Returns:
- hardcodedEvaluatorType
-
setHardcodedEvaluatorType
public void setHardcodedEvaluatorType(SecurityMonitoringRuleHardcodedEvaluatorType hardcodedEvaluatorType) -
impossibleTravelOptions
public SecurityMonitoringRuleOptions impossibleTravelOptions(SecurityMonitoringRuleImpossibleTravelOptions impossibleTravelOptions) -
getImpossibleTravelOptions
Options on impossible travel detection method.- Returns:
- impossibleTravelOptions
-
setImpossibleTravelOptions
public void setImpossibleTravelOptions(SecurityMonitoringRuleImpossibleTravelOptions impossibleTravelOptions) -
keepAlive
-
getKeepAlive
Once a signal is generated, the signal will remain "open" if a case is matched at least once within this keep alive window. For third party detection method, this field is not used.- Returns:
- keepAlive
-
setKeepAlive
-
maxSignalDuration
public SecurityMonitoringRuleOptions maxSignalDuration(SecurityMonitoringRuleMaxSignalDuration maxSignalDuration) -
getMaxSignalDuration
A signal will "close" regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.- Returns:
- maxSignalDuration
-
setMaxSignalDuration
-
newValueOptions
public SecurityMonitoringRuleOptions newValueOptions(SecurityMonitoringRuleNewValueOptions newValueOptions) -
getNewValueOptions
Options on new value detection method.- Returns:
- newValueOptions
-
setNewValueOptions
-
sequenceDetectionOptions
public SecurityMonitoringRuleOptions sequenceDetectionOptions(SecurityMonitoringRuleSequenceDetectionOptions sequenceDetectionOptions) -
getSequenceDetectionOptions
Options on sequence detection method.- Returns:
- sequenceDetectionOptions
-
setSequenceDetectionOptions
public void setSequenceDetectionOptions(SecurityMonitoringRuleSequenceDetectionOptions sequenceDetectionOptions) -
thirdPartyRuleOptions
public SecurityMonitoringRuleOptions thirdPartyRuleOptions(SecurityMonitoringRuleThirdPartyOptions thirdPartyRuleOptions) -
getThirdPartyRuleOptions
Options on third party detection method.- Returns:
- thirdPartyRuleOptions
-
setThirdPartyRuleOptions
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SecurityMonitoringRuleOptions
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SecurityMonitoringRuleOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-