Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 52 additions & 7 deletions relationships/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,11 @@
{
"description": "This relationship describes an object which is an operator of another object.",
"format": [
"cert-eu"
"cert-eu",
"misp"
],
"name": "operator-of"
"name": "operator-of",
"opposite": "operated-by"
},
{
"description": "This relationship describes an object which overlaps another object.",
Expand All @@ -727,9 +729,11 @@
"description": "This relationship describes an object which owns another object.",
"format": [
"cert-eu",
"alfred"
"alfred",
"misp"
],
"name": "owner-of"
"name": "owner-of",
"opposite": "owned-by"
},
{
"description": "This relationship describes an object which publishes method for another object.",
Expand Down Expand Up @@ -785,7 +789,8 @@
"format": [
"misp"
],
"name": "controls"
"name": "controls",
"opposite": "controlled-by"
},
{
"description": "This relationships describes an object which annotates another object.",
Expand Down Expand Up @@ -2373,7 +2378,47 @@
],
"name": "inspects",
"opposite": "inspected-by"
},
{
"description": "This relationship describes an object which is operated by another object.",
"format": [
"misp"
],
"name": "operated-by",
"opposite": "operator-of"
},
{
"description": "This relationship describes an object which is owned by another object.",
"format": [
"misp"
],
"name": "owned-by",
"opposite": "owner-of"
},
{
"description": "This relationship describes an object which is controlled by another object.",
"format": [
"misp"
],
"name": "controlled-by",
"opposite": "controls"
},
{
"description": "This relationship describes an object which manufactures another object.",
"format": [
"misp"
],
"name": "manufactures",
"opposite": "manufactured-by"
},
{
"description": "This relationship describes an object which is manufactured by another object.",
"format": [
"misp"
],
"name": "manufactured-by",
"opposite": "manufactures"
}
],
"version": 52
}
"version": 53
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Match the formatter's no-newline output

The newly added trailing newline makes this file noncanonical and causes every Travis run to fail: .travis.yml:16 invokes validate_all.sh, which formats the file and rejects any resulting diff at validate_all.sh:6-12, while jq_all_the_things.sh:26 uses jq -S -j; jq --help defines --join-output as producing output without a newline. Running that exact formatter removes this final LF, so validation exits before reaching the schema checks.

Useful? React with 👍 / 👎.

Loading