@azure/arm-iotfirmwaredefense 1.0.0-alpha.20240307.1 → 1.0.0-alpha.20240322.1
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 -12
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +2254 -2121
- 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} +19 -20
- 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/{firmwareListGenerateComponentListSample.js → cryptoCertificatesListByFirmwareSample.js} +21 -23
- 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} +19 -20
- 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/{firmwareListGenerateCveListSample.js → cvesListByFirmwareSample.js} +21 -23
- 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} +9 -9
- 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 +2 -2
- 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/{firmwareListGenerateBinaryHardeningListSample.js → summariesListByFirmwareSample.js} +21 -23
- 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 +2 -2
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +2 -2
- 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 +9 -9
- 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 +46 -50
- 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/test/iotfirmwaredefense_operations_test.spec.js +1 -1
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -1
- package/package.json +8 -8
- 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.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.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 -94
- 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 -1358
- 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/src/operations/firmwareOperations.ts +0 -1892
- package/src/operationsInterfaces/firmwareOperations.ts +0 -320
|
@@ -1,18 +1,49 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export type SummaryResourcePropertiesUnion = SummaryResourceProperties | FirmwareSummary | CveSummary | BinaryHardeningSummaryResource | CryptoCertificateSummaryResource | CryptoKeySummaryResource;
|
|
3
|
+
/** List of binary hardening results. */
|
|
4
|
+
export interface BinaryHardeningListResult {
|
|
4
5
|
/**
|
|
5
|
-
* The list of
|
|
6
|
+
* The list of binary hardening results.
|
|
6
7
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
7
8
|
*/
|
|
8
|
-
readonly value?:
|
|
9
|
-
/** The uri to fetch the next page of
|
|
9
|
+
readonly value?: BinaryHardeningResource[];
|
|
10
|
+
/** The uri to fetch the next page of resources. */
|
|
10
11
|
nextLink?: string;
|
|
11
12
|
}
|
|
13
|
+
/** Binary hardening of a firmware. */
|
|
14
|
+
export interface BinaryHardeningResult {
|
|
15
|
+
/** ID for the binary hardening result. */
|
|
16
|
+
binaryHardeningId?: string;
|
|
17
|
+
/** Binary hardening features. */
|
|
18
|
+
features?: BinaryHardeningFeatures;
|
|
19
|
+
/** The architecture of the uploaded firmware. */
|
|
20
|
+
architecture?: string;
|
|
21
|
+
/** The executable path. */
|
|
22
|
+
filePath?: string;
|
|
23
|
+
/** The executable class to indicate 32 or 64 bit. */
|
|
24
|
+
class?: string;
|
|
25
|
+
/** The runpath of the uploaded firmware. */
|
|
26
|
+
runpath?: string;
|
|
27
|
+
/** The rpath of the uploaded firmware. */
|
|
28
|
+
rpath?: string;
|
|
29
|
+
}
|
|
30
|
+
/** Binary hardening features. */
|
|
31
|
+
export interface BinaryHardeningFeatures {
|
|
32
|
+
/** NX (no-execute) flag. */
|
|
33
|
+
nx?: boolean;
|
|
34
|
+
/** PIE (position independent executable) flag. */
|
|
35
|
+
pie?: boolean;
|
|
36
|
+
/** RELRO (relocation read-only) flag. */
|
|
37
|
+
relro?: boolean;
|
|
38
|
+
/** Canary (stack canaries) flag. */
|
|
39
|
+
canary?: boolean;
|
|
40
|
+
/** Stripped flag. */
|
|
41
|
+
stripped?: boolean;
|
|
42
|
+
}
|
|
12
43
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
13
44
|
export interface Resource {
|
|
14
45
|
/**
|
|
15
|
-
* Fully qualified resource ID for the resource.
|
|
46
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
16
47
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
17
48
|
*/
|
|
18
49
|
readonly id?: string;
|
|
@@ -93,269 +124,19 @@ export interface ErrorAdditionalInfo {
|
|
|
93
124
|
*/
|
|
94
125
|
readonly info?: Record<string, unknown>;
|
|
95
126
|
}
|
|
96
|
-
/**
|
|
97
|
-
export interface
|
|
98
|
-
/** File name for a firmware that user uploaded. */
|
|
99
|
-
fileName?: string;
|
|
100
|
-
/** Firmware vendor. */
|
|
101
|
-
vendor?: string;
|
|
102
|
-
/** Firmware model. */
|
|
103
|
-
model?: string;
|
|
104
|
-
/** Firmware version. */
|
|
105
|
-
version?: string;
|
|
106
|
-
/** User-specified description of the firmware. */
|
|
107
|
-
description?: string;
|
|
108
|
-
/** File size of the uploaded firmware image. */
|
|
109
|
-
fileSize?: number;
|
|
110
|
-
/** The status of firmware scan. */
|
|
111
|
-
status?: Status;
|
|
112
|
-
/** A list of errors or other messages generated during firmware analysis */
|
|
113
|
-
statusMessages?: Record<string, unknown>[];
|
|
114
|
-
/**
|
|
115
|
-
* Provisioning state of the resource.
|
|
116
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
|
-
*/
|
|
118
|
-
readonly provisioningState?: ProvisioningState;
|
|
119
|
-
}
|
|
120
|
-
/** Url data for creating or accessing a blob file. */
|
|
121
|
-
export interface UrlToken {
|
|
122
|
-
/**
|
|
123
|
-
* SAS URL for creating or accessing a blob file.
|
|
124
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
125
|
-
*/
|
|
126
|
-
readonly url?: string;
|
|
127
|
-
/**
|
|
128
|
-
* SAS URL for file uploading. Kept for backwards compatibility
|
|
129
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
130
|
-
*/
|
|
131
|
-
readonly uploadUrl?: string;
|
|
132
|
-
}
|
|
133
|
-
/** Summary result after scanning the firmware. */
|
|
134
|
-
export interface FirmwareSummary {
|
|
135
|
-
/** Total extracted size of the firmware in bytes. */
|
|
136
|
-
extractedSize?: number;
|
|
137
|
-
/** Firmware file size in bytes. */
|
|
138
|
-
fileSize?: number;
|
|
139
|
-
/** Extracted file count. */
|
|
140
|
-
extractedFileCount?: number;
|
|
141
|
-
/** Components count. */
|
|
142
|
-
componentCount?: number;
|
|
143
|
-
/** Binary count */
|
|
144
|
-
binaryCount?: number;
|
|
145
|
-
/** Time used for analysis */
|
|
146
|
-
analysisTimeSeconds?: number;
|
|
147
|
-
/** The number of root file systems found. */
|
|
148
|
-
rootFileSystems?: number;
|
|
149
|
-
}
|
|
150
|
-
/** List result for components */
|
|
151
|
-
export interface ComponentList {
|
|
152
|
-
/**
|
|
153
|
-
* The list of components.
|
|
154
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
155
|
-
*/
|
|
156
|
-
readonly value?: Component[];
|
|
157
|
-
/** The uri to fetch the next page of asset. */
|
|
158
|
-
nextLink?: string;
|
|
159
|
-
}
|
|
160
|
-
/** Component of a firmware. */
|
|
161
|
-
export interface Component {
|
|
162
|
-
/** ID for the component. */
|
|
163
|
-
componentId?: string;
|
|
164
|
-
/** Name for the component. */
|
|
165
|
-
componentName?: string;
|
|
166
|
-
/** Version for the component. */
|
|
167
|
-
version?: string;
|
|
168
|
-
/** License for the component. */
|
|
169
|
-
license?: string;
|
|
170
|
-
/** Release date for the component. */
|
|
171
|
-
releaseDate?: Date;
|
|
172
|
-
/** Paths of the component. */
|
|
173
|
-
paths?: string[];
|
|
174
|
-
/** Flag if new update is available for the component. */
|
|
175
|
-
isUpdateAvailable?: IsUpdateAvailable;
|
|
176
|
-
}
|
|
177
|
-
/** List result for binary hardening */
|
|
178
|
-
export interface BinaryHardeningList {
|
|
179
|
-
/**
|
|
180
|
-
* The list of binary hardening results.
|
|
181
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
182
|
-
*/
|
|
183
|
-
readonly value?: BinaryHardening[];
|
|
184
|
-
/** The uri to fetch the next page of asset. */
|
|
185
|
-
nextLink?: string;
|
|
186
|
-
}
|
|
187
|
-
/** Binary hardening of a firmware. */
|
|
188
|
-
export interface BinaryHardening {
|
|
189
|
-
/** ID for the binary hardening result. */
|
|
190
|
-
binaryHardeningId?: string;
|
|
191
|
-
/** The architecture of the uploaded firmware. */
|
|
192
|
-
architecture?: string;
|
|
193
|
-
/** path for binary hardening. */
|
|
194
|
-
path?: string;
|
|
195
|
-
/** class for binary hardening. */
|
|
196
|
-
class?: string;
|
|
197
|
-
/** The runpath of the uploaded firmware. */
|
|
198
|
-
runpath?: string;
|
|
199
|
-
/** The rpath of the uploaded firmware. */
|
|
200
|
-
rpath?: string;
|
|
201
|
-
/** NX flag. */
|
|
202
|
-
nx?: NxFlag;
|
|
203
|
-
/** PIE flag. */
|
|
204
|
-
pie?: PieFlag;
|
|
205
|
-
/** RELRO flag. */
|
|
206
|
-
relro?: RelroFlag;
|
|
207
|
-
/** Canary flag. */
|
|
208
|
-
canary?: CanaryFlag;
|
|
209
|
-
/** Stripped flag. */
|
|
210
|
-
stripped?: StrippedFlag;
|
|
211
|
-
}
|
|
212
|
-
/** Binary hardening summary percentages. */
|
|
213
|
-
export interface BinaryHardeningSummary {
|
|
214
|
-
/** Total number of binaries that were analyzed */
|
|
215
|
-
totalFiles?: number;
|
|
216
|
-
/** NX summary percentage */
|
|
217
|
-
nx?: number;
|
|
218
|
-
/** PIE summary percentage */
|
|
219
|
-
pie?: number;
|
|
220
|
-
/** RELRO summary percentage */
|
|
221
|
-
relro?: number;
|
|
222
|
-
/** Canary summary percentage */
|
|
223
|
-
canary?: number;
|
|
224
|
-
/** Stripped summary percentage */
|
|
225
|
-
stripped?: number;
|
|
226
|
-
}
|
|
227
|
-
/** Password hashes list */
|
|
228
|
-
export interface PasswordHashList {
|
|
229
|
-
/**
|
|
230
|
-
* Password hashes list
|
|
231
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
232
|
-
*/
|
|
233
|
-
readonly value?: PasswordHash[];
|
|
234
|
-
/** The uri to fetch the next page of asset. */
|
|
235
|
-
nextLink?: string;
|
|
236
|
-
}
|
|
237
|
-
/** Password hash properties */
|
|
238
|
-
export interface PasswordHash {
|
|
239
|
-
/** ID for password hash */
|
|
240
|
-
passwordHashId?: string;
|
|
241
|
-
/** File path of the password hash */
|
|
242
|
-
filePath?: string;
|
|
243
|
-
/** Salt of the password hash */
|
|
244
|
-
salt?: string;
|
|
245
|
-
/** Hash of the password */
|
|
246
|
-
hash?: string;
|
|
247
|
-
/** Context of password hash */
|
|
248
|
-
context?: string;
|
|
249
|
-
/** User name of password hash */
|
|
250
|
-
username?: string;
|
|
251
|
-
/** Algorithm of the password hash */
|
|
252
|
-
algorithm?: string;
|
|
253
|
-
}
|
|
254
|
-
/** List result for CVE */
|
|
255
|
-
export interface CveList {
|
|
256
|
-
/**
|
|
257
|
-
* The list of CVE results.
|
|
258
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
259
|
-
*/
|
|
260
|
-
readonly value?: Cve[];
|
|
261
|
-
/** The uri to fetch the next page of asset. */
|
|
262
|
-
nextLink?: string;
|
|
263
|
-
}
|
|
264
|
-
/** Known CVEs of a firmware. */
|
|
265
|
-
export interface Cve {
|
|
266
|
-
/** ID of CVE */
|
|
267
|
-
cveId?: string;
|
|
268
|
-
/** Component of CVE */
|
|
269
|
-
component?: Record<string, unknown>;
|
|
270
|
-
/** Severity of CVE */
|
|
271
|
-
severity?: string;
|
|
272
|
-
/** Name of CVE */
|
|
273
|
-
name?: string;
|
|
274
|
-
/** 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 */
|
|
275
|
-
cvssScore?: string;
|
|
276
|
-
/** Cvss version of CVE */
|
|
277
|
-
cvssVersion?: string;
|
|
278
|
-
/** Cvss V2 score of CVE */
|
|
279
|
-
cvssV2Score?: string;
|
|
280
|
-
/** Cvss V3 score of CVE */
|
|
281
|
-
cvssV3Score?: string;
|
|
282
|
-
/** Publish date of CVE */
|
|
283
|
-
publishDate?: Date;
|
|
284
|
-
/** Updated date of CVE */
|
|
285
|
-
updatedDate?: Date;
|
|
286
|
-
/**
|
|
287
|
-
* The list of CVE links.
|
|
288
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
289
|
-
*/
|
|
290
|
-
readonly links?: CveLink[];
|
|
291
|
-
/** Description of CVE */
|
|
292
|
-
description?: string;
|
|
293
|
-
}
|
|
294
|
-
/** Link for CVE */
|
|
295
|
-
export interface CveLink {
|
|
296
|
-
/** Href of CVE link */
|
|
297
|
-
href?: string;
|
|
298
|
-
/** Label of CVE link */
|
|
299
|
-
label?: string;
|
|
300
|
-
}
|
|
301
|
-
/** CVE summary values. */
|
|
302
|
-
export interface CveSummary {
|
|
303
|
-
/** The total number of critical severity CVEs detected */
|
|
304
|
-
critical?: number;
|
|
305
|
-
/** The total number of high severity CVEs detected */
|
|
306
|
-
high?: number;
|
|
307
|
-
/** The total number of medium severity CVEs detected */
|
|
308
|
-
medium?: number;
|
|
309
|
-
/** The total number of low severity CVEs detected */
|
|
310
|
-
low?: number;
|
|
311
|
-
/** The total number of unknown severity CVEs detected */
|
|
312
|
-
unknown?: number;
|
|
313
|
-
/** The total number of undefined severity CVEs detected */
|
|
314
|
-
undefined?: number;
|
|
315
|
-
}
|
|
316
|
-
/** Cryptographic certificate summary values. */
|
|
317
|
-
export interface CryptoCertificateSummary {
|
|
318
|
-
/** Total number of certificates found. */
|
|
319
|
-
totalCertificates?: number;
|
|
320
|
-
/** Total number of paired private keys found for the certificates. */
|
|
321
|
-
pairedKeys?: number;
|
|
322
|
-
/** Total number of expired certificates found. */
|
|
323
|
-
expired?: number;
|
|
324
|
-
/** Total number of nearly expired certificates found. */
|
|
325
|
-
expiringSoon?: number;
|
|
326
|
-
/** Total number of certificates found using a weak signature algorithm. */
|
|
327
|
-
weakSignature?: number;
|
|
328
|
-
/** Total number of certificates found that are self-signed. */
|
|
329
|
-
selfSigned?: number;
|
|
330
|
-
/** Total number of certificates found that have an insecure key size for the key algorithm. */
|
|
331
|
-
shortKeySize?: number;
|
|
332
|
-
}
|
|
333
|
-
/** Cryptographic key summary values. */
|
|
334
|
-
export interface CryptoKeySummary {
|
|
335
|
-
/** Total number of cryptographic keys found. */
|
|
336
|
-
totalKeys?: number;
|
|
337
|
-
/** Total number of (non-certificate) public keys found. */
|
|
338
|
-
publicKeys?: number;
|
|
339
|
-
/** Total number of private keys found. */
|
|
340
|
-
privateKeys?: number;
|
|
341
|
-
/** Total number of keys found that have a matching paired key or certificate. */
|
|
342
|
-
pairedKeys?: number;
|
|
343
|
-
/** Total number of keys found that have an insecure key size for the algorithm. */
|
|
344
|
-
shortKeySize?: number;
|
|
345
|
-
}
|
|
346
|
-
/** Crypto certificates list */
|
|
347
|
-
export interface CryptoCertificateList {
|
|
127
|
+
/** List of crypto certificates. */
|
|
128
|
+
export interface CryptoCertificateListResult {
|
|
348
129
|
/**
|
|
349
|
-
*
|
|
130
|
+
* The list of crypto certificate results.
|
|
350
131
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
351
132
|
*/
|
|
352
|
-
readonly value?:
|
|
353
|
-
/** The uri to fetch the next page of
|
|
133
|
+
readonly value?: CryptoCertificateResource[];
|
|
134
|
+
/** The uri to fetch the next page of resources. */
|
|
354
135
|
nextLink?: string;
|
|
355
136
|
}
|
|
356
137
|
/** Crypto certificate properties */
|
|
357
138
|
export interface CryptoCertificate {
|
|
358
|
-
/** ID for the certificate. */
|
|
139
|
+
/** ID for the certificate result. */
|
|
359
140
|
cryptoCertId?: string;
|
|
360
141
|
/** Name of the certificate. */
|
|
361
142
|
name?: string;
|
|
@@ -384,20 +165,20 @@ export interface CryptoCertificate {
|
|
|
384
165
|
/** List of functions the certificate can fulfill. */
|
|
385
166
|
usage?: string[];
|
|
386
167
|
/**
|
|
387
|
-
* List of files
|
|
168
|
+
* List of files where this certificate was found.
|
|
388
169
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
389
170
|
*/
|
|
390
171
|
readonly filePaths?: string[];
|
|
391
172
|
/** A matching paired private key. */
|
|
392
173
|
pairedKey?: PairedKey;
|
|
393
174
|
/** Indicates if the certificate is expired. */
|
|
394
|
-
isExpired?:
|
|
395
|
-
/** Indicates if the certificate
|
|
396
|
-
isSelfSigned?:
|
|
175
|
+
isExpired?: boolean;
|
|
176
|
+
/** Indicates if the certificate is self-signed. */
|
|
177
|
+
isSelfSigned?: boolean;
|
|
397
178
|
/** Indicates the signature algorithm used is insecure. */
|
|
398
|
-
isWeakSignature?:
|
|
179
|
+
isWeakSignature?: boolean;
|
|
399
180
|
/** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
|
|
400
|
-
isShortKeySize?:
|
|
181
|
+
isShortKeySize?: boolean;
|
|
401
182
|
}
|
|
402
183
|
/** Information on an entity (distinguished name) in a cryptographic certificate. */
|
|
403
184
|
export interface CryptoCertificateEntity {
|
|
@@ -418,22 +199,20 @@ export interface PairedKey {
|
|
|
418
199
|
id?: string;
|
|
419
200
|
/** The type indicating whether the paired object is a key or certificate. */
|
|
420
201
|
type?: string;
|
|
421
|
-
/** Additional paired key properties */
|
|
422
|
-
additionalProperties?: Record<string, unknown>;
|
|
423
202
|
}
|
|
424
|
-
/**
|
|
425
|
-
export interface
|
|
203
|
+
/** List of crypto keys. */
|
|
204
|
+
export interface CryptoKeyListResult {
|
|
426
205
|
/**
|
|
427
|
-
*
|
|
206
|
+
* The list of crypto key results.
|
|
428
207
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
429
208
|
*/
|
|
430
|
-
readonly value?:
|
|
431
|
-
/** The uri to fetch the next page of
|
|
209
|
+
readonly value?: CryptoKeyResource[];
|
|
210
|
+
/** The uri to fetch the next page of resources. */
|
|
432
211
|
nextLink?: string;
|
|
433
212
|
}
|
|
434
213
|
/** Crypto key properties */
|
|
435
214
|
export interface CryptoKey {
|
|
436
|
-
/** ID for the key. */
|
|
215
|
+
/** ID for the key result. */
|
|
437
216
|
cryptoKeyId?: string;
|
|
438
217
|
/** Type of the key (public or private). */
|
|
439
218
|
keyType?: string;
|
|
@@ -444,37 +223,120 @@ export interface CryptoKey {
|
|
|
444
223
|
/** Functions the key can fulfill. */
|
|
445
224
|
usage?: string[];
|
|
446
225
|
/**
|
|
447
|
-
* List of files
|
|
226
|
+
* List of files where this key was found.
|
|
448
227
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
449
228
|
*/
|
|
450
229
|
readonly filePaths?: string[];
|
|
451
230
|
/** A matching paired key or certificate. */
|
|
452
231
|
pairedKey?: PairedKey;
|
|
453
232
|
/** Indicates the key size is considered too small to be secure for the algorithm. */
|
|
454
|
-
isShortKeySize?:
|
|
233
|
+
isShortKeySize?: boolean;
|
|
455
234
|
}
|
|
456
|
-
/**
|
|
457
|
-
export interface
|
|
235
|
+
/** List of CVE results. */
|
|
236
|
+
export interface CveListResult {
|
|
458
237
|
/**
|
|
459
|
-
* The list of
|
|
238
|
+
* The list of CVE results.
|
|
460
239
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
461
240
|
*/
|
|
462
|
-
readonly value?:
|
|
241
|
+
readonly value?: CveResource[];
|
|
242
|
+
/** The uri to fetch the next page of resources. */
|
|
243
|
+
nextLink?: string;
|
|
244
|
+
}
|
|
245
|
+
/** Details of a CVE detected in firmware. */
|
|
246
|
+
export interface CveResult {
|
|
247
|
+
/** ID of the CVE result. */
|
|
248
|
+
cveId?: string;
|
|
249
|
+
/** The SBOM component for the CVE. */
|
|
250
|
+
component?: CveComponent;
|
|
251
|
+
/** Severity of the CVE. */
|
|
252
|
+
severity?: string;
|
|
253
|
+
/** Name of the CVE. */
|
|
254
|
+
name?: string;
|
|
255
|
+
/** 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. */
|
|
256
|
+
cvssScore?: string;
|
|
257
|
+
/** CVSS version of the CVE. */
|
|
258
|
+
cvssVersion?: string;
|
|
259
|
+
/** CVSS V2 score of the CVE. */
|
|
260
|
+
cvssV2Score?: string;
|
|
261
|
+
/** CVSS V3 score of the CVE. */
|
|
262
|
+
cvssV3Score?: string;
|
|
263
|
+
/**
|
|
264
|
+
* The list of reference links for the CVE.
|
|
265
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
266
|
+
*/
|
|
267
|
+
readonly links?: CveLink[];
|
|
268
|
+
/** The CVE description. */
|
|
269
|
+
description?: string;
|
|
270
|
+
}
|
|
271
|
+
/** Properties of the SBOM component for a CVE. */
|
|
272
|
+
export interface CveComponent {
|
|
273
|
+
/** ID of the SBOM component */
|
|
274
|
+
componentId?: string;
|
|
275
|
+
/** Name of the SBOM component */
|
|
276
|
+
name?: string;
|
|
277
|
+
/** Version of the SBOM component. */
|
|
278
|
+
version?: string;
|
|
279
|
+
}
|
|
280
|
+
/** Properties of a reference link for a CVE. */
|
|
281
|
+
export interface CveLink {
|
|
282
|
+
/** The destination of the reference link. */
|
|
283
|
+
href?: string;
|
|
284
|
+
/** The label of the reference link. */
|
|
285
|
+
label?: string;
|
|
286
|
+
}
|
|
287
|
+
/** List of firmwares */
|
|
288
|
+
export interface FirmwareList {
|
|
289
|
+
/**
|
|
290
|
+
* The list of firmwares.
|
|
291
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
292
|
+
*/
|
|
293
|
+
readonly value?: Firmware[];
|
|
463
294
|
/** The uri to fetch the next page of asset. */
|
|
464
295
|
nextLink?: string;
|
|
465
296
|
}
|
|
466
|
-
/** Firmware
|
|
467
|
-
export interface
|
|
297
|
+
/** Firmware properties. */
|
|
298
|
+
export interface FirmwareProperties {
|
|
299
|
+
/** File name for a firmware that user uploaded. */
|
|
300
|
+
fileName?: string;
|
|
301
|
+
/** Firmware vendor. */
|
|
302
|
+
vendor?: string;
|
|
303
|
+
/** Firmware model. */
|
|
304
|
+
model?: string;
|
|
305
|
+
/** Firmware version. */
|
|
306
|
+
version?: string;
|
|
307
|
+
/** User-specified description of the firmware. */
|
|
308
|
+
description?: string;
|
|
309
|
+
/** File size of the uploaded firmware image. */
|
|
310
|
+
fileSize?: number;
|
|
311
|
+
/** The status of firmware scan. */
|
|
312
|
+
status?: Status;
|
|
313
|
+
/** A list of errors or other messages generated during firmware analysis */
|
|
314
|
+
statusMessages?: StatusMessage[];
|
|
468
315
|
/**
|
|
469
316
|
* Provisioning state of the resource.
|
|
470
317
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
471
318
|
*/
|
|
472
319
|
readonly provisioningState?: ProvisioningState;
|
|
473
320
|
}
|
|
474
|
-
/**
|
|
475
|
-
export interface
|
|
476
|
-
/**
|
|
477
|
-
|
|
321
|
+
/** Error and status message */
|
|
322
|
+
export interface StatusMessage {
|
|
323
|
+
/** The error code */
|
|
324
|
+
errorCode?: number;
|
|
325
|
+
/** The error or status message */
|
|
326
|
+
message?: string;
|
|
327
|
+
}
|
|
328
|
+
/** Firmware definition */
|
|
329
|
+
export interface FirmwareUpdateDefinition {
|
|
330
|
+
/** The editable properties of a firmware */
|
|
331
|
+
properties?: FirmwareProperties;
|
|
332
|
+
}
|
|
333
|
+
/** Url data for creating or accessing a blob file. */
|
|
334
|
+
export interface UrlToken {
|
|
335
|
+
/**
|
|
336
|
+
* SAS URL for creating or accessing a blob file.
|
|
337
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
338
|
+
*/
|
|
339
|
+
readonly url?: string;
|
|
478
340
|
}
|
|
479
341
|
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
480
342
|
export interface OperationListResult {
|
|
@@ -527,27 +389,151 @@ export interface OperationDisplay {
|
|
|
527
389
|
*/
|
|
528
390
|
readonly resource?: string;
|
|
529
391
|
/**
|
|
530
|
-
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
392
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
393
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
394
|
+
*/
|
|
395
|
+
readonly operation?: string;
|
|
396
|
+
/**
|
|
397
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
398
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
399
|
+
*/
|
|
400
|
+
readonly description?: string;
|
|
401
|
+
}
|
|
402
|
+
/** List of password hash results */
|
|
403
|
+
export interface PasswordHashListResult {
|
|
404
|
+
/**
|
|
405
|
+
* The list of password hash results.
|
|
406
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
407
|
+
*/
|
|
408
|
+
readonly value?: PasswordHashResource[];
|
|
409
|
+
/** The uri to fetch the next page of resources. */
|
|
410
|
+
nextLink?: string;
|
|
411
|
+
}
|
|
412
|
+
/** Password hash properties */
|
|
413
|
+
export interface PasswordHash {
|
|
414
|
+
/** ID for password hash */
|
|
415
|
+
passwordHashId?: string;
|
|
416
|
+
/** File path of the password hash */
|
|
417
|
+
filePath?: string;
|
|
418
|
+
/** Salt of the password hash */
|
|
419
|
+
salt?: string;
|
|
420
|
+
/** Hash of the password */
|
|
421
|
+
hash?: string;
|
|
422
|
+
/** Context of password hash */
|
|
423
|
+
context?: string;
|
|
424
|
+
/** User name of password hash */
|
|
425
|
+
username?: string;
|
|
426
|
+
/** Algorithm of the password hash */
|
|
427
|
+
algorithm?: string;
|
|
428
|
+
}
|
|
429
|
+
/** List of SBOM results. */
|
|
430
|
+
export interface SbomComponentListResult {
|
|
431
|
+
/**
|
|
432
|
+
* The list of SBOM components.
|
|
433
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
434
|
+
*/
|
|
435
|
+
readonly value?: SbomComponentResource[];
|
|
436
|
+
/** The uri to fetch the next page of resources. */
|
|
437
|
+
nextLink?: string;
|
|
438
|
+
}
|
|
439
|
+
/** SBOM component of a firmware. */
|
|
440
|
+
export interface SbomComponent {
|
|
441
|
+
/** ID for the component. */
|
|
442
|
+
componentId?: string;
|
|
443
|
+
/** Name for the component. */
|
|
444
|
+
componentName?: string;
|
|
445
|
+
/** Version for the component. */
|
|
446
|
+
version?: string;
|
|
447
|
+
/** License for the component. */
|
|
448
|
+
license?: string;
|
|
449
|
+
/** File paths related to the component. */
|
|
450
|
+
filePaths?: string[];
|
|
451
|
+
}
|
|
452
|
+
/** List of analysis summaries. */
|
|
453
|
+
export interface SummaryListResult {
|
|
454
|
+
/**
|
|
455
|
+
* The list of summaries.
|
|
456
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
457
|
+
*/
|
|
458
|
+
readonly value?: SummaryResource[];
|
|
459
|
+
/** The uri to fetch the next page of resources. */
|
|
460
|
+
nextLink?: string;
|
|
461
|
+
}
|
|
462
|
+
/** Properties of an analysis summary. */
|
|
463
|
+
export interface SummaryResourceProperties {
|
|
464
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
465
|
+
summaryType: "Firmware" | "CVE" | "BinaryHardening" | "CryptoCertificate" | "CryptoKey";
|
|
466
|
+
}
|
|
467
|
+
/** Return a list of firmware analysis workspaces. */
|
|
468
|
+
export interface WorkspaceList {
|
|
469
|
+
/**
|
|
470
|
+
* The list of firmware analysis workspaces.
|
|
531
471
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
532
472
|
*/
|
|
533
|
-
readonly
|
|
473
|
+
readonly value?: Workspace[];
|
|
474
|
+
/** The uri to fetch the next page of asset. */
|
|
475
|
+
nextLink?: string;
|
|
476
|
+
}
|
|
477
|
+
/** Workspace properties. */
|
|
478
|
+
export interface WorkspaceProperties {
|
|
534
479
|
/**
|
|
535
|
-
*
|
|
480
|
+
* Provisioning state of the resource.
|
|
536
481
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
537
482
|
*/
|
|
538
|
-
readonly
|
|
483
|
+
readonly provisioningState?: ProvisioningState;
|
|
539
484
|
}
|
|
540
|
-
/**
|
|
541
|
-
export interface
|
|
542
|
-
/**
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
485
|
+
/** Firmware analysis workspace. */
|
|
486
|
+
export interface WorkspaceUpdateDefinition {
|
|
487
|
+
/** The editable workspace properties. */
|
|
488
|
+
properties?: WorkspaceProperties;
|
|
489
|
+
}
|
|
490
|
+
/** Properties for generating an upload URL */
|
|
491
|
+
export interface GenerateUploadUrlRequest {
|
|
492
|
+
/** A unique ID for the firmware to be uploaded. */
|
|
493
|
+
firmwareId?: string;
|
|
494
|
+
}
|
|
495
|
+
/** binary hardening analysis result resource */
|
|
496
|
+
export interface BinaryHardeningResource extends Resource {
|
|
497
|
+
/** The properties of a binary hardening result found within a firmware image */
|
|
498
|
+
properties?: BinaryHardeningResult;
|
|
499
|
+
}
|
|
500
|
+
/** Crypto certificate resource */
|
|
501
|
+
export interface CryptoCertificateResource extends Resource {
|
|
502
|
+
/** The properties of a crypto certificate found within a firmware image */
|
|
503
|
+
properties?: CryptoCertificate;
|
|
548
504
|
}
|
|
549
|
-
/**
|
|
550
|
-
export interface
|
|
505
|
+
/** Crypto key resource */
|
|
506
|
+
export interface CryptoKeyResource extends Resource {
|
|
507
|
+
/** The properties of a crypto key found within a firmware image */
|
|
508
|
+
properties?: CryptoKey;
|
|
509
|
+
}
|
|
510
|
+
/** CVE analysis result resource */
|
|
511
|
+
export interface CveResource extends Resource {
|
|
512
|
+
/** The properties of a CVE result found within a firmware image */
|
|
513
|
+
properties?: CveResult;
|
|
514
|
+
}
|
|
515
|
+
/** Firmware definition */
|
|
516
|
+
export interface Firmware extends Resource {
|
|
517
|
+
/** The properties of a firmware */
|
|
518
|
+
properties?: FirmwareProperties;
|
|
519
|
+
}
|
|
520
|
+
/** Password hash resource */
|
|
521
|
+
export interface PasswordHashResource extends Resource {
|
|
522
|
+
/** The properties of a password hash found within a firmware image */
|
|
523
|
+
properties?: PasswordHash;
|
|
524
|
+
}
|
|
525
|
+
/** SBOM analysis result resource */
|
|
526
|
+
export interface SbomComponentResource extends Resource {
|
|
527
|
+
/** The properties of an SBOM component found within a firmware image */
|
|
528
|
+
properties?: SbomComponent;
|
|
529
|
+
}
|
|
530
|
+
/** The object representing a firmware analysis summary resource. */
|
|
531
|
+
export interface SummaryResource extends Resource {
|
|
532
|
+
/**
|
|
533
|
+
* Properties of an analysis summary.
|
|
534
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
535
|
+
*/
|
|
536
|
+
readonly properties?: SummaryResourcePropertiesUnion;
|
|
551
537
|
}
|
|
552
538
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
553
539
|
export interface TrackedResource extends Resource {
|
|
@@ -558,38 +544,118 @@ export interface TrackedResource extends Resource {
|
|
|
558
544
|
/** The geo-location where the resource lives */
|
|
559
545
|
location: string;
|
|
560
546
|
}
|
|
561
|
-
/**
|
|
562
|
-
export interface
|
|
563
|
-
/**
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
|
|
567
|
-
/** Firmware
|
|
568
|
-
model?: string;
|
|
569
|
-
/** Firmware version. */
|
|
570
|
-
version?: string;
|
|
571
|
-
/** User-specified description of the firmware. */
|
|
572
|
-
description?: string;
|
|
573
|
-
/** File size of the uploaded firmware image. */
|
|
547
|
+
/** Properties for high level summary of firmware analysis results. */
|
|
548
|
+
export interface FirmwareSummary extends SummaryResourceProperties {
|
|
549
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
550
|
+
summaryType: "Firmware";
|
|
551
|
+
/** Total extracted size of the firmware in bytes. */
|
|
552
|
+
extractedSize?: number;
|
|
553
|
+
/** Firmware file size in bytes. */
|
|
574
554
|
fileSize?: number;
|
|
575
|
-
/**
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
555
|
+
/** Extracted file count. */
|
|
556
|
+
extractedFileCount?: number;
|
|
557
|
+
/** Components count. */
|
|
558
|
+
componentCount?: number;
|
|
559
|
+
/** Binary count */
|
|
560
|
+
binaryCount?: number;
|
|
561
|
+
/** Time used for analysis */
|
|
562
|
+
analysisTimeSeconds?: number;
|
|
563
|
+
/** The number of root file systems found. */
|
|
564
|
+
rootFileSystems?: number;
|
|
565
|
+
}
|
|
566
|
+
/** Properties for a CVE analysis summary. */
|
|
567
|
+
export interface CveSummary extends SummaryResourceProperties {
|
|
568
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
569
|
+
summaryType: "CVE";
|
|
570
|
+
/** The total number of critical severity CVEs detected */
|
|
571
|
+
critical?: number;
|
|
572
|
+
/** The total number of high severity CVEs detected */
|
|
573
|
+
high?: number;
|
|
574
|
+
/** The total number of medium severity CVEs detected */
|
|
575
|
+
medium?: number;
|
|
576
|
+
/** The total number of low severity CVEs detected */
|
|
577
|
+
low?: number;
|
|
578
|
+
/** The total number of unknown severity CVEs detected */
|
|
579
|
+
unknown?: number;
|
|
580
|
+
}
|
|
581
|
+
/** Properties for a binary hardening analysis summary. */
|
|
582
|
+
export interface BinaryHardeningSummaryResource extends SummaryResourceProperties {
|
|
583
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
584
|
+
summaryType: "BinaryHardening";
|
|
585
|
+
/** Total number of binaries that were analyzed */
|
|
586
|
+
totalFiles?: number;
|
|
587
|
+
/** NX summary percentage */
|
|
588
|
+
nx?: number;
|
|
589
|
+
/** PIE summary percentage */
|
|
590
|
+
pie?: number;
|
|
591
|
+
/** RELRO summary percentage */
|
|
592
|
+
relro?: number;
|
|
593
|
+
/** Canary summary percentage */
|
|
594
|
+
canary?: number;
|
|
595
|
+
/** Stripped summary percentage */
|
|
596
|
+
stripped?: number;
|
|
597
|
+
}
|
|
598
|
+
/** Properties for cryptographic certificate summary. */
|
|
599
|
+
export interface CryptoCertificateSummaryResource extends SummaryResourceProperties {
|
|
600
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
601
|
+
summaryType: "CryptoCertificate";
|
|
602
|
+
/** Total number of certificates found. */
|
|
603
|
+
totalCertificates?: number;
|
|
604
|
+
/** Total number of paired private keys found for the certificates. */
|
|
605
|
+
pairedKeys?: number;
|
|
606
|
+
/** Total number of expired certificates found. */
|
|
607
|
+
expired?: number;
|
|
608
|
+
/** Total number of nearly expired certificates found. */
|
|
609
|
+
expiringSoon?: number;
|
|
610
|
+
/** Total number of certificates found using a weak signature algorithm. */
|
|
611
|
+
weakSignature?: number;
|
|
612
|
+
/** Total number of certificates found that are self-signed. */
|
|
613
|
+
selfSigned?: number;
|
|
614
|
+
/** Total number of certificates found that have an insecure key size for the key algorithm. */
|
|
615
|
+
shortKeySize?: number;
|
|
616
|
+
}
|
|
617
|
+
/** Properties for cryptographic key summary. */
|
|
618
|
+
export interface CryptoKeySummaryResource extends SummaryResourceProperties {
|
|
619
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
620
|
+
summaryType: "CryptoKey";
|
|
621
|
+
/** Total number of cryptographic keys found. */
|
|
622
|
+
totalKeys?: number;
|
|
623
|
+
/** Total number of (non-certificate) public keys found. */
|
|
624
|
+
publicKeys?: number;
|
|
625
|
+
/** Total number of private keys found. */
|
|
626
|
+
privateKeys?: number;
|
|
627
|
+
/** Total number of keys found that have a matching paired key or certificate. */
|
|
628
|
+
pairedKeys?: number;
|
|
629
|
+
/** Total number of keys found that have an insecure key size for the algorithm. */
|
|
630
|
+
shortKeySize?: number;
|
|
584
631
|
}
|
|
585
632
|
/** Firmware analysis workspace. */
|
|
586
633
|
export interface Workspace extends TrackedResource {
|
|
587
|
-
/**
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
634
|
+
/** Workspace properties. */
|
|
635
|
+
properties?: WorkspaceProperties;
|
|
636
|
+
}
|
|
637
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
638
|
+
export declare enum KnownCreatedByType {
|
|
639
|
+
/** User */
|
|
640
|
+
User = "User",
|
|
641
|
+
/** Application */
|
|
642
|
+
Application = "Application",
|
|
643
|
+
/** ManagedIdentity */
|
|
644
|
+
ManagedIdentity = "ManagedIdentity",
|
|
645
|
+
/** Key */
|
|
646
|
+
Key = "Key"
|
|
592
647
|
}
|
|
648
|
+
/**
|
|
649
|
+
* Defines values for CreatedByType. \
|
|
650
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
651
|
+
* this enum contains the known values that the service supports.
|
|
652
|
+
* ### Known values supported by the service
|
|
653
|
+
* **User** \
|
|
654
|
+
* **Application** \
|
|
655
|
+
* **ManagedIdentity** \
|
|
656
|
+
* **Key**
|
|
657
|
+
*/
|
|
658
|
+
export type CreatedByType = string;
|
|
593
659
|
/** Known values of {@link Status} that the service accepts. */
|
|
594
660
|
export declare enum KnownStatus {
|
|
595
661
|
/** Pending */
|
|
@@ -637,188 +703,6 @@ export declare enum KnownProvisioningState {
|
|
|
637
703
|
* **Failed**
|
|
638
704
|
*/
|
|
639
705
|
export type ProvisioningState = string;
|
|
640
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
641
|
-
export declare enum KnownCreatedByType {
|
|
642
|
-
/** User */
|
|
643
|
-
User = "User",
|
|
644
|
-
/** Application */
|
|
645
|
-
Application = "Application",
|
|
646
|
-
/** ManagedIdentity */
|
|
647
|
-
ManagedIdentity = "ManagedIdentity",
|
|
648
|
-
/** Key */
|
|
649
|
-
Key = "Key"
|
|
650
|
-
}
|
|
651
|
-
/**
|
|
652
|
-
* Defines values for CreatedByType. \
|
|
653
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
654
|
-
* this enum contains the known values that the service supports.
|
|
655
|
-
* ### Known values supported by the service
|
|
656
|
-
* **User** \
|
|
657
|
-
* **Application** \
|
|
658
|
-
* **ManagedIdentity** \
|
|
659
|
-
* **Key**
|
|
660
|
-
*/
|
|
661
|
-
export type CreatedByType = string;
|
|
662
|
-
/** Known values of {@link IsUpdateAvailable} that the service accepts. */
|
|
663
|
-
export declare enum KnownIsUpdateAvailable {
|
|
664
|
-
/** True */
|
|
665
|
-
True = "True",
|
|
666
|
-
/** False */
|
|
667
|
-
False = "False"
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* Defines values for IsUpdateAvailable. \
|
|
671
|
-
* {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
|
|
672
|
-
* this enum contains the known values that the service supports.
|
|
673
|
-
* ### Known values supported by the service
|
|
674
|
-
* **True** \
|
|
675
|
-
* **False**
|
|
676
|
-
*/
|
|
677
|
-
export type IsUpdateAvailable = string;
|
|
678
|
-
/** Known values of {@link NxFlag} that the service accepts. */
|
|
679
|
-
export declare enum KnownNxFlag {
|
|
680
|
-
/** True */
|
|
681
|
-
True = "True",
|
|
682
|
-
/** False */
|
|
683
|
-
False = "False"
|
|
684
|
-
}
|
|
685
|
-
/**
|
|
686
|
-
* Defines values for NxFlag. \
|
|
687
|
-
* {@link KnownNxFlag} can be used interchangeably with NxFlag,
|
|
688
|
-
* this enum contains the known values that the service supports.
|
|
689
|
-
* ### Known values supported by the service
|
|
690
|
-
* **True** \
|
|
691
|
-
* **False**
|
|
692
|
-
*/
|
|
693
|
-
export type NxFlag = string;
|
|
694
|
-
/** Known values of {@link PieFlag} that the service accepts. */
|
|
695
|
-
export declare enum KnownPieFlag {
|
|
696
|
-
/** True */
|
|
697
|
-
True = "True",
|
|
698
|
-
/** False */
|
|
699
|
-
False = "False"
|
|
700
|
-
}
|
|
701
|
-
/**
|
|
702
|
-
* Defines values for PieFlag. \
|
|
703
|
-
* {@link KnownPieFlag} can be used interchangeably with PieFlag,
|
|
704
|
-
* this enum contains the known values that the service supports.
|
|
705
|
-
* ### Known values supported by the service
|
|
706
|
-
* **True** \
|
|
707
|
-
* **False**
|
|
708
|
-
*/
|
|
709
|
-
export type PieFlag = string;
|
|
710
|
-
/** Known values of {@link RelroFlag} that the service accepts. */
|
|
711
|
-
export declare enum KnownRelroFlag {
|
|
712
|
-
/** True */
|
|
713
|
-
True = "True",
|
|
714
|
-
/** False */
|
|
715
|
-
False = "False"
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* Defines values for RelroFlag. \
|
|
719
|
-
* {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
|
|
720
|
-
* this enum contains the known values that the service supports.
|
|
721
|
-
* ### Known values supported by the service
|
|
722
|
-
* **True** \
|
|
723
|
-
* **False**
|
|
724
|
-
*/
|
|
725
|
-
export type RelroFlag = string;
|
|
726
|
-
/** Known values of {@link CanaryFlag} that the service accepts. */
|
|
727
|
-
export declare enum KnownCanaryFlag {
|
|
728
|
-
/** True */
|
|
729
|
-
True = "True",
|
|
730
|
-
/** False */
|
|
731
|
-
False = "False"
|
|
732
|
-
}
|
|
733
|
-
/**
|
|
734
|
-
* Defines values for CanaryFlag. \
|
|
735
|
-
* {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
|
|
736
|
-
* this enum contains the known values that the service supports.
|
|
737
|
-
* ### Known values supported by the service
|
|
738
|
-
* **True** \
|
|
739
|
-
* **False**
|
|
740
|
-
*/
|
|
741
|
-
export type CanaryFlag = string;
|
|
742
|
-
/** Known values of {@link StrippedFlag} that the service accepts. */
|
|
743
|
-
export declare enum KnownStrippedFlag {
|
|
744
|
-
/** True */
|
|
745
|
-
True = "True",
|
|
746
|
-
/** False */
|
|
747
|
-
False = "False"
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* Defines values for StrippedFlag. \
|
|
751
|
-
* {@link KnownStrippedFlag} can be used interchangeably with StrippedFlag,
|
|
752
|
-
* this enum contains the known values that the service supports.
|
|
753
|
-
* ### Known values supported by the service
|
|
754
|
-
* **True** \
|
|
755
|
-
* **False**
|
|
756
|
-
*/
|
|
757
|
-
export type StrippedFlag = string;
|
|
758
|
-
/** Known values of {@link IsExpired} that the service accepts. */
|
|
759
|
-
export declare enum KnownIsExpired {
|
|
760
|
-
/** True */
|
|
761
|
-
True = "True",
|
|
762
|
-
/** False */
|
|
763
|
-
False = "False"
|
|
764
|
-
}
|
|
765
|
-
/**
|
|
766
|
-
* Defines values for IsExpired. \
|
|
767
|
-
* {@link KnownIsExpired} can be used interchangeably with IsExpired,
|
|
768
|
-
* this enum contains the known values that the service supports.
|
|
769
|
-
* ### Known values supported by the service
|
|
770
|
-
* **True** \
|
|
771
|
-
* **False**
|
|
772
|
-
*/
|
|
773
|
-
export type IsExpired = string;
|
|
774
|
-
/** Known values of {@link IsSelfSigned} that the service accepts. */
|
|
775
|
-
export declare enum KnownIsSelfSigned {
|
|
776
|
-
/** True */
|
|
777
|
-
True = "True",
|
|
778
|
-
/** False */
|
|
779
|
-
False = "False"
|
|
780
|
-
}
|
|
781
|
-
/**
|
|
782
|
-
* Defines values for IsSelfSigned. \
|
|
783
|
-
* {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
|
|
784
|
-
* this enum contains the known values that the service supports.
|
|
785
|
-
* ### Known values supported by the service
|
|
786
|
-
* **True** \
|
|
787
|
-
* **False**
|
|
788
|
-
*/
|
|
789
|
-
export type IsSelfSigned = string;
|
|
790
|
-
/** Known values of {@link IsWeakSignature} that the service accepts. */
|
|
791
|
-
export declare enum KnownIsWeakSignature {
|
|
792
|
-
/** True */
|
|
793
|
-
True = "True",
|
|
794
|
-
/** False */
|
|
795
|
-
False = "False"
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* Defines values for IsWeakSignature. \
|
|
799
|
-
* {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
|
|
800
|
-
* this enum contains the known values that the service supports.
|
|
801
|
-
* ### Known values supported by the service
|
|
802
|
-
* **True** \
|
|
803
|
-
* **False**
|
|
804
|
-
*/
|
|
805
|
-
export type IsWeakSignature = string;
|
|
806
|
-
/** Known values of {@link IsShortKeySize} that the service accepts. */
|
|
807
|
-
export declare enum KnownIsShortKeySize {
|
|
808
|
-
/** True */
|
|
809
|
-
True = "True",
|
|
810
|
-
/** False */
|
|
811
|
-
False = "False"
|
|
812
|
-
}
|
|
813
|
-
/**
|
|
814
|
-
* Defines values for IsShortKeySize. \
|
|
815
|
-
* {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
|
|
816
|
-
* this enum contains the known values that the service supports.
|
|
817
|
-
* ### Known values supported by the service
|
|
818
|
-
* **True** \
|
|
819
|
-
* **False**
|
|
820
|
-
*/
|
|
821
|
-
export type IsShortKeySize = string;
|
|
822
706
|
/** Known values of {@link Origin} that the service accepts. */
|
|
823
707
|
export declare enum KnownOrigin {
|
|
824
708
|
/** User */
|
|
@@ -851,139 +735,179 @@ export declare enum KnownActionType {
|
|
|
851
735
|
* **Internal**
|
|
852
736
|
*/
|
|
853
737
|
export type ActionType = string;
|
|
854
|
-
/**
|
|
855
|
-
export
|
|
738
|
+
/** Known values of {@link SummaryType} that the service accepts. */
|
|
739
|
+
export declare enum KnownSummaryType {
|
|
740
|
+
/** Firmware */
|
|
741
|
+
Firmware = "Firmware",
|
|
742
|
+
/** CVE */
|
|
743
|
+
CVE = "CVE",
|
|
744
|
+
/** BinaryHardening */
|
|
745
|
+
BinaryHardening = "BinaryHardening",
|
|
746
|
+
/** CryptoCertificate */
|
|
747
|
+
CryptoCertificate = "CryptoCertificate",
|
|
748
|
+
/** CryptoKey */
|
|
749
|
+
CryptoKey = "CryptoKey"
|
|
856
750
|
}
|
|
857
|
-
/**
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
751
|
+
/**
|
|
752
|
+
* Defines values for SummaryType. \
|
|
753
|
+
* {@link KnownSummaryType} can be used interchangeably with SummaryType,
|
|
754
|
+
* this enum contains the known values that the service supports.
|
|
755
|
+
* ### Known values supported by the service
|
|
756
|
+
* **Firmware** \
|
|
757
|
+
* **CVE** \
|
|
758
|
+
* **BinaryHardening** \
|
|
759
|
+
* **CryptoCertificate** \
|
|
760
|
+
* **CryptoKey**
|
|
761
|
+
*/
|
|
762
|
+
export type SummaryType = string;
|
|
763
|
+
/** Known values of {@link SummaryName} that the service accepts. */
|
|
764
|
+
export declare enum KnownSummaryName {
|
|
765
|
+
/** Firmware */
|
|
766
|
+
Firmware = "Firmware",
|
|
767
|
+
/** CVE */
|
|
768
|
+
CVE = "CVE",
|
|
769
|
+
/** BinaryHardening */
|
|
770
|
+
BinaryHardening = "BinaryHardening",
|
|
771
|
+
/** CryptoCertificate */
|
|
772
|
+
CryptoCertificate = "CryptoCertificate",
|
|
773
|
+
/** CryptoKey */
|
|
774
|
+
CryptoKey = "CryptoKey"
|
|
861
775
|
}
|
|
862
|
-
/**
|
|
863
|
-
|
|
776
|
+
/**
|
|
777
|
+
* Defines values for SummaryName. \
|
|
778
|
+
* {@link KnownSummaryName} can be used interchangeably with SummaryName,
|
|
779
|
+
* this enum contains the known values that the service supports.
|
|
780
|
+
* ### Known values supported by the service
|
|
781
|
+
* **Firmware** \
|
|
782
|
+
* **CVE** \
|
|
783
|
+
* **BinaryHardening** \
|
|
784
|
+
* **CryptoCertificate** \
|
|
785
|
+
* **CryptoKey**
|
|
786
|
+
*/
|
|
787
|
+
export type SummaryName = string;
|
|
864
788
|
/** Optional parameters. */
|
|
865
|
-
export interface
|
|
789
|
+
export interface BinaryHardeningListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
866
790
|
}
|
|
867
|
-
/** Contains response data for the
|
|
868
|
-
export type
|
|
791
|
+
/** Contains response data for the listByFirmware operation. */
|
|
792
|
+
export type BinaryHardeningListByFirmwareResponse = BinaryHardeningListResult;
|
|
869
793
|
/** Optional parameters. */
|
|
870
|
-
export interface
|
|
794
|
+
export interface BinaryHardeningListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
871
795
|
}
|
|
796
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
797
|
+
export type BinaryHardeningListByFirmwareNextResponse = BinaryHardeningListResult;
|
|
872
798
|
/** Optional parameters. */
|
|
873
|
-
export interface
|
|
799
|
+
export interface CryptoCertificatesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
874
800
|
}
|
|
875
|
-
/** Contains response data for the
|
|
876
|
-
export type
|
|
801
|
+
/** Contains response data for the listByFirmware operation. */
|
|
802
|
+
export type CryptoCertificatesListByFirmwareResponse = CryptoCertificateListResult;
|
|
877
803
|
/** Optional parameters. */
|
|
878
|
-
export interface
|
|
804
|
+
export interface CryptoCertificatesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
879
805
|
}
|
|
880
|
-
/** Contains response data for the
|
|
881
|
-
export type
|
|
806
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
807
|
+
export type CryptoCertificatesListByFirmwareNextResponse = CryptoCertificateListResult;
|
|
882
808
|
/** Optional parameters. */
|
|
883
|
-
export interface
|
|
809
|
+
export interface CryptoKeysListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
884
810
|
}
|
|
885
|
-
/** Contains response data for the
|
|
886
|
-
export type
|
|
811
|
+
/** Contains response data for the listByFirmware operation. */
|
|
812
|
+
export type CryptoKeysListByFirmwareResponse = CryptoKeyListResult;
|
|
887
813
|
/** Optional parameters. */
|
|
888
|
-
export interface
|
|
814
|
+
export interface CryptoKeysListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
889
815
|
}
|
|
890
|
-
/** Contains response data for the
|
|
891
|
-
export type
|
|
816
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
817
|
+
export type CryptoKeysListByFirmwareNextResponse = CryptoKeyListResult;
|
|
892
818
|
/** Optional parameters. */
|
|
893
|
-
export interface
|
|
819
|
+
export interface CvesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
894
820
|
}
|
|
895
|
-
/** Contains response data for the
|
|
896
|
-
export type
|
|
821
|
+
/** Contains response data for the listByFirmware operation. */
|
|
822
|
+
export type CvesListByFirmwareResponse = CveListResult;
|
|
897
823
|
/** Optional parameters. */
|
|
898
|
-
export interface
|
|
824
|
+
export interface CvesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
899
825
|
}
|
|
900
|
-
/** Contains response data for the
|
|
901
|
-
export type
|
|
826
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
827
|
+
export type CvesListByFirmwareNextResponse = CveListResult;
|
|
902
828
|
/** Optional parameters. */
|
|
903
|
-
export interface
|
|
829
|
+
export interface FirmwaresListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
904
830
|
}
|
|
905
|
-
/** Contains response data for the
|
|
906
|
-
export type
|
|
831
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
832
|
+
export type FirmwaresListByWorkspaceResponse = FirmwareList;
|
|
907
833
|
/** Optional parameters. */
|
|
908
|
-
export interface
|
|
834
|
+
export interface FirmwaresCreateOptionalParams extends coreClient.OperationOptions {
|
|
909
835
|
}
|
|
910
|
-
/** Contains response data for the
|
|
911
|
-
export type
|
|
836
|
+
/** Contains response data for the create operation. */
|
|
837
|
+
export type FirmwaresCreateResponse = Firmware;
|
|
912
838
|
/** Optional parameters. */
|
|
913
|
-
export interface
|
|
839
|
+
export interface FirmwaresUpdateOptionalParams extends coreClient.OperationOptions {
|
|
914
840
|
}
|
|
915
|
-
/** Contains response data for the
|
|
916
|
-
export type
|
|
841
|
+
/** Contains response data for the update operation. */
|
|
842
|
+
export type FirmwaresUpdateResponse = Firmware;
|
|
917
843
|
/** Optional parameters. */
|
|
918
|
-
export interface
|
|
844
|
+
export interface FirmwaresDeleteOptionalParams extends coreClient.OperationOptions {
|
|
919
845
|
}
|
|
920
|
-
/** Contains response data for the listGeneratePasswordHashList operation. */
|
|
921
|
-
export type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
|
|
922
846
|
/** Optional parameters. */
|
|
923
|
-
export interface
|
|
847
|
+
export interface FirmwaresGetOptionalParams extends coreClient.OperationOptions {
|
|
924
848
|
}
|
|
925
|
-
/** Contains response data for the
|
|
926
|
-
export type
|
|
849
|
+
/** Contains response data for the get operation. */
|
|
850
|
+
export type FirmwaresGetResponse = Firmware;
|
|
927
851
|
/** Optional parameters. */
|
|
928
|
-
export interface
|
|
852
|
+
export interface FirmwaresGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
929
853
|
}
|
|
930
|
-
/** Contains response data for the
|
|
931
|
-
export type
|
|
854
|
+
/** Contains response data for the generateDownloadUrl operation. */
|
|
855
|
+
export type FirmwaresGenerateDownloadUrlResponse = UrlToken;
|
|
932
856
|
/** Optional parameters. */
|
|
933
|
-
export interface
|
|
857
|
+
export interface FirmwaresGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
934
858
|
}
|
|
935
|
-
/** Contains response data for the
|
|
936
|
-
export type
|
|
859
|
+
/** Contains response data for the generateFilesystemDownloadUrl operation. */
|
|
860
|
+
export type FirmwaresGenerateFilesystemDownloadUrlResponse = UrlToken;
|
|
937
861
|
/** Optional parameters. */
|
|
938
|
-
export interface
|
|
862
|
+
export interface FirmwaresListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
939
863
|
}
|
|
940
|
-
/** Contains response data for the
|
|
941
|
-
export type
|
|
864
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
865
|
+
export type FirmwaresListByWorkspaceNextResponse = FirmwareList;
|
|
942
866
|
/** Optional parameters. */
|
|
943
|
-
export interface
|
|
867
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
944
868
|
}
|
|
945
|
-
/** Contains response data for the
|
|
946
|
-
export type
|
|
869
|
+
/** Contains response data for the list operation. */
|
|
870
|
+
export type OperationsListResponse = OperationListResult;
|
|
947
871
|
/** Optional parameters. */
|
|
948
|
-
export interface
|
|
872
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
949
873
|
}
|
|
950
|
-
/** Contains response data for the
|
|
951
|
-
export type
|
|
874
|
+
/** Contains response data for the listNext operation. */
|
|
875
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
952
876
|
/** Optional parameters. */
|
|
953
|
-
export interface
|
|
877
|
+
export interface PasswordHashesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
954
878
|
}
|
|
955
|
-
/** Contains response data for the
|
|
956
|
-
export type
|
|
879
|
+
/** Contains response data for the listByFirmware operation. */
|
|
880
|
+
export type PasswordHashesListByFirmwareResponse = PasswordHashListResult;
|
|
957
881
|
/** Optional parameters. */
|
|
958
|
-
export interface
|
|
882
|
+
export interface PasswordHashesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
959
883
|
}
|
|
960
|
-
/** Contains response data for the
|
|
961
|
-
export type
|
|
884
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
885
|
+
export type PasswordHashesListByFirmwareNextResponse = PasswordHashListResult;
|
|
962
886
|
/** Optional parameters. */
|
|
963
|
-
export interface
|
|
887
|
+
export interface SbomComponentsListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
964
888
|
}
|
|
965
|
-
/** Contains response data for the
|
|
966
|
-
export type
|
|
889
|
+
/** Contains response data for the listByFirmware operation. */
|
|
890
|
+
export type SbomComponentsListByFirmwareResponse = SbomComponentListResult;
|
|
967
891
|
/** Optional parameters. */
|
|
968
|
-
export interface
|
|
892
|
+
export interface SbomComponentsListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
969
893
|
}
|
|
970
|
-
/** Contains response data for the
|
|
971
|
-
export type
|
|
894
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
895
|
+
export type SbomComponentsListByFirmwareNextResponse = SbomComponentListResult;
|
|
972
896
|
/** Optional parameters. */
|
|
973
|
-
export interface
|
|
897
|
+
export interface SummariesListByFirmwareOptionalParams extends coreClient.OperationOptions {
|
|
974
898
|
}
|
|
975
|
-
/** Contains response data for the
|
|
976
|
-
export type
|
|
899
|
+
/** Contains response data for the listByFirmware operation. */
|
|
900
|
+
export type SummariesListByFirmwareResponse = SummaryListResult;
|
|
977
901
|
/** Optional parameters. */
|
|
978
|
-
export interface
|
|
902
|
+
export interface SummariesGetOptionalParams extends coreClient.OperationOptions {
|
|
979
903
|
}
|
|
980
|
-
/** Contains response data for the
|
|
981
|
-
export type
|
|
904
|
+
/** Contains response data for the get operation. */
|
|
905
|
+
export type SummariesGetResponse = SummaryResource;
|
|
982
906
|
/** Optional parameters. */
|
|
983
|
-
export interface
|
|
907
|
+
export interface SummariesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
|
|
984
908
|
}
|
|
985
|
-
/** Contains response data for the
|
|
986
|
-
export type
|
|
909
|
+
/** Contains response data for the listByFirmwareNext operation. */
|
|
910
|
+
export type SummariesListByFirmwareNextResponse = SummaryListResult;
|
|
987
911
|
/** Optional parameters. */
|
|
988
912
|
export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
989
913
|
}
|
|
@@ -1028,16 +952,6 @@ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreCli
|
|
|
1028
952
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1029
953
|
export type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
|
|
1030
954
|
/** Optional parameters. */
|
|
1031
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1032
|
-
}
|
|
1033
|
-
/** Contains response data for the list operation. */
|
|
1034
|
-
export type OperationsListResponse = OperationListResult;
|
|
1035
|
-
/** Optional parameters. */
|
|
1036
|
-
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1037
|
-
}
|
|
1038
|
-
/** Contains response data for the listNext operation. */
|
|
1039
|
-
export type OperationsListNextResponse = OperationListResult;
|
|
1040
|
-
/** Optional parameters. */
|
|
1041
955
|
export interface IoTFirmwareDefenseClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1042
956
|
/** server parameter */
|
|
1043
957
|
$host?: string;
|