Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/cloud_security_posture/_dev/build/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
ecs:
reference: git@v8.3.0
Comment thread
kfirpeled marked this conversation as resolved.
Outdated
5 changes: 5 additions & 0 deletions packages/cloud_security_posture/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.2.9"
changes:
- description: Fix ECS import
type: enhancement
link: https://github.com/elastic/integrations/pull/5106
- version: "1.2.8"
changes:
- description: Add cloud fields to mapping
Expand Down
Original file line number Diff line number Diff line change
@@ -1,213 +1,128 @@
- name: "@timestamp"
external: ecs
type: date
- name: agent.ephemeral_id
external: ecs
type: keyword
- name: agent.id
external: ecs
type: keyword
- name: agent.name
external: ecs
type: keyword
- name: agent.type
external: ecs
type: keyword
- name: agent.version
external: ecs
type: keyword
- name: ecs.version
external: ecs
type: keyword
- name: event.agent_id_status
external: ecs
type: keyword
- name: event.ingested
external: ecs
type: date
- name: file.accessed
external: ecs
type: date
- name: file.ctime
external: ecs
type: date
- name: file.directory
external: ecs
type: keyword
- name: file.extension
external: ecs
type: keyword
- name: file.gid
external: ecs
type: keyword
- name: file.group
external: ecs
type: keyword
- name: file.inode
external: ecs
type: keyword
- name: file.mode
external: ecs
type: keyword
- name: file.mtime
external: ecs
type: date
- name: file.name
external: ecs
type: keyword
- name: file.owner
external: ecs
type: keyword
- name: file.path
external: ecs
type: keyword
- name: file.size
external: ecs
type: long
- name: file.type
external: ecs
type: keyword
- name: file.uid
external: ecs
type: keyword
- name: host.architecture
external: ecs
type: keyword
- name: host.containerized
external: ecs
type: boolean
- name: host.hostname
external: ecs
type: keyword
- name: host.ip
external: ecs
type: ip
- name: host.mac
external: ecs
type: keyword
- name: host.name
external: ecs
type: keyword
- name: host.os.codename

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

host.os.codename and host.containerized are not part of ECS atm
elastic/ecs#294
elastic/ecs#1512

Do you think it's worth adding them as a custom field? and for the sake of backward compatibility?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as the field type does not change between the type you set manually and the type the ECS field ends up being its fine to map them. If its unsure then we should get confirmation about the preferred type first.

external: ecs
type: keyword
- name: host.os.family
external: ecs
type: keyword
- name: host.os.full
external: ecs
type: keyword
- name: host.os.kernel
external: ecs
type: keyword
- name: host.os.name
external: ecs
type: keyword
- name: host.os.platform
external: ecs
type: keyword
- name: host.os.type
external: ecs
type: keyword
- name: host.os.version
external: ecs
type: keyword
- name: message
external: ecs
type: match_only_text
- name: process.args
external: ecs
type: keyword
- name: process.args_count
external: ecs
type: long
- name: process.command_line
external: ecs
type: wildcard
- name: process.name
external: ecs
type: keyword
- name: process.parent.pid
external: ecs
type: long
- name: process.parent.start
external: ecs
type: date
- name: process.pgid
external: ecs
type: long
- name: process.pid
external: ecs
type: long
- name: process.start
external: ecs
type: date
- name: process.title
external: ecs
type: keyword
- name: process.uptime
external: ecs
type: long
- name: rule.benchmark.id
external: ecs
type: keyword
- name: rule.benchmark.name
external: ecs
type: keyword
- name: rule.benchmark.version
external: ecs
type: keyword
- name: rule.description
external: ecs
type: keyword
- name: rule.id
external: ecs
type: keyword
- name: rule.name
external: ecs
type: keyword
- name: rule.section
external: ecs
type: keyword
- name: rule.tags
external: ecs
type: keyword
- name: rule.version
external: ecs
type: keyword
- name: event.category
external: ecs
type: keyword
- name: event.created
external: ecs
type: date
- name: event.ingested
external: ecs
type: date
- name: event.id
external: ecs
type: keyword
- name: event.kind
external: ecs
type: keyword
- name: event.sequence
external: ecs
type: long
- name: event.outcome
external: ecs
type: keyword
- name: event.type
external: ecs
type: keyword
- name: orchestrator.cluster.name
external: ecs
type: keyword
- name: cloud.account.id
external: ecs
type: keyword
- name: cloud.account.name
external: ecs
type: keyword
- name: cloud.provider
external: ecs
type: keyword
2 changes: 1 addition & 1 deletion packages/cloud_security_posture/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: cloud_security_posture
title: "Security Posture Management (CSPM/KSPM)"
version: 1.2.8
version: 1.2.9
release: ga
license: basic
description: "DO NOT USE MAIN TILE (WIP)"
Expand Down