<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adi Rawat on Medium]]></title>
        <description><![CDATA[Stories by Adi Rawat on Medium]]></description>
        <link>https://medium.com/@eddywebs?source=rss-2b463f4ed618------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LScQ68IDhSrKttEor1O4SQ.jpeg</url>
            <title>Stories by Adi Rawat on Medium</title>
            <link>https://medium.com/@eddywebs?source=rss-2b463f4ed618------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:19:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eddywebs/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Got ever ready Code-Base ? Achieving Friction less Continuous Integration on Salesforce]]></title>
            <link>https://medium.com/@eddywebs/got-ever-ready-code-base-achieving-friction-less-continuous-integration-on-salesforce-75ef0c587b24?source=rss-2b463f4ed618------2</link>
            <guid isPermaLink="false">https://medium.com/p/75ef0c587b24</guid>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Adi Rawat]]></dc:creator>
            <pubDate>Tue, 07 Jan 2020 01:05:22 GMT</pubDate>
            <atom:updated>2020-01-07T01:05:22.934Z</atom:updated>
            <content:encoded><![CDATA[<h3>Got ever ready Code-Base? Achieving Frictionless Continuous Integration on Salesforce</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0DxC6MzgLyaX0o4Nw8U52g.png" /><figcaption>A typical Salesforce release night using Change Sets</figcaption></figure><p>So you had a successful Salesforce implementation, the users are loving the Cloud, demand for new features and improvements are pouring in. Your engineering team is growing, managing a development cycle and moving features using Change Sets has become an ordeal. Soon the release nights turn into a nightmare. How many organizations can relate to this?</p><p>I was facing a similar situation at a client where releases happened the day after Sprint end, usually ending every other Wednesday, the task of creating a changeset was getting hectic. Developers scrambling to get components bundled for a deployment, release days were the worst days but now we drink champagne every other Thursday.</p><p><strong>How did releases become so comfortable for us? <br></strong>Thanks to Continuous Integration (C.I.) and Continuous Delivery (C.D.). In software engineering Continuous Integration/C.I. refers to the practice of merging the working copies of all the developers’ changes into a shared copy of code-base using a Version Control System (V.C.S.).</p><p>This shared working code-base is often compartmentalized to represent different stages of the development life-cycle, for example; a “Dev” branch may contain any in-flight changes that are yet to be tested. “Feature” branch could represent a certain release or feature which is ready for testing while the main “Master” branch can represent the actual code-base in production. The branch names can be anything, given checks and balances are in place to ensure all the changes to the code-base are building at all times which is done through a combination of Pull Request (PR) and CI as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*0_VTCoYrGgAHpDSK.png" /><figcaption>src: <a href="https://developer.salesforce.com/blogs/2018/02/getting-started-salesforce-dx-part-5-5.html">Getting Started with Salesforce DX</a></figcaption></figure><p>The same shared copy of code can be used to deploy to production or testing environments in an automated fashion, this is called <a href="https://medium.com/slalom-technology/baby-steps-in-continuous-delivery-for-salesforce-1973fc651803">Continuous Delivery/</a>C.D.</p><h3>At a high-level, there are 2 major steps towards setting up a Continuous Integration process.</h3><h4>1. Setup a source code repository.</h4><p>The Version Control System (V.C.S.) recommended here is Git which will serve as the source code repository storing your Salesforce Org’s source code in the SFDX project format. This code repository should be the single source of truth for all working customization in the Production Org.<br>Even determining the changes going in the release can be gathered from the log entries of changes made to the code repository since its last release, called the commit logs.</p><p>It is important to note that instead of the traditional Org based development model, where development is done in sandbox/developer orgs then source code is pulled from such orgs to be stored in the metadata API format, a package based development model is recommended using <a href="https://medium.com/slalom-technology/anatomy-of-an-enterprise-sfdx-project-30cdbfbad00a">the SFDX project template</a> and scratch orgs. That being said, moving away from the org-based development model doesn’t mean that you don’t still need proper environment management, its just the developers’ org are replaced with scratch orgs while the validation, testing, and UAT continue to happen in their dedicated sandboxes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/0*SPvHC-STZMiKF51X.png" /><figcaption>src: <a href="https://trailhead.salesforce.com/content/learn/modules/sfdx_dev_model">Package development Model Trailhead</a></figcaption></figure><p><strong>Why Salesforce DX project? <br></strong>SFDX project provides a <a href="https://medium.com/slalom-technology/anatomy-of-an-enterprise-sfdx-project-30cdbfbad00a">module-based development on Salesforce facilitating the separation of concerns</a> by reducing the number of shared files that are touched between features.</p><p>For example, a metadata API source format project requires a package.xml file containing all components to be deployed, also called the package manifest. Moreover the “.Object” files in metadata API format code stores all the custom fields of an object in a single file. Consequently, whenever a new field or component is added, such shared files are modified by every new change. By avoiding common files in a project we avoid source code <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line">merge conflicts </a>between 2 developers.</p><p>By using the SFDX project, not only we reduce potential conflicts during development, but also every developer contributing to an SFDX project uses a Scratch Org, separating the development environments of every feature built and preventing any overwrite due to development done in a shared environment following a traditional Org based development model. <br>SFDX makes uses of the Salesforce CLI for updating development environments while Org based model requires a C.I. with ant based migration tool or changesets for updating other developers Org with the latest changes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1ba589d45fbd83a5dd58476a2bb8e83f/href">https://medium.com/media/1ba589d45fbd83a5dd58476a2bb8e83f/href</a></iframe><p>Contrary to a popular belief that SFDX projects can only be used for deploying to scratch-orgs and is geared towards package based development, an entire Production Org’s source code can be maintained in a single SFDX project which can be used to deploy to any Non-Scratch org by converting the SFDX format code into a metadata API format during the deployment process.</p><p>Whether you are starting an SFDX project from scratch or already have a source code setup using a metadata API, <a href="https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_workspace_setup.htm">Salesforce has excellent documentation on how to create or convert a code repository.</a></p><h4>2. Setup a C.I. tool to manage the code merge process/Pull Request.</h4><p>Once you have the code repository set up, the next step is to create a process to allow developers to contribute to the code-base which does not introduce any breaking changes. This can be insured by a combination of test case runs and automated deployment validation called the “build”, before and after the developers merge their code-base to the project.<br>A peer code review before the code is merged is also essential to prevent any regressions along the way.<br>At the very least, any changes that are not passing a deployment validation and test case runs <strong>should not be allowed</strong> to merge to the project.</p><p>Proper test case run and deployment validation is the most important step in the C.I. for maintaining the health of the code-base, which needs to be followed with discipline by all the stakeholders of the code-base. Making exceptions to this process just for quick wins will cause error exceptions in build down the line, something to keep in mind.</p><p>C.I. tool such a Jenkins, Bitbucket pipelines/Bamboo, CircleCI, etc, can be used to facilitate all the above to make sure only a working copy of code changes is merged to the production branch. Once again <a href="https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ci.htm">Salesforce documentation has step by step guide on how to set up a C.I. infrastructure</a> of your choice.</p><h3><strong>Conclusion</strong></h3><blockquote>“When your code base is ever-ready to be deployed then you have more time to focus on change management, logistics, announcement of the release.”</blockquote><p>A growing CRM team can re-gain productivity by reducing friction between the development life-cycle and avoid last-minute chaos on release days, by maintaining a single source using of truth of all its Salesforce customization and having any new changes validated before ready for testing, demo or release purposes through automation using C.I. Here I discussed the design patterns to be used in a Salesforce C.I. system which separates the concern between each development cycle and the developers while making sure the code-base is ready to be released at any given time. When your code-base is ever-ready to be deployed then you have more time to focus on change management, logistics, the announcement of the release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*pAwjxOo1dBAg_cxN" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75ef0c587b24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anatomy of an enterprise SFDX project]]></title>
            <link>https://medium.com/@eddywebs/anatomy-of-an-enterprise-sfdx-project-30cdbfbad00a?source=rss-2b463f4ed618------2</link>
            <guid isPermaLink="false">https://medium.com/p/30cdbfbad00a</guid>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[sfdx]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Adi Rawat]]></dc:creator>
            <pubDate>Tue, 03 Sep 2019 11:21:01 GMT</pubDate>
            <atom:updated>2019-11-20T19:13:44.307Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*hMKfW1tYwv-5qmDtPOkm5A.jpeg" /><figcaption><strong>The Vitruvian Man — Leonardo da Vinci</strong></figcaption></figure><p>I recently faced a challenge of not being able to add a new component from my local filesystem to an already existing SFDX project, in order to be able to push a scratch org.</p><p>Soon I discovered that the directory structure was different from the traditional SFDX project structure which is created upon sfdx force:project:create command.</p><p>Instead offorce-app/main/default/&lt;all-components&gt;there was a sfdxSrc/* directory. As a matter of fact, the subdirectories and its structure were quite different from the <a href="https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_create_new.htm">documentation</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCE_Oc0Su0g-xmxnxvsnXQ.png" /></figure><p>The challenge with having a different directory structure was I had no idea where to place the new component metadata(code files), as it would fail on a pushsfdx force:source:push.</p><figure><img alt="default dir structure of a sfdx project." src="https://cdn-images-1.medium.com/max/505/1*gxKh6nU8by1tfw1jdYooiw.png" /></figure><p>Turns out there is flexibility in the directory structure of an SFDX project which is defined in the sfdx-project.json file, which is the <a href="https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm">configuration file</a>. Here we will find an array named <strong>packageDirectories</strong>; this setting is called the “Package Directory” which contains the default directory of the source code/metadata where source code is pushed and pulled to and from scratch org. <br>By default, the package directory marked by default: true is the CLI&#39;s go-to location for storing &quot;Remotely Added&quot; metadata.</p><p>For example, if you add a new Custom Object named MyObject__c to your scratch org using the Setup UI and then run sfdx force:source:pull, the CLI saves the SFDX source for your new object locally in your Default Package Directory.</p><p>The path to the SFDX source for MyObject__c then looks something like this:</p><pre>sfdx-project-dir<br>└─ sfdx-package-dir<br>   └─ main<br>      └─ default<br>         └─ objects<br>            └─ MyObject__c<br>               ├─ fields<br>               └─ MyObject__c.object-meta.xml</pre><p>Here in case happened to be sfdxSrc/UnmanagedEnter SFDX-Falcon-Template which based on the concept of separating concerns within the project files and folders.</p><h4>What is SFDX Falcon Template, and why should one use it?</h4><p>The SFDX Falcon Template uses this concept of “core” and “feature” metadata quite extensively. The idea is that code/metadata that you put in a <em>feature module</em> can depend on what’s in the <em>main module</em>, but not the other way around.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m2rKKIzX2zTZkwud44oqTg.png" /><figcaption>Src: Salesforce DX 201 — Advanced Implementation for ISVs by Vivek Chawla available on Youtube.</figcaption></figure><p>Having a custom SFDX-Project directory structure also allows storing developer resources and build tools in their dedicated folders like data import tree, build artifacts and dependencies such ant migration tools and deployment scripts.</p><h4>Conclusion:</h4><p>Having a custom directory structure defined in thesfdx-project.json,such as the <a href="https://github.com/sfdx-isv/sfdx-falcon-template">SFDX-Falcon template </a>allows separation of concerns within a salesforce project. It separates folders for artifacts, documentation, and features while maintaining core metadata and the object model in a single directory.</p><p>Got suggestions or need tips on how to effectively leverage SFDX for your salesforce project? Drop a line in the comments below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30cdbfbad00a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Noteworthy Salesforce Summer ’19 Release Notes]]></title>
            <link>https://medium.com/@eddywebs/noteworthy-salesforce-summer-19-release-notes-a648e6b1a02c?source=rss-2b463f4ed618------2</link>
            <guid isPermaLink="false">https://medium.com/p/a648e6b1a02c</guid>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[cms]]></category>
            <category><![CDATA[release-notes]]></category>
            <dc:creator><![CDATA[Adi Rawat]]></dc:creator>
            <pubDate>Wed, 08 May 2019 14:38:43 GMT</pubDate>
            <atom:updated>2019-05-08T14:38:43.566Z</atom:updated>
            <content:encoded><![CDATA[<p>Salesforce published its Summer ’19 release last week and with that comes a wave of new features and improvements within the Salesforce platform. Here are our picks on some of the exciting and important changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_xe5wISIEkqMOh26ewAj3Q.png" /></figure><h4>In-App Guidance for Training, Onboarding, and News</h4><p>Create an In-App learning experience with clicks, <strong>no code</strong>. Add prompts to onboard and train users, highlight configuration changes and news, introduce new features, and more with your own content. The In-App guidance will allow you to engage directly with your users to facilitate better guidance and adoption of your Salesforce application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*4qbvdXexz9b_LXzR.png" /><figcaption>You can pick the target audience and specify where the prompts appear and for how long.</figcaption></figure><h4>Bye bye CMS for Community Cloud hello Salesforce CMS</h4><p>CMS for community cloud which was introduced back in Winter ’19 has more than a name change. Users can now share content across communities more easily, and collaborate with local and regional teams on projects. Create content outside of your communities in CMS workspaces by using the role-based access to control content authoring and settings access in Salesforce CMS. This feature is automatically turned on for all Community Cloud customers and any existing CMS for Community Cloud is transitioned to Salesforce CMS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*YDBR4uW1QpoWTYO_.png" /><figcaption>Your content is migrated to the Salesforce CMS ap~p, which you can access from the App Launcher.</figcaption></figure><h4>Enhanced Related Lists: More power with the Related lists</h4><p>Related lists of up to 10 columns can now be resizable, sortable, perform mass actions and wrap texts. This lightning only feature is another reason to switch to the Lightning experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/0*j-HYy32wh6HZw02h.png" /><figcaption>Simply select Enhanced List from the Related List Type dropdown from a related list component in App Builder and choose desired options.</figcaption></figure><h4>Salesforce Surveys: Now free and customizable</h4><p>Salesforce surveys no longer require a separate license. Starting Summer ’19 anyone who has one of the following licenses will have the ability to send out unlimited surveys for free:</p><ul><li>Contract manager</li><li>Marketing user</li><li>Standard user</li><li>System administrator</li></ul><p>Getting response, however, is capped at 300 free responses. Any additional responses will require a response add-on pack which can be purchased based on the response received.<br>You can now also generate a unique survey invitation for a lead directly from the record by clicking <strong>Get Survey Invitation</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*oVuZTPW3Oz7UPwROjNbo6A.png" /><figcaption>Customize Survey email for individual contacts and leads.</figcaption></figure><h4>Make your code Prettier with “Format Your Code” in Developer Console</h4><p>Starting Summer ’19 there is a new “<strong>Fix Code Formatting</strong>” feature in Developer Console under the <strong>Edit</strong> menu. What this feature does is, uses the Prettier code format to format Aura Components and any JavaScript. <a href="https://prettier.io/docs/en/index.html">Prettier </a>enforces a consistent code style and formats it for better readability.</p><p>To “prettify” the code in an open file, select <strong>Edit</strong> | <strong>Fix Code Formatting</strong>. Or, press Ctrl+Alt+F. To configure your code-formatting settings, select <strong>File</strong> | <strong>Preferences</strong> and then adjust the settings whose names begin with <strong>Prettier.</strong></p><h4>Make employee training easier and effective using myTrailhead</h4><p>This is probably my favorite feature of this release. Every Salesforce developer or admin has used Trailhead by now and it couldn’t be easier to train on your Salesforce organization using the same platform. <br>myTrailhead allows a customer to create unlimited training material based on their Salesforce instance, it is now possible to provide your users the same skill-based, gamified learning experience as Salesforce Trailhead with content that you create for your company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*eBH4XDoo-1XyAxxa.png" /><figcaption>Build trailmixes — learning paths that combine your custom content with resources outside myTrailhead to offer a well-rounded educational experience.</figcaption></figure><p>In summation, Salesforce has yet again done a great job in introducing new features and improvements for the upcoming release. What are your thoughts about the new release? Please share in the comments section below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*9hBELW3b1JouEvp_Xa5IHw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a648e6b1a02c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Noteworthy Salesforce Spring ’19 Release Notes]]></title>
            <link>https://medium.com/@eddywebs/noteworthy-salesforce-spring-19-release-notes-87d30fd1ec25?source=rss-2b463f4ed618------2</link>
            <guid isPermaLink="false">https://medium.com/p/87d30fd1ec25</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[releases]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <dc:creator><![CDATA[Adi Rawat]]></dc:creator>
            <pubDate>Fri, 28 Dec 2018 15:36:32 GMT</pubDate>
            <atom:updated>2018-12-28T15:36:32.266Z</atom:updated>
            <content:encoded><![CDATA[<h4>The <a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/">Salesforce Spring ’19 release </a>is on its way soon. Here we discuss some of the important enhancements and changes due in the upcoming release.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RXpMZ2A3V3dB1KK1fwCvrw.png" /></figure><p>The upcoming Salesforce release at the beginning of 2019 is full of surprises with an introduction to a new UI stack called Lightning Web Components and sunsetting of Flash-based Cloud Flow Designer. Lets find out what Salesforce has for us in the bag.</p><h3>1. Lightning Web Components</h3><p>Now you can build Lightning components using two programming models: Lightning Web Components, and the original model, Aura Components.<br>Lightning Web Components brings the latest advancements in JavaScript and web standards to the Lightning Component framework. <br>Lightning web components are custom HTML elements built using HTML and modern JavaScript. To admins and end users, they both appear as Lightning components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*NibJ1-1pHMjm72qfHXaMNg.png" /></figure><p><a href="https://developer.salesforce.com/docs/component-library/tools/playground">Test drive lightning web components here</a> Or <a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_lwc.htm">Learn more about it here</a></p><h3>2. Goodbye Cloud Flow Designer. Hello, Flow Builder!</h3><p>Starting with the Spring ’19 release, Cloud Flow Designer is being replaced by Flow Builder. It will streamline flow building and maintenance with a simplified user interface. The new UI does not require Adobe Flash anymore; UI built with new stack makes it easier to choose the right elements and resources for the flows by using standard controls based on the Lightning Design System, familiar shapes for icons and a simplified toolbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*rhtnqH_Jtv2VnjoJ-utcmA.png" /></figure><p><a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_forcecom_flow_flow_builder.htm">Learn more about the new Flow Designer here.</a></p><h3>3. Print a record page in Lightning</h3><p>Print view option is now available in Salesforce Lightning experience. On a record home page, click <strong>Printable View</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*Im1k9hK9-jpN6tuvMQJj3Q.png" /></figure><p>The printable view opens with the record details expanded or collapsed, based on visibility on the record homepage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*kZ-arWQTAPkX_IPVAbWkoA.png" /></figure><p><a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_printable_view.htm">Learn more about printable view here.</a></p><h3>4. Thanks Badges in Lightning Experience (Pilot)</h3><p>Chatter users can now give thanks from a user’s profile, a record, or a group in Lightning Experience. Let your coworkers know how much you value them. Thanks badges are a great way to appreciate your co-workers and teammates right within the chatter feed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*ObPA3VMD8-9xcGDzG_WhVw.png" /><figcaption>Click the <strong>Thanks</strong> tab from a Chatter feed, and then enter the badge details.</figcaption></figure><p><a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_thanks_lex.htm">Learn more about Thanks badges here</a></p><h3>5. More data storage</h3><p>Data storage for select editions is increasing from 1 GB to 10 GB.<br> <a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_storage.htm">Learn more about the increased data storage here.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87d30fd1ec25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Threat management and security for Salesforce using Event Monitoring]]></title>
            <link>https://medium.com/@eddywebs/threat-management-and-security-for-salesforce-using-event-monitoring-7da41195dbc3?source=rss-2b463f4ed618------2</link>
            <guid isPermaLink="false">https://medium.com/p/7da41195dbc3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Adi Rawat]]></dc:creator>
            <pubDate>Thu, 04 Oct 2018 16:42:01 GMT</pubDate>
            <atom:updated>2018-10-05T13:37:47.532Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*w6m8FVDX8U0eex4MIli1Hw.jpeg" /></figure><p>For an enterprise to be able to manage threats it is imperative to gain visibility into user activities. In industries dealing with sensitive data, user activity logs are the key resource for security audits and compliance maintenance.</p><p>In the case of any breach or security incident, having logs of user events plays a crucial role in forensics and creating future security policies.</p><p>Access to user activity data and metrics helps CISOs (Chief Information Security Officer) and CIOs (Chief Information Officer) to be in full control of cloud and have visibility over who logins, from where and what activity the users are conducting in the Salesforce org.</p><h3>How?</h3><p>“Event monitoring” is a salesforce feature that provides granular details of user activity in your Salesforce organization. Once the feature is enabled in the Salesforce “Setup”, each activity is stored as an event in a log file that can be retrieved from the Salesforce API.</p><p>This log file can be parsed to generate information about individual events or track trends in events to swiftly identify abnormal behavior and safeguard the organization’s data.</p><p>Salesforce event monitoring provides tracking of key user activities, including:</p><ul><li>Logins</li><li>Logouts</li><li>URI (web clicks in Salesforce Classic)</li><li>Lightning (web clicks, performance, and errors in Lightning Experience and the Salesforce mobile app)</li><li>Visualforce page loads</li><li>API calls</li><li>Apex executions</li><li>Report exports</li></ul><h3>Easier Said than Done!</h3><p>Since this event log file is raw data format, a custom parser or a web service is required to translate this data and feed into a log management system such as Security Information and Event Management system called the SIEM.</p><p>Many enterprises use tools such as Splunk, ELK, or Graylog to collect and manage network and system logs — these are a type of SIEM used for cybersecurity. Salesforce event monitoring logs can be fed into a SIEM tool to manage and detect abnormal user behavior events.</p><p>The example below shows Salesforce user activities log analysis done using a SIEM called GrayLog,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xFfh7otTdaPaQNHm" /></figure><p>Above is a pie chart of events generated in a Salesforce org categorized by the Event Types, such as rest API calls, Login events, and report exports.</p><p>A demo of a web service built to parse Salesforce events and send the Salesforce events to a SIEM is viewable at <a href="https://youtu.be/nmv2ykxA7RE">https://youtu.be/nmv2ykxA7RE</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fnmv2ykxA7RE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dnmv2ykxA7RE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fnmv2ykxA7RE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/089a4a3e95be7168e7fc8cb1629bce5c/href">https://medium.com/media/089a4a3e95be7168e7fc8cb1629bce5c/href</a></iframe><h3>Capabilities</h3><ul><li><strong>Dashboards:</strong> As shown in the graphic above, the event data can be turned into informational charts to assist in seeing patterns, or identifying abnormalities in user activity.</li><li><strong>Correlation:</strong> A technique used to relate multiple data sets enabling complex logic that identifies trends and flags suspicious activity. This technology provides the ability to perform a variety of correlation techniques to integrate different sources, in order to turn data into useful information. Correlation is typically a function of the Security Event Management portion of a full SIEM solution. For example, Salesforce events such as repeated logins and massive report exports can be correlated with other events generated at a network or infrastructure level such as multiple login events, offsite activity etc to detect and intercept suspicious activities.</li><li><strong>Alerting:</strong> An automated analysis of correlated events and production of alerts that notify a set of recipients about an immediate triggering of an issue. Alerting can be done via email or custom messaging API.</li><li><strong>Retention:</strong> Employing long-term storage of historical user activities can be used to facilitate the correlation of data over time and to provide the retention necessary for compliance requirements. Long-term log data retention is critical in forensic investigations.</li></ul><h3>Use Cases</h3><p><strong>Forensic analysis:</strong> The ability to search across user events from Salesforce and other system based on a specific time period. This mitigates having to aggregate log information in your head or having to search through thousands and thousands of logs manually.</p><p><strong>Tracing suspicious activities:</strong> All Salesforce login attempt events, success or failure, can be fed to a log management system/SIEM and geo tracked to locate any suspicious login activity from an offsite location. You can filter these events to view just remote logins or categorize by usernames to see who recorded the most login and at what times or categorize by event names to see which events occurred the most inside your Salesforce. You can also create custom fields or rules to monitor for and generate an alert when events matching your criteria happens. For instance, if users of a certain organizations login from the United States and suddenly there is a login event tracing back from outside North America is a classic example of a compromised account especially if the event occurs during non-business hours.</p><p><strong>Tracking changes to Salesforce organization:</strong> Changes to Salesforce org and its objects generates events that can be monitored for a number of reasons including administration audit &amp; compliance purposes, security incident investigation, or better visibility of Salesforce org changes.</p><p><strong>Data exfiltration detection: </strong>Having logs of each report exported from Salesforce whether, account, contacts, leads or from a custom object by which user at what time and location can be used to detect or identify of data exfiltration attempts. For example, a report export of activity of entire accounts records occurring during non-business hours can be deemed as a suspicious attempt for data exfiltration.</p><p><strong>Compliance:</strong> Salesforce event data fed into SIEM can be employed towards gathering compliance data, producing reports for governance and auditing processes.</p><p>Are you looking to secure your Salesforce org or gain visibility into user activities for security and compliance? Slalom can help — please contact <a href="/service/mailto:connect@slalom.com">connect@slalom.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7da41195dbc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>