-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2135 from SEKOIA-IO/update-intake-documentation
Refresh intakes documentation
- Loading branch information
Showing
11 changed files
with
284 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,6 +160,125 @@ This section demonstrates how the raw logs will be transformed by our parsers. I | |
``` | ||
|
||
|
||
=== "test_process_with_multiple_attachments.json" | ||
|
||
```json | ||
|
||
{ | ||
"message": "{\"aggregateId\": \"aggId1\", \"processingId\": \"AAA_123\", \"accountId\": \"ACCOUNT1\", \"action\": \"Acc\", \"timestamp\": 1733997069148, \"senderEnvelope\": \"[email protected]\", \"messageId\": \"[email protected]>\", \"subject\": \"TEST SEKOIA\", \"holdReason\": null, \"totalSizeAttachments\": \"183525\", \"numberAttachments\": \"0\", \"attachments\": \"\\\"~WRD0601.jpg\\\", \\\"image001.png\\\", \\\"image002.jpg\\\", \\\"image003.png\\\", \\\"image004.jpg\\\", \\\"image005.jpg\\\", \\\"image006.png\\\", \\\"image007.jpg\\\", \\\"image008.png\\\", \\\"image009.png\\\", \\\"image010.png\\\", \\\"image011.jpg\\\", \\\"image012.png\\\", \\\"image013.jpg\\\", \\\"image014.jpg\\\"\", \"emailSize\": \"204490\", \"type\": \"process\", \"subtype\": \"Acc\", \"_offset\": 292955, \"_partition\": 137}", | ||
"event": { | ||
"action": "Acc", | ||
"category": [ | ||
"email" | ||
], | ||
"dataset": "process", | ||
"provider": "Mimecast", | ||
"type": [ | ||
"info" | ||
] | ||
}, | ||
"@timestamp": "2024-12-12T09:51:09.148000Z", | ||
"email": { | ||
"attachments": [ | ||
{ | ||
"file": { | ||
"name": "~WRD0601.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image001.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image002.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image003.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image004.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image005.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image006.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image007.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image008.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image009.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image010.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image011.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image012.png" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image013.jpg" | ||
} | ||
}, | ||
{ | ||
"file": { | ||
"name": "image014.jpg" | ||
} | ||
} | ||
], | ||
"from": { | ||
"address": [ | ||
"[email protected]" | ||
] | ||
}, | ||
"message_id": "[email protected]", | ||
"to": { | ||
"address": [ | ||
"null" | ||
] | ||
} | ||
}, | ||
"mimecast": { | ||
"siem": { | ||
"aggregate_id": "aggId1", | ||
"processing_id": "AAA_123" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
|
||
=== "test_receipt.json" | ||
|
||
```json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,33 @@ In this section, you will find examples of raw logs as generated natively by the | |
|
||
|
||
|
||
=== "test_process_with_multiple_attachments" | ||
|
||
|
||
```json | ||
{ | ||
"aggregateId": "aggId1", | ||
"processingId": "AAA_123", | ||
"accountId": "ACCOUNT1", | ||
"action": "Acc", | ||
"timestamp": 1733997069148, | ||
"senderEnvelope": "[email protected]", | ||
"messageId": "[email protected]>", | ||
"subject": "TEST SEKOIA", | ||
"holdReason": null, | ||
"totalSizeAttachments": "183525", | ||
"numberAttachments": "0", | ||
"attachments": "\"~WRD0601.jpg\", \"image001.png\", \"image002.jpg\", \"image003.png\", \"image004.jpg\", \"image005.jpg\", \"image006.png\", \"image007.jpg\", \"image008.png\", \"image009.png\", \"image010.png\", \"image011.jpg\", \"image012.png\", \"image013.jpg\", \"image014.jpg\"", | ||
"emailSize": "204490", | ||
"type": "process", | ||
"subtype": "Acc", | ||
"_offset": 292955, | ||
"_partition": 137 | ||
} | ||
``` | ||
|
||
|
||
|
||
=== "test_receipt" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.