-
Notifications
You must be signed in to change notification settings - Fork 19
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
Data Persistence Model Redesign MVP validation test - I #478
Comments
Validation process
Caution
|
Created issue to track the detected bug: |
Added a couple of tests more. |
Added new validations to |
The scripts were executed on the package generated with the fix checking the index-pattern is fixed and working, but the bash ./06_check_setup_plugin.sh 192.168.56.10
Fetching templates from Wazuh indexer cluster...
Validating templates...
Template index-template-agent is created correctly.
Error: Template index-template-alerts is missing required field 'agent.groups'.
Template index-template-fim is created correctly.
Template index-template-packages is created correctly.
Template index-template-processes is created correctly.
Template index-template-system is created correctly.
Error: Template index-template-vulnerabilities is missing required field 'agent.groups'.
Some templates were not created correctly:
index-template-alerts
index-template-vulnerabilities
Fetching indices from Wazuh indexer cluster...
Fetching protected indices from Wazuh indexer cluster...
Validating index patterns...
Index pattern wazuh-alerts-5.x-* is valid.
Index pattern wazuh-states-vulnerabilities* is valid.
Index pattern wazuh-states-inventory-system* is valid.
Index pattern wazuh-states-inventory-packages* is valid.
Index pattern .agents* is valid.
Index pattern wazuh-states-fim* is valid.
Index pattern wazuh-states-inventory-processes* is valid.
Index-patterns validated successfully. We can see the field on the vulnerabilities template the field is not present in the mappings "mappings": {
"dynamic": "strict",
"date_detection": false,
"properties": {
"agent": {
"properties": {
"build": {
"properties": {
"original": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ephemeral_id": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
}, In the case of the |
The Setup plugin validations executed on the package with the fix passed successfully bash ./06_check_setup_plugin.sh 192.168.68.5
Fetching templates from Wazuh indexer cluster...
Validating templates...
Template index-template-agent is created correctly.
Template index-template-alerts is created correctly.
Template index-template-fim is created correctly.
Template index-template-packages is created correctly.
Template index-template-processes is created correctly.
Template index-template-system is created correctly.
Template index-template-vulnerabilities is created correctly.
All templates are correctly created.
Fetching indices from Wazuh indexer cluster...
Fetching protected indices from Wazuh indexer cluster...
Validating index patterns...
Index pattern wazuh-alerts-5.x-* is valid.
Index pattern wazuh-states-vulnerabilities* is valid.
Index pattern wazuh-states-inventory-system* is valid.
Index pattern wazuh-states-inventory-packages* is valid.
Index pattern .agents* is valid.
Index pattern wazuh-states-fim* is valid.
Index pattern wazuh-states-inventory-processes* is valid.
Index-patterns validated successfully. |
Description
For the delivery of the MVP phase of wazuh/wazuh#22887, we need to check that:
agent.id
andagent.groups
).*
)..commands
index on a successful HTTP POST requestTasks
For each of the sections, provide instructions and evidences of their testing.
The text was updated successfully, but these errors were encountered: