CybOXProject / python-cybox

A Python library for parsing, manipulating, and generating CybOX content.
http://cybox.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
77 stars 42 forks source link

IPv4 Multiple Addresses Helper Function Wrapping Observable in Observable #322

Closed arcsector closed 5 years ago

arcsector commented 5 years ago

Issue Details

IPv4 Multiple Addresses Helper Function (create_ipv4_list_observables) calls create_ipv4_observable function, which returns Observable type, but then attempts to wrap the Observable type in an Observable using the Observable() class constructor.

Issue Fix

Don't do secondary wrapping, or don't return Observable type from create_ipv4_observable function.

Issue Location

Issue is in the helper functions here.

emmanvg commented 5 years ago

Closed by #323