forked from GoComply/scap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
47 lines (30 loc) · 1.15 KB
/
models.go
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
// Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT.
// Models for http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#freebsd
package freebsd_sc
import (
"encoding/xml"
"github.com/0intro/scap/pkg/scap/models/oval"
"github.com/0intro/scap/pkg/scap/models/oval_sc"
)
// Element
type PortinfoItem struct {
XMLName xml.Name `xml:"portinfo_item"`
Id oval.ItemIDPattern `xml:"id,attr"`
Status oval_sc.StatusEnumeration `xml:"status,attr,omitempty"`
Pkginst *oval_sc.EntityItemStringType `xml:"pkginst"`
Name *oval_sc.EntityItemStringType `xml:"name"`
Category *oval_sc.EntityItemStringType `xml:"category"`
Version *PortinfoItemVersion `xml:"version"`
Vendor *oval_sc.EntityItemStringType `xml:"vendor"`
Description *oval_sc.EntityItemStringType `xml:"description"`
Message []oval.MessageType `xml:"message"`
}
// Element
type PortinfoItemVersion struct {
XMLName xml.Name `xml:"version"`
Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"`
Mask bool `xml:"mask,attr,omitempty"`
Status oval_sc.StatusEnumeration `xml:"status,attr,omitempty"`
}
// XSD ComplexType declarations
// XSD SimpleType declarations