<?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: James Farr Gomez</title>
    <description>The latest articles on DEV Community by James Farr Gomez (@nertwork).</description>
    <link>https://dev.to/nertwork</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4248976%2F24db58ff-1e4a-4a49-95e8-1e1d6b3e352c.png</url>
      <title>DEV Community: James Farr Gomez</title>
      <link>https://dev.to/nertwork</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nertwork"/>
    <language>en</language>
    <item>
      <title>Configuring Proxmox VE NoVNC Consoles Behind HAProxy with Sticky Sessions</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 07:29:29 +0000</pubDate>
      <link>https://dev.to/nertwork/configuring-proxmox-ve-novnc-consoles-behind-haproxy-with-sticky-sessions-5fnh</link>
      <guid>https://dev.to/nertwork/configuring-proxmox-ve-novnc-consoles-behind-haproxy-with-sticky-sessions-5fnh</guid>
      <description>&lt;p&gt;I have noticed that a match made in heaven is Proxmox with HAProxy. HAProxy provides high-availability load balancing for the Proxmox VE web management UI across a multi-node cluster. However, placing a Proxmox cluster behind a round-robin proxy often breaks NoVNC WebSocket (WSS) console connections. I noticed this only after putting my cluster behind HAProxy. There are a few gotchas with HAProxy and Proxmox that I discovered.&lt;/p&gt;

&lt;p&gt;Without session persistence, requests are routed across different Proxmox nodes mid-session, invalidating authentication tickets and causing NoVNC WebSocket handshakes to fail.   &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0bo9rjwmh7lmvz2mguw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0bo9rjwmh7lmvz2mguw.png" alt="HAProxy TLS Termination and Sticky Session Routing for Proxmox VE NoVNC Consoles" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HAProxy TLS termination and source/cookie stick-table routing pinning Proxmox authentication tickets and NoVNC WebSocket streams to the same backend node. &lt;/p&gt;

&lt;h2&gt;
  
  
  Fixing Options
&lt;/h2&gt;

&lt;p&gt;There are three approaches to resolving NoVNC WebSocket routing across a Proxmox VE cluster:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Only using a single backend.&lt;/li&gt;
&lt;li&gt;Switch away from round-robin mode.&lt;/li&gt;
&lt;li&gt;Tweaking Proxmox HAProxy backends to allow for HAProxy to keep the same backend used during the browser session.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I could not use option #1 because that would defeat the point of HAProxy running above Proxmox.&lt;/p&gt;

&lt;p&gt;I could not go with option #2 as I wanted to have more users and load-balance according to the user logged in.  &lt;/p&gt;

&lt;p&gt;So, I decided to go with option #3. I implemented this option with HAProxy and sticky cookie sessions.&lt;/p&gt;

&lt;p&gt;After installing HAProxy on Ubuntu (see the installation guide &lt;a href="https://kifarunix.com/install-and-setup-haproxy-on-ubuntu-20-04/" rel="noopener noreferrer"&gt;here&lt;/a&gt;. ), configure the frontend to route traffic to the &lt;code&gt;proxmox&lt;/code&gt; backend:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;default_backend proxmox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F386mvs4xsr6rwvxzy0zg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F386mvs4xsr6rwvxzy0zg.png" width="225" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  HAProxy Cookie Fix
&lt;/h2&gt;

&lt;p&gt;Next, configure session persistence in the &lt;code&gt;proxmox&lt;/code&gt; backend so HAProxy pins each browser session to a consistent Proxmox cluster node: You will want to add the following portion to your backend settings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cookie SERVERID insert indirect nocache
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You will also need to add in the setting to the actual backend to allow for a cookie. Here is an example of the server backend:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;server proxmox-nuc3 192.168.1.14:8006 maxconn 501 cookie S3 check ssl verify none
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Full Backend Configuration
&lt;/h2&gt;

&lt;p&gt;Combining health checks, forwarded headers, and sticky session cookies yields the complete HAProxy backend configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;backend proxmox
   description Back-end proxmox
   mode http
   balance roundrobin
   option forwardfor
   option httpchk GET /
   cookie SERVERID insert indirect nocache
   http-request set-header X-Forwarded-Port %[dst_port]
   http-request add-header X-Forwarded-Proto https if { ssl_fc }
   server proxmox-nuc1 192.168.1.12:8006 cookie S1 check ssl verify none
   server proxmox-nuc2 192.168.1.13:8006 cookie S2 check ssl verify none
   server proxmox-nuc3 192.168.1.14:8006 cookie S3 check ssl verify none
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Verification
&lt;/h2&gt;

&lt;p&gt;With sticky cookie insertion enabled, the Proxmox VE web UI and NoVNC console remain accessible even if an individual hypervisor node goes offline for maintenance.&lt;/p&gt;

