Skip to content

Commit

Permalink
updating data type constraints
Browse files Browse the repository at this point in the history
Signed-off-by: Rajas Panat <[email protected]>
  • Loading branch information
floydtree committed Sep 10, 2024
1 parent 2540764 commit 5a8a358
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -4838,7 +4838,7 @@
},
"types": {
"caption": "Data Types",
"description": "The predefined data types. The data type specifies what kind of data a value can have.",
"description": "The data types available in OCSF. Each data type specifies constraints in the form regular expressions, max lengths or value limits. Implementors of OCSF should ensure they abide to these constraints.",
"attributes": {
"boolean_t": {
"caption": "Boolean",
Expand All @@ -4856,8 +4856,8 @@
},
"datetime_t": {
"caption": "Datetime",
"description": "The Internet Date/Time format as defined in <a target='_blank' href='https://www.rfc-editor.org/rfc/rfc3339.html'>RFC-3339</a>. For example <code>1985-04-12T23:20:50.52Z</code>.",
"regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(Z|[\\+-]\\d{2}:\\d{2})?$",
"description": "The Internet Date/Time format as defined in <a target='_blank' href='https://www.rfc-editor.org/rfc/rfc3339.html'>RFC-3339</a>. For example:<br> <code>2024-09-10T23:20:50.520Z</code>,<br> <code>2024-09-10 23:20:50.520789Z</code>.",
"regex": "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(Z|[\\+-]\\d{2}:\\d{2})?$",
"type": "string_t",
"type_name": "String"
},
Expand All @@ -4870,7 +4870,6 @@
"type_name": "String"
},
"file_hash_t": {
"max_len": 64,
"observable": 8,
"caption": "Hash",
"description": "Hash. A unique value that corresponds to the content of the file, image, ja3_hash or hassh found in the schema. For example MD5: <code>3172ac7e2b55cbb81f04a6e65855a628</code>.",
Expand Down Expand Up @@ -4945,15 +4944,13 @@
"type_name": "String"
},
"resource_uid_t": {
"max_len": 64,
"observable": 10,
"caption": "Resource UID",
"description": "Resource unique identifier. For example, S3 Bucket name or EC2 Instance ID.",
"type": "string_t",
"type_name": "String"
},
"string_t": {
"max_len": 65535,
"caption": "String",
"description": "UTF-8 encoded byte sequence."
},
Expand Down

0 comments on commit 5a8a358

Please sign in to comment.