Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SIEM] Update TLS tables for ECS 1.4+ #60026

Closed
andrewkroh opened this issue Mar 12, 2020 · 5 comments
Closed

[SIEM] Update TLS tables for ECS 1.4+ #60026

andrewkroh opened this issue Mar 12, 2020 · 5 comments
Labels
Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM

Comments

@andrewkroh
Copy link
Member

The TLS tables in the SIEM UI we first created before there were any TLS fields defined in Elastic Common Schema (ECS). Since ECS 1.4 the TLS fields have been added. The Beat data sources are being updated to produce ECS conforming TLS events. Now the queries executed by the UI need to be updated.

One open question is whether the tables should remain backward-compatible with the earlier Packetbeat format for some time period.

See also:

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@XavierM
Copy link
Contributor

XavierM commented Mar 12, 2020

One open question is whether the tables should remain backward-compatible with the earlier Packetbeat format for some time period.

We need to discuss that with @MikePaquette

@MikePaquette
Copy link

One open question is whether the tables should remain backward-compatible with the earlier Packetbeat format for some time period.

If possible, yes, please.

@antcodd
Copy link

antcodd commented May 26, 2020

The fields used for drag and drop don't seem to have been updated so return no results when dragged to a timeline, see #67299.

It would also be good to update the fields used in timeline row renderers, such as the certificate fingerprint.

@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Oct 27, 2020
@andrewkroh
Copy link
Member Author

I re-reviewed the TLS table in 8.13.2 and the query from Inspect shows it only uses fields present in ECS 8.11. Closing.

{
  "aggs": {
    "count": {
      "cardinality": {
        "field": "tls.server.hash.sha1"
      }
    },
    "sha1": {
      "terms": {
        "field": "tls.server.hash.sha1",
        "size": 10,
        "order": {
          "_key": "desc"
        }
      },
      "aggs": {
        "issuers": {
          "terms": {
            "field": "tls.server.issuer"
          }
        },
        "subjects": {
          "terms": {
            "field": "tls.server.subject"
          }
        },
        "not_after": {
          "terms": {
            "field": "tls.server.not_after"
          }
        },
        "ja3": {
          "terms": {
            "field": "tls.client.ja3"
          }
        }
      }
    }
  },
  "query": {
    "bool": {
      "filter": [
        {
          "bool": {
            "must": [],
            "filter": [],
            "should": [],
            "must_not": []
          }
        },
        {
          "range": {
            "@timestamp": {
              "gte": "2024-04-16T04:00:00.000Z",
              "lte": "2024-04-17T03:59:59.999Z",
              "format": "strict_date_optional_time"
            }
          }
        }
      ]
    }
  },
  "size": 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM
Projects
None yet
Development

No branches or pull requests

6 participants