Skip to content

Commit 6215ffe

Browse files
jpipkin1kimsauce
andauthored
DOCS-1068 - Resource Cloud SIEM entity type (#5682)
* Add resource entity type * Add deployment, pod, and replica set entity types * Update docs/cse/get-started-with-cloud-siem/insight-generation-process.md Co-authored-by: Kim (Sumo Logic) <[email protected]> --------- Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent 2f52b6c commit 6215ffe

File tree

3 files changed

+47
-36
lines changed

3 files changed

+47
-36
lines changed

docs/cse/get-started-with-cloud-siem/about-cse-insight-ui.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,20 @@ Involved entities are connected to the primary entity with dashed lines. Entitie
176176
It's possible for a related entity to both be involved and detected. In that case, it typically be displayed as detected unless it is in a number of the insight's signals.
177177
:::
178178

179-
How does Cloud SIEM detect entity relationships outside of the insight? Within the time range of the insight, described above, Cloud SIEM searches for related entities in the following normalized record fields:
179+
How does Cloud SIEM detect entity relationships outside of the insight? Within the time range of the insight, described above, Cloud SIEM searches for related [entities in the following normalized record fields](https://github.com/SumoLogic/cloud-siem-content-catalog/blob/master/schema/entity_fields.md):
180180
* `*_command`
181+
* `*_deployment`
181182
* `*_domain`
182183
* `*_email`
183184
* `*_file`
184185
* `*_hash`
185186
* `*_hostname`
186187
* `*_ip`
187188
* `*_mac`
189+
* `*_pod`
188190
* `*_process`
191+
* `*_replicaset`
192+
* `*_resource`
189193
* `*_url`
190194
* `*_useragent`
191195
* `*_username`

docs/cse/get-started-with-cloud-siem/insight-generation-process.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,28 @@ Watch this micro lesson to learn how insights are created.
3131

3232
## Entities in messages are mapped to entity-type schema attributes
3333

34-
During the next step of the [record processing flow](/docs/cse/schema/record-processing-pipeline)—log mapping—message fields are mapped to Cloud SIEM schema attributes. During this process, each entity field from a message is mapped to one of the following Cloud SIEM schema entity attributes:
35-
36-
| Entity type | Schema attributes |
37-
|:----- |:----- |
38-
| Command | `commandLine` |
39-
| Domain | `http_referer_fqdn`, `http_url_fqdn` |
40-
| Email | `targetUser_email`, `user_email` |
41-
| File | `file_path`, `file_basename` |
42-
| Hash | `file_hash_imphash`, `file_hash_md5`, `file_hash_pehash`, `file_hash_sha1`, `file_hash_sha256`, `file_hash_ssdeep` |
43-
| Hostname | `device_hostname`, `device_hostname_raw`, `dstDevice_hostname`, `dstDevice_hostname_raw`, `srcDevice_hostname`, `srcDevice_hostname_raw` |
44-
| IP Address | `device_ip`, `device_natIp`, `dns_replyIp`, `dstDevice_ip`, `dstDevice_natIp`, `srcDevice_ip`, `srcDevice_natIp` |
45-
| MAC Address | `device_mac`, `dstDevice_mac`, `srcDevice_mac` |
46-
| Process | `baseImage`, `parentBaseImage` |
47-
| URL | `http_url` |
48-
| User Agent | `http_userAgent` |
49-
| Username | `fromUser_username`, `fromUser_username_raw`, `user_username`, `user_username_raw` |
50-
51-
Which particular attribute an entity gets mapped to depends on the [field mappings](/docs/cse/schema/create-structured-log-mapping) in the log mapper for the message source. Given the example message above, “thedude” might be mapped to `user_username` and "185.35.135.245"
52-
to `srcDevice_ip`
34+
During the next step of the [record processing flow](/docs/cse/schema/record-processing-pipeline)—log mapping—message fields are mapped to Cloud SIEM schema attributes. During this process, each entity field from a message is mapped to one of the following [Cloud SIEM schema entity attributes](https://github.com/SumoLogic/cloud-siem-content-catalog/blob/master/schema/entity_fields.md):
35+
36+
| Entity type | Field | Schema attributes |
37+
|:-- |:-- |:--|
38+
| Command | `_command` | `commandLine` |
39+
| Deployment | `_deployment` | `device_k8s_normalizedDeploymentName`, `dstDevice_k8s_normalizedDeploymentName`, `srcDevice_k8s_normalizedDeploymentName` |
40+
| Domain | `_domain` | `http_referer_fqdn`, `http_url_fqdn` |
41+
| Email | `_email` | `targetUser_email`, `user_email` |
42+
| File | `_file` | `file_path`, `file_basename` |
43+
| Hash | `_hash` | `file_hash_imphash`, `file_hash_md5`, `file_hash_pehash`, `file_hash_sha1`, `file_hash_sha256`, `file_hash_ssdeep` |
44+
| Hostname | `_hostname` | `device_hostname`, `device_hostname_raw`, `dstDevice_hostname`, `dstDevice_hostname_raw`, `srcDevice_hostname`, `srcDevice_hostname_raw` |
45+
| IP Address | `_ip` | `device_ip`, `device_natIp`, `dns_replyIp`, `dstDevice_ip`, `dstDevice_natIp`, `srcDevice_ip`, `srcDevice_natIp` |
46+
| MAC Address | `_mac` | `device_mac`, `dstDevice_mac`, `srcDevice_mac` |
47+
| Pod | `_pod` | `device_k8s_normalizedPodName`, `dstDevice_k8s_normalizedPodName`, `srcDevice_k8s_normalizedPodName` |
48+
| Process | `_process` | `baseImage`, `parentBaseImage` |
49+
| Replica Set | `_replicaset` | `device_k8s_normalizedReplicaSetName`, `dstDevice_k8s_normalizedReplicaSetName`, `srcDevice_k8s_normalizedReplicaSetName` |
50+
| Resource | `_resource` | `resource` |
51+
| URL | `_url` | `http_url` |
52+
| User Agent | `_useragent` | `http_userAgent` |
53+
| Username | `_username` | `fromUser_username`, `fromUser_username_raw`, `user_username`, `user_username_raw` |
54+
55+
Which particular attribute an entity gets mapped to depends on the [field mappings](/docs/cse/schema/create-structured-log-mapping) in the log mapper for the message source. Given the example message above, “thedude” might be mapped to `user_username` and "185.35.135.245" to `srcDevice_ip`
5356

5457
## Rules have one or more On Entity attributes
5558

docs/cse/records-signals-entities-insights/view-manage-entities.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,21 @@ Watch this micro lesson to learn more about entities.
3737

3838
## About entities
3939

40-
In Cloud SIEM, an entity is a unique actor that a signal fired upon. Cloud SIEM has a number of built-in entity types:
40+
In Cloud SIEM, an entity is a unique actor that a signal fired upon. Cloud SIEM has a number of [built-in entity types](https://github.com/SumoLogic/cloud-siem-content-catalog/blob/master/schema/entity_fields.md):
4141

4242
* Command
43+
* Deployment
4344
* Domain
4445
* Email
4546
* File
4647
* Hash
4748
* Hostname
4849
* IP Address
4950
* MAC Address
51+
* Pod
5052
* Process
53+
* Replica Set
54+
* Resource
5155
* URL
5256
* User Agent
5357
* Username
@@ -145,34 +149,34 @@ or criticality for one or more entities.
145149
1. Click the top checkbox to select all of the entities on the page, or click the checkbox next to each entity you want to update.
146150
1. Note that once you select an entity, three options appear at the top of the entities list. <br/><img src={useBaseUrl('img/cse/update-options.png')} alt="Update options" style={{border: '1px solid gray'}} width="800"/>
147151
<br/>See the instructions for each option below:
148-
* [Update Tags](#update-tags)
149-
* [Update Suppression](#update-suppression)
150-
* [Update Criticality](#update-criticality)
152+
* [Update tags](#update-tags)
153+
* [Update suppression](#update-suppression)
154+
* [Update criticality](#update-criticality)
151155

152-
#### Update Tags
156+
#### Update tags
153157

154158
1. After selecting the entities you want to update, click **Update Tags**
155-
2. Click the down arrow to display the options: <br/><img src={useBaseUrl('img/cse/tag-options.png')} alt="Tag options" style={{border: '1px solid gray'}} width="400"/>
159+
1. Click the down arrow to display the options: <br/><img src={useBaseUrl('img/cse/tag-options.png')} alt="Tag options" style={{border: '1px solid gray'}} width="400"/>
156160
* **Add.** Select this option to add one or more tags to the entity, without affecting any tags already assigned to the entity. You’re prompted to select a tag. If you select a schema tag, you’re prompted to select a tag value. You can select  multiple tags to add.
157161
* **Remove**. Select his option to remove one or more tags from the entity. You’re prompted to select a tag. If you select a schema tag, you’re prompted to select a tag value. You can select multiple tags to remove. If a selected entity doesn't have the specified tags, no change will be made to the entity. 
158162
* **Replace**. Select this option to remove all of the tags currently assigned to the entity and add one or more specified tags. You’re prompted to select a tag. If you select a schema tag, you’re prompted to select a tag value. 
159163
:::important
160164
When you use the **Replace** option, be sure to specify new tags. If you do not, the existing tags will still be removed.
161165
:::
162-
3. As you select tags, they’ll appear in the update popup. <br/><img src={useBaseUrl('img/cse/tags-to-add.png')} alt="Add tags to entities" style={{border: '1px solid gray'}} width="400"/>
163-
4. When you are done selecting tags, click **Update Entity Tags**.
166+
1. As you select tags, they’ll appear in the update popup. <br/><img src={useBaseUrl('img/cse/tags-to-add.png')} alt="Add tags to entities" style={{border: '1px solid gray'}} width="400"/>
167+
1. When you are done selecting tags, click **Update Entity Tags**.
164168

165-
#### Update Suppression
169+
#### Update suppression
166170

167171
1. After selecting the entities you want to update, click **Update Suppression**
168-
2. The **Update Suppression** popup appears, with the suppression toggle set to **Not Suppressed**. <br/><img src={useBaseUrl('img/cse/before-suppression.png')} alt="Update suppression" style={{border: '1px solid gray'}} width="400"/>
169-
3. If you want to unsuppress the selected entities, click **Update Entity Suppression**. Otherwise, if you want to suppress the entity, toggle the slider to **Suppressed**, supply a comment if desired, and then click **Update Entity Suppression**
172+
1. The **Update Suppression** popup appears, with the suppression toggle set to **Not Suppressed**. <br/><img src={useBaseUrl('img/cse/before-suppression.png')} alt="Update suppression" style={{border: '1px solid gray'}} width="400"/>
173+
1. If you want to unsuppress the selected entities, click **Update Entity Suppression**. Otherwise, if you want to suppress the entity, toggle the slider to **Suppressed**, supply a comment if desired, and then click **Update Entity Suppression**
170174

171-
#### Update Criticality
175+
#### Update criticality
172176

173177
1. After selecting the entities you want to update, click **Update Criticality**
174-
2. The **Update Criticality** popup appears. <br/><img src={useBaseUrl('img/cse/update-criticalities.png')} alt="Update criticalities" style={{border: '1px solid gray'}} width="400"/>
175-
3. If you want to assign default criticality to the selected entities, click **Update Entity Criticality**. Otherwise, use the down arrow to view defined Criticalities, select one, and then click **Update Entity Criticality**.
178+
1. The **Update Criticality** popup appears. <br/><img src={useBaseUrl('img/cse/update-criticalities.png')} alt="Update criticalities" style={{border: '1px solid gray'}} width="400"/>
179+
1. If you want to assign default criticality to the selected entities, click **Update Entity Criticality**. Otherwise, use the down arrow to view defined Criticalities, select one, and then click **Update Entity Criticality**.
176180

177181
### Import entity updates from a CSV file
178182

@@ -204,8 +208,8 @@ Note that:
204208

205209
| Column | Description |
206210
|:--|:--|
207-
| `id` | **This field is required for Format 1.**<br/>To form the id field value, concatenate the entity `type` and the value of the entity, separated by a dash character (-) where the entity `type` is one of the following:<br/>`_ip`<br/>`_hostname`<br/>`_username`<br/>`_mac`<br/>`_process`<br/>`_command`<br/>`_hash`<br/>`_domain`<br/>`_useragent`<br/>`_email`<br/>`_url`<br/>`_file`<br/>`<CustomEntityTypeId>`<br/><br/>The `id` for an IP address would look like:<br/><br/>`_ip-1.2.3.4` <br/><br/>You can optionally specify an entity’s sensor zone as a part of the `id` column, in this format:<br/><br/> `_<entity_type>-<sensor_zone>-<entity_value>` <br/><br/>For example: <br/><br/> `_ip-zone1-172.18.20.3`|
208-
| `type` | **This field is required for Format 2.**<br/>Identifies the type of entity, one of:<br/>`_ip`<br/>`_hostname`<br/>`_username`<br/>`_mac`<br/>`_process`<br/>`_command`<br/>`_hash`<br/>`_domain`<br/>`_useragent`<br/>`_email`<br/>`_url`<br/>`_file`<br/>`<CustomEntityTypeId>` |
211+
| `id` | **This field is required for Format 1.**<br/>To form the id field value, concatenate the entity `type` and the value of the entity, separated by a dash character (-) where the entity `type` is one of the following:<br/>`_command`<br/>`_deployment`<br/>`_domain`<br/>`_email`<br/>`_file`<br/>`_hash`<br/>`_hostname`<br/>`_ip`<br/>`_mac`<br/>`_pod`<br/>`_process`<br/>`_replicaset`<br/>`_resource`<br/>`_useragent`<br/>`_username`<br/>`_url`<br/>`<CustomEntityTypeId>`<br/><br/>The `id` for an IP address would look like:<br/><br/>`_ip-1.2.3.4` <br/><br/>You can optionally specify an entity’s sensor zone as a part of the `id` column, in this format:<br/><br/> `_<entity_type>-<sensor_zone>-<entity_value>` <br/><br/>For example: <br/><br/> `_ip-zone1-172.18.20.3`|
212+
| `type` | **This field is required for Format 2.**<br/>Identifies the type of entity, one of:<br/>`_command`<br/>`_deployment`<br/>`_domain`<br/>`_email`<br/>`_file`<br/>`_hash`<br/>`_hostname`<br/>`_ip`<br/>`_mac`<br/>`_pod`<br/>`_process`<br/>`_replicaset`<br/>`_resource`<br/>`_useragent`<br/>`_username`<br/>`_url`<br/>`<CustomEntityTypeId>` |
209213
| `value` | **This field is required for Format 2.**<br/>The value of the entity, for example, for an IP address:<br/>`1.2.3.4` |
210214
| `sensor_zone` | Identifies the sensor zone for the entity. <br/><br/>Don’t include this column if you are specifying entity sensor zones in the `id` column, as described above. |
211215
| `suppressed` | When *true*, Cloud SIEM suppresses the entity. |

0 commit comments

Comments
 (0)