Adding regular expressions
Unlike Tagging policies which are deployed per Stor, RegExs are deployed globally at the Hub level and are applied across all Stors those are PII enabled.
To add regular expressions
- Open a web browser and access the Administration portal URL.
The home page of the Administration portal is displayed.
- Click Tagging.
- On the left, click Regular expressions.
- Click New Regular expressions.
- On the Update Regular expressions page, enter the following details:
Single Term Regexp
Lets you compose a regular expression that will work against a single term (For example, 4543934039222343).
Query String
Lets your query for strings, supports wildcards, and so on. It operates on individual words.
Advanced Elastic Search Query
Allows a raw query to be composed. Here you can use span_near to provide matching over multiple terms (for example, credit card numbers with dashes or spaces).
- Select the required output tag from the drop-down list.
- Click Create.
The RegEx is now active and will be evaluated during the next policy interval with the same scope as your indexing policies.