Sync Job connector snapshot JSON incorrect
- Dominant language
- Python
- Stars
- 133
- Forks
- 205
- Avg merge
- 16h 3m
- Merged PRs (30d)
- 102
Description
## Bug Description
The "filtering" field of the "connector" snapshot object should be an array, but when creating a new sync job from Kibana, the field is created as an object.
### To Reproduce
Steps to reproduce the behavior:
1. Create index for any connector
2. Click on 'Sync'
3. Select 'Full' or 'Incremental'
4. Check the new document created in the '.elastic-connectors-sync-jobs' index
## Expected behavior
The connector snapshot object should have a property "filtering" of type array, but it is an object.
## Environment
8.11
Contributor guide
Research direction
Reproduce the issue through Kibana by creating a connector index, starting a Full or Incremental sync, and inspecting the new document in the .elastic-connectors-sync-jobs index. Trace the sync-job connector snapshot serialization and verify that the filtering property is stored as an array rather than an object.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, python
- Domain
- backend, databases, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100