Island: Remove HTTP_PORTS from top-level agent configuration

Resolves #2028
This commit is contained in:
Mike Salvatore 2022-06-16 12:35:04 -04:00
parent fd36acab3a
commit 1f1c5585f0
2 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
- Update MongoDB version to 4.4.x. #1924
- Endpoint to get agent binaries from "/api/agent/download/<string:os>" to
"/api/agent-binaries/<string:os>". #1978
- Agent configuration structure. #1996, #1998, #1961, #1997, #1994, #1741, #1761, #1695, #1605
- Agent configuration structure. #1996, #1998, #1961, #1997, #1994, #1741,
#1761, #1695, #1605, #2028
### Removed
- VSFTPD exploiter. #1533

View File

@ -357,6 +357,10 @@ class ConfigService:
ConfigService._format_payloads_from_flat_config(config)
ConfigService._format_pbas_from_flat_config(config)
ConfigService._format_propagation_from_flat_config(config)
# Ok, I'll admit this is just sort of jammed in here. But this code is going away very soon.
del config["HTTP_PORTS"]
return config
@staticmethod