Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyslav-huriev committed Aug 14, 2024
1 parent 0a22b1b commit d15855f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sekoia.io/bin/sekoia_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ def indicator_to_kv(self, indicator, api_root_url):
elif server_root_url.endswith("/api/"):
server_root_url = server_root_url[:-5]

# Applying _key to lowercase to avoid case sensitivity
result = {
"_key": value.strip("'"),
"_key": value.strip("'").lower(),
"indicator_id": indicator["id"],
"server_root_url": server_root_url,
"valid_until": indicator.get("valid_until"),
Expand Down

0 comments on commit d15855f

Please sign in to comment.