Package com.datadog.api.client.v2.model
Class SensitiveDataScannerRuleAttributes
java.lang.Object
com.datadog.api.client.v2.model.SensitiveDataScannerRuleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SensitiveDataScannerRuleAttributes
extends Object
Attributes of the Sensitive Data Scanner rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludedNamespacesItem(String excludedNamespacesItem) addNamespacesItem(String namespacesItem) addTagsItem(String tagsItem) description(String description) booleanReturn true if this SensitiveDataScannerRuleAttributes object is equal to o.excludedNamespaces(List<String> excludedNamespaces) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Description of the rule.Attributes excluded from the scan.Object defining a set of keywords and a number of characters that help reduce noise.Whether or not the rule is enabled.getName()Name of the rule.Attributes included in the scan.Not included if there is a relationship to a standard pattern.Integer from 1 (high) to 5 (low) indicating rule issue severity.Object describing the suppressions for a rule.getTags()List of tags.Object describing how the scanned event will be replaced.inthashCode()includedKeywordConfiguration(SensitiveDataScannerIncludedKeywordConfiguration includedKeywordConfiguration) namespaces(List<String> namespaces) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetExcludedNamespaces(List<String> excludedNamespaces) voidsetIncludedKeywordConfiguration(SensitiveDataScannerIncludedKeywordConfiguration includedKeywordConfiguration) voidsetIsEnabled(Boolean isEnabled) voidvoidsetNamespaces(List<String> namespaces) voidsetPattern(String pattern) voidsetPriority(Long priority) voidsetSuppressions(SensitiveDataScannerSuppressions suppressions) voidvoidsetTextReplacement(SensitiveDataScannerTextReplacement textReplacement) suppressions(SensitiveDataScannerSuppressions suppressions) textReplacement(SensitiveDataScannerTextReplacement textReplacement) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EXCLUDED_NAMESPACES
- See Also:
-
JSON_PROPERTY_INCLUDED_KEYWORD_CONFIGURATION
- See Also:
-
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACES
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_SUPPRESSIONS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEXT_REPLACEMENT
- See Also:
-
-
Constructor Details
-
SensitiveDataScannerRuleAttributes
public SensitiveDataScannerRuleAttributes()
-
-
Method Details
-
description
-
getDescription
Description of the rule.- Returns:
- description
-
setDescription
-
excludedNamespaces
-
addExcludedNamespacesItem
-
getExcludedNamespaces
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.- Returns:
- excludedNamespaces
-
setExcludedNamespaces
-
includedKeywordConfiguration
public SensitiveDataScannerRuleAttributes includedKeywordConfiguration(SensitiveDataScannerIncludedKeywordConfiguration includedKeywordConfiguration) -
getIncludedKeywordConfiguration
Object defining a set of keywords and a number of characters that help reduce noise. You can provide a list of keywords you would like to check within a defined proximity of the matching pattern. If any of the keywords are found within the proximity check, the match is kept. If none are found, the match is discarded.- Returns:
- includedKeywordConfiguration
-
setIncludedKeywordConfiguration
public void setIncludedKeywordConfiguration(SensitiveDataScannerIncludedKeywordConfiguration includedKeywordConfiguration) -
isEnabled
-
getIsEnabled
Whether or not the rule is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
Name of the rule.- Returns:
- name
-
setName
-
namespaces
-
addNamespacesItem
-
getNamespaces
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned. If both are missing the whole event is scanned.- Returns:
- namespaces
-
setNamespaces
-
pattern
-
getPattern
Not included if there is a relationship to a standard pattern.- Returns:
- pattern
-
setPattern
-
priority
-
getPriority
Integer from 1 (high) to 5 (low) indicating rule issue severity. minimum: 1 maximum: 5- Returns:
- priority
-
setPriority
-
suppressions
public SensitiveDataScannerRuleAttributes suppressions(SensitiveDataScannerSuppressions suppressions) -
getSuppressions
Object describing the suppressions for a rule. There are three types of suppressions,starts_with,ends_with, andexact_match. Suppressed matches are not obfuscated, counted in metrics, or displayed in the Findings page.- Returns:
- suppressions
-
setSuppressions
-
tags
-
addTagsItem
-
getTags
List of tags.- Returns:
- tags
-
setTags
-
textReplacement
public SensitiveDataScannerRuleAttributes textReplacement(SensitiveDataScannerTextReplacement textReplacement) -
getTextReplacement
Object describing how the scanned event will be replaced.- Returns:
- textReplacement
-
setTextReplacement
-
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:
- SensitiveDataScannerRuleAttributes
-
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 SensitiveDataScannerRuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-