<#1164 Santa: bulk rule import/export with conflic...
# osctrl
g
#1164 Santa: bulk rule import/export with conflict detection Issue created by javuto Part of Santa/Workshop parity, building on the Santa sync server from #1142 (
pkg/santa
,
osctrl-tls
sync endpoint, Santa page in the UI). Problem Large rule sets (vendor allowlists, migration from Moroz/Rudolph/Zentral/Workshop) can only be entered one by one. Scope • Export an environment's rules as JSON (and CSV if cheap). • Import with a dry-run that reports new / duplicate / conflicting rules before applying; apply in one transaction. • CLI command for import/export so rule sets can live in git (GitOps-style review). • Size limit on the upload; one audit line per import with counts. Acceptance • Re-importing an export is a no-op. • A conflicting rule (same identifier and scope, different policy) is reported, not silently overwritten. jmpsec/osctrl