Skip to content

[SIEM] Remove deprecated code from 8.0 #19039

@andrewkroh

Description

@andrewkroh

I looked through the Security Ingest modules/beats for comments and TODOs indicating that a change was needed for 8.0. This may not be an exhaustive list so if you know of change that should be made for 8.0 please add it hear.

Winlogbeat

Auditbeat

Packetbeat

// remove this in 8.x
"version": cert.Version,

// remove this in 8.x
{"province", name.Province},

fields.Put("tls.detailed", detailed)
if cert, ok := detailed["client_certificate"]; ok {
fields.Put("tls.client.x509", cert)
}
if cert, ok := detailed["server_certificate"]; ok {
fields.Put("tls.server.x509", cert)

  • Remove network_traffic ECS category:

Category: []string{"network_traffic", "network"},

Filebeat

  • Duplicated DNS fields in CoreDNS module

# The following copies values from dns namespace (ECS) to the coredns
# namespace to avoid introducing breaking change. This should be removed
# for 8.0.0. Additionally coredns.dnssec_ok can be removed.
- set:
field: coredns.id
value: '{{dns.id}}'
ignore_empty_value: true
- set:
field: coredns.query.class
value: '{{dns.question.class}}'
ignore_empty_value: true
- set:
field: coredns.query.name
value: '{{dns.question.name}}'
ignore_empty_value: true
- set:
field: coredns.query.type
value: '{{dns.question.type}}'
ignore_empty_value: true
- set:
field: coredns.response.code
value: '{{dns.response_code}}'
ignore_empty_value: true
- script:
if: ctx.dns?.header_flags != null
lang: painless
source: >
ctx.coredns.response.flags = ctx.dns.header_flags;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions