konstraint icon indicating copy to clipboard operation
konstraint copied to clipboard

feat: add metadata via header annotations in rego

Open Mattes83 opened this issue 1 year ago • 1 comments

Hi there,

I am trying to implement a solution for #322.

What do you think?

Best regards

Mattes83 avatar Aug 31 '22 06:08 Mattes83

This looks like a strong start to me, @Mattes83. Would you mind adding a test for the generation of annotations?

Easiest may be adding this new metadata to the test folder but you could also add it to one the examples.

Just as long as we're verifying that the comment header in the Rego produces the expected YAML.

jpreese avatar Sep 16 '22 13:09 jpreese

@Mattes83 this has been released in v0.24.0

jpreese avatar Oct 19 '22 20:10 jpreese