File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ provisioner:
1919 threatstack_pkg : <%= ENV['TS_PACKAGE_VERSION'] %>
2020 <% end % >
2121 <% if ENV['TS_RULE_SETS'] % >
22- threatstack_ruleset : " <%= ENV['TS_RULE_SETS'] != nil ? ENV['TS_RULE_SETS'] : 'Base Rule Set' % >"
22+ threatstack_ruleset : " <%= ENV['TS_RULE_SETS'] % >"
2323 <% end % >
2424
2525platforms :
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ threatstack_pkg_state: installed
66# to set a version of the agent use threatstack-agent=X.Y.Z
77threatstack_pkg : threatstack-agent
88# threatstack_hostname:
9- # threatstack_ruleset:
9+ threatstack_ruleset :
10+ - ' Base Rule Set'
1011threatstack_config_dir : ' /etc/threatstack'
1112threatstack_config : " {{ threatstack_config_dir }}/tsconfig.json"
1213threatstack_configure_agent : true
Original file line number Diff line number Diff line change 22{% if threatstack_hostname is defined %}
33 "hostname": "{{ threatstack_hostname }}",
44{% endif %}
5- {% if threatstack_ruleset is defined %}
6- "ruleset": "{{ threatstack_ruleset }}",
5+ {% if threatstack_ruleset | length > 0 %}
6+ "ruleset": "{{ threatstack_ruleset | join(",") }}",
77{% endif %}
88 "deploy-key": "{{ threatstack_deploy_key | mandatory }}"
99}
Original file line number Diff line number Diff line change 44 vars :
55 timestamp : " {{ lookup('pipe', 'date +%Y%m%d') }}"
66 threatstack_deploy_key : " {{ lookup('env','API_KEY') }}"
7- threatstack_ruleset : ' Travis Rule Set'
7+ threatstack_ruleset :
8+ - ' Travis Rule Set'
89 threatstack_hostname : ' TravisCI_{{timestamp}}'
910 threatstack_config_dir : ' /etc/threatstack'
1011 threatstack_config : " {{ threatstack_config_dir }}/tsconfig.json"
You can’t perform that action at this time.
0 commit comments