Package com.datadog.api.client.v2.model
Class SecretRuleDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecretRuleDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecretRuleDataAttributes
extends Object
The attributes of a secret detection rule, including its pattern, priority, and validation
configuration.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDefaultIncludedKeywordsItem(String defaultIncludedKeywordsItem) addValidatorsItem(String validatorsItem) defaultIncludedKeywords(List<String> defaultIncludedKeywords) description(String description) booleanReturn true if this SecretRuleDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of keywords that are included by default when scanning for secrets matching this rule.A detailed explanation of what type of secret this rule detects.The license under which this secret rule is distributed.Configuration for validating whether a detected secret is active by making an HTTP request and inspecting the response.getName()The unique name of the secret detection rule.The regular expression pattern used to identify potential secrets in source code or configuration.The priority level of this rule, used to rank findings when multiple rules match.getSdsId()The identifier of the corresponding Sensitive Data Scanner rule, if one exists.A list of validator identifiers used to further confirm a detected secret is genuine.inthashCode()matchValidation(SecretRuleDataAttributesMatchValidation matchValidation) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDefaultIncludedKeywords(List<String> defaultIncludedKeywords) voidsetDescription(String description) voidsetLicense(String license) voidsetMatchValidation(SecretRuleDataAttributesMatchValidation matchValidation) voidvoidsetPattern(String pattern) voidsetPriority(String priority) voidvoidsetValidators(List<String> validators) toString()validators(List<String> validators)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DEFAULT_INCLUDED_KEYWORDS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LICENSE
- See Also:
-
JSON_PROPERTY_MATCH_VALIDATION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_SDS_ID
- See Also:
-
JSON_PROPERTY_VALIDATORS
- See Also:
-
-
Constructor Details
-
SecretRuleDataAttributes
public SecretRuleDataAttributes()
-
-
Method Details
-
defaultIncludedKeywords
-
addDefaultIncludedKeywordsItem
-
getDefaultIncludedKeywords
A list of keywords that are included by default when scanning for secrets matching this rule.- Returns:
- defaultIncludedKeywords
-
setDefaultIncludedKeywords
-
description
-
getDescription
A detailed explanation of what type of secret this rule detects.- Returns:
- description
-
setDescription
-
license
-
getLicense
The license under which this secret rule is distributed.- Returns:
- license
-
setLicense
-
matchValidation
public SecretRuleDataAttributes matchValidation(SecretRuleDataAttributesMatchValidation matchValidation) -
getMatchValidation
Configuration for validating whether a detected secret is active by making an HTTP request and inspecting the response.- Returns:
- matchValidation
-
setMatchValidation
-
name
-
getName
The unique name of the secret detection rule.- Returns:
- name
-
setName
-
pattern
-
getPattern
The regular expression pattern used to identify potential secrets in source code or configuration.- Returns:
- pattern
-
setPattern
-
priority
-
getPriority
The priority level of this rule, used to rank findings when multiple rules match.- Returns:
- priority
-
setPriority
-
sdsId
-
getSdsId
The identifier of the corresponding Sensitive Data Scanner rule, if one exists.- Returns:
- sdsId
-
setSdsId
-
validators
-
addValidatorsItem
-
getValidators
A list of validator identifiers used to further confirm a detected secret is genuine.- Returns:
- validators
-
setValidators
-
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:
- SecretRuleDataAttributes
-
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 SecretRuleDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-