-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Cisco-IOS-XE-boot-integrity-oper.yang
183 lines (173 loc) · 4.55 KB
/
Cisco-IOS-XE-boot-integrity-oper.yang
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
module Cisco-IOS-XE-boot-integrity-oper {
yang-version 1;
namespace "http://cisco.com/ns/yang/Cisco-IOS-XE-boot-integrity-oper";
prefix boot-integrity-ios-xe-oper;
organization
"Cisco Systems, Inc.";
contact
"Cisco Systems, Inc.
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
Tel: +1 1800 553-NETS
E-mail: cs-yang@cisco.com";
description
"This module contains a collection of YANG definitions
for Cisco IOS XE boot integrity visibility.
Copyright (c) 2018 by Cisco Systems, Inc.
All rights reserved.";
revision 2018-01-31 {
description
"Initial revision";
reference "1.0.0";
}
grouping pcr-register {
description
"List for maintaining the Platform Content
Register (PCR) indices and content";
leaf index {
type uint8;
description
"References PCR Register Index";
}
leaf pcr-content {
type string;
description
"References PCR Register Content";
}
}
grouping package-signature {
description
"List for maintaining system-calculated hashes for each
of the packages installed or patched to the system";
leaf name {
type string;
description
"Package Name";
}
leaf hash {
type string;
description
"Package Hash";
}
}
grouping boot-integrity {
description
"System Boot Integrity Measurements";
leaf platform {
type string;
description
"Product Identifier";
}
leaf boot-ver {
type string;
description
"Boot 0 Version";
}
leaf boot-loader-ver {
type string;
description
"Boot Loader Version";
}
leaf os-version {
type string;
description
"Operating System Version";
}
leaf boot-hash {
type string;
description
"Boot 0 Hash";
}
leaf boot-loader-hash {
type string;
description
"Boot Loader Hash";
}
leaf os-hash {
type string;
description
"Operating System Hash";
}
leaf package-count {
type uint8;
description
"Number of Active Packages";
}
list pcr-register {
key "index";
description
"System Platform Configuration Registers";
uses boot-integrity-ios-xe-oper:pcr-register;
}
list package-signature {
key "name";
description
"System Package Signatures";
uses boot-integrity-ios-xe-oper:package-signature;
}
leaf signature {
type string;
description
"System ACT2 PCR Quote Signed Signature";
}
leaf sig-version {
type uint32;
description
"System ACT2 PCR Quote Signature Version";
}
}
grouping sudi-certificate {
description
"System Secure Unique Device Identifier Certificate
Chain Measurements ";
leaf crca-pem {
type string;
description
"Cisco Root CA PEM Certficate";
}
leaf cmca-pem {
type string;
description
"Cisco Manufacturing CA PEM Certficate";
}
leaf sudi-pem {
type string;
description
"ACT2 RSA SUDI CA PEM Certficate";
}
leaf sudi-signature {
type string;
description
"ACT2 RSA SUDI Certificate Generated Signature";
}
}
container boot-integrity-oper-data {
config false;
description
"Enclosing container for the boot integrity
measurements of the system";
container boot-integrity {
presence "boot-integrity";
description
"List of system boot integrity measurements for Boot,
Boot Loader, and OS versions, hashes, and signatures
as well as Platform Configuration Registers (PCR) content.
These measurements are captured utilizing Trusted Anchor Module (TAM)
services to communicate with system ACT2
(2nd Gen Anti-Counterfeit Technology) hardware chip.";
uses boot-integrity-ios-xe-oper:boot-integrity;
}
container sudi-certificate {
presence "sudi-certificate";
description
"List of system certificate measurements for Cisco Root CA (CRCA),
Cisco Manufacturing CA (CMCA), and ACT2 RSA Secure Unique Device
Identity (SUDI) CA PEM certifcates and SUDI generated signatures.
These measurements are captured utilizing Trusted Anchor Module (TAM)
services to communicate with system ACT2
(2nd Gen Anti-Counterfeit Technology) hardware chip.";
uses boot-integrity-ios-xe-oper:sudi-certificate;
}
}
}