mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
SOC Proxy Setting
The so_proxy value we build during install is now copied to SOC's config.
This commit is contained in:
@@ -1286,6 +1286,7 @@ soc:
|
|||||||
maxPacketCount: 5000
|
maxPacketCount: 5000
|
||||||
htmlDir: html
|
htmlDir: html
|
||||||
importUploadDir: /nsm/soc/uploads
|
importUploadDir: /nsm/soc/uploads
|
||||||
|
proxy: ''
|
||||||
modules:
|
modules:
|
||||||
cases: soc
|
cases: soc
|
||||||
filedatastore:
|
filedatastore:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
{# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
||||||
or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
||||||
https://securityonion.net/license; you may not use this file except in compliance with the
|
https://securityonion.net/license; you may not use this file except in compliance with the
|
||||||
Elastic License 2.0. #}
|
Elastic License 2.0. #}
|
||||||
|
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
|
|
||||||
{% set SOCMERGED = salt['pillar.get']('soc', SOCDEFAULTS, merge=true) %}
|
{% set SOCMERGED = salt['pillar.get']('soc', SOCDEFAULTS, merge=true) %}
|
||||||
|
|
||||||
|
{% set MANAGER_PROXY = salt['pillar.get']('manager:proxy', '') %}
|
||||||
|
{% do SOCMERGED.config.server.update({'proxy': MANAGER_PROXY}) %}
|
||||||
|
|
||||||
{# if SOCMERGED.config.server.modules.cases == httpcase details come from the soc pillar #}
|
{# if SOCMERGED.config.server.modules.cases == httpcase details come from the soc pillar #}
|
||||||
{% if SOCMERGED.config.server.modules.cases != 'soc' %}
|
{% if SOCMERGED.config.server.modules.cases != 'soc' %}
|
||||||
{% do SOCMERGED.config.server.modules.elastic.update({'casesEnabled': false}) %}
|
{% do SOCMERGED.config.server.modules.elastic.update({'casesEnabled': false}) %}
|
||||||
|
|||||||
Reference in New Issue
Block a user