[fortinet] Make event.original optional in fortinet#1075
[fortinet] Make event.original optional in fortinet#1075marc-gr merged 1 commit intoelastic:masterfrom
Conversation
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
5dd8a19 to
707d74d
Compare
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
707d74d to
4ca5622
Compare
P1llus
left a comment
There was a problem hiding this comment.
LGTM, just a quick comment you should check first.
| {{#if internal_interfaces.length}} | ||
| {{else}} | ||
| {{#if external_interfaces.length}} | ||
| processors: |
There was a problem hiding this comment.
Is processors meant to be twice here?
| {{#if internal_interfaces.length}} | ||
| {{else}} | ||
| {{#if external_interfaces.length}} | ||
| processors: |
There was a problem hiding this comment.
Is processors meant to be twice here?
There was a problem hiding this comment.
It is added only once, in case any of internal_interfaces and external_interfaces are set, otherwise processors can be empty and it was breaking the system tests. This if else if is needed since handlebars lacks an || operator.
What does this PR do?
Makes event.original optional
Checklist
changelog.ymlfile.- [] If I'm introducing a new feature, I have modified the Kibana version constraint in my package'smanifest.ymlfile to point to the latest Elastic stack release (e.g.^7.13.0).Related issues
Screenshots