CybOXProject / python-cybox

A Python library for parsing, manipulating, and generating CybOX content.

Home Page:http://cybox.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv4 Multiple Addresses Helper Function Wrapping Observable in Observable

arcsector opened this issue · comments

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.