elastic / elastic/connectors

Sync Job connector snapshot JSON incorrect

Open
#2,133 4 comments 0 reactions 0 assignees View on GitHub
bug community-driven general
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.