You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -5,75 +5,294 @@ This documentation outlines the utilization of the Email Intake Connector for au
5
5
The Email Intake Connector facilitates the connection of mailboxes used to receive cybersecurity alerts. It automatically transforms new emails into alerts within TheHive platform. Presently, the primary function supported is the creation of alerts regardless of the received email content.
The only parameter that requires adjustment is the ``refresh interval``.
17
-
18
-

16
+
The only parameter that requires adjustment is the `refresh interval`. By default, the connector polls mailboxes every *5* minutes. Adjust the frequency by increasing or decreasing the value.
Configuration options are available for Microsoft 365 (OAuth2) and Google Workspace (OAuth2). If you use another email provider service, configuration through IMAP is necessary.
To configure Microsoft settings, the following values need completion:
32
+
### Setting up Microsoft365 for TheHive
33
+
34
+
This section provides detailed instructions to configure Microsoft 365 to allow TheHive access to a shared mailbox. Please follow these steps to ensure proper integration.
34
35
35
-
-`Email address` of the mailbox
36
-
-`clientId`
37
-
-`tenantId`
38
-
-`secret`
36
+
39
37
40
-
Refer to Microsoft documentation for instructions on obtaining these values.
38
+
#### Prerequisites
39
+
- Administrator account on Microsoft 365.
40
+
- PowerShell installed and configured.
41
+
- A shared mailbox already created in Microsoft 365 (e.g., `test-shared-mailbox@strangebee.com`).
- **Restrict Access to Members of the Security Group Only:**
115
+
116
+
```powershell
117
+
New-ApplicationAccessPolicy -AppId $AppID -PolicyScopeGroupId $SecurityGroup -AccessRight RestrictAccess -Description "Restrict this app to members of distribution group {$SecurityGroup}"
118
+
```
119
+
120
+
6. **Test the Configuration**
121
+
122
+
- Run the following command to test if the application access policy is properly configured:
This section describes the necessary steps to configure Google Workspace to allow TheHive access to a mailbox. Please follow these steps to ensure proper integration.
158
+
159
+
160
+
161
+
#### Prerequisites
162
+
- Access to the Google Cloud Admin Console.
163
+
- Proper permissions to create projects and configure OAuth credentials.
164
+
165
+
166
+
167
+
#### Step-by-Step Configuration
168
+
169
+
1. **Access Google Cloud Admin Console**
170
+
Navigate to the Google Cloud Admin Console at [https://console.cloud.google.com/welcome](https://console.cloud.google.com/welcome).
After testing your mailbox configuration, select the organization to connect, determining where alerts will be created. Define the mailbox folder to monitor (typically INBOX). Finally, specify the action to take on incoming emails: ``archive``, ``mark as read``, or ``no action``.
The email itself is included as a .eml file, along with its sender and all attached files, which are added to the alert as observables, with the following parameters:
108
-
109
-
-`observable.message`: The pre-formatted message
110
-
-`observable.tlp`: {alert.tlp}
111
-
-`observable.pap`: {alert.pap}
112
-
-`observable.ioc`: false
113
-
-`observable.sighted`: false
114
-
-`observable.sightedAt`: [Timestamp]
115
-
-`observable.ignoreSimilarity`: false
116
-
-`observable.dataType`: "file" if it's an attachment; otherwise, "mail" for the .eml file
117
-
-`observable.tags`: {alert.tags}
118
-
-`observable.attachmentId`: {attachment.id}
329
+
The email itself is included as a `.eml` file, along with its sender and all attached files, which are added to the alert as observables, with the following parameters:
330
+
331
+
!!! Info "Observables metadata added with the email data"
332
+
333
+
- **Message**: The pre-formatted message
334
+
- **TLP**: {alert.tlp}
335
+
- **PAP**: {alert.pap}
336
+
- **IOC**: false
337
+
- **Sighted**: false
338
+
- **Sighted at**: [Timestamp]
339
+
- **Ignore similarity**: false
340
+
- **dataType**: *file* if it's an attachment; otherwise, *mail* for the `.eml` file
0 commit comments