-
Notifications
You must be signed in to change notification settings - Fork 22
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
Consider Ability to Append to HTTP User-Agent Header #51
Comments
I have some (limited) experience with proxies, but I'd love some more insight into how this would work in practice? Is the idea is that all requests go through a proxy and the machine running TF provider tests has a self-signed SSL cert installed for HashiCorp domains, so that the proxy can actually intercept the SSL-encrypted traffic, including the headers (since both endpoints are HTTPS)? It sounds like a pretty expensive way of controlling the traffic, when the hostname can be effectively checked (assuming they also control the DNS) without having to decrypt anything, let alone the amount of false alarms checking That is to say I am not objecting to a customizable |
Ah ha, hashicorp/terraform-exec#9 was for language server metrics. I don't think that would apply to this library, so I'm actually tempted to close this out, unless the folks monitoring checkpoint/releases requests might care. |
Right, I think that was mainly about the runtime, e.g. requests to TFC via Terraform. There's a point to be made about filtering downloads of products (incl. Terraform) by That said - if someone comes up with a compelling use case for customizable User-Agent I'd be happy to add it! |
Description
Implementors may wish to append their own HTTP
User-Agent
header data, e.g. hashicorp/terraform-plugin-sdk#682In terraform-plugin-sdk's acceptance testing case, we'd automatically append information about the SDK and include the conventional
TF_APPEND_USER_AGENT
environment variable value.If I recall correctly, a main practitioner use case for this was with enterprise Intrusion Detection Systems (IDS) which either log the header or filter based on the header for all outgoing HTTP requests on a corporate network.
The text was updated successfully, but these errors were encountered: