Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

elastic/celfmt

Open more actions menu

Repository files navigation

celfmt

This contains a library function, celfmt.Format that can be used to canonically format CEL programs in a non-minified way and a zero-configuration command that uses that function to format CEL programs.

The command can be installed with go install github.com/elastic/celfmt/cmd/celfmt@latest.

celfmt.Format is forked from the original minifying formatter here.

The command may be used to format CEL programs in elastic agent integration configurations with some limitations. In particular, CEL programs MUST be included in YAML pipe string literals with the field name program starting from the first column of the line.

License

This software is licensed under the Apache License, version 2 ("Apache-2.0").

Releases

No releases published

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.