Sync staging - #512
Draft
gmatthews20 wants to merge 13 commits into
Draft
Conversation
sensors are breaking due to: ```TypeError: 'type' object is not subscriptable``` I suspect some issue with dependencies. After some trial and error - downgrading the keystoneauth1 package to previous version seemed to work
pin keystoneauth version
Write the minimal code to be able to create an API for Wazuh: * dataclass to handle credentials * logger setup
Write the first functionality for the API: query Wazuh for the list of OpenStack Servers running a given version of the Operating System.
we maintain this template in our config management tool - aquilon - so we don't want to have config drift here
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## staging #512 +/- ##
==========================================
Coverage ? 98.43%
==========================================
Files ? 118
Lines ? 2944
Branches ? 346
==========================================
Hits ? 2898
Misses ? 43
Partials ? 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Add wazuh api
Add a section for ELOG to the schema config file, so the credentials can be read once their set.
Write the the API directory, including:
* logging setup in the init file
* dataclass in the structs directory
* dataclass also contains a method to authenticate against the ELOG
server
Write the basic functionalily to create new records in ELOG
Add elog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Merge in the changes merged while setting up staging was WIP
Special Notes:
Submitter:
Have you (where applicable):
Reviewer
Does this PR:
libdirectory?liblayers?