elastic / elastic/integrations

`regular expression has ']' without escape` warning in nginx_ingress_controller error pipeline

Open
#3,673 6 comments 0 reactions 0 assignees View on GitHub
bug integration Integration:nginx_ingress_controller Stalled Team:obs-ds-hosted-services
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
2d 18h
Merged PRs (30d)
182

Description

https://github.com/elastic/integrations/blob/ce91bf3b69b7e2060bd1da25b5bc609b3c57ba01/packages/nginx_ingress_controller/data_stream/error/elasticsearch/ingest_pipeline/default.yml#L17 contains an unescaped `]`

I'm not familiar with the integration or what's expected, but regular expressions would need `]` to come after a `[` or be escaped if the intention is to match a literal square bracket.

I think in this case the literal square bracket may be intended.

Rel: https://github.com/elastic/integrations/pull/472
Rel: https://github.com/elastic/integrations/issues/467

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.