-
Notifications
You must be signed in to change notification settings - Fork 25
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
MVP Data Persistence checkpoint #588
Comments
InstallationThe following vagrant environment was used: DashboardIndexerServerConfiguration:
AgentsAgent registration
curl -X GET "https://192.168.121.88:55000/agents" -k -H "Authorization: Bearer $TOKEN"
Agent "rhel-agent"Configuration
Agent "alma-agent"Configuration
|
Set-upsServerSet engine rules
minimal_ruleset.tar.gz Disable strict mode
IndexerAdd the Management API credentials and IP address to the keystore
Add the Management API credentials and IP address to the keystoreOn the UI Dev Tools, run:
Enable debug logs for the Wazuh Indexer Command Manager pluginOn the UI Dev Tools, run:
On the terminal:
|
Ingestion of stateless eventsAlerts
Commands
|
Ingestion of stateful eventsInventory-hardware
Inventory-hotfixesTo generate such alerts, an agent is required on a Windows system, and 5.0.0.0 packages for Windows are not being generated at this time. Inventory-networks
Inventory-packages
Inventory-ports
Inventory-processes
Inventory-system
States-vulnerabilities |
Test Commands are executed on the agent and its status updated in the index.Restart and stopcurl -u admin:admin -X POST "https://localhost:9200/_plugins/_command_manager/commands" -k -H "Content-Type: application/json" -d '{"commands": [
{
"source": "Engine",
"user": "admin",
"target": {
"type": "agent",
"id": "8812baa1-3b66-436f-a1b3-9abcb08027bc"
},
"action": {
"name": "restart",
"args": [
"/path/to/executable/arg6",
"/path/to/executable/arg6"
],
"version": "v4"
},
"timeout": 30
},
{
"source": "Engine",
"user": "admin",
"target": {
"type": "agent",
"id": "a975c387-05cd-4320-b80d-c288f0cfdac8"
},
"action": {
"name": "stop",
"args": [
"/path/to/executable/arg7"
],
"version": "v4"
},
"timeout": 20
}
]}' The commands are executed but they not work: Get groupsGET /groups
Set groupcurl -u admin:admin -X POST "https://localhost:9200/_plugins/_command_manager/commands" -k -H "Content-Type: application/json" -d '{"commands": [
{
"source": "Engine",
"user": "admin",
"target": {
"type": "agent",
"id": "8812baa1-3b66-436f-a1b3-9abcb08027bc"
},
"action": {
"name": "set-group",
"args": ["test-group"],
"version": "v4"
},
"timeout": 30
}
]}' The agent did not change to the group that was attempted to be set up. Update-groupcurl -u admin:admin -X POST "https://localhost:9200/_plugins/_command_manager/commands" -k -H "Content-Type: application/json" -d '{"commands": [
{
"source": "Engine",
"user": "admin",
"target": {
"type": "agent",
"id": "8812baa1-3b66-436f-a1b3-9abcb08027bc"
},
"action": {
"name": "update-group",
"args": ["test-group"],
"version": "v4"
},
"timeout": 30
}
]}' The agent did not change to the group that was attempted to be set up. |
The Vulnerability Detector engine is still in development for |
Checklist
restart
set-group
update-group
Related issues
The text was updated successfully, but these errors were encountered: