Kong / Kong/deck

deck dump --sanitise not treating ca_certificate id embedded in other entities (like service) properly

Open
#1,830 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
503
Forks
137
Avg merge
3d 5h
Merged PRs (30d)
20

Description

Instead of the id, a random string is added, causing failures in sync.
`HTTP status 400 (message: "schema violation (config.ca_certificates: {\n \"expected a valid UUID\"\n})")`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with `deck dump --sanitise` on a configuration where a `ca_certificate` ID is embedded in a service or another entity. Trace the sanitisation path and verify that the embedded ID remains a valid UUID, then confirm the resulting configuration can be synced without the schema violation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.