<#1163 Santa: edit rules in place> Issue created b...
# osctrl
g
#1163 Santa: edit rules in place 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 Rules can only be created and deleted; changing a policy or message means delete + recreate and loses
created_by
history. Scope •
PUT /api/v1/santa/{env}/rules/{id}
with the same validation and normalization as create; uniqueness conflicts return 409. • Edit action in the Rules tab reusing the add-rule form. • Confirmation before delete (currently immediate). • Audit line records before and after. Acceptance • Editing changes the effective rule digest, so clients get the change on next sync. • Cross-environment edit returns 404/403 like delete. jmpsec/osctrl