Open rsavjani opened 4 years ago
This issue is legit. The quick fix is remove source
from sourceAddress
in normalized_types.json file.
Hi @rsavjani, if you would like to contribute, feel free to submit a PR based on release-4-0-0
, but totally optional. I can do the PR when I get a chance.
The issue is normalization doesn't handle well when the source
field is a list of dictionary. Or maybe we can have better handling in the code. Open to suggestions.
"source": [{
"type": "CODEPIPELINE",
"buildSpec": "{\n "version": "0.2",\n "env": {\n "variables": {\n "SKIP_TESTS": "xxxxUE",\n \n ]\n }\n}"
}]
Hi all I seen a previous fixed bug of Classifier throwing a "TypeError: unhashable type: 'dict'" for AWS Security Hub events. However this fix does not seem to have fixed my issue. I am getting same error but for AWS Config event. Its throwing error on the source field also. Below is what the event looks like:
Not tried the work around of removing Source from SourceAddress in the normalizer types file but raising a bug here so we can get this fixed. This is coming from a Kineses Data Stream if that makes any difference.
Thanks