<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sam</title>
    <description>The latest articles on DEV Community by Sam (@saedarm).</description>
    <link>https://dev.to/saedarm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F572122%2Fcfa90d88-dc6d-424d-bd84-41b7d33dd507.png</url>
      <title>DEV Community: Sam</title>
      <link>https://dev.to/saedarm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saedarm"/>
    <language>en</language>
    <item>
      <title>Using Continuous Export to Track Secure Score over Time</title>
      <dc:creator>Sam</dc:creator>
      <pubDate>Mon, 22 Aug 2022 20:39:28 +0000</pubDate>
      <link>https://dev.to/saedarm/using-continuous-export-to-track-secure-score-over-time-36ji</link>
      <guid>https://dev.to/saedarm/using-continuous-export-to-track-secure-score-over-time-36ji</guid>
      <description>&lt;p&gt;For awhile, my team had been going about Microsoft Defender for Cloud(MDFC), the wrong way. It had been a challenge to keep clear visibility of security centric user stories, exemptions, vulnerabilities, and regulatory compliance for my team.&lt;/p&gt;

&lt;p&gt;After doing a bit of research, I came across a method to continuously export the data within MDFC to a Log Analytics workspace, so that anyone that wanted a dashboard overview of security posture across multiple teams could easily access a pre-configured workbook with that information.&lt;/p&gt;

&lt;p&gt;To get all of this setup, I’ll walk you through step-by-step the pre-requisites needed to see a dashboard like this&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Create a Log Analytics Workspace
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aGayQjTL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ru60narxwvzmtpyj9g95.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aGayQjTL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ru60narxwvzmtpyj9g95.png" alt="Image description" width="694" height="489"&gt;&lt;/a&gt;&lt;br&gt;
The Resource Group may be negligible to you, but if you logically group all your log analytics workspaces together, I would select that resource group.&lt;/p&gt;

&lt;p&gt;Because my team is one of several teams, and because each of my teams is segregated into multiple subscriptions, I was very very intentional about the way I named the instance. However, as long as you remember what workspace you’re porting the data to when it comes time in the setup instructions, then the name may be arbitrary. It really comes down to how large your team is, and what your organizational structure may look like.&lt;/p&gt;

&lt;p&gt;Create the workspace!&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Check Subscriptions in Default Subscription Filter
&lt;/h2&gt;

&lt;p&gt;The Importance here is knowing what subscriptions you have that need security recommendation traceability, so that when you apply continuous export settings, you understand exactly what to select&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8bcdHLTL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qc1qijefamxd5q6dmwak.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8bcdHLTL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qc1qijefamxd5q6dmwak.png" alt="Image description" width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Change Continuous Export Settings
&lt;/h2&gt;

&lt;p&gt;Go to MDFC&lt;/p&gt;

&lt;p&gt;Go to ENV Settings on the left hand side&lt;/p&gt;

&lt;p&gt;Utilize Arrows in tenant group section and view all applicable subscriptions&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BRFMkpCR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l5g52u5esch298u3p2ny.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BRFMkpCR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l5g52u5esch298u3p2ny.png" alt="Image description" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Select Continuous Export Settings for Each Applicable Subscription
&lt;/h2&gt;

&lt;p&gt;This part is important! You’ll want to have an understanding of what is needed from a security perspective.&lt;/p&gt;

&lt;p&gt;It could be that you only need to see Regulatory Compliance over Time, or perhaps want to only see security recommendations that have changed, or resources that have become unhealthy. No matter the case, this is where you’ll select these preferences on a subscription-by-subscription basis&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7O_WVX5p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wfk2qckfx4l28sssnhk0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7O_WVX5p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wfk2qckfx4l28sssnhk0.png" alt="Image description" width="693" height="508"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These preferences also depend on the management of security alerts. It could be your organization has an SIEM or third-party SOC that manages security alerts. Unless you’re certain that thresholds for alerting have been configured properly, I’d recommend staying away. Now that being said, it may be negligible anyways because you’ll have control of what you want to see on a workbook by workbook basis. So even if all these settings are enabled and streamed to the analytics workspace, you can choose what to view in Defender for Cloud.&lt;/p&gt;

&lt;p&gt;Later In this tutorial, we’ll explore two of the most popular workbooks/templates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Configure Streaming Settings (These Appear by Scrolling Down)
&lt;/h2&gt;

