Skip to content

DescribeLogStreams is exposing all LogStreamsInBrowser #190

Open
@ivikash

Description

@ivikash

@lazywithclass Thank-You so much for this awesome Library. I am facing some issues with DescribeLogStreams API call which is being initiated in the beginning of API calls.

Current Behavior

We are using wiston and wiston-cloudwatch to create a Logger for Browser environment. For the CloudWatch credentials (or to create the CloudWatch client), we are using Cognito Identity Pool with unauthenticated Role.

The first request to CloudWatch is for DescribeLogStreams which is exposing all our LogStreamNames. We have a lot a LogStreams and due to paginated API there are multiple requests regarding the same.

Expected Behavior

The expected behavior is disable the DescribeLogStreams API call in favor of not exposing the LogStream. Either this should enabled by default or through a configuration.

Environment

  • Browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions