Skip to content

Commit

Permalink
Merge branch 'fix-roles-error' of 'https://github.com/sduenas/grimoir…
Browse files Browse the repository at this point in the history
…elab-elk/'

Merges #1164
Closes #1164
  • Loading branch information
sduenas authored Aug 13, 2024
2 parents 31f95f9 + 29a78c0 commit f159c66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions grimoire_elk/enriched/enrich.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class Enrich(ElasticItems):
analyzer = Analyzer
sh_db = None
kibiter_version = None
roles = []
RAW_FIELDS_COPY = ["metadata__updated_on", "metadata__timestamp",
"offset", "origin", "tag", "uuid"]
KEYWORD_MAX_LENGTH = 1000 # this control allows to avoid max_bytes_length_exceeded_exception
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Roles attribute not available on some enrichers
category: fixed
author: Santiago Dueñas <[email protected]>
issue: null
notes: >
The 'roles' attribute wasn't available for all the
enrichers. The attribute has been added to the
main class 'Enrich' so subclasses will have it
available even when they don't use it.

0 comments on commit f159c66

Please sign in to comment.