Manage Sensitive Data Discovery Rules
Prerequisite
Sensitive data discovery must be enabled.
Command overview: immuta sdd classifier
immuta sdd classifier
This command allows you to manage identifiers that will apply tags to data that matches the criteria you specify during SDD. The table below illustrates subcommands and arguments.
Options
Use these options to get more details about the sdd classifier
command or any of its subcommands:
-h
--help
Create an identifier
Save your identifier to a valid YAML or JSON file using these attributes.
Examples are provided below.
Run
immuta sdd classifier create <filepath> [flags]
, referencing the file you just created. The options you can specify include-h
or--help
: Get more information about the command.-o
or--output json | yaml
: Specify the output format.--outputTemplate string
: Format the response using a Go template.
Example
Get an identifier
Run immuta sdd classifier get <classifierName> [flags]
, specifying the name of the identifier you would like to get. Options you can specify include
-h
or--help
: Get more information about the command.-o
or--output json | yaml
: Specify the output format.--outputTemplate string
: Format the response using a Go template.
Example
The example below illustrates a user getting an identifier called ACCOUNT_NUMBER_IDENTIFIER.
Search identifiers
Run immuta sdd classifier search [string] [flags]
to list all identifiers or search identifiers by name. Options you can specify include
-h
,--help
: Help for search.--limit int
The search limit for pagination (default 25).--offset int
: The search offset for pagination.--order asc | desc
: The sort order.-o
,--output json | yaml
: The output format.--outputTemplate string
: Format the response using a Go template.-s
,--sort id | name | displayName | type | createdAt | updatedAt
: Field to sort by.--type regex | columnNameRegex | dictionary | builtIn
: Limit results to the specified criteria type.
Example
The example below illustrates a user searching all identifiers containing account
.
Update an identifier
Update your identifier in a valid YAML or JSON file using these attributes:
Run
immuta sdd classifier update <classifierName> <filepath> [flags]
, referencing the file you just updated. The options you can specify include-h
or--help
: Get more information about the command.-o
or--output json | yaml
: Specify the output format.--outputTemplate string
: Format the response using a Go template.
Example
The example below illustrates a user updating an identifier named ACCOUNT_NUMBER_IDENTIFIER.
Delete an identifier
Run immuta sdd classifier delete <classifierName> [flags]
to delete the identifier. The options you can specify include
-h
or--help
: Get more information about the command.-o
or--output json | yaml
: Specify the output format.--outputTemplate string
: Format the response using a Go template.
Example
Last updated