From f5f73579e4a88fd7b4a2581cbdefe041864d0235 Mon Sep 17 00:00:00 2001 From: Kelly Baker Date: Sun, 23 Feb 2020 16:11:40 -0800 Subject: [PATCH] Update linux-static-proxy-configuration.md @mjcaparas Edit complete. A few comments: - TOC title should be sentence case "Static proxy configuration" instead of title case. - Line 48: Is "prepended" the intended term? - Line 73: Implies that two commands follow, but there's only one command beneath. Thanks! Kelly --- .../linux-static-proxy-configuration.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/windows/security/threat-protection/microsoft-defender-atp/linux-static-proxy-configuration.md b/windows/security/threat-protection/microsoft-defender-atp/linux-static-proxy-configuration.md index 4ced587060..43330660a0 100644 --- a/windows/security/threat-protection/microsoft-defender-atp/linux-static-proxy-configuration.md +++ b/windows/security/threat-protection/microsoft-defender-atp/linux-static-proxy-configuration.md @@ -1,7 +1,7 @@ --- -title: Microsoft Defender ATP for Linux Static Proxy Discovery +title: Microsoft Defender ATP for Linux static proxy discovery ms.reviewer: -description: Describes how to configure Microsoft Defender ATP for static proxy discovery +description: Describes how to configure Microsoft Defender ATP for static proxy discovery. keywords: microsoft, defender, atp, linux, installation, proxy search.product: eADQiWindows 10XVcnh search.appverid: met150 @@ -24,11 +24,11 @@ ms.topic: conceptual - [Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP) for Linux](microsoft-defender-atp-linux.md) -Microsoft Defender ATP can discover a proxy server via the ```HTTPS_PROXY``` environment variable. This setting must be configured **both** at installation time and after the product has been installed. +Microsoft Defender ATP can discover a proxy server using the ```HTTPS_PROXY``` environment variable. This setting must be configured **both** at installation time and after the product has been installed. ## Installation time configuration -During installation, the ```HTTPS_PROXY``` environment variable must be passed to the package manager. The package manager can read this variable in any of these three ways: +During installation, the ```HTTPS_PROXY``` environment variable must be passed to the package manager. The package manager can read this variable in any of the following ways: - The ```HTTPS_PROXY``` variable is defined in ```/etc/environment``` with the following line: @@ -36,16 +36,16 @@ During installation, the ```HTTPS_PROXY``` environment variable must be passed t HTTPS_PROXY=”http://proxy.server:port/” ``` -- The `HTTPS_PROXY` variable is defined in the package manager global configuration. For example, in Ubuntu 18.04, you can add the following line to `/etc/apt/apt.conf.d/proxy.conf` +- The `HTTPS_PROXY` variable is defined in the package manager global configuration. For example, in Ubuntu 18.04, you can add the following line to `/etc/apt/apt.conf.d/proxy.conf`: ```bash Acquire::https::Proxy "http://proxy.server:port/"; ``` -> [!CAUTION] -> Note that above two methods could define the proxy to use for other applications on your system. Use this method with caution, or only if this is mean to be a generally global configuration. + > [!CAUTION] + > Note that above two methods could define the proxy to use for other applications on your system. Use this method with caution, or only if this is meant to be a generally global configuration. -- The `HTTPS_PROXY` variable is prepended to the installation and/or uninstallation commands. For example with the APT package manager, prepend the variable as follows when installing Microsoft Defender ATP: +- The `HTTPS_PROXY` variable is prepended to the installation or uninstallation commands. For example, with the APT package manager, prepend the variable as follows when installing Microsoft Defender ATP: ```bash $ HTTPS_PROXY=”http://proxy.server:port/" apt install mdatp @@ -60,17 +60,17 @@ Note that installation and uninstallation will not necessarily fail if a proxy i ## Post installation configuration -After installation, the `HTTPS_PROXY` environment variable must be defined in the Microsoft Defender ATP service file. To do this, open `/lib/systemd/system/mdatp.service` in a text editor while running as the root user. Then, you can propagate the variable to the service in one of two ways: +After installation, the `HTTPS_PROXY` environment variable must be defined in the Microsoft Defender ATP service file. To do this, open `/lib/systemd/system/mdatp.service` in a text editor while running as the root user. You can then propagate the variable to the service in one of two ways: - Uncomment the line `#Environment=HTTPS_PROXY="http://address:port”` and specify your static proxy address. -- Add a line `EnvironmentFile=/path/to/env/file`. This path can point to `/etc/environment` or a custom file, either of which needs to the following line: +- Add a line `EnvironmentFile=/path/to/env/file`. This path can point to `/etc/environment` or a custom file, either of which needs to add the following line: ```bash HTTPS_PROXY=”http://proxy.server:port/” ``` -After modifying the `mdatp.service` file, save and close it. Restart the service so the changes can go into effect. In Ubuntu, this involves two commands: +After modifying the `mdatp.service` file, save and close it. Restart the service so the changes can be applied. In Ubuntu, this involves two commands: ```bash $ systemctl daemon-reload; systemctl restart mdatp