Classification Custom Rules
Last updated
Last updated
If you have Data Classification enabled you will see this Classification Custom Rules page under the Configuration section.
Effective data classification requires policies and rulesets that are written for particular types of information. Along with out of the box rules, you are able to create your own custom rules using Regular Expressions (RegEx). Once created you can add these rules to a custom rule set and use them to classify your text based objects.
After clicking the Create Rule button you can enter a name, description, and regular expression for your rule. Once you save the rule, you'll be able to use it as part of a custom classification rule set.
Crafting RegEx policies is often challenging because the syntax can be complex and dense. Our integration with Amazon Bedrock simplifies this process by leveraging the power of artificial intelligence. All you need to do is enter a simple text prompt to identify patterns or text and the exact value you need for the rule will be created.
To get started, you’ll need to enable the Amazon Bedrock integration. Then you can navigate to Configuration in the navigation of your AV console and click on Classification Custom Rules. From there, click the “Create Rule” button. In the popup, enter a name and description, then click on “Create expression using Amazon Bedrock” to have the RegEx built for you.
For example, to create a RegEx rule that identifies certain credit card numbers, enter the Prompt “create a regular expression that discovers all American Express credit card numbers”. Then select Send Prompt to generate a RegEx rule that can be used. Each response is accompanied by an explanation of the RegEx. Click “save”.
If you’re a RegEx pro, custom classification rules can be created without the assistance of Bedrock—simply enter the regular expression, add a name plus description, and hit “save” to create the rule.