-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Migrate keystore to master #27066
base: master
Are you sure you want to change the base?
Migrate keystore to master #27066
Conversation
965bb18
to
19679b8
Compare
bfc7565
to
e44a47e
Compare
…d to upgrade feature
4b0b74d
to
6a755db
Compare
Coverage reportsThe coverage report can be downloaded from here
🟢 All modules have passed the coverage check |
@@ -189,11 +189,11 @@ jobs: | |||
local coverage_filtered_file="${{github.workspace}}/${{env.BUILD_PATH}}/coverage_${module}_filtered.info" | |||
|
|||
# Generate the coverage report | |||
lcov --no-external --capture --initial --directory ${module_build_path} --base-directory ${module_path} --exclude "${module_path}/test/*" --output-file ${coverage_base_file} | |||
lcov --no-external --capture --initial --directory ${module_build_path} --base-directory ${module_path} --exclude "${module_path}/test/*" --output-file ${coverage_base_file} --ignore-errors unused,mismatch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added this flags to ignore some errors:
- unused: the coverage reports that the keystore test folder exclusion is unused
- mismatch: the GTest macros create a number line difference that causes confusion to
lcov
6a755db
to
2157bda
Compare
Coverage reportsThe coverage report can be downloaded from here
🟢 All modules have passed the coverage check |
96c2c86
to
f6e3f90
Compare
f6e3f90
to
7a70871
Compare
Coverage reportsThe coverage report can be downloaded from here
🟢 All modules have passed the coverage check |
Coverage reportsThe coverage report can be downloaded from here
🟢 All modules have passed the coverage check |
Description
This PR migrates the
wazuh-keystore
to themaster
branch and adapts it to the project structure. The QA/UT tests and required utils were also migrated.The OpenSSL v3.1.0 was added to vcpkg because it was missing and it was the closest version to the one used at branch v4.10.0.
The
IndexerConnector
class was updated to read the keystore and the plain text credentials were removed.The SPECS and installer scripts were modified to include the new binary, but the RPM package can't be built due to previous errors.
The folders and binaries permissions were preserved but due to facebook/rocksdb#11503 the internal RocksDB files will have 644 instead of 640.
Until this PR is merged #26908, the
root:wazuh
permissions will be used instead ofwazuh:wazuh
.Tests
I've installed a package built from this branch and configured the keystore credentials.
A test event is properly indexed