lib/contrast/agent/assess/policy/trigger_method.rb in contrast-agent-3.12.1 vs lib/contrast/agent/assess/policy/trigger_method.rb in contrast-agent-3.12.2
- old
+ new
@@ -228,10 +228,10 @@
apply_dataflow_rule(context, trigger_node, value, object, ret, *args)
end
else
logger.warn('Trigger source is of unknown type. Unable to inspect.',
node_id: trigger_node.id,
- source_id: target.__id__,
+ source_id: source.__id__,
source_type: source.cs__class.to_s)
logger.trace(source.to_s[0..99])
end
end