@azure/arm-iotfirmwaredefense 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +2280 -2198
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/{firmwareListGenerateCryptoKeyListSample.js → binaryHardeningListByFirmwareSample.js} +23 -34
  11. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/{firmwareListGenerateCveListSample.js → cryptoCertificatesListByFirmwareSample.js} +25 -37
  15. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js.map +1 -0
  16. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/{firmwareListGenerateCryptoCertificateListSample.js → cryptoKeysListByFirmwareSample.js} +23 -34
  19. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js.map +1 -0
  20. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/cvesListByFirmwareSample.js +92 -0
  23. package/dist-esm/samples-dev/cvesListByFirmwareSample.js.map +1 -0
  24. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/{firmwareCreateSample.js → firmwaresCreateSample.js} +20 -18
  27. package/dist-esm/samples-dev/firmwaresCreateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/{firmwareDeleteSample.js → firmwaresDeleteSample.js} +9 -9
  31. package/dist-esm/samples-dev/firmwaresDeleteSample.js.map +1 -0
  32. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/{firmwareGenerateDownloadUrlSample.js → firmwaresGenerateDownloadUrlSample.js} +9 -9
  35. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js.map +1 -0
  36. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/{firmwareGenerateFilesystemDownloadUrlSample.js → firmwaresGenerateFilesystemDownloadUrlSample.js} +9 -9
  39. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js.map +1 -0
  40. package/dist-esm/samples-dev/firmwaresGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/firmwaresGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/{firmwareGetSample.js → firmwaresGetSample.js} +9 -9
  43. package/dist-esm/samples-dev/firmwaresGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/{firmwareListByWorkspaceSample.js → firmwaresListByWorkspaceSample.js} +13 -23
  47. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js.map +1 -0
  48. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/{firmwareUpdateSample.js → firmwaresUpdateSample.js} +20 -18
  51. package/dist-esm/samples-dev/firmwaresUpdateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/operationsListSample.js +8 -18
  53. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  54. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts +2 -0
  55. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts.map +1 -0
  56. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js +92 -0
  57. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js.map +1 -0
  58. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js +92 -0
  61. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js.map +1 -0
  62. package/dist-esm/samples-dev/summariesGetSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/summariesGetSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/{firmwareGenerateSummarySample.js → summariesGetSample.js} +23 -23
  65. package/dist-esm/samples-dev/summariesGetSample.js.map +1 -0
  66. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/summariesListByFirmwareSample.js +92 -0
  69. package/dist-esm/samples-dev/summariesListByFirmwareSample.js.map +1 -0
  70. package/dist-esm/samples-dev/workspacesCreateSample.js +5 -4
  71. package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -1
  72. package/dist-esm/samples-dev/workspacesDeleteSample.js +2 -2
  73. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +4 -4
  74. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -1
  75. package/dist-esm/samples-dev/workspacesGetSample.js +2 -2
  76. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +8 -18
  77. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
  78. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +8 -18
  79. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
  80. package/dist-esm/samples-dev/workspacesUpdateSample.js +4 -4
  81. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  82. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +11 -4
  83. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -1
  84. package/dist-esm/src/ioTFirmwareDefenseClient.js +19 -12
  85. package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -1
  86. package/dist-esm/src/models/index.d.ts +516 -602
  87. package/dist-esm/src/models/index.d.ts.map +1 -1
  88. package/dist-esm/src/models/index.js +40 -92
  89. package/dist-esm/src/models/index.js.map +1 -1
  90. package/dist-esm/src/models/mappers.d.ts +45 -25
  91. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  92. package/dist-esm/src/models/mappers.js +1120 -1036
  93. package/dist-esm/src/models/mappers.js.map +1 -1
  94. package/dist-esm/src/models/parameters.d.ts +3 -2
  95. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  96. package/dist-esm/src/models/parameters.js +56 -49
  97. package/dist-esm/src/models/parameters.js.map +1 -1
  98. package/dist-esm/src/operations/binaryHardening.d.ts +41 -0
  99. package/dist-esm/src/operations/binaryHardening.d.ts.map +1 -0
  100. package/dist-esm/src/operations/binaryHardening.js +155 -0
  101. package/dist-esm/src/operations/binaryHardening.js.map +1 -0
  102. package/dist-esm/src/operations/cryptoCertificates.d.ts +41 -0
  103. package/dist-esm/src/operations/cryptoCertificates.d.ts.map +1 -0
  104. package/dist-esm/src/operations/cryptoCertificates.js +155 -0
  105. package/dist-esm/src/operations/cryptoCertificates.js.map +1 -0
  106. package/dist-esm/src/operations/cryptoKeys.d.ts +41 -0
  107. package/dist-esm/src/operations/cryptoKeys.d.ts.map +1 -0
  108. package/dist-esm/src/operations/cryptoKeys.js +155 -0
  109. package/dist-esm/src/operations/cryptoKeys.js.map +1 -0
  110. package/dist-esm/src/operations/cves.d.ts +41 -0
  111. package/dist-esm/src/operations/cves.d.ts.map +1 -0
  112. package/dist-esm/src/operations/cves.js +155 -0
  113. package/dist-esm/src/operations/cves.js.map +1 -0
  114. package/dist-esm/src/operations/firmwares.d.ts +88 -0
  115. package/dist-esm/src/operations/firmwares.d.ts.map +1 -0
  116. package/dist-esm/src/operations/firmwares.js +350 -0
  117. package/dist-esm/src/operations/firmwares.js.map +1 -0
  118. package/dist-esm/src/operations/index.d.ts +9 -2
  119. package/dist-esm/src/operations/index.d.ts.map +1 -1
  120. package/dist-esm/src/operations/index.js +9 -2
  121. package/dist-esm/src/operations/index.js.map +1 -1
  122. package/dist-esm/src/operations/operations.js +12 -17
  123. package/dist-esm/src/operations/operations.js.map +1 -1
  124. package/dist-esm/src/operations/passwordHashes.d.ts +41 -0
  125. package/dist-esm/src/operations/passwordHashes.d.ts.map +1 -0
  126. package/dist-esm/src/operations/passwordHashes.js +155 -0
  127. package/dist-esm/src/operations/passwordHashes.js.map +1 -0
  128. package/dist-esm/src/operations/sbomComponents.d.ts +41 -0
  129. package/dist-esm/src/operations/sbomComponents.d.ts.map +1 -0
  130. package/dist-esm/src/operations/sbomComponents.js +155 -0
  131. package/dist-esm/src/operations/sbomComponents.js.map +1 -0
  132. package/dist-esm/src/operations/summaries.d.ts +52 -0
  133. package/dist-esm/src/operations/summaries.d.ts.map +1 -0
  134. package/dist-esm/src/operations/summaries.js +191 -0
  135. package/dist-esm/src/operations/summaries.js.map +1 -0
  136. package/dist-esm/src/operations/workspaces.js +52 -66
  137. package/dist-esm/src/operations/workspaces.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts +14 -0
  139. package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/{firmwareOperations.js → binaryHardening.js} +1 -1
  141. package/dist-esm/src/operationsInterfaces/binaryHardening.js.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts +14 -0
  143. package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/cryptoCertificates.js +9 -0
  145. package/dist-esm/src/operationsInterfaces/cryptoCertificates.js.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts +14 -0
  147. package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/cryptoKeys.js +9 -0
  149. package/dist-esm/src/operationsInterfaces/cryptoKeys.js.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/cves.d.ts +14 -0
  151. package/dist-esm/src/operationsInterfaces/cves.d.ts.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/cves.js +9 -0
  153. package/dist-esm/src/operationsInterfaces/cves.js.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/firmwares.d.ts +63 -0
  155. package/dist-esm/src/operationsInterfaces/firmwares.d.ts.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/firmwares.js +9 -0
  157. package/dist-esm/src/operationsInterfaces/firmwares.js.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/index.d.ts +9 -2
  159. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  160. package/dist-esm/src/operationsInterfaces/index.js +9 -2
  161. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  162. package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts +14 -0
  163. package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/passwordHashes.js +9 -0
  165. package/dist-esm/src/operationsInterfaces/passwordHashes.js.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts +14 -0
  167. package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/sbomComponents.js +9 -0
  169. package/dist-esm/src/operationsInterfaces/sbomComponents.js.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/summaries.d.ts +24 -0
  171. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
  173. package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
  174. package/dist-esm/src/pagingHelper.js.map +1 -1
  175. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +7 -17
  176. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -1
  177. package/package.json +15 -20
  178. package/review/arm-iotfirmwaredefense.api.md +329 -330
  179. package/src/ioTFirmwareDefenseClient.ts +53 -24
  180. package/src/models/index.ts +566 -646
  181. package/src/models/mappers.ts +1190 -1036
  182. package/src/models/parameters.ts +59 -51
  183. package/src/operations/binaryHardening.ts +216 -0
  184. package/src/operations/cryptoCertificates.ts +216 -0
  185. package/src/operations/cryptoKeys.ts +216 -0
  186. package/src/operations/cves.ts +216 -0
  187. package/src/operations/firmwares.ts +469 -0
  188. package/src/operations/index.ts +9 -2
  189. package/src/operations/operations.ts +16 -16
  190. package/src/operations/passwordHashes.ts +216 -0
  191. package/src/operations/sbomComponents.ts +216 -0
  192. package/src/operations/summaries.ts +265 -0
  193. package/src/operations/workspaces.ts +81 -92
  194. package/src/operationsInterfaces/binaryHardening.ts +31 -0
  195. package/src/operationsInterfaces/cryptoCertificates.ts +31 -0
  196. package/src/operationsInterfaces/cryptoKeys.ts +31 -0
  197. package/src/operationsInterfaces/cves.ts +28 -0
  198. package/src/operationsInterfaces/firmwares.ts +123 -0
  199. package/src/operationsInterfaces/index.ts +9 -2
  200. package/src/operationsInterfaces/operations.ts +1 -1
  201. package/src/operationsInterfaces/passwordHashes.ts +31 -0
  202. package/src/operationsInterfaces/sbomComponents.ts +31 -0
  203. package/src/operationsInterfaces/summaries.ts +50 -0
  204. package/src/operationsInterfaces/workspaces.ts +8 -8
  205. package/src/pagingHelper.ts +1 -1
  206. package/types/arm-iotfirmwaredefense.d.ts +573 -675
  207. package/types/tsdoc-metadata.json +1 -1
  208. package/dist-esm/samples-dev/firmwareCreateSample.d.ts +0 -2
  209. package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +0 -1
  210. package/dist-esm/samples-dev/firmwareCreateSample.js.map +0 -1
  211. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +0 -2
  212. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/firmwareDeleteSample.js.map +0 -1
  214. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +0 -2
  215. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +0 -62
  217. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +0 -1
  218. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +0 -2
  219. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +0 -62
  221. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +0 -1
  222. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +0 -2
  223. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +0 -62
  225. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +0 -1
  226. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +0 -2
  227. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +0 -61
  229. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +0 -1
  230. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +0 -2
  231. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +0 -61
  233. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +0 -1
  234. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +0 -2
  235. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +0 -62
  237. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +0 -1
  238. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +0 -1
  241. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +0 -1
  244. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +0 -2
  245. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +0 -1
  247. package/dist-esm/samples-dev/firmwareGetSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/firmwareGetSample.js.map +0 -1
  250. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +0 -1
  253. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +0 -2
  254. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js +0 -104
  256. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +0 -1
  257. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js +0 -104
  260. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +0 -1
  261. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +0 -1
  264. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +0 -1
  267. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +0 -1
  270. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +0 -104
  273. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +0 -1
  274. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +0 -2
  275. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/firmwareUpdateSample.js.map +0 -1
  277. package/dist-esm/src/operations/firmwareOperations.d.ts +0 -313
  278. package/dist-esm/src/operations/firmwareOperations.d.ts.map +0 -1
  279. package/dist-esm/src/operations/firmwareOperations.js +0 -1393
  280. package/dist-esm/src/operations/firmwareOperations.js.map +0 -1
  281. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +0 -169
  282. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +0 -1
  283. package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +0 -1
  284. package/rollup.config.js +0 -122
  285. package/src/operations/firmwareOperations.ts +0 -1892
  286. package/src/operationsInterfaces/firmwareOperations.ts +0 -320
