Alert transport cleanup, no_proxy support and other proxy cleanups (#14763)

* Add no_proxy and other proxy related settings
Set user agent on all http client requests
Unify http client usage

* Style fixes

* Remove useless use statements

* Correct variable, good job phpstan

* Add tests
fix https_proxy bug
add tcp:// to the config settings format

* style and lint fixes

* Remove guzzle from the direct dependencies

* Use built in Laravel testing functionality

* update baseline
This commit is contained in:
Tony Murray
2023-05-23 09:25:17 -05:00
committed by GitHub
parent 02896172bd
commit 04bb75f5f3
78 changed files with 1545 additions and 2314 deletions

View File

@@ -823,8 +823,12 @@ return [
'help' => 'Can be a ENV or HTTP-header field like REMOTE_USER, PHP_AUTH_USER or a custom variant',
],
'http_proxy' => [
'description' => 'HTTP(S) Proxy',
'help' => 'Set this as a fallback if http_proxy or https_proxy environment variable is not available.',
'description' => 'HTTP Proxy',
'help' => 'Set this as a fallback if http_proxy environment variable is not available.',
],
'https_proxy' => [
'description' => 'HTTPS Proxy',
'help' => 'Set this as a fallback if https_proxy environment variable is not available.',
],
'ignore_mount' => [
'description' => 'Mountpoints to be ignored',
@@ -968,6 +972,10 @@ return [
'nmap' => [
'description' => 'Path to nmap',
],
'no_proxy' => [
'description' => 'Proxy Exceptions',
'help' => 'Set this as a fallback if no_proxy environment variable is not available. Comma seperated list of IPs, hosts or domains to ignore.',
],
'opentsdb' => [
'enable' => [
'description' => 'Enable',