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:
- it will force our cloudbeat reference to be nested under the stream key, for any param we're expecting to receive from the integration.
- Setting default values in the configuration yaml can be more complex, as it's not flat
- this is not following the convention that is seen in other beats
- 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
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:instead of just:
This has the following disadvantages:
Definition of done