Comments (3)
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.
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.
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)
- Error 500 when push stix
- Taxii-Push Error: SSL_Wrong_Version_Number HOT 1
- Events not appearing in MISP after successful TAXII data push
- Taxii-push fails HOT 2
- Exception on /services/inbox [POST]: KeyError('response',)
- taxii-push broken after pymisp 2.4.119
- Anomaly STAXX integration with MISP HOT 2
- Foreign key constraint is incorrectly formed HOT 4
- add NameSpace to StixPackage
- TypeError: string indices must be integers
- MISP TAXII 404 not found
- TAXII UNAUTHORIZED HOT 8
- Taxii test Push failing with error HTTP Error: status code 500 HOT 1
- Taxii test file push fails with error status code 500 HOT 1
- HTTP Error: status code 500 HOT 2
- import stix v2.1 to MISP HOT 3
- Command "git reset --hard -q origin/master" failed with error code 128 in /home/misp/MISP-Taxii-Server/src/pymisp
- Error 404 on taxii-discovery and taxii-push HOT 1
- Request/Help needed
- errno: 150 "Foreign key constraint is incorrectly formed" + various other errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misp-taxii-server.