Merge pull request #2689 from Security-Onion-Solutions/issue/2679

Issue/2679
This commit is contained in:
Josh Patterson
2021-01-20 15:14:38 -05:00
committed by GitHub
45 changed files with 492 additions and 290 deletions

View File

@@ -1,7 +1,5 @@
{% set show_top = salt['state.show_top']() %}
{% set top_states = show_top.values() | join(', ') %}
{% if 'common' in top_states %}
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
{% set role = grains.id.split('_') | last %}
@@ -260,8 +258,8 @@ docker:
{% else %}
common_state_not_allowed:
{{sls}}_state_not_allowed:
test.fail_without_changes:
- name: common_state_not_allowed
- name: {{sls}}_state_not_allowed
{% endif %}