-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Network protocols global queries enhancement #28725
Comments
UpdateThe reflactable JSON will have the following format Where {
"id": "001_92245c06b5120c62174799e7f531d4df81619672",
"operation": "INSERTED",
"data": {
"agent": {
"ip": "any",
"id": "001",
"name": "agent-10",
"version": "5.4.0"
},
"network": {
"dhcp": true,
"gateway": "192.168.1.1",
"metric": 10,
"type": "ethernet"
},
"observer": {
"ingress": {
"interface": {
"name": "eth0"
}
}
}
}
} |
UpdateOn hold until finishing the e2e test for hotfixes. This PR still is under development, needs revision and QA tests are not yet implemented |
UpdateImplementing QA tests, for some reason the network protocol item_id is empty during the rsync deletion 18:07:58 logger-helper:systemInventoryOrchestrator.hpp:42 run : SystemInventoryOrchestrator::run for agent: '001', operation: '1', component: '3'
18:07:58 logger-helper:upsertElement.hpp:63 handleRequest : UpsertSystemElement::build: {"id":"001_35c9b5749116035dea24e0c8797c8e01358081a0","operation":"INSERTED","data":{"network":{"dhcp":"disabled","gateway":" ","metric":"101","type":"ipv4"},"observer":{"ingress":{"interface":{"name":"eth1"}}},"agent":{"id":"001","name":"centos9","ip":"any","version":"v4.10.1"}}}
18:07:58 logger-helper:systemInventoryOrchestrator.hpp:75 processEvent : SystemInventoryOrchestrator::processEvent finished
18:07:59 logger-helper:systemInventoryOrchestrator.hpp:53 processEvent : SystemInventoryOrchestrator::processEvent
18:07:59 logger-helper:systemInventoryOrchestrator.hpp:42 run : SystemInventoryOrchestrator::run for agent: '001', operation: '0', component: '3'
18:07:59 logger-helper:inventoryHarvesterFacade.cpp:203 operator() : InventoryHarvesterFacade::initSystemEventDispatcher: Network Protocol ID is empty, cannot upsert network protocol element.. |
UpdateAdded QA tests, e2e testing finished. Pending Review |
UpdateFailing test. https://github.com/wazuh/wazuh/actions/runs/14198122236/job/39778236509?pr=28854 Currently the workflows are not working. They are cancelled at the beginning |
Description
This issue aims develop the necessary steps to index the network protocols data with the suggested mapping template.
Expected changes
Expected reflectable json output.
DoD
The text was updated successfully, but these errors were encountered: