Debian Codegraph @

testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-annotation.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bom xmlns="http://cyclonedx.org/schema/bom/1.6" serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1">
3 <components>
4 <component bom-ref="component-a" type="library">
5 <name>Component A</name>
6 <version>1.0.0</version>
7 </component>
8 </components>
9 <annotations>
10 <annotation bom-ref="annotation-1">
11 <subjects>
12 <subject ref="component-a"></subject>
13 </subjects>
14 <annotator>
15 <organization>
16 <name>Acme, Inc.</name>
17 <url>https://example.com</url>
18 <contact>
19 <name>Acme Professional Services</name>
20 <email>[email protected]</email>
21 </contact>
22 </organization>
23 </annotator>
24 <timestamp>2020-04-07T07:01:00Z</timestamp>
25 <text>This is a sample annotation made by an organization</text>
26 </annotation>
27 <annotation bom-ref="annotation-2">
28 <subjects>
29 <subject ref="component-a"></subject>
30 </subjects>
31 <annotator>
32 <individual>
33 <name>Samantha Wright</name>
34 <email>[email protected]</email>
35 <phone>800-555-1212</phone>
36 </individual>
37 </annotator>
38 <timestamp>2020-04-07T07:01:00Z</timestamp>
39 <text>This is a sample annotation made by an person</text>
40 </annotation>
41 <annotation bom-ref="annotation-3">
42 <subjects>
43 <subject ref="component-a"></subject>
44 </subjects>
45 <annotator>
46 <component type="application">
47 <name>Awesome Tool</name>
48 <version>9.1.2</version>
49 </component>
50 </annotator>
51 <timestamp>2020-04-07T07:01:00Z</timestamp>
52 <text>This is a sample annotation made by a component</text>
53 </annotation>
54 <annotation bom-ref="annotation-4">
55 <subjects>
56 <subject ref="component-a"></subject>
57 </subjects>
58 <annotator>
59 <service bom-ref="b2a46a4b-8367-4bae-9820-95557cfe03a8">
60 <provider>
61 <name>Partner Org</name>
62 <url>https://partner.org</url>
63 <contact>
64 <name>Support</name>
65 <email>support@partner</email>
66 <phone>800-555-1212</phone>
67 </contact>
68 </provider>
69 <group>org.partner</group>
70 <name>BOM Annotation Service</name>
71 <version>2020-Q2</version>
72 <endpoints>
73 <endpoint>https://partner.org/api/v1/inspect</endpoint>
74 <endpoint>https://partner.org/api/v1/annotate</endpoint>
75 </endpoints>
76 <authenticated>true</authenticated>
77 <x-trust-boundary>true</x-trust-boundary>
78 <data>
79 <classification flow="bi-directional">pubic</classification>
80 </data>
81 </service>
82 </annotator>
83 <timestamp>2020-04-07T07:01:00Z</timestamp>
84 <text>This is a sample annotation made by a service</text>
85 </annotation>
86 </annotations>
87 </bom>