&lt;p&gt;As shown below, NoVNC WebSocket sessions establish cleanly through HAProxy across reboots, browsers, and cluster nodes without WSS timeouts:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fi0.wp.com%2Fwww.nertwork.com%2Fwp-content%2Fuploads%2F2021%2F01%2Fproxmox_haproxy_screenshare.gif%3Fssl%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fi0.wp.com%2Fwww.nertwork.com%2Fwp-content%2Fuploads%2F2021%2F01%2Fproxmox_haproxy_screenshare.gif%3Fssl%3D1" alt="Share of working proxmox through haproxy" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2021/01/19/proxmox-vnc-haproxy/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>haproxy</category>
      <category>haproxylbproxmox</category>
      <category>proxmox</category>
      <category>proxmoxbehindhaproxy</category>
    </item>
    <item>
      <title>Modern Computer Networking: Wi-Fi 6E, Edge Computing, 5G, SDN, and AI Cybersecurity</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 07:29:28 +0000</pubDate>
      <link>https://dev.to/nertwork/modern-computer-networking-wi-fi-6e-edge-computing-5g-sdn-and-ai-cybersecurity-41g2</link>
      <guid>https://dev.to/nertwork/modern-computer-networking-wi-fi-6e-edge-computing-5g-sdn-and-ai-cybersecurity-41g2</guid>
      <description>&lt;p&gt;Computer networking is an ever-evolving field, with new technologies and advancements emerging regularly. In recent times, several developments have taken place in the computer networking field, impacting businesses and individuals alike. Here is a technical overview of the five core technologies reshaping enterprise and homelab network architecture.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Wi-Fi 6E &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Wi-Fi 6E is the latest and most advanced version of the Wi-Fi standard. It offers faster speeds, lower latency, and improved performance compared to previous versions. The new version uses the 6GHz frequency band, which is less crowded and offers faster data transfer rates. The Wi-Fi 6E standard is being increasingly adopted, and several new devices, such as smartphones, laptops, and routers, are now compatible with it. To learn more about Wi-Fi 6E, you can visit the Wi-Fi Alliance’s website (&lt;a href="https://www.wi-fi.org/discover-wi-fi/wi-fi-6" rel="noopener noreferrer"&gt;https://www.wi-fi.org/discover-wi-fi/wi-fi-6&lt;/a&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Edge Computing &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Edge computing is a paradigm shift in the way computing is done. It involves processing data closer to the source, rather than sending it to a centralized cloud for processing. This approach reduces latency and improves performance, making it ideal for applications that require real-time processing, such as gaming, video streaming, and autonomous vehicles. Edge computing has gained significant traction in recent times, with several businesses adopting it. To learn more about edge computing, you can visit the Edge Computing Consortium’s website (&lt;a href="https://www.ecocea.org/" rel="noopener noreferrer"&gt;https://www.ecocea.org/&lt;/a&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;5G &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;5G is the latest wireless network technology that promises faster speeds, lower latency, and better connectivity than previous generations. It is being increasingly adopted worldwide, and several countries have launched their 5G networks. 5G is expected to revolutionize various industries, such as healthcare, manufacturing, and transportation, by enabling real-time monitoring and control. To learn more about 5G, you can visit the 5G Americas website (&lt;a href="https://www.5gamericas.org/" rel="noopener noreferrer"&gt;https://www.5gamericas.org/&lt;/a&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Software-Defined Networking (SDN) &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Software-defined networking (SDN) is a new approach to networking that enables centralized control and management of network infrastructure. SDN allows network administrators to manage networks more efficiently, reducing costs and improving performance. It is being increasingly adopted by businesses, and several SDN-based solutions are now available. To learn more about SDN, you can visit the Open Networking Foundation’s website (&lt;a href="https://opennetworking.org/" rel="noopener noreferrer"&gt;https://opennetworking.org/&lt;/a&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cybersecurity &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cybersecurity is a growing concern for businesses and individuals alike, with cyber-attacks becoming more frequent and sophisticated. To combat this, several new cybersecurity technologies are being developed, such as artificial intelligence (AI)-based threat detection and blockchain-based security. These technologies are being increasingly adopted by businesses to protect their data and networks. To learn more about cybersecurity, you can visit the National Institute of Standards and Technology’s cybersecurity website (&lt;a href="https://www.nist.gov/topics/cybersecurity" rel="noopener noreferrer"&gt;https://www.nist.gov/topics/cybersecurity&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;In conclusion, the computer networking field is witnessing rapid developments and advancements. From Wi-Fi 6E and edge computing to 5G and SDN, several new technologies are emerging, impacting businesses and individuals alike. Cybersecurity is also a growing concern, with several new technologies being developed to combat cyber threats. Keeping up with these developments is critical for businesses to stay ahead of the curve and leverage the latest technologies to improve their performance and operations.  &lt;/p&gt;

&lt;p&gt;Browse more infrastructure analyses in &lt;a href="https://www.nertwork.com/category/general-news/" rel="noopener noreferrer"&gt;General News&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2023/04/12/recent-developments-in-computer-networking-wi-fi-6e-edge-computing-5g-sdn-and-cybersecurity/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aiautomation</category>
      <category>techdispatch</category>
    </item>
    <item>
      <title>Enterprise Networking Trends: SASE, Multi-Cloud, Private 5G, and AI Network Management</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 06:24:49 +0000</pubDate>
      <link>https://dev.to/nertwork/enterprise-networking-trends-sase-multi-cloud-private-5g-and-ai-network-management-1ep0</link>
      <guid>https://dev.to/nertwork/enterprise-networking-trends-sase-multi-cloud-private-5g-and-ai-network-management-1ep0</guid>
      <description>&lt;h2&gt;
  
  
  1. Network and Security Convergence
&lt;/h2&gt;

&lt;p&gt;In 2023, one of the key networking trends is the convergence of network and security operations. With the rise of distributed IT environments and hybrid work models, networks have become crucial for identifying and mitigating cyberattacks. Organizations are increasingly integrating Zero Trust and Secure Access Service Edge (SASE) frameworks into their network infrastructure. The integration of network and security tools is vital in this process, although it might be a gradual transition due to existing IT investments. Network traffic information is becoming increasingly important for detecting and addressing anomalies, thus bolstering security postures (source: TechTarget).&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Multi-cloud Networking
&lt;/h2&gt;

&lt;p&gt;The use of multiple public clouds has significantly increased, with 86% of organizations reported to be using multiple public clouds for Infrastructure as a Service (IaaS) and Platform as a Service (PaaS). This trend leads to more complex network management but also drives the development of tools that simplify connections to multiple cloud vendors, thereby enhancing organizational agility (source: TechTarget).&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Private 5G and Wi-Fi Delineation
&lt;/h2&gt;

&lt;p&gt;Another notable trend is the growing delineation between private 5G and Wi-Fi use cases. While Wi-Fi continues to dominate enterprise spaces, private 5G deployments are on the rise, especially in industrial settings. The choice between these technologies often depends on the specific application requirements. Private 5G is emerging as a primary connection for some SD-WAN deployments, although it can be complex and costly (source: TechTarget).&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Digital Twin Technology
&lt;/h2&gt;

&lt;p&gt;Digital twins, which create virtual replicas of physical network environments, are seeing increased adoption. These technologies allow for safer testing and optimization of network configurations and operations without affecting the physical network. Such advancements are crucial for enhancing business resiliency and operational efficiency (source: TechTarget and EnterpriseNetworkingPlanet).&lt;/p&gt;

&lt;h2&gt;
  
  
  5. AI-based Network Management
&lt;/h2&gt;

&lt;p&gt;Artificial intelligence (AI) is revolutionizing network management by automating manual processes and improving problem detection and triage. AI-driven tools are increasingly used for proactive network management, enhancing user experiences and reducing downtime (source: EnterpriseNetworkingPlanet).&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Next-Generation Connectivity
&lt;/h2&gt;

&lt;p&gt;Next-generation connectivity encompasses the development and implementation of advanced network technologies, including 5G and next-generation Wi-Fi. These technologies are crucial for enabling high-speed, low-latency connectivity in various settings, from smart homes to large public venues and enterprises (source: EnterpriseNetworkingPlanet).&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Staying abreast of these trends is crucial for network professionals and organizations looking to optimize their network infrastructure and security. The trends reflect an ongoing evolution towards more integrated, intelligent, and versatile networking solutions that cater to the demands of modern digital enterprises and public services.&lt;/p&gt;

&lt;p&gt;For more detailed insights and specific examples, you can refer to the original articles on &lt;a href="https://www.techtarget.com/" rel="noopener noreferrer"&gt;TechTarget&lt;/a&gt;, &lt;a href="https://www.enterprisenetworkingplanet.com/" rel="noopener noreferrer"&gt;EnterpriseNetworkingPlanet&lt;/a&gt;, and other sources cited.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2023/12/07/current-networking-trends-in-2023-an-in-depth-analysis/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aiautomation</category>
      <category>techdispatch</category>
    </item>
    <item>
      <title>Enforcing Network Standards Across a 1,000+ Device Fleet with Agentic AI</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 06:19:11 +0000</pubDate>
      <link>https://dev.to/nertwork/enforcing-network-standards-across-a-1000-device-fleet-with-agentic-ai-1ecb</link>
      <guid>https://dev.to/nertwork/enforcing-network-standards-across-a-1000-device-fleet-with-agentic-ai-1ecb</guid>
      <description>&lt;p&gt;Enterprise networks rarely fail from a single bug—they fail from &lt;strong&gt;configuration entropy&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Interface descriptions referencing retired peers (&lt;code&gt;TEMP_UPLINK_DO_NOT_TOUCH&lt;/code&gt;) &lt;/li&gt;
&lt;li&gt;Drifted hostnames across datacenters, cloud interconnects, and branches &lt;/li&gt;
&lt;li&gt;Legacy ACLs &amp;amp; firewall policies with shadowed rules, &lt;code&gt;any&lt;/code&gt; services, and stale objects &lt;/li&gt;
&lt;li&gt;Undocumented BGP neighbors, VTI tunnels, and LAG members &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Manual audits take months. Here is how we built an &lt;strong&gt;Agentic AI (&lt;code&gt;ai-ops&lt;/code&gt;)&lt;/strong&gt; pipeline to enforce deterministic standards across 1,000+ devices—without letting an LLM wing a live commit:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwk6fq3b4qvfcelknhvmz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwk6fq3b4qvfcelknhvmz.png" alt="Two-Tier Agentic AI Network Standards Pipeline with NetBox SSOT and Oxidized AST Parsing" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Four-stage network standards enforcement pipeline: NetBox/Oxidized correlation, deterministic AST checks, two-tier Agentic AI, and human approval gate. &lt;/p&gt;

&lt;h2&gt;
  
  
  1. Multi-Source Truth Correlation (~50ms)
&lt;/h2&gt;

&lt;p&gt;Before proposing changes, agents correlate 4 live sources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Oxidized:&lt;/strong&gt; Config history across firewalls, switches, and routers &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NetBox (SSOT):&lt;/strong&gt; Authoritative racks, circuits, prefixes, and roles &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LibreNMS &amp;amp; Prometheus:&lt;/strong&gt; Live LLDP/CDP, ARP/MAC, and BGP state &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graphify Graph:&lt;/strong&gt; Pre-compiled topology queried in &lt;code&gt;&amp;lt;150&lt;/code&gt; tokens for blast radius &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Semantic Interface, Hostname &amp;amp; Tunnel Normalization
&lt;/h2&gt;

&lt;p&gt;Cross-verifying LLDP/CDP and BGP state against IPAM enforces structured schemas:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Interfaces:&lt;/strong&gt; &lt;code&gt;&amp;lt;peer_host&amp;gt;:&amp;lt;peer_port&amp;gt; | &amp;lt;role/circuit&amp;gt; | &amp;lt;vrf/vlan&amp;gt;&lt;/code&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hostnames:&lt;/strong&gt; &lt;code&gt;&amp;lt;site&amp;gt;-&amp;lt;role&amp;gt;-&amp;lt;id&amp;gt;&lt;/code&gt; aligned across CLI, DNS, IPAM, and monitoring &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VTI Tunnels:&lt;/strong&gt; Standardized metadata with remote ASN, loopbacks, and routing boundaries (cloud workload vs. management paths) &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Autonomous ACL &amp;amp; Firewall Policy Hygiene
&lt;/h2&gt;

&lt;p&gt;Agents parse vendor syntax into normalized models to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Replace inline IPs with canonical, role-scoped address objects &lt;/li&gt;
&lt;li&gt;Flag shadowed rules, expired exceptions, and zero-hit policies via hit counters &lt;/li&gt;
&lt;li&gt;Enforce least-privilege segmentation across corporate, cloud, and branch zones &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Orchestrator + Disposable Sub-Agent Architecture
&lt;/h2&gt;

&lt;p&gt;To prevent LLM context rot at scale, we use a two-tier design:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Orchestrator (&lt;code&gt;&amp;lt;40k&lt;/code&gt; tokens):&lt;/strong&gt; Plans site waves and synthesizes fleet diffs &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Disposable Sub-Agents:&lt;/strong&gt; Audit one site/rack, query the subgraph, and output compact diffs—cutting tokens ~80% with 100% precision &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Candidate Staging &amp;amp; Human-in-the-Loop Approval
&lt;/h2&gt;

&lt;p&gt;AI never autonomously commits to live gear:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Stage in candidate config or dry-run mode &lt;/li&gt;
&lt;li&gt;Run syntax, policy, and routing pre-checks &lt;/li&gt;
&lt;li&gt;Attach an exact Before/After diff to the change ticket &lt;/li&gt;
&lt;li&gt;Require &lt;strong&gt;Human Approval&lt;/strong&gt; before commit + post-change BGP/port verification &lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Result
&lt;/h2&gt;

&lt;p&gt;Multi-quarter cleanups are now a continuous pipeline—turning &lt;code&gt;show interface status&lt;/code&gt; into a living diagram.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;How are you tackling config drift and ACL hygiene at scale?&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2026/10/30/enforcing-network-standards-across-a-1000-device-fleet-with-agentic-ai/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>agenticai</category>
      <category>cybersecurity</category>
      <category>netdevops</category>
      <category>networkautomation</category>
    </item>
    <item>
      <title>Leveraging AI for a Homelab: Declarative Proxmox VE Infrastructure with Terraform, Pulumi, and GitLab CI/CD</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 06:14:18 +0000</pubDate>
      <link>https://dev.to/nertwork/leveraging-ai-for-a-homelab-declarative-proxmox-ve-infrastructure-with-terraform-pulumi-and-1081</link>
      <guid>https://dev.to/nertwork/leveraging-ai-for-a-homelab-declarative-proxmox-ve-infrastructure-with-terraform-pulumi-and-1081</guid>
      <description>&lt;p&gt;Modern homelabs have evolved far beyond a single hypervisor running a handful of manually clicked-together virtual machines. When your homelab mirrors production enterprise architecture—spanning a multi-node &lt;strong&gt;Proxmox VE&lt;/strong&gt; cluster, Kubernetes workloads, VLAN-segmented MikroTik and UniFi switching, HashiCorp Vault secret management, and full observability—manual GUI provisioning (“ClickOps”) quickly leads to configuration drift.&lt;/p&gt;

&lt;p&gt;Here is how we architected a 100% declarative, self-healing homelab by combining &lt;strong&gt;Terraform&lt;/strong&gt;, &lt;strong&gt;Pulumi&lt;/strong&gt;, &lt;strong&gt;GitLab CI/CD&lt;/strong&gt;, and &lt;strong&gt;leveraging AI for a homelab&lt;/strong&gt; (&lt;code&gt;ai-ops&lt;/code&gt;) to manage the entire lifecycle from bare-metal hypervisors to application services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fksgmerffnrtvyc8rxcym.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fksgmerffnrtvyc8rxcym.png" alt="Declarative Proxmox VE Homelab IaC Architecture: Terraform, Pulumi &amp;amp; GitLab CI/CD" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Declarative GitOps workflow: GitLab CI/CD plans &amp;amp; drift gates driving Terraform (Proxmox VMs) and Pulumi Python (Kubernetes &amp;amp; Ingress). &lt;/p&gt;

&lt;h2&gt;
  
  
  1. Why Declarative IaC + Leveraging AI for a Homelab Matters
&lt;/h2&gt;

&lt;p&gt;Traditional homelab setups fail in predictable ways: undocumented VM hardware tweaks, snowflake storage mounts, forgotten firewall rules, and stale DNS records. By treating the homelab as an immutable Infrastructure-as-Code (IaC) fleet and &lt;strong&gt;leveraging AI for a homelab&lt;/strong&gt; operations plane, we achieve four core guarantees:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero ClickOps Drift:&lt;/strong&gt; Every Proxmox VM, LXC container, VLAN bridge, and DNS record is defined in Git and reconciled via Terraform or Pulumi. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Single Source of Truth (SSOT):&lt;/strong&gt; NetBox tracks every rack unit, hypervisor node, VLAN prefix (&lt;code&gt;172.28.x.0/24&lt;/code&gt;), and IP assignment before a VM is ever instantiated. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vault-Backed Ephemeral Secrets:&lt;/strong&gt; API tokens, SSH keys, and Cloud-Init credentials are fetched dynamically from HashiCorp Vault at pipeline execution time—never hardcoded in repositories. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agentic AI Topology Awareness:&lt;/strong&gt; Our &lt;code&gt;ai-ops&lt;/code&gt; agents query a pre-compiled knowledge graph (&lt;code&gt;graphify&lt;/code&gt;) in &lt;code&gt;&amp;lt;150&lt;/code&gt; tokens to understand blast radius, author IaC Merge Requests, and validate post-deploy telemetry automatically. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Proxmox VE Cluster Foundation &amp;amp; Cloud-Init Golden Templates
&lt;/h2&gt;

&lt;p&gt;Before Terraform or Pulumi touches the cluster, our Proxmox VE nodes (&lt;code&gt;pve01&lt;/code&gt;–&lt;code&gt;pve03&lt;/code&gt;) are standardized with ZFS/NVMe storage pools, VLAN-aware Linux bridges (&lt;code&gt;vmbr0&lt;/code&gt; trunking production, IoT, lab, and management VLANs), and minimal Cloud-Init golden templates.&lt;/p&gt;

&lt;p&gt;Building a reproducible Ubuntu / Debian Cloud-Init template (&lt;code&gt;VMID 9000&lt;/code&gt;) on Proxmox takes five CLI commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;qm create 9000 --name ubuntu-2404-cloudinit --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0
qm importdisk 9000 noble-server-cloudimg-amd64.img local-zfs
qm set 9000 --scsihw virtio-scsi-single --scsi0 local-zfs:vm-9000-disk-0,discard=on,ssd=1
qm set 9000 --ide2 local-zfs:cloudinit --boot c --bootdisk scsi0 --serial0 socket --vga serial0
qm set 9000 --agent enabled=1 &amp;amp;&amp;amp; qm template 9000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Declarative VM Provisioning with Terraform
&lt;/h2&gt;

&lt;p&gt;For core stateful infrastructure—such as NetBox, GitLab runners, Wazuh SIEM, and DNS resolvers—we use &lt;strong&gt;Terraform&lt;/strong&gt; with the &lt;code&gt;bpg/proxmox&lt;/code&gt; provider and HashiCorp Vault integration. Cloning our Cloud-Init template into a production VM with static VLAN tagging and SSH key injection is completely declarative:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;terraform {
  required_providers {
    proxmox = {
      source  = "bpg/proxmox"
      version = "~&amp;gt; 0.66.0"
    }
    vault = {
      source  = "hashicorp/vault"
      version = "~&amp;gt; 4.4.0"
    }
  }
}

data "vault_kv_secret_v2" "proxmox_creds" {
  mount = "secret"
  name  = "ai-ops/proxmox"
}

provider "proxmox" {
  endpoint  = data.vault_kv_secret_v2.proxmox_creds.data["api_url"]
  api_token = data.vault_kv_secret_v2.proxmox_creds.data["api_token"]
  insecure  = false
}

resource "proxmox_virtual_environment_vm" "netctl_node" {
  name        = "netctl01"
  node_name   = "pve01"
  vm_id       = 25510
  description = "Managed by Terraform &amp;amp; GitLab CI/CD (ai-ops)"
  tags        = ["terraform", "homelab", "netdevops"]

  cpu {
    cores = 4
    type  = "host"
  }

  memory {
    dedicated = 8192
  }

  clone {
    vm_id = 9000
    full  = true
  }

  disk {
    datastore_id = "local-zfs"
    interface    = "scsi0"
    size         = 64
    discard      = "on"
    ssd          = true
  }

  network_device {
    bridge  = "vmbr0"
    model   = "virtio"
    vlan_id = 255
  }

  initialization {
    ip_config {
      ipv4 {
        address = "172.28.255.10/24"
        gateway = "172.28.255.1"
      }
    }
    user_account {
      username = "ops"
      keys     = [data.vault_kv_secret_v2.proxmox_creds.data["ssh_pubkey"]]
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. Dynamic Infrastructure &amp;amp; Kubernetes Fleets with Pulumi
&lt;/h2&gt;

&lt;p&gt;While Terraform excels at static resource blocks, &lt;strong&gt;Pulumi&lt;/strong&gt; allows us to use real Python and TypeScript to dynamically query our NetBox SSOT and generate entire fleets of Kubernetes (&lt;code&gt;home1&lt;/code&gt;) worker nodes, GPU passthrough VMs, and monitoring probes without duplicating boilerplate HCL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import pulumi
import pulumi_proxmoxve as proxmox

# Dynamically provision Kubernetes worker nodes across Proxmox cluster hosts
k8s_workers = [
    {"name": "k8s-worker-01", "node": "pve01", "vmid": 25221, "ip": "172.28.252.21/24", "cores": 8, "mem": 16384},
    {"name": "k8s-worker-02", "node": "pve02", "vmid": 25222, "ip": "172.28.252.22/24", "cores": 8, "mem": 16384},
    {"name": "k8s-worker-03", "node": "pve03", "vmid": 25223, "ip": "172.28.252.23/24", "cores": 8, "mem": 16384},
]

for w in k8s_workers:
    proxmox.vm.VirtualMachine(
        w["name"],
        node_name=w["node"],
        vm_id=w["vmid"],
        name=w["name"],
        tags=["pulumi", "kubernetes", "home1"],
        cpu=proxmox.vm.VirtualMachineCpuArgs(cores=w["cores"], type="host"),
        memory=proxmox.vm.VirtualMachineMemoryArgs(dedicated=w["mem"]),
        clone=proxmox.vm.VirtualMachineCloneArgs(vm_id=9000, full=True),
        network_devices=[
            proxmox.vm.VirtualMachineNetworkDeviceArgs(bridge="vmbr0", model="virtio", vlan_id=252)
        ],
        initialization=proxmox.vm.VirtualMachineInitializationArgs(
            ip_configs=[
                proxmox.vm.VirtualMachineInitializationIpConfigArgs(
                    ipv4=proxmox.vm.VirtualMachineInitializationIpConfigIpv4Args(
                        address=w["ip"],
                        gateway="172.28.252.1",
                    )
                )
            ]
        ),
    )
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Automated GitLab CI/CD Pipelines with Human-in-the-Loop Gating
&lt;/h2&gt;

&lt;p&gt;Every infrastructure change flows through our self-hosted &lt;strong&gt;GitLab CI/CD&lt;/strong&gt; instance. Merge Requests automatically trigger syntax validation, security scanning, &lt;code&gt;terraform plan&lt;/code&gt;, and &lt;code&gt;pulumi preview&lt;/code&gt;, posting the exact infrastructure diff back to the Merge Request before a human approves the production apply:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stages:
  - validate
  - plan
  - apply

variables:
  TF_IN_AUTOMATION: "true"

terraform:validate:
  stage: validate
  image: hashicorp/terraform:1.9
  script:
    - terraform init -backend=false
    - terraform fmt -check
    - terraform validate

terraform:plan:
  stage: plan
  image: hashicorp/terraform:1.9
  script:
    - terraform init
    - terraform plan -out=tfplan.binary
    - terraform show -no-color tfplan.binary &amp;gt; plan.txt
  artifacts:
    paths:
      - tfplan.binary
      - plan.txt
    expire_in: 7 days

terraform:apply:
  stage: apply
  image: hashicorp/terraform:1.9
  script:
    - terraform init
    - terraform apply -auto-approve tfplan.binary
  dependencies:
    - terraform:plan
  rules:
    - if: $CI_COMMIT_BRANCH == "master"
      when: manual
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  6. Leveraging AI for a Homelab: The Agentic AI Control Plane
&lt;/h2&gt;

&lt;p&gt;The true multiplier in our architecture is &lt;strong&gt;leveraging AI for a homelab&lt;/strong&gt; across day-2 operations. Instead of giving an LLM unconstrained root access, we pair an &lt;strong&gt;Orchestrator + Scoped Sub-Agent architecture&lt;/strong&gt; with deterministic guardrails:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Graph &amp;amp; Topology Context (&lt;code&gt;&amp;lt;150&lt;/code&gt; Tokens):&lt;/strong&gt; Before proposing any Proxmox, Kubernetes, or network change, agents query our NetBox-backed topology CLI and Graphify knowledge graph to map dependencies across hypervisors, VLANs, and services. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Drift &amp;amp; CI Triage:&lt;/strong&gt; When a GitLab CI/CD pipeline fails or Prometheus/Wazuh fires an alert, an autonomous remediation agent inspects the logs, correlates recent commits, and stages a targeted Merge Request. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance Window Coordination:&lt;/strong&gt; Before restarting Kubernetes workloads or migrating Proxmox VMs, agents pause auto-remediation watchdogs so health probes never fight an active deployment. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-Change Telemetry Verification:&lt;/strong&gt; After a Terraform or Pulumi apply completes, agents verify QEMU guest agent heartbeats, Prometheus node-exporter metrics, and Blackbox HTTPS probes to confirm 100% service health. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By combining declarative Proxmox IaC (&lt;strong&gt;Terraform + Pulumi + GitLab CI/CD&lt;/strong&gt;) with &lt;strong&gt;Agentic AI operations&lt;/strong&gt;, our homelab runs with the reliability, auditability, and velocity of a hyperscale cloud environment.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2026/11/10/leveraging-ai-for-a-homelab-proxmox-terraform-gitlab-pulumi/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>agenticai</category>
      <category>automation</category>
      <category>gitlab</category>
      <category>homelab</category>
    </item>
    <item>
      <title>Autonomous Cloud &amp; Infrastructure SecOps: Integrating Wazuh SIEM/XDR, HashiCorp Vault, and Agentic AI Across AWS, GCP, and Proxmox Fleets</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 06:09:38 +0000</pubDate>
      <link>https://dev.to/nertwork/autonomous-cloud-infrastructure-secops-integrating-wazuh-siemxdr-hashicorp-vault-and-agentic-4kmf</link>
      <guid>https://dev.to/nertwork/autonomous-cloud-infrastructure-secops-integrating-wazuh-siemxdr-hashicorp-vault-and-agentic-4kmf</guid>
      <description>&lt;p&gt;Modern enterprise infrastructure rarely lives inside a single trust boundary. A typical production environment spans &lt;strong&gt;Google Cloud Platform (GCP)&lt;/strong&gt; GKE clusters and Shared VPCs, &lt;strong&gt;Amazon Web Services (AWS)&lt;/strong&gt; Transit Gateway spokes and EC2 workloads, perimeter &lt;strong&gt;Juniper SRX / Cisco ASA&lt;/strong&gt; security zones, and on-premises &lt;strong&gt;Proxmox VE&lt;/strong&gt; and &lt;strong&gt;Kubernetes&lt;/strong&gt; bare-metal nodes. While open-source &lt;strong&gt;Wazuh SIEM &amp;amp; XDR&lt;/strong&gt; provides exceptional unified visibility across all of these environments, traditional security operations workflows break down at scale for two reasons: &lt;strong&gt;alert fatigue&lt;/strong&gt; and &lt;strong&gt;LLM context-window bloat&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you feed raw OpenSearch JSON alert documents or unfiltered vulnerability indices directly into an AI coding or operations agent, a single query can consume 40,000+ tokens—causing high latency, hallucinated package names, and missed stale-index edge cases. In this architectural deep dive, we walk through how we engineered a &lt;strong&gt;zero-dependency, sub-150-token Wazuh SIEM/XDR CLI and Model Context Protocol (MCP) bridge&lt;/strong&gt; backed by &lt;strong&gt;HashiCorp Vault&lt;/strong&gt;, and how our two-tier &lt;strong&gt;Agentic AI (&lt;code&gt;ai-ops&lt;/code&gt;)&lt;/strong&gt; platform correlates hybrid cloud telemetry (AWS GuardDuty/CloudTrail, GCP Cloud Audit Logs, and Linux/Kubernetes XDR agents) into deterministic &lt;strong&gt;Ansible and Terraform&lt;/strong&gt; remediation pipelines.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9jz7wkujywv9d8jc5gcl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9jz7wkujywv9d8jc5gcl.png" alt="Autonomous Multi-Cloud SecOps Architecture: Wazuh SIEM/XDR, HashiCorp Vault &amp;amp; Agentic AI" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;End-to-end multi-cloud SecOps pipeline: AWS/GCP/Proxmox telemetry normalized via Wazuh &amp;amp; HashiCorp Vault into deterministic Agentic AI remediation. &lt;/p&gt;

&lt;h2&gt;
  
  
  1. Why Traditional SIEM Workflows Fail Agentic AI
&lt;/h2&gt;

&lt;p&gt;Wazuh v4.x separates security operations across two distinct API planes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Wazuh Server REST API (&lt;code&gt;55000/tcp&lt;/code&gt;):&lt;/strong&gt; Manages JWT authentication (&lt;code&gt;/security/user/authenticate&lt;/code&gt;), agent enrollment and health (&lt;code&gt;/agents&lt;/code&gt;), CIS Security Configuration Assessment (SCA) pass/fail ratios (&lt;code&gt;/sca/&amp;lt;agent_id&amp;gt;&lt;/code&gt;), and active-response firewall blocks. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The OpenSearch Indexer API (&lt;code&gt;9200/tcp&lt;/code&gt;):&lt;/strong&gt; Stores real-time MITRE ATT&amp;amp;CK security alerts in &lt;code&gt;wazuh-alerts-4.x-*&lt;/code&gt; and per-package CVE vulnerability states in &lt;code&gt;wazuh-states-vulnerabilities-*&lt;/code&gt;. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When querying &lt;code&gt;wazuh-states-vulnerabilities-*&lt;/code&gt; across a hybrid fleet, we discovered three operational traps that naive dashboards and scripts miss:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Disconnected Ephemeral Cloud Nodes:&lt;/strong&gt; Auto-scaled AWS EC2 or GCP GKE nodes that terminated days ago leave orphaned CVE documents in the OpenSearch vulnerability index unless filtered against live &lt;code&gt;status=active&lt;/code&gt; agent IDs from port &lt;code&gt;55000&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stale Pre-Patch Index Records:&lt;/strong&gt; After an Ansible kernel or package upgrade, historical vulnerability documents with older &lt;code&gt;vulnerability.detected_at&lt;/code&gt; timestamps can persist until the next full syscollector scan or explicit &lt;code&gt;_delete_by_query&lt;/code&gt; index hygiene pass. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Megabyte JSON Responses:&lt;/strong&gt; Querying 500 alerts or CVEs without server-side OpenSearch aggregations (&lt;code&gt;terms&lt;/code&gt;, &lt;code&gt;cardinality&lt;/code&gt;, &lt;code&gt;top_hits&lt;/code&gt;) dumps megabytes of verbose JSON that overwhelm both human operators and AI orchestrators. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;|  SecOps Capability |  Raw Wazuh / OpenSearch API |  Deterministic AI-Ops CLI (&lt;code&gt;wazuh_cli.py&lt;/code&gt;) |&lt;br&gt;&lt;br&gt;
|  &lt;strong&gt;Executive Fleet Posture&lt;/strong&gt; |  42,000+ tokens across 6 REST &amp;amp; OpenSearch calls |  &lt;strong&gt;&amp;lt;140 tokens&lt;/strong&gt; (Active agents, deduplicated CVEs, CIS SCA score, top MITRE rules) |&lt;br&gt;&lt;br&gt;
|  &lt;strong&gt;Secret &amp;amp; Token Resolution&lt;/strong&gt; |  Static plaintext &lt;code&gt;.env&lt;/code&gt; files or manual dashboard login |  &lt;strong&gt;HashiCorp Vault KV v2&lt;/strong&gt; dynamic resolution + ephemeral JWT caching |&lt;br&gt;&lt;br&gt;
|  &lt;strong&gt;Stale &amp;amp; Disconnected Filtering&lt;/strong&gt; |  Manual cross-referencing between Indexer and Manager |  Automatic active-agent intersection + &lt;code&gt;_delete_by_query&lt;/code&gt; stale index pruning |&lt;br&gt;&lt;br&gt;
|  &lt;strong&gt;Remediation Execution&lt;/strong&gt; |  Manual SSH package updates or ad-hoc shell scripts |  Categorized &lt;strong&gt;Ansible / Terraform GitOps&lt;/strong&gt; playbooks with maintenance-window locks |      &lt;/p&gt;
&lt;h2&gt;
  
  
  2. Unifying AWS, GCP, Network Perimeter &amp;amp; Proxmox Telemetry
&lt;/h2&gt;

&lt;p&gt;To eliminate blind spots between cloud control planes and on-premises hypervisors, every security domain streams structured events into our central Wazuh XDR pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Web Services (AWS):&lt;/strong&gt; AWS &lt;strong&gt;CloudTrail&lt;/strong&gt; management/data events, &lt;strong&gt;GuardDuty&lt;/strong&gt; threat findings, and &lt;strong&gt;VPC Flow Logs&lt;/strong&gt; stream via S3/Kinesis into the Wazuh AWS module (&lt;code&gt;wodle name="aws-s3"&lt;/code&gt;), correlating IAM privilege escalations (&lt;code&gt;rule.level &amp;gt;= 10&lt;/code&gt;) alongside host-level EC2 and EKS container telemetry. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Cloud Platform (GCP):&lt;/strong&gt; GCP &lt;strong&gt;Cloud Audit Logs&lt;/strong&gt;, &lt;strong&gt;Cloud Armor&lt;/strong&gt; WAF blocks, and &lt;strong&gt;GKE&lt;/strong&gt; audit streams route through a Google Cloud Pub/Sub subscription (&lt;code&gt;wodle name="gcp-pubsub"&lt;/code&gt;) authenticated via short-lived Workload Identity credentials. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Perimeter Network Security (&lt;code&gt;JNCIP-SEC&lt;/code&gt;):&lt;/strong&gt; &lt;strong&gt;Juniper SRX&lt;/strong&gt; security zones, &lt;strong&gt;Cisco ASA/Firepower&lt;/strong&gt; appliances, and edge routers stream structured syslog (&lt;code&gt;514/udp&lt;/code&gt; / TLS) into custom Wazuh decoders that trigger automated edge active-response drops when brute-force or port-scan thresholds are exceeded. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proxmox VE &amp;amp; Kubernetes Nodes:&lt;/strong&gt; Lightweight Wazuh agents on every Debian/Ubuntu hypervisor and Kubernetes worker run continuous file integrity monitoring (&lt;code&gt;syscheck&lt;/code&gt;), package/kernel inventory (&lt;code&gt;syscollector&lt;/code&gt;), and &lt;strong&gt;CIS Benchmark Security Configuration Assessments (&lt;code&gt;sca&lt;/code&gt;)&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# /var/ossec/etc/ossec.conf — Hybrid AWS, GCP &amp;amp; CIS Benchmark Telemetry Configuration
&lt;/span&gt;&lt;span class="na"&gt;ossec_config&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;wodles&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;aws-s3&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;disabled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"no"&lt;/span&gt;
        &lt;span class="na"&gt;interval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"5m"&lt;/span&gt;
        &lt;span class="na"&gt;buckets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"enterprise-secops-cloudtrail-logs"&lt;/span&gt;
            &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"cloudtrail"&lt;/span&gt;
            &lt;span class="na"&gt;regions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"us-west-2,us-east-1,eu-central-1"&lt;/span&gt;
          &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"enterprise-secops-guardduty-findings"&lt;/span&gt;
            &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"guardduty"&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;gcp-pubsub&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;project_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"prod-secops-telemetry-01"&lt;/span&gt;
        &lt;span class="na"&gt;subscription_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"wazuh-cloud-audit-and-armor-sub"&lt;/span&gt;
        &lt;span class="na"&gt;max_messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;
        &lt;span class="na"&gt;interval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2m"&lt;/span&gt;
  &lt;span class="na"&gt;sca&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;enabled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"yes"&lt;/span&gt;
    &lt;span class="na"&gt;scan_on_start&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"yes"&lt;/span&gt;
    &lt;span class="na"&gt;interval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"12h"&lt;/span&gt;
    &lt;span class="na"&gt;policies&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"etc/shared/cis_ubuntu24-04.yml"&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"etc/shared/cis_debian12.yml"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  3. Building the Sub-150-Token Wazuh + HashiCorp Vault CLI
&lt;/h2&gt;

&lt;p&gt;In our two-tier Agentic AI architecture, the primary orchestrator never holds raw database passwords or parses multi-megabyte JSON payloads. Instead, our zero-dependency Python CLI (&lt;code&gt;wazuh_cli.py&lt;/code&gt;) retrieves short-lived credentials from &lt;strong&gt;HashiCorp Vault&lt;/strong&gt; (&lt;code&gt;secret/data/ai-ops/wazuh&lt;/code&gt;), authenticates to both the Wazuh Manager API (&lt;code&gt;55000/tcp&lt;/code&gt;) and the OpenSearch Indexer (&lt;code&gt;9200/tcp&lt;/code&gt;), and cross-filters open vulnerabilities against currently active agents:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#!/usr/bin/env python3&lt;/span&gt;
&lt;span class="s2"&gt;"""Zero-dependency Wazuh SIEM/XDR + OpenSearch CVE &amp;amp; CIS SCA Query Engine."""&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ssl&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fetch_active_agent_cves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;indexer_url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;active_agent_ids&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;auth_header&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="s2"&gt;"""Query OpenSearch wazuh-states-vulnerabilities-* for active agents only."""&lt;/span&gt;
    &lt;span class="n"&gt;query_dsl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"bool"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"filter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
                    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"agent.id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;active_agent_ids&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"vulnerability.severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Critical"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"High"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"aggs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"by_severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"field"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"vulnerability.severity"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"by_agent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"field"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"agent.name"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"aggs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="s2"&gt;"top_cves"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                        &lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"field"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"vulnerability.id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                        &lt;span class="s2"&gt;"aggs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                            &lt;span class="s2"&gt;"pkg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"terms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"field"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"package.name"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
                        &lt;span class="p"&gt;}&lt;/span&gt;
                    &lt;span class="p"&gt;}&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;req&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{indexer_url}/wazuh-states-vulnerabilities-*/_search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;query_dsl&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;auth_header&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;ctx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ssl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create_default_context&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;check_hostname&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;
    &lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;verify_mode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ssl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;CERT_NONE&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;loads&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When an engineer or AI sub-agent runs &lt;code&gt;wazuh_cli.py summary&lt;/code&gt; or &lt;code&gt;wazuh_cli.py remediate&lt;/code&gt;, the CLI classifies every finding into five deterministic buckets:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Bucket 1 — Stale OpenSearch Documents:&lt;/strong&gt; Automatically pruned via &lt;code&gt;POST /wazuh-states-vulnerabilities-*/_delete_by_query&lt;/code&gt; when the package is already upgraded on the host. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bucket 2 — Disconnected / Terminated Cloud Nodes:&lt;/strong&gt; Filtered out of active posture calculations and queued for agent deregistration. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bucket 3 — Unbooted / Old Linux Kernels:&lt;/strong&gt; Hosts where &lt;code&gt;apt-get dist-upgrade&lt;/code&gt; installed a patched kernel image, but an older &lt;code&gt;linux-image-*&lt;/code&gt; package remains on disk awaiting &lt;code&gt;apt-get autoremove --purge&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bucket 4 — Container &amp;amp; Ingress Images:&lt;/strong&gt; Correlated against upstream registries (Docker Hub / GHCR / GitLab Registry) to verify that a patched container tag actually exists before triggering a GitOps bump. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bucket 5 — Standard OS Packages (&lt;code&gt;apt&lt;/code&gt; / &lt;code&gt;dnf&lt;/code&gt;):&lt;/strong&gt; Grouped into a targeted Ansible remediation batch. &lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  4. Closed-Loop Autonomous Remediation with Ansible, Terraform &amp;amp; GitLab CI/CD
&lt;/h2&gt;

&lt;p&gt;Detecting a CVE or CIS Benchmark failure is only half the battle. To close the loop safely without risking unplanned outages on stateful hypervisors or Kubernetes control planes, our autonomous remediation workflow enforces three strict guardrails:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance-Window Pause (&lt;code&gt;hermes-ctl pause&lt;/code&gt;):&lt;/strong&gt; Before touching any monitored service, the remediation pipeline pauses autonomous peer-healers so rolling restarts do not trigger false-positive auto-heal rollbacks. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ansible Package &amp;amp; Kernel Hygiene Playbook:&lt;/strong&gt; Executes non-interactive &lt;code&gt;DEBIAN_FRONTEND=noninteractive&lt;/code&gt; security upgrades, removes superseded kernel packages, and restarts affected systemd units only when required. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-Patch Index Verification:&lt;/strong&gt; Triggers a fresh Wazuh syscollector scan, prunes stale vulnerability documents, and verifies that the fleet returns to &lt;strong&gt;0 Critical / 0 High active CVEs&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# playbooks/patch_secops_vulns.yml — Deterministic Fleet CVE &amp;amp; Kernel Remediation
&lt;/span&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Remediate Active Wazuh CVEs and Prune Superseded Kernels&lt;/span&gt;
  &lt;span class="na"&gt;hosts&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;secops_patch_targets&lt;/span&gt;
  &lt;span class="na"&gt;become&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;serial&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
  &lt;span class="na"&gt;tasks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Update apt cache and apply security upgrades non-interactively&lt;/span&gt;
      &lt;span class="na"&gt;ansible.builtin.apt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;update_cache&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
        &lt;span class="na"&gt;upgrade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;dist&lt;/span&gt;
        &lt;span class="na"&gt;autoremove&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
        &lt;span class="na"&gt;purge&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
        &lt;span class="na"&gt;dpkg_options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"force-confdef,force-confold"&lt;/span&gt;
      &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;DEBIAN_FRONTEND&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;noninteractive&lt;/span&gt;

    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Restart Wazuh agent to trigger immediate syscollector rescan&lt;/span&gt;
      &lt;span class="na"&gt;ansible.builtin.systemd&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;wazuh-agent&lt;/span&gt;
        &lt;span class="na"&gt;state&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;restarted&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Key Takeaways for Cloud &amp;amp; Security Architects
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Compress Telemetry Before It Reaches the LLM:&lt;/strong&gt; Replacing raw SIEM JSON dumps with a deterministic &lt;code&gt;&amp;lt;150-token&lt;/code&gt; CLI reduces AI triage latency from 30+ seconds to under 800 milliseconds while eliminating hallucinations. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unify Cloud and Bare-Metal Signals:&lt;/strong&gt; Correlating &lt;strong&gt;AWS GuardDuty/CloudTrail&lt;/strong&gt;, &lt;strong&gt;GCP Cloud Audit Logs/Cloud Armor&lt;/strong&gt;, &lt;strong&gt;Juniper SRX / Cisco firewalls&lt;/strong&gt;, and &lt;strong&gt;Proxmox/Kubernetes&lt;/strong&gt; host telemetry inside Wazuh gives security architects a single queryable graph across every environment. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never Auto-Patch Without Upstream &amp;amp; Blast-Radius Verification:&lt;/strong&gt; Pairing Wazuh vulnerability indices with &lt;strong&gt;NetBox SSOT&lt;/strong&gt;, &lt;strong&gt;HashiCorp Vault&lt;/strong&gt;, and gated &lt;strong&gt;Ansible/Terraform CI/CD pipelines&lt;/strong&gt; turns continuous compliance from a quarterly fire drill into a deterministic daily engineering loop.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2026/11/10/autonomous-cloud-and-infrastructure-secops-wazuh-siem-xdr-hashicorp-vault-and-agentic-ai/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>agenticai</category>
      <category>ansible</category>
      <category>aws</category>
      <category>cisbenchmarks</category>
    </item>
    <item>
      <title>Introducing BluePill v1.1.0: Native Qt6 C++/QML iMessage Client for Linux &amp; Zero-Electron macOS Relay</title>
      <dc:creator>James Farr Gomez</dc:creator>
      <pubDate>Tue, 17 Nov 2026 06:09:15 +0000</pubDate>
      <link>https://dev.to/nertwork/introducing-bluepill-v110-native-qt6-cqml-imessage-client-for-linux-zero-electron-macos-1a</link>
      <guid>https://dev.to/nertwork/introducing-bluepill-v110-native-qt6-cqml-imessage-client-for-linux-zero-electron-macos-1a</guid>
      <description>&lt;p&gt;Today, we are thrilled to announce the official release of &lt;strong&gt;BluePill v1.1.0&lt;/strong&gt;: a native Qt6 C++ / QML desktop iMessage client for Linux and a zero-Electron, ultra-lightweight macOS relay server. BluePill delivers seamless, end-to-end Apple iMessage connectivity to Linux workstations with near-zero resource overhead, native Wayland / Hyprland integration, and rich messaging features.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why We Built BluePill: Escaping Electron Bloat
&lt;/h2&gt;

&lt;p&gt;For Linux power users and developers, staying connected to Apple ecosystem communication has historically meant running heavy Electron or Flutter bridges like BlueBubbles. While functional, BlueBubbles carries a massive footprint: 400MB to 700MB of RAM, multi-second cold startup times, sluggish UI scrolling, and frequent sync stalls when processing multi-gigabyte message databases.&lt;/p&gt;

&lt;p&gt;We designed &lt;strong&gt;BluePill&lt;/strong&gt; from first principles to be the high-performance, native alternative:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Native Qt6 C++ / QML Desktop Client:&lt;/strong&gt; Under 35 MB of RAM, 60fps buttery-smooth hardware-accelerated rendering on modern Linux Wayland (Hyprland, Sway, GNOME, KDE) and X11 desktops. Instant sub-second launch. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Electron macOS Relay:&lt;/strong&gt; A tiny, native Python service running on Big Sur through macOS Tahoe that reads &lt;code&gt;chat.db&lt;/code&gt; directly via high-speed SQLite queries and uses AppleScript / native helpers to dispatch messages. Less than 15 MB RAM on macOS. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Direct SSH Transport:&lt;/strong&gt; End-to-end encrypted transport over native SSH tunnels (&lt;code&gt;ssh://user@mac-host&lt;/code&gt;) with zero port forwarding, no third-party cloud servers, and no reliance on external Firebase/Google push notification servers. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embedded High-Speed Web UI:&lt;/strong&gt; A full-featured web client hosted directly at &lt;code&gt;/web&lt;/code&gt; with live 28-bar voice memo waveform rendering, drag-and-drop attachments, and inline tapbacks. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftc8oy417xx7rnixp5ksa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftc8oy417xx7rnixp5ksa.png" alt="BluePill v1.1.0 Linux Qt6/QML iMessage Client Conversation View with Pinned Avatars and Multi-Photo Gallery" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BluePill v1.1.0 native Qt6/QML Linux client displaying Pinned Conversations, inline multi-photo gallery, tapback badges, and rich link previews under Wayland/Hyprland. &lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features in v1.1.0
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pinned Conversations &amp;amp; 1-Click 2FA OTP Copy Pill:&lt;/strong&gt; Circular avatar row synced with macOS &lt;code&gt;com.apple.messages.pinning.plist&lt;/code&gt; plus automatic 4–8 digit verification code extraction. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inline 28-Bar Voice Memo Waveforms:&lt;/strong&gt; Full interactive voice playback with FFmpeg amplitude extraction directly inside the chat view. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expressive Send &amp;amp; Tapbacks:&lt;/strong&gt; Send and receive heart, thumbs up, thumbs down, haha, exclamation, and question tapbacks, plus message effects (Confetti, Slam, Invisible Ink). &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scheduled Messages &amp;amp; Clipboard Screenshot Paste:&lt;/strong&gt; Queue messages locally or on the server with arbitrary future timestamps, and press &lt;code&gt;Ctrl+V&lt;/code&gt; to paste Wayland/X11 clipboard screenshots directly into any thread. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System Keyring &amp;amp; Waybar Module:&lt;/strong&gt; Secure credential storage via Freedesktop &lt;code&gt;SecretService&lt;/code&gt; (&lt;code&gt;secret-tool&lt;/code&gt; / KWallet) and native Waybar status bar indicators. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Find My Integration:&lt;/strong&gt; Query Find My devices and friend locations directly via the REST and RPC APIs. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F88tgn3mebvzy0x3dpzrg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F88tgn3mebvzy0x3dpzrg.png" alt="BluePill v1.1.0 Home Dashboard with Pinned Conversations, Sync Window Controls, and Embedded Web UI Launcher" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BluePill v1.1.0 Home Dashboard showing active macOS Relay status, message history sync window controls, and one-click Embedded Web UI launcher. &lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Install macOS Relay Server
&lt;/h3&gt;

&lt;p&gt;On your Mac (Intel or Apple Silicon):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install via Homebrew Tap&lt;/span&gt;
brew install nertwork/tap/bluepill

&lt;span class="c"&gt;# Start server interactively or as a LaunchAgent&lt;/span&gt;
bluepill-server --port 1234 --password my_secret_token
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Install Linux Desktop Client
&lt;/h3&gt;

&lt;p&gt;On Arch Linux / Omarchy via AUR:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yay -S bluepill
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or build from source on Debian, Ubuntu, or Fedora using CMake:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
sudo cmake --install build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Open Source &amp;amp; Autonomous AI Playbooks
&lt;/h2&gt;

&lt;p&gt;BluePill is 100% open source under the MIT license. We have published full documentation, architecture diagrams, and deterministic AI Agent playbooks for automated setup with Claude Code, Gemini CLI, Cursor, and Codex:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/nertwork/bluepill" rel="noopener noreferrer"&gt;github.com/nertwork/bluepill&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation &amp;amp; Web Portal:&lt;/strong&gt; &lt;a href="https://nertwork.github.io/bluepill/" rel="noopener noreferrer"&gt;nertwork.github.io/bluepill&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Arch AUR Package:&lt;/strong&gt; &lt;a href="https://aur.archlinux.org/packages/bluepill" rel="noopener noreferrer"&gt;aur.archlinux.org/packages/bluepill&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;macOS Homebrew Tap:&lt;/strong&gt; &lt;a href="https://github.com/nertwork/homebrew-tap" rel="noopener noreferrer"&gt;github.com/nertwork/homebrew-tap&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published by &lt;a href="https://www.nertwork.com/about/" rel="noopener noreferrer"&gt;James Farr Gomez&lt;/a&gt; on &lt;a href="https://www.nertwork.com/2026/11/11/introducing-bluepill-imessage-linux/" rel="noopener noreferrer"&gt;Nertwork&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>bluebubbles</category>
      <category>imessage</category>
      <category>linux</category>
      <category>macos</category>
    </item>
  </channel>
</rss>
