Code Monkey home page Code Monkey logo

Comments (7)

clenk avatar clenk commented on June 12, 2024 1

FYI, should be able to get objects by ID now on FreeTAXII, e.g. https://test.freetaxii.com:8000/osint/collections/d57c89ba-d128-4592-aca6-4ab6c1c097b3/objects/

(Generates a new bundle each time, but the IDs of the objects it contains remain constant now.)

from cti-python-stix2.

clenk avatar clenk commented on June 12, 2024 1

Now getting the following error when using test.freetaxii.com:

taxii2client.TAXIIServiceException: Unexpected Response Content-Type: application/vnd.oasis.stix+json; version=2.1; charset=utf-8

...which is interesting because the bundle that is returned has "spec_version":"2.0".

Also, I believe it still supports only 2.1, not 2.0 content.

from cti-python-stix2.

clenk avatar clenk commented on June 12, 2024

Alternatively, we could run a server locally just to get the output into the Jupyter notebooks.

from cti-python-stix2.

johnwunder avatar johnwunder commented on June 12, 2024

Yeah, I'm finding the same issue.

Might be useful to have some kind of option to ignore the MIME check and just parse it as if it's 2.0. Lots of people are doing this "preview STIX 2.1" stuff now.

from cti-python-stix2.

gtback avatar gtback commented on June 12, 2024

Yep, thought the taxii2client.TAXIIServiceException is an error in the taxii-client, not python-stix2. We will (or at least can) check the spec_version of the Bundle in python-stix2, but the mime-type won't get passed through.

from cti-python-stix2.

elegantmoose avatar elegantmoose commented on June 12, 2024

@gtback looks like we fixed this. Im not seeing any erroneous doc guides and any TAXII content processing/checking enhancements would be implemented in the TAXII Client. Any objections to closing?

from cti-python-stix2.

gtback avatar gtback commented on June 12, 2024

Yep, this can be closed.

from cti-python-stix2.

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.