@azure/arm-security 6.0.0-beta.3 → 6.0.0-beta.5
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 +1681 -33
- package/LICENSE +1 -1
- package/dist/index.js +22271 -15959
- 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/adaptiveApplicationControlsListSample.js +2 -2
- package/dist-esm/samples-dev/adaptiveApplicationControlsListSample.js.map +1 -1
- package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js +18 -18
- package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/adaptiveNetworkHardeningsEnforceSample.js +6 -6
- package/dist-esm/samples-dev/adaptiveNetworkHardeningsEnforceSample.js.map +1 -1
- package/dist-esm/samples-dev/adaptiveNetworkHardeningsListByExtendedResourceSample.js +6 -4
- package/dist-esm/samples-dev/adaptiveNetworkHardeningsListByExtendedResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/advancedThreatProtectionCreateSample.js +3 -5
- package/dist-esm/samples-dev/advancedThreatProtectionCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/advancedThreatProtectionGetSample.js +1 -3
- package/dist-esm/samples-dev/advancedThreatProtectionGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsListByResourceGroupSample.js +6 -4
- package/dist-esm/samples-dev/alertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsListResourceGroupLevelByRegionSample.js +6 -4
- package/dist-esm/samples-dev/alertsListResourceGroupLevelByRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsListSample.js +6 -4
- package/dist-esm/samples-dev/alertsListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsListSubscriptionLevelByRegionSample.js +6 -4
- package/dist-esm/samples-dev/alertsListSubscriptionLevelByRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsSimulateSample.js +3 -3
- package/dist-esm/samples-dev/alertsSuppressionRulesListSample.js +12 -8
- package/dist-esm/samples-dev/alertsSuppressionRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertsSuppressionRulesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/allowedConnectionsListByHomeRegionSample.js +6 -4
- package/dist-esm/samples-dev/allowedConnectionsListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/allowedConnectionsListSample.js +6 -4
- package/dist-esm/samples-dev/allowedConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/apiCollectionsGetByAzureApiManagementServiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsGetByAzureApiManagementServiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{apiCollectionGetSample.js → apiCollectionsGetByAzureApiManagementServiceSample.js} +8 -8
- package/dist-esm/samples-dev/apiCollectionsGetByAzureApiManagementServiceSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsListByAzureApiManagementServiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsListByAzureApiManagementServiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{apiCollectionListSample.js → apiCollectionsListByAzureApiManagementServiceSample.js} +12 -10
- package/dist-esm/samples-dev/apiCollectionsListByAzureApiManagementServiceSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/apiCollectionsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/apiCollectionsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsOffboardAzureApiManagementApiSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsOffboardAzureApiManagementApiSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{apiCollectionOffboardingDeleteSample.js → apiCollectionsOffboardAzureApiManagementApiSample.js} +8 -8
- package/dist-esm/samples-dev/apiCollectionsOffboardAzureApiManagementApiSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionsOnboardAzureApiManagementApiSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionsOnboardAzureApiManagementApiSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{apiCollectionOnboardingCreateSample.js → apiCollectionsOnboardAzureApiManagementApiSample.js} +8 -8
- package/dist-esm/samples-dev/apiCollectionsOnboardAzureApiManagementApiSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationCreateOrUpdateSample.js +5 -3
- package/dist-esm/samples-dev/applicationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsListSample.js +6 -4
- package/dist-esm/samples-dev/applicationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsCreateOrUpdateSample.js +2 -4
- package/dist-esm/samples-dev/assessmentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/assessmentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsGetSample.js +3 -7
- package/dist-esm/samples-dev/assessmentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsListSample.js +7 -7
- package/dist-esm/samples-dev/assessmentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsMetadataCreateInSubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/assessmentsMetadataCreateInSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsMetadataGetSample.js +1 -3
- package/dist-esm/samples-dev/assessmentsMetadataGetSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsMetadataListBySubscriptionSample.js +6 -4
- package/dist-esm/samples-dev/assessmentsMetadataListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/assessmentsMetadataListSample.js +7 -7
- package/dist-esm/samples-dev/assessmentsMetadataListSample.js.map +1 -1
- package/dist-esm/samples-dev/autoProvisioningSettingsCreateSample.js +1 -1
- package/dist-esm/samples-dev/autoProvisioningSettingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoProvisioningSettingsListSample.js +6 -4
- package/dist-esm/samples-dev/autoProvisioningSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/automationsCreateOrUpdateSample.js +30 -30
- package/dist-esm/samples-dev/automationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/automationsGetSample.js +1 -1
- package/dist-esm/samples-dev/automationsListByResourceGroupSample.js +7 -5
- package/dist-esm/samples-dev/automationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/automationsListSample.js +7 -5
- package/dist-esm/samples-dev/automationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/automationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationsUpdateSample.js +57 -0
- package/dist-esm/samples-dev/automationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/automationsValidateSample.js +12 -12
- package/dist-esm/samples-dev/azureDevOpsOrgsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsGetSample.js +40 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListAvailableSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListAvailableSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListAvailableSample.js +39 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListAvailableSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListSample.js +55 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsUpdateSample.js +46 -0
- package/dist-esm/samples-dev/azureDevOpsOrgsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsGetSample.js +41 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsListSample.js +56 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsUpdateSample.js +47 -0
- package/dist-esm/samples-dev/azureDevOpsProjectsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsReposCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposCreateOrUpdateSample.js +48 -0
- package/dist-esm/samples-dev/azureDevOpsReposCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsReposGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposGetSample.js +42 -0
- package/dist-esm/samples-dev/azureDevOpsReposGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsReposListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposListSample.js +57 -0
- package/dist-esm/samples-dev/azureDevOpsReposListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsReposUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsReposUpdateSample.js +48 -0
- package/dist-esm/samples-dev/azureDevOpsReposUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/complianceResultsGetSample.js +1 -3
- package/dist-esm/samples-dev/complianceResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/complianceResultsListSample.js +7 -7
- package/dist-esm/samples-dev/complianceResultsListSample.js.map +1 -1
- package/dist-esm/samples-dev/compliancesGetSample.js +1 -3
- package/dist-esm/samples-dev/compliancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/compliancesListSample.js +7 -7
- package/dist-esm/samples-dev/compliancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/connectorsCreateOrUpdateSample.js +11 -11
- package/dist-esm/samples-dev/connectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/connectorsListSample.js +6 -4
- package/dist-esm/samples-dev/connectorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/customAssessmentAutomationsCreateSample.js +2 -2
- package/dist-esm/samples-dev/customAssessmentAutomationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/customAssessmentAutomationsListByResourceGroupSample.js +6 -4
- package/dist-esm/samples-dev/customAssessmentAutomationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/customAssessmentAutomationsListBySubscriptionSample.js +6 -4
- package/dist-esm/samples-dev/customAssessmentAutomationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/customEntityStoreAssignmentsCreateSample.js +2 -2
- package/dist-esm/samples-dev/customEntityStoreAssignmentsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/customEntityStoreAssignmentsListByResourceGroupSample.js +6 -4
- package/dist-esm/samples-dev/customEntityStoreAssignmentsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/customEntityStoreAssignmentsListBySubscriptionSample.js +6 -4
- package/dist-esm/samples-dev/customEntityStoreAssignmentsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/defenderForStorageCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForStorageCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForStorageCreateSample.js +43 -0
- package/dist-esm/samples-dev/defenderForStorageCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/defenderForStorageGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/defenderForStorageGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/defenderForStorageGetSample.js +37 -0
- package/dist-esm/samples-dev/defenderForStorageGetSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsConfigurationsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsCreateOrUpdateSample.js +96 -0
- package/dist-esm/samples-dev/devOpsConfigurationsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsConfigurationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/devOpsConfigurationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsGetSample.js +39 -0
- package/dist-esm/samples-dev/devOpsConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsListSample.js → devOpsConfigurationsListSample.js} +15 -11
- package/dist-esm/samples-dev/devOpsConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsConfigurationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devOpsConfigurationsUpdateSample.js +42 -0
- package/dist-esm/samples-dev/devOpsConfigurationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/devOpsOperationResultsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/devOpsOperationResultsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devOpsOperationResultsGetSample.js +60 -0
- package/dist-esm/samples-dev/devOpsOperationResultsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceSecurityGroupsCreateOrUpdateSample.js +4 -6
- package/dist-esm/samples-dev/deviceSecurityGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/deviceSecurityGroupsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/deviceSecurityGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/deviceSecurityGroupsGetSample.js +1 -3
- package/dist-esm/samples-dev/deviceSecurityGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/deviceSecurityGroupsListSample.js +7 -7
- package/dist-esm/samples-dev/deviceSecurityGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/discoveredSecuritySolutionsListByHomeRegionSample.js +6 -4
- package/dist-esm/samples-dev/discoveredSecuritySolutionsListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/discoveredSecuritySolutionsListSample.js +6 -4
- package/dist-esm/samples-dev/discoveredSecuritySolutionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/externalSecuritySolutionsListByHomeRegionSample.js +6 -4
- package/dist-esm/samples-dev/externalSecuritySolutionsListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/externalSecuritySolutionsListSample.js +6 -4
- package/dist-esm/samples-dev/externalSecuritySolutionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/getSensitivitySettingsSample.d.ts +2 -0
- package/dist-esm/samples-dev/getSensitivitySettingsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/getSensitivitySettingsSample.js +35 -0
- package/dist-esm/samples-dev/getSensitivitySettingsSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersGetSample.js +40 -0
- package/dist-esm/samples-dev/gitHubOwnersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersListAvailableSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnersListAvailableSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersListAvailableSample.js +39 -0
- package/dist-esm/samples-dev/gitHubOwnersListAvailableSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnersListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnersListSample.js +55 -0
- package/dist-esm/samples-dev/gitHubOwnersListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubReposGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubReposGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubReposGetSample.js +41 -0
- package/dist-esm/samples-dev/gitHubReposGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubReposListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubReposListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubReposListSample.js +56 -0
- package/dist-esm/samples-dev/gitHubReposListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsGetSample.js +40 -0
- package/dist-esm/samples-dev/gitLabGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsListAvailableSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabGroupsListAvailableSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsListAvailableSample.js +39 -0
- package/dist-esm/samples-dev/gitLabGroupsListAvailableSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabGroupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabGroupsListSample.js +55 -0
- package/dist-esm/samples-dev/gitLabGroupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabProjectsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabProjectsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabProjectsGetSample.js +41 -0
- package/dist-esm/samples-dev/gitLabProjectsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabProjectsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabProjectsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabProjectsListSample.js +56 -0
- package/dist-esm/samples-dev/gitLabProjectsListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitLabSubgroupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitLabSubgroupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitLabSubgroupsListSample.js +40 -0
- package/dist-esm/samples-dev/gitLabSubgroupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/governanceAssignmentsCreateOrUpdateSample.js +5 -7
- package/dist-esm/samples-dev/governanceAssignmentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceAssignmentsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/governanceAssignmentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceAssignmentsGetSample.js +1 -3
- package/dist-esm/samples-dev/governanceAssignmentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceAssignmentsListSample.js +7 -7
- package/dist-esm/samples-dev/governanceAssignmentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesCreateOrUpdateSample.js +21 -27
- package/dist-esm/samples-dev/governanceRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesDeleteSample.js +3 -9
- package/dist-esm/samples-dev/governanceRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesExecuteSample.js +3 -9
- package/dist-esm/samples-dev/governanceRulesExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesGetSample.js +3 -9
- package/dist-esm/samples-dev/governanceRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesListSample.js +21 -21
- package/dist-esm/samples-dev/governanceRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/governanceRulesOperationResultsSample.js +3 -9
- package/dist-esm/samples-dev/governanceRulesOperationResultsSample.js.map +1 -1
- package/dist-esm/samples-dev/healthReportsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/healthReportsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{healthReportGetSample.js → healthReportsGetSample.js} +4 -6
- package/dist-esm/samples-dev/healthReportsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/healthReportsListSample.js +8 -8
- package/dist-esm/samples-dev/healthReportsListSample.js.map +1 -1
- package/dist-esm/samples-dev/informationProtectionPoliciesCreateOrUpdateSample.js +11 -13
- package/dist-esm/samples-dev/informationProtectionPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/informationProtectionPoliciesGetSample.js +2 -6
- package/dist-esm/samples-dev/informationProtectionPoliciesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/informationProtectionPoliciesListSample.js +7 -7
- package/dist-esm/samples-dev/informationProtectionPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/iotSecuritySolutionListByResourceGroupSample.js +14 -10
- package/dist-esm/samples-dev/iotSecuritySolutionListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionListBySubscriptionSample.js +14 -10
- package/dist-esm/samples-dev/iotSecuritySolutionListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionUpdateSample.js +4 -4
- package/dist-esm/samples-dev/iotSecuritySolutionUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertDismissSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertListSample.js +6 -4
- package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertListSample.js.map +1 -1
- package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationListSample.js +6 -4
- package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationListSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesCreateOrUpdateSample.js +12 -12
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesInitiateSample.js +4 -4
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesInitiateSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByRegionSample.js +6 -4
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupAndRegionSample.js +6 -4
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupAndRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupSample.js +6 -4
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListSample.js +6 -4
- package/dist-esm/samples-dev/jitNetworkAccessPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/locationsListSample.js +6 -4
- package/dist-esm/samples-dev/locationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/pricingsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/pricingsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/pricingsDeleteSample.js +37 -0
- package/dist-esm/samples-dev/pricingsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/pricingsGetSample.js +93 -9
- package/dist-esm/samples-dev/pricingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/pricingsListSample.js +38 -7
- package/dist-esm/samples-dev/pricingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/pricingsUpdateSample.js +67 -10
- package/dist-esm/samples-dev/pricingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/regulatoryComplianceAssessmentsListSample.js +6 -4
- package/dist-esm/samples-dev/regulatoryComplianceAssessmentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/regulatoryComplianceControlsListSample.js +6 -4
- package/dist-esm/samples-dev/regulatoryComplianceControlsListSample.js.map +1 -1
- package/dist-esm/samples-dev/regulatoryComplianceStandardsListSample.js +6 -4
- package/dist-esm/samples-dev/regulatoryComplianceStandardsListSample.js.map +1 -1
- package/dist-esm/samples-dev/secureScoreControlDefinitionsListBySubscriptionSample.js +6 -4
- package/dist-esm/samples-dev/secureScoreControlDefinitionsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/secureScoreControlDefinitionsListSample.js +7 -7
- package/dist-esm/samples-dev/secureScoreControlDefinitionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/secureScoreControlsListBySecureScoreSample.js +14 -10
- package/dist-esm/samples-dev/secureScoreControlsListBySecureScoreSample.js.map +1 -1
- package/dist-esm/samples-dev/secureScoreControlsListSample.js +6 -4
- package/dist-esm/samples-dev/secureScoreControlsListSample.js.map +1 -1
- package/dist-esm/samples-dev/secureScoresListSample.js +6 -4
- package/dist-esm/samples-dev/secureScoresListSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorApplicationCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/securityConnectorApplicationsListSample.js +6 -4
- package/dist-esm/samples-dev/securityConnectorApplicationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsGetSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsListByResourceGroupSample.js +7 -5
- package/dist-esm/samples-dev/securityConnectorsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsListSample.js +7 -5
- package/dist-esm/samples-dev/securityConnectorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/securityContactsCreateSample.js +7 -3
- package/dist-esm/samples-dev/securityContactsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityContactsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/securityContactsGetSample.js +1 -1
- package/dist-esm/samples-dev/securityContactsListSample.js +7 -5
- package/dist-esm/samples-dev/securityContactsListSample.js.map +1 -1
- package/dist-esm/samples-dev/securityOperatorsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityOperatorsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsListTokensSample.js → securityOperatorsCreateOrUpdateSample.js} +9 -8
- package/dist-esm/samples-dev/securityOperatorsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/securityOperatorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityOperatorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsListConnectionStringsSample.js → securityOperatorsDeleteSample.js} +9 -8
- package/dist-esm/samples-dev/securityOperatorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/securityOperatorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityOperatorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsGetSample.js → securityOperatorsGetSample.js} +9 -8
- package/dist-esm/samples-dev/securityOperatorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/securityOperatorsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityOperatorsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsDeleteSample.js → securityOperatorsListSample.js} +8 -8
- package/dist-esm/samples-dev/securityOperatorsListSample.js.map +1 -0
- package/dist-esm/samples-dev/securitySolutionsListSample.js +6 -4
- package/dist-esm/samples-dev/securitySolutionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/securitySolutionsReferenceDataListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/sensitivitySettingsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sensitivitySettingsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sensitivitySettingsListSample.js +35 -0
- package/dist-esm/samples-dev/sensitivitySettingsListSample.js.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentListByExtendedResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsCreateOrUpdateSample.js +42 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{ingestionSettingsCreateSample.js → serverVulnerabilityAssessmentsSettingsDeleteSample.js} +8 -9
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsGetSample.js +38 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/serverVulnerabilityAssessmentsSettingsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/settingsListSample.js +6 -4
- package/dist-esm/samples-dev/settingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/settingsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/softwareInventoriesListByExtendedResourceSample.js +6 -4
- package/dist-esm/samples-dev/softwareInventoriesListByExtendedResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/softwareInventoriesListBySubscriptionSample.js +6 -4
- package/dist-esm/samples-dev/softwareInventoriesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesAddSample.js +8 -12
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesAddSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSample.js +7 -15
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesDeleteSample.js +1 -3
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesGetSample.js +1 -3
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesListSample.js +1 -3
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsGetSample.js +2 -6
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsListSample.js +2 -6
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansGetSample.js +2 -6
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansListSample.js +1 -3
- package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansListSample.js.map +1 -1
- package/dist-esm/samples-dev/subAssessmentsGetSample.js +1 -3
- package/dist-esm/samples-dev/subAssessmentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/subAssessmentsListAllSample.js +7 -7
- package/dist-esm/samples-dev/subAssessmentsListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/subAssessmentsListSample.js +7 -7
- package/dist-esm/samples-dev/subAssessmentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/tasksListByHomeRegionSample.js +6 -4
- package/dist-esm/samples-dev/tasksListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/tasksListByResourceGroupSample.js +6 -4
- package/dist-esm/samples-dev/tasksListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/tasksListSample.js +6 -4
- package/dist-esm/samples-dev/tasksListSample.js.map +1 -1
- package/dist-esm/samples-dev/topologyListByHomeRegionSample.js +6 -4
- package/dist-esm/samples-dev/topologyListByHomeRegionSample.js.map +1 -1
- package/dist-esm/samples-dev/topologyListSample.js +6 -4
- package/dist-esm/samples-dev/topologyListSample.js.map +1 -1
- package/dist-esm/samples-dev/updateSensitivitySettingsSample.d.ts +2 -0
- package/dist-esm/samples-dev/updateSensitivitySettingsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSensitivitySettingsSample.js +44 -0
- package/dist-esm/samples-dev/updateSensitivitySettingsSample.js.map +1 -0
- package/dist-esm/samples-dev/workspaceSettingsCreateSample.js +1 -1
- package/dist-esm/samples-dev/workspaceSettingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspaceSettingsListSample.js +6 -4
- package/dist-esm/samples-dev/workspaceSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/workspaceSettingsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/workspaceSettingsUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +7250 -5362
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +1231 -1037
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +271 -182
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +8949 -6432
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +112 -89
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +948 -743
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/aPICollections.d.ts +133 -0
- package/dist-esm/src/operations/aPICollections.d.ts.map +1 -0
- package/dist-esm/src/operations/aPICollections.js +557 -0
- package/dist-esm/src/operations/aPICollections.js.map +1 -0
- package/dist-esm/src/operations/adaptiveApplicationControls.d.ts.map +1 -1
- package/dist-esm/src/operations/adaptiveApplicationControls.js +24 -24
- package/dist-esm/src/operations/adaptiveApplicationControls.js.map +1 -1
- package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts.map +1 -1
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js +40 -38
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js.map +1 -1
- package/dist-esm/src/operations/advancedThreatProtection.js +12 -12
- package/dist-esm/src/operations/advancedThreatProtection.js.map +1 -1
- package/dist-esm/src/operations/alerts.d.ts.map +1 -1
- package/dist-esm/src/operations/alerts.js +139 -131
- package/dist-esm/src/operations/alerts.js.map +1 -1
- package/dist-esm/src/operations/alertsSuppressionRules.js +34 -32
- package/dist-esm/src/operations/alertsSuppressionRules.js.map +1 -1
- package/dist-esm/src/operations/allowedConnections.js +42 -38
- package/dist-esm/src/operations/allowedConnections.js.map +1 -1
- package/dist-esm/src/operations/applicationOperations.js +16 -16
- package/dist-esm/src/operations/applicationOperations.js.map +1 -1
- package/dist-esm/src/operations/applications.js +17 -15
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/assessments.js +34 -32
- package/dist-esm/src/operations/assessments.js.map +1 -1
- package/dist-esm/src/operations/assessmentsMetadata.js +55 -51
- package/dist-esm/src/operations/assessmentsMetadata.js.map +1 -1
- package/dist-esm/src/operations/autoProvisioningSettings.js +29 -27
- package/dist-esm/src/operations/autoProvisioningSettings.js.map +1 -1
- package/dist-esm/src/operations/automations.d.ts +10 -1
- package/dist-esm/src/operations/automations.d.ts.map +1 -1
- package/dist-esm/src/operations/automations.js +94 -55
- package/dist-esm/src/operations/automations.js.map +1 -1
- package/dist-esm/src/operations/azureDevOpsOrgs.d.ts +91 -0
- package/dist-esm/src/operations/azureDevOpsOrgs.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsOrgs.js +413 -0
- package/dist-esm/src/operations/azureDevOpsOrgs.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsProjects.d.ts +91 -0
- package/dist-esm/src/operations/azureDevOpsProjects.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsProjects.js +403 -0
- package/dist-esm/src/operations/azureDevOpsProjects.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsRepos.d.ts +99 -0
- package/dist-esm/src/operations/azureDevOpsRepos.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsRepos.js +432 -0
- package/dist-esm/src/operations/azureDevOpsRepos.js.map +1 -0
- package/dist-esm/src/operations/complianceResults.js +22 -20
- package/dist-esm/src/operations/complianceResults.js.map +1 -1
- package/dist-esm/src/operations/compliances.js +22 -20
- package/dist-esm/src/operations/compliances.js.map +1 -1
- package/dist-esm/src/operations/connectors.js +34 -32
- package/dist-esm/src/operations/connectors.js.map +1 -1
- package/dist-esm/src/operations/customAssessmentAutomations.d.ts.map +1 -1
- package/dist-esm/src/operations/customAssessmentAutomations.js +54 -50
- package/dist-esm/src/operations/customAssessmentAutomations.js.map +1 -1
- package/dist-esm/src/operations/customEntityStoreAssignments.d.ts.map +1 -1
- package/dist-esm/src/operations/customEntityStoreAssignments.js +54 -50
- package/dist-esm/src/operations/customEntityStoreAssignments.js.map +1 -1
- package/dist-esm/src/operations/defenderForStorage.d.ts +28 -0
- package/dist-esm/src/operations/defenderForStorage.d.ts.map +1 -0
- package/dist-esm/src/operations/defenderForStorage.js +87 -0
- package/dist-esm/src/operations/defenderForStorage.js.map +1 -0
- package/dist-esm/src/operations/devOpsConfigurations.d.ts +92 -0
- package/dist-esm/src/operations/devOpsConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/devOpsConfigurations.js +449 -0
- package/dist-esm/src/operations/devOpsConfigurations.js.map +1 -0
- package/dist-esm/src/operations/devOpsOperationResults.d.ts +21 -0
- package/dist-esm/src/operations/devOpsOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operations/devOpsOperationResults.js +55 -0
- package/dist-esm/src/operations/devOpsOperationResults.js.map +1 -0
- package/dist-esm/src/operations/deviceSecurityGroups.js +34 -32
- package/dist-esm/src/operations/deviceSecurityGroups.js.map +1 -1
- package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts.map +1 -1
- package/dist-esm/src/operations/discoveredSecuritySolutions.js +43 -39
- package/dist-esm/src/operations/discoveredSecuritySolutions.js.map +1 -1
- package/dist-esm/src/operations/externalSecuritySolutions.d.ts.map +1 -1
- package/dist-esm/src/operations/externalSecuritySolutions.js +43 -39
- package/dist-esm/src/operations/externalSecuritySolutions.js.map +1 -1
- package/dist-esm/src/operations/gitHubOwners.d.ts +53 -0
- package/dist-esm/src/operations/gitHubOwners.d.ts.map +1 -0
- package/dist-esm/src/operations/gitHubOwners.js +212 -0
- package/dist-esm/src/operations/gitHubOwners.js.map +1 -0
- package/dist-esm/src/operations/gitHubRepos.d.ts +50 -0
- package/dist-esm/src/operations/gitHubRepos.d.ts.map +1 -0
- package/dist-esm/src/operations/{aPICollection.js → gitHubRepos.js} +71 -60
- package/dist-esm/src/operations/gitHubRepos.js.map +1 -0
- package/dist-esm/src/operations/gitLabGroups.d.ts +53 -0
- package/dist-esm/src/operations/gitLabGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/gitLabGroups.js +212 -0
- package/dist-esm/src/operations/gitLabGroups.js.map +1 -0
- package/dist-esm/src/operations/gitLabProjects.d.ts +52 -0
- package/dist-esm/src/operations/gitLabProjects.d.ts.map +1 -0
- package/dist-esm/src/operations/gitLabProjects.js +203 -0
- package/dist-esm/src/operations/gitLabProjects.js.map +1 -0
- package/dist-esm/src/operations/gitLabSubgroups.d.ts +21 -0
- package/dist-esm/src/operations/gitLabSubgroups.d.ts.map +1 -0
- package/dist-esm/src/operations/gitLabSubgroups.js +55 -0
- package/dist-esm/src/operations/gitLabSubgroups.js.map +1 -0
- package/dist-esm/src/operations/governanceAssignments.js +34 -32
- package/dist-esm/src/operations/governanceAssignments.js.map +1 -1
- package/dist-esm/src/operations/governanceRules.d.ts.map +1 -1
- package/dist-esm/src/operations/governanceRules.js +53 -51
- package/dist-esm/src/operations/governanceRules.js.map +1 -1
- package/dist-esm/src/operations/healthReports.d.ts +8 -1
- package/dist-esm/src/operations/healthReports.d.ts.map +1 -1
- package/dist-esm/src/operations/healthReports.js +45 -14
- package/dist-esm/src/operations/healthReports.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +49 -39
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +49 -39
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/informationProtectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/informationProtectionPolicies.js +30 -28
- package/dist-esm/src/operations/informationProtectionPolicies.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolution.js +60 -56
- package/dist-esm/src/operations/iotSecuritySolution.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js +12 -12
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js +30 -28
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js +26 -24
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -1
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js +103 -95
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js.map +1 -1
- package/dist-esm/src/operations/locations.js +23 -21
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/mdeOnboardings.js +10 -10
- package/dist-esm/src/operations/mdeOnboardings.js.map +1 -1
- package/dist-esm/src/operations/operations.js +16 -14
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/pricings.d.ts +38 -8
- package/dist-esm/src/operations/pricings.d.ts.map +1 -1
- package/dist-esm/src/operations/pricings.js +96 -42
- package/dist-esm/src/operations/pricings.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js +27 -25
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceControls.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceControls.js +25 -23
- package/dist-esm/src/operations/regulatoryComplianceControls.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceStandards.js +23 -21
- package/dist-esm/src/operations/regulatoryComplianceStandards.js.map +1 -1
- package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/secureScoreControlDefinitions.js +33 -29
- package/dist-esm/src/operations/secureScoreControlDefinitions.js.map +1 -1
- package/dist-esm/src/operations/secureScoreControls.js +35 -31
- package/dist-esm/src/operations/secureScoreControls.js.map +1 -1
- package/dist-esm/src/operations/secureScores.js +23 -21
- package/dist-esm/src/operations/secureScores.js.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplication.d.ts.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplication.js +17 -17
- package/dist-esm/src/operations/securityConnectorApplication.js.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplications.d.ts.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplications.js +19 -17
- package/dist-esm/src/operations/securityConnectorApplications.js.map +1 -1
- package/dist-esm/src/operations/securityConnectors.js +53 -49
- package/dist-esm/src/operations/securityConnectors.js.map +1 -1
- package/dist-esm/src/operations/securityContacts.d.ts +4 -4
- package/dist-esm/src/operations/securityContacts.d.ts.map +1 -1
- package/dist-esm/src/operations/securityContacts.js +35 -33
- package/dist-esm/src/operations/securityContacts.js.map +1 -1
- package/dist-esm/src/operations/securityOperators.d.ts +40 -0
- package/dist-esm/src/operations/securityOperators.d.ts.map +1 -0
- package/dist-esm/src/operations/securityOperators.js +140 -0
- package/dist-esm/src/operations/securityOperators.js.map +1 -0
- package/dist-esm/src/operations/securitySolutions.js +24 -22
- package/dist-esm/src/operations/securitySolutions.js.map +1 -1
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js +11 -11
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js.map +1 -1
- package/dist-esm/src/operations/sensitivitySettings.d.ts +18 -0
- package/dist-esm/src/operations/sensitivitySettings.d.ts.map +1 -0
- package/dist-esm/src/operations/sensitivitySettings.js +46 -0
- package/dist-esm/src/operations/sensitivitySettings.js.map +1 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js +32 -32
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js.map +1 -1
- package/dist-esm/src/operations/serverVulnerabilityAssessmentsSettings.d.ts +54 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentsSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentsSettings.js +229 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentsSettings.js.map +1 -0
- package/dist-esm/src/operations/settings.d.ts +3 -3
- package/dist-esm/src/operations/settings.d.ts.map +1 -1
- package/dist-esm/src/operations/settings.js +29 -27
- package/dist-esm/src/operations/settings.js.map +1 -1
- package/dist-esm/src/operations/softwareInventories.js +45 -41
- package/dist-esm/src/operations/softwareInventories.js.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js +29 -29
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js +11 -11
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js +10 -10
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js.map +1 -1
- package/dist-esm/src/operations/subAssessments.js +40 -36
- package/dist-esm/src/operations/subAssessments.js.map +1 -1
- package/dist-esm/src/operations/tasks.js +79 -73
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/topology.js +42 -38
- package/dist-esm/src/operations/topology.js.map +1 -1
- package/dist-esm/src/operations/workspaceSettings.js +40 -38
- package/dist-esm/src/operations/workspaceSettings.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/aPICollections.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/aPICollections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{ingestionSettings.js → aPICollections.js} +1 -1
- package/dist-esm/src/operationsInterfaces/aPICollections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automations.d.ts +10 -1
- package/dist-esm/src/operationsInterfaces/automations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgs.d.ts +66 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{healthReportOperations.js → azureDevOpsOrgs.js} +1 -1
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjects.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{aPICollectionOnboarding.js → azureDevOpsProjects.js} +1 -1
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepos.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepos.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepos.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepos.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/defenderForStorage.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/defenderForStorage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/defenderForStorage.js +9 -0
- package/dist-esm/src/operationsInterfaces/defenderForStorage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/devOpsConfigurations.d.ts +67 -0
- package/dist-esm/src/operationsInterfaces/devOpsConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/devOpsConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/devOpsConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/devOpsOperationResults.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/devOpsOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/devOpsOperationResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/devOpsOperationResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwners.d.ts +28 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwners.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{aPICollection.js → gitHubOwners.js} +1 -1
- package/dist-esm/src/operationsInterfaces/gitHubOwners.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepos.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepos.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepos.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepos.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabGroups.d.ts +28 -0
- package/dist-esm/src/operationsInterfaces/gitLabGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitLabGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabProjects.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/gitLabProjects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabProjects.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitLabProjects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabSubgroups.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/gitLabSubgroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitLabSubgroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitLabSubgroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/healthReports.d.ts +8 -1
- package/dist-esm/src/operationsInterfaces/healthReports.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +49 -39
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +49 -39
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pricings.d.ts +38 -8
- package/dist-esm/src/operationsInterfaces/pricings.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/securityContacts.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/securityContacts.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/securityOperators.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/securityOperators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityOperators.js +9 -0
- package/dist-esm/src/operationsInterfaces/securityOperators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sensitivitySettings.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/sensitivitySettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sensitivitySettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/sensitivitySettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentsSettings.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentsSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{aPICollectionOffboarding.js → serverVulnerabilityAssessmentsSettings.js} +1 -1
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentsSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/settings.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/settings.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/securityCenter.d.ts +64 -42
- package/dist-esm/src/securityCenter.d.ts.map +1 -1
- package/dist-esm/src/securityCenter.js +126 -56
- package/dist-esm/src/securityCenter.js.map +1 -1
- package/dist-esm/test/security_examples.spec.d.ts +3 -0
- package/dist-esm/test/security_examples.spec.d.ts.map +1 -1
- package/dist-esm/test/security_examples.spec.js +30 -14
- package/dist-esm/test/security_examples.spec.js.map +1 -1
- package/package.json +20 -24
- package/review/arm-security.api.md +1489 -187
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +8396 -6183
- package/src/models/mappers.ts +10446 -7605
- package/src/models/parameters.ts +1001 -766
- package/src/operations/aPICollections.ts +709 -0
- package/src/operations/adaptiveApplicationControls.ts +38 -41
- package/src/operations/adaptiveNetworkHardenings.ts +64 -67
- package/src/operations/advancedThreatProtection.ts +19 -21
- package/src/operations/alerts.ts +340 -345
- package/src/operations/alertsSuppressionRules.ts +45 -49
- package/src/operations/allowedConnections.ts +51 -54
- package/src/operations/applicationOperations.ts +26 -29
- package/src/operations/applications.ts +19 -20
- package/src/operations/assessments.ts +45 -48
- package/src/operations/assessmentsMetadata.ts +70 -75
- package/src/operations/autoProvisioningSettings.ts +37 -40
- package/src/operations/automations.ts +125 -84
- package/src/operations/azureDevOpsOrgs.ts +573 -0
- package/src/operations/azureDevOpsProjects.ts +570 -0
- package/src/operations/azureDevOpsRepos.ts +616 -0
- package/src/operations/complianceResults.ts +27 -28
- package/src/operations/compliances.ts +26 -26
- package/src/operations/connectors.ts +45 -49
- package/src/operations/customAssessmentAutomations.ts +73 -77
- package/src/operations/customEntityStoreAssignments.ts +73 -77
- package/src/operations/defenderForStorage.ts +118 -0
- package/src/operations/devOpsConfigurations.ts +619 -0
- package/src/operations/devOpsOperationResults.ts +74 -0
- package/src/operations/deviceSecurityGroups.ts +45 -48
- package/src/operations/discoveredSecuritySolutions.ts +54 -56
- package/src/operations/externalSecuritySolutions.ts +54 -56
- package/src/operations/gitHubOwners.ts +284 -0
- package/src/operations/gitHubRepos.ts +274 -0
- package/src/operations/gitLabGroups.ts +284 -0
- package/src/operations/gitLabProjects.ts +276 -0
- package/src/operations/gitLabSubgroups.ts +74 -0
- package/src/operations/governanceAssignments.ts +48 -52
- package/src/operations/governanceRules.ts +81 -85
- package/src/operations/healthReports.ts +57 -18
- package/src/operations/index.ts +49 -39
- package/src/operations/informationProtectionPolicies.ts +40 -41
- package/src/operations/iotSecuritySolution.ts +80 -86
- package/src/operations/iotSecuritySolutionAnalytics.ts +21 -22
- package/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +44 -46
- package/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +37 -38
- package/src/operations/jitNetworkAccessPolicies.ts +148 -155
- package/src/operations/locations.ts +28 -30
- package/src/operations/mdeOnboardings.ts +15 -17
- package/src/operations/operations.ts +17 -17
- package/src/operations/pricings.ts +122 -53
- package/src/operations/regulatoryComplianceAssessments.ts +40 -41
- package/src/operations/regulatoryComplianceControls.ts +36 -37
- package/src/operations/regulatoryComplianceStandards.ts +30 -31
- package/src/operations/secureScoreControlDefinitions.ts +38 -38
- package/src/operations/secureScoreControls.ts +42 -44
- package/src/operations/secureScores.ts +28 -30
- package/src/operations/securityConnectorApplication.ts +29 -31
- package/src/operations/securityConnectorApplications.ts +29 -29
- package/src/operations/securityConnectors.ts +72 -78
- package/src/operations/securityContacts.ts +50 -53
- package/src/operations/securityOperators.ts +186 -0
- package/src/operations/securitySolutions.ts +29 -31
- package/src/operations/securitySolutionsReferenceDataOperations.ts +19 -20
- package/src/operations/sensitivitySettings.ts +59 -0
- package/src/operations/serverVulnerabilityAssessmentOperations.ts +55 -59
- package/src/operations/serverVulnerabilityAssessmentsSettings.ts +278 -0
- package/src/operations/settings.ts +39 -41
- package/src/operations/softwareInventories.ts +58 -61
- package/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts +47 -51
- package/src/operations/sqlVulnerabilityAssessmentScanResults.ts +20 -21
- package/src/operations/sqlVulnerabilityAssessmentScans.ts +19 -20
- package/src/operations/subAssessments.ts +49 -51
- package/src/operations/tasks.ts +130 -134
- package/src/operations/topology.ts +51 -54
- package/src/operations/workspaceSettings.ts +54 -59
- package/src/operationsInterfaces/aPICollections.ts +127 -0
- package/src/operationsInterfaces/adaptiveApplicationControls.ts +5 -5
- package/src/operationsInterfaces/adaptiveNetworkHardenings.ts +5 -5
- package/src/operationsInterfaces/advancedThreatProtection.ts +3 -3
- package/src/operationsInterfaces/alerts.ts +16 -16
- package/src/operationsInterfaces/alertsSuppressionRules.ts +5 -5
- package/src/operationsInterfaces/allowedConnections.ts +4 -4
- package/src/operationsInterfaces/applicationOperations.ts +4 -4
- package/src/operationsInterfaces/applications.ts +1 -1
- package/src/operationsInterfaces/assessments.ts +5 -5
- package/src/operationsInterfaces/assessmentsMetadata.ts +7 -7
- package/src/operationsInterfaces/autoProvisioningSettings.ts +4 -4
- package/src/operationsInterfaces/automations.ts +24 -7
- package/src/operationsInterfaces/azureDevOpsOrgs.ts +133 -0
- package/src/operationsInterfaces/azureDevOpsProjects.ts +131 -0
- package/src/operationsInterfaces/azureDevOpsRepos.ts +143 -0
- package/src/operationsInterfaces/complianceResults.ts +3 -3
- package/src/operationsInterfaces/compliances.ts +3 -3
- package/src/operationsInterfaces/connectors.ts +5 -5
- package/src/operationsInterfaces/customAssessmentAutomations.ts +6 -6
- package/src/operationsInterfaces/customEntityStoreAssignments.ts +6 -6
- package/src/operationsInterfaces/defenderForStorage.ts +44 -0
- package/src/operationsInterfaces/devOpsConfigurations.ts +132 -0
- package/src/operationsInterfaces/devOpsOperationResults.ts +29 -0
- package/src/operationsInterfaces/deviceSecurityGroups.ts +5 -5
- package/src/operationsInterfaces/discoveredSecuritySolutions.ts +4 -4
- package/src/operationsInterfaces/externalSecuritySolutions.ts +4 -4
- package/src/operationsInterfaces/gitHubOwners.ts +57 -0
- package/src/operationsInterfaces/gitHubRepos.ts +48 -0
- package/src/operationsInterfaces/gitLabGroups.ts +57 -0
- package/src/operationsInterfaces/gitLabProjects.ts +49 -0
- package/src/operationsInterfaces/gitLabSubgroups.ts +29 -0
- package/src/operationsInterfaces/governanceAssignments.ts +5 -5
- package/src/operationsInterfaces/governanceRules.ts +9 -9
- package/src/operationsInterfaces/healthReports.ts +18 -2
- package/src/operationsInterfaces/index.ts +49 -39
- package/src/operationsInterfaces/informationProtectionPolicies.ts +4 -4
- package/src/operationsInterfaces/iotSecuritySolution.ts +7 -7
- package/src/operationsInterfaces/iotSecuritySolutionAnalytics.ts +3 -3
- package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +4 -4
- package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.ts +3 -3
- package/src/operationsInterfaces/jitNetworkAccessPolicies.ts +9 -9
- package/src/operationsInterfaces/locations.ts +3 -3
- package/src/operationsInterfaces/mdeOnboardings.ts +3 -3
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/pricings.ts +52 -12
- package/src/operationsInterfaces/regulatoryComplianceAssessments.ts +3 -3
- package/src/operationsInterfaces/regulatoryComplianceControls.ts +3 -3
- package/src/operationsInterfaces/regulatoryComplianceStandards.ts +3 -3
- package/src/operationsInterfaces/secureScoreControlDefinitions.ts +3 -3
- package/src/operationsInterfaces/secureScoreControls.ts +3 -3
- package/src/operationsInterfaces/secureScores.ts +3 -3
- package/src/operationsInterfaces/securityConnectorApplication.ts +4 -4
- package/src/operationsInterfaces/securityConnectorApplications.ts +2 -2
- package/src/operationsInterfaces/securityConnectors.ts +7 -7
- package/src/operationsInterfaces/securityContacts.ts +9 -8
- package/src/operationsInterfaces/securityOperators.ts +63 -0
- package/src/operationsInterfaces/securitySolutions.ts +3 -3
- package/src/operationsInterfaces/securitySolutionsReferenceDataOperations.ts +3 -3
- package/src/operationsInterfaces/sensitivitySettings.ts +23 -0
- package/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.ts +6 -6
- package/src/operationsInterfaces/serverVulnerabilityAssessmentsSettings.ts +63 -0
- package/src/operationsInterfaces/settings.ts +7 -7
- package/src/operationsInterfaces/softwareInventories.ts +4 -4
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.ts +6 -6
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.ts +3 -3
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.ts +3 -3
- package/src/operationsInterfaces/subAssessments.ts +4 -4
- package/src/operationsInterfaces/tasks.ts +8 -8
- package/src/operationsInterfaces/topology.ts +4 -4
- package/src/operationsInterfaces/workspaceSettings.ts +6 -6
- package/src/pagingHelper.ts +1 -1
- package/src/securityCenter.ts +323 -201
- package/types/arm-security.d.ts +4329 -1726
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/apiCollectionGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/apiCollectionGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/apiCollectionGetSample.js.map +0 -1
- package/dist-esm/samples-dev/apiCollectionListSample.d.ts +0 -2
- package/dist-esm/samples-dev/apiCollectionListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/apiCollectionListSample.js.map +0 -1
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/healthReportGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/healthReportGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/healthReportGetSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListConnectionStringsSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsListConnectionStringsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListConnectionStringsSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListSample.js.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListTokensSample.d.ts +0 -2
- package/dist-esm/samples-dev/ingestionSettingsListTokensSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ingestionSettingsListTokensSample.js.map +0 -1
- package/dist-esm/src/operations/aPICollection.d.ts +0 -56
- package/dist-esm/src/operations/aPICollection.d.ts.map +0 -1
- package/dist-esm/src/operations/aPICollection.js.map +0 -1
- package/dist-esm/src/operations/aPICollectionOffboarding.d.ts +0 -23
- package/dist-esm/src/operations/aPICollectionOffboarding.d.ts.map +0 -1
- package/dist-esm/src/operations/aPICollectionOffboarding.js +0 -56
- package/dist-esm/src/operations/aPICollectionOffboarding.js.map +0 -1
- package/dist-esm/src/operations/aPICollectionOnboarding.d.ts +0 -24
- package/dist-esm/src/operations/aPICollectionOnboarding.d.ts.map +0 -1
- package/dist-esm/src/operations/aPICollectionOnboarding.js +0 -58
- package/dist-esm/src/operations/aPICollectionOnboarding.js.map +0 -1
- package/dist-esm/src/operations/healthReportOperations.d.ts +0 -20
- package/dist-esm/src/operations/healthReportOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/healthReportOperations.js +0 -52
- package/dist-esm/src/operations/healthReportOperations.js.map +0 -1
- package/dist-esm/src/operations/ingestionSettings.d.ts +0 -68
- package/dist-esm/src/operations/ingestionSettings.d.ts.map +0 -1
- package/dist-esm/src/operations/ingestionSettings.js +0 -282
- package/dist-esm/src/operations/ingestionSettings.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollection.d.ts +0 -28
- package/dist-esm/src/operationsInterfaces/aPICollection.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollection.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.d.ts +0 -15
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.d.ts +0 -16
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/healthReportOperations.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/healthReportOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/healthReportOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts +0 -46
- package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/ingestionSettings.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/operations/aPICollection.ts +0 -248
- package/src/operations/aPICollectionOffboarding.ts +0 -73
- package/src/operations/aPICollectionOnboarding.ts +0 -78
- package/src/operations/healthReportOperations.ts +0 -71
- package/src/operations/ingestionSettings.ts +0 -351
- package/src/operationsInterfaces/aPICollection.ts +0 -51
- package/src/operationsInterfaces/aPICollectionOffboarding.ts +0 -28
- package/src/operationsInterfaces/aPICollectionOnboarding.ts +0 -32
- package/src/operationsInterfaces/healthReportOperations.ts +0 -27
- package/src/operationsInterfaces/ingestionSettings.ts +0 -85
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import {
|
|
4
|
-
import { SecurityCenterOptionalParams } from "./models";
|
|
3
|
+
import { Locations, Operations, Tasks, AutoProvisioningSettings, Compliances, InformationProtectionPolicies, WorkspaceSettings, AlertsSuppressionRules, Automations, RegulatoryComplianceStandards, RegulatoryComplianceControls, RegulatoryComplianceAssessments, SubAssessments, Connectors, SecurityContacts, SoftwareInventories, CustomAssessmentAutomations, CustomEntityStoreAssignments, MdeOnboardings, GovernanceAssignments, GovernanceRules, Applications, ApplicationOperations, SecurityConnectorApplications, SecurityConnectorApplication, DefenderForStorage, SecurityOperators, SqlVulnerabilityAssessmentBaselineRules, SqlVulnerabilityAssessmentScans, SqlVulnerabilityAssessmentScanResults, SensitivitySettings, HealthReports, AzureDevOpsOrgs, AzureDevOpsProjects, AzureDevOpsRepos, DevOpsConfigurations, GitHubOwners, GitHubRepos, GitLabGroups, GitLabSubgroups, GitLabProjects, DevOpsOperationResults, SecurityConnectors, ComplianceResults, AdvancedThreatProtection, DeviceSecurityGroups, IotSecuritySolutionAnalytics, IotSecuritySolutionsAnalyticsAggregatedAlert, IotSecuritySolutionsAnalyticsRecommendation, IotSecuritySolution, AdaptiveNetworkHardenings, AllowedConnections, AdaptiveApplicationControls, DiscoveredSecuritySolutions, ExternalSecuritySolutions, JitNetworkAccessPolicies, SecureScores, SecureScoreControls, SecureScoreControlDefinitions, SecuritySolutions, SecuritySolutionsReferenceDataOperations, ServerVulnerabilityAssessmentOperations, Topology, AssessmentsMetadata, Assessments, Alerts, Settings, ServerVulnerabilityAssessmentsSettings, APICollections, Pricings } from "./operationsInterfaces";
|
|
4
|
+
import { SecurityCenterOptionalParams, UpdateSensitivitySettingsRequest, UpdateSensitivitySettingsOptionalParams, UpdateSensitivitySettingsResponse, GetSensitivitySettingsOptionalParams, GetSensitivitySettingsOperationResponse } from "./models";
|
|
5
5
|
export declare class SecurityCenter extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
|
-
subscriptionId
|
|
7
|
+
subscriptionId?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Initializes a new instance of the SecurityCenter class.
|
|
10
10
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -12,65 +12,87 @@ export declare class SecurityCenter extends coreClient.ServiceClient {
|
|
|
12
12
|
* @param options The parameter options
|
|
13
13
|
*/
|
|
14
14
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SecurityCenterOptionalParams);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, options?: SecurityCenterOptionalParams);
|
|
16
|
+
/**
|
|
17
|
+
* Updates data sensitivity settings for sensitive data discovery
|
|
18
|
+
* @param sensitivitySettings The data sensitivity settings to update
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
updateSensitivitySettings(sensitivitySettings: UpdateSensitivitySettingsRequest, options?: UpdateSensitivitySettingsOptionalParams): Promise<UpdateSensitivitySettingsResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Gets data sensitivity settings for sensitive data discovery
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
getSensitivitySettings(options?: GetSensitivitySettingsOptionalParams): Promise<GetSensitivitySettingsOperationResponse>;
|
|
26
27
|
locations: Locations;
|
|
27
28
|
operations: Operations;
|
|
28
29
|
tasks: Tasks;
|
|
29
30
|
autoProvisioningSettings: AutoProvisioningSettings;
|
|
30
31
|
compliances: Compliances;
|
|
31
32
|
informationProtectionPolicies: InformationProtectionPolicies;
|
|
32
|
-
securityContacts: SecurityContacts;
|
|
33
33
|
workspaceSettings: WorkspaceSettings;
|
|
34
|
+
alertsSuppressionRules: AlertsSuppressionRules;
|
|
35
|
+
automations: Automations;
|
|
34
36
|
regulatoryComplianceStandards: RegulatoryComplianceStandards;
|
|
35
37
|
regulatoryComplianceControls: RegulatoryComplianceControls;
|
|
36
38
|
regulatoryComplianceAssessments: RegulatoryComplianceAssessments;
|
|
37
39
|
subAssessments: SubAssessments;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
connectors: Connectors;
|
|
41
|
+
securityContacts: SecurityContacts;
|
|
42
|
+
softwareInventories: SoftwareInventories;
|
|
43
|
+
customAssessmentAutomations: CustomAssessmentAutomations;
|
|
44
|
+
customEntityStoreAssignments: CustomEntityStoreAssignments;
|
|
45
|
+
mdeOnboardings: MdeOnboardings;
|
|
46
|
+
governanceAssignments: GovernanceAssignments;
|
|
47
|
+
governanceRules: GovernanceRules;
|
|
48
|
+
applications: Applications;
|
|
49
|
+
applicationOperations: ApplicationOperations;
|
|
50
|
+
securityConnectorApplications: SecurityConnectorApplications;
|
|
51
|
+
securityConnectorApplication: SecurityConnectorApplication;
|
|
52
|
+
defenderForStorage: DefenderForStorage;
|
|
53
|
+
securityOperators: SecurityOperators;
|
|
54
|
+
sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;
|
|
55
|
+
sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;
|
|
56
|
+
sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;
|
|
57
|
+
sensitivitySettings: SensitivitySettings;
|
|
58
|
+
healthReports: HealthReports;
|
|
59
|
+
azureDevOpsOrgs: AzureDevOpsOrgs;
|
|
60
|
+
azureDevOpsProjects: AzureDevOpsProjects;
|
|
61
|
+
azureDevOpsRepos: AzureDevOpsRepos;
|
|
62
|
+
devOpsConfigurations: DevOpsConfigurations;
|
|
63
|
+
gitHubOwners: GitHubOwners;
|
|
64
|
+
gitHubRepos: GitHubRepos;
|
|
65
|
+
gitLabGroups: GitLabGroups;
|
|
66
|
+
gitLabSubgroups: GitLabSubgroups;
|
|
67
|
+
gitLabProjects: GitLabProjects;
|
|
68
|
+
devOpsOperationResults: DevOpsOperationResults;
|
|
69
|
+
securityConnectors: SecurityConnectors;
|
|
70
|
+
complianceResults: ComplianceResults;
|
|
71
|
+
advancedThreatProtection: AdvancedThreatProtection;
|
|
72
|
+
deviceSecurityGroups: DeviceSecurityGroups;
|
|
73
|
+
iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;
|
|
74
|
+
iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;
|
|
75
|
+
iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;
|
|
76
|
+
iotSecuritySolution: IotSecuritySolution;
|
|
44
77
|
adaptiveNetworkHardenings: AdaptiveNetworkHardenings;
|
|
45
78
|
allowedConnections: AllowedConnections;
|
|
46
|
-
|
|
47
|
-
jitNetworkAccessPolicies: JitNetworkAccessPolicies;
|
|
79
|
+
adaptiveApplicationControls: AdaptiveApplicationControls;
|
|
48
80
|
discoveredSecuritySolutions: DiscoveredSecuritySolutions;
|
|
49
|
-
securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;
|
|
50
81
|
externalSecuritySolutions: ExternalSecuritySolutions;
|
|
82
|
+
jitNetworkAccessPolicies: JitNetworkAccessPolicies;
|
|
51
83
|
secureScores: SecureScores;
|
|
52
84
|
secureScoreControls: SecureScoreControls;
|
|
53
85
|
secureScoreControlDefinitions: SecureScoreControlDefinitions;
|
|
54
86
|
securitySolutions: SecuritySolutions;
|
|
55
|
-
|
|
87
|
+
securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;
|
|
88
|
+
serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;
|
|
89
|
+
topology: Topology;
|
|
90
|
+
assessmentsMetadata: AssessmentsMetadata;
|
|
91
|
+
assessments: Assessments;
|
|
56
92
|
alerts: Alerts;
|
|
57
93
|
settings: Settings;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
governanceRules: GovernanceRules;
|
|
62
|
-
governanceAssignments: GovernanceAssignments;
|
|
63
|
-
applications: Applications;
|
|
64
|
-
applicationOperations: ApplicationOperations;
|
|
65
|
-
securityConnectorApplications: SecurityConnectorApplications;
|
|
66
|
-
securityConnectorApplication: SecurityConnectorApplication;
|
|
67
|
-
aPICollection: APICollection;
|
|
68
|
-
aPICollectionOnboarding: APICollectionOnboarding;
|
|
69
|
-
aPICollectionOffboarding: APICollectionOffboarding;
|
|
70
|
-
healthReports: HealthReports;
|
|
71
|
-
healthReportOperations: HealthReportOperations;
|
|
72
|
-
sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;
|
|
73
|
-
sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;
|
|
74
|
-
sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;
|
|
94
|
+
serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;
|
|
95
|
+
aPICollections: APICollections;
|
|
96
|
+
pricings: Pricings;
|
|
75
97
|
}
|
|
76
98
|
//# sourceMappingURL=securityCenter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityCenter.d.ts","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"securityCenter.d.ts","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAyE7C,OAAO,EACL,SAAS,EACT,UAAU,EACV,KAAK,EACL,wBAAwB,EACxB,WAAW,EACX,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,+BAA+B,EAC/B,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,4BAA4B,EAC5B,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,6BAA6B,EAC7B,4BAA4B,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,uCAAuC,EACvC,+BAA+B,EAC/B,qCAAqC,EACrC,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC5B,4CAA4C,EAC5C,2CAA2C,EAC3C,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,EACxB,YAAY,EACZ,mBAAmB,EACnB,6BAA6B,EAC7B,iBAAiB,EACjB,wCAAwC,EACxC,uCAAuC,EACvC,QAAQ,EACR,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,QAAQ,EACR,sCAAsC,EACtC,cAAc,EACd,QAAQ,EACT,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAC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,EAAE,yBAAyB,CAAC;IACrD,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,uCAAuC,EAAE,uCAAuC,CAAC;IACjF,QAAQ,EAAE,QAAQ,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,sCAAsC,EAAE,sCAAsC,CAAC;IAC/E,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import {
|
|
10
|
+
import { LocationsImpl, OperationsImpl, TasksImpl, AutoProvisioningSettingsImpl, CompliancesImpl, InformationProtectionPoliciesImpl, WorkspaceSettingsImpl, AlertsSuppressionRulesImpl, AutomationsImpl, RegulatoryComplianceStandardsImpl, RegulatoryComplianceControlsImpl, RegulatoryComplianceAssessmentsImpl, SubAssessmentsImpl, ConnectorsImpl, SecurityContactsImpl, SoftwareInventoriesImpl, CustomAssessmentAutomationsImpl, CustomEntityStoreAssignmentsImpl, MdeOnboardingsImpl, GovernanceAssignmentsImpl, GovernanceRulesImpl, ApplicationsImpl, ApplicationOperationsImpl, SecurityConnectorApplicationsImpl, SecurityConnectorApplicationImpl, DefenderForStorageImpl, SecurityOperatorsImpl, SqlVulnerabilityAssessmentBaselineRulesImpl, SqlVulnerabilityAssessmentScansImpl, SqlVulnerabilityAssessmentScanResultsImpl, SensitivitySettingsImpl, HealthReportsImpl, AzureDevOpsOrgsImpl, AzureDevOpsProjectsImpl, AzureDevOpsReposImpl, DevOpsConfigurationsImpl, GitHubOwnersImpl, GitHubReposImpl, GitLabGroupsImpl, GitLabSubgroupsImpl, GitLabProjectsImpl, DevOpsOperationResultsImpl, SecurityConnectorsImpl, ComplianceResultsImpl, AdvancedThreatProtectionImpl, DeviceSecurityGroupsImpl, IotSecuritySolutionAnalyticsImpl, IotSecuritySolutionsAnalyticsAggregatedAlertImpl, IotSecuritySolutionsAnalyticsRecommendationImpl, IotSecuritySolutionImpl, AdaptiveNetworkHardeningsImpl, AllowedConnectionsImpl, AdaptiveApplicationControlsImpl, DiscoveredSecuritySolutionsImpl, ExternalSecuritySolutionsImpl, JitNetworkAccessPoliciesImpl, SecureScoresImpl, SecureScoreControlsImpl, SecureScoreControlDefinitionsImpl, SecuritySolutionsImpl, SecuritySolutionsReferenceDataOperationsImpl, ServerVulnerabilityAssessmentOperationsImpl, TopologyImpl, AssessmentsMetadataImpl, AssessmentsImpl, AlertsImpl, SettingsImpl, ServerVulnerabilityAssessmentsSettingsImpl, APICollectionsImpl, PricingsImpl, } from "./operations";
|
|
11
|
+
import * as Parameters from "./models/parameters";
|
|
12
|
+
import * as Mappers from "./models/mappers";
|
|
11
13
|
export class SecurityCenter extends coreClient.ServiceClient {
|
|
12
|
-
|
|
13
|
-
* Initializes a new instance of the SecurityCenter class.
|
|
14
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
-
* @param subscriptionId Azure subscription ID
|
|
16
|
-
* @param options The parameter options
|
|
17
|
-
*/
|
|
18
|
-
constructor(credentials, subscriptionId, options) {
|
|
14
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
19
15
|
var _a, _b, _c;
|
|
20
16
|
if (credentials === undefined) {
|
|
21
17
|
throw new Error("'credentials' cannot be null");
|
|
22
18
|
}
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
let subscriptionId;
|
|
20
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
21
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
22
|
+
}
|
|
23
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
24
|
+
options = subscriptionIdOrOptions;
|
|
25
25
|
}
|
|
26
26
|
// Initializing default values for options
|
|
27
27
|
if (!options) {
|
|
@@ -29,14 +29,14 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
29
29
|
}
|
|
30
30
|
const defaults = {
|
|
31
31
|
requestContentType: "application/json; charset=utf-8",
|
|
32
|
-
credential: credentials
|
|
32
|
+
credential: credentials,
|
|
33
33
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-security/6.0.0-beta.
|
|
34
|
+
const packageDetails = `azsdk-js-arm-security/6.0.0-beta.5`;
|
|
35
35
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
36
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
37
|
: `${packageDetails}`;
|
|
38
38
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
-
userAgentPrefix
|
|
39
|
+
userAgentPrefix,
|
|
40
40
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
41
|
super(optionsWithDefaults);
|
|
42
42
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -50,80 +50,150 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
50
50
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
51
|
!bearerTokenAuthenticationPolicyFound) {
|
|
52
52
|
this.pipeline.removePolicy({
|
|
53
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
53
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
54
54
|
});
|
|
55
55
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
56
|
credential: credentials,
|
|
57
57
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
58
|
challengeCallbacks: {
|
|
59
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
-
}
|
|
59
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
60
|
+
},
|
|
61
61
|
}));
|
|
62
62
|
}
|
|
63
63
|
// Parameter assignments
|
|
64
64
|
this.subscriptionId = subscriptionId;
|
|
65
65
|
// Assigning values to Constant parameters
|
|
66
66
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.mdeOnboardings = new MdeOnboardingsImpl(this);
|
|
68
|
-
this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(this);
|
|
69
|
-
this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(this);
|
|
70
|
-
this.complianceResults = new ComplianceResultsImpl(this);
|
|
71
|
-
this.pricings = new PricingsImpl(this);
|
|
72
|
-
this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);
|
|
73
|
-
this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);
|
|
74
|
-
this.iotSecuritySolution = new IotSecuritySolutionImpl(this);
|
|
75
|
-
this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(this);
|
|
76
|
-
this.iotSecuritySolutionsAnalyticsAggregatedAlert = new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);
|
|
77
|
-
this.iotSecuritySolutionsAnalyticsRecommendation = new IotSecuritySolutionsAnalyticsRecommendationImpl(this);
|
|
78
67
|
this.locations = new LocationsImpl(this);
|
|
79
68
|
this.operations = new OperationsImpl(this);
|
|
80
69
|
this.tasks = new TasksImpl(this);
|
|
81
70
|
this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);
|
|
82
71
|
this.compliances = new CompliancesImpl(this);
|
|
83
72
|
this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(this);
|
|
84
|
-
this.securityContacts = new SecurityContactsImpl(this);
|
|
85
73
|
this.workspaceSettings = new WorkspaceSettingsImpl(this);
|
|
74
|
+
this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);
|
|
75
|
+
this.automations = new AutomationsImpl(this);
|
|
86
76
|
this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(this);
|
|
87
77
|
this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(this);
|
|
88
|
-
this.regulatoryComplianceAssessments =
|
|
78
|
+
this.regulatoryComplianceAssessments =
|
|
79
|
+
new RegulatoryComplianceAssessmentsImpl(this);
|
|
89
80
|
this.subAssessments = new SubAssessmentsImpl(this);
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
81
|
+
this.connectors = new ConnectorsImpl(this);
|
|
82
|
+
this.securityContacts = new SecurityContactsImpl(this);
|
|
83
|
+
this.softwareInventories = new SoftwareInventoriesImpl(this);
|
|
84
|
+
this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(this);
|
|
85
|
+
this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(this);
|
|
86
|
+
this.mdeOnboardings = new MdeOnboardingsImpl(this);
|
|
87
|
+
this.governanceAssignments = new GovernanceAssignmentsImpl(this);
|
|
88
|
+
this.governanceRules = new GovernanceRulesImpl(this);
|
|
89
|
+
this.applications = new ApplicationsImpl(this);
|
|
90
|
+
this.applicationOperations = new ApplicationOperationsImpl(this);
|
|
91
|
+
this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(this);
|
|
92
|
+
this.securityConnectorApplication = new SecurityConnectorApplicationImpl(this);
|
|
93
|
+
this.defenderForStorage = new DefenderForStorageImpl(this);
|
|
94
|
+
this.securityOperators = new SecurityOperatorsImpl(this);
|
|
95
|
+
this.sqlVulnerabilityAssessmentBaselineRules =
|
|
96
|
+
new SqlVulnerabilityAssessmentBaselineRulesImpl(this);
|
|
97
|
+
this.sqlVulnerabilityAssessmentScans =
|
|
98
|
+
new SqlVulnerabilityAssessmentScansImpl(this);
|
|
99
|
+
this.sqlVulnerabilityAssessmentScanResults =
|
|
100
|
+
new SqlVulnerabilityAssessmentScanResultsImpl(this);
|
|
101
|
+
this.sensitivitySettings = new SensitivitySettingsImpl(this);
|
|
102
|
+
this.healthReports = new HealthReportsImpl(this);
|
|
103
|
+
this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);
|
|
104
|
+
this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);
|
|
105
|
+
this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);
|
|
106
|
+
this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);
|
|
107
|
+
this.gitHubOwners = new GitHubOwnersImpl(this);
|
|
108
|
+
this.gitHubRepos = new GitHubReposImpl(this);
|
|
109
|
+
this.gitLabGroups = new GitLabGroupsImpl(this);
|
|
110
|
+
this.gitLabSubgroups = new GitLabSubgroupsImpl(this);
|
|
111
|
+
this.gitLabProjects = new GitLabProjectsImpl(this);
|
|
112
|
+
this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);
|
|
113
|
+
this.securityConnectors = new SecurityConnectorsImpl(this);
|
|
114
|
+
this.complianceResults = new ComplianceResultsImpl(this);
|
|
115
|
+
this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);
|
|
116
|
+
this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);
|
|
117
|
+
this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(this);
|
|
118
|
+
this.iotSecuritySolutionsAnalyticsAggregatedAlert =
|
|
119
|
+
new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);
|
|
120
|
+
this.iotSecuritySolutionsAnalyticsRecommendation =
|
|
121
|
+
new IotSecuritySolutionsAnalyticsRecommendationImpl(this);
|
|
122
|
+
this.iotSecuritySolution = new IotSecuritySolutionImpl(this);
|
|
96
123
|
this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);
|
|
97
124
|
this.allowedConnections = new AllowedConnectionsImpl(this);
|
|
98
|
-
this.
|
|
99
|
-
this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);
|
|
125
|
+
this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(this);
|
|
100
126
|
this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(this);
|
|
101
|
-
this.securitySolutionsReferenceDataOperations = new SecuritySolutionsReferenceDataOperationsImpl(this);
|
|
102
127
|
this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);
|
|
128
|
+
this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);
|
|
103
129
|
this.secureScores = new SecureScoresImpl(this);
|
|
104
130
|
this.secureScoreControls = new SecureScoreControlsImpl(this);
|
|
105
131
|
this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(this);
|
|
106
132
|
this.securitySolutions = new SecuritySolutionsImpl(this);
|
|
107
|
-
this.
|
|
133
|
+
this.securitySolutionsReferenceDataOperations =
|
|
134
|
+
new SecuritySolutionsReferenceDataOperationsImpl(this);
|
|
135
|
+
this.serverVulnerabilityAssessmentOperations =
|
|
136
|
+
new ServerVulnerabilityAssessmentOperationsImpl(this);
|
|
137
|
+
this.topology = new TopologyImpl(this);
|
|
138
|
+
this.assessmentsMetadata = new AssessmentsMetadataImpl(this);
|
|
139
|
+
this.assessments = new AssessmentsImpl(this);
|
|
108
140
|
this.alerts = new AlertsImpl(this);
|
|
109
141
|
this.settings = new SettingsImpl(this);
|
|
110
|
-
this.
|
|
111
|
-
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
this.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
142
|
+
this.serverVulnerabilityAssessmentsSettings =
|
|
143
|
+
new ServerVulnerabilityAssessmentsSettingsImpl(this);
|
|
144
|
+
this.aPICollections = new APICollectionsImpl(this);
|
|
145
|
+
this.pricings = new PricingsImpl(this);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Updates data sensitivity settings for sensitive data discovery
|
|
149
|
+
* @param sensitivitySettings The data sensitivity settings to update
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
updateSensitivitySettings(sensitivitySettings, options) {
|
|
153
|
+
return this.sendOperationRequest({ sensitivitySettings, options }, updateSensitivitySettingsOperationSpec);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Gets data sensitivity settings for sensitive data discovery
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
getSensitivitySettings(options) {
|
|
160
|
+
return this.sendOperationRequest({ options }, getSensitivitySettingsOperationSpec);
|
|
127
161
|
}
|
|
128
162
|
}
|
|
163
|
+
// Operation Specifications
|
|
164
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
165
|
+
const updateSensitivitySettingsOperationSpec = {
|
|
166
|
+
path: "/providers/Microsoft.Security/sensitivitySettings/current",
|
|
167
|
+
httpMethod: "PUT",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.GetSensitivitySettingsResponse,
|
|
171
|
+
},
|
|
172
|
+
default: {
|
|
173
|
+
bodyMapper: Mappers.CloudError,
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
requestBody: Parameters.sensitivitySettings,
|
|
177
|
+
queryParameters: [Parameters.apiVersion13],
|
|
178
|
+
urlParameters: [Parameters.$host],
|
|
179
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
180
|
+
mediaType: "json",
|
|
181
|
+
serializer,
|
|
182
|
+
};
|
|
183
|
+
const getSensitivitySettingsOperationSpec = {
|
|
184
|
+
path: "/providers/Microsoft.Security/sensitivitySettings/current",
|
|
185
|
+
httpMethod: "GET",
|
|
186
|
+
responses: {
|
|
187
|
+
200: {
|
|
188
|
+
bodyMapper: Mappers.GetSensitivitySettingsResponse,
|
|
189
|
+
},
|
|
190
|
+
default: {
|
|
191
|
+
bodyMapper: Mappers.CloudError,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
queryParameters: [Parameters.apiVersion13],
|
|
195
|
+
urlParameters: [Parameters.$host],
|
|
196
|
+
headerParameters: [Parameters.accept],
|
|
197
|
+
serializer,
|
|
198
|
+
};
|
|
129
199
|
//# sourceMappingURL=securityCenter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,+BAA+B,EAC/B,gCAAgC,EAChC,
|
|
1
|
+
{"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,iCAAiC,EACjC,gC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,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { NoOpCredential } from "@azure-tools/test-credential";
|
|
2
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
1
3
|
export declare const testPollingOptions: {
|
|
2
4
|
updateIntervalInMs: number | undefined;
|
|
3
5
|
};
|
|
6
|
+
export declare function createTestCredential(): DefaultAzureCredential | NoOpCredential;
|
|
4
7
|
//# sourceMappingURL=security_examples.spec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security_examples.spec.d.ts","sourceRoot":"","sources":["../../test/security_examples.spec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"security_examples.spec.d.ts","sourceRoot":"","sources":["../../test/security_examples.spec.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAK9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAczD,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAEF,wBAAgB,oBAAoB,4CAMnC"}
|
|
@@ -7,21 +7,28 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncValues, __awaiter } from "tslib";
|
|
9
9
|
import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
|
|
10
|
-
import {
|
|
10
|
+
import { NoOpCredential } from "@azure-tools/test-credential";
|
|
11
11
|
import { assert } from "chai";
|
|
12
12
|
import { SecurityCenter } from "../src/securityCenter";
|
|
13
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
14
|
const replaceableVariables = {
|
|
14
|
-
AZURE_CLIENT_ID: "azure_client_id",
|
|
15
|
-
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
16
|
-
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
17
15
|
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
18
16
|
};
|
|
19
17
|
const recorderOptions = {
|
|
20
|
-
envSetupForPlayback: replaceableVariables
|
|
18
|
+
envSetupForPlayback: replaceableVariables,
|
|
19
|
+
removeCentralSanitizers: [
|
|
20
|
+
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
|
|
21
|
+
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
|
|
22
|
+
],
|
|
21
23
|
};
|
|
22
24
|
export const testPollingOptions = {
|
|
23
25
|
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
|
|
24
26
|
};
|
|
27
|
+
export function createTestCredential() {
|
|
28
|
+
return isPlaybackMode()
|
|
29
|
+
? new NoOpCredential()
|
|
30
|
+
: new DefaultAzureCredential();
|
|
31
|
+
}
|
|
25
32
|
describe("security test", () => {
|
|
26
33
|
let recorder;
|
|
27
34
|
let subscriptionId;
|
|
@@ -42,7 +49,12 @@ describe("security test", () => {
|
|
|
42
49
|
resourceGroup = "myjstest";
|
|
43
50
|
securityContactName = "default";
|
|
44
51
|
securityContact = {
|
|
45
|
-
|
|
52
|
+
notificationsSources: [
|
|
53
|
+
{
|
|
54
|
+
minimalSeverity: "Low",
|
|
55
|
+
sourceType: "Alert"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
46
58
|
emails: "john@contoso.com;jane@contoso.com",
|
|
47
59
|
notificationsByRole: { roles: ["Owner"], state: "On" },
|
|
48
60
|
phone: "+214-2754038"
|
|
@@ -67,20 +79,22 @@ describe("security test", () => {
|
|
|
67
79
|
});
|
|
68
80
|
});
|
|
69
81
|
it("SecurityContact list test", function () {
|
|
70
|
-
var e_1, _a;
|
|
71
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
var _a, e_1, _b, _c;
|
|
72
84
|
const resArray = new Array();
|
|
73
85
|
const res = client.securityContacts.list();
|
|
74
86
|
try {
|
|
75
|
-
for (var
|
|
76
|
-
|
|
87
|
+
for (var _d = true, _e = __asyncValues(res.byPage()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
88
|
+
_c = _f.value;
|
|
89
|
+
_d = false;
|
|
90
|
+
let item = _c;
|
|
77
91
|
resArray.push(item);
|
|
78
92
|
}
|
|
79
93
|
}
|
|
80
94
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
95
|
finally {
|
|
82
96
|
try {
|
|
83
|
-
if (
|
|
97
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
84
98
|
}
|
|
85
99
|
finally { if (e_1) throw e_1.error; }
|
|
86
100
|
}
|
|
@@ -88,20 +102,22 @@ describe("security test", () => {
|
|
|
88
102
|
});
|
|
89
103
|
});
|
|
90
104
|
it("SecurityContact delete test", function () {
|
|
91
|
-
var e_2, _a;
|
|
92
105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
var _a, e_2, _b, _c;
|
|
93
107
|
const resArray = new Array();
|
|
94
108
|
const res = yield client.securityContacts.delete(securityContactName);
|
|
95
109
|
try {
|
|
96
|
-
for (var
|
|
97
|
-
|
|
110
|
+
for (var _d = true, _e = __asyncValues(client.securityContacts.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
111
|
+
_c = _f.value;
|
|
112
|
+
_d = false;
|
|
113
|
+
let item = _c;
|
|
98
114
|
resArray.push(item);
|
|
99
115
|
}
|
|
100
116
|
}
|
|
101
117
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
102
118
|
finally {
|
|
103
119
|
try {
|
|
104
|
-
if (
|
|
120
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
105
121
|
}
|
|
106
122
|
finally { if (e_2) throw e_2.error; }
|
|
107
123
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security_examples.spec.js","sourceRoot":"","sources":["../../test/security_examples.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"security_examples.spec.js","sourceRoot":"","sources":["../../test/security_examples.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;IACzC,uBAAuB,EAAE;QACvB,WAAW,EAAE,kFAAkF;QAC/F,WAAW,EAAE,gFAAgF;KAC9F;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAEF,MAAM,UAAU,oBAAoB;IACl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