How to make column level encryption for attachments

Sruthi M
Kilo Guru

Hi,

I have a requirement to encrypt attachments at column level. I found a document that says column level encryption is supported for attachments but I din't find any documentation on how to encrypt them.

If anyone has documentation or steps to encrypt. Please share.

 

find_real_file.png

1 ACCEPTED SOLUTION

The checkbox will look something like this. Try clearing the cache and logout and login again to check if it works.

 

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

13 REPLIES 13

SanjivMeher
Kilo Patron
Kilo Patron

Make sure you have encryption plugin active.

Then you should have encryption context created. To access Encryption Context, you should elevate your role to Security Admin.

find_real_file.png

 

You encryption context is tied to your role. So make sure, the encryption context you created is tied to your role. Otherwise you wont see the checkbox to encrypt while attaching a file.

 

find_real_file.png

 

If you want to do it dynamically, you may use scripting.

For ex, I update the encryption_context field in sys_attachment field with the encryption I want to use.

There are also functions such as changeEncryptionContext(), which can set the encryption context. But to use this function, you should be logged in as a user, who has the role to encrypt


Please mark this response as correct or helpful if it assisted you with your question.

Thank you. That was helpful. I activated the plugin.

How to I associate roles to the encryption context and where would I set encryption for attachments?

I went to sys_attachment table and picked a encryption context that I created manually. But the attachment on the inicdent is hidden even to me as admin. I believe that's because I don't associate any role to the encryption context.

 

open the roles table and there you can associate an encryption context to a role for ex admin or itil.

Add the Encryption context to the list view and then double click to add the encryption context you created. Once you do that, any user with those roles, to which the encryption mapped to will have option to encrypt option while attaching.

find_real_file.png

Make sure you have your role elevated to Security Admin.


Please mark this response as correct or helpful if it assisted you with your question.

Hi,

I elevated to security admin and added encryption context to admin role but I don't see any checkbox for attachments. 

Can you send me a screenshot of how it would look and also am I missing any step?

find_real_file.png

 

find_real_file.png

To test the functionality I opened sys_attachment table and added encryption context to the attachment I added to a incident, then the attachment disappeared to me on incident even as admin

The checkbox will look something like this. Try clearing the cache and logout and login again to check if it works.

 

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.