<?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 Krupananda Reddy on Medium]]></title>
        <description><![CDATA[Stories by Krupananda Reddy on Medium]]></description>
        <link>https://medium.com/@krupanandareddy?source=rss-23438c9d11e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oIWB5gO_QzRUmPmr</url>
            <title>Stories by Krupananda Reddy on Medium</title>
            <link>https://medium.com/@krupanandareddy?source=rss-23438c9d11e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:19:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@krupanandareddy/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[All About Salesforce Event Monitoring]]></title>
            <link>https://krupanandareddy.medium.com/all-about-salesforce-event-monitoring-3fc646514109?source=rss-23438c9d11e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fc646514109</guid>
            <category><![CDATA[salesforce-event]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[event-monitoring]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[audit]]></category>
            <dc:creator><![CDATA[Krupananda Reddy]]></dc:creator>
            <pubDate>Sun, 11 Aug 2024 06:06:39 GMT</pubDate>
            <atom:updated>2024-08-11T06:08:39.034Z</atom:updated>
            <content:encoded><![CDATA[<p>Real-Time Event Monitoring helps you monitor and detect standard events in Salesforce in near real-time. You can store the event data for auditing or reporting purposes.</p><p>With Real-Time Event Monitoring, gain insights into:</p><ul><li>Who viewed what data and when</li><li>Where data was accessed</li><li>When a user changes a record using the UI</li><li>Who is logging in and from where</li><li>Which admins logged in as another user and the actions the admin took as that user</li><li>How long it takes a Lightning page to load</li><li>Threats detected in your Salesforce org</li></ul><p>It is often perceived that Event monitoring is all about security, primarily “Threat Detection”. However Event monitoring is a great tool for Salesforce monitoring security, it can also be used in additional dimensions such as Auditing , Understanding User behavior / adoption, Technical Debt and Monitor Org wide resources (Limits) proactively.</p><p>In this article, I will cover</p><ol><li>Licenses required for Event Monitoring</li><li>Options of Streaming and Storing Event logs</li><li>Use Cases of Event Monitoring</li><li>Alert me when..</li></ol><h3>What do you require to get started with Event Monitoring ?</h3><blockquote>Event monitoring is only available in — Enterprise and Unlimited editions of Salesforce with “Salesforce Shield” or “Salesforce Event Monitoring” subscriptions.</blockquote><p>Some events only apply Salesforce Classic or Salesforce lightning. And event streams could contain potential sensitive data related to Network, user machine, Geo location etc. Hence, must must be controlled strictly via Permission sets only to required user accounts.</p><h3>How you can use the objects in Real-Time Event Monitoring to stream and store event data ?</h3><p>You can manage streaming and storage settings for Real-Time Event Monitoring events declaratively with the Event Manager.</p><blockquote>Setup → Security → Event Monitoring Settings</blockquote><blockquote>Setup → Event Manager</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1uK5drrKFof7otp8s01og.png" /><figcaption>One-stop shop to manage your org’s event’s</figcaption></figure><p>List of Real-time event Monitoring objects available can be found in “Platform Events Developer Guide” <a href="https://developer.salesforce.com/docs/atlas.en-us.250.0.platform_events.meta/platform_events/platform_events_objects_monitoring.htm">here</a>. Data is streamed using a publish-subscribe model, and you can choose either to stream in real time or Store them to process later based on your use case or insights required.</p><blockquote>You can choose to send Real-time events to Amazon EventBridge or Splunk or Tableau or any other equivalent. Salesforce Labs provides “Event Monitoring Analytics App Prebuilt Dashboards” package in AppExchange. You got it, Need Tableau licenses to use and reap the benefits of it.</blockquote><p>With Real-Time Event Monitoring, you can store and query event data in Salesforce objects. Many of the storage events are Salesforce big objects (This is in addition to your org-wide Big-object Storage), which are ideal for storing large volumes of data for up to<em> six months</em>.</p><h3>What are the Common and beneficial Use Cases of Event Monitoring?</h3><ol><li>Monitor user activity for Security Operations.</li></ol><p>Salesforce labs provided Tableau Template “Event Monitoring Analytics App” could be used for this purpose. And gives a holistic view of monitoring across events. Similar visualization tools Splunk or equivalent could be used and configure alerting mechanisms given a criteria. You could also creating alerts using Apex or flow based on event streams within Salesforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ojn3rQDxWRXmsO34Ei76Vw.png" /><figcaption>Salesforce provided event monitoring analytics app.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mkt5gCmh7XjTw51_n9Wr9g.png" /><figcaption>One of the dashboard could five trust metrics across range of events.</figcaption></figure><p>2. Measure user adoption and identify tech debt. You could use Lightning URI Event to measure page views by user measure adoption and usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw8QMJE92Ei0qidpozWkWQ.png" /><figcaption>Measure URI trends</figcaption></figure><p>3. Threat Detection — You could use event monitoring for threat detection using Login, Login As, Session hijacking, and Guest user anamoly events. Salesforce also provides OOTB “Threat Detection” application and can be cautiously enabled for security team / administrators with “View Threat Detection Events”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tVAALpY9qigRPKcyPFW3A.png" /><figcaption>OOTB Threat Detection App (Classic)</figcaption></figure><h3>Alert Me When …</h3><p>You can configure email alerts using Salesforce Apex or Flow, and integrate Streaming API with ITIL tools to create an Incident given a criteria, notifying your organizations / operations team to further investigate.</p><ol><li>Notify data access anomalies that are caused by guest user misconfiguration.</li><li>Alert if the user logs into salesforce outside of the predefined geography or location.</li><li>Notify if the user uploads certain types of files extensions and / or file sizes.</li><li>Alert when user exports the results of a report containing sensitive data.</li><li>Notify when an unauthorized user gains ownership of a Salesforce user’s session with a stolen session identifier.</li></ol><p>Conclusively, Real-time event monitoring helps your organization to alert, investigate threat’s quickly and proactively. Audit the user and record behaviors over a period of time. Monitor Salesforce org wide security sophisticatedly using variety of alerting and monitoring tools that support Streaming API.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fc646514109" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer Insights of Salesforce DevOps Center!]]></title>
            <link>https://krupanandareddy.medium.com/developer-insights-of-salesforce-devops-center-e4e6cee41ccd?source=rss-23438c9d11e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4e6cee41ccd</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[salesforce-dx]]></category>
            <category><![CDATA[salesforce-devops-center]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Krupananda Reddy]]></dc:creator>
            <pubDate>Sun, 07 Jan 2024 11:33:32 GMT</pubDate>
            <atom:updated>2024-01-07T11:34:46.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*YQUdwnBGBDR6mKGHZXU_hA.png" /><figcaption>DevOps center</figcaption></figure><p>It has been an year since Salesforce launched “DevOps Center” and since then the product has undergone three major releases Winter’23 to Winter’24(By the time this article was written). I was always curious to know what current problems of Salesforce ecosystem that this solves, hence the research and the article.</p><p><strong>Under the Skin</strong></p><p>DevOps center enables Salesforce Developers, Administrators and Release managers through application development lifecycle Processes and management without moving out of Salesforce Org, simple right ?</p><p>But, how does it do?</p><blockquote>SF’s DevOps center works on combination of tools(CLI, VS Code, GitHub), technologies and DevOps patterns (Specific patterns of it’s own). Deep down, Metadata deployments are orchestrated between version control system (GitHub) and Salesforce instances via “Heroku” platform.</blockquote><p><strong>What does it take to setup ?</strong></p><p>There is a complete setup guide for <a href="https://help.salesforce.com/s/articleView?id=sf.devops_center_overview.htm&amp;type=5">this</a>. But not wrong to get inspired by it right ?</p><p>Precisely below steps should get you started,</p><ol><li>Create a new Developer org (Preferably in your DevHub), assuming you are gonna use this org to create and maintain scratch orgs.</li><li>Install Salesforce DevOps Center package in your org.</li></ol><p>Package provides user interface for managing application lifecycle , keeping track of Deployments, process async deployments etc. Essentially, this package is a set of <em>objects, UI elements and apex classes</em> with a bunch of deploy() and retrieve() Metadata API calls (Meant to over simplify). This perspective of Salesforce Architect insight is what i like the most..</p><p>3. Connect to your GitHub Project and Salesforce Environments (Dev, QA, Integration Test, UAT and Production etc.)</p><p>4. Build pipeline specific to your use case. Hold on, don’t activate it yet.</p><p>For simplicity, I have configured a pipeline from Scratch Org (Dev)→ Dev Org (UAT) → Dev Org (Production) connecting to a forked SF sample apps project in GitHub. Visit Salesforce <a href="https://github.com/trailheadapps">trailheadapps </a>to fork sample apps and experiment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7NerzCQOufRqsDlnl2jasQ.png" /></figure><p><strong>Know the jargon and tools of DevOps center</strong></p><p>Before you activate, you need to know,</p><ol><li><strong>Work Item</strong> could be anything from user story or task from agile perspective to that of adding a new field, apex class, updating permission set from SF’s metadata perspective.</li><li><strong>Bundle </strong>is collection of work items that you choose to promote together to higher environments in your pipeline.</li><li>You should also be aware of GitHub, Salesforce CLI and Metadata concepts at beginner level before you can use this tool to its fullest.</li></ol><blockquote>Good to activate your pipeline now!</blockquote><p>As and when a Work Item is created and assigned to the Developer, it goes through below stages,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57M2MqEXSbUSzkXAT-Y2Gw.png" /><figcaption>Yes, custom field and path status config from package.</figcaption></figure><p>Once work item is reviewed and ready to be promoted, it will start to appear in your pipeline as below. WI-000000 is ready to be promoted to higher environments as defined in the pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JcRNC_zo5s6gHL3kdD30-A.png" /><figcaption>Oh, no. I ran into error.</figcaption></figure><p>On I side note, I ran into error while deploying a change to apex class without having underlying dependencies being present in the defined target (UAT) environment. Of course a full deployment fixed this.</p><p><strong>What problems did DevOps center solve ?</strong></p><ol><li>Orchestrate end to end deployments within Salesforce Org with Git versioning.</li><li>Sync metadata into your Dev environment.</li><li>Choose option of Test Runs within the pipeline (Remember Test run options — Default, All Tests and Selected Tests)</li><li>Every Work Item and Pipeline activity is recorded / tracked. Error details of work item promotion and Pipeline deployment as below.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pUccvAs049veDRcCfljAjw.png" /></figure><p><strong>Things I should be aware before start using DevOps Center</strong></p><ol><li>DevOps Center is bi-product of Salesforce CLI, Metadata API and Git based versioning. And is heavily reliant on <a href="https://developer.salesforce.com/docs/metadata-coverage/60">Metadata coverage</a>. Understanding what Metadata can be deployed, Packaged and what can’t be is key to getting this right..</li><li>Changes to Work Item that is already in progress is a new work item itself. Meaning, You can’t update work item in the middle, instead amend the changes to same metadata and create it as a new work item.</li><li>Be vigilant of Updates to Metadata API, sfdx-project.json, .forceignore, and Salesforce previews, these could stall your work item.</li><li>Choose unmanaged / unlocked packages for Multi-orgs deployments over DevOps center, that is much more efficient.</li></ol><p>Conclusion, I didn’t mean to just compare “Change Sets” and “DevOps Center” in this article. But in my opinion, <em>Salesforce DevOps center (in its current state) = Change Sets + Code Versioning</em>. Being Optimistic, Salesforce ecosystem can harness the DevOps Center to its fullest as the product evolves in the coming releases.</p><p><strong><em>Note</em></strong><em>: These are my individual opinions and thoughts of the “Salesforce DevOps Center” . And are not influenced by any external entities or people.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4e6cee41ccd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My last trek trail….Goechala, Sikkim.]]></title>
            <link>https://krupanandareddy.medium.com/my-last-trek-trail-goechala-sikkim-4e925c44db4d?source=rss-23438c9d11e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e925c44db4d</guid>
            <category><![CDATA[sikkim]]></category>
            <category><![CDATA[himalayan]]></category>
            <category><![CDATA[himalaya-trekking]]></category>
            <category><![CDATA[goechalatrek]]></category>
            <dc:creator><![CDATA[Krupananda Reddy]]></dc:creator>
            <pubDate>Tue, 31 May 2022 05:18:42 GMT</pubDate>
            <atom:updated>2022-05-31T05:18:42.848Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vJ2q0lLjZu8Pn6Xd6tgiyA.jpeg" /><figcaption>Mighty Himalayan peaks..!</figcaption></figure><p>Recently, i had the opportunity to take a break from my work and do what i <em>love to do the most</em>, Trek the mighty Himalayan ranges. I have done few high altitude treks (16100 ft.) in the past but nothing similar in last three years. I have always wanted to trek Goechala pass (15100 ft.), which gives you the views of mighty Mt. Kanchenjunga, Mt. Pandim, Mt. Kumbhakarna, Mt. Kabru peaks. And not just that, the trek trail is at the heart of much preserved Kanchenjunga national park (A UNESCO ‘Mixed’ world heritage site), Sikkim and along the way you get to view, and experience several and flora and fauna species.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-8k6sSoqYam6WBo-lpqUw.jpeg" /></figure><p>It was a Nine day long trek excluding the jeep / motor vehicle travel and begins at “Yuksom”. Yuksom was once a capital of Sikkim and is a decent and simple town. I could taste their local drink ‘Chang’ / ‘Thumba’. I trekked through Sachen, Bakhim, Tshoka and was mostly dense rain forest ranges, and stayed in tents along the way. You get to hear the water flow along the way, birds chirping and cross few hanging bridges.</p><p>From Tshoka, you trek to Phedang, and Dzongri which are mix of rain forests, grass lands to meadows..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nh9roKzYc7s3xQ2_naGZAQ.jpeg" /></figure><p>Climbing Dzongri peak at 3 A.M in the morning gives you the most amazing views of several peaks and it’s breath taking from the top..</p><p>Trek through meadows and grasslands from Dzongri to reach ‘Thansing’ via ‘Kockchurang’, and you pass through astonishing water flow and a steep decent. Thansing gives a near possible view of ‘Mt. Pandim’ and it looks mighty and spell bound during sun rise and set. You have to be lucky enough to experience it self and weather should be supportive of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWcHrQOlCjeDmb_19P72Aw.jpeg" /><figcaption>A click from Thansing top</figcaption></figure><p>You trek to ‘Lamune’ from Thansing which is the final summit camp for Goechala pass. Here comes the final summit day, and starts at 1:30 AM in the morning, and pass via Samiti lake through cold Windchill and rocky terrain to reach the pass.. you are at the foot hills of Mighty Mt. Pandim and Mt. Kanchenjunga. The experience and sense of accomplishment can’t be described in words and i could feel the great energy for a moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGFoLIMZMMeT_4QtolAFeQ.jpeg" /><figcaption>Blissful, Joyous and great sense of accomplishment…</figcaption></figure><p>Trekking Himalayan ranges has always been my kind of being out doors, and sets few basic things right. You get to meet and spend time with unknown people, listen their life&#39;s stories and unconventional thoughts. Following these simple rules 1. Eat and sleep less to median, 2. Explore every trail possible and be active through out, 3. Acclimatize yourself and stay composed has kept me moving. Respect and keep the trail plastic free and leave the nature as it is… <strong>Untouched </strong>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e925c44db4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to retrieve and deploy profiles in lightning platform ?]]></title>
            <link>https://krupanandareddy.medium.com/how-to-retrieve-and-deploy-profiles-in-lightning-platform-fb95278a1999?source=rss-23438c9d11e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb95278a1999</guid>
            <dc:creator><![CDATA[Krupananda Reddy]]></dc:creator>
            <pubDate>Mon, 15 Feb 2021 14:57:06 GMT</pubDate>
            <atom:updated>2021-02-15T15:11:20.641Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to retrieve and deploy profiles in lightning platform ?</h3><p>I guess many of us who tried to retrieve and deploy profiles (I mean only profiles) in lightning platform should not have been successfull at least for the first few times. This is irrespective of whatever tool you may have used to get this job done — ANT, Force.com IDE or the SFDX command line interface.</p><p>I have encountered this request several times and i would like to share my perspective and experience through this post. Not to mention, this is my FIRST post on medium!</p><p>Ask these questions before you retrieve / deploy ,</p><ol><li>What profile configurations or settings you are trying to deploy or retrieve?</li><li>Are there any new components in your source ? Like Custom field, tab, apex class etc.</li></ol><p>Then structure package.xml accordingly,</p><p>Let’s say you would want to retrieve object permissions for three profiles, then package.xml should look something like this.</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;package xmlns=&quot;http://soap.sforce.com/2006/04/metadata&quot;&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;Account&lt;/members&gt;<br>        &lt;members&gt;Contact&lt;/members&gt;<br>        &lt;members&gt;Event&lt;/members&gt;<br>        &lt;name&gt;CustomObject&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;System Administrator&lt;/members&gt;<br>        &lt;members&gt;Standard Internal&lt;/members&gt;<br>        &lt;members&gt;Standard External&lt;/members&gt;<br>        &lt;name&gt;Profile&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;version&gt;50.0&lt;/version&gt;<br>&lt;/package&gt;</pre><p>Let’s say you would want to retrieve Visualforce page, Apex class permissions then package.xml should look something like,</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;package xmlns=&quot;http://soap.sforce.com/2006/04/metadata&quot;&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;*&lt;/members&gt;<br>        &lt;name&gt;ApexClass&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;*&lt;/members&gt;<br>        &lt;name&gt;ApexPage&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;System Administrator&lt;/members&gt;<br>        &lt;members&gt;Standard Internal&lt;/members&gt;<br>        &lt;members&gt;Standard External&lt;/members&gt;<br>        &lt;name&gt;Profile&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;version&gt;50.0&lt;/version&gt;<br>&lt;/package&gt;</pre><p>Bottomline is that, when you want to retrieve specific persmissions in profiles like Object / FLS permissions, Page, Class permissions etc. add the related metadata to the package.xml file. That’s when you will be able to retrieve those permissions as part of your profile.</p><p>However, there is no need to add dependent metadata in the package.xml when you are deploying it to a target. Meaning, your deployment pacakge will have only profiles. And all the permissions will be part of the .profile file itself. There is no need to deploy dependent metadata while deploying profiles unless, your profiles have new metadata that’s not in the target org. For instance, a new class, custom field is part of your profile but is not present in the target org. In that case you have to include the newly created metadata part of your package.xml file.</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;package xmlns=&quot;http://soap.sforce.com/2006/04/metadata&quot;&gt;<br>    &lt;types&gt;<br>        &lt;members&gt;System Administrator&lt;/members&gt;<br>        &lt;members&gt;Standard Internal&lt;/members&gt;<br>        &lt;members&gt;Standard External&lt;/members&gt;<br>        &lt;name&gt;Profile&lt;/name&gt;<br>    &lt;/types&gt;<br>    &lt;version&gt;50.0&lt;/version&gt;<br>&lt;/package&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb95278a1999" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>