Skip to content

Commit f3dbf50

Browse files
authored
Merge pull request #128 from fdsaaswer/patch-4
Editorial AEL schema fix to minimize introspection data
2 parents 2922a8b + 52e7b19 commit f3dbf50

1 file changed

Lines changed: 11 additions & 18 deletions

File tree

swagger2.0/oic.sec.ael.swagger.json

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
}
4343
],
4444
"usedspace": 2,
45-
"maxspace": 5
45+
"maxspace": 5,
46+
"categoryfilter": 3,
47+
"priorityfilter": 1
4648
},
4749
"schema": { "$ref": "#/definitions/Ael" }
4850
}
@@ -57,7 +59,7 @@
5759
{
5860
"in": "body",
5961
"name": "body",
60-
"required": false,
62+
"required": true,
6163
"schema": { "$ref": "#/definitions/Ael-Update" },
6264
"x-example": {
6365
"categoryfilter": 3,
@@ -91,19 +93,6 @@
9193
"type": "string",
9294
"readOnly": true
9395
},
94-
"devicetype": {
95-
"description": "Device type which generated this Security Event (e.g. oic.d.light)",
96-
"type": "array",
97-
"minItems": 1,
98-
"items": {
99-
"type": "string",
100-
"maxLength": 64
101-
},
102-
"readOnly": true
103-
},
104-
"di": {
105-
"$ref": "https://openconnectivityfoundation.github.io/core/schemas/oic.types-schema.json#/definitions/uuid"
106-
},
10796
"category" : {
10897
"description": "Category of this Auditable Event: 0x01 (Access Control), 0x02 (Onboarding), 0x04 (Device), 0x08 (Authentication), 0x10 (SVR Modification), 0x20 (Cloud), 0x40 (Communication), 0x80 (Reserved)",
10998
"type": "integer",
@@ -142,7 +131,7 @@
142131
}
143132
},
144133
"required": [
145-
"aeid", "category", "priority", "timestamp"
134+
"aeid", "message", "auxiliaryinfo", "category", "priority", "timestamp"
146135
]
147136
},
148137

@@ -223,7 +212,7 @@
223212
}
224213
},
225214
"required": [
226-
"events", "usedspace", "maxspace"
215+
"events", "usedspace", "maxspace", "categoryfilter", "priorityfilter"
227216
]
228217
},
229218
"Ael-Update": {
@@ -242,7 +231,11 @@
242231
0, 1, 2, 3, 4
243232
]
244233
}
245-
}
234+
},
235+
"required": [
236+
"categoryfilter", "priorityfilter"
237+
]
238+
246239
}
247240
}
248241
}

0 commit comments

Comments
 (0)