@@ -8,21 +8,61 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- /** List of firmwares */
12
- export interface FirmwareList {
11
+ export type SummaryResourcePropertiesUnion =
12
+ | SummaryResourceProperties
13
+ | FirmwareSummary
14
+ | CveSummary
15
+ | BinaryHardeningSummaryResource
16
+ | CryptoCertificateSummaryResource
17
+ | CryptoKeySummaryResource;
18
+
19
+ /** List of binary hardening results. */
20
+ export interface BinaryHardeningListResult {
13
21
  /**
14
- * The list of firmwares.
22
+ * The list of binary hardening results.
15
23
  * NOTE: This property will not be serialized. It can only be populated by the server.
16
24
  */
17
- readonly value?: Firmware[];
18
- /** The uri to fetch the next page of asset. */
25
+ readonly value?: BinaryHardeningResource[];
26
+ /** The uri to fetch the next page of resources. */
19
27
  nextLink?: string;
20
28
  }
21
29
 
30
+ /** Binary hardening of a firmware. */
31
+ export interface BinaryHardeningResult {
32
+ /** ID for the binary hardening result. */
33
+ binaryHardeningId?: string;
34
+ /** Binary hardening features. */
35
+ features?: BinaryHardeningFeatures;
36
+ /** The architecture of the uploaded firmware. */
37
+ architecture?: string;
38
+ /** The executable path. */
39
+ filePath?: string;
40
+ /** The executable class to indicate 32 or 64 bit. */
41
+ class?: string;
42
+ /** The runpath of the uploaded firmware. */
43
+ runpath?: string;
44
+ /** The rpath of the uploaded firmware. */
45
+ rpath?: string;
46
+ }
47
+
48
+ /** Binary hardening features. */
49
+ export interface BinaryHardeningFeatures {
50
+ /** NX (no-execute) flag. */
51
+ nx?: boolean;
52
+ /** PIE (position independent executable) flag. */
53
+ pie?: boolean;
54
+ /** RELRO (relocation read-only) flag. */
55
+ relro?: boolean;
56
+ /** Canary (stack canaries) flag. */
57
+ canary?: boolean;
58
+ /** Stripped flag. */
59
+ stripped?: boolean;
60
+ }
61
+
22
62
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
23
63
  export interface Resource {
24
64
  /**
25
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
65
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
26
66
  * NOTE: This property will not be serialized. It can only be populated by the server.
27
67
  */
28
68
  readonly id?: string;
@@ -108,286 +148,20 @@ export interface ErrorAdditionalInfo {
108
148
  readonly info?: Record<string, unknown>;
109
149
  }
110
150
 
111
- /** Firmware definition */
112
- export interface FirmwareUpdateDefinition {
113
- /** File name for a firmware that user uploaded. */
114
- fileName?: string;
115
- /** Firmware vendor. */
116
- vendor?: string;
117
- /** Firmware model. */
118
- model?: string;
119
- /** Firmware version. */
120
- version?: string;
121
- /** User-specified description of the firmware. */
122
- description?: string;
123
- /** File size of the uploaded firmware image. */
124
- fileSize?: number;
125
- /** The status of firmware scan. */
126
- status?: Status;
127
- /** A list of errors or other messages generated during firmware analysis */
128
- statusMessages?: Record<string, unknown>[];
129
- /**
130
- * Provisioning state of the resource.
131
- * NOTE: This property will not be serialized. It can only be populated by the server.
132
- */
133
- readonly provisioningState?: ProvisioningState;
134
- }
135
-
136
- /** Url data for creating or accessing a blob file. */
137
- export interface UrlToken {
138
- /**
139
- * SAS URL for creating or accessing a blob file.
140
- * NOTE: This property will not be serialized. It can only be populated by the server.
141
- */
142
- readonly url?: string;
143
- /**
144
- * SAS URL for file uploading. Kept for backwards compatibility
145
- * NOTE: This property will not be serialized. It can only be populated by the server.
146
- */
147
- readonly uploadUrl?: string;
148
- }
149
-
150
- /** Summary result after scanning the firmware. */
151
- export interface FirmwareSummary {
152
- /** Total extracted size of the firmware in bytes. */
153
- extractedSize?: number;
154
- /** Firmware file size in bytes. */
155
- fileSize?: number;
156
- /** Extracted file count. */
157
- extractedFileCount?: number;
158
- /** Components count. */
159
- componentCount?: number;
160
- /** Binary count */
161
- binaryCount?: number;
162
- /** Time used for analysis */
163
- analysisTimeSeconds?: number;
164
- /** The number of root file systems found. */
165
- rootFileSystems?: number;
166
- }
167
-
168
- /** List result for components */
169
- export interface ComponentList {
170
- /**
171
- * The list of components.
172
- * NOTE: This property will not be serialized. It can only be populated by the server.
173
- */
174
- readonly value?: Component[];
175
- /** The uri to fetch the next page of asset. */
176
- nextLink?: string;
177
- }
178
-
179
- /** Component of a firmware. */
180
- export interface Component {
181
- /** ID for the component. */
182
- componentId?: string;
183
- /** Name for the component. */
184
- componentName?: string;
185
- /** Version for the component. */
186
- version?: string;
187
- /** License for the component. */
188
- license?: string;
189
- /** Release date for the component. */
190
- releaseDate?: Date;
191
- /** Paths of the component. */
192
- paths?: string[];
193
- /** Flag if new update is available for the component. */
194
- isUpdateAvailable?: IsUpdateAvailable;
195
- }
196
-
197
- /** List result for binary hardening */
198
- export interface BinaryHardeningList {
199
- /**
200
- * The list of binary hardening results.
201
- * NOTE: This property will not be serialized. It can only be populated by the server.
202
- */
203
- readonly value?: BinaryHardening[];
204
- /** The uri to fetch the next page of asset. */
205
- nextLink?: string;
206
- }
207
-
208
- /** Binary hardening of a firmware. */
209
- export interface BinaryHardening {
210
- /** ID for the binary hardening result. */
211
- binaryHardeningId?: string;
212
- /** The architecture of the uploaded firmware. */
213
- architecture?: string;
214
- /** path for binary hardening. */
215
- path?: string;
216
- /** class for binary hardening. */
217
- class?: string;
218
- /** The runpath of the uploaded firmware. */
219
- runpath?: string;
220
- /** The rpath of the uploaded firmware. */
221
- rpath?: string;
222
- /** NX flag. */
223
- nx?: NxFlag;
224
- /** PIE flag. */
225
- pie?: PieFlag;
226
- /** RELRO flag. */
227
- relro?: RelroFlag;
228
- /** Canary flag. */
229
- canary?: CanaryFlag;
230
- /** Stripped flag. */
231
- stripped?: StrippedFlag;
232
- }
233
-
234
- /** Binary hardening summary percentages. */
235
- export interface BinaryHardeningSummary {
236
- /** Total number of binaries that were analyzed */
237
- totalFiles?: number;
238
- /** NX summary percentage */
239
- nx?: number;
240
- /** PIE summary percentage */
241
- pie?: number;
242
- /** RELRO summary percentage */
243
- relro?: number;
244
- /** Canary summary percentage */
245
- canary?: number;
246
- /** Stripped summary percentage */
247
- stripped?: number;
248
- }
249
-
250
- /** Password hashes list */
251
- export interface PasswordHashList {
252
- /**
253
- * Password hashes list
254
- * NOTE: This property will not be serialized. It can only be populated by the server.
255
- */
256
- readonly value?: PasswordHash[];
257
- /** The uri to fetch the next page of asset. */
258
- nextLink?: string;
259
- }
260
-
261
- /** Password hash properties */
262
- export interface PasswordHash {
263
- /** ID for password hash */
264
- passwordHashId?: string;
265
- /** File path of the password hash */
266
- filePath?: string;
267
- /** Salt of the password hash */
268
- salt?: string;
269
- /** Hash of the password */
270
- hash?: string;
271
- /** Context of password hash */
272
- context?: string;
273
- /** User name of password hash */
274
- username?: string;
275
- /** Algorithm of the password hash */
276
- algorithm?: string;
277
- }
278
-
279
- /** List result for CVE */
280
- export interface CveList {
281
- /**
282
- * The list of CVE results.
283
- * NOTE: This property will not be serialized. It can only be populated by the server.
284
- */
285
- readonly value?: Cve[];
286
- /** The uri to fetch the next page of asset. */
287
- nextLink?: string;
288
- }
289
-
290
- /** Known CVEs of a firmware. */
291
- export interface Cve {
292
- /** ID of CVE */
293
- cveId?: string;
294
- /** Component of CVE */
295
- component?: Record<string, unknown>;
296
- /** Severity of CVE */
297
- severity?: string;
298
- /** Name of CVE */
299
- name?: string;
300
- /** A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score */
301
- cvssScore?: string;
302
- /** Cvss version of CVE */
303
- cvssVersion?: string;
304
- /** Cvss V2 score of CVE */
305
- cvssV2Score?: string;
306
- /** Cvss V3 score of CVE */
307
- cvssV3Score?: string;
308
- /** Publish date of CVE */
309
- publishDate?: Date;
310
- /** Updated date of CVE */
311
- updatedDate?: Date;
312
- /**
313
- * The list of CVE links.
314
- * NOTE: This property will not be serialized. It can only be populated by the server.
315
- */
316
- readonly links?: CveLink[];
317
- /** Description of CVE */
318
- description?: string;
319
- }
320
-
321
- /** Link for CVE */
322
- export interface CveLink {
323
- /** Href of CVE link */
324
- href?: string;
325
- /** Label of CVE link */
326
- label?: string;
327
- }
328
-
329
- /** CVE summary values. */
330
- export interface CveSummary {
331
- /** The total number of critical severity CVEs detected */
332
- critical?: number;
333
- /** The total number of high severity CVEs detected */
334
- high?: number;
335
- /** The total number of medium severity CVEs detected */
336
- medium?: number;
337
- /** The total number of low severity CVEs detected */
338
- low?: number;
339
- /** The total number of unknown severity CVEs detected */
340
- unknown?: number;
341
- /** The total number of undefined severity CVEs detected */
342
- undefined?: number;
343
- }
344
-
345
- /** Cryptographic certificate summary values. */
346
- export interface CryptoCertificateSummary {
347
- /** Total number of certificates found. */
348
- totalCertificates?: number;
349
- /** Total number of paired private keys found for the certificates. */
350
- pairedKeys?: number;
351
- /** Total number of expired certificates found. */
352
- expired?: number;
353
- /** Total number of nearly expired certificates found. */
354
- expiringSoon?: number;
355
- /** Total number of certificates found using a weak signature algorithm. */
356
- weakSignature?: number;
357
- /** Total number of certificates found that are self-signed. */
358
- selfSigned?: number;
359
- /** Total number of certificates found that have an insecure key size for the key algorithm. */
360
- shortKeySize?: number;
361
- }
362
-
363
- /** Cryptographic key summary values. */
364
- export interface CryptoKeySummary {
365
- /** Total number of cryptographic keys found. */
366
- totalKeys?: number;
367
- /** Total number of (non-certificate) public keys found. */
368
- publicKeys?: number;
369
- /** Total number of private keys found. */
370
- privateKeys?: number;
371
- /** Total number of keys found that have a matching paired key or certificate. */
372
- pairedKeys?: number;
373
- /** Total number of keys found that have an insecure key size for the algorithm. */
374
- shortKeySize?: number;
375
- }
376
-
377
- /** Crypto certificates list */
378
- export interface CryptoCertificateList {
151
+ /** List of crypto certificates. */
152
+ export interface CryptoCertificateListResult {
379
153
  /**
380
- * Crypto certificates list
154
+ * The list of crypto certificate results.
381
155
  * NOTE: This property will not be serialized. It can only be populated by the server.
382
156
  */
383
- readonly value?: CryptoCertificate[];
384
- /** The uri to fetch the next page of asset. */
157
+ readonly value?: CryptoCertificateResource[];
158
+ /** The uri to fetch the next page of resources. */
385
159
  nextLink?: string;
386
160
  }
387
161
 
388
162
  /** Crypto certificate properties */
389
163
  export interface CryptoCertificate {
390
- /** ID for the certificate. */
164
+ /** ID for the certificate result. */
391
165
  cryptoCertId?: string;
392
166
  /** Name of the certificate. */
393
167
  name?: string;
@@ -416,20 +190,20 @@ export interface CryptoCertificate {
416
190
  /** List of functions the certificate can fulfill. */
417
191
  usage?: string[];
418
192
  /**
419
- * List of files paths for this certificate
193
+ * List of files where this certificate was found.
420
194
  * NOTE: This property will not be serialized. It can only be populated by the server.
421
195
  */
422
196
  readonly filePaths?: string[];
423
197
  /** A matching paired private key. */
424
198
  pairedKey?: PairedKey;
425
199
  /** Indicates if the certificate is expired. */
426
- isExpired?: IsExpired;
427
- /** Indicates if the certificate was self-signed. */
428
- isSelfSigned?: IsSelfSigned;
200
+ isExpired?: boolean;
201
+ /** Indicates if the certificate is self-signed. */
202
+ isSelfSigned?: boolean;
429
203
  /** Indicates the signature algorithm used is insecure. */
430
- isWeakSignature?: IsWeakSignature;
204
+ isWeakSignature?: boolean;
431
205
  /** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
432
- isShortKeySize?: IsShortKeySize;
206
+ isShortKeySize?: boolean;
433
207
  }
434
208
 
435
209
  /** Information on an entity (distinguished name) in a cryptographic certificate. */
@@ -452,24 +226,22 @@ export interface PairedKey {
452
226
  id?: string;
453
227
  /** The type indicating whether the paired object is a key or certificate. */
454
228
  type?: string;
455
- /** Additional paired key properties */
456
- additionalProperties?: Record<string, unknown>;
457
229
  }
458
230
 
459
- /** Crypto keys list */
460
- export interface CryptoKeyList {
231
+ /** List of crypto keys. */
232
+ export interface CryptoKeyListResult {
461
233
  /**
462
- * Crypto keys list
234
+ * The list of crypto key results.
463
235
  * NOTE: This property will not be serialized. It can only be populated by the server.
464
236
  */
465
- readonly value?: CryptoKey[];
466
- /** The uri to fetch the next page of asset. */
237
+ readonly value?: CryptoKeyResource[];
238
+ /** The uri to fetch the next page of resources. */
467
239
  nextLink?: string;
468
240
  }
469
241
 
470
242
  /** Crypto key properties */
471
243
  export interface CryptoKey {
472
- /** ID for the key. */
244
+ /** ID for the key result. */
473
245
  cryptoKeyId?: string;
474
246
  /** Type of the key (public or private). */
475
247
  keyType?: string;
@@ -480,29 +252,101 @@ export interface CryptoKey {
480
252
  /** Functions the key can fulfill. */
481
253
  usage?: string[];
482
254
  /**
483
- * List of files paths for this key.
255
+ * List of files where this key was found.
484
256
  * NOTE: This property will not be serialized. It can only be populated by the server.
485
257
  */
486
258
  readonly filePaths?: string[];
487
259
  /** A matching paired key or certificate. */
488
260
  pairedKey?: PairedKey;
489
261
  /** Indicates the key size is considered too small to be secure for the algorithm. */
490
- isShortKeySize?: IsShortKeySize;
262
+ isShortKeySize?: boolean;
491
263
  }
492
264
 
493
- /** Return a list of firmware analysis workspaces. */
494
- export interface WorkspaceList {
265
+ /** List of CVE results. */
266
+ export interface CveListResult {
495
267
  /**
496
- * The list of firmware analysis workspaces.
268
+ * The list of CVE results.
497
269
  * NOTE: This property will not be serialized. It can only be populated by the server.
498
270
  */
499
- readonly value?: Workspace[];
271
+ readonly value?: CveResource[];
272
+ /** The uri to fetch the next page of resources. */
273
+ nextLink?: string;
274
+ }
275
+
276
+ /** Details of a CVE detected in firmware. */
277
+ export interface CveResult {
278
+ /** ID of the CVE result. */
279
+ cveId?: string;
280
+ /** The SBOM component for the CVE. */
281
+ component?: CveComponent;
282
+ /** Severity of the CVE. */
283
+ severity?: string;
284
+ /** Name of the CVE. */
285
+ name?: string;
286
+ /** A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score. */
287
+ cvssScore?: string;
288
+ /** CVSS version of the CVE. */
289
+ cvssVersion?: string;
290
+ /** CVSS V2 score of the CVE. */
291
+ cvssV2Score?: string;
292
+ /** CVSS V3 score of the CVE. */
293
+ cvssV3Score?: string;
294
+ /**
295
+ * The list of reference links for the CVE.
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
+ */
298
+ readonly links?: CveLink[];
299
+ /** The CVE description. */
300
+ description?: string;
301
+ }
302
+
303
+ /** Properties of the SBOM component for a CVE. */
304
+ export interface CveComponent {
305
+ /** ID of the SBOM component */
306
+ componentId?: string;
307
+ /** Name of the SBOM component */
308
+ name?: string;
309
+ /** Version of the SBOM component. */
310
+ version?: string;
311
+ }
312
+
313
+ /** Properties of a reference link for a CVE. */
314
+ export interface CveLink {
315
+ /** The destination of the reference link. */
316
+ href?: string;
317
+ /** The label of the reference link. */
318
+ label?: string;
319
+ }
320
+
321
+ /** List of firmwares */
322
+ export interface FirmwareList {
323
+ /**
324
+ * The list of firmwares.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly value?: Firmware[];
500
328
  /** The uri to fetch the next page of asset. */
501
329
  nextLink?: string;
502
330
  }
503
331
 
504
- /** Firmware analysis workspace. */
505
- export interface WorkspaceUpdateDefinition {
332
+ /** Firmware properties. */
333
+ export interface FirmwareProperties {
334
+ /** File name for a firmware that user uploaded. */
335
+ fileName?: string;
336
+ /** Firmware vendor. */
337
+ vendor?: string;
338
+ /** Firmware model. */
339
+ model?: string;
340
+ /** Firmware version. */
341
+ version?: string;
342
+ /** User-specified description of the firmware. */
343
+ description?: string;
344
+ /** File size of the uploaded firmware image. */
345
+ fileSize?: number;
346
+ /** The status of firmware scan. */
347
+ status?: Status;
348
+ /** A list of errors or other messages generated during firmware analysis */
349
+ statusMessages?: StatusMessage[];
506
350
  /**
507
351
  * Provisioning state of the resource.
508
352
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -510,10 +354,27 @@ export interface WorkspaceUpdateDefinition {
510
354
  readonly provisioningState?: ProvisioningState;
511
355
  }
512
356
 
513
- /** Properties for generating an upload URL */
514
- export interface GenerateUploadUrlRequest {
515
- /** A unique ID for the firmware to be uploaded. */
516
- firmwareId?: string;
357
+ /** Error and status message */
358
+ export interface StatusMessage {
359
+ /** The error code */
360
+ errorCode?: number;
361
+ /** The error or status message */
362
+ message?: string;
363
+ }
364
+
365
+ /** Firmware definition */
366
+ export interface FirmwareUpdateDefinition {
367
+ /** The editable properties of a firmware */
368
+ properties?: FirmwareProperties;
369
+ }
370
+
371
+ /** Url data for creating or accessing a blob file. */
372
+ export interface UrlToken {
373
+ /**
374
+ * SAS URL for creating or accessing a blob file.
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
+ */
377
+ readonly url?: string;
517
378
  }
518
379
 
519
380
  /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
@@ -580,18 +441,164 @@ export interface OperationDisplay {
580
441
  readonly description?: string;
581
442
  }
582
443
 
583
- /** Component for CVE */
584
- export interface CveComponent {
585
- /** ID of CVE component */
444
+ /** List of password hash results */
445
+ export interface PasswordHashListResult {
446
+ /**
447
+ * The list of password hash results.
448
+ * NOTE: This property will not be serialized. It can only be populated by the server.
449
+ */
450
+ readonly value?: PasswordHashResource[];
451
+ /** The uri to fetch the next page of resources. */
452
+ nextLink?: string;
453
+ }
454
+
455
+ /** Password hash properties */
456
+ export interface PasswordHash {
457
+ /** ID for password hash */
458
+ passwordHashId?: string;
459
+ /** File path of the password hash */
460
+ filePath?: string;
461
+ /** Salt of the password hash */
462
+ salt?: string;
463
+ /** Hash of the password */
464
+ hash?: string;
465
+ /** Context of password hash */
466
+ context?: string;
467
+ /** User name of password hash */
468
+ username?: string;
469
+ /** Algorithm of the password hash */
470
+ algorithm?: string;
471
+ }
472
+
473
+ /** List of SBOM results. */
474
+ export interface SbomComponentListResult {
475
+ /**
476
+ * The list of SBOM components.
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
478
+ */
479
+ readonly value?: SbomComponentResource[];
480
+ /** The uri to fetch the next page of resources. */
481
+ nextLink?: string;
482
+ }
483
+
484
+ /** SBOM component of a firmware. */
485
+ export interface SbomComponent {
486
+ /** ID for the component. */
586
487
  componentId?: string;
587
- /** Name of CVE component */
588
- name?: string;
589
- /** Version of CVE component */
488
+ /** Name for the component. */
489
+ componentName?: string;
490
+ /** Version for the component. */
590
491
  version?: string;
492
+ /** License for the component. */
493
+ license?: string;
494
+ /** File paths related to the component. */
495
+ filePaths?: string[];
496
+ }
497
+
498
+ /** List of analysis summaries. */
499
+ export interface SummaryListResult {
500
+ /**
501
+ * The list of summaries.
502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
503
+ */
504
+ readonly value?: SummaryResource[];
505
+ /** The uri to fetch the next page of resources. */
506
+ nextLink?: string;
507
+ }
508
+
509
+ /** Properties of an analysis summary. */
510
+ export interface SummaryResourceProperties {
511
+ /** Polymorphic discriminator, which specifies the different types this object can be */
512
+ summaryType:
513
+ | "Firmware"
514
+ | "CVE"
515
+ | "BinaryHardening"
516
+ | "CryptoCertificate"
517
+ | "CryptoKey";
518
+ }
519
+
520
+ /** Return a list of firmware analysis workspaces. */
521
+ export interface WorkspaceList {
522
+ /**
523
+ * The list of firmware analysis workspaces.
524
+ * NOTE: This property will not be serialized. It can only be populated by the server.
525
+ */
526
+ readonly value?: Workspace[];
527
+ /** The uri to fetch the next page of asset. */
528
+ nextLink?: string;
529
+ }
530
+
531
+ /** Workspace properties. */
532
+ export interface WorkspaceProperties {
533
+ /**
534
+ * Provisioning state of the resource.
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly provisioningState?: ProvisioningState;
538
+ }
539
+
540
+ /** Firmware analysis workspace. */
541
+ export interface WorkspaceUpdateDefinition {
542
+ /** The editable workspace properties. */
543
+ properties?: WorkspaceProperties;
544
+ }
545
+
546
+ /** Properties for generating an upload URL */
547
+ export interface GenerateUploadUrlRequest {
548
+ /** A unique ID for the firmware to be uploaded. */
549
+ firmwareId?: string;
550
+ }
551
+
552
+ /** binary hardening analysis result resource */
553
+ export interface BinaryHardeningResource extends Resource {
554
+ /** The properties of a binary hardening result found within a firmware image */
555
+ properties?: BinaryHardeningResult;
556
+ }
557
+
558
+ /** Crypto certificate resource */
559
+ export interface CryptoCertificateResource extends Resource {
560
+ /** The properties of a crypto certificate found within a firmware image */
561
+ properties?: CryptoCertificate;
562
+ }
563
+
564
+ /** Crypto key resource */
565
+ export interface CryptoKeyResource extends Resource {
566
+ /** The properties of a crypto key found within a firmware image */
567
+ properties?: CryptoKey;
568
+ }
569
+
570
+ /** CVE analysis result resource */
571
+ export interface CveResource extends Resource {
572
+ /** The properties of a CVE result found within a firmware image */
573
+ properties?: CveResult;
574
+ }
575
+
576
+ /** Firmware definition */
577
+ export interface Firmware extends Resource {
578
+ /** The properties of a firmware */
579
+ properties?: FirmwareProperties;
580
+ }
581
+
582
+ /** Password hash resource */
583
+ export interface PasswordHashResource extends Resource {
584
+ /** The properties of a password hash found within a firmware image */
585
+ properties?: PasswordHash;
586
+ }
587
+
588
+ /** SBOM analysis result resource */
589
+ export interface SbomComponentResource extends Resource {
590
+ /** The properties of an SBOM component found within a firmware image */
591
+ properties?: SbomComponent;
591
592
  }
592
593
 
593
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
594
- export interface ProxyResource extends Resource {}
594
+ /** The object representing a firmware analysis summary resource. */
595
+ export interface SummaryResource extends Resource {
596
+ /**
597
+ * Properties of an analysis summary.
598
+ * NOTE: This property will not be serialized. It can only be populated by the server.
599
+ */
600
+ readonly properties?: SummaryResourcePropertiesUnion;
601
+ }
595
602
 
596
603
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
597
604
  export interface TrackedResource extends Resource {
@@ -601,40 +608,128 @@ export interface TrackedResource extends Resource {
601
608
  location: string;
602
609
  }
603
610
 
604
- /** Firmware definition */
605
- export interface Firmware extends ProxyResource {
606
- /** File name for a firmware that user uploaded. */
607
- fileName?: string;
608
- /** Firmware vendor. */
609
- vendor?: string;
610
- /** Firmware model. */
611
- model?: string;
612
- /** Firmware version. */
613
- version?: string;
614
- /** User-specified description of the firmware. */
615
- description?: string;
616
- /** File size of the uploaded firmware image. */
611
+ /** Properties for high level summary of firmware analysis results. */
612
+ export interface FirmwareSummary extends SummaryResourceProperties {
613
+ /** Polymorphic discriminator, which specifies the different types this object can be */
614
+ summaryType: "Firmware";
615
+ /** Total extracted size of the firmware in bytes. */
616
+ extractedSize?: number;
617
+ /** Firmware file size in bytes. */
617
618
  fileSize?: number;
618
- /** The status of firmware scan. */
619
- status?: Status;
620
- /** A list of errors or other messages generated during firmware analysis */
621
- statusMessages?: Record<string, unknown>[];
622
- /**
623
- * Provisioning state of the resource.
624
- * NOTE: This property will not be serialized. It can only be populated by the server.
625
- */
626
- readonly provisioningState?: ProvisioningState;
619
+ /** Extracted file count. */
620
+ extractedFileCount?: number;
621
+ /** Components count. */
622
+ componentCount?: number;
623
+ /** Binary count */
624
+ binaryCount?: number;
625
+ /** Time used for analysis */
626
+ analysisTimeSeconds?: number;
627
+ /** The number of root file systems found. */
628
+ rootFileSystems?: number;
629
+ }
630
+
631
+ /** Properties for a CVE analysis summary. */
632
+ export interface CveSummary extends SummaryResourceProperties {
633
+ /** Polymorphic discriminator, which specifies the different types this object can be */
634
+ summaryType: "CVE";
635
+ /** The total number of critical severity CVEs detected */
636
+ critical?: number;
637
+ /** The total number of high severity CVEs detected */
638
+ high?: number;
639
+ /** The total number of medium severity CVEs detected */
640
+ medium?: number;
641
+ /** The total number of low severity CVEs detected */
642
+ low?: number;
643
+ /** The total number of unknown severity CVEs detected */
644
+ unknown?: number;
645
+ }
646
+
647
+ /** Properties for a binary hardening analysis summary. */
648
+ export interface BinaryHardeningSummaryResource
649
+ extends SummaryResourceProperties {
650
+ /** Polymorphic discriminator, which specifies the different types this object can be */
651
+ summaryType: "BinaryHardening";
652
+ /** Total number of binaries that were analyzed */
653
+ totalFiles?: number;
654
+ /** NX summary percentage */
655
+ nx?: number;
656
+ /** PIE summary percentage */
657
+ pie?: number;
658
+ /** RELRO summary percentage */
659
+ relro?: number;
660
+ /** Canary summary percentage */
661
+ canary?: number;
662
+ /** Stripped summary percentage */
663
+ stripped?: number;
664
+ }
665
+
666
+ /** Properties for cryptographic certificate summary. */
667
+ export interface CryptoCertificateSummaryResource
668
+ extends SummaryResourceProperties {
669
+ /** Polymorphic discriminator, which specifies the different types this object can be */
670
+ summaryType: "CryptoCertificate";
671
+ /** Total number of certificates found. */
672
+ totalCertificates?: number;
673
+ /** Total number of paired private keys found for the certificates. */
674
+ pairedKeys?: number;
675
+ /** Total number of expired certificates found. */
676
+ expired?: number;
677
+ /** Total number of nearly expired certificates found. */
678
+ expiringSoon?: number;
679
+ /** Total number of certificates found using a weak signature algorithm. */
680
+ weakSignature?: number;
681
+ /** Total number of certificates found that are self-signed. */
682
+ selfSigned?: number;
683
+ /** Total number of certificates found that have an insecure key size for the key algorithm. */
684
+ shortKeySize?: number;
685
+ }
686
+
687
+ /** Properties for cryptographic key summary. */
688
+ export interface CryptoKeySummaryResource extends SummaryResourceProperties {
689
+ /** Polymorphic discriminator, which specifies the different types this object can be */
690
+ summaryType: "CryptoKey";
691
+ /** Total number of cryptographic keys found. */
692
+ totalKeys?: number;
693
+ /** Total number of (non-certificate) public keys found. */
694
+ publicKeys?: number;
695
+ /** Total number of private keys found. */
696
+ privateKeys?: number;
697
+ /** Total number of keys found that have a matching paired key or certificate. */
698
+ pairedKeys?: number;
699
+ /** Total number of keys found that have an insecure key size for the algorithm. */
700
+ shortKeySize?: number;
627
701
  }
628
702
 
629
703
  /** Firmware analysis workspace. */
630
704
  export interface Workspace extends TrackedResource {
631
- /**
632
- * Provisioning state of the resource.
633
- * NOTE: This property will not be serialized. It can only be populated by the server.
634
- */
635
- readonly provisioningState?: ProvisioningState;
705
+ /** Workspace properties. */
706
+ properties?: WorkspaceProperties;
707
+ }
708
+
709
+ /** Known values of {@link CreatedByType} that the service accepts. */
710
+ export enum KnownCreatedByType {
711
+ /** User */
712
+ User = "User",
713
+ /** Application */
714
+ Application = "Application",
715
+ /** ManagedIdentity */
716
+ ManagedIdentity = "ManagedIdentity",
717
+ /** Key */
718
+ Key = "Key",
636
719
  }
637
720
 
721
+ /**
722
+ * Defines values for CreatedByType. \
723
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
724
+ * this enum contains the known values that the service supports.
725
+ * ### Known values supported by the service
726
+ * **User** \
727
+ * **Application** \
728
+ * **ManagedIdentity** \
729
+ * **Key**
730
+ */
731
+ export type CreatedByType = string;
732
+
638
733
  /** Known values of {@link Status} that the service accepts. */
639
734
  export enum KnownStatus {
640
735
  /** Pending */
@@ -646,7 +741,7 @@ export enum KnownStatus {
646
741
  /** Ready */
647
742
  Ready = "Ready",
648
743
  /** Error */
649
- Error = "Error"
744
+ Error = "Error",
650
745
  }
651
746
 
652
747
  /**
@@ -671,7 +766,7 @@ export enum KnownProvisioningState {
671
766
  /** Canceled */
672
767
  Canceled = "Canceled",
673
768
  /** Failed */
674
- Failed = "Failed"
769
+ Failed = "Failed",
675
770
  }
676
771
 
677
772
  /**
@@ -686,210 +781,6 @@ export enum KnownProvisioningState {
686
781
  */
687
782
  export type ProvisioningState = string;
688
783
 
689
- /** Known values of {@link CreatedByType} that the service accepts. */
690
- export enum KnownCreatedByType {
691
- /** User */
692
- User = "User",
693
- /** Application */
694
- Application = "Application",
695
- /** ManagedIdentity */
696
- ManagedIdentity = "ManagedIdentity",
697
- /** Key */
698
- Key = "Key"
699
- }
700
-
701
- /**
702
- * Defines values for CreatedByType. \
703
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
704
- * this enum contains the known values that the service supports.
705
- * ### Known values supported by the service
706
- * **User** \
707
- * **Application** \
708
- * **ManagedIdentity** \
709
- * **Key**
710
- */
711
- export type CreatedByType = string;
712
-
713
- /** Known values of {@link IsUpdateAvailable} that the service accepts. */
714
- export enum KnownIsUpdateAvailable {
715
- /** True */
716
- True = "True",
717
- /** False */
718
- False = "False"
719
- }
720
-
721
- /**
722
- * Defines values for IsUpdateAvailable. \
723
- * {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
724
- * this enum contains the known values that the service supports.
725
- * ### Known values supported by the service
726
- * **True** \
727
- * **False**
728
- */
729
- export type IsUpdateAvailable = string;
730
-
731
- /** Known values of {@link NxFlag} that the service accepts. */
732
- export enum KnownNxFlag {
733
- /** True */
734
- True = "True",
735
- /** False */
736
- False = "False"
737
- }
738
-
739
- /**
740
- * Defines values for NxFlag. \
741
- * {@link KnownNxFlag} can be used interchangeably with NxFlag,
742
- * this enum contains the known values that the service supports.
743
- * ### Known values supported by the service
744
- * **True** \
745
- * **False**
746
- */
747
- export type NxFlag = string;
748
-
749
- /** Known values of {@link PieFlag} that the service accepts. */
750
- export enum KnownPieFlag {
751
- /** True */
752
- True = "True",
753
- /** False */
754
- False = "False"
755
- }
756
-
757
- /**
758
- * Defines values for PieFlag. \
759
- * {@link KnownPieFlag} can be used interchangeably with PieFlag,
760
- * this enum contains the known values that the service supports.
761
- * ### Known values supported by the service
762
- * **True** \
763
- * **False**
764
- */
765
- export type PieFlag = string;
766
-
767
- /** Known values of {@link RelroFlag} that the service accepts. */
768
- export enum KnownRelroFlag {
769
- /** True */
770
- True = "True",
771
- /** False */
772
- False = "False"
773
- }
774
-
775
- /**
776
- * Defines values for RelroFlag. \
777
- * {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
778
- * this enum contains the known values that the service supports.
779
- * ### Known values supported by the service
780
- * **True** \
781
- * **False**
782
- */
783
- export type RelroFlag = string;
784
-
785
- /** Known values of {@link CanaryFlag} that the service accepts. */
786
- export enum KnownCanaryFlag {
787
- /** True */
788
- True = "True",
789
- /** False */
790
- False = "False"
791
- }
792
-
793
- /**
794
- * Defines values for CanaryFlag. \
795
- * {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
796
- * this enum contains the known values that the service supports.
797
- * ### Known values supported by the service
798
- * **True** \
799
- * **False**
800
- */
801
- export type CanaryFlag = string;
802
-
803
- /** Known values of {@link StrippedFlag} that the service accepts. */
804
- export enum KnownStrippedFlag {
805
- /** True */
806
- True = "True",
807
- /** False */
808
- False = "False"
809
- }
810
-
811
- /**
812
- * Defines values for StrippedFlag. \
813
- * {@link KnownStrippedFlag} can be used interchangeably with StrippedFlag,
814
- * this enum contains the known values that the service supports.
815
- * ### Known values supported by the service
816
- * **True** \
817
- * **False**
818
- */
819
- export type StrippedFlag = string;
820
-
821
- /** Known values of {@link IsExpired} that the service accepts. */
822
- export enum KnownIsExpired {
823
- /** True */
824
- True = "True",
825
- /** False */
826
- False = "False"
827
- }
828
-
829
- /**
830
- * Defines values for IsExpired. \
831
- * {@link KnownIsExpired} can be used interchangeably with IsExpired,
832
- * this enum contains the known values that the service supports.
833
- * ### Known values supported by the service
834
- * **True** \
835
- * **False**
836
- */
837
- export type IsExpired = string;
838
-
839
- /** Known values of {@link IsSelfSigned} that the service accepts. */
840
- export enum KnownIsSelfSigned {
841
- /** True */
842
- True = "True",
843
- /** False */
844
- False = "False"
845
- }
846
-
847
- /**
848
- * Defines values for IsSelfSigned. \
849
- * {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
850
- * this enum contains the known values that the service supports.
851
- * ### Known values supported by the service
852
- * **True** \
853
- * **False**
854
- */
855
- export type IsSelfSigned = string;
856
-
857
- /** Known values of {@link IsWeakSignature} that the service accepts. */
858
- export enum KnownIsWeakSignature {
859
- /** True */
860
- True = "True",
861
- /** False */
862
- False = "False"
863
- }
864
-
865
- /**
866
- * Defines values for IsWeakSignature. \
867
- * {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
868
- * this enum contains the known values that the service supports.
869
- * ### Known values supported by the service
870
- * **True** \
871
- * **False**
872
- */
873
- export type IsWeakSignature = string;
874
-
875
- /** Known values of {@link IsShortKeySize} that the service accepts. */
876
- export enum KnownIsShortKeySize {
877
- /** True */
878
- True = "True",
879
- /** False */
880
- False = "False"
881
- }
882
-
883
- /**
884
- * Defines values for IsShortKeySize. \
885
- * {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
886
- * this enum contains the known values that the service supports.
887
- * ### Known values supported by the service
888
- * **True** \
889
- * **False**
890
- */
891
- export type IsShortKeySize = string;
892
-
893
784
  /** Known values of {@link Origin} that the service accepts. */
894
785
  export enum KnownOrigin {
895
786
  /** User */
@@ -897,7 +788,7 @@ export enum KnownOrigin {
897
788
  /** System */
898
789
  System = "system",
899
790
  /** UserSystem */
900
- UserSystem = "user,system"
791
+ UserSystem = "user,system",
901
792
  }
902
793
 
903
794
  /**
@@ -914,7 +805,7 @@ export type Origin = string;
914
805
  /** Known values of {@link ActionType} that the service accepts. */
915
806
  export enum KnownActionType {
916
807
  /** Internal */
917
- Internal = "Internal"
808
+ Internal = "Internal",
918
809
  }
919
810
 
920
811
  /**
@@ -926,191 +817,234 @@ export enum KnownActionType {
926
817
  */
927
818
  export type ActionType = string;
928
819
 
929
- /** Optional parameters. */
930
- export interface FirmwareListByWorkspaceOptionalParams
931
- extends coreClient.OperationOptions {}
932
-
933
- /** Contains response data for the listByWorkspace operation. */
934
- export type FirmwareListByWorkspaceResponse = FirmwareList;
820
+ /** Known values of {@link SummaryType} that the service accepts. */
821
+ export enum KnownSummaryType {
822
+ /** Firmware */
823
+ Firmware = "Firmware",
824
+ /** CVE */
825
+ CVE = "CVE",
826
+ /** BinaryHardening */
827
+ BinaryHardening = "BinaryHardening",
828
+ /** CryptoCertificate */
829
+ CryptoCertificate = "CryptoCertificate",
830
+ /** CryptoKey */
831
+ CryptoKey = "CryptoKey",
832
+ }
935
833
 
936
- /** Optional parameters. */
937
- export interface FirmwareCreateOptionalParams
938
- extends coreClient.OperationOptions {}
834
+ /**
835
+ * Defines values for SummaryType. \
836
+ * {@link KnownSummaryType} can be used interchangeably with SummaryType,
837
+ * this enum contains the known values that the service supports.
838
+ * ### Known values supported by the service
839
+ * **Firmware** \
840
+ * **CVE** \
841
+ * **BinaryHardening** \
842
+ * **CryptoCertificate** \
843
+ * **CryptoKey**
844
+ */
845
+ export type SummaryType = string;
846
+
847
+ /** Known values of {@link SummaryName} that the service accepts. */
848
+ export enum KnownSummaryName {
849
+ /** Firmware */
850
+ Firmware = "Firmware",
851
+ /** CVE */
852
+ CVE = "CVE",
853
+ /** BinaryHardening */
854
+ BinaryHardening = "BinaryHardening",
855
+ /** CryptoCertificate */
856
+ CryptoCertificate = "CryptoCertificate",
857
+ /** CryptoKey */
858
+ CryptoKey = "CryptoKey",
859
+ }
939
860
 
940
- /** Contains response data for the create operation. */
941
- export type FirmwareCreateResponse = Firmware;
861
+ /**
862
+ * Defines values for SummaryName. \
863
+ * {@link KnownSummaryName} can be used interchangeably with SummaryName,
864
+ * this enum contains the known values that the service supports.
865
+ * ### Known values supported by the service
866
+ * **Firmware** \
867
+ * **CVE** \
868
+ * **BinaryHardening** \
869
+ * **CryptoCertificate** \
870
+ * **CryptoKey**
871
+ */
872
+ export type SummaryName = string;
942
873
 
943
874
  /** Optional parameters. */
944
- export interface FirmwareUpdateOptionalParams
875
+ export interface BinaryHardeningListByFirmwareOptionalParams
945
876
  extends coreClient.OperationOptions {}
946
877
 
947
- /** Contains response data for the update operation. */
948
- export type FirmwareUpdateResponse = Firmware;
878
+ /** Contains response data for the listByFirmware operation. */
879
+ export type BinaryHardeningListByFirmwareResponse = BinaryHardeningListResult;
949
880
 
950
881
  /** Optional parameters. */
951
- export interface FirmwareDeleteOptionalParams
882
+ export interface BinaryHardeningListByFirmwareNextOptionalParams
952
883
  extends coreClient.OperationOptions {}
953
884
 
885
+ /** Contains response data for the listByFirmwareNext operation. */
886
+ export type BinaryHardeningListByFirmwareNextResponse =
887
+ BinaryHardeningListResult;
888
+
954
889
  /** Optional parameters. */
955
- export interface FirmwareGetOptionalParams
890
+ export interface CryptoCertificatesListByFirmwareOptionalParams
956
891
  extends coreClient.OperationOptions {}
957
892
 
958
- /** Contains response data for the get operation. */
959
- export type FirmwareGetResponse = Firmware;
893
+ /** Contains response data for the listByFirmware operation. */
894
+ export type CryptoCertificatesListByFirmwareResponse =
895
+ CryptoCertificateListResult;
960
896
 
961
897
  /** Optional parameters. */
962
- export interface FirmwareGenerateDownloadUrlOptionalParams
898
+ export interface CryptoCertificatesListByFirmwareNextOptionalParams
963
899
  extends coreClient.OperationOptions {}
964
900
 
965
- /** Contains response data for the generateDownloadUrl operation. */
966
- export type FirmwareGenerateDownloadUrlResponse = UrlToken;
901
+ /** Contains response data for the listByFirmwareNext operation. */
902
+ export type CryptoCertificatesListByFirmwareNextResponse =
903
+ CryptoCertificateListResult;
967
904
 
968
905
  /** Optional parameters. */
969
- export interface FirmwareGenerateFilesystemDownloadUrlOptionalParams
906
+ export interface CryptoKeysListByFirmwareOptionalParams
970
907
  extends coreClient.OperationOptions {}
971
908
 
972
- /** Contains response data for the generateFilesystemDownloadUrl operation. */
973
- export type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
909
+ /** Contains response data for the listByFirmware operation. */
910
+ export type CryptoKeysListByFirmwareResponse = CryptoKeyListResult;
974
911
 
975
912
  /** Optional parameters. */
976
- export interface FirmwareGenerateSummaryOptionalParams
913
+ export interface CryptoKeysListByFirmwareNextOptionalParams
977
914
  extends coreClient.OperationOptions {}
978
915
 
979
- /** Contains response data for the generateSummary operation. */
980
- export type FirmwareGenerateSummaryResponse = FirmwareSummary;
916
+ /** Contains response data for the listByFirmwareNext operation. */
917
+ export type CryptoKeysListByFirmwareNextResponse = CryptoKeyListResult;
981
918
 
982
919
  /** Optional parameters. */
983
- export interface FirmwareListGenerateComponentListOptionalParams
920
+ export interface CvesListByFirmwareOptionalParams
984
921
  extends coreClient.OperationOptions {}
985
922
 
986
- /** Contains response data for the listGenerateComponentList operation. */
987
- export type FirmwareListGenerateComponentListResponse = ComponentList;
923
+ /** Contains response data for the listByFirmware operation. */
924
+ export type CvesListByFirmwareResponse = CveListResult;
988
925
 
989
926
  /** Optional parameters. */
990
- export interface FirmwareGenerateComponentDetailsOptionalParams
927
+ export interface CvesListByFirmwareNextOptionalParams
991
928
  extends coreClient.OperationOptions {}
992
929
 
993
- /** Contains response data for the generateComponentDetails operation. */
994
- export type FirmwareGenerateComponentDetailsResponse = Component;
930
+ /** Contains response data for the listByFirmwareNext operation. */
931
+ export type CvesListByFirmwareNextResponse = CveListResult;
995
932
 
996
933
  /** Optional parameters. */
997
- export interface FirmwareListGenerateBinaryHardeningListOptionalParams
934
+ export interface FirmwaresListByWorkspaceOptionalParams
998
935
  extends coreClient.OperationOptions {}
999
936
 
1000
- /** Contains response data for the listGenerateBinaryHardeningList operation. */
1001
- export type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
937
+ /** Contains response data for the listByWorkspace operation. */
938
+ export type FirmwaresListByWorkspaceResponse = FirmwareList;
1002
939
 
1003
940
  /** Optional parameters. */
1004
- export interface FirmwareGenerateBinaryHardeningSummaryOptionalParams
941
+ export interface FirmwaresCreateOptionalParams
1005
942
  extends coreClient.OperationOptions {}
1006
943
 
1007
- /** Contains response data for the generateBinaryHardeningSummary operation. */
1008
- export type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
944
+ /** Contains response data for the create operation. */
945
+ export type FirmwaresCreateResponse = Firmware;
1009
946
 
1010
947
  /** Optional parameters. */
1011
- export interface FirmwareGenerateBinaryHardeningDetailsOptionalParams
948
+ export interface FirmwaresUpdateOptionalParams
1012
949
  extends coreClient.OperationOptions {}
1013
950
 
1014
- /** Contains response data for the generateBinaryHardeningDetails operation. */
1015
- export type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
951
+ /** Contains response data for the update operation. */
952
+ export type FirmwaresUpdateResponse = Firmware;
1016
953
 
1017
954
  /** Optional parameters. */
1018
- export interface FirmwareListGeneratePasswordHashListOptionalParams
955
+ export interface FirmwaresDeleteOptionalParams
1019
956
  extends coreClient.OperationOptions {}
1020
957
 
1021
- /** Contains response data for the listGeneratePasswordHashList operation. */
1022
- export type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
1023
-
1024
958
  /** Optional parameters. */
1025
- export interface FirmwareListGenerateCveListOptionalParams
959
+ export interface FirmwaresGetOptionalParams
1026
960
  extends coreClient.OperationOptions {}
1027
961
 
1028
- /** Contains response data for the listGenerateCveList operation. */
1029
- export type FirmwareListGenerateCveListResponse = CveList;
962
+ /** Contains response data for the get operation. */
963
+ export type FirmwaresGetResponse = Firmware;
1030
964
 
1031
965
  /** Optional parameters. */
1032
- export interface FirmwareGenerateCveSummaryOptionalParams
966
+ export interface FirmwaresGenerateDownloadUrlOptionalParams
1033
967
  extends coreClient.OperationOptions {}
1034
968
 
1035
- /** Contains response data for the generateCveSummary operation. */
1036
- export type FirmwareGenerateCveSummaryResponse = CveSummary;
969
+ /** Contains response data for the generateDownloadUrl operation. */
970
+ export type FirmwaresGenerateDownloadUrlResponse = UrlToken;
1037
971
 
1038
972
  /** Optional parameters. */
1039
- export interface FirmwareGenerateCryptoCertificateSummaryOptionalParams
973
+ export interface FirmwaresGenerateFilesystemDownloadUrlOptionalParams
1040
974
  extends coreClient.OperationOptions {}
1041
975
 
1042
- /** Contains response data for the generateCryptoCertificateSummary operation. */
1043
- export type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
976
+ /** Contains response data for the generateFilesystemDownloadUrl operation. */
977
+ export type FirmwaresGenerateFilesystemDownloadUrlResponse = UrlToken;
1044
978
 
1045
979
  /** Optional parameters. */
1046
- export interface FirmwareGenerateCryptoKeySummaryOptionalParams
980
+ export interface FirmwaresListByWorkspaceNextOptionalParams
1047
981
  extends coreClient.OperationOptions {}
1048
982
 
1049
- /** Contains response data for the generateCryptoKeySummary operation. */
1050
- export type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
983
+ /** Contains response data for the listByWorkspaceNext operation. */
984
+ export type FirmwaresListByWorkspaceNextResponse = FirmwareList;
1051
985
 
1052
986
  /** Optional parameters. */
1053
- export interface FirmwareListGenerateCryptoCertificateListOptionalParams
987
+ export interface OperationsListOptionalParams
1054
988
  extends coreClient.OperationOptions {}
1055
989
 
1056
- /** Contains response data for the listGenerateCryptoCertificateList operation. */
1057
- export type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
990
+ /** Contains response data for the list operation. */
991
+ export type OperationsListResponse = OperationListResult;
1058
992
 
1059
993
  /** Optional parameters. */
1060
- export interface FirmwareListGenerateCryptoKeyListOptionalParams
994
+ export interface OperationsListNextOptionalParams
1061
995
  extends coreClient.OperationOptions {}
1062
996
 
1063
- /** Contains response data for the listGenerateCryptoKeyList operation. */
1064
- export type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
997
+ /** Contains response data for the listNext operation. */
998
+ export type OperationsListNextResponse = OperationListResult;
1065
999
 
1066
1000
  /** Optional parameters. */
1067
- export interface FirmwareListByWorkspaceNextOptionalParams
1001
+ export interface PasswordHashesListByFirmwareOptionalParams
1068
1002
  extends coreClient.OperationOptions {}
1069
1003
 
1070
- /** Contains response data for the listByWorkspaceNext operation. */
1071
- export type FirmwareListByWorkspaceNextResponse = FirmwareList;
1004
+ /** Contains response data for the listByFirmware operation. */
1005
+ export type PasswordHashesListByFirmwareResponse = PasswordHashListResult;
1072
1006
 
1073
1007
  /** Optional parameters. */
1074
- export interface FirmwareListGenerateComponentListNextOptionalParams
1008
+ export interface PasswordHashesListByFirmwareNextOptionalParams
1075
1009
  extends coreClient.OperationOptions {}
1076
1010
 
1077
- /** Contains response data for the listGenerateComponentListNext operation. */
1078
- export type FirmwareListGenerateComponentListNextResponse = ComponentList;
1011
+ /** Contains response data for the listByFirmwareNext operation. */
1012
+ export type PasswordHashesListByFirmwareNextResponse = PasswordHashListResult;
1079
1013
 
1080
1014
  /** Optional parameters. */
1081
- export interface FirmwareListGenerateBinaryHardeningListNextOptionalParams
1015
+ export interface SbomComponentsListByFirmwareOptionalParams
1082
1016
  extends coreClient.OperationOptions {}
1083
1017
 
1084
- /** Contains response data for the listGenerateBinaryHardeningListNext operation. */
1085
- export type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
1018
+ /** Contains response data for the listByFirmware operation. */
1019
+ export type SbomComponentsListByFirmwareResponse = SbomComponentListResult;
1086
1020
 
1087
1021
  /** Optional parameters. */
1088
- export interface FirmwareListGeneratePasswordHashListNextOptionalParams
1022
+ export interface SbomComponentsListByFirmwareNextOptionalParams
1089
1023
  extends coreClient.OperationOptions {}
1090
1024
 
1091
- /** Contains response data for the listGeneratePasswordHashListNext operation. */
1092
- export type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
1025
+ /** Contains response data for the listByFirmwareNext operation. */
1026
+ export type SbomComponentsListByFirmwareNextResponse = SbomComponentListResult;
1093
1027
 
1094
1028
  /** Optional parameters. */
1095
- export interface FirmwareListGenerateCveListNextOptionalParams
1029
+ export interface SummariesListByFirmwareOptionalParams
1096
1030
  extends coreClient.OperationOptions {}
1097
1031
 
1098
- /** Contains response data for the listGenerateCveListNext operation. */
1099
- export type FirmwareListGenerateCveListNextResponse = CveList;
1032
+ /** Contains response data for the listByFirmware operation. */
1033
+ export type SummariesListByFirmwareResponse = SummaryListResult;
1100
1034
 
1101
1035
  /** Optional parameters. */
1102
- export interface FirmwareListGenerateCryptoCertificateListNextOptionalParams
1036
+ export interface SummariesGetOptionalParams
1103
1037
  extends coreClient.OperationOptions {}
1104
1038
 
1105
- /** Contains response data for the listGenerateCryptoCertificateListNext operation. */
1106
- export type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
1039
+ /** Contains response data for the get operation. */
1040
+ export type SummariesGetResponse = SummaryResource;
1107
1041
 
1108
1042
  /** Optional parameters. */
1109
- export interface FirmwareListGenerateCryptoKeyListNextOptionalParams
1043
+ export interface SummariesListByFirmwareNextOptionalParams
1110
1044
  extends coreClient.OperationOptions {}
1111
1045
 
1112
- /** Contains response data for the listGenerateCryptoKeyListNext operation. */
1113
- export type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
1046
+ /** Contains response data for the listByFirmwareNext operation. */
1047
+ export type SummariesListByFirmwareNextResponse = SummaryListResult;
1114
1048
 
1115
1049
  /** Optional parameters. */
1116
1050
  export interface WorkspacesListBySubscriptionOptionalParams
@@ -1172,20 +1106,6 @@ export interface WorkspacesListByResourceGroupNextOptionalParams
1172
1106
  /** Contains response data for the listByResourceGroupNext operation. */
1173
1107
  export type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
1174
1108
 
1175
- /** Optional parameters. */
1176
- export interface OperationsListOptionalParams
1177
- extends coreClient.OperationOptions {}
1178
-
1179
- /** Contains response data for the list operation. */
1180
- export type OperationsListResponse = OperationListResult;
1181
-
1182
- /** Optional parameters. */
1183
- export interface OperationsListNextOptionalParams
1184
- extends coreClient.OperationOptions {}
1185
-
1186
- /** Contains response data for the listNext operation. */
1187
- export type OperationsListNextResponse = OperationListResult;
1188
-
1189
1109
  /** Optional parameters. */
1190
1110
  export interface IoTFirmwareDefenseClientOptionalParams
1191
1111
  extends coreClient.ServiceClientOptions {