Giter Site home page Giter Site logo

Comments (3)

FloatingGhost avatar FloatingGhost commented on September 24, 2024

how am I supposed to know?

I can't test it without knowing what you tried to convert.

Christ some people, is it THAT hard to allow me to replicate your issues?

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 24, 2024

Going with repo policy, raising an issue without any sort of test data to replicate means I'm closing this.

Please don't do it again.

from misp-taxii-server.

faustus25 avatar faustus25 commented on September 24, 2024

It is an FSISAC repo pull file with 680,000 lines of which most would have to be redacted. (Yes, due to the TLP concept some STIX files can't be shared in their entirety!)

I will extract the some of the content to high the impacted string which is causing the push to fail:
File "src/lxml/etree.pyx", line 3441, in lxml.etree.parse File "src/lxml/parser.pxi", line 1855, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseFilelikeDocument File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFilelike File "src/lxml/parser.pxi", line 1185, in lxml.etree._BaseParser._parseDocFromFilelike File "src/lxml/parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 709, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError opentaxii.taxii.exceptions.FailureStatus: AttValue: ' expected, line 610, column 891 (<string>, line 610), timestamp=2017-11-08, event=Status exception, logger=opentaxii.middleware, level=warning} 127.0.0.1 - - [08/Nov/2017 ] "POST /services/inbox HTTP/1.1" 200 - File "src/lxml/etree.pyx", line 3441, in lxml.etree.parse File "src/lxml/parser.pxi", line 1855, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseFilelikeDocument File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFilelike File "src/lxml/parser.pxi", line 1185, in lxml.etree._BaseParser._parseDocFromFilelike File "src/lxml/parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 709, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError opentaxii.taxii.exceptions.FailureStatus: AttValue: ' expected, line 610, column 891 (<string>, line 610), timestamp=2017-11-08, event=Status exception, logger=opentaxii.middleware, level=warning} 127.0.0.1 - - [08/Nov/2017 ] "POST /services/inbox HTTP/1.1" 200 -

SEE LINE BELOW (line 610, column 891)

<taxii_11:Content_Block xmlns:soltra="http://taxii.soltra.com/messages/taxii_extension_xml_binding-1.1" xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1"><taxii_11:Content_Binding binding_id="urn:stix.mitre.org:xml:1.1.1"/><taxii_11:Content><stix:STIX_Package xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:marking="http://data-marking.mitre.org/Marking-1" xmlns:tlpMarking="http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1" xmlns:TOUMarking="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" xmlns:maecBundle="http://maec.mitre.org/XMLSchema/maec-bundle-4" xmlns:maecPackage="http://maec.mitre.org/XMLSchema/maec-package-2" xmlns:maecVocabs="http://maec.mitre.org/default_vocabularies-1" xmlns:edge="http://soltra.com/" xmlns:ttp="http://stix.mitre.org/TTP-1" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" xmlns:stix-maec="http://stix.mitre.org/extensions/Malware#MAEC4.1-1" xmlns:stix="http://stix.mitre.org/stix-1" xmlns:NCCIC="http://www.us-cert.gov/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="edge:Package-351a3b61-b421-4ad4-b2dd-ccc121370f3c" version="1.1.1" timestamp="2017-11-02T17:50:15.019957+00:00">

Specific field it calls out: (In column 891 is between "ht" 891"tp"
xmlns:maecPackage="http://maec.mitre.org/XMLSchema/maec-package-2"

I can redact the specific content block for that code if you want to test it.

from misp-taxii-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.