Skip to content

Commit

Permalink
Issue #1303: Add debug information in metadata.debug field (#1308)
Browse files Browse the repository at this point in the history
#### Related Issue: 
#1303

#### Description of changes:
Add new `debug` attribute as a string array. Add `debug` attribute to
`metadata` object.

See related issue for motivation.

---------

Signed-off-by: Rajas Panat <[email protected]>
Co-authored-by: Rajas <[email protected]>
  • Loading branch information
rmouritzen-splunk and floydtree authored Jan 14, 2025
1 parent d28e9c2 commit 4ceac5d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ 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
1. Added `event_uid` as a `string_t`. #1312
1. Added `debug` attribute as a `string_t` array, used in the `metadata` object. #1308

* #### Objects
1. Added `environment_variable` object. #1172, #1288
1. Added `advisory` object. #1176
Expand All @@ -95,6 +97,7 @@ Thankyou! -->
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

* ### Profiles
1. Added `incident` profile. #1293

Expand Down Expand Up @@ -172,7 +175,7 @@ Thankyou! -->
1. Added `name` to `script` object. #1284
1. Relax requirement of `fingerprints` in `certificate` object. #1302
1. Added `event_uid` to the `logger` object. #1312

1. Added `debug` attribute to `metadata` object. #1308

### Bugfixes
1. Added sibling definition to `confidence_id` in dictionary, accurately associating `confidence` as its sibling. #1180
Expand Down
6 changes: 6 additions & 0 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,12 @@
"description": "Decision/outcome of the authorization mechanism (e.g. Approved, Denied)",
"type": "string_t"
},
"debug": {
"caption": "Debug Information",
"description": "Debug information about non-fatal issues with this OCSF event. Each issue is a line in this string array.",
"type": "string_t",
"is_array": true
},
"delay": {
"caption": "Root Delay",
"description": "The total round-trip delay to the reference clock in milliseconds.",
Expand Down
3 changes: 3 additions & 0 deletions objects/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"correlation_uid": {
"requirement": "optional"
},
"debug": {
"requirement": "optional"
},
"event_code": {
"requirement": "optional"
},
Expand Down

0 comments on commit 4ceac5d

Please sign in to comment.