fix(addons): netprobe config schema to JSON Schema draft-07 (#3425) #3513
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!3513
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/netprobe-config-schema-draft07"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
During the netprobe native-add-on e2e, creating an
AddonAssignmentcrashed:The control-plane add-on params validator (
ex_json_schema 0.11.2) supports onlyJSON Schema draft 4/6/7, but
addons/netprobe/config.schema.jsondeclareddraft 2020-12 (with
$defs). The schema fails to resolve, so any netprobeassignment is blocked. The working add-ons (
bumblebee-scan,endpoint-inventory)already use draft-07 — netprobe was the outlier.
What
Convert netprobe's schema to draft-07 (content otherwise unchanged):
$schema→http://json-schema.org/draft-07/schema#$defs→definitions$ref: #/$defs/dpi→#/definitions/dpiUnblocks the netprobe
AddonAssignmentvalidation. (The already-imported demopackage's
config_schemawas hot-patched to the same draft-07 to proceed with therunning e2e; future imports pick this up from the bundle.)
🤖 Generated with Claude Code
lgtm