We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8a772 commit fc5b21fCopy full SHA for fc5b21f
pkg/version/version.go
@@ -21,8 +21,11 @@ var GoVersion string
21
22
// UserAgent return a standard user agent for use with all HTTP requests. This is implemented in one place so
23
// it's uniform across the Kubernetes Agent.
24
+//
25
+// TODO(wallrj): Security settings on the CyberArk API currently require a
26
+// Mozilla/ user-agent prefix.
27
func UserAgent() string {
- return fmt.Sprintf("venafi-kubernetes-agent/%s", PreflightVersion)
28
+ return fmt.Sprintf("Mozilla/5.0 venafi-kubernetes-agent/%s", PreflightVersion)
29
}
30
31
// SetUserAgent augments an http.Request with a standard user agent.
0 commit comments