<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Sysadmin on Lau&#39;s Lounge</title>
    <link>https://chaselau.me/tags/sysadmin/</link>
    <description>Recent content in Sysadmin on Lau&#39;s Lounge</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 11 Mar 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://chaselau.me/tags/sysadmin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Deploy Microsoft Defender Log Collector using Docker Compose</title>
      <link>https://chaselau.me/post/deploy-cloud-defender-compose/</link>
      <pubDate>Wed, 11 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://chaselau.me/post/deploy-cloud-defender-compose/</guid>
      <description>&lt;h1 id=&#34;overview&#34;&gt;Overview&lt;/h1&gt;&#xA;&lt;p&gt;I always prefer using Docker Compose instead of Docker commands since compose files are self-documenting. That&amp;rsquo;s why it drives me crazy when someone&amp;ndash;especially large companies&amp;ndash;only give documentation in docker commands. Microsoft does this when you attempt to deploy an on-prem connector for Defender for Cloud Apps. Here&amp;rsquo;s how to use a docker compose file instead.&lt;/p&gt;&#xA;&lt;h1 id=&#34;process&#34;&gt;Process&lt;/h1&gt;&#xA;&lt;p&gt;During setup, Microsoft will give you a command to run like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;(echo $TOKEN) | docker run --name $COLLECTOR_NAME$ -p 514:514/udp -p 21:21 -p 20000-20099:20000-20099 -e &amp;quot;PUBLICIP=&#39;192.168.x.x&#39;&amp;quot; -e &amp;quot;PROXY=&amp;quot; -e &amp;quot;SYSLOG=true&amp;quot; -e &amp;quot;CONSOLE=XXXX.us3.portal.cloudappsecurity.com&amp;quot; -e &amp;quot;COLLECTOR=COLLECTOR_NAME&amp;quot; --security-opt apparmor:unconfined --cap-add=SYS_ADMIN --restart unless-stopped -a stdin -i mcr.microsoft.com/mcas/logcollector starter&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
