We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please stop logging authentication creds / token passed as argument or environment variable. Example beginning of the log:
2023/10/13 10:52:10 Argument alert-template-file= Alertmanager URL: {{.Data.ExternalURL}} {{range .Data.Alerts}} * {{.Status}} {{.GeneratorURL}} {{if .Labels}} Labels: {{- end}} {{range $key, $value := .Labels}} - {{$key}} = {{$value -}} {{end}} {{if .Annotations}} Annotations: {{- end}} {{range $key, $value := .Annotations}} - {{$key}} = {{$value -}} {{end}} {{end}} TODO: add graph url from annotations. 2023/10/13 10:52:10 Argument alertlabel=alert:boom: 2023/10/13 10:52:10 Argument authtoken=github_reducted_ 2023/10/13 10:52:10 Argument authtoken-file=
Looking at the code we could use function ArgsFromEnvWithLog(f, false) instead of ArgsFromEnv in the main function.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please stop logging authentication creds / token passed as argument or environment variable.
Example beginning of the log:
Looking at the code we could use function ArgsFromEnvWithLog(f, false) instead of ArgsFromEnv in the main function.
The text was updated successfully, but these errors were encountered: