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
Describe the bug
A single run of cnspec scan local reports multiple User-Agent strings when performing http(s) requests, seemingly based on the URL being called.
To Reproduce
Observed while running cnspec scan local --api-proxy http://localhost:8080 against MITMProxy
Expected behavior
cnspec should report a consistent User-Agent string for all outgoing HTTP requests, for example in the format
Screenshots or CLI Output
I can provide a full flow log from MITMProxy upon request. Here is the relevant information w.r.t. request path and reported user-agent
TLDR; there are three User-agent strings here: Go-http-client/1.1,, PN/linux build/4dd693e cnquery/11.24.0, and mondoo-graphql-client/0.0.1
Describe the bug
A single run of
cnspec scan local
reports multiple User-Agent strings when performing http(s) requests, seemingly based on the URL being called.To Reproduce
Observed while running
cnspec scan local --api-proxy http://localhost:8080
against MITMProxyExpected behavior
cnspec should report a consistent User-Agent string for all outgoing HTTP requests, for example in the format
Screenshots or CLI Output
I can provide a full flow log from MITMProxy upon request. Here is the relevant information w.r.t. request path and reported user-agent
TLDR; there are three User-agent strings here:
Go-http-client/1.1,
,PN/linux build/4dd693e cnquery/11.24.0
, andmondoo-graphql-client/0.0.1
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: