Giter Site home page Giter Site logo

Comments (16)

FloatingGhost avatar FloatingGhost commented on September 25, 2024

#3

ALTER DATABASE taxiipersist CHARACTER SET latin1 COLLATE latin1_general_ci;
ALTER DATABASE taxiiauth CHARACTER SET latin1 COLLATE latin1_general_ci;

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

make sure you upgrade mysql as well. It's a weird one.

from misp-taxii-server.

mattclemons avatar mattclemons commented on September 25, 2024

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

hm, that means there's an issue with the hooks - there should be a server log

does it say anything?

from misp-taxii-server.

mattclemons avatar mattclemons commented on September 25, 2024

error.txt

from misp-taxii-server.

mastarux avatar mastarux commented on September 25, 2024

can you post service.yml and collection.yml ?

Thanks
MAstarux

from misp-taxii-server.

mattclemons avatar mattclemons commented on September 25, 2024

They're defaults. Guess I should read up on that.

services.yaml.txt
collections.yaml.txt

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

It's not the config that's the issue, don't chase that line.

It's a weird STIX document - I only built the converter for standard, sample STIX, but it seems us-cert use a variant. Is the STIX file something you can share?

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

(it's 1am here, I'll get back to you in the morning if you comment!)

from misp-taxii-server.

mastarux avatar mastarux commented on September 25, 2024

out of curiosity, do you get same error for other xml files under tests/ ?

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

Ok, looked into it - on the current version of python-stix, tests/malicious-email-indicator-with-attachment.xml loads just fine, so maybe try updating that dep if it doesn't work for you.

It all seems to be on their end actually - it just plain won't load the US-CERT file. It doesn't seem to support something in there, and I don't know XML terminology well enough to diagnose it.

NotImplementedError: No class implemented or registered for XML type '{http://www.us-cert.gov/sites/default/files/STIX_Namespace/ISAMarkingsType.v2.xsd}ISAMarkingsType'

Looking at this, and this issue, it would appear that python-stix does not support ISA marking.

I'll try to hack around it by removing ISA from the initial XML, but it'll take a while

from misp-taxii-server.

mattclemons avatar mattclemons commented on September 25, 2024

Well, don't work too hard on this. It's already driving me crazy enough that I constantly wish it would all just go away.

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

It's already driving me crazy enough that I constantly wish it would all just go away.

Welcome to STIX!

It's the quickest way to hate everything.

I've pushed something that seems to work, try that (0c359dc)

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

Oh, BTW, that's of the converter. I didn't make that clear

from misp-taxii-server.

mattclemons avatar mattclemons commented on September 25, 2024

IT'S WORKING!

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 25, 2024

Wonderful, nice to know my stupid hack worked~

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.