[checkpoint_email] Initial release of the Check Point Harmony Email & Collaboration - #11472
Conversation
🚀 Benchmarks reportTo see the full report comment with |
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
|
@brijesh-elastic minor nit, but |
| "end_date": now.format(time_layout.RFC3339), | ||
| }) | ||
| ).as(state, | ||
| has(state.events) && type(state.events) == type({}) && has(state.events.error) ? state : // Exit early due to POST failure. |
There was a problem hiding this comment.
ISTM that we don't need to check for the existence of the error field; the only time that we will have a state.event that is an object is when there was an error. But we can simplify further…
| has(state.events) && type(state.events) == type({}) && has(state.events.error) ? state : // Exit early due to POST failure. | |
| type(state.?events.orValue(null)) == type({}) ? state : // Exit early due to POST failure. |
I'm not a big fan of putting everything in state here. I think the preamble should be into different label so that there is some demarcation about what expected scopes are.
There was a problem hiding this comment.
Still not wildly happy with having everything in state.
| field: event.category | ||
| tag: append_malware_into_event_category | ||
| value: malware | ||
| if: ctx.json?.type != null && ['malware', 'suspicious malware'].contains(ctx.json.type.toLowerCase()) |
There was a problem hiding this comment.
| if: ctx.json?.type != null && ['malware', 'suspicious malware'].contains(ctx.json.type.toLowerCase()) | |
| if: >- | |
| ctx.json?.type != null && ( | |
| ctx.json.type.equalsIgnoreCase('malware') || | |
| ctx.json.type.equalsIgnoreCase('suspicious malware') | |
| ) |
(similar below)
| on_failure: | ||
| - append: | ||
| field: error.message | ||
| value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.on_failure_pipeline}}} failed with message: {{{_ingest.on_failure_message}}}' |
There was a problem hiding this comment.
| value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.on_failure_pipeline}}} failed with message: {{{_ingest.on_failure_message}}}' | |
| value: >- | |
| Processor '{{{ _ingest.on_failure_processor_type }}}' | |
| {{{#_ingest.on_failure_processor_tag}}}with tag '{{{ _ingest.on_failure_processor_tag }}}' | |
| {{{/_ingest.on_failure_processor_tag}}}failed with message '{{{ _ingest.on_failure_message }}}' |
| field: event.type | ||
| tag: append_indicator_into_event_type | ||
| value: indicator | ||
| if: ctx.json?.type != null && ['anomaly', 'shadow_it'].contains(ctx.json.type.toLowerCase()) |
|
💚 Build Succeeded
History
|
|
Is this based on parsing the json from the Harmony Email and Collaboration SIEM integration or for the Check Point portal logs? |
|
@jamiehynds Are you good with this now? |
It is collecting security events data from Harmony Email & Collaboration Smart API. |
|
LGTM |
|
Package checkpoint_email - 0.1.0 containing this change is available at https://epr.elastic.co/search?package=checkpoint_email |
… Collaboration (elastic#11472) Create New integration package checkpoint_email. Added event data stream. Added data collection logic for the data stream. Added the ingest pipeline for the data stream. Mapped fields according to the ECS schema and added Fields metadata in the appropriate yml files. Added dashboard and visualizations. Added pipeline test for the data stream. Added system test cases for the data stream.
… Collaboration (elastic#11472) Create New integration package checkpoint_email. Added event data stream. Added data collection logic for the data stream. Added the ingest pipeline for the data stream. Mapped fields according to the ECS schema and added Fields metadata in the appropriate yml files. Added dashboard and visualizations. Added pipeline test for the data stream. Added system test cases for the data stream.




Proposed commit message
Create New integration package checkpoint_email.
Checklist
changelog.ymlfile.How to test this PR locally
Related issues
Screenshots