File: valid-annotation-1.7.xml

package info (click to toggle)
cyclonedx-python-lib 11.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,044 kB
  • sloc: xml: 20,462; python: 12,968; makefile: 21; sh: 16
file content (90 lines) | stat: -rw-r--r-- 3,611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0"?>
<bom xmlns="http://cyclonedx.org/schema/bom/1.7"
     serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79"
     version="1"
>
    <components>
        <component type="library" bom-ref="component-a">
            <name>Component A</name>
            <version>1.0.0</version>
        </component>
    </components>
    <annotations>
        <annotation bom-ref="annotation-1">
            <subjects>
                <subject ref="component-a"/>
            </subjects>
            <annotator>
                <organization>
                    <name>Acme, Inc.</name>
                    <url>https://example.com</url>
                    <contact>
                        <name>Acme Professional Services</name>
                        <email>professional.services@example.com</email>
                    </contact>
                </organization>
            </annotator>
            <timestamp>2022-01-01T00:00:00Z</timestamp>
            <text>This is a sample annotation made by an organization</text>
        </annotation>
        <annotation bom-ref="annotation-2">
            <subjects>
                <subject ref="component-a"/>
            </subjects>
            <annotator>
                <individual>
                    <name>Samantha Wright</name>
                    <email>samantha.wright@example.com</email>
                    <phone>800-555-1212</phone>
                </individual>
            </annotator>
            <timestamp>2022-01-01T00:00:00Z</timestamp>
            <text>This is a sample annotation made by a person</text>
        </annotation>
        <annotation bom-ref="annotation-3">
            <subjects>
                <subject ref="component-a"/>
            </subjects>
            <annotator>
                <component type="application">
                    <name>Awesome Tool</name>
                    <version>9.1.2</version>
                </component>
            </annotator>
            <timestamp>2022-01-01T00:00:00Z</timestamp>
            <text>This is a sample annotation made by a component</text>
        </annotation>
        <annotation bom-ref="annotation-4">
            <subjects>
                <subject ref="component-a"/>
            </subjects>
            <annotator>
                <service bom-ref="b2a46a4b-8367-4bae-9820-95557cfe03a8">
                    <provider>
                        <name>Partner Org</name>
                        <url>https://partner.org</url>
                        <contact>
                            <name>Support</name>
                            <email>support@partner.org</email>
                            <phone>800-555-1212</phone>
                        </contact>
                    </provider>
                    <group>org.partner</group>
                    <name>BOM Annotation Service</name>
                    <version>2020-Q2</version>
                    <endpoints>
                        <endpoint>https://partner.org/api/v1/inspect</endpoint>
                        <endpoint>https://partner.org/api/v1/annotate</endpoint>
                    </endpoints>
                    <authenticated>true</authenticated>
                    <x-trust-boundary>true</x-trust-boundary>
                    <data>
                        <classification flow="bi-directional">public</classification>
                    </data>
                </service>
            </annotator>
            <timestamp>2022-01-01T00:00:00Z</timestamp>
            <text>This is a sample annotation made by a service</text>
        </annotation>
    </annotations>
</bom>