fix: skip existing hosts and credentials on JSON import #485

Merged
ZacharyZcR merged 1 commits from fix/json-import-duplicates into dev-1.10.1 2026-01-12 07:31:04 +00:00

1 Commits

Author SHA1 Message Date
ZacharyZcR
4dad83b50b fix: skip existing hosts and credentials during JSON import
Added duplicate detection for SSH hosts (by ip+port+username) and
credentials (by name) during import. Existing items are now skipped
by default, or updated if replaceExisting option is enabled.

This matches the existing behavior of importDismissedAlerts.

Fixes #389
2026-01-12 14:59:53 +08:00