<h2>Exploring Antivirus Scanning</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Exploring Antivirus Scanning" /><meta name="abstract" content="Use Antivirus Scanning to help protect your instance against virus infections that can be introduced by file attachments to your system records, such as incidents, problems, and stories." /><meta name="description" content="Use Antivirus Scanning to help protect your instance against virus infections that can be introduced by file attachments to your system records, such as incidents, problems, and stories." /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-09-04T09:56:57+05:30" /><meta name="DC.date.modified" content="2025-01-30" /><meta name="mini-toc" content="yes" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="exploring-antivirus-scanning" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Exploring Antivirus Scanning</title></head><body id="exploring-antivirus-scanning"> <h1 class="title topictitle1" id="ariaid-title1">Exploring Antivirus Scanning</h1> <div class="body conbody"><p class="shortdesc"><span class="ph" id="ph-short-descr">Use <span class="ph">Antivirus Scanning</span> to help protect your instance against virus infections that can be introduced by file attachments to your system records, such as incidents, problems, and stories.</span></p> <div class="section" id="exploring-antivirus-scanning__section_gfv_cpg_dfb"> <p class="p"><span class="ph">Antivirus Scanning</span> scans file attachments stored in your attachment [sys_attachment] table to help protect users from uploading and downloading infected files. All the document types supported by the Platform are scanned by Antivirus Scanning.</p> <p class="p">If <span class="ph">Antivirus Scanning</span> is enabled, all file attachments in the Attachments table [sys_attachment.do] are scanned by default.</p> <p class="p">The <span class="ph">Antivirus Protection</span> plugin (com.glide.snap) is activated and enabled by default on your instance. As an administrator, you can deactivate and reactivate the <span class="ph">Antivirus Scanning</span> feature across your instance at the switch of a toggle, set configuration options, and review antivirus activity on the instance.</p> <div class="p"> <div class="note"><span class="notetitle">Note:</span> <ul class="ul" id="exploring-antivirus-scanning__ul_wsh_y3d_phb"><li class="li"><span class="ph">Antivirus Scanning</span> is also available for customers in the Government Community Cloud (GCC) and commercial environment. <p class="p">GCC Users must set the (com.glide.snap.fed_enable_scan) property to true to start using the feature.</p> <p class="p">Commercial users must set <span class="keyword parmname">com.glide.snap.enable_scan</span> to true.</p> </li><li class="li">HTTP and HTTPS communication protocols are supported.</li><li class="li">Edge-encrypted files are excluded from this scan.</li><li class="li">Antivirus definitions are updated everyday.</li><li class="li">Any file above 100-MB file size isn’t scanned.</li></ul> </div> </div> </div> <div class="section" id="exploring-antivirus-scanning__section_skk_jpt_jzb"><h2 class="title sectiontitle">Email scanning</h2> <p class="p">Inbound emails are scanned for viruses by the system <a class="xref" href="../administer/notification/concept/c_EmailFilters.dita/c_EmailFilters.html" target="_blank" rel="noopener noreferrer">email filters</a>, not by <span class="ph">Antivirus Scanning</span>.</p> </div> <div class="section" id="exploring-antivirus-scanning__section_kkh_bmw_ddc"><h2 class="title sectiontitle">File Attachment field in a table</h2> <p class="p">The addition of a <span class="ph uicontrol">File Attachment</span> field in a table generates zz_yy tables. These tables are dynamic and virtual. They are automatically generated when the column type <span class="ph uicontrol">file_attachment</span> is added to parent tables.</p> <p class="p">Consider adding a user photo to the Users table and incorporating it into the form view. When a photo is uploaded to a record, it automatically uploads the attachment to the sys_attachment table. The sys_attachment table maps the photo to the zz_yyUsers table.</p> <p class="p">By default only attachments attached to zz_yylive_profile tables are scanned. To scan other tables that have column type <span class="ph uicontrol">file_attachment</span> create the system property <span class="keyword parmname">com.glide.snap.scan.zz_yytables</span> and insert the table name.</p> <p class="p"><span class="ph uicontrol">Example</span></p> <p class="p">The "zz_yyincident" and "zz_yycase" tables are dynamic tables created when the column is added to the parent tables: Incident and Case, then the property value should be <span class="keyword parmname">zz_yyincident,zz_yycase</span>.</p> <p class="p">After this property is set, attachments for the zz_yyincident and zz_yycase tables are scanned.</p> </div> <div class="section" id="exploring-antivirus-scanning__section_kg4_43q_jfb"><h2 class="title sectiontitle">Scanning scenarios</h2> <p class="p">Review these upload and download scenarios to understand how the system identifies potential security threats from files attached to your records.</p> <dl class="dl"> <dt class="dt dlterm">Scenario 1 - Upload a file</dt> <dd class="dd"> <div class="p"> <ol class="ol" id="exploring-antivirus-scanning__ol_yv4_qjp_ggb"><li class="li">The user unknowingly uploads an infected file to a record.</li><li class="li">The system scans the file and moves it to quarantine.</li><li class="li">The file appears in the Attachments window, where it’s marked as unavailable.</li><li class="li">The user selects the file and this error message appears: <samp class="ph msgph">The file Infected_testing.txt did not pass the security scan. Please remove the file from record INC0000059 and try again.</samp></li><li class="li">The system sends an email notification to the user and the antivirus administrator.</li><li class="li">The user closes the Attachments window and is returned to the record. The infected file is displays in the header as unavailable. Example, <samp class="ph systemoutput">infected_testing123.txtZ [unavailable]</samp>.</li></ol> </div> </dd> <dt class="dt dlterm">Scenario 2 - Download a file</dt> <dd class="dd"> <div class="p"> <ol class="ol" id="exploring-antivirus-scanning__ol_mm4_xmp_ggb"><li class="li">The user opens a record to download a file that is attached to it.</li><li class="li">Unaware that the file is infected, the user selects it for download.</li><li class="li">The system scans the file, moves it to quarantine, and displays a message similar to <samp class="ph systemoutput">The file infected_testing123.txt did not pass security scan and cannot be downloaded.</samp></li><li class="li">The user closes the message and the screen refreshes showing that the file is unavailable.</li><li class="li">The system sends an email notification to the user and the antivirus administrator.</li></ol> </div> </dd> <dt class="dt dlterm">Scenario 3 - Download a ZIP file</dt> <dd class="dd"> <div class="p"> <ol class="ol" id="exploring-antivirus-scanning__ol_xsh_2wp_ggb"><li class="li">A user opens a record and downloads a ZIP file that is attached to it.</li><li class="li">The system scans the ZIP files individually.</li><li class="li">One file doesn’t pass the security scan and is marked as unavailable. The remaining files are zipped and downloaded successfully.</li><li class="li">The user opens the ZIP file and sees an “error.txt” file in addition to the successfully downloaded file. This file contains an error message specifying which file didn’t pass scanning and was therefore not included in the ZIP.</li><li class="li">The user opens the record again, and sees that the unavailable file has been moved into the <span class="ph uicontrol">Potential security risks</span> section in the Attachments window and can’t be downloaded.</li></ol> </div> </dd> </dl> </div> </div> </body></html></div>