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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user