Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44172,8 +44172,14 @@ components:
action:
$ref: '#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorActionHashAction'
options:
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash`
`options`.
description: 'Optional settings for the hash action. When omitted or empty,
matched sensitive data is

replaced with a deterministic hashed value that preserves structure for
analytics while

protecting the original content. Reserved for future hash configuration
(for example, algorithm or salt).'
type: object
required:
- action
Expand Down Expand Up @@ -44213,8 +44219,8 @@ components:
count and direction.
properties:
characters:
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions`
`characters`.
description: Number of characters to leave visible from the start or end
of the matched value; the rest are redacted.
example: 4
format: int64
type: integer
Expand Down Expand Up @@ -44259,8 +44265,8 @@ components:
description: Configuration for fully redacting sensitive data.
properties:
replace:
description: The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions`
`replace`.
description: The string used to replace matched sensitive data (for example,
"***" or "[REDACTED]").
example: '***'
type: string
required:
Expand Down Expand Up @@ -44388,7 +44394,7 @@ components:
scope:
$ref: '#/components/schemas/ObservabilityPipelineSensitiveDataScannerProcessorScope'
tags:
description: Tags assigned to this rule for filtering and classification.
description: Optional tags assigned to this rule for filtering and classification.
example:
- pii
- ccn
Expand All @@ -44397,7 +44403,6 @@ components:
type: array
required:
- name
- tags
- pattern
- scope
- on_match
Expand Down Expand Up @@ -44467,8 +44472,8 @@ components:
description: Fields to which the scope rule applies.
properties:
fields:
description: The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions`
`fields`.
description: List of log attribute names (field paths) to which the scope
applies. Only these fields are included in or excluded from pattern matching.
example:
- ''
items:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2026-02-18T16:57:05.121Z
2026-01-07T12:38:45.716Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class ObservabilityPipelineSensitiveDataScannerProcessorActionHash
# Action type that replaces the matched sensitive data with a hashed representation, preserving structure while securing content.
attr_reader :action

# The `ObservabilityPipelineSensitiveDataScannerProcessorActionHash` `options`.
# Optional settings for the hash action. When omitted or empty, matched sensitive data is
# replaced with a deterministic hashed value that preserves structure for analytics while
# protecting the original content. Reserved for future hash configuration (for example, algorithm or salt).
attr_accessor :options

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
include BaseGenericModel

# The `ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions` `characters`.
# Number of characters to leave visible from the start or end of the matched value; the rest are redacted.
attr_reader :characters

# Indicates whether to redact characters from the first or last part of the matched value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions
include BaseGenericModel

# The `ObservabilityPipelineSensitiveDataScannerProcessorActionRedactOptions` `replace`.
# The string used to replace matched sensitive data (for example, "***" or "[REDACTED]").
attr_reader :replace

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class ObservabilityPipelineSensitiveDataScannerProcessorRule
# Determines which parts of the log the pattern-matching rule should be applied to.
attr_reader :scope

# Tags assigned to this rule for filtering and classification.
attr_reader :tags
# Optional tags assigned to this rule for filtering and classification.
attr_accessor :tags

attr_accessor :additional_properties

Expand Down Expand Up @@ -120,7 +120,6 @@ def valid?
return false if @on_match.nil?
return false if @pattern.nil?
return false if @scope.nil?
return false if @tags.nil?
true
end

Expand Down Expand Up @@ -164,16 +163,6 @@ def scope=(scope)
@scope = scope
end

# Custom attribute writer method with validation
# @param tags [Object] Object to be assigned
# @!visibility private
def tags=(tags)
if tags.nil?
fail ArgumentError, 'invalid value for "tags", tags cannot be nil.'
end
@tags = tags
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions
include BaseGenericModel

# The `ObservabilityPipelineSensitiveDataScannerProcessorScopeOptions` `fields`.
# List of log attribute names (field paths) to which the scope applies. Only these fields are included in or excluded from pattern matching.
attr_reader :fields

attr_accessor :additional_properties
Expand Down
Loading