|
814 | 814 | }, |
815 | 815 | "severity": { |
816 | 816 | "description": "The severity of the incident", |
817 | | - "enum": [ |
818 | | - "High", |
819 | | - "Medium", |
820 | | - "Low", |
821 | | - "Informational" |
822 | | - ], |
823 | 817 | "type": "string", |
824 | | - "x-ms-enum": { |
825 | | - "modelAsString": true, |
826 | | - "name": "IncidentSeverity", |
827 | | - "values": [ |
828 | | - { |
829 | | - "description": "High severity", |
830 | | - "value": "High" |
831 | | - }, |
832 | | - { |
833 | | - "description": "Medium severity", |
834 | | - "value": "Medium" |
835 | | - }, |
836 | | - { |
837 | | - "description": "Low severity", |
838 | | - "value": "Low" |
839 | | - }, |
840 | | - { |
841 | | - "description": "Informational severity", |
842 | | - "value": "Informational" |
843 | | - } |
844 | | - ] |
845 | | - } |
| 818 | + "$ref": "#/definitions/IncidentSeverityEnum" |
846 | 819 | }, |
847 | 820 | "status": { |
848 | 821 | "description": "The status of the incident", |
|
883 | 856 | ], |
884 | 857 | "type": "object" |
885 | 858 | }, |
| 859 | + "IncidentSeverityEnum": { |
| 860 | + "description": "The severity of the incident", |
| 861 | + "enum": [ |
| 862 | + "High", |
| 863 | + "Medium", |
| 864 | + "Low", |
| 865 | + "Informational" |
| 866 | + ], |
| 867 | + "type": "string", |
| 868 | + "x-ms-enum": { |
| 869 | + "modelAsString": true, |
| 870 | + "name": "IncidentSeverity", |
| 871 | + "values": [ |
| 872 | + { |
| 873 | + "description": "High severity", |
| 874 | + "value": "High" |
| 875 | + }, |
| 876 | + { |
| 877 | + "description": "Medium severity", |
| 878 | + "value": "Medium" |
| 879 | + }, |
| 880 | + { |
| 881 | + "description": "Low severity", |
| 882 | + "value": "Low" |
| 883 | + }, |
| 884 | + { |
| 885 | + "description": "Informational severity", |
| 886 | + "value": "Informational" |
| 887 | + } |
| 888 | + ] |
| 889 | + } |
| 890 | + }, |
886 | 891 | "OfficeConsent": { |
887 | 892 | "allOf": [ |
888 | 893 | { |
|
915 | 920 | "type": "array" |
916 | 921 | } |
917 | 922 | }, |
| 923 | + "type": "object", |
918 | 924 | "required": [ |
919 | 925 | "value" |
920 | 926 | ] |
|
1038 | 1044 | "type": "object", |
1039 | 1045 | "x-ms-azure-resource": true |
1040 | 1046 | }, |
1041 | | - "Settings": { |
1042 | | - "allOf": [ |
1043 | | - { |
1044 | | - "$ref": "#/definitions/ResourceWithEtag" |
1045 | | - } |
1046 | | - ], |
1047 | | - "description": "The Settings.", |
1048 | | - "discriminator": "kind", |
1049 | | - "required": [ |
1050 | | - "kind" |
1051 | | - ], |
1052 | | - "properties": { |
1053 | | - "kind": { |
1054 | | - "$ref": "#/definitions/SettingsKind", |
1055 | | - "description": "The data connector kind" |
1056 | | - } |
1057 | | - }, |
1058 | | - "type": "object" |
1059 | | - }, |
1060 | | - "SettingsKind": { |
1061 | | - "description": "The kind of the setting", |
1062 | | - "enum": [ |
1063 | | - "UebaSettings", |
1064 | | - "ToggleSettings" |
1065 | | - ], |
1066 | | - "type": "string", |
1067 | | - "x-ms-enum": { |
1068 | | - "modelAsString": true, |
1069 | | - "name": "SettingKind" |
1070 | | - } |
1071 | | - }, |
1072 | 1047 | "ThreatIntelligence": { |
1073 | 1048 | "description": "ThreatIntelligence property bag.", |
1074 | 1049 | "properties": { |
|
1106 | 1081 | }, |
1107 | 1082 | "type": "object" |
1108 | 1083 | }, |
1109 | | - "ToggleSettings": { |
1110 | | - "allOf": [ |
1111 | | - { |
1112 | | - "$ref": "#/definitions/Settings" |
1113 | | - } |
1114 | | - ], |
1115 | | - "description": "Settings with single toggle.", |
1116 | | - "properties": { |
1117 | | - "properties": { |
1118 | | - "$ref": "#/definitions/ToggleSettingsProperties", |
1119 | | - "description": "toggle properties", |
1120 | | - "x-ms-client-flatten": true |
1121 | | - } |
1122 | | - }, |
1123 | | - "type": "object", |
1124 | | - "x-ms-discriminator-value": "ToggleSettings" |
1125 | | - }, |
1126 | | - "ToggleSettingsProperties": { |
1127 | | - "description": "toggle property bag.", |
1128 | | - "properties": { |
1129 | | - "isEnabled": { |
1130 | | - "description": "Determines whether the setting is enable or disabled.", |
1131 | | - "type": "boolean" |
1132 | | - } |
1133 | | - }, |
1134 | | - "type": "object" |
1135 | | - }, |
1136 | | - "UebaSettings": { |
1137 | | - "allOf": [ |
1138 | | - { |
1139 | | - "$ref": "#/definitions/Settings" |
1140 | | - } |
1141 | | - ], |
1142 | | - "description": "Represents settings for User and Entity Behavior Analytics enablement.", |
1143 | | - "properties": { |
1144 | | - "properties": { |
1145 | | - "$ref": "#/definitions/UebaSettingsProperties", |
1146 | | - "description": "User and Entity Behavior Analytics settings properties", |
1147 | | - "x-ms-client-flatten": true |
1148 | | - } |
1149 | | - }, |
1150 | | - "type": "object", |
1151 | | - "x-ms-discriminator-value": "UebaSettings" |
1152 | | - }, |
1153 | | - "UebaSettingsProperties": { |
1154 | | - "description": "User and Entity Behavior Analytics settings property bag.", |
1155 | | - "properties": { |
1156 | | - "atpLicenseStatus": { |
1157 | | - "description": "Determines whether the tenant has ATP (Advanced Threat Protection) license.", |
1158 | | - "enum": [ |
1159 | | - "Enabled", |
1160 | | - "Disabled" |
1161 | | - ], |
1162 | | - "readOnly": true, |
1163 | | - "type": "string", |
1164 | | - "x-ms-enum": { |
1165 | | - "modelAsString": true, |
1166 | | - "name": "LicenseStatus" |
1167 | | - } |
1168 | | - }, |
1169 | | - "isEnabled": { |
1170 | | - "description": "Determines whether User and Entity Behavior Analytics is enabled for this workspace.", |
1171 | | - "type": "boolean" |
1172 | | - }, |
1173 | | - "statusInMcas": { |
1174 | | - "description": "Determines whether User and Entity Behavior Analytics is enabled from MCAS (Microsoft Cloud App Security).", |
1175 | | - "enum": [ |
1176 | | - "Enabled", |
1177 | | - "Disabled" |
1178 | | - ], |
1179 | | - "readOnly": true, |
1180 | | - "type": "string", |
1181 | | - "x-ms-enum": { |
1182 | | - "modelAsString": true, |
1183 | | - "name": "StatusInMcas" |
1184 | | - } |
1185 | | - } |
1186 | | - }, |
1187 | | - "type": "object" |
1188 | | - }, |
1189 | 1084 | "UserInfo": { |
1190 | 1085 | "description": "User information that made some action", |
1191 | 1086 | "properties": { |
|
1210 | 1105 | "objectId" |
1211 | 1106 | ], |
1212 | 1107 | "type": "object" |
1213 | | - }, |
1214 | | - "IncidentInfo": { |
1215 | | - "description": "Describes related incident information for the bookmark", |
1216 | | - "properties": { |
1217 | | - "incidentId": { |
1218 | | - "description": "Incident Id", |
1219 | | - "type": "string" |
1220 | | - }, |
1221 | | - "severity": { |
1222 | | - "description": "The severity of the incident", |
1223 | | - "enum": [ |
1224 | | - "Critical", |
1225 | | - "High", |
1226 | | - "Medium", |
1227 | | - "Low", |
1228 | | - "Informational" |
1229 | | - ], |
1230 | | - "type": "string", |
1231 | | - "x-ms-enum": { |
1232 | | - "modelAsString": true, |
1233 | | - "name": "CaseSeverity", |
1234 | | - "values": [ |
1235 | | - { |
1236 | | - "description": "Critical severity", |
1237 | | - "value": "Critical" |
1238 | | - }, |
1239 | | - { |
1240 | | - "description": "High severity", |
1241 | | - "value": "High" |
1242 | | - }, |
1243 | | - { |
1244 | | - "description": "Medium severity", |
1245 | | - "value": "Medium" |
1246 | | - }, |
1247 | | - { |
1248 | | - "description": "Low severity", |
1249 | | - "value": "Low" |
1250 | | - }, |
1251 | | - { |
1252 | | - "description": "Informational severity", |
1253 | | - "value": "Informational" |
1254 | | - } |
1255 | | - ] |
1256 | | - } |
1257 | | - }, |
1258 | | - "title": { |
1259 | | - "description": "The title of the incident", |
1260 | | - "type": "string" |
1261 | | - }, |
1262 | | - "relationName": { |
1263 | | - "description": "Relation Name", |
1264 | | - "type": "string" |
1265 | | - } |
1266 | | - }, |
1267 | | - "type": "object" |
1268 | 1108 | } |
1269 | 1109 | }, |
1270 | 1110 | "parameters": { |
|
1390 | 1230 | "type": "string", |
1391 | 1231 | "x-ms-parameter-location": "method" |
1392 | 1232 | }, |
1393 | | - "Settings": { |
1394 | | - "description": "The setting", |
1395 | | - "in": "body", |
1396 | | - "name": "settings", |
1397 | | - "required": true, |
1398 | | - "schema": { |
1399 | | - "$ref": "#/definitions/Settings" |
1400 | | - }, |
1401 | | - "x-ms-parameter-location": "method" |
1402 | | - }, |
1403 | | - "SettingsName": { |
1404 | | - "description": "The setting name. Supports- Fusion, UEBA", |
1405 | | - "in": "path", |
1406 | | - "name": "settingsName", |
1407 | | - "required": true, |
1408 | | - "type": "string", |
1409 | | - "x-ms-parameter-location": "method" |
1410 | | - }, |
1411 | 1233 | "SubscriptionId": { |
1412 | 1234 | "description": "Azure subscription ID", |
1413 | 1235 | "in": "path", |
|
0 commit comments