Skip to content

update our agent spec to fit the new integration stream format #290

Description

@oren-zohar

Background
As @DaveSys911 pointed out, currently, our beat is parsing the stream as is, instead of defining the expected params in the cloudbeat agent spec

In Depth
if we'll look at the new permission parameters we added to the integration, for example, session_token, our beat expects the following format to come from the integration:

stream:
   session_token: <some_session_token>

instead of just:

session_token: <some_session_token>

This has the following disadvantages:

  1. it will force our cloudbeat reference to be nested under the stream key, for any param we're expecting to receive from the integration.
  2. Setting default values in the configuration yaml can be more complex, as it's not flat
  3. this is not following the convention that is seen in other beats
  4. this will force the standalone configuration to add streams to the config, which is confusing since the standalone should not handle outside streams at all.

Definition of done

  • update cloudbeat spec to support the new params
  • remove the streams from our deployment ymls
  • update our stream parsing (should not expect the stream key)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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