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

[Heartbeat] Add Additional ECS tls.* fields #17687

Merged
merged 30 commits into from
Apr 27, 2020

Commits on Apr 13, 2020

  1. [Heartbeat] Add Additional ECS tls.* fields

    This patch adds additional [ECS
    fields](https://www.elastic.co/guide/en/ecs/current/ecs-tls.html).
    
    Sample output of the `tls.*` fields with this patch is below. Note the
    somewhat strange nesting of data in `issuer` and `subject`. This is per
    the ECS spec, but a bit awkward. We may want to break this data out into
    the more specific ECS `x509` type in the future. For UI work we are likely
    fine to parse this on the client and display the CN section in most
    cases.
    
    ```json
    {
      "version": "1.2",
      "version_protocol": "tls"
      "cipher": "ECDHE-RSA-AES-128-GCM-SHA256",
      "server": {
        "subject": "CN=r2.shared.global.fastly.net,O=Fastly\\, Inc.,L=San Francisco,ST=California,C=US",
        "hash": {
          "sha1": "b7b4b89ef0d0caf39d223736f0fdbb03c7b426f1",
          "sha256": "12b00d04db0db8caa302bfde043e88f95baceb91e86ac143e93830b4bbec726d"
        },
        "not_before": "2019-08-16T01:40:25.000Z",
        "not_after": "2019-08-16T01:40:25.000Z",
        "issuer": "CN=GlobalSign CloudSSL CA - SHA256 - G3,O=GlobalSign nv-sa,C=BE"
      },
      "certificate_not_valid_before": "2019-08-16T01:40:25.000Z",
      "certificate_not_valid_after": "2020-07-16T03:15:39.000Z",
      "established": true,
      "rtt": {
        "handshake": {
          "us": 42491
        }
      },
    }
    ```
    
    Work goes towards elastic/uptime#161
    andrewvc committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    f48c3a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba10d51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bfc0974 View commit details
    Browse the repository at this point in the history
  4. Improve fmt and docs

    andrewvc committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    b11e5c4 View commit details
    Browse the repository at this point in the history
  5. Add changelog

    andrewvc committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    1187c26 View commit details
    Browse the repository at this point in the history
  6. Add TLS1.3 Ciphers

    andrewvc committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    2c65b20 View commit details
    Browse the repository at this point in the history
  7. Update tests

    andrewvc committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    b063621 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1e061ab View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Use new x509 ECS fields

    andrewvc committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    69f7fd1 View commit details
    Browse the repository at this point in the history
  2. Better testing

    andrewvc committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    7b2801a View commit details
    Browse the repository at this point in the history
  3. DSA key len

    andrewvc committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    ee3c547 View commit details
    Browse the repository at this point in the history
  4. Add pk exponent

    andrewvc committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    3347a9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfae428 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Configuration menu
    Copy the full SHA
    b37947b View commit details
    Browse the repository at this point in the history
  2. Fix sort of imports

    andrewvc committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    002eb09 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90578c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Configuration menu
    Copy the full SHA
    1eb461b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    abc5f24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    577f203 View commit details
    Browse the repository at this point in the history
  4. Add tls.server.x509 fields

    andrewvc committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    0bb2a09 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Configuration menu
    Copy the full SHA
    deb7d6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f64650c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d748b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. FMT

    andrewvc committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    7a54cbc View commit details
    Browse the repository at this point in the history
  2. Searchable experiment

    andrewvc committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    e9ac63d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3979fbf View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Configuration menu
    Copy the full SHA
    83cd709 View commit details
    Browse the repository at this point in the history
  2. Support new wildcard field

    andrewvc committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    63a02a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96cde8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b6c08e View commit details
    Browse the repository at this point in the history