From 56f72b822d883a2a29a210dd64f15788e54126f7 Mon Sep 17 00:00:00 2001 From: Kevin Ledesma Date: Mon, 3 Feb 2025 14:02:32 -0300 Subject: [PATCH] Update states-vulnerabilities package.size field type to unsigned_long (#663) * Add custom package ECS definition with package.size as unsigned_long * Update package.size description * Update main package ECS field description --- .../fields/custom/package.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ecs/states-vulnerabilities/fields/custom/package.yml diff --git a/ecs/states-vulnerabilities/fields/custom/package.yml b/ecs/states-vulnerabilities/fields/custom/package.yml new file mode 100644 index 0000000000000..40d04c580f521 --- /dev/null +++ b/ecs/states-vulnerabilities/fields/custom/package.yml @@ -0,0 +1,15 @@ +- name: package + title: Package + group: 2 + short: These fields contain information about an installed software package. + description: > + These fields contain information about an installed software package. + It contains general information about a package, such as name, version or size. + It also contains installation details, such as time or location. + type: group + fields: + - name: size + type: unsigned_long + level: custom + description: > + Package size in bytes.