Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper parsing of newer aws sdks #548

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aosti
Copy link

@aosti aosti commented Jun 19, 2023

Hello, I've being using this library successfuly in a data processing pipeline. Recently, I've noticied some useragent strings are not being processed correctly.

For example:
aws-sdk-go-v2/1.18 os/linux lang/go/1.20 md/GOOS/linux md/GOARCH/amd64 api/sts/1.18
aws-sdk-js/3.294 os/linux/5.15 lang/js md/nodejs/16.19 api/dynamodb/3.294
aws-sdk-ruby3/3.170 ruby/3.0 x86_64-linux-musl aws-sdk-core/3.170

For such strings, ua-parser does not identifies the user_agent family or the major/minor versions.

Extend test cases to support aws v2 sdk for some languages
fix test case
Add support for the following aws sdk identification:
aws-sdk-go-v2
aws-sdk-js
aws-sdk-ruby3
@aosti
Copy link
Author

aosti commented Jun 19, 2023

Tests successfully executed locally also.

Fix test cases patch version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant