Package com.datadog.api.client.v2.model
Class Selectors
java.lang.Object
com.datadog.api.client.v2.model.Selectors
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Selectors
extends Object
Selectors are used to filter security issues for which notifications should be generated. Users
can specify rule severities, rule types, a query to filter security issues on tags and
attributes, and the trigger source. Only the trigger_source field is required.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRuleTypesItem(RuleTypesItems ruleTypesItem) addSeveritiesItem(RuleSeverity severitiesItem) booleanReturn true if this Selectors object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getQuery()The query is composed of one or several key:value pairs, which can be used to filter security issues on tags and attributes.Security rule types used as filters in security rules.The security rules severities to consider.The type of security issues on which the rule applies.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.ruleTypes(List<RuleTypesItems> ruleTypes) voidvoidsetRuleTypes(List<RuleTypesItems> ruleTypes) voidsetSeverities(List<RuleSeverity> severities) voidsetTriggerSource(TriggerSource triggerSource) severities(List<RuleSeverity> severities) toString()triggerSource(TriggerSource triggerSource)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RULE_TYPES
- See Also:
-
JSON_PROPERTY_SEVERITIES
- See Also:
-
JSON_PROPERTY_TRIGGER_SOURCE
- See Also:
-
-
Constructor Details
-
Selectors
public Selectors() -
Selectors
-
-
Method Details
-
query
-
getQuery
The query is composed of one or several key:value pairs, which can be used to filter security issues on tags and attributes.- Returns:
- query
-
setQuery
-
ruleTypes
-
addRuleTypesItem
-
getRuleTypes
Security rule types used as filters in security rules.- Returns:
- ruleTypes
-
setRuleTypes
-
severities
-
addSeveritiesItem
-
getSeverities
The security rules severities to consider.- Returns:
- severities
-
setSeverities
-
triggerSource
-
getTriggerSource
The type of security issues on which the rule applies. Notification rules based on security signals need to use the trigger source "security_signals", while notification rules based on security vulnerabilities need to use the trigger source "security_findings".- Returns:
- triggerSource
-
setTriggerSource
-
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:
- Selectors
-
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 Selectors object is equal to o. -
hashCode
public int hashCode() -
toString
-