Manage Templates
In previous documentation, rule is referred to as classifier or identifier and framework is referred to as template.
Prerequisite
Sensitive data discovery must be enabled.
Command overview: immuta sdd template
immuta sdd template
This command allows you to manage identification frameworks, which are a collection of rules and settings used to drive the configuration of SDD runs. The table below illustrates subcommands and arguments.
Options
Use these options to get more details about the sdd template
command or any of its subcommands:
-h
--help
Create an identification framework
Save your framework to a valid YAML or JSON file using these attributes:
AttributeDescriptionRequiredname
string
Unique, request-friendly framework name.Yes
displayName
string
Unique, human-readable framework name.Yes
description
string
The framework description.Yes
classifiers
array
Includes each rules'sname
andoverrides
forminConfidence
andtags
.Yes
An example is provided below.
Run
immuta sdd template 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 identification framework
Run immuta sdd template get <frameworkName> [flags]
, specifying the name of the framework 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 a framework named ACCOUNT_NUMBERS_FRAMEWORK.
Get the global framework
Run immuta sdd template global [flags]
, to get the global framework that has been configured for sensitive data discovery. 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 the global framework that had been configured in the Immuta UI by an administrator.
Search identification frameworks
Run immuta sdd template search [string] [flags]
to list all identification frameworks or search identification frameworks by name. Options you can specify include
--classifiers strings
: Limit results to only frameworks that contain the specified rules.-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.
Example
The example below illustrates a user searching all frameworks containing the ACCOUNT_NUMBER_RULE
.
Update an identification framework
Update your framework in a valid YAML or JSON file using these attributes:
AttributeDescriptionRequiredname
string
Unique, request-friendly framework name.Yes
displayName
string
Unique, human-readable framework name.Yes
description
string
The framework description.Yes
classifiers
array
Includes each rules'sname
andoverrides
forminConfidence
andtags
.Yes
Run
immuta sdd template update <frameworkName> <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 a framework named ACCOUNT_NUMBERS_FRAMEWORK.
Delete an identification framework
Run immuta sdd template delete <frameworkName> [flags]
to delete the framework. 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