-
Notifications
You must be signed in to change notification settings - Fork 522
[akamai.siem] handle empty userRiskData strings #9483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[akamai.siem] handle empty userRiskData strings #9483
Conversation
Prevent the kv processor from executing on empty userRiskData.{risk,trust,general} values.
This aims to address these observed errors:
field [json.userRiskData.trust] does not contain value_split[:]
field [json.userRiskData.risk] does not contain value_split[:]
🚀 Benchmarks reportTo see the full report comment with |
[git-generate] cd packages/akamai elastic-package changelog add --link #9483 --next patch --type bugfix --description 'Fix errors processing empty userRiskData.{risk,trust,general} values.'
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
💚 Build Succeeded
History
|
|
efd6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a surprising behaviour.
This is even more surprising.
POST /_ingest/pipeline/_simulate
{
"pipeline": {
"description": "_description",
"processors": [
{
"kv": {
"field": "foo",
"field_split": " ",
"value_split": "(=|$)"
}
}
]
},
"docs": [
{
"_index": "index",
"_id": "id",
"_source": {
"foo": "bar=one"
}
},
{
"_index": "index",
"_id": "id",
"_source": {
"foo": "rab"
}
},
{
"_index": "index",
"_id": "id",
"_source": {
"foo": ""
}
}
]
}
Agree. The behavior does not seem consistent. |
|
Package akamai - 2.23.1 containing this change is available at https://epr.elastic.co/search?package=akamai |

100.0% Coverage on New Code
0.0% Duplication on New Code
Proposed commit message
Prevent the kv processor from executing on empty
userRiskData.{risk,trust,general}values. This aims to address these observed errors:This is also improving on the
error.messageto help track down additional bugs.Checklist
changelog.ymlfile.