dd-agent
dd-agent copied to clipboard
[core] Auto-update windows agent
Can the agent auto update itself by any chance? is this feature supported or is there a way to accomplish that?
I'm specifically referring to the windows version, I'd appreciate any guidance on this as we'd like to automate that process.
Thanks!
Now,I am doing this task for company task . We can communicate with each other.
NOW,I want to know ,can the agent auto update itself by any chance?
Hi!
The windows agent does not auto-update, and we generally recommend pinning the version of the Agent that's installed on your infrastructure.
If you absolutely want to always have the latest 5.x agent installed, you can pull it from this URL: https://s3.amazonaws.com/ddagent-windows-stable/ddagent-cli-latest.msi . You can use the ETag
header of the http response to determine whether there is a new version or not.
You can also pull the list of installed agent in JSON format from https://s3.amazonaws.com/ddagent-windows-stable/installers.json , parse it, and determine whether a new version is available from there.
Hope these pointers help, let us know if you have any further question. We are not planning to add an auto-upgrade feature to the windows agent itself at this point.
How is this not a feature in 2023? I understand some orgs have a need for stability but other orgs want to patch security vulnerabilities as soon as possible. Defender for Cloud is reporting 10 CVEs in the OpenSSL used by DataDog 7.47.0 which is only a few months old and currently 2 minor versions behind. It doesn't need to be enabled by default but the option to enable automatic minor version updates should be the bare minimum for a product in 2023.