Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect spec_version value for STIX2.1 #268

Open
polakovicp opened this issue Feb 27, 2024 · 0 comments
Open

Incorrect spec_version value for STIX2.1 #268

polakovicp opened this issue Feb 27, 2024 · 0 comments

Comments

@polakovicp
Copy link

polakovicp commented Feb 27, 2024

Hello, we are investigating issue with incorrect spec_version in returned objects from our TAXII2 server:

    "more": true,
    "objects": [
        {
            "id": "indicator--11fa0be9-6060-468d-b476-ab5b13824ae4",
            "type": "indicator",
            "spec_version": "indicator",

Expected value should be "2.1" (as stored in DB).

Looking to the code, this looks suspicious:
https://github.com/eclecticiq/OpenTAXII/blob/master/opentaxii/server.py#L672

Is there any reason why spec_version is not passed from selected objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant