Class SecurityMonitoringSuppressionCreateAttributes

java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringSuppressionCreateAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringSuppressionCreateAttributes extends Object
Object containing the attributes of the suppression rule to be created.
  • Field Details

  • Constructor Details

    • SecurityMonitoringSuppressionCreateAttributes

      public SecurityMonitoringSuppressionCreateAttributes()
    • SecurityMonitoringSuppressionCreateAttributes

      public SecurityMonitoringSuppressionCreateAttributes(Boolean enabled, String name, String ruleQuery)
  • Method Details

    • dataExclusionQuery

      public SecurityMonitoringSuppressionCreateAttributes dataExclusionQuery(String dataExclusionQuery)
    • getDataExclusionQuery

      @Nullable public String getDataExclusionQuery()
      An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule.
      Returns:
      dataExclusionQuery
    • setDataExclusionQuery

      public void setDataExclusionQuery(String dataExclusionQuery)
    • description

      public SecurityMonitoringSuppressionCreateAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      A description for the suppression rule.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • enabled

    • getEnabled

      public Boolean getEnabled()
      Whether the suppression rule is enabled.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • expirationDate

      public SecurityMonitoringSuppressionCreateAttributes expirationDate(Long expirationDate)
    • getExpirationDate

      @Nullable public Long getExpirationDate()
      A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore.
      Returns:
      expirationDate
    • setExpirationDate

      public void setExpirationDate(Long expirationDate)
    • name

    • getName

      public String getName()
      The name of the suppression rule.
      Returns:
      name
    • setName

      public void setName(String name)
    • ruleQuery

    • getRuleQuery

      public String getRuleQuery()
      The rule query of the suppression rule, with the same syntax as the search bar for detection rules.
      Returns:
      ruleQuery
    • setRuleQuery

      public void setRuleQuery(String ruleQuery)
    • startDate

    • getStartDate

      @Nullable public Long getStartDate()
      A Unix millisecond timestamp giving the start date for the suppression rule. After this date, it starts suppressing signals.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(Long startDate)
    • suppressionQuery

      public SecurityMonitoringSuppressionCreateAttributes suppressionQuery(String suppressionQuery)
    • getSuppressionQuery

      @Nullable public String getSuppressionQuery()
      The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.
      Returns:
      suppressionQuery
    • setSuppressionQuery

      public void setSuppressionQuery(String suppressionQuery)
    • tags

    • addTagsItem

    • getTags

      @Nullable public List<String> getTags()
      List of tags associated with the suppression rule.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

      public SecurityMonitoringSuppressionCreateAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      SecurityMonitoringSuppressionCreateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SecurityMonitoringSuppressionCreateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object