Coder Social home page Coder Social logo

Comments (8)

mayaherskovic avatar mayaherskovic commented on June 23, 2024

ASC recommendation to install “Monitoring Agent” is referring to a host level security agent for security data collection that Security Center depends on. Adding the VMSS/Host agent does not interfere with Azure Monitor for containers, you can enable them side by side.

from microsoft-defender-for-cloud.

bsuchorowski avatar bsuchorowski commented on June 23, 2024

I am just wondering how important to Security Center is a host level security agent. We are creating a k8s cluster via Terraform and setting anything on a VMSS level (created indirectly by azurerm_kubernetes_cluster resource) would be a bit tricky.

from microsoft-defender-for-cloud.

mayaherskovic avatar mayaherskovic commented on June 23, 2024

If you choose not to install the security agent on your VMSS hosts, you will only receive a subset of the threat protection benefits and security alerts. You'll still threat protection based on Kubernetes management activity, alerts related to network analysis and communications with malicious servers.

from microsoft-defender-for-cloud.

bsuchorowski avatar bsuchorowski commented on June 23, 2024

Terraform has just releaes a data source for VMSS so I will try to set host agent up.

from microsoft-defender-for-cloud.

TomJanetscheck avatar TomJanetscheck commented on June 23, 2024

Hi @bsuchorowski,
have you been successful with setting up the host agent on VMSS using Terraform?

from microsoft-defender-for-cloud.

bsuchorowski avatar bsuchorowski commented on June 23, 2024

No, we haven't tried it yet. For now we configured both OMS Agents manually and it seems it overlaps in many aspects that causes us additonal costs. For example ContainerLog contains same logs (minor differences in formatting f.e additonal timestamp visible) from both agents.

Is there a way to disable ContainerLog events on VMSS agents and leave it running only on AKS agent?

from microsoft-defender-for-cloud.

vishiy avatar vishiy commented on June 23, 2024

Docker (and containerd) based container monitoring will be auto disabled on AKS VMSS nodes, as part of VMSS agent install. We made this change last November. So there should not be ay duplicate data between containerinsights & VMSS/host agent (except heartbeats for each agent, which is not billed).

from microsoft-defender-for-cloud.

kamilzzz avatar kamilzzz commented on June 23, 2024

@TomJanetscheck have you been able to configure it using Terraform?
From Azure ARM docs it doesn't seem to be possible to configure VMSS monitoring on AKS nodepools using ARM.

from microsoft-defender-for-cloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.