Encrypt data using Row Conditions
Encrypt fields with multiple Field Encryption modules using Row Conditions to define the data being encrypted and the associated encryption keys. Row Conditions can also be used to define the users that have access using the condition builder.
시작하기 전에
Role required: security_admin and sn_kmf.cryptographic_manager or sn_kmf.admin
이 태스크 정보
- Row Conditions is only supported on encrypted columns and attachments.
- Mass encryption isn’t available when using the multiple encryption modules method.
- You can’t change a field using multiple encryption modules to use a single encryption module.
- Row Conditions enables data to be encrypted on the main record. Dot-walking isn’t supported in the condition builder.
- Row Conditions isn’t supported by the following service catalog tables:
- Options [sc_item_option]
- Question Answer [question_answer]
- Multi Row Question Answer [sc_multi_row_question_answer]
The field is encrypted by the encryption module of the first user to enter data. Because the encryption module is set on a per record basis, fields in a list can have different encryption modules. Within a single record, the field can be encrypted by only one module.
프로시저
결과
Newly created data for the specified field is encrypted with the key for the relevant module. When a user with the role specified in module A's access policy writes to the specified table, the data is encrypted with module A's key. Only users with the same role can read the data.
예
- Create two Field Encryption modules A and B.
- For each module, create a Module Access Policy (MAP) and define access as follows:
- Module A – to users with an HR role.
- Module B – to users with a Sales role.
- Create an Encrypted Field Configuration (EFC) record.
- Navigate to .
- Select Incident in the Table field.
- Select Short Description in the Column field.
- Select the Encrypt by default box if you must verify any records that fall outside of the condition builder criteria are still encrypted by the default field encryption module. Not
selecting this option would mean that any records that fall outside of the condition builder criteria won’t be encrypted.
Enter the default crypto module in the related Crypto module field.
- Select Submit.
- Create the Row Conditions.
- Run the appropriate encryption job:
- Mass Encryption - Run this job when a new Row Condition is created.
- Mass Rekeying - Run this job when an existing Row Condition is modified.
See Schedule mass encryption, decryption, and rekeying jobs.
- Have a user from Module A and a user from Module B create an incident with a short description. Have both users view the list of incidents.
The short description for the incident created by the user with the HR role is encrypted by the key for module A. The short description for the incident created by the user with the Sales role is encrypted by the key for module B.
All users with the HR and Sales roles have access to incidents. However, only a user with the HR role can decrypt and view the short description for those incidents created by another user with the HR role. Likewise, only users with the Sales role can decrypt and view the short descriptions for those incidents created by the user B, who had the Sales role.
다음에 수행할 작업
- Schedule a Mass Encryption job to update the encryption of the condition field.
- If modifying an existing Row Condition run a Mass Rekeying job to encrypt necessary data with the updated encryption module.