From 772beb2bc09015a61b93d3a15c0dfe8b6fb9a4f5 Mon Sep 17 00:00:00 2001 From: Daniel Stinson-Diess Date: Wed, 17 Apr 2024 13:45:52 -0500 Subject: [PATCH] feat: adds ext attribute to File object Closes #1043 --- CHANGELOG.md | 2 ++ dictionary.json | 7 ++++++- objects/file.json | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1fac9e2e..2648b8ded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,8 @@ Thankyou! --> 1. Added `file_result` to File Hosting Activity. #1045 * #### Profiles * #### Objects + 1. Added `ext` to `File` object. #1046 + * #### Platform Extensions ### Bugfixes diff --git a/dictionary.json b/dictionary.json index aff26f72a..a33ff97d3 100644 --- a/dictionary.json +++ b/dictionary.json @@ -1636,6 +1636,11 @@ "description": "The expiration time. See specific usage.", "type": "timestamp_t" }, + "ext": { + "caption": "Extension", + "description": "The extension. See specific usage.", + "type": "string_t" + }, "extension": { "@deprecated": { "message": "Use the extensions attribute instead.", @@ -4434,4 +4439,4 @@ } } } -} \ No newline at end of file +} diff --git a/objects/file.json b/objects/file.json index 6674547c9..9adb00f92 100644 --- a/objects/file.json +++ b/objects/file.json @@ -41,6 +41,11 @@ "description": "The description of the file, as returned by file system. For example: the description as returned by the Unix file command or the Windows file type.", "requirement": "optional" }, + "ext": { + "caption": "File Extension", + "description": "The extension of the file, excluding the leading dot. For example: exe from svchost.exe, or gz from export.tar.gz.", + "requirement": "recommended" + }, "hashes": { "requirement": "recommended" },