@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.
- package/CHANGELOG.md +2 -2
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +2280 -2198
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCryptoKeyListSample.js → binaryHardeningListByFirmwareSample.js} +23 -34
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCveListSample.js → cryptoCertificatesListByFirmwareSample.js} +25 -37
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCryptoCertificateListSample.js → cryptoKeysListByFirmwareSample.js} +23 -34
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareCreateSample.js → firmwaresCreateSample.js} +20 -18
- package/dist-esm/samples-dev/firmwaresCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareDeleteSample.js → firmwaresDeleteSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateDownloadUrlSample.js → firmwaresGenerateDownloadUrlSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateFilesystemDownloadUrlSample.js → firmwaresGenerateFilesystemDownloadUrlSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGetSample.js → firmwaresGetSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGetSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListByWorkspaceSample.js → firmwaresListByWorkspaceSample.js} +13 -23
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareUpdateSample.js → firmwaresUpdateSample.js} +20 -18
- package/dist-esm/samples-dev/firmwaresUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +8 -18
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/summariesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/summariesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateSummarySample.js → summariesGetSample.js} +23 -23
- package/dist-esm/samples-dev/summariesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateSample.js +5 -4
- package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +2 -2
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +4 -4
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +2 -2
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +8 -18
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +8 -18
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +11 -4
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -1
- package/dist-esm/src/ioTFirmwareDefenseClient.js +19 -12
- package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +516 -602
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +40 -92
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +45 -25
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1120 -1036
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +3 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +56 -49
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/binaryHardening.d.ts +41 -0
- package/dist-esm/src/operations/binaryHardening.d.ts.map +1 -0
- package/dist-esm/src/operations/binaryHardening.js +155 -0
- package/dist-esm/src/operations/binaryHardening.js.map +1 -0
- package/dist-esm/src/operations/cryptoCertificates.d.ts +41 -0
- package/dist-esm/src/operations/cryptoCertificates.d.ts.map +1 -0
- package/dist-esm/src/operations/cryptoCertificates.js +155 -0
- package/dist-esm/src/operations/cryptoCertificates.js.map +1 -0
- package/dist-esm/src/operations/cryptoKeys.d.ts +41 -0
- package/dist-esm/src/operations/cryptoKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/cryptoKeys.js +155 -0
- package/dist-esm/src/operations/cryptoKeys.js.map +1 -0
- package/dist-esm/src/operations/cves.d.ts +41 -0
- package/dist-esm/src/operations/cves.d.ts.map +1 -0
- package/dist-esm/src/operations/cves.js +155 -0
- package/dist-esm/src/operations/cves.js.map +1 -0
- package/dist-esm/src/operations/firmwares.d.ts +88 -0
- package/dist-esm/src/operations/firmwares.d.ts.map +1 -0
- package/dist-esm/src/operations/firmwares.js +350 -0
- package/dist-esm/src/operations/firmwares.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +9 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +9 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -17
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/passwordHashes.d.ts +41 -0
- package/dist-esm/src/operations/passwordHashes.d.ts.map +1 -0
- package/dist-esm/src/operations/passwordHashes.js +155 -0
- package/dist-esm/src/operations/passwordHashes.js.map +1 -0
- package/dist-esm/src/operations/sbomComponents.d.ts +41 -0
- package/dist-esm/src/operations/sbomComponents.d.ts.map +1 -0
- package/dist-esm/src/operations/sbomComponents.js +155 -0
- package/dist-esm/src/operations/sbomComponents.js.map +1 -0
- package/dist-esm/src/operations/summaries.d.ts +52 -0
- package/dist-esm/src/operations/summaries.d.ts.map +1 -0
- package/dist-esm/src/operations/summaries.js +191 -0
- package/dist-esm/src/operations/summaries.js.map +1 -0
- package/dist-esm/src/operations/workspaces.js +52 -66
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{firmwareOperations.js → binaryHardening.js} +1 -1
- package/dist-esm/src/operationsInterfaces/binaryHardening.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.js +9 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cves.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cves.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cves.js +9 -0
- package/dist-esm/src/operationsInterfaces/cves.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwares.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/firmwares.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwares.js +9 -0
- package/dist-esm/src/operationsInterfaces/firmwares.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +9 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.js +9 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.js +9 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
- package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +7 -17
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -1
- package/package.json +15 -20
- package/review/arm-iotfirmwaredefense.api.md +329 -330
- package/src/ioTFirmwareDefenseClient.ts +53 -24
- package/src/models/index.ts +566 -646
- package/src/models/mappers.ts +1190 -1036
- package/src/models/parameters.ts +59 -51
- package/src/operations/binaryHardening.ts +216 -0
- package/src/operations/cryptoCertificates.ts +216 -0
- package/src/operations/cryptoKeys.ts +216 -0
- package/src/operations/cves.ts +216 -0
- package/src/operations/firmwares.ts +469 -0
- package/src/operations/index.ts +9 -2
- package/src/operations/operations.ts +16 -16
- package/src/operations/passwordHashes.ts +216 -0
- package/src/operations/sbomComponents.ts +216 -0
- package/src/operations/summaries.ts +265 -0
- package/src/operations/workspaces.ts +81 -92
- package/src/operationsInterfaces/binaryHardening.ts +31 -0
- package/src/operationsInterfaces/cryptoCertificates.ts +31 -0
- package/src/operationsInterfaces/cryptoKeys.ts +31 -0
- package/src/operationsInterfaces/cves.ts +28 -0
- package/src/operationsInterfaces/firmwares.ts +123 -0
- package/src/operationsInterfaces/index.ts +9 -2
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/passwordHashes.ts +31 -0
- package/src/operationsInterfaces/sbomComponents.ts +31 -0
- package/src/operationsInterfaces/summaries.ts +50 -0
- package/src/operationsInterfaces/workspaces.ts +8 -8
- package/src/pagingHelper.ts +1 -1
- package/types/arm-iotfirmwaredefense.d.ts +573 -675
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +0 -61
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +0 -61
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGetSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js +0 -104
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js +0 -104
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +0 -104
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareUpdateSample.js.map +0 -1
- package/dist-esm/src/operations/firmwareOperations.d.ts +0 -313
- package/dist-esm/src/operations/firmwareOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/firmwareOperations.js +0 -1393
- package/dist-esm/src/operations/firmwareOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +0 -169
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/operations/firmwareOperations.ts +0 -1892
- package/src/operationsInterfaces/firmwareOperations.ts +0 -320
|
@@ -11,45 +11,85 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare type ActionType = string;
|
|
13
13
|
|
|
14
|
-
/**
|
|
14
|
+
/** Interface representing a BinaryHardening. */
|
|
15
15
|
export declare interface BinaryHardening {
|
|
16
|
+
/**
|
|
17
|
+
* Lists binary hardening analysis results of a firmware.
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
20
|
+
* @param firmwareId The id of the firmware.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: BinaryHardeningListByFirmwareOptionalParams): PagedAsyncIterableIterator<BinaryHardeningResource>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Binary hardening features. */
|
|
27
|
+
export declare interface BinaryHardeningFeatures {
|
|
28
|
+
/** NX (no-execute) flag. */
|
|
29
|
+
nx?: boolean;
|
|
30
|
+
/** PIE (position independent executable) flag. */
|
|
31
|
+
pie?: boolean;
|
|
32
|
+
/** RELRO (relocation read-only) flag. */
|
|
33
|
+
relro?: boolean;
|
|
34
|
+
/** Canary (stack canaries) flag. */
|
|
35
|
+
canary?: boolean;
|
|
36
|
+
/** Stripped flag. */
|
|
37
|
+
stripped?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** Optional parameters. */
|
|
41
|
+
export declare interface BinaryHardeningListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
45
|
+
export declare type BinaryHardeningListByFirmwareNextResponse = BinaryHardeningListResult;
|
|
46
|
+
|
|
47
|
+
/** Optional parameters. */
|
|
48
|
+
export declare interface BinaryHardeningListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** Contains response data for the listByFirmware operation. */
|
|
52
|
+
export declare type BinaryHardeningListByFirmwareResponse = BinaryHardeningListResult;
|
|
53
|
+
|
|
54
|
+
/** List of binary hardening results. */
|
|
55
|
+
export declare interface BinaryHardeningListResult {
|
|
56
|
+
/**
|
|
57
|
+
* The list of binary hardening results.
|
|
58
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
59
|
+
*/
|
|
60
|
+
readonly value?: BinaryHardeningResource[];
|
|
61
|
+
/** The uri to fetch the next page of resources. */
|
|
62
|
+
nextLink?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** binary hardening analysis result resource */
|
|
66
|
+
export declare interface BinaryHardeningResource extends Resource {
|
|
67
|
+
/** The properties of a binary hardening result found within a firmware image */
|
|
68
|
+
properties?: BinaryHardeningResult;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** Binary hardening of a firmware. */
|
|
72
|
+
export declare interface BinaryHardeningResult {
|
|
16
73
|
/** ID for the binary hardening result. */
|
|
17
74
|
binaryHardeningId?: string;
|
|
75
|
+
/** Binary hardening features. */
|
|
76
|
+
features?: BinaryHardeningFeatures;
|
|
18
77
|
/** The architecture of the uploaded firmware. */
|
|
19
78
|
architecture?: string;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** class
|
|
79
|
+
/** The executable path. */
|
|
80
|
+
filePath?: string;
|
|
81
|
+
/** The executable class to indicate 32 or 64 bit. */
|
|
23
82
|
class?: string;
|
|
24
83
|
/** The runpath of the uploaded firmware. */
|
|
25
84
|
runpath?: string;
|
|
26
85
|
/** The rpath of the uploaded firmware. */
|
|
27
86
|
rpath?: string;
|
|
28
|
-
/** NX flag. */
|
|
29
|
-
nx?: NxFlag;
|
|
30
|
-
/** PIE flag. */
|
|
31
|
-
pie?: PieFlag;
|
|
32
|
-
/** RELRO flag. */
|
|
33
|
-
relro?: RelroFlag;
|
|
34
|
-
/** Canary flag. */
|
|
35
|
-
canary?: CanaryFlag;
|
|
36
|
-
/** Stripped flag. */
|
|
37
|
-
stripped?: StrippedFlag;
|
|
38
87
|
}
|
|
39
88
|
|
|
40
|
-
/**
|
|
41
|
-
export declare interface
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
45
|
-
*/
|
|
46
|
-
readonly value?: BinaryHardening[];
|
|
47
|
-
/** The uri to fetch the next page of asset. */
|
|
48
|
-
nextLink?: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/** Binary hardening summary percentages. */
|
|
52
|
-
export declare interface BinaryHardeningSummary {
|
|
89
|
+
/** Properties for a binary hardening analysis summary. */
|
|
90
|
+
export declare interface BinaryHardeningSummaryResource extends SummaryResourceProperties {
|
|
91
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
92
|
+
summaryType: "BinaryHardening";
|
|
53
93
|
/** Total number of binaries that were analyzed */
|
|
54
94
|
totalFiles?: number;
|
|
55
95
|
/** NX summary percentage */
|
|
@@ -64,45 +104,6 @@ export declare interface BinaryHardeningSummary {
|
|
|
64
104
|
stripped?: number;
|
|
65
105
|
}
|
|
66
106
|
|
|
67
|
-
/**
|
|
68
|
-
* Defines values for CanaryFlag. \
|
|
69
|
-
* {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
|
|
70
|
-
* this enum contains the known values that the service supports.
|
|
71
|
-
* ### Known values supported by the service
|
|
72
|
-
* **True** \
|
|
73
|
-
* **False**
|
|
74
|
-
*/
|
|
75
|
-
export declare type CanaryFlag = string;
|
|
76
|
-
|
|
77
|
-
/** Component of a firmware. */
|
|
78
|
-
export declare interface Component {
|
|
79
|
-
/** ID for the component. */
|
|
80
|
-
componentId?: string;
|
|
81
|
-
/** Name for the component. */
|
|
82
|
-
componentName?: string;
|
|
83
|
-
/** Version for the component. */
|
|
84
|
-
version?: string;
|
|
85
|
-
/** License for the component. */
|
|
86
|
-
license?: string;
|
|
87
|
-
/** Release date for the component. */
|
|
88
|
-
releaseDate?: Date;
|
|
89
|
-
/** Paths of the component. */
|
|
90
|
-
paths?: string[];
|
|
91
|
-
/** Flag if new update is available for the component. */
|
|
92
|
-
isUpdateAvailable?: IsUpdateAvailable;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/** List result for components */
|
|
96
|
-
export declare interface ComponentList {
|
|
97
|
-
/**
|
|
98
|
-
* The list of components.
|
|
99
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
100
|
-
*/
|
|
101
|
-
readonly value?: Component[];
|
|
102
|
-
/** The uri to fetch the next page of asset. */
|
|
103
|
-
nextLink?: string;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
107
|
/**
|
|
107
108
|
* Defines values for CreatedByType. \
|
|
108
109
|
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
@@ -117,7 +118,7 @@ export declare type CreatedByType = string;
|
|
|
117
118
|
|
|
118
119
|
/** Crypto certificate properties */
|
|
119
120
|
export declare interface CryptoCertificate {
|
|
120
|
-
/** ID for the certificate. */
|
|
121
|
+
/** ID for the certificate result. */
|
|
121
122
|
cryptoCertId?: string;
|
|
122
123
|
/** Name of the certificate. */
|
|
123
124
|
name?: string;
|
|
@@ -146,20 +147,20 @@ export declare interface CryptoCertificate {
|
|
|
146
147
|
/** List of functions the certificate can fulfill. */
|
|
147
148
|
usage?: string[];
|
|
148
149
|
/**
|
|
149
|
-
* List of files
|
|
150
|
+
* List of files where this certificate was found.
|
|
150
151
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
152
|
*/
|
|
152
153
|
readonly filePaths?: string[];
|
|
153
154
|
/** A matching paired private key. */
|
|
154
155
|
pairedKey?: PairedKey;
|
|
155
156
|
/** Indicates if the certificate is expired. */
|
|
156
|
-
isExpired?:
|
|
157
|
-
/** Indicates if the certificate
|
|
158
|
-
isSelfSigned?:
|
|
157
|
+
isExpired?: boolean;
|
|
158
|
+
/** Indicates if the certificate is self-signed. */
|
|
159
|
+
isSelfSigned?: boolean;
|
|
159
160
|
/** Indicates the signature algorithm used is insecure. */
|
|
160
|
-
isWeakSignature?:
|
|
161
|
+
isWeakSignature?: boolean;
|
|
161
162
|
/** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
|
|
162
|
-
isShortKeySize?:
|
|
163
|
+
isShortKeySize?: boolean;
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
/** Information on an entity (distinguished name) in a cryptographic certificate. */
|
|
@@ -176,19 +177,53 @@ export declare interface CryptoCertificateEntity {
|
|
|
176
177
|
country?: string;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
|
-
/**
|
|
180
|
-
export declare interface
|
|
180
|
+
/** List of crypto certificates. */
|
|
181
|
+
export declare interface CryptoCertificateListResult {
|
|
181
182
|
/**
|
|
182
|
-
*
|
|
183
|
+
* The list of crypto certificate results.
|
|
183
184
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
184
185
|
*/
|
|
185
|
-
readonly value?:
|
|
186
|
-
/** The uri to fetch the next page of
|
|
186
|
+
readonly value?: CryptoCertificateResource[];
|
|
187
|
+
/** The uri to fetch the next page of resources. */
|
|
187
188
|
nextLink?: string;
|
|
188
189
|
}
|
|
189
190
|
|
|
190
|
-
/**
|
|
191
|
-
export declare interface
|
|
191
|
+
/** Crypto certificate resource */
|
|
192
|
+
export declare interface CryptoCertificateResource extends Resource {
|
|
193
|
+
/** The properties of a crypto certificate found within a firmware image */
|
|
194
|
+
properties?: CryptoCertificate;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** Interface representing a CryptoCertificates. */
|
|
198
|
+
export declare interface CryptoCertificates {
|
|
199
|
+
/**
|
|
200
|
+
* Lists cryptographic certificate analysis results found in a firmware.
|
|
201
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
202
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
203
|
+
* @param firmwareId The id of the firmware.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: CryptoCertificatesListByFirmwareOptionalParams): PagedAsyncIterableIterator<CryptoCertificateResource>;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/** Optional parameters. */
|
|
210
|
+
export declare interface CryptoCertificatesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
214
|
+
export declare type CryptoCertificatesListByFirmwareNextResponse = CryptoCertificateListResult;
|
|
215
|
+
|
|
216
|
+
/** Optional parameters. */
|
|
217
|
+
export declare interface CryptoCertificatesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** Contains response data for the listByFirmware operation. */
|
|
221
|
+
export declare type CryptoCertificatesListByFirmwareResponse = CryptoCertificateListResult;
|
|
222
|
+
|
|
223
|
+
/** Properties for cryptographic certificate summary. */
|
|
224
|
+
export declare interface CryptoCertificateSummaryResource extends SummaryResourceProperties {
|
|
225
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
226
|
+
summaryType: "CryptoCertificate";
|
|
192
227
|
/** Total number of certificates found. */
|
|
193
228
|
totalCertificates?: number;
|
|
194
229
|
/** Total number of paired private keys found for the certificates. */
|
|
@@ -207,7 +242,7 @@ export declare interface CryptoCertificateSummary {
|
|
|
207
242
|
|
|
208
243
|
/** Crypto key properties */
|
|
209
244
|
declare interface CryptoKey_2 {
|
|
210
|
-
/** ID for the key. */
|
|
245
|
+
/** ID for the key result. */
|
|
211
246
|
cryptoKeyId?: string;
|
|
212
247
|
/** Type of the key (public or private). */
|
|
213
248
|
keyType?: string;
|
|
@@ -218,30 +253,64 @@ declare interface CryptoKey_2 {
|
|
|
218
253
|
/** Functions the key can fulfill. */
|
|
219
254
|
usage?: string[];
|
|
220
255
|
/**
|
|
221
|
-
* List of files
|
|
256
|
+
* List of files where this key was found.
|
|
222
257
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
223
258
|
*/
|
|
224
259
|
readonly filePaths?: string[];
|
|
225
260
|
/** A matching paired key or certificate. */
|
|
226
261
|
pairedKey?: PairedKey;
|
|
227
262
|
/** Indicates the key size is considered too small to be secure for the algorithm. */
|
|
228
|
-
isShortKeySize?:
|
|
263
|
+
isShortKeySize?: boolean;
|
|
229
264
|
}
|
|
230
265
|
export { CryptoKey_2 as CryptoKey }
|
|
231
266
|
|
|
232
|
-
/**
|
|
233
|
-
export declare interface
|
|
267
|
+
/** List of crypto keys. */
|
|
268
|
+
export declare interface CryptoKeyListResult {
|
|
234
269
|
/**
|
|
235
|
-
*
|
|
270
|
+
* The list of crypto key results.
|
|
236
271
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
237
272
|
*/
|
|
238
|
-
readonly value?:
|
|
239
|
-
/** The uri to fetch the next page of
|
|
273
|
+
readonly value?: CryptoKeyResource[];
|
|
274
|
+
/** The uri to fetch the next page of resources. */
|
|
240
275
|
nextLink?: string;
|
|
241
276
|
}
|
|
242
277
|
|
|
243
|
-
/**
|
|
244
|
-
export declare interface
|
|
278
|
+
/** Crypto key resource */
|
|
279
|
+
export declare interface CryptoKeyResource extends Resource {
|
|
280
|
+
/** The properties of a crypto key found within a firmware image */
|
|
281
|
+
properties?: CryptoKey_2;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Interface representing a CryptoKeys. */
|
|
285
|
+
export declare interface CryptoKeys {
|
|
286
|
+
/**
|
|
287
|
+
* Lists cryptographic key analysis results found in a firmware.
|
|
288
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
289
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
290
|
+
* @param firmwareId The id of the firmware.
|
|
291
|
+
* @param options The options parameters.
|
|
292
|
+
*/
|
|
293
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: CryptoKeysListByFirmwareOptionalParams): PagedAsyncIterableIterator<CryptoKeyResource>;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/** Optional parameters. */
|
|
297
|
+
export declare interface CryptoKeysListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
301
|
+
export declare type CryptoKeysListByFirmwareNextResponse = CryptoKeyListResult;
|
|
302
|
+
|
|
303
|
+
/** Optional parameters. */
|
|
304
|
+
export declare interface CryptoKeysListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/** Contains response data for the listByFirmware operation. */
|
|
308
|
+
export declare type CryptoKeysListByFirmwareResponse = CryptoKeyListResult;
|
|
309
|
+
|
|
310
|
+
/** Properties for cryptographic key summary. */
|
|
311
|
+
export declare interface CryptoKeySummaryResource extends SummaryResourceProperties {
|
|
312
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
313
|
+
summaryType: "CryptoKey";
|
|
245
314
|
/** Total number of cryptographic keys found. */
|
|
246
315
|
totalKeys?: number;
|
|
247
316
|
/** Total number of (non-certificate) public keys found. */
|
|
@@ -254,68 +323,98 @@ export declare interface CryptoKeySummary {
|
|
|
254
323
|
shortKeySize?: number;
|
|
255
324
|
}
|
|
256
325
|
|
|
257
|
-
/**
|
|
258
|
-
export declare interface
|
|
259
|
-
/** ID of
|
|
326
|
+
/** Properties of the SBOM component for a CVE. */
|
|
327
|
+
export declare interface CveComponent {
|
|
328
|
+
/** ID of the SBOM component */
|
|
329
|
+
componentId?: string;
|
|
330
|
+
/** Name of the SBOM component */
|
|
331
|
+
name?: string;
|
|
332
|
+
/** Version of the SBOM component. */
|
|
333
|
+
version?: string;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** Properties of a reference link for a CVE. */
|
|
337
|
+
export declare interface CveLink {
|
|
338
|
+
/** The destination of the reference link. */
|
|
339
|
+
href?: string;
|
|
340
|
+
/** The label of the reference link. */
|
|
341
|
+
label?: string;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/** List of CVE results. */
|
|
345
|
+
export declare interface CveListResult {
|
|
346
|
+
/**
|
|
347
|
+
* The list of CVE results.
|
|
348
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
349
|
+
*/
|
|
350
|
+
readonly value?: CveResource[];
|
|
351
|
+
/** The uri to fetch the next page of resources. */
|
|
352
|
+
nextLink?: string;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/** CVE analysis result resource */
|
|
356
|
+
export declare interface CveResource extends Resource {
|
|
357
|
+
/** The properties of a CVE result found within a firmware image */
|
|
358
|
+
properties?: CveResult;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/** Details of a CVE detected in firmware. */
|
|
362
|
+
export declare interface CveResult {
|
|
363
|
+
/** ID of the CVE result. */
|
|
260
364
|
cveId?: string;
|
|
261
|
-
/**
|
|
262
|
-
component?:
|
|
263
|
-
/** Severity of CVE */
|
|
365
|
+
/** The SBOM component for the CVE. */
|
|
366
|
+
component?: CveComponent;
|
|
367
|
+
/** Severity of the CVE. */
|
|
264
368
|
severity?: string;
|
|
265
|
-
/** Name of CVE */
|
|
369
|
+
/** Name of the CVE. */
|
|
266
370
|
name?: string;
|
|
267
|
-
/** 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 */
|
|
371
|
+
/** 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. */
|
|
268
372
|
cvssScore?: string;
|
|
269
|
-
/**
|
|
373
|
+
/** CVSS version of the CVE. */
|
|
270
374
|
cvssVersion?: string;
|
|
271
|
-
/**
|
|
375
|
+
/** CVSS V2 score of the CVE. */
|
|
272
376
|
cvssV2Score?: string;
|
|
273
|
-
/**
|
|
377
|
+
/** CVSS V3 score of the CVE. */
|
|
274
378
|
cvssV3Score?: string;
|
|
275
|
-
/** Publish date of CVE */
|
|
276
|
-
publishDate?: Date;
|
|
277
|
-
/** Updated date of CVE */
|
|
278
|
-
updatedDate?: Date;
|
|
279
379
|
/**
|
|
280
|
-
* The list of
|
|
380
|
+
* The list of reference links for the CVE.
|
|
281
381
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
382
|
*/
|
|
283
383
|
readonly links?: CveLink[];
|
|
284
|
-
/**
|
|
384
|
+
/** The CVE description. */
|
|
285
385
|
description?: string;
|
|
286
386
|
}
|
|
287
387
|
|
|
288
|
-
/**
|
|
289
|
-
export declare interface
|
|
290
|
-
/**
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
388
|
+
/** Interface representing a Cves. */
|
|
389
|
+
export declare interface Cves {
|
|
390
|
+
/**
|
|
391
|
+
* Lists CVE analysis results of a firmware.
|
|
392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
393
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
394
|
+
* @param firmwareId The id of the firmware.
|
|
395
|
+
* @param options The options parameters.
|
|
396
|
+
*/
|
|
397
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: CvesListByFirmwareOptionalParams): PagedAsyncIterableIterator<CveResource>;
|
|
296
398
|
}
|
|
297
399
|
|
|
298
|
-
/**
|
|
299
|
-
export declare interface
|
|
300
|
-
/** Href of CVE link */
|
|
301
|
-
href?: string;
|
|
302
|
-
/** Label of CVE link */
|
|
303
|
-
label?: string;
|
|
400
|
+
/** Optional parameters. */
|
|
401
|
+
export declare interface CvesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
304
402
|
}
|
|
305
403
|
|
|
306
|
-
/**
|
|
307
|
-
export declare
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
*/
|
|
312
|
-
readonly value?: Cve[];
|
|
313
|
-
/** The uri to fetch the next page of asset. */
|
|
314
|
-
nextLink?: string;
|
|
404
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
405
|
+
export declare type CvesListByFirmwareNextResponse = CveListResult;
|
|
406
|
+
|
|
407
|
+
/** Optional parameters. */
|
|
408
|
+
export declare interface CvesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
315
409
|
}
|
|
316
410
|
|
|
317
|
-
/**
|
|
318
|
-
export declare
|
|
411
|
+
/** Contains response data for the listByFirmware operation. */
|
|
412
|
+
export declare type CvesListByFirmwareResponse = CveListResult;
|
|
413
|
+
|
|
414
|
+
/** Properties for a CVE analysis summary. */
|
|
415
|
+
export declare interface CveSummary extends SummaryResourceProperties {
|
|
416
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
417
|
+
summaryType: "CVE";
|
|
319
418
|
/** The total number of critical severity CVEs detected */
|
|
320
419
|
critical?: number;
|
|
321
420
|
/** The total number of high severity CVEs detected */
|
|
@@ -326,8 +425,6 @@ export declare interface CveSummary {
|
|
|
326
425
|
low?: number;
|
|
327
426
|
/** The total number of unknown severity CVEs detected */
|
|
328
427
|
unknown?: number;
|
|
329
|
-
/** The total number of undefined severity CVEs detected */
|
|
330
|
-
undefined?: number;
|
|
331
428
|
}
|
|
332
429
|
|
|
333
430
|
/** The resource management error additional info. */
|
|
@@ -380,7 +477,24 @@ export declare interface ErrorResponse {
|
|
|
380
477
|
}
|
|
381
478
|
|
|
382
479
|
/** Firmware definition */
|
|
383
|
-
export declare interface Firmware extends
|
|
480
|
+
export declare interface Firmware extends Resource {
|
|
481
|
+
/** The properties of a firmware */
|
|
482
|
+
properties?: FirmwareProperties;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** List of firmwares */
|
|
486
|
+
export declare interface FirmwareList {
|
|
487
|
+
/**
|
|
488
|
+
* The list of firmwares.
|
|
489
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
490
|
+
*/
|
|
491
|
+
readonly value?: Firmware[];
|
|
492
|
+
/** The uri to fetch the next page of asset. */
|
|
493
|
+
nextLink?: string;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/** Firmware properties. */
|
|
497
|
+
export declare interface FirmwareProperties {
|
|
384
498
|
/** File name for a firmware that user uploaded. */
|
|
385
499
|
fileName?: string;
|
|
386
500
|
/** Firmware vendor. */
|
|
@@ -396,373 +510,125 @@ export declare interface Firmware extends ProxyResource {
|
|
|
396
510
|
/** The status of firmware scan. */
|
|
397
511
|
status?: Status;
|
|
398
512
|
/** A list of errors or other messages generated during firmware analysis */
|
|
399
|
-
statusMessages?:
|
|
513
|
+
statusMessages?: StatusMessage[];
|
|
400
514
|
/**
|
|
401
515
|
* Provisioning state of the resource.
|
|
402
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
403
|
-
*/
|
|
404
|
-
readonly provisioningState?: ProvisioningState;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/** Optional parameters. */
|
|
408
|
-
export declare interface FirmwareCreateOptionalParams extends coreClient.OperationOptions {
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/** Contains response data for the create operation. */
|
|
412
|
-
export declare type FirmwareCreateResponse = Firmware;
|
|
413
|
-
|
|
414
|
-
/** Optional parameters. */
|
|
415
|
-
export declare interface FirmwareDeleteOptionalParams extends coreClient.OperationOptions {
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/** Optional parameters. */
|
|
419
|
-
export declare interface FirmwareGenerateBinaryHardeningDetailsOptionalParams extends coreClient.OperationOptions {
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
/** Contains response data for the generateBinaryHardeningDetails operation. */
|
|
423
|
-
export declare type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
|
|
424
|
-
|
|
425
|
-
/** Optional parameters. */
|
|
426
|
-
export declare interface FirmwareGenerateBinaryHardeningSummaryOptionalParams extends coreClient.OperationOptions {
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/** Contains response data for the generateBinaryHardeningSummary operation. */
|
|
430
|
-
export declare type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
|
|
431
|
-
|
|
432
|
-
/** Optional parameters. */
|
|
433
|
-
export declare interface FirmwareGenerateComponentDetailsOptionalParams extends coreClient.OperationOptions {
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/** Contains response data for the generateComponentDetails operation. */
|
|
437
|
-
export declare type FirmwareGenerateComponentDetailsResponse = Component;
|
|
438
|
-
|
|
439
|
-
/** Optional parameters. */
|
|
440
|
-
export declare interface FirmwareGenerateCryptoCertificateSummaryOptionalParams extends coreClient.OperationOptions {
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/** Contains response data for the generateCryptoCertificateSummary operation. */
|
|
444
|
-
export declare type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
|
|
445
|
-
|
|
446
|
-
/** Optional parameters. */
|
|
447
|
-
export declare interface FirmwareGenerateCryptoKeySummaryOptionalParams extends coreClient.OperationOptions {
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/** Contains response data for the generateCryptoKeySummary operation. */
|
|
451
|
-
export declare type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
|
|
452
|
-
|
|
453
|
-
/** Optional parameters. */
|
|
454
|
-
export declare interface FirmwareGenerateCveSummaryOptionalParams extends coreClient.OperationOptions {
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/** Contains response data for the generateCveSummary operation. */
|
|
458
|
-
export declare type FirmwareGenerateCveSummaryResponse = CveSummary;
|
|
459
|
-
|
|
460
|
-
/** Optional parameters. */
|
|
461
|
-
export declare interface FirmwareGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/** Contains response data for the generateDownloadUrl operation. */
|
|
465
|
-
export declare type FirmwareGenerateDownloadUrlResponse = UrlToken;
|
|
466
|
-
|
|
467
|
-
/** Optional parameters. */
|
|
468
|
-
export declare interface FirmwareGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/** Contains response data for the generateFilesystemDownloadUrl operation. */
|
|
472
|
-
export declare type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
|
|
473
|
-
|
|
474
|
-
/** Optional parameters. */
|
|
475
|
-
export declare interface FirmwareGenerateSummaryOptionalParams extends coreClient.OperationOptions {
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/** Contains response data for the generateSummary operation. */
|
|
479
|
-
export declare type FirmwareGenerateSummaryResponse = FirmwareSummary;
|
|
480
|
-
|
|
481
|
-
/** Optional parameters. */
|
|
482
|
-
export declare interface FirmwareGetOptionalParams extends coreClient.OperationOptions {
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/** Contains response data for the get operation. */
|
|
486
|
-
export declare type FirmwareGetResponse = Firmware;
|
|
487
|
-
|
|
488
|
-
/** List of firmwares */
|
|
489
|
-
export declare interface FirmwareList {
|
|
490
|
-
/**
|
|
491
|
-
* The list of firmwares.
|
|
492
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
493
|
-
*/
|
|
494
|
-
readonly value?: Firmware[];
|
|
495
|
-
/** The uri to fetch the next page of asset. */
|
|
496
|
-
nextLink?: string;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/** Optional parameters. */
|
|
500
|
-
export declare interface FirmwareListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/** Contains response data for the listByWorkspaceNext operation. */
|
|
504
|
-
export declare type FirmwareListByWorkspaceNextResponse = FirmwareList;
|
|
505
|
-
|
|
506
|
-
/** Optional parameters. */
|
|
507
|
-
export declare interface FirmwareListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
/** Contains response data for the listByWorkspace operation. */
|
|
511
|
-
export declare type FirmwareListByWorkspaceResponse = FirmwareList;
|
|
512
|
-
|
|
513
|
-
/** Optional parameters. */
|
|
514
|
-
export declare interface FirmwareListGenerateBinaryHardeningListNextOptionalParams extends coreClient.OperationOptions {
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/** Contains response data for the listGenerateBinaryHardeningListNext operation. */
|
|
518
|
-
export declare type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
|
|
519
|
-
|
|
520
|
-
/** Optional parameters. */
|
|
521
|
-
export declare interface FirmwareListGenerateBinaryHardeningListOptionalParams extends coreClient.OperationOptions {
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/** Contains response data for the listGenerateBinaryHardeningList operation. */
|
|
525
|
-
export declare type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
|
|
526
|
-
|
|
527
|
-
/** Optional parameters. */
|
|
528
|
-
export declare interface FirmwareListGenerateComponentListNextOptionalParams extends coreClient.OperationOptions {
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
/** Contains response data for the listGenerateComponentListNext operation. */
|
|
532
|
-
export declare type FirmwareListGenerateComponentListNextResponse = ComponentList;
|
|
533
|
-
|
|
534
|
-
/** Optional parameters. */
|
|
535
|
-
export declare interface FirmwareListGenerateComponentListOptionalParams extends coreClient.OperationOptions {
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/** Contains response data for the listGenerateComponentList operation. */
|
|
539
|
-
export declare type FirmwareListGenerateComponentListResponse = ComponentList;
|
|
540
|
-
|
|
541
|
-
/** Optional parameters. */
|
|
542
|
-
export declare interface FirmwareListGenerateCryptoCertificateListNextOptionalParams extends coreClient.OperationOptions {
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
/** Contains response data for the listGenerateCryptoCertificateListNext operation. */
|
|
546
|
-
export declare type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
|
|
547
|
-
|
|
548
|
-
/** Optional parameters. */
|
|
549
|
-
export declare interface FirmwareListGenerateCryptoCertificateListOptionalParams extends coreClient.OperationOptions {
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/** Contains response data for the listGenerateCryptoCertificateList operation. */
|
|
553
|
-
export declare type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
|
|
554
|
-
|
|
555
|
-
/** Optional parameters. */
|
|
556
|
-
export declare interface FirmwareListGenerateCryptoKeyListNextOptionalParams extends coreClient.OperationOptions {
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/** Contains response data for the listGenerateCryptoKeyListNext operation. */
|
|
560
|
-
export declare type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
|
|
561
|
-
|
|
562
|
-
/** Optional parameters. */
|
|
563
|
-
export declare interface FirmwareListGenerateCryptoKeyListOptionalParams extends coreClient.OperationOptions {
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/** Contains response data for the listGenerateCryptoKeyList operation. */
|
|
567
|
-
export declare type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
|
|
568
|
-
|
|
569
|
-
/** Optional parameters. */
|
|
570
|
-
export declare interface FirmwareListGenerateCveListNextOptionalParams extends coreClient.OperationOptions {
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/** Contains response data for the listGenerateCveListNext operation. */
|
|
574
|
-
export declare type FirmwareListGenerateCveListNextResponse = CveList;
|
|
575
|
-
|
|
576
|
-
/** Optional parameters. */
|
|
577
|
-
export declare interface FirmwareListGenerateCveListOptionalParams extends coreClient.OperationOptions {
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
/** Contains response data for the listGenerateCveList operation. */
|
|
581
|
-
export declare type FirmwareListGenerateCveListResponse = CveList;
|
|
582
|
-
|
|
583
|
-
/** Optional parameters. */
|
|
584
|
-
export declare interface FirmwareListGeneratePasswordHashListNextOptionalParams extends coreClient.OperationOptions {
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/** Contains response data for the listGeneratePasswordHashListNext operation. */
|
|
588
|
-
export declare type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
|
|
589
|
-
|
|
590
|
-
/** Optional parameters. */
|
|
591
|
-
export declare interface FirmwareListGeneratePasswordHashListOptionalParams extends coreClient.OperationOptions {
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
/** Contains response data for the listGeneratePasswordHashList operation. */
|
|
595
|
-
export declare type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
|
|
596
|
-
|
|
597
|
-
/** Interface representing a FirmwareOperations. */
|
|
598
|
-
export declare interface FirmwareOperations {
|
|
599
|
-
/**
|
|
600
|
-
* Lists all of firmwares inside a workspace.
|
|
601
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
602
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
603
|
-
* @param options The options parameters.
|
|
604
|
-
*/
|
|
605
|
-
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FirmwareListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Firmware>;
|
|
606
|
-
/**
|
|
607
|
-
* The operation to list all components result for a firmware.
|
|
608
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
609
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
610
|
-
* @param firmwareId The id of the firmware.
|
|
611
|
-
* @param options The options parameters.
|
|
612
|
-
*/
|
|
613
|
-
listGenerateComponentList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateComponentListOptionalParams): PagedAsyncIterableIterator<Component>;
|
|
614
|
-
/**
|
|
615
|
-
* The operation to list all binary hardening result for a firmware.
|
|
616
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
617
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
618
|
-
* @param firmwareId The id of the firmware.
|
|
619
|
-
* @param options The options parameters.
|
|
620
|
-
*/
|
|
621
|
-
listGenerateBinaryHardeningList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateBinaryHardeningListOptionalParams): PagedAsyncIterableIterator<BinaryHardening>;
|
|
622
|
-
/**
|
|
623
|
-
* The operation to list all password hashes for a firmware.
|
|
624
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
625
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
626
|
-
* @param firmwareId The id of the firmware.
|
|
627
|
-
* @param options The options parameters.
|
|
628
|
-
*/
|
|
629
|
-
listGeneratePasswordHashList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGeneratePasswordHashListOptionalParams): PagedAsyncIterableIterator<PasswordHash>;
|
|
630
|
-
/**
|
|
631
|
-
* The operation to list all cve results for a firmware.
|
|
632
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
633
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
634
|
-
* @param firmwareId The id of the firmware.
|
|
635
|
-
* @param options The options parameters.
|
|
636
|
-
*/
|
|
637
|
-
listGenerateCveList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCveListOptionalParams): PagedAsyncIterableIterator<Cve>;
|
|
638
|
-
/**
|
|
639
|
-
* The operation to list all crypto certificates for a firmware.
|
|
640
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
641
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
642
|
-
* @param firmwareId The id of the firmware.
|
|
643
|
-
* @param options The options parameters.
|
|
644
|
-
*/
|
|
645
|
-
listGenerateCryptoCertificateList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoCertificateListOptionalParams): PagedAsyncIterableIterator<CryptoCertificate>;
|
|
646
|
-
/**
|
|
647
|
-
* The operation to list all crypto keys for a firmware.
|
|
648
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
649
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
650
|
-
* @param firmwareId The id of the firmware.
|
|
651
|
-
* @param options The options parameters.
|
|
652
|
-
*/
|
|
653
|
-
listGenerateCryptoKeyList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoKeyListOptionalParams): PagedAsyncIterableIterator<CryptoKey_2>;
|
|
654
|
-
/**
|
|
655
|
-
* The operation to create a firmware.
|
|
656
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
657
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
658
|
-
* @param firmwareId The id of the firmware.
|
|
659
|
-
* @param firmware Details of the firmware being created or updated.
|
|
660
|
-
* @param options The options parameters.
|
|
661
|
-
*/
|
|
662
|
-
create(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: Firmware, options?: FirmwareCreateOptionalParams): Promise<FirmwareCreateResponse>;
|
|
663
|
-
/**
|
|
664
|
-
* The operation to update firmware.
|
|
665
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
666
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
667
|
-
* @param firmwareId The id of the firmware.
|
|
668
|
-
* @param firmware Details of the firmware being created or updated.
|
|
669
|
-
* @param options The options parameters.
|
|
670
|
-
*/
|
|
671
|
-
update(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: FirmwareUpdateDefinition, options?: FirmwareUpdateOptionalParams): Promise<FirmwareUpdateResponse>;
|
|
672
|
-
/**
|
|
673
|
-
* The operation to delete a firmware.
|
|
674
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
675
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
676
|
-
* @param firmwareId The id of the firmware.
|
|
677
|
-
* @param options The options parameters.
|
|
678
|
-
*/
|
|
679
|
-
delete(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareDeleteOptionalParams): Promise<void>;
|
|
680
|
-
/**
|
|
681
|
-
* Get firmware.
|
|
682
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
683
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
684
|
-
* @param firmwareId The id of the firmware.
|
|
685
|
-
* @param options The options parameters.
|
|
686
|
-
*/
|
|
687
|
-
get(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGetOptionalParams): Promise<FirmwareGetResponse>;
|
|
688
|
-
/**
|
|
689
|
-
* The operation to a url for file download.
|
|
690
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
691
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
692
|
-
* @param firmwareId The id of the firmware.
|
|
693
|
-
* @param options The options parameters.
|
|
694
|
-
*/
|
|
695
|
-
generateDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateDownloadUrlOptionalParams): Promise<FirmwareGenerateDownloadUrlResponse>;
|
|
696
|
-
/**
|
|
697
|
-
* The operation to a url for tar file download.
|
|
698
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
699
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
700
|
-
* @param firmwareId The id of the firmware.
|
|
701
|
-
* @param options The options parameters.
|
|
516
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
702
517
|
*/
|
|
703
|
-
|
|
518
|
+
readonly provisioningState?: ProvisioningState;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/** Interface representing a Firmwares. */
|
|
522
|
+
export declare interface Firmwares {
|
|
704
523
|
/**
|
|
705
|
-
*
|
|
524
|
+
* Lists all of firmwares inside a workspace.
|
|
706
525
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
707
526
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
708
|
-
* @param firmwareId The id of the firmware.
|
|
709
527
|
* @param options The options parameters.
|
|
710
528
|
*/
|
|
711
|
-
|
|
529
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FirmwaresListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Firmware>;
|
|
712
530
|
/**
|
|
713
|
-
* The operation to
|
|
531
|
+
* The operation to create a firmware.
|
|
714
532
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
715
533
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
716
534
|
* @param firmwareId The id of the firmware.
|
|
535
|
+
* @param firmware Details of the firmware being created or updated.
|
|
717
536
|
* @param options The options parameters.
|
|
718
537
|
*/
|
|
719
|
-
|
|
538
|
+
create(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: Firmware, options?: FirmwaresCreateOptionalParams): Promise<FirmwaresCreateResponse>;
|
|
720
539
|
/**
|
|
721
|
-
* The operation to
|
|
540
|
+
* The operation to update firmware.
|
|
722
541
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
723
542
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
724
543
|
* @param firmwareId The id of the firmware.
|
|
544
|
+
* @param firmware Details of the firmware being created or updated.
|
|
725
545
|
* @param options The options parameters.
|
|
726
546
|
*/
|
|
727
|
-
|
|
547
|
+
update(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: FirmwareUpdateDefinition, options?: FirmwaresUpdateOptionalParams): Promise<FirmwaresUpdateResponse>;
|
|
728
548
|
/**
|
|
729
|
-
* The operation to
|
|
549
|
+
* The operation to delete a firmware.
|
|
730
550
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
731
551
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
732
552
|
* @param firmwareId The id of the firmware.
|
|
733
553
|
* @param options The options parameters.
|
|
734
554
|
*/
|
|
735
|
-
|
|
555
|
+
delete(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresDeleteOptionalParams): Promise<void>;
|
|
736
556
|
/**
|
|
737
|
-
*
|
|
557
|
+
* Get firmware.
|
|
738
558
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
739
559
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
740
560
|
* @param firmwareId The id of the firmware.
|
|
741
561
|
* @param options The options parameters.
|
|
742
562
|
*/
|
|
743
|
-
|
|
563
|
+
get(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGetOptionalParams): Promise<FirmwaresGetResponse>;
|
|
744
564
|
/**
|
|
745
|
-
* The operation to
|
|
746
|
-
* for the firmware image.
|
|
565
|
+
* The operation to a url for file download.
|
|
747
566
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
748
567
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
749
568
|
* @param firmwareId The id of the firmware.
|
|
750
569
|
* @param options The options parameters.
|
|
751
570
|
*/
|
|
752
|
-
|
|
571
|
+
generateDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGenerateDownloadUrlOptionalParams): Promise<FirmwaresGenerateDownloadUrlResponse>;
|
|
753
572
|
/**
|
|
754
|
-
* The operation to
|
|
755
|
-
* firmware image.
|
|
573
|
+
* The operation to a url for tar file download.
|
|
756
574
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
757
575
|
* @param workspaceName The name of the firmware analysis workspace.
|
|
758
576
|
* @param firmwareId The id of the firmware.
|
|
759
577
|
* @param options The options parameters.
|
|
760
578
|
*/
|
|
761
|
-
|
|
579
|
+
generateFilesystemDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGenerateFilesystemDownloadUrlOptionalParams): Promise<FirmwaresGenerateFilesystemDownloadUrlResponse>;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/** Optional parameters. */
|
|
583
|
+
export declare interface FirmwaresCreateOptionalParams extends coreClient.OperationOptions {
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/** Contains response data for the create operation. */
|
|
587
|
+
export declare type FirmwaresCreateResponse = Firmware;
|
|
588
|
+
|
|
589
|
+
/** Optional parameters. */
|
|
590
|
+
export declare interface FirmwaresDeleteOptionalParams extends coreClient.OperationOptions {
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/** Optional parameters. */
|
|
594
|
+
export declare interface FirmwaresGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/** Contains response data for the generateDownloadUrl operation. */
|
|
598
|
+
export declare type FirmwaresGenerateDownloadUrlResponse = UrlToken;
|
|
599
|
+
|
|
600
|
+
/** Optional parameters. */
|
|
601
|
+
export declare interface FirmwaresGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/** Contains response data for the generateFilesystemDownloadUrl operation. */
|
|
605
|
+
export declare type FirmwaresGenerateFilesystemDownloadUrlResponse = UrlToken;
|
|
606
|
+
|
|
607
|
+
/** Optional parameters. */
|
|
608
|
+
export declare interface FirmwaresGetOptionalParams extends coreClient.OperationOptions {
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/** Contains response data for the get operation. */
|
|
612
|
+
export declare type FirmwaresGetResponse = Firmware;
|
|
613
|
+
|
|
614
|
+
/** Optional parameters. */
|
|
615
|
+
export declare interface FirmwaresListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
762
616
|
}
|
|
763
617
|
|
|
764
|
-
/**
|
|
765
|
-
export declare
|
|
618
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
619
|
+
export declare type FirmwaresListByWorkspaceNextResponse = FirmwareList;
|
|
620
|
+
|
|
621
|
+
/** Optional parameters. */
|
|
622
|
+
export declare interface FirmwaresListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
626
|
+
export declare type FirmwaresListByWorkspaceResponse = FirmwareList;
|
|
627
|
+
|
|
628
|
+
/** Properties for high level summary of firmware analysis results. */
|
|
629
|
+
export declare interface FirmwareSummary extends SummaryResourceProperties {
|
|
630
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
631
|
+
summaryType: "Firmware";
|
|
766
632
|
/** Total extracted size of the firmware in bytes. */
|
|
767
633
|
extractedSize?: number;
|
|
768
634
|
/** Firmware file size in bytes. */
|
|
@@ -779,37 +645,18 @@ export declare interface FirmwareSummary {
|
|
|
779
645
|
rootFileSystems?: number;
|
|
780
646
|
}
|
|
781
647
|
|
|
782
|
-
/** Firmware definition */
|
|
783
|
-
export declare interface FirmwareUpdateDefinition {
|
|
784
|
-
/** File name for a firmware that user uploaded. */
|
|
785
|
-
fileName?: string;
|
|
786
|
-
/** Firmware vendor. */
|
|
787
|
-
vendor?: string;
|
|
788
|
-
/** Firmware model. */
|
|
789
|
-
model?: string;
|
|
790
|
-
/** Firmware version. */
|
|
791
|
-
version?: string;
|
|
792
|
-
/** User-specified description of the firmware. */
|
|
793
|
-
description?: string;
|
|
794
|
-
/** File size of the uploaded firmware image. */
|
|
795
|
-
fileSize?: number;
|
|
796
|
-
/** The status of firmware scan. */
|
|
797
|
-
status?: Status;
|
|
798
|
-
/** A list of errors or other messages generated during firmware analysis */
|
|
799
|
-
statusMessages?: Record<string, unknown>[];
|
|
800
|
-
/**
|
|
801
|
-
* Provisioning state of the resource.
|
|
802
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
803
|
-
*/
|
|
804
|
-
readonly provisioningState?: ProvisioningState;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
648
|
/** Optional parameters. */
|
|
808
|
-
export declare interface
|
|
649
|
+
export declare interface FirmwaresUpdateOptionalParams extends coreClient.OperationOptions {
|
|
809
650
|
}
|
|
810
651
|
|
|
811
652
|
/** Contains response data for the update operation. */
|
|
812
|
-
export declare type
|
|
653
|
+
export declare type FirmwaresUpdateResponse = Firmware;
|
|
654
|
+
|
|
655
|
+
/** Firmware definition */
|
|
656
|
+
export declare interface FirmwareUpdateDefinition {
|
|
657
|
+
/** The editable properties of a firmware */
|
|
658
|
+
properties?: FirmwareProperties;
|
|
659
|
+
}
|
|
813
660
|
|
|
814
661
|
/** Properties for generating an upload URL */
|
|
815
662
|
export declare interface GenerateUploadUrlRequest {
|
|
@@ -833,15 +680,22 @@ export declare class IoTFirmwareDefenseClient extends coreClient.ServiceClient {
|
|
|
833
680
|
/**
|
|
834
681
|
* Initializes a new instance of the IoTFirmwareDefenseClient class.
|
|
835
682
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
836
|
-
* @param subscriptionId The ID of the target subscription.
|
|
683
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
837
684
|
* @param options The parameter options
|
|
838
685
|
*/
|
|
839
686
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IoTFirmwareDefenseClientOptionalParams);
|
|
840
687
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
841
688
|
private addCustomApiVersionPolicy;
|
|
842
|
-
|
|
843
|
-
|
|
689
|
+
binaryHardening: BinaryHardening;
|
|
690
|
+
cryptoCertificates: CryptoCertificates;
|
|
691
|
+
cryptoKeys: CryptoKeys;
|
|
692
|
+
cves: Cves;
|
|
693
|
+
firmwares: Firmwares;
|
|
844
694
|
operations: Operations;
|
|
695
|
+
passwordHashes: PasswordHashes;
|
|
696
|
+
sbomComponents: SbomComponents;
|
|
697
|
+
summaries: Summaries;
|
|
698
|
+
workspaces: Workspaces;
|
|
845
699
|
}
|
|
846
700
|
|
|
847
701
|
/** Optional parameters. */
|
|
@@ -854,70 +708,12 @@ export declare interface IoTFirmwareDefenseClientOptionalParams extends coreClie
|
|
|
854
708
|
endpoint?: string;
|
|
855
709
|
}
|
|
856
710
|
|
|
857
|
-
/**
|
|
858
|
-
* Defines values for IsExpired. \
|
|
859
|
-
* {@link KnownIsExpired} can be used interchangeably with IsExpired,
|
|
860
|
-
* this enum contains the known values that the service supports.
|
|
861
|
-
* ### Known values supported by the service
|
|
862
|
-
* **True** \
|
|
863
|
-
* **False**
|
|
864
|
-
*/
|
|
865
|
-
export declare type IsExpired = string;
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* Defines values for IsSelfSigned. \
|
|
869
|
-
* {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
|
|
870
|
-
* this enum contains the known values that the service supports.
|
|
871
|
-
* ### Known values supported by the service
|
|
872
|
-
* **True** \
|
|
873
|
-
* **False**
|
|
874
|
-
*/
|
|
875
|
-
export declare type IsSelfSigned = string;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* Defines values for IsShortKeySize. \
|
|
879
|
-
* {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
|
|
880
|
-
* this enum contains the known values that the service supports.
|
|
881
|
-
* ### Known values supported by the service
|
|
882
|
-
* **True** \
|
|
883
|
-
* **False**
|
|
884
|
-
*/
|
|
885
|
-
export declare type IsShortKeySize = string;
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Defines values for IsUpdateAvailable. \
|
|
889
|
-
* {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
|
|
890
|
-
* this enum contains the known values that the service supports.
|
|
891
|
-
* ### Known values supported by the service
|
|
892
|
-
* **True** \
|
|
893
|
-
* **False**
|
|
894
|
-
*/
|
|
895
|
-
export declare type IsUpdateAvailable = string;
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* Defines values for IsWeakSignature. \
|
|
899
|
-
* {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
|
|
900
|
-
* this enum contains the known values that the service supports.
|
|
901
|
-
* ### Known values supported by the service
|
|
902
|
-
* **True** \
|
|
903
|
-
* **False**
|
|
904
|
-
*/
|
|
905
|
-
export declare type IsWeakSignature = string;
|
|
906
|
-
|
|
907
711
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
908
712
|
export declare enum KnownActionType {
|
|
909
713
|
/** Internal */
|
|
910
714
|
Internal = "Internal"
|
|
911
715
|
}
|
|
912
716
|
|
|
913
|
-
/** Known values of {@link CanaryFlag} that the service accepts. */
|
|
914
|
-
export declare enum KnownCanaryFlag {
|
|
915
|
-
/** True */
|
|
916
|
-
True = "True",
|
|
917
|
-
/** False */
|
|
918
|
-
False = "False"
|
|
919
|
-
}
|
|
920
|
-
|
|
921
717
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
922
718
|
export declare enum KnownCreatedByType {
|
|
923
719
|
/** User */
|
|
@@ -930,54 +726,6 @@ export declare enum KnownCreatedByType {
|
|
|
930
726
|
Key = "Key"
|
|
931
727
|
}
|
|
932
728
|
|
|
933
|
-
/** Known values of {@link IsExpired} that the service accepts. */
|
|
934
|
-
export declare enum KnownIsExpired {
|
|
935
|
-
/** True */
|
|
936
|
-
True = "True",
|
|
937
|
-
/** False */
|
|
938
|
-
False = "False"
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
/** Known values of {@link IsSelfSigned} that the service accepts. */
|
|
942
|
-
export declare enum KnownIsSelfSigned {
|
|
943
|
-
/** True */
|
|
944
|
-
True = "True",
|
|
945
|
-
/** False */
|
|
946
|
-
False = "False"
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
/** Known values of {@link IsShortKeySize} that the service accepts. */
|
|
950
|
-
export declare enum KnownIsShortKeySize {
|
|
951
|
-
/** True */
|
|
952
|
-
True = "True",
|
|
953
|
-
/** False */
|
|
954
|
-
False = "False"
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/** Known values of {@link IsUpdateAvailable} that the service accepts. */
|
|
958
|
-
export declare enum KnownIsUpdateAvailable {
|
|
959
|
-
/** True */
|
|
960
|
-
True = "True",
|
|
961
|
-
/** False */
|
|
962
|
-
False = "False"
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
/** Known values of {@link IsWeakSignature} that the service accepts. */
|
|
966
|
-
export declare enum KnownIsWeakSignature {
|
|
967
|
-
/** True */
|
|
968
|
-
True = "True",
|
|
969
|
-
/** False */
|
|
970
|
-
False = "False"
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/** Known values of {@link NxFlag} that the service accepts. */
|
|
974
|
-
export declare enum KnownNxFlag {
|
|
975
|
-
/** True */
|
|
976
|
-
True = "True",
|
|
977
|
-
/** False */
|
|
978
|
-
False = "False"
|
|
979
|
-
}
|
|
980
|
-
|
|
981
729
|
/** Known values of {@link Origin} that the service accepts. */
|
|
982
730
|
export declare enum KnownOrigin {
|
|
983
731
|
/** User */
|
|
@@ -988,14 +736,6 @@ export declare enum KnownOrigin {
|
|
|
988
736
|
UserSystem = "user,system"
|
|
989
737
|
}
|
|
990
738
|
|
|
991
|
-
/** Known values of {@link PieFlag} that the service accepts. */
|
|
992
|
-
export declare enum KnownPieFlag {
|
|
993
|
-
/** True */
|
|
994
|
-
True = "True",
|
|
995
|
-
/** False */
|
|
996
|
-
False = "False"
|
|
997
|
-
}
|
|
998
|
-
|
|
999
739
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1000
740
|
export declare enum KnownProvisioningState {
|
|
1001
741
|
/** Accepted */
|
|
@@ -1008,14 +748,6 @@ export declare enum KnownProvisioningState {
|
|
|
1008
748
|
Failed = "Failed"
|
|
1009
749
|
}
|
|
1010
750
|
|
|
1011
|
-
/** Known values of {@link RelroFlag} that the service accepts. */
|
|
1012
|
-
export declare enum KnownRelroFlag {
|
|
1013
|
-
/** True */
|
|
1014
|
-
True = "True",
|
|
1015
|
-
/** False */
|
|
1016
|
-
False = "False"
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
751
|
/** Known values of {@link Status} that the service accepts. */
|
|
1020
752
|
export declare enum KnownStatus {
|
|
1021
753
|
/** Pending */
|
|
@@ -1030,24 +762,34 @@ export declare enum KnownStatus {
|
|
|
1030
762
|
Error = "Error"
|
|
1031
763
|
}
|
|
1032
764
|
|
|
1033
|
-
/** Known values of {@link
|
|
1034
|
-
export declare enum
|
|
1035
|
-
/**
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
|
|
765
|
+
/** Known values of {@link SummaryName} that the service accepts. */
|
|
766
|
+
export declare enum KnownSummaryName {
|
|
767
|
+
/** Firmware */
|
|
768
|
+
Firmware = "Firmware",
|
|
769
|
+
/** CVE */
|
|
770
|
+
CVE = "CVE",
|
|
771
|
+
/** BinaryHardening */
|
|
772
|
+
BinaryHardening = "BinaryHardening",
|
|
773
|
+
/** CryptoCertificate */
|
|
774
|
+
CryptoCertificate = "CryptoCertificate",
|
|
775
|
+
/** CryptoKey */
|
|
776
|
+
CryptoKey = "CryptoKey"
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/** Known values of {@link SummaryType} that the service accepts. */
|
|
780
|
+
export declare enum KnownSummaryType {
|
|
781
|
+
/** Firmware */
|
|
782
|
+
Firmware = "Firmware",
|
|
783
|
+
/** CVE */
|
|
784
|
+
CVE = "CVE",
|
|
785
|
+
/** BinaryHardening */
|
|
786
|
+
BinaryHardening = "BinaryHardening",
|
|
787
|
+
/** CryptoCertificate */
|
|
788
|
+
CryptoCertificate = "CryptoCertificate",
|
|
789
|
+
/** CryptoKey */
|
|
790
|
+
CryptoKey = "CryptoKey"
|
|
1039
791
|
}
|
|
1040
792
|
|
|
1041
|
-
/**
|
|
1042
|
-
* Defines values for NxFlag. \
|
|
1043
|
-
* {@link KnownNxFlag} can be used interchangeably with NxFlag,
|
|
1044
|
-
* this enum contains the known values that the service supports.
|
|
1045
|
-
* ### Known values supported by the service
|
|
1046
|
-
* **True** \
|
|
1047
|
-
* **False**
|
|
1048
|
-
*/
|
|
1049
|
-
export declare type NxFlag = string;
|
|
1050
|
-
|
|
1051
793
|
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
1052
794
|
export declare interface Operation {
|
|
1053
795
|
/**
|
|
@@ -1152,8 +894,6 @@ export declare interface PairedKey {
|
|
|
1152
894
|
id?: string;
|
|
1153
895
|
/** The type indicating whether the paired object is a key or certificate. */
|
|
1154
896
|
type?: string;
|
|
1155
|
-
/** Additional paired key properties */
|
|
1156
|
-
additionalProperties?: Record<string, unknown>;
|
|
1157
897
|
}
|
|
1158
898
|
|
|
1159
899
|
/** Password hash properties */
|
|
@@ -1174,26 +914,48 @@ export declare interface PasswordHash {
|
|
|
1174
914
|
algorithm?: string;
|
|
1175
915
|
}
|
|
1176
916
|
|
|
1177
|
-
/**
|
|
1178
|
-
export declare interface
|
|
917
|
+
/** Interface representing a PasswordHashes. */
|
|
918
|
+
export declare interface PasswordHashes {
|
|
919
|
+
/**
|
|
920
|
+
* Lists password hash analysis results of a firmware.
|
|
921
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
922
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
923
|
+
* @param firmwareId The id of the firmware.
|
|
924
|
+
* @param options The options parameters.
|
|
925
|
+
*/
|
|
926
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: PasswordHashesListByFirmwareOptionalParams): PagedAsyncIterableIterator<PasswordHashResource>;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/** Optional parameters. */
|
|
930
|
+
export declare interface PasswordHashesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
934
|
+
export declare type PasswordHashesListByFirmwareNextResponse = PasswordHashListResult;
|
|
935
|
+
|
|
936
|
+
/** Optional parameters. */
|
|
937
|
+
export declare interface PasswordHashesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
/** Contains response data for the listByFirmware operation. */
|
|
941
|
+
export declare type PasswordHashesListByFirmwareResponse = PasswordHashListResult;
|
|
942
|
+
|
|
943
|
+
/** List of password hash results */
|
|
944
|
+
export declare interface PasswordHashListResult {
|
|
1179
945
|
/**
|
|
1180
|
-
*
|
|
946
|
+
* The list of password hash results.
|
|
1181
947
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1182
948
|
*/
|
|
1183
|
-
readonly value?:
|
|
1184
|
-
/** The uri to fetch the next page of
|
|
949
|
+
readonly value?: PasswordHashResource[];
|
|
950
|
+
/** The uri to fetch the next page of resources. */
|
|
1185
951
|
nextLink?: string;
|
|
1186
952
|
}
|
|
1187
953
|
|
|
1188
|
-
/**
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
* **True** \
|
|
1194
|
-
* **False**
|
|
1195
|
-
*/
|
|
1196
|
-
export declare type PieFlag = string;
|
|
954
|
+
/** Password hash resource */
|
|
955
|
+
export declare interface PasswordHashResource extends Resource {
|
|
956
|
+
/** The properties of a password hash found within a firmware image */
|
|
957
|
+
properties?: PasswordHash;
|
|
958
|
+
}
|
|
1197
959
|
|
|
1198
960
|
/**
|
|
1199
961
|
* Defines values for ProvisioningState. \
|
|
@@ -1207,24 +969,10 @@ export declare type PieFlag = string;
|
|
|
1207
969
|
*/
|
|
1208
970
|
export declare type ProvisioningState = string;
|
|
1209
971
|
|
|
1210
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1211
|
-
export declare interface ProxyResource extends Resource {
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* Defines values for RelroFlag. \
|
|
1216
|
-
* {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
|
|
1217
|
-
* this enum contains the known values that the service supports.
|
|
1218
|
-
* ### Known values supported by the service
|
|
1219
|
-
* **True** \
|
|
1220
|
-
* **False**
|
|
1221
|
-
*/
|
|
1222
|
-
export declare type RelroFlag = string;
|
|
1223
|
-
|
|
1224
972
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1225
973
|
export declare interface Resource {
|
|
1226
974
|
/**
|
|
1227
|
-
* Fully qualified resource ID for the resource.
|
|
975
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
1228
976
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1229
977
|
*/
|
|
1230
978
|
readonly id?: string;
|
|
@@ -1245,6 +993,63 @@ export declare interface Resource {
|
|
|
1245
993
|
readonly systemData?: SystemData;
|
|
1246
994
|
}
|
|
1247
995
|
|
|
996
|
+
/** SBOM component of a firmware. */
|
|
997
|
+
export declare interface SbomComponent {
|
|
998
|
+
/** ID for the component. */
|
|
999
|
+
componentId?: string;
|
|
1000
|
+
/** Name for the component. */
|
|
1001
|
+
componentName?: string;
|
|
1002
|
+
/** Version for the component. */
|
|
1003
|
+
version?: string;
|
|
1004
|
+
/** License for the component. */
|
|
1005
|
+
license?: string;
|
|
1006
|
+
/** File paths related to the component. */
|
|
1007
|
+
filePaths?: string[];
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/** List of SBOM results. */
|
|
1011
|
+
export declare interface SbomComponentListResult {
|
|
1012
|
+
/**
|
|
1013
|
+
* The list of SBOM components.
|
|
1014
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1015
|
+
*/
|
|
1016
|
+
readonly value?: SbomComponentResource[];
|
|
1017
|
+
/** The uri to fetch the next page of resources. */
|
|
1018
|
+
nextLink?: string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/** SBOM analysis result resource */
|
|
1022
|
+
export declare interface SbomComponentResource extends Resource {
|
|
1023
|
+
/** The properties of an SBOM component found within a firmware image */
|
|
1024
|
+
properties?: SbomComponent;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/** Interface representing a SbomComponents. */
|
|
1028
|
+
export declare interface SbomComponents {
|
|
1029
|
+
/**
|
|
1030
|
+
* Lists SBOM analysis results of a firmware.
|
|
1031
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1032
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1033
|
+
* @param firmwareId The id of the firmware.
|
|
1034
|
+
* @param options The options parameters.
|
|
1035
|
+
*/
|
|
1036
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: SbomComponentsListByFirmwareOptionalParams): PagedAsyncIterableIterator<SbomComponentResource>;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/** Optional parameters. */
|
|
1040
|
+
export declare interface SbomComponentsListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
1044
|
+
export declare type SbomComponentsListByFirmwareNextResponse = SbomComponentListResult;
|
|
1045
|
+
|
|
1046
|
+
/** Optional parameters. */
|
|
1047
|
+
export declare interface SbomComponentsListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/** Contains response data for the listByFirmware operation. */
|
|
1051
|
+
export declare type SbomComponentsListByFirmwareResponse = SbomComponentListResult;
|
|
1052
|
+
|
|
1248
1053
|
/**
|
|
1249
1054
|
* Defines values for Status. \
|
|
1250
1055
|
* {@link KnownStatus} can be used interchangeably with Status,
|
|
@@ -1258,15 +1063,110 @@ export declare interface Resource {
|
|
|
1258
1063
|
*/
|
|
1259
1064
|
export declare type Status = string;
|
|
1260
1065
|
|
|
1066
|
+
/** Error and status message */
|
|
1067
|
+
export declare interface StatusMessage {
|
|
1068
|
+
/** The error code */
|
|
1069
|
+
errorCode?: number;
|
|
1070
|
+
/** The error or status message */
|
|
1071
|
+
message?: string;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/** Interface representing a Summaries. */
|
|
1075
|
+
export declare interface Summaries {
|
|
1076
|
+
/**
|
|
1077
|
+
* Lists analysis result summary names of a firmware. To fetch the full summary data, get that summary
|
|
1078
|
+
* by name.
|
|
1079
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1080
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1081
|
+
* @param firmwareId The id of the firmware.
|
|
1082
|
+
* @param options The options parameters.
|
|
1083
|
+
*/
|
|
1084
|
+
listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: SummariesListByFirmwareOptionalParams): PagedAsyncIterableIterator<SummaryResource>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Get an analysis result summary of a firmware by name.
|
|
1087
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1088
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1089
|
+
* @param firmwareId The id of the firmware.
|
|
1090
|
+
* @param summaryName The Firmware analysis summary name describing the type of summary.
|
|
1091
|
+
* @param options The options parameters.
|
|
1092
|
+
*/
|
|
1093
|
+
get(resourceGroupName: string, workspaceName: string, firmwareId: string, summaryName: SummaryName, options?: SummariesGetOptionalParams): Promise<SummariesGetResponse>;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/** Optional parameters. */
|
|
1097
|
+
export declare interface SummariesGetOptionalParams extends coreClient.OperationOptions {
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/** Contains response data for the get operation. */
|
|
1101
|
+
export declare type SummariesGetResponse = SummaryResource;
|
|
1102
|
+
|
|
1103
|
+
/** Optional parameters. */
|
|
1104
|
+
export declare interface SummariesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
1108
|
+
export declare type SummariesListByFirmwareNextResponse = SummaryListResult;
|
|
1109
|
+
|
|
1110
|
+
/** Optional parameters. */
|
|
1111
|
+
export declare interface SummariesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/** Contains response data for the listByFirmware operation. */
|
|
1115
|
+
export declare type SummariesListByFirmwareResponse = SummaryListResult;
|
|
1116
|
+
|
|
1117
|
+
/** List of analysis summaries. */
|
|
1118
|
+
export declare interface SummaryListResult {
|
|
1119
|
+
/**
|
|
1120
|
+
* The list of summaries.
|
|
1121
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1122
|
+
*/
|
|
1123
|
+
readonly value?: SummaryResource[];
|
|
1124
|
+
/** The uri to fetch the next page of resources. */
|
|
1125
|
+
nextLink?: string;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Defines values for SummaryName. \
|
|
1130
|
+
* {@link KnownSummaryName} can be used interchangeably with SummaryName,
|
|
1131
|
+
* this enum contains the known values that the service supports.
|
|
1132
|
+
* ### Known values supported by the service
|
|
1133
|
+
* **Firmware** \
|
|
1134
|
+
* **CVE** \
|
|
1135
|
+
* **BinaryHardening** \
|
|
1136
|
+
* **CryptoCertificate** \
|
|
1137
|
+
* **CryptoKey**
|
|
1138
|
+
*/
|
|
1139
|
+
export declare type SummaryName = string;
|
|
1140
|
+
|
|
1141
|
+
/** The object representing a firmware analysis summary resource. */
|
|
1142
|
+
export declare interface SummaryResource extends Resource {
|
|
1143
|
+
/**
|
|
1144
|
+
* Properties of an analysis summary.
|
|
1145
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1146
|
+
*/
|
|
1147
|
+
readonly properties?: SummaryResourcePropertiesUnion;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
/** Properties of an analysis summary. */
|
|
1151
|
+
export declare interface SummaryResourceProperties {
|
|
1152
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1153
|
+
summaryType: "Firmware" | "CVE" | "BinaryHardening" | "CryptoCertificate" | "CryptoKey";
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
export declare type SummaryResourcePropertiesUnion = SummaryResourceProperties | FirmwareSummary | CveSummary | BinaryHardeningSummaryResource | CryptoCertificateSummaryResource | CryptoKeySummaryResource;
|
|
1157
|
+
|
|
1261
1158
|
/**
|
|
1262
|
-
* Defines values for
|
|
1263
|
-
* {@link
|
|
1159
|
+
* Defines values for SummaryType. \
|
|
1160
|
+
* {@link KnownSummaryType} can be used interchangeably with SummaryType,
|
|
1264
1161
|
* this enum contains the known values that the service supports.
|
|
1265
1162
|
* ### Known values supported by the service
|
|
1266
|
-
* **
|
|
1267
|
-
* **
|
|
1163
|
+
* **Firmware** \
|
|
1164
|
+
* **CVE** \
|
|
1165
|
+
* **BinaryHardening** \
|
|
1166
|
+
* **CryptoCertificate** \
|
|
1167
|
+
* **CryptoKey**
|
|
1268
1168
|
*/
|
|
1269
|
-
export declare type
|
|
1169
|
+
export declare type SummaryType = string;
|
|
1270
1170
|
|
|
1271
1171
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1272
1172
|
export declare interface SystemData {
|
|
@@ -1301,20 +1201,12 @@ export declare interface UrlToken {
|
|
|
1301
1201
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1302
1202
|
*/
|
|
1303
1203
|
readonly url?: string;
|
|
1304
|
-
/**
|
|
1305
|
-
* SAS URL for file uploading. Kept for backwards compatibility
|
|
1306
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1307
|
-
*/
|
|
1308
|
-
readonly uploadUrl?: string;
|
|
1309
1204
|
}
|
|
1310
1205
|
|
|
1311
1206
|
/** Firmware analysis workspace. */
|
|
1312
1207
|
export declare interface Workspace extends TrackedResource {
|
|
1313
|
-
/**
|
|
1314
|
-
|
|
1315
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1316
|
-
*/
|
|
1317
|
-
readonly provisioningState?: ProvisioningState;
|
|
1208
|
+
/** Workspace properties. */
|
|
1209
|
+
properties?: WorkspaceProperties;
|
|
1318
1210
|
}
|
|
1319
1211
|
|
|
1320
1212
|
/** Return a list of firmware analysis workspaces. */
|
|
@@ -1328,6 +1220,15 @@ export declare interface WorkspaceList {
|
|
|
1328
1220
|
nextLink?: string;
|
|
1329
1221
|
}
|
|
1330
1222
|
|
|
1223
|
+
/** Workspace properties. */
|
|
1224
|
+
export declare interface WorkspaceProperties {
|
|
1225
|
+
/**
|
|
1226
|
+
* Provisioning state of the resource.
|
|
1227
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1228
|
+
*/
|
|
1229
|
+
readonly provisioningState?: ProvisioningState;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1331
1232
|
/** Interface representing a Workspaces. */
|
|
1332
1233
|
export declare interface Workspaces {
|
|
1333
1234
|
/**
|
|
@@ -1443,11 +1344,8 @@ export declare type WorkspacesUpdateResponse = Workspace;
|
|
|
1443
1344
|
|
|
1444
1345
|
/** Firmware analysis workspace. */
|
|
1445
1346
|
export declare interface WorkspaceUpdateDefinition {
|
|
1446
|
-
/**
|
|
1447
|
-
|
|
1448
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1449
|
-
*/
|
|
1450
|
-
readonly provisioningState?: ProvisioningState;
|
|
1347
|
+
/** The editable workspace properties. */
|
|
1348
|
+
properties?: WorkspaceProperties;
|
|
1451
1349
|
}
|
|
1452
1350
|
|
|
1453
1351
|
export { }
|