brexhq / substation

Substation is a toolkit for routing, normalizing, and enriching security event and audit logs.
https://substation.readme.io
MIT License
322 stars 16 forks source link

fix(build/config): Self-Referential Jsonnet Function #225

Closed jshlbrd closed 1 month ago

jshlbrd commented 1 month ago

Description

https://github.com/brexhq/substation/pull/215 introduced a self-referential function issue. This doesn't impact the source code, but configurations that use this transform can't be compiled and return this Jsonnet error: RUNTIME ERROR: max stack frames exceeded..

Motivation and Context

It's a bug fix.

How Has This Been Tested?

Re-tested the existing example and tested the new examples.

Types of changes

Checklist: