wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
60 stars 30 forks source link

Fix change greater than timestamp by detected_at in vulnerability index #5266

Closed Rebits closed 1 week ago

Rebits commented 2 weeks ago

Description

This PR updates the index API functions in order to use the detected_by field instead of the timestamp field. For alerts, it continues to utilize the same field for filtering by timestamp.


Testing performed

Environment

manager1:
    roles: [manager, filebeat, indexer]
    os: ubuntu_22
    type: master

agent3:
    roles: [agent]
    os: ubuntu_22
    manager: manager1

Testing

Validation Jenkins Local OS Commit Notes
:black_circle: :green_circle: Nothing to highlight