Skip to content

Commit

Permalink
config: sync policy data from backend server
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaqi Gao <[email protected]>
  • Loading branch information
gaojiaqi7 authored and liuw1 committed Jun 27, 2024
1 parent 6cbeba2 commit e5ae5f4
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 6 deletions.
75 changes: 75 additions & 0 deletions config/policy_pre_production_fmspc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,59 @@
},
"fmspc": "10806F040000"
},
{
"Platform": {
"TcbInfo": {
"pcesvn": {
"operation": "greater-or-equal",
"reference": 0
},
"sgxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"tdxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
}
},
"fmspc": "10D06D000000"
},
{
"Platform": {
"TcbInfo": {
Expand Down Expand Up @@ -1215,6 +1268,28 @@
}
}
},
{
"TDXModule": {
"TDXModule_Identity": {
"ATTRIBUTES": {
"operation": "equal",
"reference": "0000000000000000"
},
"MRSIGNERSEAM": {
"operation": "equal",
"reference": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
},
"TDXModuleMajorVersion": {
"operation": "equal",
"reference": 3
},
"TDXModuleSVN": {
"operation": "equal",
"reference": 0
}
}
}
},
{
"TDXModule": {
"TDXModule_Identity": {
Expand Down
65 changes: 59 additions & 6 deletions config/policy_production_fmspc.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@
"sgxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
1,
1,
2,
2,
2,
2,
3,
Expand All @@ -193,7 +193,7 @@
"reference": [
4,
0,
1,
2,
0,
0,
0,
Expand Down Expand Up @@ -372,6 +372,59 @@
},
"fmspc": "40A06F000000"
},
{
"Platform": {
"TcbInfo": {
"pcesvn": {
"operation": "greater-or-equal",
"reference": 13
},
"sgxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
2,
2,
2,
2,
2,
255,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"tdxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
3,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
}
},
"fmspc": "60A06F000000"
},
{
"Platform": {
"TcbInfo": {
Expand Down Expand Up @@ -753,8 +806,8 @@
"sgxtcbcomponents": {
"operation": "array-greater-or-equal",
"reference": [
1,
1,
2,
2,
2,
2,
3,
Expand All @@ -776,7 +829,7 @@
"reference": [
4,
0,
1,
2,
0,
0,
0,
Expand Down

0 comments on commit e5ae5f4

Please sign in to comment.