Skip to content

Outdated validation for Marking Definition #218

Description

@james-garriss

I am validating a Marking Definition object:

    {
      "type": "marking-definition",
      "id": "marking-definition--de729800-9a18-49bb-a67b-4990bf18ec42",
      "spec_version": "2.1",
      "created": "2023-09-22T14:55:01.812Z",
      "name": "CUI"
    },

And the validator is returning this error:

marking definitions must use the 'definition_type' and 'definition' properties with a valid 
marking definition, or use an extension and the properties it requires

But the current spec says that definition_type and definition have both been deprecated.

https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html#_k5fndj2c7c1k

I assume this means that the validator needs to be updated to match the current spec.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions