Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 4.5 into master #2191

Merged
merged 384 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
d35caa5
Change package revision name and add step to retry artifact uri
verdx Jan 31, 2023
642237f
Remove unnecessary input:
verdx Jan 31, 2023
18b4671
Remove hyphen for revision in rpm and debug
verdx Jan 31, 2023
051171d
Change the workflow conclusion neccessary to download the artifact to…
verdx Jan 31, 2023
0a42059
Change way to retry down,load of artifact
verdx Jan 31, 2023
f70e559
Increase timeout to download artifact
verdx Jan 31, 2023
9eb370b
Search for artifact with commit sha instead of workflow name
verdx Jan 31, 2023
58f5b3f
Search for artifacts with branch instead of commit
verdx Jan 31, 2023
03c9f25
Check artifact with workflow name
verdx Jan 31, 2023
e711c1b
Remove space in Clean runs workflow
verdx Jan 31, 2023
55978fa
Call to clean workflow runs
verdx Jan 31, 2023
a59e828
Remove pull_requests call to Clean runs workflow
verdx Jan 31, 2023
5773cfb
Check if artifact is available in the building package workflow
verdx Jan 31, 2023
6deda0c
Change action to download artifact
verdx Jan 31, 2023
02ca409
Go back to previous artifact download action
verdx Jan 31, 2023
c713ab2
Test downloading artifact from the building package workflow
verdx Jan 31, 2023
be6c7e4
Debug
verdx Jan 31, 2023
c19d381
Add waiting time after uploading artifact
verdx Jan 31, 2023
f64deed
Fix error
verdx Jan 31, 2023
0cac89f
Debugging
verdx Jan 31, 2023
c30f7f8
Yaml syntax fixes
verdx Jan 31, 2023
d03c3b5
Wait for the artifact to be uploaded if download fails
verdx Jan 31, 2023
07a3aed
Add continue_on_error to the install and enable test
verdx Jan 31, 2023
4abcd8b
Add continue-on-error to download of artifact
verdx Jan 31, 2023
b9538f1
Remove unnecessary always()
verdx Jan 31, 2023
7b1c9b6
Change day cleaning of workflow runs is done
verdx Jan 31, 2023
791cd81
Syntax fixes for the ghcr pushing and pulling scripts
verdx Feb 1, 2023
dbc7197
Add 4.5 to branches for which to create docker images on push
verdx Feb 1, 2023
36ffb4d
Fix cron attribute for Cleaning worfklow runs
verdx Feb 1, 2023
5045a01
Fix schedule cron for Clean runs
verdx Feb 1, 2023
ecbe45f
Difference between master and major versions when building packages
verdx Feb 1, 2023
37d496b
Cancel runs of the workflow for previous commits
verdx Feb 1, 2023
6cd6107
Set cancel to true when checking for previous runs
verdx Feb 1, 2023
e6ca436
Cancel previous runs for Build packages workflow
verdx Feb 1, 2023
13ba7e9
Step up waiting time for artifact download retry to 90 seconds
verdx Feb 1, 2023
733537b
Add workflow name and conclusion to retry of the artifact download
verdx Feb 1, 2023
bac6a0e
Fix to cancel previous runs step
verdx Feb 1, 2023
c5266ce
Remove retry of artifact download
verdx Feb 1, 2023
32e6a60
Try again the artifact download retry with 240 seconds
verdx Feb 1, 2023
a4f477e
Debug if the workspace is the same when reusing workflows
verdx Feb 1, 2023
ac63a74
Test calling builder from another workflow
verdx Feb 1, 2023
9fec45a
Remove check
verdx Feb 1, 2023
abcee78
Test as a different workflow and wait for the package to be created
verdx Feb 1, 2023
ed43bdc
Change interval and timeout to wait for package
verdx Feb 1, 2023
625c626
Add cancel last run to the tests
verdx Feb 1, 2023
e041a02
Add job to cancel and wait for the package to be built
verdx Feb 1, 2023
01389de
Test wait for one hour of package creation
verdx Feb 2, 2023
dc13d75
Try different action to wait
verdx Feb 2, 2023
00ad440
Fix version for new waiting action
verdx Feb 2, 2023
8c9d4ef
Fix download artifact from success workflow
verdx Feb 2, 2023
2bd2bc0
Change waiting action for deb too
verdx Feb 2, 2023
08bd107
Added CentOS 9 Stream and Fedora 34 to the orifinal fix
verdx Feb 2, 2023
f52d16b
Add install and enable test for fedora 34
verdx Feb 2, 2023
9223223
Only install /etc/init.d/rc.d/* if systemd-sysv-install is not present
verdx Feb 3, 2023
24734fb
Fix typo
verdx Feb 3, 2023
ccd4486
Change condition to remove /etc/init.d/wazuh-indexer
verdx Feb 3, 2023
3e69fa3
Change debug call so it only runs if the command is not run with --help
verdx Feb 3, 2023
680e61f
Correct the condition for init.d deprecation
verdx Feb 3, 2023
066a21d
Change the condition to a macro
verdx Feb 3, 2023
c61261c
Remove trailing whitespace
verdx Feb 3, 2023
ad78e4b
Only create the correspondent docker image
verdx Feb 3, 2023
2ae6fd4
Add the changes to build_packages and fix in upload images
verdx Feb 3, 2023
5679018
Add changes to test install
verdx Feb 3, 2023
908ef35
Missing parenthesis
verdx Feb 3, 2023
39ea44e
Change how the conditionals are called in the test install files
verdx Feb 3, 2023
b51b449
Missing parenthesis
verdx Feb 3, 2023
865d0a5
Changed condition for wazuh indexer
verdx Feb 3, 2023
378f5ec
fix: Improve find command with xargs
GabrielEValenzuela Jan 11, 2023
51900f2
Merge pull request #1861 from wazuh/14175_timeout_yum_update
chemamartinez Feb 6, 2023
0a651da
Improval of the `curl` tool in the Installation Assistant (#2063)
davidcr01 Feb 6, 2023
c1fcff4
Merge remote-tracking branch 'origin/4.5' into 1626-fix-rhel9-derived…
verdx Feb 6, 2023
ccb2072
Merge pull request #2053 from wazuh/1626-fix-rhel9-derived-services
DFolchA Feb 6, 2023
25d7dd5
Merge remote-tracking branch 'origin/4.5' into 1918-avoid-initd-if-un…
verdx Feb 7, 2023
52c1055
Revert changes in build.sh
verdx Feb 7, 2023
0f7526f
Add opensuse to the testing
verdx Feb 7, 2023
9f30cfd
Remove installation of init.d service on manager and indexer and bett…
verdx Feb 7, 2023
d7dc64e
Fix new tests
verdx Feb 7, 2023
97f03e1
Remove Suse fix for the manager
verdx Feb 7, 2023
7997c6e
Correct the way to check type of init manager used
verdx Feb 7, 2023
2a36d66
Fix test, ps -p 1 gi ves bash
verdx Feb 7, 2023
cc817bd
Add centos 5 and 6 to the tests and try to pass on systemd to the tes…
verdx Feb 7, 2023
d3c4230
Change back manager to accept initd with the same solution as the agent
verdx Feb 8, 2023
74a1dc6
Remove enable test as new solution doesn't cover docker
verdx Feb 8, 2023
e6795ac
Improval of the curl tool in the Offline Installation (#2071)
davidcr01 Feb 8, 2023
41a3548
Fix zypper and wazuh-manger.spec
verdx Feb 8, 2023
6e92906
Remove zypper machines from the tests
verdx Feb 8, 2023
63babe9
Remove repositories if test run on centos 5 or 6
verdx Feb 8, 2023
f46fc48
Fix repos for centos 6 instead of removing them
verdx Feb 8, 2023
2ac19c6
Change file name to the install tests of github actions
verdx Feb 8, 2023
5ad2894
Change name of installation test github action
verdx Feb 9, 2023
39deaaf
Add the same changes to debian
verdx Feb 9, 2023
2b1523a
Change deb github actions to detect changes inside debs/SPECS
verdx Feb 9, 2023
a402a1b
Added installCommon_installCheckDependencies function
davidcr01 Feb 9, 2023
b225ede
Change Upload docker images GitHub Actions so they are called when a …
verdx Feb 9, 2023
cb59438
Force run of the GitHub Action
verdx Feb 9, 2023
2bcaf51
Only build packages for necessary architectures
verdx Feb 9, 2023
2e15287
Create and upload images when PR is merged
verdx Feb 9, 2023
ed102bf
Force a run of the Upload Images GitHub Action
verdx Feb 9, 2023
dca0596
Modify necessary files to force the run of the action
verdx Feb 9, 2023
8b94f1c
Do not remove packages_files directory (#2087)
DFolchA Feb 9, 2023
8785298
Remove changes in debs
verdx Feb 9, 2023
23f4f5a
Avoid installing dependencies in uninstallation
davidcr01 Feb 10, 2023
1349a42
Corrected names of the cert and password tools in builder.sh
davidcr01 Feb 10, 2023
526c5c3
Fixed adminkey and adminpem set
davidcr01 Feb 10, 2023
4f626c6
Merge pull request #2085 from wazuh/fix-upload-docker-images
DFolchA Feb 13, 2023
cfe6702
Remove init.d service when systemd is being used
verdx Feb 13, 2023
1fa36d4
Added commonVariables.sh file
davidcr01 Feb 13, 2023
e9553b0
Fix bash condition in postinstall
verdx Feb 13, 2023
4ea387d
Merge remote-tracking branch 'origin/4.5' into 1918-avoid-initd-if-un…
verdx Feb 13, 2023
72c57a9
Reverted some variables in commonVariables.sh
davidcr01 Feb 13, 2023
8ddb2d6
Add the fix for the Wazuh indexer
verdx Feb 13, 2023
8527968
Merge pull request #2070 from wazuh/1918-avoid-initd-if-unnecessary
DFolchA Feb 13, 2023
b6dfb53
Removed passwords_readAdmincerts function
davidcr01 Feb 13, 2023
a360457
Don't exit on error on indexer prerm
verdx Feb 13, 2023
1fb7e97
Merge remote-tracking branch 'origin/4.5' into 2088-avoid-initd-if-un…
verdx Feb 13, 2023
11da984
Redirect written output of commands in postrm for agent packages
verdx Feb 14, 2023
f60dfa0
Modularized the installation of dependencies
davidcr01 Feb 14, 2023
3b4d1af
Forgot adding dependencies array
davidcr01 Feb 14, 2023
ff75f72
Remove var/db/agents directory (#2042)
TomasTurina Feb 14, 2023
558fa0f
Merge pull request #2093 from wazuh/2088-avoid-initd-if-unnecessary-deb
DFolchA Feb 14, 2023
0b67cd0
Merge pull request #2090 from wazuh/2033-adminpemand-adminkey-set-fix…
DFolchA Feb 14, 2023
5979693
Fixed Debian expired keys in Dockerfiles
davidcr01 Feb 15, 2023
7f56e13
Merge pull request #2062 from wazuh/9103-replace-fim-db-dbsync
chemamartinez Feb 15, 2023
fcbb1a1
Fix check of dist-detect.sh curl
davidcr01 Feb 16, 2023
26dc75f
Calling function in buildInstaller
davidcr01 Feb 16, 2023
7e2e2f3
Improved the error message
davidcr01 Feb 16, 2023
5c9f33a
Updated source_branch variable
davidcr01 Feb 16, 2023
b124725
Removed retry arguments in the loop
davidcr01 Feb 16, 2023
86946a7
Fixed Debian dockerfiles
davidcr01 Feb 16, 2023
4207090
Fixed Debian i386 dockerfile
davidcr01 Feb 16, 2023
86f8603
Merge pull request #2104 from wazuh/2031-curl-dist-detect-4.5
DFolchA Feb 17, 2023
b888da9
Merge pull request #2105 from wazuh/2103-update-source-branch-install…
DFolchA Feb 17, 2023
5731127
Changed check of the installed packages
davidcr01 Feb 17, 2023
3482fff
Merge pull request #2098 from wazuh/1964-fix-dockerfiles-4.4
DFolchA Feb 17, 2023
acccbed
Merge pull request #2089 from wazuh/2047-dependencies-of-checks-4.5
DFolchA Feb 24, 2023
1991c23
Remove logs at the end of provision
DFolchA Feb 16, 2023
d4c0f00
Do not remove wazuh logs
DFolchA Feb 24, 2023
d96216b
Calls to the dashboard api now use the port defined as a variable
verdx Feb 28, 2023
8eeca7a
Added PDF reports dependencies
davidcr01 Mar 2, 2023
94afe9b
Merge remote-tracking branch 'origin/4.5' into 1840-dashboard-report-…
davidcr01 Mar 2, 2023
ef30264
Fixed fetching chrome packages
davidcr01 Mar 2, 2023
a0bed47
Do not remove packages_files directory (#2087)
DFolchA Feb 9, 2023
fedc4d2
Fixed Debian expired keys in Dockerfiles
davidcr01 Feb 15, 2023
cba9143
Fixed Debian dockerfiles
davidcr01 Feb 16, 2023
d75baa5
Added aptInstallChrome function
davidcr01 Mar 7, 2023
9a78def
Added Ubuntu 20 in installing Chrome
davidcr01 Mar 7, 2023
0bf9b04
Enabled extra repos in AmazonLinux2
davidcr01 Mar 7, 2023
bdbaadf
Fixed comment of Chrome installation
davidcr01 Mar 9, 2023
053e138
Added optional installation logic
davidcr01 Mar 9, 2023
56ca8c3
Added Ubuntu 18 in installing Chrome
davidcr01 Mar 9, 2023
d83f80f
Merge pull request #2110 from wazuh/2078-installation-assistant-uses-…
DFolchA Mar 9, 2023
53f8b6b
Updated python 3.4 to 3.7
c-bordon Mar 9, 2023
f8b5a15
Changed name of dashboard dependencies list
davidcr01 Mar 10, 2023
6019266
Fixed aws cli issue in wpk build container
c-bordon Mar 10, 2023
a477645
Removed path of Dockefile added to debug
c-bordon Mar 10, 2023
a53c1f1
Removed PYTHONPATH var
c-bordon Mar 10, 2023
c72842e
Add some retries to the API Token downloading
verdx Mar 2, 2023
65cfd5c
Add a retry for the dashboard initialization
verdx Mar 3, 2023
78d3bed
Remove debug statements and add double-quotes to the TOKEN
verdx Mar 7, 2023
c7d5830
Adequate the changes to 4.3.10
verdx Mar 7, 2023
d801627
Add logger to the getToken retrying
verdx Mar 7, 2023
96a126b
Change retry logs to INFO and remove common_curl
verdx Mar 7, 2023
a762023
Add the retries in the case of curl error for the token download
verdx Mar 7, 2023
526668d
Change the type of http request used based on the version
verdx Mar 7, 2023
5a11b34
Remove double-quotes in curls
verdx Mar 8, 2023
2864543
Add the changes of 4.4 done to the installer builder
verdx Mar 8, 2023
1a2100a
Changed double-quoting on changes in the dashboard initialization
verdx Mar 8, 2023
48e52e6
Add option to specify pre-release repository on the builder and corre…
verdx Mar 9, 2023
81675c7
Unify the use of double-quotes
verdx Mar 9, 2023
8078c00
Increased retries and times for the sleep
verdx Mar 9, 2023
4898085
Add some retries to the API Token downloading
verdx Mar 2, 2023
688dd85
Add a retry for the dashboard initialization
verdx Mar 3, 2023
08770c8
Remove debug statements and add double-quotes to the TOKEN
verdx Mar 7, 2023
daec213
Log when a retry is done
verdx Mar 7, 2023
4d81026
Change common_curl for normal curl
verdx Mar 7, 2023
ab949da
Add option to specify pre-release repository on the builder and corre…
verdx Mar 9, 2023
f68a93f
Update with the changes from the PR to 4.3.10
verdx Mar 9, 2023
c74e8b2
Increased waiting times for retries
verdx Mar 9, 2023
9e3756a
Remove debug statements
verdx Mar 9, 2023
2095105
Added Chrome to Amazon Linux 2
davidcr01 Mar 13, 2023
c5f3306
Merge pull request #2125 from wazuh/2124-error-with-aws-cli-in-wpk-li…
DFolchA Mar 14, 2023
372c835
Add removal of indexer remaining files
DFolchA Mar 2, 2023
2ea693c
Merge pull request #2112 from wazuh/2024-reinstall-after-cntrl-c
DFolchA Mar 14, 2023
2809c58
Merge branch '4.4.1' of https://github.com/wazuh/wazuh-packages into …
DFolchA Mar 14, 2023
a7f6e52
Merge pull request #2127 from wazuh/merge-4.4.1-4.5
DFolchA Mar 14, 2023
f3c83e6
Added common_curl to the Chrome package
davidcr01 Mar 15, 2023
ab70d44
Changed report generation warning
davidcr01 Mar 22, 2023
af4063e
Remove var/db/agents directory (#2042)
TomasTurina Feb 14, 2023
8d7469e
Bump 4.4.1
DFolchA Mar 29, 2023
c71bc6a
Merge pull request #2143 from wazuh/4.4.1
DFolchA Mar 29, 2023
64db014
Merge pull request #2122 from wazuh/1840-dashboard-report-dependencie…
DFolchA Mar 29, 2023
de8e257
Add darwin 22 SCA files to specs
DFolchA Mar 31, 2023
1a05c28
Add debian 11 sca templates
DFolchA Mar 31, 2023
3144338
Merge pull request #2147 from wazuh/2134-add-debian-11-sca
DFolchA Mar 31, 2023
ea87e1b
Changed to Opensearch 2.6.0
c-bordon Apr 3, 2023
8962e2f
Reordening files
c-bordon Apr 3, 2023
aea18f9
Merge pull request #2150 from wazuh/2069-compatibility-with-latest-op…
teddytpc1 Apr 4, 2023
55e5478
Update version to 4.4.2
DFolchA Apr 14, 2023
acee455
Merge pull request #2158 from wazuh/bump-4.4.2
DFolchA Apr 14, 2023
84ed1b1
Merge branch '4.4' into 1857-check-ports-change-grep-4.4
teddytpc1 Apr 14, 2023
83c09ad
Fixed conflicts - changelog
davidcr01 Apr 17, 2023
eaa53dc
Merge branch '4.4' of https://github.com/wazuh/wazuh-packages into me…
DFolchA Apr 17, 2023
d61f133
Fixed changelog separation
rauldpm Apr 17, 2023
9e40833
Add debug symbols to debug packages binary
DFolchA Sep 7, 2022
f3a1427
Add debug symbols to debug packages binary
DFolchA Sep 7, 2022
5822eff
Fix error in debian/rules
DFolchA Apr 18, 2023
3c40af7
Merge branch '4.4' of https://github.com/wazuh/wazuh-packages into 21…
DFolchA Apr 18, 2023
c741a6a
Merge pull request #2051 from wazuh/1850-indexer-preserve-config-file…
teddytpc1 Apr 18, 2023
1bd7f18
Merge branch '4.4' of https://github.com/wazuh/wazuh-packages into 18…
DFolchA Apr 19, 2023
7a4da77
Added installCommon_installCheckDependencies function
davidcr01 Feb 9, 2023
060c3dc
Avoid installing dependencies in uninstallation
davidcr01 Feb 10, 2023
fbd22a2
Modularized the installation of dependencies
davidcr01 Feb 14, 2023
6efe776
Forgot adding dependencies array
davidcr01 Feb 14, 2023
4458bcf
Changed check of the installed packages
davidcr01 Feb 17, 2023
0f9f730
Install checks prerequisites just before executing the checks
DFolchA Apr 19, 2023
7f7bc0a
Merge pull request #1956 from wazuh/user-error-solaris
alberpilot Nov 29, 2022
7feb901
Merge pull request #2162 from wazuh/2161-rpm-builtin-symbols
teddytpc1 Apr 19, 2023
31926e1
Merge pull request #2163 from wazuh/2161-rpm-builtin-symbols-to4.4
teddytpc1 Apr 19, 2023
13e404b
Merge pull request #2167 from wazuh/dev-16749-remove-dbsync-deadcode
DFolchA Apr 19, 2023
5334134
Merge pull request #2023 from wazuh/1857-check-ports-change-grep-4.4
teddytpc1 Apr 20, 2023
65fffab
Distribution version matrix update
teddytpc1 Apr 24, 2023
aa28951
Merge pull request #2172 from wazuh/2171-dist-matrix
teddytpc1 Apr 24, 2023
5137183
Add fixes of hpd-ux package generation
fcaffieri Apr 24, 2023
94e590c
Fix incorrect macOS version
DFolchA Apr 25, 2023
7a4ac23
Remove exit if build_enviroment finish successfully
fcaffieri Apr 25, 2023
4eea041
Add exit if build_enviroment finish successfully only when it is prov…
fcaffieri Apr 25, 2023
edcba68
Merge pull request #2173 from wazuh/5031-backport-hpux-package-builde…
teddytpc1 Apr 25, 2023
f79bd76
Fix generation of ARM64/ARM32/PPC64LE deb packages
jnasselle Apr 26, 2023
316cf0c
Add archives repository to Debian Stretch
DFolchA Apr 27, 2023
96c4043
Add archives repository to Debian Stretch
DFolchA Apr 27, 2023
99adcc5
Merge pull request #2148 from wazuh/2137-macos-ventura-sca
DFolchA Apr 27, 2023
8f41d4b
Merge pull request #2178 from wazuh/2177-deb-stretch-test-error
teddytpc1 Apr 27, 2023
39cb9cb
Merge pull request #2160 from wazuh/merge-4.4-4.5
teddytpc1 Apr 27, 2023
b1b4745
Merge branch '4.3' of https://github.com/wazuh/wazuh-packages into me…
DFolchA Apr 28, 2023
d83fcd4
Merge pull request #2176 from wazuh/2175-fix-debian-stretch-containers
teddytpc1 Apr 28, 2023
30de429
Merge pull request #2181 from wazuh/merge-4.3-4.4
teddytpc1 Apr 28, 2023
cee0743
Merge branch '4.4' of https://github.com/wazuh/wazuh-packages into me…
DFolchA Apr 28, 2023
bdb17c7
Fix 4.3.11 changelog date
rauldpm Apr 28, 2023
5de8c47
Merge pull request #2188 from wazuh/fix-changelog-4.3
rauldpm Apr 28, 2023
bbe0ac2
Fixed changelog dates
rauldpm Apr 28, 2023
5875671
Merge pull request #2189 from wazuh/fix-changelog-4.4
rauldpm Apr 28, 2023
a509b38
Merge remote-tracking branch 'origin/4.4' into merge-4.4-4.5
rauldpm Apr 28, 2023
ba90ffb
Removed white-space
rauldpm Apr 28, 2023
2b12001
Merge pull request #2187 from wazuh/merge-4.4-4.5
rauldpm Apr 28, 2023
caf5125
Update pkginfo to 4.5.0
rauldpm Apr 28, 2023
412295c
Merge pull request #2190 from wazuh/fix-sol10-info-4.5
rauldpm Apr 28, 2023
37a7bf5
Merge remote-tracking branch 'origin/4.5' into merge-4.5-master
rauldpm Apr 28, 2023
75df14e
Merge remote-tracking branch 'origin/4.5' into merge-4.5-master
rauldpm Apr 28, 2023
c9a3391
Removed duplicated if statement
rauldpm Apr 28, 2023
7a6564a
Remove unnecessary $ in the GitHub Actions tests
verdx May 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/test-install-components/install_component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ if [ -f /etc/os-release ]; then
find /etc/yum.repos.d/ -type f -exec sed -i 's/mirrorlist/#mirrorlist/g' {} \;
find /etc/yum.repos.d/ -type f -exec sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' {} \;
fi

if [ "$ID" = "debian" ] && [ "$VERSION_ID" = "9" ]; then
echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
fi
fi

if [ -f /etc/redhat-release ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/offline-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/checkout@v2

- name: Build wazuh-install script and use pre-release packages
- name: Build wazuh-install script and use staging packages
working-directory: ./unattended_installer
run: |
bash builder.sh -i -d staging
Expand Down
21 changes: 17 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ All notable changes to this project will be documented in this file.

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.5.0

## [v4.4.2]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.4.2

## [v4.3.11]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.11

## [v4.4.1]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.4.1

## [v4.4.0]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.4.0
Expand Down Expand Up @@ -36,6 +48,7 @@ All notable changes to this project will be documented in this file.
## [v4.3.5]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.5

## [v4.3.4]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.4
Expand All @@ -44,14 +57,14 @@ All notable changes to this project will be documented in this file.

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.3

## [v4.2.7]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.2.7

## [v4.3.2]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.2

## [v4.2.7]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.2.7

## [v4.3.1]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.3.1
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,21 @@ In this repository, you can find the necessary tools to build a Wazuh package fo

The following table shows the references for the versions of each component.

### Dashboard
### Wazuh dashboard

| Wazuh dashboard | Opensearch dashboards |
|-----------------|-----------------------|
| 4.3.x | 1.2.0 |
| 4.4.x | 2.4.1 |
| 4.4.0 | 2.4.1 |
| 4.4.1 - 4.4.2 | 2.6.0 |

### Indexer
### Wazuh indexer

| Wazuh indexer | Opensearch |
|-----------------|-----------------------|
| 4.3.x | 1.2.4 |
| 4.4.x | 2.4.1 |
| 4.4.0 | 2.4.1 |
| 4.4.1 - 4.4.2 | 2.6.0 |

## Contribute

Expand Down
8 changes: 7 additions & 1 deletion aix/SPECS/wazuh-agent-aix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,13 @@ rm -fr %{buildroot}
%changelog
* Mon Sep 04 2023 support <info@wazuh.com> - 4.6.0
- More info: https://documentation.wazuh.com/current/release-notes/
* Fri May 05 2023 support <info@wazuh.com> - 4.5.0
* Sun May 30 2023 support <info@wazuh.com> - 4.5.0
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon May 08 2023 support <info@wazuh.com> - 4.4.2
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon Apr 24 2023 support <info@wazuh.com> - 4.3.11
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon Apr 17 2023 support <info@wazuh.com> - 4.4.1
- More info: https://documentation.wazuh.com/current/release-notes/
* Wed Jan 18 2023 support <info@wazuh.com> - 4.4.0
- More info: https://documentation.wazuh.com/current/release-notes/
Expand Down
5 changes: 3 additions & 2 deletions debs/Debian/arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM arm64v8/debian:stretch
ENV DEBIAN_FRONTEND noninteractive

# Installing necessary packages
RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt apt-utils \
curl gcc g++ make sudo expect gnupg \
perl-base perl wget libc-bin libc6 libc6-dev \
Expand Down
5 changes: 3 additions & 2 deletions debs/Debian/armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM arm32v7/debian:stretch
ENV DEBIAN_FRONTEND noninteractive

# Installing necessary packages
RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt-utils \
curl gcc make wget sudo expect gnupg perl-base \
perl libc-bin libc6 libc6-dev \
Expand Down
5 changes: 3 additions & 2 deletions debs/Debian/ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -v

# Installing necessary packages
RUN echo "deb http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt-utils && \
apt-get install -y --allow-change-held-packages \
curl gcc make sudo expect gnupg perl-base perl wget \
Expand Down
20 changes: 19 additions & 1 deletion debs/SPECS/wazuh-agent/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,25 @@ wazuh-agent (4.5.0-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Fri, 05 May 2023 11:56:07 +0000
-- Wazuh, Inc <info@wazuh.com> Sun, 30 May 2023 11:56:07 +0000

wazuh-agent (4.4.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 08 May 2023 12:31:50 +0000

wazuh-agent (4.3.11-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 24 Apr 2023 15:00:00 +0000

wazuh-agent (4.4.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 17 Apr 2023 12:31:50 +0000

wazuh-agent (4.4.0-RELEASE) stable; urgency=low

Expand Down
4 changes: 4 additions & 0 deletions debs/SPECS/wazuh-agent/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ case "$1" in

OSMYSHELL="/sbin/nologin"

if [ -d /run/systemd/system ]; then
rm -f /etc/init.d/wazuh-agent
fi

if [ ! -f ${OSMYSHELL} ]; then
if [ -f "/bin/false" ]; then
OSMYSHELL="/bin/false"
Expand Down
4 changes: 4 additions & 0 deletions debs/SPECS/wazuh-agent/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ override_dh_install:
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/7
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/8
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/9
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/10
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/11
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/ubuntu/12/04
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/ubuntu/14/04
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/ubuntu/16/04
Expand All @@ -119,6 +121,8 @@ override_dh_install:
cp etc/templates/config/debian/7/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/7
cp etc/templates/config/debian/8/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/8
cp etc/templates/config/debian/9/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/9
cp etc/templates/config/debian/10/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/10
cp etc/templates/config/debian/11/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/11

cp etc/templates/config/ubuntu/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/ubuntu
cp etc/templates/config/ubuntu/12/04/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/ubuntu/12/04
Expand Down
20 changes: 19 additions & 1 deletion debs/SPECS/wazuh-manager/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,25 @@ wazuh-manager (4.5.0-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Fri, 05 May 2023 11:56:07 +0000
-- Wazuh, Inc <info@wazuh.com> Sun, 30 May 2023 11:56:07 +0000

wazuh-manager (4.4.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 08 May 2023 12:31:50 +0000

wazuh-manager (4.3.11-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 24 Apr 2023 15:00:00 +0000

wazuh-manager (4.4.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/

-- Wazuh, Inc <info@wazuh.com> Mon, 17 Apr 2023 12:31:50 +0000

wazuh-manager (4.4.0-RELEASE) stable; urgency=low

Expand Down
4 changes: 4 additions & 0 deletions debs/SPECS/wazuh-manager/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ case "$1" in
SCRIPTS_DIR="${WAZUH_GLOBAL_TMP_DIR}/manager_installation_scripts"
SCA_BASE_DIR="${SCRIPTS_DIR}/sca"

if [ -d /run/systemd/system ]; then
rm -f /etc/init.d/wazuh-manager
fi

if [ ! -f ${OSMYSHELL} ]; then
if [ -f "/bin/false" ]; then
OSMYSHELL="/bin/false"
Expand Down
6 changes: 6 additions & 0 deletions debs/SPECS/wazuh-manager/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,12 @@ override_dh_install:
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/19
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/20
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/21
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File etc/templates/config/darwin/22/sca.files does not exist in the branch master of repository wazuh/wazuh yet

mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/7
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/8
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/9
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/10
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/11
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/rhel/5
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/rhel/6
mkdir -p ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/rhel/7
Expand Down Expand Up @@ -166,11 +169,14 @@ override_dh_install:
cp etc/templates/config/darwin/18/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/19
cp etc/templates/config/darwin/20/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/20
cp etc/templates/config/darwin/21/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/21
cp etc/templates/config/darwin/22/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/darwin/22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File etc/templates/config/darwin/22/sca.files does not exist in the branch master of repository wazuh/wazuh yet

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the wazuh/wazuh pull request is blocked until this pull request is merged


cp etc/templates/config/debian/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian
cp etc/templates/config/debian/7/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/7
cp etc/templates/config/debian/8/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/8
cp etc/templates/config/debian/9/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/9
cp etc/templates/config/debian/10/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/10
cp etc/templates/config/debian/11/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/debian/11

cp etc/templates/config/centos/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/centos
cp etc/templates/config/centos/5/sca.files ${TARGET_DIR}$(INSTALLATION_SCRIPTS_DIR)/sca/centos/5
Expand Down
3 changes: 2 additions & 1 deletion macos/package_files/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function build() {
find ${SOURCES_PATH}/src/init/ -name *.sh -type f -exec install -m 0640 {} ${INSTALLATION_SCRIPTS_DIR}/src/init \;

mkdir -p ${INSTALLATION_SCRIPTS_DIR}/sca/generic
mkdir -p ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/{15,16,17,18,20,21}
mkdir -p ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/{15,16,17,18,20,21,22}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with the Darwin sca file


cp -r ${SOURCES_PATH}/ruleset/sca/darwin ${INSTALLATION_SCRIPTS_DIR}/sca
cp -r ${SOURCES_PATH}/ruleset/sca/generic ${INSTALLATION_SCRIPTS_DIR}/sca
Expand All @@ -72,6 +72,7 @@ function build() {
cp ${SOURCES_PATH}/etc/templates/config/darwin/19/sca.files ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/19/
cp ${SOURCES_PATH}/etc/templates/config/darwin/20/sca.files ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/20/
cp ${SOURCES_PATH}/etc/templates/config/darwin/21/sca.files ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/21/
cp ${SOURCES_PATH}/etc/templates/config/darwin/22/sca.files ${INSTALLATION_SCRIPTS_DIR}/sca/darwin/22/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same


cp ${SOURCES_PATH}/src/VERSION ${INSTALLATION_SCRIPTS_DIR}/src/
cp ${SOURCES_PATH}/src/REVISION ${INSTALLATION_SCRIPTS_DIR}/src/
Expand Down
2 changes: 2 additions & 0 deletions ova/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ bash ${RESOURCES_PATH}/${INSTALLER} ${INSTALL_ARGS}

systemctl stop wazuh-dashboard filebeat wazuh-indexer wazuh-manager
systemctl enable wazuh-manager
rm -f /var/log/wazuh-indexer/*
rm -f /var/log/filebeat/*

clean
24 changes: 14 additions & 10 deletions rpms/SPECS/wazuh-agent.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
%if %{_debugenabled} == yes
%global _enable_debug_package 0
%global debug_package %{nil}
%global __os_install_post %{nil}
%define __strip /bin/true
%endif

Summary: Wazuh helps you to gain security visibility into your infrastructure by monitoring hosts at an operating system and application level. It provides the following capabilities: log analysis, file integrity monitoring, intrusions detection and policy and compliance monitoring
Name: wazuh-agent
Version: 4.6.0
Expand Down Expand Up @@ -171,9 +178,6 @@ install -m 0640 src/init/*.sh ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/
cp src/VERSION ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/agent_installation_scripts/src/
cp src/REVISION ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/agent_installation_scripts/src/

if [ %{_debugenabled} = "yes" ]; then
%{_rpmconfigdir}/find-debuginfo.sh
fi
exit 0

%pre
Expand Down Expand Up @@ -595,16 +599,16 @@ rm -fr %{buildroot}
%dir %attr(750, root, wazuh) %{_localstatedir}/wodles/gcloud
%attr(750, root, wazuh) %{_localstatedir}/wodles/gcloud/*

%if %{_debugenabled} == "yes"
/usr/lib/debug/%{_localstatedir}/*
/usr/src/debug/%{name}-%{version}/*
%endif


%changelog
* Mon Sep 04 2023 support <info@wazuh.com> - 4.6.0
- More info: https://documentation.wazuh.com/current/release-notes/
* Fri May 05 2023 support <info@wazuh.com> - 4.5.0
* Sun May 30 2023 support <info@wazuh.com> - 4.5.0
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon May 08 2023 support <info@wazuh.com> - 4.4.2
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon Apr 24 2023 support <info@wazuh.com> - 4.3.11
- More info: https://documentation.wazuh.com/current/release-notes/
* Mon Apr 17 2023 support <info@wazuh.com> - 4.4.1
- More info: https://documentation.wazuh.com/current/release-notes/
* Wed Jan 18 2023 support <info@wazuh.com> - 4.4.0
- More info: https://documentation.wazuh.com/current/release-notes/
Expand Down
Loading