-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn of coming constraints on observable:cpeid
A follow-on patch will regenerate Make-managed files. References: * #626 Signed-off-by: Alex Nelson <[email protected]>
- Loading branch information
1 parent
dd8abaa
commit 0377992
Showing
4 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"@context": { | ||
"core": "https://ontology.unifiedcyberontology.org/uco/core/", | ||
"ex": "http://example.org/ontology/", | ||
"kb": "http://example.org/kb/", | ||
"observable": "https://ontology.unifiedcyberontology.org/uco/observable/", | ||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#" | ||
}, | ||
"@graph": [ | ||
{ | ||
"@id": "kb:Device-3b8fde6f-0f0b-4472-b9c8-31380eb80dc3", | ||
"@type": "observable:Tablet", | ||
"core:hasFacet": { | ||
"@id": "kb:DeviceFacet-4a1cdff8-be81-46e3-8502-0f488d353ca0", | ||
"@type": "observable:DeviceFacet", | ||
"rdfs:comment": "This node will trigger a warning for assigning an operating system CPE to a device. This will be an error in UCO 2.0.0.", | ||
"observable:cpeid": "cpe:2.3:o:exampleco:exampletabletos:-:*:*:*:*:*:*:*" | ||
} | ||
}, | ||
{ | ||
"@id": "ex:hadInventoryNumber", | ||
"@type": "owl:DatatypeProperty", | ||
"rdfs:domain": "observable:Tablet", | ||
"rdfs:range": "xsd:string" | ||
}, | ||
{ | ||
"@id": "kb:Device-b1432774-082d-4eda-ad2e-fcdbe159d37c", | ||
"@type": "observable:Tablet", | ||
"core:hasFacet": { | ||
"@id": "kb:DeviceFacet-57721427-8a91-4b2a-a685-8de72cabdebc", | ||
"@type": "observable:DeviceFacet", | ||
"observable:cpeid": "cpe:2.3:h:exampleco:exampletablet:-:*:*:*:*:*:*:*", | ||
"observable:serialNumber": "XYZ56780000000002" | ||
}, | ||
"ex:hadInventoryNumber": "TAB-1234" | ||
}, | ||
{ | ||
"@id": "kb:OperatingSystem-628d531f-254c-4efb-aaa0-0874306afa01", | ||
"@type": "observable:OperatingSystem", | ||
"core:name": "ExampleTabletOS", | ||
"core:hasFacet": { | ||
"@id": "kb:SoftwareFacet-ff426a44-65eb-4940-b61a-d70357273a8c", | ||
"@type": "observable:SoftwareFacet", | ||
"rdfs:comment": "This node will trigger a warning for assigning an Application CPE for an OperatingSystem. This will be an error in UCO 2.0.0.", | ||
"observable:cpeid": "cpe:2.3:a:exampleco:exampletabletos:2024.06:*:*:*:*:*:*:*", | ||
"observable:version": "2024.06" | ||
} | ||
}, | ||
{ | ||
"@id": "kb:OperatingSystem-7f06e899-2dbb-4847-9956-5c4a68723c49", | ||
"@type": "observable:OperatingSystem", | ||
"core:name": "ExampleTabletOS", | ||
"core:hasFacet": { | ||
"@id": "kb:OperatingSystemFacet-872c1ba2-e1b4-4bc6-8267-6dbed687d0be", | ||
"@type": "observable:OperatingSystemFacet", | ||
"rdfs:comment": "This node will trigger a warning for assigning a CPE with an OperatingSystemFacet. This will be an error in UCO 2.0.0.", | ||
"observable:cpeid": "cpe:2.3:o:exampleco:exampletabletos:2024.07:*:*:*:*:*:*:*", | ||
"observable:version": "2024.07" | ||
} | ||
}, | ||
{ | ||
"@id": "kb:OperatingSystem-cbbaf178-ccc0-495e-a068-65085d499d7f", | ||
"@type": "observable:OperatingSystem", | ||
"core:name": "ExampleTabletOS", | ||
"core:hasFacet": { | ||
"@id": "kb:SoftwareFacet-b2b8ed66-f681-4eda-b013-b8861843420c", | ||
"@type": "observable:SoftwareFacet", | ||
"observable:cpeid": "cpe:2.3:o:exampleco:exampletabletos:2024.08:*:*:*:*:*:*:*", | ||
"observable:version": "2024.08" | ||
} | ||
}, | ||
{ | ||
"@id": "kb:Software-687a7648-6902-4233-a37d-f31bb2245a15", | ||
"@type": "observable:Software", | ||
"core:name": "ExampleCalculator", | ||
"core:hasFacet": { | ||
"@id": "kb:SoftwareFacet-cd6d68ae-9248-4657-86d4-a4fe398f1004", | ||
"@type": "observable:SoftwareFacet", | ||
"observable:cpeid": "cpe:2.3:a:exampleco:examplecalculator:5.5:*:*:*:*:*:*:*", | ||
"observable:version": "5.5" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters