Skip to content

Commit

Permalink
Merge branch 'main' into Add-name-to-script
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Jurka <pavel.jurka@sentinelone.com>
  • Loading branch information
PavelJurka authored Dec 18, 2024
2 parents ec86df5 + 4379912 commit 4e5fe2e
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 33 deletions.
40 changes: 22 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Thankyou! -->
1. Added `unmanned_system_operator` to the dictionary, extends `user`. #1169
1. Added `locations` to the dictionary, an array type of the `location` object, used within the new `operating_area` object. #1169
1. Added `altitude_ceiling`, `altitude_floor`, `geodetic_altitude`, `aerial_height`, `horizontal_accuracy`, `pressure_altitude`, `radius`, `speed`, `track_direction`, and `vertical_speed` all to support `operating_area` and `unmanned_aerial_system` objects. #1169
1. Added `variable_name` and `variable_value` as `long_string`. #1228
1. Added `imei_list` as an array `string_t`. #1225
1. Added `is_encrypted` as `boolean_t`; `column_name`, `cell_name`, `storage_class`, `key_uid`, `json_path` as `string_t` & `column_number`, `row_number`, `page_number`, `record_index_in_array` as `integer_t`. #1245
1. Added `group_provisioning_enabled`, `scim_group_schema`, `user_provisioning_enabled`, `scim_user_schema`, `scopes`, `idle_timeout`, `login_endpoint`, `logout_endpoint`, and `metadata_url` entries to the dictionary to support the new `scim` and `sso` objects. #1239
Expand All @@ -81,7 +80,7 @@ Thankyou! -->
1. Added `sbom`, `author`, `related_component`, `relationship`, `relationship_id` and `software_component` to support SBOMs. #1262
1. Added `related_events_count` as an `int_t`. #1271
* #### Objects
1. Added `environment_variable` object. #1172
1. Added `environment_variable` object. #1172, #1288
1. Added `advisory` object. #1176
1. Added a generic `key_value_object` object. #1219
1. Added `unmanned_aerial_system` and `unmanned_system_operating_area` objects. #1169
Expand All @@ -93,6 +92,7 @@ Thankyou! -->
1. Added `aircraft` object. #1253
1. Added `software_component` and `sbom` objects. #1262
1. Added `drive_type` and `drive_type_id` objects. #1287
1. Added `cpu_architecture` and `cpu_architecture_id` objects. #1278

### Improved
* #### Event Classes
Expand All @@ -111,6 +111,7 @@ Thankyou! -->
1. Add `host` profile to base_event.json and remove this profile elsewhere in the event hierarchy. #1280
1. Add the `actor` attribute to the IAM base event. #1280
1. Add `security_control` profile to base_event.json and remove this profile elsewhere in the event hierarchy. #1281
1. Add `policies` to `Account Change` class. #1282
1. Add `Unlock` activity to `account_change` class. #1285
* #### Profiles
1. Added `is_alert`, `confidence_id`, `confidence`, `confidence_score` attributes to the `security_control` profile. #1178
Expand Down Expand Up @@ -161,14 +162,16 @@ Thankyou! -->
1. Added `product`, `related_events_count`, `uid_alt`, `tags` to `finding_info` object. #1271
1. Added `count`, `created_time`, `desc`, `first_seen_time`, `last_seen_time`, `modified_time`, `product`, `severity`, `severity_id`, `tags` & `title` to `related_event` object. #1271
1. Added `drive_type` and `drive_type_id` to the `file` object. #1287
1. Added `cpu_architecture` and `cpu_architecture_id` to `device_hw_info` object. #1278
1. Added `name` to `script` object. #1284


### Bugfixes
1. Added sibling definition to `confidence_id` in dictionary, accurately associating `confidence` as its sibling. #1180
1. Added a fix (profile: null) to `OSINT Inventory Info` so that the `osint` attribute is present w/o the OSINT profile, per the class definition.
1. Added http_response to all classes that have http_request, but no http_response object. #1200
1. Removed redundant `name` attribute from Windows extension to the `startup_item` object for consistency with other extensions. #1203

### Deprecated
1. Deprecated `project_uid` in favor of `account.uid`. #1166
1. Deprecated `kb_article_list` in favor of `advisory` in the vulnerability object. #1176
Expand All @@ -181,6 +184,7 @@ Thankyou! -->
1. Deprecated `email_file_activity` and `email_url_activity` in favor of updated `email_activity`. #1259
1. Deprecated `package` in `Software Inventory Info` in favour of `sbom`. #1262
1. Deprecated `product_uid` in favor of the `product` object. #1271
1. Deprecated `policy` in favor of `policies` in `Account Change` class. #1282

### Misc
1. Added `user.uid` as an Observable type - `type_id: 31`. #1155
Expand Down Expand Up @@ -230,7 +234,7 @@ Thankyou! -->
* #### Profiles
1. Added `osint` Profile based on the `osint` object. #992
* #### Objects
1. Added `d3fend`, `d3f_tactic`, `d3f_technique` MITRE objects. #1066
1. Added `d3fend`, `d3f_tactic`, `d3f_technique` MITRE objects. #1066
2. Added `ja4_fingerprint` object. #834
3. Added `ja4_fingerprint_list` as a list of `ja4_fingerprint` objects. #834
4. Added `ticket` object. #1068
Expand Down Expand Up @@ -345,7 +349,7 @@ n/a
2. Modified all classes such that primary attributes are at least recommended. #974
3. Added `src_endpoint`, `http_request` attributes to all IAM category classes. #976
4. Added `autonomous_system` to `network_endpoint` objects. #978
5. Added `List`, `Encrypt` and `Decrypt` activities to `datastore` event class. #989
5. Added `List`, `Encrypt` and `Decrypt` activities to `datastore` event class. #989
6. Added `file` attribute to `http`, `rdp`, `ssh`, and `ftp` event classes. #985
7. Added a `Preauth` `activity_id` to the `Authentication` class. #1018
8. Added the `Security Control` profile to the `Datastore Activity` class. #1030
Expand All @@ -355,7 +359,7 @@ n/a

* #### Profiles
n/a
* #### Objects
* #### Objects
1. Expanded `type_id` enum in `analytic` object to account for more use-cases: #953
- `5 - Fingerprinting`
- `6 - Tagging`
Expand All @@ -372,7 +376,7 @@ n/a
7. Added `is_applied` Boolean attribute to `policy` object. #987
8. Added `agent_list` as an array of `agent` objects. #987
9. Added `policies` object as an array of `policy` objects. #987
10. Added `agent_list` to `endpoint` object. #987
10. Added `agent_list` to `endpoint` object. #987
11. Added `labels` to the `Account` object. #1028
12. Added `data_classification` profile to `database`, `databucket`, `email`, `file`, `metadata`, `product`, `resource_details` and `web_resource` objects. #998

Expand Down Expand Up @@ -401,7 +405,7 @@ n/a
* _**(New)**_ Object-specific attributes using `observable` property class's attributes. This allows defining object attributes as observables _only_ within instances of this specific object.
* _**(New)**_ Event class-specific attributes using `observable` property class's attributes. This allows defining class attributes as observables _only_ within instances of this specific class.
* _**(New)**_ Event class-specific attribute _paths_ using top-level `observables` property. The `observables` property holds an object mapping from an dotted attribute path to an observable `type_id`. This allows defining an observables _only_ within instances of this specific class, and only for the attributes at these paths, even for attributes that are within nested objects and arrays. This can also be used for top-level class attributes, which can be more convenient that defining a class attribute observable for classes that extend another, but don't otherwise change a attribute definition.
4. Metaschema improvements. #993
4. Metaschema improvements. #993
* Detect unexpected top-level properties in object and event class definitions. This was added at this point to detect invalid observable definitions: invalid `observable` property in event classes, and invalid `observables` property in objects.
* Remove hard-coded list of categories from `metaschema/categories.schema.json`, leaving this to the `ocsf-validator`. This change makes testing with alternate schemas that may add extra categories easier, as well as making it possible to validate private extensions that contain new categories.
5. Metaschema error reporting #1027
Expand All @@ -414,7 +418,7 @@ n/a
`n/a`
* #### Event Classes
1. Added `User Inventory Info` event class. #667
2. Added `Vulnerability Finding` event class. #698
2. Added `Vulnerability Finding` event class. #698
3. Added `NTP Activity` event class #705
4. Added `OS Patch State` event class. #746
5. Added `Datastore Activity` event class 6005. #874
Expand All @@ -423,29 +427,29 @@ n/a
8. Added `Device Config Sate Change` event class. #914
9. Added `Scan Activity` event class. #915
10. Added `File Hosting Activity` event class. #917

* #### Profiles
1. Added `Network Proxy` Profile for the `Network Activity` and `Application Activity` classes. #705
2. Added `Load Balancer` Profile for the Network Activity classes. #897
1. Added `Network Proxy` Profile for the `Network Activity` and `Application Activity` classes. #705
2. Added `Load Balancer` Profile for the Network Activity classes. #897

* #### Objects
1. Added new `cwe` object to `cve` and `vulnerability` objects. #678
1. Added new `cwe` object to `cve` and `vulnerability` objects. #678
2. Added Firewall Rule object. #685
3. Added new `kb_article` object to house Knowledgebase Article info. #709 #862 #924
3. Added new `kb_article` object to house Knowledgebase Article info. #709 #862 #924
4. Added new `epss` object to the `cve` object. #741

