Skip to content

Commit

Permalink
small tweak to env var setting for rules lambda (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandeivert committed Oct 14, 2019
1 parent 0712d09 commit 07b6913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamalert_cli/terraform/rules_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def generate_rules_engine(config):
'STREAMALERT_PREFIX': prefix,
}

if 'log_rule_statistics' in config['lambda']['rules_engine_config']:
if config['lambda']['rules_engine_config'].get('log_rule_statistics'):
environment['STREAMALERT_TRACK_RULE_STATS'] = '1'

# Set variables for the Lambda module
Expand Down

0 comments on commit 07b6913

Please sign in to comment.