Skip to content

Commit

Permalink
Deprecate two sds metadata fields (#2528)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 25, 2024
1 parent e22f897 commit 2cd885e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-23 16:36:52.833078",
"spec_repo_commit": "a916f673"
"regenerated": "2024-10-24 20:04:20.531641",
"spec_repo_commit": "aaacb8db"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-23 16:36:52.852804",
"spec_repo_commit": "a916f673"
"regenerated": "2024-10-24 20:04:20.550274",
"spec_repo_commit": "aaacb8db"
}
}
}
10 changes: 7 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21679,11 +21679,15 @@ components:
format: int64
type: integer
has_highlight_enabled:
description: Whether or not scanned events are highlighted in Logs or RUM
for the org.
default: true
deprecated: true
description: (Deprecated) Whether or not scanned events are highlighted
in Logs or RUM for the org.
type: boolean
has_multi_pass_enabled:
description: Whether or not scanned events have multi-pass enabled.
deprecated: true
description: (Deprecated) Whether or not scanned events have multi-pass
enabled.
type: boolean
is_pci_compliant:
description: Whether or not the org is compliant to the payment card industry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class SensitiveDataScannerMeta {
private Long groupCountLimit;

public static final String JSON_PROPERTY_HAS_HIGHLIGHT_ENABLED = "has_highlight_enabled";
private Boolean hasHighlightEnabled;
private Boolean hasHighlightEnabled = true;

public static final String JSON_PROPERTY_HAS_MULTI_PASS_ENABLED = "has_multi_pass_enabled";
private Boolean hasMultiPassEnabled;
Expand Down Expand Up @@ -95,17 +95,20 @@ public SensitiveDataScannerMeta hasHighlightEnabled(Boolean hasHighlightEnabled)
}

/**
* Whether or not scanned events are highlighted in Logs or RUM for the org.
* (Deprecated) Whether or not scanned events are highlighted in Logs or RUM for the org.
*
* @return hasHighlightEnabled
* @deprecated
*/
@Deprecated
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_HIGHLIGHT_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasHighlightEnabled() {
return hasHighlightEnabled;
}

@Deprecated
public void setHasHighlightEnabled(Boolean hasHighlightEnabled) {
this.hasHighlightEnabled = hasHighlightEnabled;
}
Expand All @@ -116,17 +119,20 @@ public SensitiveDataScannerMeta hasMultiPassEnabled(Boolean hasMultiPassEnabled)
}

/**
* Whether or not scanned events have multi-pass enabled.
* (Deprecated) Whether or not scanned events have multi-pass enabled.
*
* @return hasMultiPassEnabled
* @deprecated
*/
@Deprecated
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_MULTI_PASS_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasMultiPassEnabled() {
return hasMultiPassEnabled;
}

@Deprecated
public void setHasMultiPassEnabled(Boolean hasMultiPassEnabled) {
this.hasMultiPassEnabled = hasMultiPassEnabled;
}
Expand Down

0 comments on commit 2cd885e

Please sign in to comment.