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

[v2] Merge July 27th main into v2 feature branch #789

Merged
merged 71 commits into from
Jul 28, 2022

Commits on Jun 15, 2022

  1. [Automation] Update elastic stack version to 8.4.0-40cff009 for testi…

    …ng (elastic#557)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 15, 2022
    Configuration menu
    Copy the full SHA
    fa82d1a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. [Automation] Update elastic stack version to 8.4.0-5e6770b1 for testi…

    …ng (elastic#564)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 16, 2022
    Configuration menu
    Copy the full SHA
    9e5bb15 View commit details
    Browse the repository at this point in the history
  2. Fix regression and use comma separated values (elastic#560)

    Fix regression from elastic#509
    ph authored Jun 16, 2022
    Configuration menu
    Copy the full SHA
    5f66839 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06ee1dd View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. [Automation] Update elastic stack version to 8.4.0-da5a1c6d for testi…

    …ng (elastic#573)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 17, 2022
    Configuration menu
    Copy the full SHA
    86ca6f7 View commit details
    Browse the repository at this point in the history
  2. Add @metadata.input_id and @metadata.stream_id when injecting str…

    …eams (elastic#527)
    
    These 2 value are going to be used in the shipper to identify where an
    event came from in order to apply processors accordingly.
    
    Also, added test cases for the processor to verify the change and updated test cases with the new processor.
    rdner authored Jun 17, 2022
    Configuration menu
    Copy the full SHA
    7b29dbc View commit details
    Browse the repository at this point in the history
  3. Add filemod times to contents of diagnostics collect command (elastic…

    …#570)
    
    * Add filemod times to contents of diagnostics collect command
    
    Add filemod times to the files and directories in the zip archive.
    Log files (and sub dirs) will use the modtime returned by the fileinfo
    for the source. Others will use the timestamp from when the zip is
    created.
    
    * Fix linter
    michel-laterman authored Jun 17, 2022
    Configuration menu
    Copy the full SHA
    b728dfe View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. [Automation] Update elastic stack version to 8.4.0-b13123ee for testi…

    …ng (elastic#581)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    7db7406 View commit details
    Browse the repository at this point in the history
  2. Fix Agent upgrade 8.2->8.3 (elastic#578)

    * Fix Agent upgrade 8.2->8.3
    * Improve the upgrade encryption handling. Add .yml files cleanup.
    * Rollback ActionUpgrade to action_id, add MarkerActionUpgrade adapter struct for marker serialization compatibility
    aleksmaus authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    d77a91e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    e043f36 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. [Automation] Update elastic stack version to 8.4.0-4fe26f2a for testi…

    …ng (elastic#591)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 22, 2022
    Configuration menu
    Copy the full SHA
    86ea452 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Set explicit ExitTimeOut for MacOS agent launchd plist (elastic#594)

    * Set explicit ExitTimeOut for MacOS agent launchd plist
    aleksmaus authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    c876ac4 View commit details
    Browse the repository at this point in the history
  2. [Automation] Update elastic stack version to 8.4.0-2e32a640 for testi…

    …ng (elastic#599)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    89802c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11ce214 View commit details
    Browse the repository at this point in the history
  4. status identifies failing component, fleet gateway may report degrade…

    …d, liveness endpoint added (elastic#569)
    
    * Add liveness endpoint
    
    Add /liveness route to metrics server. This route will report the status
    from pkg/core/status. fleet-gateway will now report a degraded state if
    a checkin fails. This may not propogate to fleet-server as a failed
    checkin means communications between the agent and the server are not
    working. It may also lead to the server reporting degraded for up to 30s
    (fleet-server polling time) when teh agent is able to successfully
    connect.
    
    * linter fix
    
    * add nolint direcrtive
    
    * Linter fix
    
    * Review feedback, add doc strings
    
    * Rename noop controller file to _test file
    michel-laterman authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    09d924f View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. [Automation] Update elastic stack version to 8.4.0-722a7d79 for testi…

    …ng (elastic#607)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 24, 2022
    Configuration menu
    Copy the full SHA
    daa5c5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90a1f58 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. [Automation] Update elastic stack version to 8.4.0-210dd487 for testi…

    …ng (elastic#620)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 27, 2022
    Configuration menu
    Copy the full SHA
    79bb67e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f69d5b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43ba98d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. [Automation] Update elastic stack version to 8.4.0-a6aa9f3b for testi…

    …ng (elastic#631)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    662a07a View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Configuration menu
    Copy the full SHA
    5c16e08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb6fa02 View commit details
    Browse the repository at this point in the history
  3. Set hostPID=true for managed agent in k8s (elastic#528)

    * Set hostPID=true for managed agent in k8s
    
    * Add comment on hostPID.
    daniel-almeida authored Jun 29, 2022
    Configuration menu
    Copy the full SHA
    5f60fd0 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. [Automation] Update elastic stack version to 8.4.0-86cc80f3 for testi…

    …ng (elastic#648)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    7a4fa6b View commit details
    Browse the repository at this point in the history
  2. Update elastic-agent-libs version: includes restriction on default Ve…

    …rificationMode to `full` (elastic#521)
    
    * update version
    
    * mage fmt update
    
    * update dependency
    
    * update changelog
    narph authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    e194fb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed9d75e View commit details
    Browse the repository at this point in the history
  4. Support Cloudbeat regex input type (elastic#638)

    * support input type with regex
    
    * Update supported.go
    
    * Changing the regex to support backward compatible
    ofiriro3 authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    94975cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    121a4ad View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. [Automation] Update elastic stack version to 8.4.0-3d206b5d for testi…

    …ng (elastic#656)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    319ea0a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. [Automation] Update elastic stack version to 8.4.0-3ad82aa8 for testi…

    …ng (elastic#661)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    fab95b8 View commit details
    Browse the repository at this point in the history
  2. jjbb: exclude allowed branches, tags and PRs (elastic#658)

    cosmetic change in the description and boolean based
    v1v authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    acc91fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8ca007 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42b1a96 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. [Automation] Update elastic stack version to 8.4.0-03bd6f3f for testi…

    …ng (elastic#668)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 5, 2022
    Configuration menu
    Copy the full SHA
    f873f36 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. [Automation] Update elastic stack version to 8.4.0-533f1e30 for testi…

    …ng (elastic#675)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    bbd93ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c2d91a View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. [Automation] Update elastic stack version to 8.4.0-d0a4da44 for testi…

    …ng (elastic#684)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 7, 2022
    Configuration menu
    Copy the full SHA
    a18cfad View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. [Automation] Update elastic stack version to 8.4.0-dd98ded4 for testi…

    …ng (elastic#703)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 11, 2022
    Configuration menu
    Copy the full SHA
    fe78819 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. [Automation] Update elastic stack version to 8.4.0-164d9a10 for testi…

    …ng (elastic#705)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    d1d56a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bda217d View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. [Automation] Update elastic stack version to 8.4.0-00048b66 for testi…

    …ng (elastic#713)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 13, 2022
    Configuration menu
    Copy the full SHA
    be33239 View commit details
    Browse the repository at this point in the history
  2. Allow - in eql variable names (elastic#710)

    * fix to allow dashes in variable names in EQL expressions
    
    extend eql to allow the '-' char to appear in variable names, i.e.,
    ${data.some-var} and additional test cases to eql, the transpiler, and
    the k8s provider to verify this works. Note that the bug was caused by
    the EQL limitation, the otehr test cases were added when attempting to
    find it.
    
    * Regenerate grammer with antlr 4.7.1, add CHANGELOG
    
    * Fix linter issue
    
    * Fix typo
    michel-laterman authored Jul 13, 2022
    Configuration menu
    Copy the full SHA
    28721eb View commit details
    Browse the repository at this point in the history
  3. Fix transpiler to allow : in dynamic variables. (elastic#680)

    Fix transpiler regex to allow ':' characters in dynamic variables so
    that users can input "${dynamic.lookup|'fallback.here'}".
    
    Co-authored-by: Aleksandr Maus <[email protected]>
    michel-laterman and aleksmaus authored Jul 13, 2022
    Configuration menu
    Copy the full SHA
    0560b46 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Fix for the filebeat spec file picking up packetbeat inputs (elastic#700

    )
    
    * Reproduce filebeat picking up packetbeat inputs
    
    * Filebeat: filter inputs as first input transform.
    
    Move input filtering to be the first input transformation that occurs in
    the filebeat spec file. Fixes
    elastic#427.
    
    * Update changelog.
    cmacknz authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    4dcc16b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. [Automation] Update elastic stack version to 8.4.0-3cd57abb for testi…

    …ng (elastic#724)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    f4d2b48 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. [Automation] Update elastic stack version to 8.4.0-a324b98b for testi…

    …ng (elastic#727)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    a5351f9 View commit details
    Browse the repository at this point in the history
  2. ci: run on MacOS12 (elastic#696)

    v1v authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    c6cdfc0 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. [Automation] Update elastic stack version to 8.4.0-31315ca3 for testi…

    …ng (elastic#732)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    21c4812 View commit details
    Browse the repository at this point in the history
  2. fix typo on package command (elastic#734)

    This commit fixes the typo in the package command on the README.md.
    belimawr authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    78019a9 View commit details
    Browse the repository at this point in the history
  3. Allow / to be used in variable names (elastic#718)

    * Allow the / character to be used in variable names.
    
    Allow / to be used in variable names from dynamic providers and eql
    expressions. Ensure that k8s providers can provide variables with
    slashes in their names.
    
    * run antlr4
    
    * Fix tests
    michel-laterman authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    e34e0e7 View commit details
    Browse the repository at this point in the history
  4. Fix Elastic Agent non-fleet broken upgrade between 8.3.x releases (el…

    …astic#701)
    
    * Fix Elastic Agent non-fleet broken upgrade between 8.3.x releases
    
    * Migrates vault directory on linux and windows to the top directory of the
      agent, so it can be shared without needing the upgrade handler call,
      like for example with side-by-side install/upgrade from .rpm/.deb
    * Extended vault to allow read-only open, useful when the vault at particular location needs to be only read not created.
    
    * Correct the typo in the log messages
    
    * Update lint flagged function comment with 'unused', was flagged with 'deadcode' on the previous run
    
    * Address code review feedback
    
    * Add missing import for linux utz
    
    * Change vault path from Top() to Config(), this a better location, next to fleet.enc based on the install/upgrade testing with .rpm/.deb installs
    
    * Fix the missing state migration for .rpm/.deb upgrade. The post install script now performs the migration and creates the symlink after that.
    
    * Fix typo in the postinstall script
    
    * Update the vault migration code, add the agent configuration match check with the agent secret
    aleksmaus authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    8ef98f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. [Automation] Update elastic stack version to 8.4.0-31269fd2 for testi…

    …ng (elastic#746)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    394033d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97e6597 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0e9623 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    Adding M1 variable to export to be able to build AMD images
    pierrehilbert authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    f26b0eb View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. fix flaky (elastic#730)

    narph authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    d84b957 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Add filestream ID on standalone kubernetes manifest (elastic#742)

    This commit add unique IDs for the filestream inputs used by the
    Kubernetes integration in the Elastic-Agent standalone
    Kubernetes configuration/manifest file.
    belimawr authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    be3c48e View commit details
    Browse the repository at this point in the history
  2. Alter github action to run on different OSs (elastic#769)

    Alter the linter action to run on different OSs instead of on linux with
    the $GOOS env var.
    michel-laterman authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    83c4fa2 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. [Automation] Update elastic stack version to 8.4.0-d058e92f for testi…

    …ng (elastic#771)
    
    Co-authored-by: apmmachine <[email protected]>
    apmmachine and apmmachine authored Jul 25, 2022
    Configuration menu
    Copy the full SHA
    c05ce63 View commit details
    Browse the repository at this point in the history
  2. elastic-agent manifests: add comments; add cloudnative team as a code…

    …owner for the k8s manifests (elastic#708)
    
    * managed elastic-agent: add comments; add cloudnative team as a codeowner for the k8s manifests
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * add comments to the standalone elastic-agent, similar to the documentation we have https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: Michael Katsoulis <[email protected]>
    Co-authored-by: Andrew Gizas <[email protected]>
    
    * remove comment for FLEET_ENROLLMENT_TOKEN; use Needed everywhere instead of Required
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * rephrase regarding accessing kube-state-metrics when used third party tools, like kube-rbac-proxy
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * run make check
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * keep manifests in sync to pass ci check
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * add info on where to find FLEET_URL and FLEET_ENROLLMENT_TOKEN
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * add links to elastic-agent documentation
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    * update comment on FLEET_ENROLLMENT_TOKEN
    
    Signed-off-by: Tetiana Kravchenko <[email protected]>
    
    Co-authored-by: Michael Katsoulis <[email protected]>
    Co-authored-by: Andrew Gizas <[email protected]>
    3 people authored Jul 25, 2022
    Configuration menu
    Copy the full SHA
    623fe82 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    56f2216 View commit details
    Browse the repository at this point in the history
  2. Update will cleanup unneeded artifacts. (elastic#752)

    * Update will cleanup unneeded artifacts.
    
    The update process will cleanup unneeded artifacts. When an update
    starts all artifacts that do not have the current version number in it's
    name will be removed. If artifact retrieval fails, downloaded artifacts
    are removed. On a successful upgrade, all contents of the downloads dir
    will be removed.
    
    * Clean up linter warnings
    
    * Wrap errors
    
    * cleanup tests
    
    * Fix passed version
    
    * Use os.RemoveAll
    michel-laterman authored Jul 26, 2022
    Configuration menu
    Copy the full SHA
    3e87782 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    87f3798 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e878103 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d525ae3 View commit details
    Browse the repository at this point in the history
  4. Update go.sum.

    blakerouse committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    3f322de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7283654 View commit details
    Browse the repository at this point in the history
  6. Fix upgrade.

    blakerouse committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    7cf5063 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    366dd67 View commit details
    Browse the repository at this point in the history
  8. Fix lint in coordinator.

    blakerouse committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    692b71e View commit details
    Browse the repository at this point in the history