Skip to content

Kafka with OPA #351

Answered by mint-lmc
mint-lmc asked this question in OPA and Rego
Feb 26, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @anderseknert ,

The input was stored in configmap with the policies :

{
  "action": {
    "logIfAllowed": true,
    "logIfDenied": true,
    "operation": "WRITE",
    "resourcePattern": {
      "name": "mytopic",
      "patternType": "LITERAL",
      "resourceType": "TOPIC",
      "unknown": false
    },
    "resourceReferenceCount": 1
  },
  "requestContext": {
    "clientAddress": "/10.42.0.1",
    "clientInformation": {
      "softwareName": "unknown",
      "softwareVersion": "unknown"
    },
    "connectionId": "10.42.0.66:9095-10.42.0.1:35192-18",
    "header": {
      "headerVersion": 1,
      "name": {
        "clientId": "user1",
        "correlationId": 9,
        "requestApi…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@anderseknert
Comment options

@mint-lmc
Comment options

Answer selected by anderseknert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants