Attachment Encryption: File attached using saveResponseBodyAsAttachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 07:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 10:14 AM
ServiceNow uses encryption contexts to secure attachments, and by default, it uses the context associated with the table or the one set in the 'context_sys_id' parameter. To address your questions:
Forcing 'NONE' encryption: Unfortunately, there isn't a direct way to force 'NONE' encryption when saving the response body as an attachment. The encryption context is crucial for securing sensitive data. If the default context or the 'General Encryption' context is applied, it's due to security measures.
Visibility issues with 'General Encryption': Users might not see files encrypted with the 'General Encryption' context due to lacking proper decryption rights. In ServiceNow, encryption contexts are tied to ACLs (Access Control Lists), and users need the necessary privileges to decrypt and view the attachment.