### Improved
* #### Categories
1. Improved Findings Category, with new and domain specific event classes (Vulnerability Finding, Compliance Finding, Detection Finding, Incident Finding), description updates across the board. #895 #907 #903 #698 #718

* #### Event Classes
1. Added `MFA Enable` and `Disable` to `activity_id` to the Account Change event class. #724
2. Added `Service Ticket Renew` to `activity_id` of the Authentication event class. #765
2. Added `Service Ticket Renew` to `activity_id` of the Authentication event class. #765
3. Added `url` attribute to Network Activity event class. #857
4. Added `http_request`, `http_response`, `tls` attributes, `network_proxy` profile to Web Resources Activity event class. #895
5. Adjusted requirement of `dst_endpoint` from `required` to `recommended` in the DNS Activity event class. #901
5. Adjusted requirement of `dst_endpoint` from `required` to `recommended` in the DNS Activity event class. #901
6. Added `Create` and `Delete` to `activity_id` of the Group Management event class. #929

* #### Profiles
1. Improved `security_control` profile to include access control semantics, firewall properties. #851 #888 #889 #906

Expand Down
43 changes: 33 additions & 10 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,39 @@
"description": "The ISO 3166-1 Alpha-2 country code.<p><b>Note:</b> The two letter country code should be capitalized. For example: <code>US</code> or <code>CA</code>.</p>",
"type": "string_t"
},
"cpu_architecture": {
"caption": "CPU Architecture",
"description": "The CPU architecture, normalized to the caption of the <code>cpu_architecture_id</code> value. In the case of <code>Other</code>, it is defined by the source.",
"type": "string_t"
},
"cpu_architecture_id": {
"caption": "CPU Architecture ID",
"description": "The normalized identifier of the CPU architecture.",
"sibling": "cpu_architecture",
"type": "integer_t",
"enum": {
"0": {
"caption": "Unknown",
"description": "The CPU architecture is unknown."
},
"1": {
"caption": "x86",
"description": "CPU uses the x86 ISA. For bitness, refer to <code>cpu_bits</code>."
},
"2": {
"caption": "ARM",
"description": "CPU uses the ARM ISA. For bitness, refer to <code>cpu_bits</code>."
},
"3": {
"caption": "RISC-V",
"description": "CPU uses the RISC-V ISA. For bitness, refer to <code>cpu_bits</code>."
},
"99": {
"caption": "Other",
"description": "The CPU architecture is not mapped. See the <code>cpu_architecture</code> attribute, which contains a data source specific value."
}
}
},
"cpe_name": {
"caption": "The product CPE identifier",
"description": "The Common Platform Enumeration (CPE) name as described by (<a target='_blank' href='https://nvd.nist.gov/products/cpe'>NIST</a>) For example: <code>cpe:/a:apple:safari:16.2</code>.",
Expand Down Expand Up @@ -5248,16 +5281,6 @@
"type": "string_t",
"is_array": true
},
"variable_name": {
"caption": "Variable Name",
"description": "The name of a variable. See specific usage.",
"type": "long_string"
},
"variable_value": {
"caption": "Variable Value",
"description": "The value of a variable. See specific usage.",
"type": "long_string"
},
"vector_string": {
"caption": "Vector String",
"description": "The CVSS vector string is a text representation of a set of CVSS metrics. It is commonly used to record or transfer CVSS metric information in a concise form. For example: <code>3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H</code>.",
Expand Down
9 changes: 9 additions & 0 deletions events/iam/account_change.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,19 @@
}
}
},
"policies": {
"description": "Details about the IAM policies associated with the Attach/Detach Policy activities.",
"group": "context",
"requirement": "optional"
},
"policy": {
"description": "Details about the IAM policy associated to the Attach/Detach Policy activities.",
"group": "context",
"requirement": "optional",
"@deprecated": {
"message": "Use the <code>policies</code> attribute instead.",
"since": "1.4.0"
},
"profile": null
},
"user": {
Expand Down
6 changes: 6 additions & 0 deletions objects/device_hw_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"chassis": {
"requirement": "optional"
},
"cpu_architecture": {
"requirement": "optional"
},
"cpu_architecture_id": {
"requirement": "optional"
},
"cpu_bits": {
"requirement": "optional"
},
Expand Down
11 changes: 6 additions & 5 deletions objects/environment_variable.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"extends": "object",
"name": "environment_variable",
"attributes": {
"variable_name": {
"description": "The name of the environment variable. Note that some operating systems permit environment variables to have very long names.",
"name": {
"description": "The name of the environment variable.",
"requirement": "required"
},
"variable_value": {
"description": "The value of the environment variable. Note that some operating systems permit environment variables to have very long values.",
"value": {
"description": "The value of the environment variable.",
"requirement": "required"

}
}
}
}

0 comments on commit 4e5fe2e

Please sign in to comment.