Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v0.26.0
DeidentifyTemplate
datalossprevention.gcp.upbound.io
DeidentifyTemplate
upbound/provider-gcp@v0.26.0datalossprevention.gcp.upbound.io

DeidentifyTemplate is the Schema for the DeidentifyTemplates API. Allows creation of templates to de-identify content.

Type

CRD

Group

datalossprevention.gcp.upbound.io

Version

v1beta1

apiVersion: datalossprevention.gcp.upbound.io/v1beta1

kind: DeidentifyTemplate

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

DeidentifyTemplateSpec defines the desired state of DeidentifyTemplate

forProvider
requiredobject
requiredobject

No description provided.

deidentifyConfig
requiredarray
requiredarray

Configuration of the deidentify template Structure is documented below.

array

Treat the dataset as free-form text and apply the same free text transformation everywhere Structure is documented below.

transformations
requiredarray
requiredarray

Transformation for each infoType. Cannot specify more than one for a given infoType. Structure is documented below.

array

InfoTypes to apply the transformation to. Leaving this empty will apply the transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig. Structure is documented below.

name
requiredstring
requiredarray

Primitive transformation to apply to the infoType. The primitive_transformation block must only contain one argument, corresponding to the type of transformation. Structure is documented below.

array

Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. Structure is documented below.

array

Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297. Structure is documented below.

context
array
array

The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but:

name
string
array

The key used by the encryption algorithm. Structure is documented below.

array

Kms wrapped key Structure is documented below.

cryptoKeyName
requiredstring
wrappedKey
requiredstring
array

Transient crypto key Structure is documented below.

name
requiredstring
array

Unwrapped crypto key Structure is documented below.

key
requiredstring
array

The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType SurrogateType. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE Structure is documented below.

name
string
array

Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the content.reidentify API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity. Structure is documented below.

context
array
array

The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but:

name
string
array

The key used by the encryption algorithm. Structure is documented below.

array

Kms wrapped key Structure is documented below.

cryptoKeyName
requiredstring
wrappedKey
requiredstring
array

Transient crypto key Structure is documented below.

name
requiredstring
array

Unwrapped crypto key Structure is documented below.

key
requiredstring
radix
number
array

The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType SurrogateType. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE Structure is documented below.

name
string
array

Replace each input value with a given value. Structure is documented below.

newValue
requiredarray
requiredarray

Replace each input value with a given value. The new_value block must only contain one argument. For example when replacing the contents of a string-type field, only string_value should be set. Structure is documented below.

array

Represents a whole or partial calendar date. Structure is documented below.

day
number
month
number
year
number
array

Represents a time of day. Structure is documented below.

hours
number
minutes
number
nanos
number
seconds
number
array

Treat the dataset as structured. Transformations can be applied to specific locations within structured datasets, such as transforming a column within a table. Structure is documented below.

array

Transform the record by applying various field transformations. Structure is documented below.

array

A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content. Structure is documented below.

array

An expression, consisting of an operator and conditions. Structure is documented below.

array

Conditions to apply to the expression. Structure is documented below.

array

Conditions to apply to the expression. Structure is documented below.

field
requiredarray
requiredarray

Field within the record this condition is evaluated against. Structure is documented below.

name
string
operator
requiredstring
value
array
array

Value to compare against. The value block must only contain one argument. For example when a condition is evaluated against a string-type field, only string_value should be set. This argument is mandatory, except for conditions using the EXISTS operator. Structure is documented below.

array

Represents a whole or partial calendar date. Structure is documented below.

day
number
month
number
year
number
array

Represents a time of day. Structure is documented below.

hours
number
minutes
number
nanos
number
seconds
number
fields
requiredarray
requiredarray

Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type". Structure is documented below.

name
string
requiredarray

Primitive transformation to apply to the infoType. The primitive_transformation block must only contain one argument, corresponding to the type of transformation. Structure is documented below.

array

Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. Structure is documented below.

array

Redact a given value. For example, if used with an InfoTypeTransformation transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '.

array

Replace each input value with a given value. Structure is documented below.

newValue
requiredarray
requiredarray

Replace each input value with a given value. The new_value block must only contain one argument. For example when replacing the contents of a string-type field, only string_value should be set. Structure is documented below.

array

Represents a whole or partial calendar date. Structure is documented below.

day
number
month
number
year
number
array

Represents a time of day. Structure is documented below.

hours
number
minutes
number
nanos
number
seconds
number
array

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output. Structure is documented below.

array

A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content. Structure is documented below.

array

An expression, consisting of an operator and conditions. Structure is documented below.

array

Conditions to apply to the expression. Structure is documented below.

array

Conditions to apply to the expression. Structure is documented below.

field
requiredarray
requiredarray

Field within the record this condition is evaluated against. Structure is documented below.

name
string
operator
requiredstring
value
array
array

Value to compare against. The value block must only contain one argument. For example when a condition is evaluated against a string-type field, only string_value should be set. This argument is mandatory, except for conditions using the EXISTS operator. Structure is documented below.

array

Represents a whole or partial calendar date. Structure is documented below.

day
number
month
number
year
number
array

Represents a time of day. Structure is documented below.

hours
number
minutes
number
nanos
number
seconds
number
parent
requiredstring
object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

DeidentifyTemplateStatus defines the observed state of DeidentifyTemplate.

object

No description provided.

id
string
name
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.