Skip to content

Commit

Permalink
Fis on agent.id field for harfanglab
Browse files Browse the repository at this point in the history
  • Loading branch information
LenaigKaliou committed Dec 10, 2024
1 parent 525a164 commit e6a207c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HarfangLab/harfanglab/ingest/parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ stages:
organization.id: "{{json_event.message.tenant}}"
url.original: "{{json_event.message.details_url_request.url}}"

- set:
agent.id: "{{json_event.message.agents[0].agent_id}}"
filter: "{{json_event.message.agents | length > 0}}"

network_info:
actions:
- set:
Expand Down
1 change: 1 addition & 0 deletions HarfangLab/harfanglab/tests/threat_critical.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"start": "2024-03-19T09:21:00Z"
},
"agent": {
"id": "af5e2f63-becd-4660-ade8-30d04c0dd044",
"name": "harfanglab"
},
"harfanglab": {
Expand Down
1 change: 1 addition & 0 deletions HarfangLab/harfanglab/tests/threat_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"start": "2024-02-07T15:18:00Z"
},
"agent": {
"id": "215fe295-905f-4a8d-8347-e9d438d4e415",
"name": "harfanglab"
},
"harfanglab": {
Expand Down

0 comments on commit e6a207c

Please sign in to comment.