Skip to content

Instantly share code, notes, and snippets.

@johnwunder
Last active January 15, 2016 19:05
Show Gist options
  • Save johnwunder/87fae19c319f38ed4d59 to your computer and use it in GitHub Desktop.
Save johnwunder/87fae19c319f38ed4d59 to your computer and use it in GitHub Desktop.
STIX 2.0 Consensus Items
[
{
"foobar": "value-from-default"
},
{
"foobar": "value-from-default",
"foobar_ext": {
"value": "value-not-in-default-but-kinda-maps",
"vocab_name": "my-custom-vocab"
}
},
{
"foobar": "other",
"foobar_ext": {
"value": "value-not-in-default-no-mapping",
"vocab_name": "my-custom-vocab"
}
},
{
"foobar": "open vocab value"
},
{
"foobar_ext": {
"value": "value-from-my-vocab",
"vocab_name": "my-custom-vocab"
}
}
]
{
"type": "relationship",
"source_ref": "id-to-source",
"target_ref": "id-to-target",
"value": "affected-asset",
"credibility": 5,
"bidirectional": false
}

The issue

See Bret's e-mail...the biggest issue seems to be that RFC3339 does not allow variable length. Possible solutions:

  1. Stop using RFC3339, define the same thing with ISO-8601.
  2. Keep using RFC3339, add a precision field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment