Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/ti_opencti/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.10.1"
changes:
- description: Fix null reference errors in ingest pipelines.
type: bugfix
link: https://github.com/elastic/integrations/pull/16129
- version: "2.10.0"
changes:
- description: Add comprehensive filtering support for indicators including pattern types, confidence levels, labels, dates, authors, creators, and marking definitions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ processors:
ignore_empty_value: true

# append object
- append:
field: threat.indicator.file
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.file = ctx.threat.indicator.file ?: [];
ctx.threat.indicator.file.add(ctx._tmp_file);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ processors:
value: "{{{_ingest._value.name}}}"

# append object
- append:
field: threat.indicator.as
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.as = ctx.threat.indicator.as ?: [];
ctx.threat.indicator.as.add(ctx._tmp_as);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ processors:
ignore_empty_value: true

# append object
- append:
field: threat.indicator.file
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.file = ctx.threat.indicator.file ?: [];
ctx.threat.indicator.file.add(ctx._tmp_file);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ processors:
ignore_missing: true

# append object
- append:
field: threat.indicator.url
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.url = ctx.threat.indicator.url ?: [];
ctx.threat.indicator.url.add(ctx._tmp_url);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ processors:
ignore_empty_value: true

# append object
- append:
field: threat.indicator.file
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.file = ctx.threat.indicator.file ?: [];
ctx.threat.indicator.file.add(ctx._tmp_file);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ processors:
copy_from: _tmp_url.original

# append object
- append:
field: threat.indicator.url
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.url = ctx.threat.indicator.url ?: [];
ctx.threat.indicator.url.add(ctx._tmp_url);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ processors:
if: ctx._tmp_registry?.hive != null

# append object
- append:
field: threat.indicator.registry
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.registry = ctx.threat.indicator.registry ?: [];
ctx.threat.indicator.registry.add(ctx._tmp_registry);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ processors:
value: "{{{_ingest._value.data}}}"

# append object
- append:
field: threat.indicator.registry
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.registry = ctx.threat.indicator.registry ?: [];
ctx.threat.indicator.registry.add(ctx._tmp_registry);

- remove:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ processors:
value: "{{{_ingest._value.version}}}"

# append object
- append:
field: threat.indicator.x509
value: []
- script:
description: Append to the destination
lang: painless
source: |
ctx.threat = ctx.threat ?: [:];
ctx.threat.indicator = ctx.threat.indicator ?: [:];
ctx.threat.indicator.x509 = ctx.threat.indicator.x509 ?: [];
ctx.threat.indicator.x509.add(ctx._tmp_x509);

- remove:
Expand Down
2 changes: 1 addition & 1 deletion packages/ti_opencti/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.4.0"
name: ti_opencti
title: OpenCTI
version: "2.10.0"
version: "2.10.1"
description: "Ingest threat intelligence indicators from OpenCTI with Elastic Agent."
type: integration
source:
Expand Down