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
Issue:
When clickops action for S3 Buckets (Create/Delete, Update Policy/Settings), the action was not picked up, and no notification was sent.
Cause:
The userAgent shows in payload for s3bucket clickops action:
"eventName": "CreateBucket",
"awsRegion": "<region>",
"sourceIPAddress": "<ip>",
"userAgent": "[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36]",
The current self.USER_AGENT_RE (clickops.py) has "^Mozilla/", it doesn't cover starting with "["
Fix:
Add the following in the list self.USER_AGENTS_RE (clickops.py), it works
"^Mozilla/",
"^\[Mozilla/",
PS: Tried to raise Pull request, but got access denied on push.
The text was updated successfully, but these errors were encountered:
MXGong
changed the title
ClickOps S3 Bucket Actions Not Detected by UserAgent
ClickOps S3 Bucket Actions Not Picked Up by UserAgent
Nov 19, 2024
Issue:
When clickops action for S3 Buckets (Create/Delete, Update Policy/Settings), the action was not picked up, and no notification was sent.
Cause:
The userAgent shows in payload for s3bucket clickops action:
The current self.USER_AGENT_RE (clickops.py) has
"^Mozilla/"
, it doesn't cover starting with "["Fix:
Add the following in the list self.USER_AGENTS_RE (clickops.py), it works
PS: Tried to raise Pull request, but got access denied on push.
The text was updated successfully, but these errors were encountered: