wazuh_query_fim
Query File Integrity Monitoring records to detect file additions, modifications, or deletions on a specified agent for breach impact analysis and configuration drift detection.
Instructions
Query File Integrity Monitoring (FIM) records. See what files were added, modified, or deleted on an agent. Essential for breach impact analysis and configuration drift detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID to query FIM records for (e.g., '001') | |
| file_path | No | Filter by file path (e.g., '/etc/passwd' or '/var/www/*') | |
| event_type | No | Event type filter: 'added', 'modified', or 'deleted' | |
| search | No | Free-text search across FIM fields | |
| limit | No | Maximum records to return (1-500) | |
| offset | No | Pagination offset |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |