lib/contrast/agent/assess/policy/policy.rb in contrast-agent-3.8.5 vs lib/contrast/agent/assess/policy/policy.rb in contrast-agent-3.9.0
- old
+ new
@@ -93,23 +93,9 @@
PROVIDER_CLASSES = [
Contrast::Agent::Assess::Rule::Provider::HardcodedKey,
Contrast::Agent::Assess::Rule::Provider::HardcodedPassword
].cs__freeze
-
- # Handles updating the dynamic sources of this Application and indicates
- # if doing so results in a state that requires repatching -- i.e. new
- # dynamic sources have been discovered by agents monitoring other
- # instances of this application
- def update_dynamic_sources dynamic_sources_map
- dynamic_sources_map.each do |key, dynamic_source|
- # key is the dynamic source node id
- next if sources.any? { |source| source.id == key }
-
- dynamic_source_node = Contrast::Agent::Assess::Policy::SourceNode.build_dynamic_source(key, dynamic_source)
- add_node(dynamic_source_node, :dynamic_source)
- end
- end
end
end
end
end
end