stackabletech / stackabletech/opa-operator
Better handling for decision logs with vector
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 21
- Forks
- 5
- Avg merge
- 12h 44m
- Merged PRs (30d)
- 11
Description
Currently OPA decision logs are treated in the same way as all other logs, by taking the values returned by OPA and adding it to the message field. The decision log is already a JSON document and flattening it into a string makes it harder to use. We should provide a way to log the decision logs as JSON so that it can be indexed better by OpenSearch. This would make building dashboards based of the authorisation events easier to build and more performant.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the OPA decision-log handling and tracing where returned decision-log values are added to the message field. Determine how to expose the logs as structured JSON while preserving their contents, then verify that the resulting records can be indexed and used for authorization-event dashboards in OpenSearch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, rust
- Domain
- authorization, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100