class_docstr: Rule engine to processes rules
class_docstr_tok: ["Rule","engine","to","processes","rules"]
docstr: Generate list of outputs from dynamic_outputs
  
  Args:
      record (dict): Record to pass through to the dynamic_output function
      rule (rule.Rule): Attributes for the rule which triggered the alert
  Returns:
      list: list of additional outputs to append to the current set
docstr_tok: ["Generate","list","of","outputs","from","dynamic_outputs","Args",":","record","(","dict",")",":","Record","to","pass","through","to","the","dynamic_output","function","rule","(","rule.Rule",")",":","Attributes","for","the","rule","which","triggered","the","alert","Returns",":","list",":","list","of","additional","outputs","to","append","to","the","current","set"]
code: def _configure_dynamic_outputs(cls, record, rule):
      """Generate list of outputs from dynamic_outputs
  
      Args:
          record (dict): Record to pass through to the dynamic_output function
          rule (rule.Rule): Attributes for the rule which triggered the alert
      Returns:
          list: list of additional outputs to append to the current set
      """
      args_list = [record]
      if rule.context:
          # Pass context to dynamic_output function if context exists
          args_list.append(rule.context)
  
      return [
          output
          for dynamic_output_function in rule.dynamic_outputs_set
          for output in cls._call_dynamic_output_function(
              dynamic_output_function, rule.name, args_list
          )
      ]
  
imports: from datetime import datetime, timedelta
  from os import environ
  from streamalert.shared.publisher import AlertPublisherRepository
  from streamalert.rules_engine.alert_forwarder import AlertForwarder
  from streamalert.rules_engine.threat_intel import ThreatIntel
  from streamalert.shared import resources, RULES_ENGINE_FUNCTION_NAME
  from streamalert.shared.alert import Alert
  from streamalert.shared.config import load_config
  from streamalert.shared.importer import import_folders
  from streamalert.shared.logger import get_logger
  from streamalert.shared.lookup_tables.core import LookupTables
  from streamalert.shared.metrics import MetricLogger
  from streamalert.shared.rule import Rule
  from streamalert.shared.rule_table import RuleTable
  from streamalert.shared.stats import RuleStatisticTracker
label_desc: Use image node_id 9 for calling the RulesEngine obj's underlying member method code with example usage: obj._configure_dynamic_outputs(cls, record, rule) and returns: unknown