diff --git a/README.md b/README.md index 8541fde..7e525b3 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ the installation of MISP itself, for the database, for the configuration and for * `stix_git_tag`- Version of the STIX module. By default "v1.1.1.4". * `cybox_git_repo`- Git url of the CyBox repository. By default "https://github.com/CybOXProject/python-cybox.git". * `cybox_git_tag`- Version of the CyBox module. By default "v2.1.0.12". +* `cake_resque_version`- Version of Cake Resque. By default "4.1.2". * `timezone`- Timezone where the instance has been placed. By default "UTC". * `default_user`- User as which to run the installation of MISP. By default apache. * `default_group`- Group as which to run the installation of MISP. By default apache. @@ -230,6 +231,7 @@ By default set to "Rooraenietu8Eeyo '/usr/bin/php composer.phar require kamisama/cake-resque:4.1.2', + command => "/usr/bin/php composer.phar require kamisama/cake-resque:${misp::cake_resque_version}", cwd => "${misp::install_dir}/app/", environment => ["COMPOSER_HOME=${misp::install_dir}/app/"], refreshonly => true, diff --git a/templates/config.php.erb b/templates/config.php.erb index 6456af8..25b1146 100644 --- a/templates/config.php.erb +++ b/templates/config.php.erb @@ -25,6 +25,7 @@ $config = array ( 'live' => <%= @live -%>, 'language' => '<%= @language -%>', 'enable_advanced_correlations' => <%= @enable_advanced_correlations -%>, +<% unless @python_bin.nil? -%> 'python_bin' => '<%= @python_bin -%>',<%= "\n" %><% end -%> 'ssdeep_correlation_threshold' => <%= @ssdeep_correlation_threshold -%>, 'max_correlations_per_event' => <%= @max_correlations_per_event -%>, 'maintenance_message' => '<%= @maintenance_message -%>', @@ -53,6 +54,7 @@ $config = array ( 'default_event_distribution' => '<%= @default_event_distribution -%>', 'default_attribute_distribution' => '<%= @default_attribute_distribution -%>', 'default_event_threat_level' => '<%= @default_event_threat_level -%>', + 'default_event_tag_collection' => <%= @default_event_tag_collection -%>, 'tagging' => <%= @tagging -%>, 'full_tags_on_event_index' => <%= @full_tags_on_event_index -%>, 'welcome_text_top' => '<%= @welcome_text_top -%>', @@ -132,10 +134,10 @@ $config = array ( 'Session' => array ( 'autoRegenerate' => <%= @session_auto_regenerate -%>, - 'checkAgent' => '<%= @session_check_agent -%>', + 'checkAgent' => <%= @session_check_agent -%>, 'defaults' => '<%= @session_defaults -%>', 'timeout' => '<%= @session_timeout -%>', - 'cookie_timeout' => '<%= @session_cookie_timeout -%>' + 'cookie_timeout' => <%= @session_cookie_timeout -%> ), 'Plugin' => array ( @@ -165,8 +167,8 @@ $config = array ( 'ZeroMQ_tag_notifications_enable' => <%= @zeromq_tag_notifications_enable -%>, 'ZeroMQ_audit_notifications_enable' => <%= @zeromq_audit_notifications_enable -%>, 'ElasticSearch_logging_enable' => <%= @elasticsearch_logging_enable -%>, - 'ElasticSearch_connection_string' => <%= @elasticsearch_connection_string -%>, - 'ElasticSearch_log_index' => <%= @elasticsearch_log_index -%>, + 'ElasticSearch_connection_string' => '<%= @elasticsearch_connection_string -%>', + 'ElasticSearch_log_index' => '<%= @elasticsearch_log_index -%>', 'syslog' => <%= @syslog -%>, 'Sightings_enable' => <%= @sightings_enable -%>, 'Sightings_policy' => <%= @sightings_policy -%>,