Merge pull request #4543 from Security-Onion-Solutions/issue/2977

Issue/2977
This commit is contained in:
Josh Patterson
2021-06-16 08:16:36 -04:00
committed by GitHub

View File

@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
{% if sls in allowed_states and grains.role not in ['so-manager', 'so-managersearch'] %}
{% set interface = salt['pillar.get']('sensor:interface', 'bond0') %}
{% set VERSION = salt['pillar.get']('global:soversion', 'HH1.2.2') %}
@@ -205,4 +205,4 @@ clean_suricata_eve_files:
test.fail_without_changes:
- name: {{sls}}_state_not_allowed
{% endif %}
{% endif %}