Skip to content

Commit d22ba4b

Browse files
committed
fix agents by org data stream
1 parent 45ba527 commit d22ba4b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/Huntress/v1/dataStreams/agentsByOrganization.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"pathToData": "agents",
1818
"expandInnerObjects": true,
1919
"getArgs": [
20-
{ "key": "organization_id", "value": "{{objects[0].id}}" }
20+
{ "key": "organization_id", "value": "{{objects[0].organization_id}}" }
2121
],
2222
"headers": [],
2323
"paging": {

plugins/Huntress/v1/indexDefinitions/default.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"properties": [
3737
"agents_count",
3838
"incident_reports_count",
39-
"key"
39+
"key",
40+
{ "organization_id": "id" }
4041
]
4142
}
4243
}

0 commit comments

Comments
 (0)