-
Notifications
You must be signed in to change notification settings - Fork 474
[fortinet_fortimanager] Add more ECS fields mappings #11237
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
[fortinet_fortimanager] Add more ECS fields mappings #11237
Conversation
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
Even if you normalized those values into an array, the bigger issue is that |
we could do the same for this integration |
or leave as is. please cast your ballots |
I would say align with fortigate (as seen here). |
|
🚀 Benchmarks reportTo see the full report comment with |
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.
I think srcname
and dstname
should move to source.address
/destination.address
, since looking at the example logs, we see instances of both an IP address and a hostname in there.
The *.address fields say this in ECS:
Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the .address field.
Then it should be duplicated to .ip or .domain, depending on which one it is.
I've used the convert processor (with type ip
) to figure out if the value should end up in .ip
or .domain
.
I really wish a processor could this automatically for us...
Other changes LGTM.
on_failure: | ||
- append: | ||
field: error.message | ||
value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.pipeline}}} failed with message: {{{_ingest.on_failure_message}}}' |
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.
I was about to say you can just add this handler down at the bottom of the pipeline and not have to add it to every processor that is expected to fail, but I see you are just following the style used in the rest pipeline (one that I don't agree with, but that's a separate issue).
No changes need to be made here.
Updated |
💚 Build Succeeded
History
|
|
Package fortinet_fortimanager - 2.13.0 containing this change is available at https://epr.elastic.co/search?package=fortinet_fortimanager |
* [fortinet_fortimanager] Add more ECS fields mappings * Update changelog with PR number * Map appcat to rule.category * Map srcname/dstname to source.address/destination.address instead
* [fortinet_fortimanager] Add more ECS fields mappings * Update changelog with PR number * Map appcat to rule.category * Map srcname/dstname to source.address/destination.address instead
Proposed commit message
Add more ECS fields mappings.
The following mappings were requested to be added in the original issue
The following fields mapping changed during this PR review:
The following fields are not mapped with this PR still, because it is unclear how to map them yet, based on the examples of logs that we received. For example:
It's not clear at the moment how to map
apprisk
toevent.risk_score
values.[3] parsing field value failed: field "event.risk_score"'s Go type, string, does not match the expected field type: float (field value: elevated)
Checklist
changelog.yml
file.