You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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
The text was updated successfully, but these errors were encountered:
This pull request will help you set the credentials correctly, and stop you from listing all values in the default profile (which is what is happening now to cause your issue): #192
@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
andwiston-cloudwatch
to create a Logger for Browser environment. For theCloudWatch
credentials (or to create the CloudWatch client), we are usingCognito Identity Pool
withunauthenticated Role
.The first request to CloudWatch is for
DescribeLogStreams
which is exposing all ourLogStreamNames
. We have a lot aLogStreams
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 theLogStream
. Either this should enabled by default or through a configuration.Environment
The text was updated successfully, but these errors were encountered: