Skip to content

Commit 878927b

Browse files
authored
Change ThreatFox initial interval to integer and note valid values 1-7 (#7143)
API details from https://threatfox.abuse.ch/api/ "Number of days to filter IOCs for (based on first_seen) Min: 1, Max: 7. Default: 3"
1 parent ce213a3 commit 878927b

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

packages/ti_abusech/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.15.2"
3+
changes:
4+
- description: Change ThreatFox initial interval to integer and note valid values 1-7
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/7143
27
- version: "1.15.1"
38
changes:
49
- description: Remove fields with empty string values

packages/ti_abusech/data_stream/threatfox/agent/stream/httpjson.yml.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ request.transforms:
2828
target: body.days
2929
value: '[[.cursor.days]]'
3030
default: '{{initial_interval}}'
31+
value_type: int
3132

3233
response.split:
3334
target: body.data

packages/ti_abusech/data_stream/threatfox/manifest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ streams:
3333
show_user: true
3434
default: 24h
3535
- name: initial_interval
36-
type: text
37-
title: Interval
36+
type: integer
37+
title: Initial Interval
3838
multi: false
3939
required: true
4040
show_user: true
41-
default: "30"
42-
description: How far back to look for indicators the first time the agent is started. Defaults to 30 days, can be any number between 1-90.
41+
default: 7
42+
description: How far back to look for indicators the first time the agent is started. Defaults to 7 days, can be any number between 1-7.
4343
- name: ssl
4444
type: yaml
4545
title: SSL

packages/ti_abusech/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ti_abusech
22
title: AbuseCH
3-
version: "1.15.1"
3+
version: "1.15.2"
44
release: ga
55
description: Ingest threat intelligence indicators from URL Haus, Malware Bazaar, and Threat Fox feeds with Elastic Agent.
66
type: integration

0 commit comments

Comments
 (0)