Community
User Guides
Support
Community
Help Forums
English Forum
General
About our Community
General Discussion
News and Feedback
Products
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Beta programs
Feature Requests
Finnish Forum (Tukifoorumi)
Tuotteet Kotiin
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Muut tietoturvatuotteet
Support Articles
Language
English
Suomi
Deutsch
Français
日本語
Svenska
Dansk
Italiano
Nederlands
Norsk
Polski
中文 (繁體)
Products & Services
F-Secure TOTAL
F-Secure SAFE / Internet Security / Anti-Virus
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Common topics
User Guides
Support
Login
|
Register
How can I change the scheduled scan settings in the custom object? - F-Secure Community
<main> <article class="userContent"> <p> </p>How can I change the scheduled scan settings in the custom object? <p>Once the scheduled job is created, you can modify its settings in the <em>AFSC__FS_ManualScanSetting__c</em> custom object, which stores settings for the manual and scheduled scan jobs. </p> <p>To modify the scheduled scan settings: </p> <ol><li> Open <strong>Setup</strong> > <strong>Developer Console</strong>. </li> <li> Select <strong>File</strong> > <strong>Open</strong>. The Open window is displayed: <img src="https://us.v-cdn.net/6032052/uploads/370/MHZBVV7IZEVJ.png" height="238" width="740" alt="image" class="embedImage-img importedEmbed-img"></img></li> <li> In the Open window, select <strong>Objects</strong> from the left column and, in the <strong>Filter</strong> field, type in <code class="code codeInline" spellcheck="false" tabindex="0">FS_ManualScanSetting</code>. The desired object is shown in the middle column. </li> <li> To open the custom object, click the <strong>Open</strong> button. <p>The following panel is displayed: </p> <p><img src="https://us.v-cdn.net/6032052/uploads/946/5QHK6J4I3ZQ4.png" height="473" width="728" alt="image" class="embedImage-img importedEmbed-img"></img></p> </li> <li> Click the <strong>Query Editor</strong> tab, type the following query in the edit box: <code class="code codeInline" spellcheck="false" tabindex="0">SELECT Id, Name, AFSC__Settings__c FROM AFSC__FS_ManualScanSetting__c</code> and finally click the <strong>Execute</strong> button. <p>A list of query results are displayed: </p> <p><img src="https://us.v-cdn.net/6032052/uploads/042/ZUVP30XM59KE.png" height="428" width="690" alt="image" class="embedImage-img importedEmbed-img"></img></p> </li> <li> From the query results, select the record with name <strong>Scheduled Scan Settings</strong>. <p><strong>Note:</strong> If the Scheduled Scan Settings record is not shown in the query results, it means that the scheduled scan job has not yet been created. To create a scheduled scan job, see article <a rel="nofollow" href="https://community.f-secure.com/other-business-en/kb/articles/5493">How can I create and configure a scheduled scan with F-Secure Cloud Protection?</a> </p> </li> <li> Double-click the <strong>AFSC__Settings__c</strong> field and select its contents. The field contains scheduled scan settings in JSON format. Copy and paste the JSON string to a text editor, such as <a rel="nofollow" href="https://jqplay.org/">https://jqplay.org/</a> or <a rel="nofollow" href="http://jsonviewer.stack.hu/">http://jsonviewer.stack.hu/</a> to see and modify the JSON string in a more readable format. <p>An example of the JSON string (formatted with jsonviewer) with scheduled scan job settings: </p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{ "scanOnCreatedDate": true, "scanForHarmfulContent": true, "scanForDisallowedContent": true, "scanFiles": true, "scanDateTo": "2018-09-06", "scanDateFrom": "2018-09-01", "scanAttachments": true, "scanAllLocations": false, "replaceHarmfulFiles": true, "replaceDisallowedFiles": true, "maxScanFileNumber": 1000, "lastDaysToScan": 30, "extensionsToScan": [ { "extensionName": "docx" }, { "extensionName": "xlsx" }, { "extensionName": "xls" }, { "extensionName": "foo" }, { "extensionName": "pptx" }, { "extensionName": "ppt" }, { "extensionName": "doc" }, { "extensionName": "pdf" } ], "disallowedTypes": [ { "extensionName": "exe" }, { "extensionName": "ps1" }, { "extensionName": "vbs" } ], "attachmentsLocations": [], "allowSetSha1ForContentVersions": true, "alertOnHarmfulContent": true, "alertOnDisallowedContent": true, "actionOnHarmfulContent": "Passed", "actionOnDisallowedContent": "Passed" }</pre> </li> <li> Modify the settings based on your needs. <p>To change the date range within which the created or modified files are to be scanned, modify the <code class="code codeInline" spellcheck="false" tabindex="0">"lastDaysToScan"</code> setting. Set it to N+1 days where N is the desired period to be scanned. An example: To scan files/attachments created or modified within the previous week, set <code class="code codeInline" spellcheck="false" tabindex="0">"lastDaysToScan"</code> setting as follows: <code class="code codeInline" spellcheck="false" tabindex="0">"lastDaysToScan":8</code> </p> <p><strong>Note:</strong> The value of the <code class="code codeInline" spellcheck="false" tabindex="0">"actionOnHarmfulContent"</code> and <code class="code codeInline" spellcheck="false" tabindex="0">"actionOnDisallowedContent"</code> settings can be either <code class="code codeInline" spellcheck="false" tabindex="0">"Passed"</code> or <code class="code codeInline" spellcheck="false" tabindex="0">"Removed"</code>. </p> </li> <li> Once you have made your changes, minimize the JSON string and put it to the <strong>AFSC__Settings__c</strong> field of the Scheduled Scan Settings record in the Developer Console: <p><img src="https://us.v-cdn.net/6032052/uploads/561/5WQ95BDU6FZQ.png" height="222" width="834" alt="image" class="embedImage-img importedEmbed-img"></img></p> </li> <li> To save the changes and commit them to the database. click the <strong>Save Rows</strong> button. </li> </ol><div>The new scheduled scan settings will be taken into use next time the scheduled scan job is executed. </div> <div id="related"> <strong>Related information</strong> <ul><li><a rel="nofollow" href="https://community.f-secure.com/other-business-en/kb/articles/5493">How can I create and configure a scheduled scan with F-Secure Cloud Protection? </a></li></ul></div> <br> </article> </main>