&lt;p&gt;This next part is straightforward — just simply choose the Log Analytics Workspace that you want to send data to !&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZYw3Uadm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6b8vc5ofacoowia8353e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZYw3Uadm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6b8vc5ofacoowia8353e.png" alt="Image description" width="739" height="523"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: SAVE Configuration !
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I4r1St-5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/778glgywa5q83vq4qrg2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I4r1St-5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/778glgywa5q83vq4qrg2.png" alt="Image description" width="443" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: Viewing Workbooks!
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cfETurys--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qw4k1bwj37i80g9mhegi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cfETurys--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qw4k1bwj37i80g9mhegi.png" alt="Image description" width="651" height="353"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Within workbooks, select the template you’re interested in, and select the Log Analytics Workspace that data is being sent to, as well as the time frame&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZRJGIc8N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ovtup7atc73307oj9ol.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZRJGIc8N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ovtup7atc73307oj9ol.png" alt="Image description" width="733" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note: If you’ve just configured this, you may not see data right away, as it is streaming, not previous historical data&lt;/p&gt;

&lt;h2&gt;
  
  
  Thanks for Reading!
&lt;/h2&gt;

&lt;p&gt;Thanks for reading! If you liked this article, please follow me on medium, and let’s connect on Linkedin: &lt;a href="https://www.linkedin.com/in/samuel-armentrout/"&gt;https://www.linkedin.com/in/samuel-armentrout/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>security</category>
      <category>devops</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Kotlin Compile Time</title>
      <dc:creator>Sam</dc:creator>
      <pubDate>Sun, 22 May 2022 17:52:32 +0000</pubDate>
      <link>https://dev.to/saedarm/kotlin-compile-time-3icj</link>
      <guid>https://dev.to/saedarm/kotlin-compile-time-3icj</guid>
      <description>&lt;p&gt;Hi guys, new to Kotlin Development. Got a machine running windows 10, latest build of Android Studio&lt;/p&gt;

&lt;p&gt;Simple Hello_world.kt file has insane build and run time, and I'm trying to reduce it&lt;/p&gt;

&lt;p&gt;Something I saw was this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/martinhaeusler/is-your-kotlin-compiler-slow-here-s-a-potential-fix-4if4"&gt;Dev.To Recommendation&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;With all the insights gathered so far, the question still remains how to assign memory to the kotlinc process. For us, the following worked:&lt;br&gt;
org.gradle.jvmargs=-Xmx8g -Dkotlin.daemon.jvm.options=-Xmx6g&lt;br&gt;
We put this line into a file named gradle.properties, which is located right next to our gradlew executable (so, top-level in the project). This will assign 8GB of RAM to the gradle process, as well as another 6GB dedicated to the kotlin compiler.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;These Changes did nothing for me&lt;/p&gt;

&lt;p&gt;Let me know if there are any quick recommendations&lt;/p&gt;

&lt;p&gt;My machine has 4 cores, 16 gigs of ram. I've got a decent pc, but I have worked in Java for a long time with eclipse as an IDE and never seen anything like this&lt;/p&gt;

</description>
      <category>kotlin</category>
      <category>slowcompilationtime</category>
    </item>
    <item>
      <title>Best Way to Learn Rust</title>
      <dc:creator>Sam</dc:creator>
      <pubDate>Tue, 27 Apr 2021 12:19:38 +0000</pubDate>
      <link>https://dev.to/saedarm/best-way-to-learn-rust-1be</link>
      <guid>https://dev.to/saedarm/best-way-to-learn-rust-1be</guid>
      <description>&lt;p&gt;Hi all, just starting out learning Rust, and was curious what the best way to go about it would be. I have two books on the subject: &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Zero to Production in Rust: &lt;br&gt;
An Opinionated Introduction to Backend Development&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;By:&lt;br&gt;
Luca Palmieri&lt;/p&gt;

&lt;p&gt;and of course &lt;br&gt;
&lt;em&gt;The Rust Programming Language&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;By:&lt;/p&gt;

&lt;p&gt;Steve Klabnik and Carol Nichols&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are some other ways to gain practical knowledge here?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I have access to Pluralsight through work and can do Rust Foundations, but are there are any Udemy Courses that are recommended?&lt;br&gt;
I know this has great reviews, but I'm curious of its worth&lt;br&gt;
&lt;a href="https://www.udemy.com/course/rust-lang/"&gt;The Rust Programming Language&lt;/a&gt; ?&lt;/p&gt;

&lt;p&gt;And too, I guess I'm curious what path people take. I'm interested of course in web development, but is it worth it to tackle 2D gaming development with Rust as well?&lt;/p&gt;

</description>
      <category>rust</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
