Skip to content

Commit

Permalink
Addng two new PII Kind values for IPv6 scrubbing and dropping data. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aef123 committed Feb 29, 2024
1 parent 9d2267e commit 0aae7db
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions shared/1ds-core-js/src/Enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ export const enum eValueKind {
*/
Pii_IPV4AddressLegacy = 13,

/**
* Scrubs the last 4 Hextets (last 64-bits) of an IPv6 address
*/
Pii_IPv6ScrubLastHextets = 14,

/**
* Drops the value altogether, rather than hashing
*/
Pii_DropValue = 15,

/**
* Generic content.
*/
Expand All @@ -108,6 +118,8 @@ export const ValueKind = createEnumStyle<typeof eValueKind>({
Pii_Uri: eValueKind.Pii_Uri,
Pii_Fqdn: eValueKind.Pii_Fqdn,
Pii_IPV4AddressLegacy: eValueKind.Pii_IPV4AddressLegacy,
Pii_IPv6ScrubLastHextets: eValueKind.Pii_IPv6ScrubLastHextets,
Pii_DropValue: eValueKind.Pii_DropValue,
CustomerContent_GenericContent: eValueKind.CustomerContent_GenericContent
});
export type ValueKind = number | eValueKind
Expand Down

0 comments on commit 0aae7db

Please sign in to comment.