Add the Approvisionnement consumer account

Read on one topic and one consumer-group prefix. It cannot see sales or
payments, and it cannot write, so a compromised workflow can raise no event
another agent would act on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Stéphane Tailland
2026-08-31 07:46:24 +02:00
parent 5770f78c99
commit 9e0f908f19
+34
View File
@@ -79,3 +79,37 @@ spec:
- Write - Write
- Describe - Describe
---
# The Approvisionnement agent, which is woken by catalog events.
#
# Read on one topic and one consumer-group prefix, nothing else. It cannot see
# sales or payments — an agent whose job is stock has no business reading who
# paid what — and it cannot write, so a compromised workflow can raise no event
# that another agent would then act on.
apiVersion: kafka.strimzi.io/v1
kind: KafkaUser
metadata:
name: classic-models-agent-approvisionnement
namespace: kafka
labels:
strimzi.io/cluster: kafka
spec:
authentication:
type: scram-sha-512
authorization:
type: simple
acls:
- resource:
type: topic
name: classic-models.catalog
patternType: literal
operations:
- Read
- Describe
- resource:
type: group
name: approvisionnement-
patternType: prefix
operations:
- Read
- Describe