{"id":21402,"date":"2019-06-11T05:58:02","date_gmt":"2019-06-11T04:58:02","guid":{"rendered":"https:\/\/developer.kore.ai\/v9-0\/?p=21402"},"modified":"2021-08-14T08:15:48","modified_gmt":"2021-08-14T07:15:48","slug":"pii-data-masking","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-0\/docs\/bots\/bot-settings\/pii-data-masking\/","title":{"rendered":"Redacting Personally Identifiable Information"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Personally identifiable information (PII), or sensitive personal information (SPI), refers to information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context.<\/p>\n<p>Some examples of PII include Social Security Number, email address, credit card numbers, passport number, home address, and so forth.<\/p>\n<p>Kore.ai allows you to redact any sensitive information that users share with your bots. When you enable redaction for an information type, you can transform its value into a pattern that doesn\u2019t contain comprehensible data.<\/p>\n<p>The platform provides the following three modes to redact specified information types:<\/p>\n<table>\n<thead>\n<tr>\n<th>Option<\/th>\n<th>Description<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>Redaction<\/b><\/td>\n<td>Replaces the data with a unique random alphanumeric value<\/td>\n<td>An email address entered gets replaced with a random value such as <i>jjh4ezb2<\/i><\/td>\n<\/tr>\n<tr>\n<td><b>Replacement<\/b><\/td>\n<td>Replaces the data with a static value that you enter in the PII Redaction settings.<\/td>\n<td>If the static value entered is <i>asdf1234<\/i>, any email address entered is replaced with <i>asdf1234<\/i><\/td>\n<\/tr>\n<tr>\n<td><b>Mask with Character<\/b><\/td>\n<td>Replaces the first few and last few characters of the data with \u2018+\u2019 or \u2018#\u2019 symbols. You can select the number of characters to mask as well as the symbol for masking.<\/td>\n<td>If you configure the first four and last four characters to be masked with \u2018+\u2019, an email address such as <a href=\"mailto:helpdocs@kore.ai\"><i>helpdocs@kore.ai<\/i><\/a> gets redacted as <i>++++docs@kor++++<\/i><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Once redaction is enabled for an information type, Bots Platform stores only the redacted data of instances of the specific type. Therefore, no user can get access to original PII data from the platform.<\/p>\n<div class=\"alert alert-info\">\n<p><strong>Note: <\/strong>If a PII value determines the transition in a Dialog task, then the original value is used for transition. However, developers can only see the redacted data in the context variable or other places where it is displayed.<\/p>\n<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"How_to_Redact\">How to Redact<\/span><\/h3>\n<ol>\n<li>Open the bot for which you want to configure the PII settings.<\/li>\n<li>Select the\u00a0<strong>Build<\/strong> tab from the top menu.<\/li>\n<li>From the left menu, click <strong>Configuration<\/strong> <strong>-&gt; <\/strong><strong>PII Settings<\/strong>.<\/li>\n<li>The PII Redaction page opens.<\/li>\n<li>If PII Redaction isn\u2019t enabled for the bot, toggle the switch to <strong>Yes<\/strong>. The page now shows a list of information types whose redaction settings are configured by default.<\/li>\n<li>To activate the redaction of any of these out-of-the-box information types, toggle the switch next to them to Enable. To edit their redaction settings, click their name.<\/li>\n<li>To configure redaction settings for any other information types, click <b>Add New<\/b> on the top-right side of the PII Redaction page.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617123453\/Config_pii-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27793\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617123453\/Config_pii-1.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617123453\/Config_pii-1.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617123453\/Config_pii-1-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617123453\/Config_pii-1-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Configuration_Fields\">Configuration Fields<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>Information Type<\/b><\/td>\n<td>Enter a name for the information type you want to secure, for example, Credit Card Number.<\/td>\n<\/tr>\n<tr>\n<td><b>Definition<\/b><\/td>\n<td>Enter a regular expression for recognizing the information type from user entries. For example, a regex value for a Visa credit card could be similar to <i>^4[0-9]{12}(?:[0-9]{3})?$ <\/i><\/td>\n<\/tr>\n<tr>\n<td><b>Map Entities<\/b><\/td>\n<td>Map all the entities in the bot\u2019s Dialog tasks that correspond to the information type.<br \/>\n<b>Note<\/b>: If you do not map entities corresponding to redacted information types, even valid user entries for those entities cause errors in the dialog tasks. For example, let\u2019s say you have enabled redaction for email information type. When a user enters an email address for a bot entity, the platform immediately redacts the information even before the entity node captures it, as emails are set up for redaction. The entity node then receives redacted data, and since the entity is not mapped in the redaction settings, it assumes the redacted value as an invalid email entry. Whereas, if you map the entity in the redaction settings, the entity recognizes the data redacted and accepts it.<\/td>\n<\/tr>\n<tr>\n<td><b>Display Type<\/b><\/td>\n<td>Select one of these modes to display the redacted data anywhere in the platform: <b>Redaction<\/b>, <b>Replacement<\/b>, <b>Mask with Character.<\/b><\/p>\n<p><strong>Note<\/strong>: The value displayed would be prefixed with a platform generated random unique identifier. This is the key used internally to retrieve the original value in case of conditional transitions etc..<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617124308\/Config_pii_edit.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27795\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617124308\/Config_pii_edit.png\" alt=\"\" width=\"497\" height=\"761\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617124308\/Config_pii_edit.png 497w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-0\/wp-content\/uploads\/sites\/21\/20210617124308\/Config_pii_edit-196x300.png 196w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Personally identifiable information (PII), or sensitive personal information (SPI), refers to information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Some examples of PII include Social Security Number, email address, credit card numbers, passport number, home address,...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-21402","post","type-post","status-publish","format-standard","hentry","category-bot-settings"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/21402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/comments?post=21402"}],"version-history":[{"count":6,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/21402\/revisions"}],"predecessor-version":[{"id":30899,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/21402\/revisions\/30899"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/media?parent=21402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/categories?post=21402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/tags?post=21402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}