Downloads:
47,369
Downloads of v 4.3.9:
616
Last Update:
15 Oct 2022
Package Maintainer(s):
Software Author(s):
- Wazuh Inc.
Tags:
wazuh agent- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Wazuh Agent
This is not the latest version of Wazuh Agent available.
- 1
- 2
- 3
4.3.9 | Updated: 15 Oct 2022
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
47,369
Downloads of v 4.3.9:
616
Maintainer(s):
Software Author(s):
- Wazuh Inc.
Wazuh Agent 4.3.9
This is not the latest version of Wazuh Agent available.
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Wazuh Inc. The inclusion of Wazuh Inc. trademark(s), if any, upon this webpage is solely to identify Wazuh Inc. goods or services and not for commercial purposes.
- 1
- 2
- 3
All Checks are Passing
3 Passing Tests
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Wazuh Agent, run the following command from the command line or from PowerShell:
To upgrade Wazuh Agent, run the following command from the command line or from PowerShell:
To uninstall Wazuh Agent, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download wazuh-agent --internalize --version=4.3.9 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade wazuh-agent -y --source="'INTERNAL REPO URL'" --version="'4.3.9'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade wazuh-agent -y --source="'INTERNAL REPO URL'" --version="'4.3.9'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install wazuh-agent
win_chocolatey:
name: wazuh-agent
version: '4.3.9'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'wazuh-agent' do
action :install
source 'INTERNAL REPO URL'
version '4.3.9'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller wazuh-agent
{
Name = "wazuh-agent"
Version = "4.3.9"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'wazuh-agent':
ensure => '4.3.9',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 17 Oct 2022.
Wazuh helps you to gain deeper security visibility into your infrastructure by monitoring hosts at an operating system and application level.
Package Parameters
ApplicationFolder:
Sets the installation path. Default C:\Program Files (x86)\ossec-agent.Manager:
Specifies the managers IP address or hostname. This option also accepts a list of IPs or hostnames separated by semicolons.ManagerPort:
Specifies the managers connection port.Protocol:
Sets the communication protocol between the manager and the agent. Accepts UDP and TCP. Default is UDP.RegistrationServer:
Specifies the Authd IP address.RegistrationPort:
Specifies the Authd connection port.RegistrationPassword:
Sets the Authd password.
$ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = ''
fileType = ''
silentArgs = ''
validExitCodes = @(0, 3010, 1605, 1614, 1641)
}
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
# Custom settings from package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
Remove-Item `
-Path "<Path>" `
-Recurse
Write-Output `
-InputObject "Remove Shortcut <Path>"
}
function Test-RegistryValue {
param (
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path,
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Value
)
try {
Get-ItemProperty -Path $Path | Select-Object -ExpandProperty $Value -ErrorAction Stop | Out-Null
return $true
}
catch {
return $false
}
}
function Remove-FileItem {
param (
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path
)
try {
Remove-Item `
-Path $Path `
-Recurse
Write-Output `
-InputObject "Remove $($Path)"
}
catch {
Write-Output `
-InputObject "Failed remove $($Path)"
}
}
function Update-RegistryValue {
param (
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path,
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Name,
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Value,
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Type,
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Message
)
try {
Set-ItemProperty `
-Path $Path `
-Name $Name `
-Value $Value
Write-Output `
-InputObject $Message
}
catch {
New-ItemProperty `
-Path $Path `
-Name $Name`
-PropertyType $Type `
-Value $Value
Write-Output `
-InputObject $Message
}
}
function Set-CleanInstall {
try {
Get-ChildItem "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\.." -recurse -Exclude '*.ps1', '*pm1' |
Where-Object {$_.Length -gt 1gb} |
Remove-Item
return $true
}
catch {
return $false
}
}
function Remove-DesktopIcons {
param (
[parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Name,
[parameter(Mandatory = $false)]$Desktop
)
if (!$Desktop) {
$Desktop = 'All'
}
if ($Desktop -eq 'All') {
foreach ($User in Get-ChildItem -Path "C:\Users") {
Remove-FileItem -Path "C:\users\$($User)\desktop\$($Name).lnk"
}
Remove-FileItem -Path "C:\Users\default\desktop\$($Name).lnk"
Remove-FileItem -Path "C:\Users\Public\Desktop\$($Name).lnk"
}
elseif ($Desktop -eq 'Public') {
Remove-FileItem -Path "C:\Users\Public\Desktop\$($Name).lnk"
}
elseif ($Desktop -eq 'Default') {
Remove-FileItem -Path "C:\Users\Default\desktop\$($Name).lnk"
}
}
Log in or click on link to see number of positives.
- wazuh-agent-4.2.2-1.msi (4f4fd0aec86f) - ## / 56
- wazuh-agent.4.3.9.nupkg (60cb443fa10d) - ## / 63
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Wazuh Agent 4.9.2 | 9280 | Tuesday, November 5, 2024 | Approved | |
Wazuh Agent 4.9.1 | 1303 | Saturday, October 19, 2024 | Approved | |
Wazuh Agent 4.9.0 | 3462 | Saturday, September 7, 2024 | Approved | |
Wazuh Agent 4.8.2 | 1007 | Friday, August 23, 2024 | Approved | |
Wazuh Agent 4.8.1 | 2163 | Saturday, July 20, 2024 | Approved | |
Wazuh Agent 4.8.0 | 3950 | Wednesday, June 26, 2024 | Approved | |
Wazuh Agent 4.7.4 | 5390 | Tuesday, April 30, 2024 | Approved | |
Wazuh Agent 4.7.3 | 2004 | Tuesday, March 5, 2024 | Approved | |
Wazuh Agent 4.7.2 | 1191 | Thursday, January 11, 2024 | Approved | |
Wazuh Agent 4.7.1 | 492 | Wednesday, December 20, 2023 | Approved | |
Wazuh Agent 4.7.0 | 779 | Tuesday, November 28, 2023 | Approved | |
Wazuh Agent 4.6.0 | 715 | Tuesday, October 31, 2023 | Approved | |
Wazuh Agent 4.5.4 | 469 | Tuesday, October 24, 2023 | Approved | |
Wazuh Agent 4.5.3 | 524 | Friday, October 13, 2023 | Approved | |
Wazuh Agent 4.5.2 | 1179 | Friday, September 8, 2023 | Approved | |
Wazuh Agent 4.5.1 | 553 | Saturday, August 26, 2023 | Approved | |
Wazuh Agent 4.5.0 | 718 | Sunday, August 13, 2023 | Approved | |
Wazuh Agent 4.4.5 | 764 | Tuesday, July 11, 2023 | Approved | |
Wazuh Agent 4.4.4 | 610 | Thursday, June 15, 2023 | Approved | |
Wazuh Agent 4.4.3 | 351 | Sunday, May 28, 2023 | Approved | |
Wazuh Agent 4.4.2 | 157 | Friday, May 19, 2023 | Approved | |
Wazuh Agent 4.4.1 | 444 | Wednesday, April 12, 2023 | Approved | |
Wazuh Agent 4.4.0 | 276 | Wednesday, March 29, 2023 | Approved | |
Wazuh Agent 4.3.10 | 767 | Friday, February 10, 2023 | Approved | |
Wazuh Agent 4.3.9 | 616 | Saturday, October 15, 2022 | Approved | |
Wazuh Agent 4.3.8 | 386 | Tuesday, September 20, 2022 | Approved | |
Wazuh Agent 4.3.7 | 173 | Friday, September 2, 2022 | Approved | |
Wazuh Agent 4.2.7 | 664 | Tuesday, May 31, 2022 | Approved | |
Wazuh Agent 4.2.6 | 327 | Wednesday, April 27, 2022 | Approved | |
Wazuh Agent 4.2.2 | 1287 | Tuesday, October 12, 2021 | Approved | |
Wazuh Agent 4.0.3 | 953 | Thursday, December 3, 2020 | Approved | |
Wazuh Agent 3.13.2 | 364 | Monday, October 5, 2020 | Approved | |
Wazuh Agent 3.13.1 | 1636 | Thursday, August 6, 2020 | Approved | |
Wazuh Agent 3.11.3 | 1153 | Tuesday, February 11, 2020 | Approved | |
Wazuh Agent 3.10.2 | 449 | Saturday, December 7, 2019 | Approved | |
Wazuh Agent 2.1.1 | 813 | Monday, October 30, 2017 | Approved |
Wazuh Inc.
This package has no dependencies.
Ground Rules:
- This discussion is only about Wazuh Agent and the Wazuh Agent package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Wazuh Agent, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.