nats: tools that remove one consumer and one node's keys from a bucket, with why and an audit event (issue 1952 N1-N3)

This commit is contained in:
2026-10-29 21:26:49 +01:00
parent 16378e0850
commit aee377765e
9 changed files with 656 additions and 101 deletions
+9 -3
View File
@@ -24,7 +24,10 @@
"capabilities": [
"container-runtime"
],
"emits": [],
"emits": [
"consumer-removed",
"bucket-keys-removed"
],
"consumes": [],
"listens": [
{
@@ -45,7 +48,9 @@
"nats_buckets",
"nats_users",
"nats_user_can",
"nats_snapshot_verify"
"nats_snapshot_verify",
"nats_consumer_remove",
"nats_bucket_remove"
],
"guards": [
8222
@@ -194,7 +199,8 @@
"MESH_NATS_MONITOR": "http://127.0.0.1:8222",
"MESH_NATS_CONTAINER": "mesh-broker-nats",
"MESH_NATS_USERS_FILE": "/etc/nats/accounts.conf",
"MESH_NATS_SNAPSHOTS_DIR": "${dir:snapshots}"
"MESH_NATS_SNAPSHOTS_DIR": "${dir:snapshots}",
"MESH_BROKER_FILE": "${dir:mesh-state}/broker"
}
},
{