Skip to content
Open
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
6 changes: 6 additions & 0 deletions Sekoia.io/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 2026-02-27 - 2.69.1

### Fixed

- Add check for `indicators` field before main logic

## 2026-02-10 - 2.69.0

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Sekoia.io/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "Sekoia.io",
"uuid": "92d8bb47-7c51-445d-81de-ae04edbb6f0a",
"slug": "sekoia.io",
"version": "2.69.0",
"version": "2.69.1",
"categories": [
"Generic"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def run(self, arguments: dict):
indicator_type = arguments.get("indicator_type")
valid_for = int(arguments.get("valid_for", 0))

if str(indicator_type) == "IP address":
if not isinstance(indicators, list):
raise ValueError("Indicators should be list type")
if not isinstance(indicators, list):
raise ValueError("Indicators should be list type")

if str(indicator_type) == "IP address":
self.add_IP_action(indicators, ioc_collection_id, valid_for)
else:
if _type := indicator_type_mapping.get(str(indicator_type)):
Expand Down