diff --git a/.apigentools-info b/.apigentools-info index 7a024f723bfa0..444cd52e72423 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-28 18:38:56.326868", - "spec_repo_commit": "b4ad1786" + "regenerated": "2024-10-28 21:31:46.602951", + "spec_repo_commit": "fb1c43e3" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-28 18:39:04.239857", - "spec_repo_commit": "b4ad1786" + "regenerated": "2024-10-28 21:31:54.934681", + "spec_repo_commit": "fb1c43e3" } } } \ No newline at end of file diff --git a/content/en/api/v2/sensitive-data-scanner/examples.json b/content/en/api/v2/sensitive-data-scanner/examples.json index 19e17a473fcfc..56162e96911ec 100644 --- a/content/en/api/v2/sensitive-data-scanner/examples.json +++ b/content/en/api/v2/sensitive-data-scanner/examples.json @@ -30,7 +30,8 @@ "keywords": [ "credit card", "cc" - ] + ], + "use_recommended_keywords": false }, "is_enabled": false, "name": "string", @@ -73,7 +74,7 @@ "version": 0 } }, - "html": "
data
\nobject
Response data related to the scanning groups.
attributes
\nobject
Attributes of the Sensitive Data configuration.
id
\nstring
ID of the configuration.
relationships
\nobject
Relationships of the configuration.
groups
\nobject
List of groups, ordered.
data
\n[object]
List of groups. The order is important.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
type
\nenum
Sensitive Data Scanner configuration type. \nAllowed enum values: sensitive_data_scanner_configuration
default: sensitive_data_scanner_configuration
included
\n[ <oneOf>]
Included objects from relationships.
Option 1
\nobject
A Scanning Rule included item.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
Option 2
\nobject
A Scanning Group included item.
attributes
\nobject
Attributes of the Sensitive Data Scanner group.
description
\nstring
Description of the group.
filter
\nobject
Filter for the Scanning Group.
query
\nstring
Query to filter the events.
is_enabled
\nboolean
Whether or not the group is enabled.
name
\nstring
Name of the group.
product_list
\n[string]
List of products the scanning group applies.
id
\nstring
ID of the group.
relationships
\nobject
Relationships of the group.
configuration
\nobject
A Sensitive Data Scanner configuration data.
data
\nobject
A Sensitive Data Scanner configuration.
id
\nstring
ID of the configuration.
type
\nenum
Sensitive Data Scanner configuration type. \nAllowed enum values: sensitive_data_scanner_configuration
default: sensitive_data_scanner_configuration
rules
\nobject
Rules included in the group.
data
\n[object]
Rules included in the group. The order is important.
id
\nstring
ID of the rule.
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
meta
\nobject
Meta response containing information about the API.
count_limit
\nint64
Maximum number of scanning rules allowed for the org.
group_count_limit
\nint64
Maximum number of scanning groups allowed for the org.
has_highlight_enabled
\nboolean
DEPRECATED: (Deprecated) Whether or not scanned events are highlighted in Logs or RUM for the org.
default: true
has_multi_pass_enabled
\nboolean
DEPRECATED: (Deprecated) Whether or not scanned events have multi-pass enabled.
is_pci_compliant
\nboolean
Whether or not the org is compliant to the payment card industry standard.
version
\nint64
Version of the API.
data
\nobject
Response data related to the scanning groups.
attributes
\nobject
Attributes of the Sensitive Data configuration.
id
\nstring
ID of the configuration.
relationships
\nobject
Relationships of the configuration.
groups
\nobject
List of groups, ordered.
data
\n[object]
List of groups. The order is important.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
type
\nenum
Sensitive Data Scanner configuration type. \nAllowed enum values: sensitive_data_scanner_configuration
default: sensitive_data_scanner_configuration
included
\n[ <oneOf>]
Included objects from relationships.
Option 1
\nobject
A Scanning Rule included item.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
use_recommended_keywords
\nboolean
Should the rule use the underlying standard pattern keyword configuration. If set to true, the rule must be tied\nto a standard pattern. If set to false, then the specified keywords and character_count will be applied.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
Option 2
\nobject
A Scanning Group included item.
attributes
\nobject
Attributes of the Sensitive Data Scanner group.
description
\nstring
Description of the group.
filter
\nobject
Filter for the Scanning Group.
query
\nstring
Query to filter the events.
is_enabled
\nboolean
Whether or not the group is enabled.
name
\nstring
Name of the group.
product_list
\n[string]
List of products the scanning group applies.
id
\nstring
ID of the group.
relationships
\nobject
Relationships of the group.
configuration
\nobject
A Sensitive Data Scanner configuration data.
data
\nobject
A Sensitive Data Scanner configuration.
id
\nstring
ID of the configuration.
type
\nenum
Sensitive Data Scanner configuration type. \nAllowed enum values: sensitive_data_scanner_configuration
default: sensitive_data_scanner_configuration
rules
\nobject
Rules included in the group.
data
\n[object]
Rules included in the group. The order is important.
id
\nstring
ID of the rule.
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
meta
\nobject
Meta response containing information about the API.
count_limit
\nint64
Maximum number of scanning rules allowed for the org.
group_count_limit
\nint64
Maximum number of scanning groups allowed for the org.
has_highlight_enabled
\nboolean
DEPRECATED: (Deprecated) Whether or not scanned events are highlighted in Logs or RUM for the org.
default: true
has_multi_pass_enabled
\nboolean
DEPRECATED: (Deprecated) Whether or not scanned events have multi-pass enabled.
is_pci_compliant
\nboolean
Whether or not the org is compliant to the payment card industry standard.
version
\nint64
Version of the API.
data
\nobject
Response data related to the creation of a rule.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).
data
\nobject
Response data related to the creation of a rule.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
use_recommended_keywords
\nboolean
Should the rule use the underlying standard pattern keyword configuration. If set to true, the rule must be tied\nto a standard pattern. If set to false, then the specified keywords and character_count will be applied.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).
data [required]
\nobject
Data related to the creation of a rule.
attributes [required]
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
relationships [required]
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type [required]
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta [required]
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).
data [required]
\nobject
Data related to the creation of a rule.
attributes [required]
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
use_recommended_keywords
\nboolean
Should the rule use the underlying standard pattern keyword configuration. If set to true, the rule must be tied\nto a standard pattern. If set to false, then the specified keywords and character_count will be applied.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
relationships [required]
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type [required]
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta [required]
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).
data [required]
\nobject
Data related to the update of a rule.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta [required]
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).
data [required]
\nobject
Data related to the update of a rule.
attributes
\nobject
Attributes of the Sensitive Data Scanner rule.
description
\nstring
Description of the rule.
excluded_namespaces
\n[string]
Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
included_keyword_configuration
\nobject
Object defining a set of keywords and a number of characters that help reduce noise.\nYou can provide a list of keywords you would like to check within a defined proximity of the matching pattern.\nIf any of the keywords are found within the proximity check, the match is kept.\nIf none are found, the match is discarded.
character_count [required]
\nint64
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.\ncharacter_count
should be greater than the maximum length of a keyword defined for a rule.
keywords [required]
\n[string]
Keyword list that will be checked during scanning in order to validate a match.\nThe number of keywords in the list must be less than or equal to 30.
use_recommended_keywords
\nboolean
Should the rule use the underlying standard pattern keyword configuration. If set to true, the rule must be tied\nto a standard pattern. If set to false, then the specified keywords and character_count will be applied.
is_enabled
\nboolean
Whether or not the rule is enabled.
name
\nstring
Name of the rule.
namespaces
\n[string]
Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.\nIf both are missing the whole event is scanned.
pattern
\nstring
Not included if there is a relationship to a standard pattern.
priority
\nint64
Integer from 1 (high) to 5 (low) indicating rule issue severity.
tags
\n[string]
List of tags.
text_replacement
\nobject
Object describing how the scanned event will be replaced.
number_of_chars
\nint64
Required if type == 'partial_replacement_from_beginning'\nor 'partial_replacement_from_end'. It must be > 0.
replacement_string
\nstring
Required if type == 'replacement_string'.
type
\nenum
Type of the replacement text. None means no replacement.\nhash means the data will be stubbed. replacement_string means that\none can chose a text to replace the data. partial_replacement_from_beginning\nallows a user to partially replace the data from the beginning, and\npartial_replacement_from_end on the other hand, allows to replace data from\nthe end. \nAllowed enum values: none,hash,replacement_string,partial_replacement_from_beginning,partial_replacement_from_end
default: none
id
\nstring
ID of the rule.
relationships
\nobject
Relationships of a scanning rule.
group
\nobject
A scanning group data.
data
\nobject
A scanning group.
id
\nstring
ID of the group.
type
\nenum
Sensitive Data Scanner group type. \nAllowed enum values: sensitive_data_scanner_group
default: sensitive_data_scanner_group
standard_pattern
\nobject
A standard pattern.
data
\nobject
Data containing the standard pattern id.
id
\nstring
ID of the standard pattern.
type
\nenum
Sensitive Data Scanner standard pattern type. \nAllowed enum values: sensitive_data_scanner_standard_pattern
default: sensitive_data_scanner_standard_pattern
type
\nenum
Sensitive Data Scanner rule type. \nAllowed enum values: sensitive_data_scanner_rule
default: sensitive_data_scanner_rule
meta [required]
\nobject
Meta payload containing information about the API.
version
\nint64
Version of the API (optional).