From 6c0c4a32da8d5365142c116b8305fd79568d555f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 8 Feb 2024 16:58:06 +0000 Subject: [PATCH] CodeGen from PR 27706 in Azure/azure-rest-api-specs Merge 8d1fcf4e871ea551c285d4e5cb66a0aa324c2792 into 4d9124036c4efd31ff1b67bf9add98ea90e7ceae --- common/config/rush/pnpm-lock.yaml | 753 +- .../arm-securityinsight/CHANGELOG.md | 520 +- .../arm-securityinsight/LICENSE | 2 +- .../arm-securityinsight/_meta.json | 10 +- .../arm-securityinsight/package.json | 34 +- .../review/arm-securityinsight.api.md | 2013 +- .../arm-securityinsight/src/lroImpl.ts | 54 +- .../arm-securityinsight/src/models/index.ts | 3739 ++- .../arm-securityinsight/src/models/mappers.ts | 22454 +++++++++------- .../src/models/parameters.ts | 724 +- .../src/operations/actions.ts | 102 +- .../src/operations/alertRuleOperations.ts | 179 + .../src/operations/alertRuleTemplates.ts | 64 +- .../src/operations/alertRules.ts | 98 +- .../src/operations/automationRules.ts | 106 +- .../src/operations/billingStatistics.ts | 236 + .../src/operations/bookmarkOperations.ts | 21 +- .../src/operations/bookmarkRelations.ts | 106 +- .../src/operations/bookmarks.ts | 98 +- .../src/operations/contentPackage.ts | 129 + .../src/operations/contentPackages.ts | 245 + .../src/operations/contentTemplate.ts | 175 + .../src/operations/contentTemplates.ts | 209 + .../operations/dataConnectorDefinitions.ts | 343 + .../src/operations/dataConnectors.ts | 132 +- ...taConnectorsCheckRequirementsOperations.ts | 24 +- .../src/operations/domainWhois.ts | 19 +- .../src/operations/entities.ts | 161 +- .../src/operations/entitiesGetTimeline.ts | 19 +- .../src/operations/entitiesRelations.ts | 53 +- .../src/operations/entityQueries.ts | 98 +- .../src/operations/entityQueryTemplates.ts | 64 +- .../src/operations/entityRelations.ts | 19 +- .../src/operations/fileImports.ts | 160 +- .../arm-securityinsight/src/operations/get.ts | 74 + .../src/operations/getRecommendations.ts | 71 + .../getTriggeredAnalyticsRuleRuns.ts | 195 + .../src/operations/huntComments.ts | 372 + .../src/operations/huntRelations.ts | 372 + .../src/operations/hunts.ts | 333 + .../src/operations/iPGeodata.ts | 17 +- .../src/operations/incidentComments.ts | 110 +- .../src/operations/incidentRelations.ts | 106 +- .../src/operations/incidentTasks.ts | 366 + .../src/operations/incidents.ts | 193 +- .../src/operations/index.ts | 27 +- .../src/operations/metadata.ts | 119 +- .../src/operations/officeConsents.ts | 79 +- .../src/operations/operations.ts | 32 +- .../src/operations/productPackage.ts | 74 + .../src/operations/productPackages.ts | 205 + .../src/operations/productSettings.ts | 68 +- .../src/operations/productTemplate.ts | 74 + .../src/operations/productTemplates.ts | 202 + .../operations/securityMLAnalyticsSettings.ts | 103 +- .../operations/sentinelOnboardingStates.ts | 76 +- .../src/operations/sourceControlOperations.ts | 85 +- .../src/operations/sourceControls.ts | 155 +- .../operations/threatIntelligenceIndicator.ts | 168 +- .../threatIntelligenceIndicatorMetrics.ts | 22 +- .../threatIntelligenceIndicators.ts | 52 +- .../triggeredAnalyticsRuleRunOperations.ts | 76 + .../src/operations/update.ts | 178 + .../src/operations/watchlistItems.ts | 108 +- .../src/operations/watchlists.ts | 100 +- .../workspaceManagerAssignmentJobs.ts | 384 + .../operations/workspaceManagerAssignments.ts | 350 + .../workspaceManagerConfigurations.ts | 350 + .../src/operations/workspaceManagerGroups.ts | 338 + .../src/operations/workspaceManagerMembers.ts | 338 + .../src/operationsInterfaces/actions.ts | 10 +- .../alertRuleOperations.ts | 53 + .../alertRuleTemplates.ts | 6 +- .../src/operationsInterfaces/alertRules.ts | 10 +- .../operationsInterfaces/automationRules.ts | 10 +- .../operationsInterfaces/billingStatistics.ts | 44 + .../bookmarkOperations.ts | 4 +- .../operationsInterfaces/bookmarkRelations.ts | 10 +- .../src/operationsInterfaces/bookmarks.ts | 10 +- .../operationsInterfaces/contentPackage.ts | 46 + .../operationsInterfaces/contentPackages.ts | 44 + .../operationsInterfaces/contentTemplate.ts | 64 + .../operationsInterfaces/contentTemplates.ts | 29 + .../dataConnectorDefinitions.ts | 75 + .../operationsInterfaces/dataConnectors.ts | 14 +- ...taConnectorsCheckRequirementsOperations.ts | 4 +- .../src/operationsInterfaces/domainWhois.ts | 4 +- .../src/operationsInterfaces/entities.ts | 26 +- .../entitiesGetTimeline.ts | 4 +- .../operationsInterfaces/entitiesRelations.ts | 2 +- .../src/operationsInterfaces/entityQueries.ts | 10 +- .../entityQueryTemplates.ts | 6 +- .../operationsInterfaces/entityRelations.ts | 4 +- .../src/operationsInterfaces/fileImports.ts | 18 +- .../src/operationsInterfaces/get.ts | 29 + .../getRecommendations.ts | 27 + .../getTriggeredAnalyticsRuleRuns.ts | 29 + .../src/operationsInterfaces/huntComments.ts | 83 + .../src/operationsInterfaces/huntRelations.ts | 83 + .../src/operationsInterfaces/hunts.ts | 75 + .../src/operationsInterfaces/iPGeodata.ts | 2 +- .../operationsInterfaces/incidentComments.ts | 10 +- .../operationsInterfaces/incidentRelations.ts | 10 +- .../src/operationsInterfaces/incidentTasks.ts | 83 + .../src/operationsInterfaces/incidents.ts | 24 +- .../src/operationsInterfaces/index.ts | 27 +- .../src/operationsInterfaces/metadata.ts | 12 +- .../operationsInterfaces/officeConsents.ts | 8 +- .../src/operationsInterfaces/operations.ts | 2 +- .../operationsInterfaces/productPackage.ts | 29 + .../operationsInterfaces/productPackages.ts | 32 + .../operationsInterfaces/productSettings.ts | 10 +- .../operationsInterfaces/productTemplate.ts | 29 + .../operationsInterfaces/productTemplates.ts | 29 + .../securityMLAnalyticsSettings.ts | 10 +- .../sentinelOnboardingStates.ts | 10 +- .../sourceControlOperations.ts | 10 +- .../operationsInterfaces/sourceControls.ts | 32 +- .../threatIntelligenceIndicator.ts | 16 +- .../threatIntelligenceIndicatorMetrics.ts | 4 +- .../threatIntelligenceIndicators.ts | 4 +- .../triggeredAnalyticsRuleRunOperations.ts | 29 + .../src/operationsInterfaces/update.ts | 53 + .../operationsInterfaces/watchlistItems.ts | 10 +- .../src/operationsInterfaces/watchlists.ts | 10 +- .../workspaceManagerAssignmentJobs.ts | 79 + .../workspaceManagerAssignments.ts | 75 + .../workspaceManagerConfigurations.ts | 75 + .../workspaceManagerGroups.ts | 75 + .../workspaceManagerMembers.ts | 75 + .../arm-securityinsight/src/pagingHelper.ts | 2 +- .../src/securityInsights.ts | 274 +- .../arm-securityinsight/test/sampleTest.ts | 43 + .../arm-securityinsight/tsconfig.json | 10 +- 134 files changed, 29071 insertions(+), 12100 deletions(-) create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/alertRuleOperations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/billingStatistics.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/contentPackage.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/contentPackages.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/contentTemplate.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/contentTemplates.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorDefinitions.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/get.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/getRecommendations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/getTriggeredAnalyticsRuleRuns.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/huntComments.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/huntRelations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/hunts.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/incidentTasks.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/productPackage.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/productPackages.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/productTemplate.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/productTemplates.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/triggeredAnalyticsRuleRunOperations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/update.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignmentJobs.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignments.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerConfigurations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerGroups.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerMembers.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleOperations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/billingStatistics.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackage.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackages.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplate.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplates.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorDefinitions.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/get.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getRecommendations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getTriggeredAnalyticsRuleRuns.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntComments.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntRelations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/hunts.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentTasks.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackage.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackages.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplate.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplates.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/triggeredAnalyticsRuleRunOperations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/update.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignmentJobs.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignments.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerConfigurations.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerGroups.ts create mode 100644 sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerMembers.ts create mode 100644 sdk/securityinsight/arm-securityinsight/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 80c435110fd4..5913ba2b1efe 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10203,7 +10203,7 @@ packages: dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-2/wrw99JB2E8EA/YOzTM6XFxWrQ3iZ6Tx/mTbs4rqv/VVAhE+HWlk0NfSWACrrnhO8eDVhij7n38NDae5aFHFQ==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-Svy9M0FMqKjG+/dp40NjOggL4xnATYP3XS0gR+YKpuDM6yc+pmhGA3ryAE3WFsO6Bb5ZxEmk+NzFc/y9n//nFA==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: @@ -10239,7 +10239,7 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-ZZvqjOlpEd2fnV0IIDra5XYUjjzWPt1vV16/dRLGH+0kYslyXLqtL++Mv3w3BOmL6LvrVJV3qiKE/pLMogQpbQ==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-xblXKiJLoPfInpoI7+rp87tCYM+5RwTamtulZ/RIo406Bn23aE3/p/vVRyP3LL2i4Ueh54GFdagp65nbkCIzNQ==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: @@ -10283,7 +10283,7 @@ packages: dev: false file:projects/ai-anomaly-detector.tgz: - resolution: {integrity: sha512-2aWj3xi+7fI6LpijLLpee4BX8ScaqT32AO2tnn+p15vqU3C/xa+rHQwW9idjEkRG8Pf7bbCeKsXtJP100AoXYw==, tarball: file:projects/ai-anomaly-detector.tgz} + resolution: {integrity: sha512-xoV3PT4s8eI7WiiYm26kavMck5StBN0Yy7bWMibOaKEKvRDAblZSuwUhvOkyAABHUiskdWcy3qgmJyreeaCb/g==, tarball: file:projects/ai-anomaly-detector.tgz} name: '@rush-temp/ai-anomaly-detector' version: 0.0.0 dependencies: @@ -10327,7 +10327,7 @@ packages: dev: false file:projects/ai-content-safety.tgz: - resolution: {integrity: sha512-6lwZLHLgH7pSNwF2YBkR18lySMvokaRLXby1EOj1ARxHwO1txv3VJzB4MkbITljyQAwwf0LBy7FZWGq++7wHKQ==, tarball: file:projects/ai-content-safety.tgz} + resolution: {integrity: sha512-pKa4o99jHH5JO9Y0rzBJC9xekW78nEjxZ549EGZAum2Ro6+cUR3x3l/EGL5Re5dHyhfljfxpX2MYvNFIBAMvkw==, tarball: file:projects/ai-content-safety.tgz} name: '@rush-temp/ai-content-safety' version: 0.0.0 dependencies: @@ -10370,7 +10370,7 @@ packages: dev: false file:projects/ai-document-intelligence.tgz: - resolution: {integrity: sha512-DdjVQebXKn4U1Reqk3syHnKRwpGegzt9ikGTcdvuvM8ZjfaEFa8qiKCi7ibwnDoJ5RT8HBlOQDseoVsakxkhgQ==, tarball: file:projects/ai-document-intelligence.tgz} + resolution: {integrity: sha512-YX2Q4l7UYgEJqc+Iehkt0iXx5vLy+tjwvirLgM20nUoQeFi4e0zVHdRdZsZGcMMBSkMRa33eddAnEVdDsh7woQ==, tarball: file:projects/ai-document-intelligence.tgz} name: '@rush-temp/ai-document-intelligence' version: 0.0.0 dependencies: @@ -10414,7 +10414,7 @@ packages: dev: false file:projects/ai-document-translator.tgz: - resolution: {integrity: sha512-v2M0KrmFdh+BSh3lRrilotWweE7d/ZdVJAMe+giEqLsqLsdkncgWcit+KyeoiAGuydcjB2K5cXUodFwhlFdtOw==, tarball: file:projects/ai-document-translator.tgz} + resolution: {integrity: sha512-wMVWCUT5DlCcEDXrrGDlBqHuUOHwIiUTs70/YcajBvYAiK0OdpB72xdKuOBh9kwouETwHPSgr/sJcBxvk4USFQ==, tarball: file:projects/ai-document-translator.tgz} name: '@rush-temp/ai-document-translator' version: 0.0.0 dependencies: @@ -10457,7 +10457,7 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-g9v1BulTnEQFBoXJ8qwKsKd4fEo+WalQJoc2XeoOWVRJbT6oQZIn219SwcXImrOGf4SBTW3kOuJyysz05xelPQ==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-9GfjtTHJYjnM4uRFEii4AJHK/VjK/BxaLmVugRpSyVGJQ+0szyX/f4Ng0ra2H8zgfVTgvyhCnluO81FCSAzPAg==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: @@ -10504,7 +10504,7 @@ packages: dev: false file:projects/ai-language-conversations.tgz: - resolution: {integrity: sha512-J1hgfAx4P3Rk0o+mIjwUR4zdimSOVxAmZsogRgUqpJv7o/PUxgbyJWeasbNmFnlGkqgUusy+qZIONfs53m5L4w==, tarball: file:projects/ai-language-conversations.tgz} + resolution: {integrity: sha512-5yWkqExJJIcymtloJsjc1SIWOYA1eaW4esay0juHyGKuO3q1d+TvqpjJ1LjbITzoyaoG8LGBzk2kONvXuIFVtw==, tarball: file:projects/ai-language-conversations.tgz} name: '@rush-temp/ai-language-conversations' version: 0.0.0 dependencies: @@ -10552,7 +10552,7 @@ packages: dev: false file:projects/ai-language-text.tgz: - resolution: {integrity: sha512-A0zq1lpn6jpQdaD4COXDcR9QgoNocrr6hUN55M6r8FAEgbej2gxqL2o6kWFc3NzVra5tL93DvqwulMD4h4N1oQ==, tarball: file:projects/ai-language-text.tgz} + resolution: {integrity: sha512-TqxJeTAJuKI9Y2+npzD7wyw+0x2Mxby14Q/p4ahe7PE+2Etb5qi7XPUEhkYDE71pQSFRqMANO6dv9/50+70I8A==, tarball: file:projects/ai-language-text.tgz} name: '@rush-temp/ai-language-text' version: 0.0.0 dependencies: @@ -10599,7 +10599,7 @@ packages: dev: false file:projects/ai-language-textauthoring.tgz: - resolution: {integrity: sha512-ZDkawf4EuEuRmsk/wUpaHiTd26gPPsXwYXZZzByANibPIwh2JkEuRqJtUok6saaosPnvsWQEQlpbokR/Fl6hlA==, tarball: file:projects/ai-language-textauthoring.tgz} + resolution: {integrity: sha512-GlFhMVA50HcKM+mOPecjIpd2ctfZsLd5PfdqA6sp5A4rlw2gp0i9lwEWuU/2xueVefwV6Y8Ukj3/Fzt+0RzQtA==, tarball: file:projects/ai-language-textauthoring.tgz} name: '@rush-temp/ai-language-textauthoring' version: 0.0.0 dependencies: @@ -10624,7 +10624,7 @@ packages: dev: false file:projects/ai-metrics-advisor.tgz: - resolution: {integrity: sha512-wJv8R7RcLcMrq15wJD+LJomacIJjSNUBIdEvZ7G8ZV8OfyQrkJJ7tuTUJrCFbWcmNXEIp7kdzRYcoHhPK7PYnA==, tarball: file:projects/ai-metrics-advisor.tgz} + resolution: {integrity: sha512-rnjjNq7AU+RNzBgQmkF9tV+Jv5W9cc2nJmAJAHNzWbhaV0ItyfKw3331FS8JhNKaR77ZHKnAnJjJzt9gJhEnww==, tarball: file:projects/ai-metrics-advisor.tgz} name: '@rush-temp/ai-metrics-advisor' version: 0.0.0 dependencies: @@ -10667,7 +10667,7 @@ packages: dev: false file:projects/ai-personalizer.tgz: - resolution: {integrity: sha512-k+4RG6RH1T6ayKEces9I9VXNPg5eJllNy/LexbAs5zWX8qB1bwNHvuvqAqKOA9yg+b5QHb4+5lr9FJGuwMVcyg==, tarball: file:projects/ai-personalizer.tgz} + resolution: {integrity: sha512-qfFGBHcV7TnU6kn3D0oTU7Fb0UlzPlKggI8xG5SwRQj8MlmQaWck+YGR8XULb1BwE8hyR4dRViUE2vR81aZPzg==, tarball: file:projects/ai-personalizer.tgz} name: '@rush-temp/ai-personalizer' version: 0.0.0 dependencies: @@ -10710,7 +10710,7 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-72WE/GNsNJ+i0CkmNwaP5pNToaI4zIWVfbDw1Oi9O5i9kIJ0yPG10f5gQj5n1+zG/I25NquUPoBq9nLxrzrMAw==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-ktXFx9tZbxOtagzP4k7j330z+L1nhZt5IjjRu/T4BAZ4syQYm284D7M3iF3o2Evs9vae845/WcpJYuRj+H5gjA==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: @@ -10756,7 +10756,7 @@ packages: dev: false file:projects/ai-translation-text.tgz: - resolution: {integrity: sha512-SkWWyjIP87Yjqj9QlMUC6K7sbYpkjt9mb+v1vbGWMgtinKZcLSsu3QIB8wqyDdGSHROBTxhsXOynzFiMtan7mQ==, tarball: file:projects/ai-translation-text.tgz} + resolution: {integrity: sha512-EdrExW2tRiAASULLDhR3NC6ZHYKAmFFwh2aTAoCyEsOystFP7p+CtKISPjCn3FUltwGidyR8BlqHus3oTgrqFA==, tarball: file:projects/ai-translation-text.tgz} name: '@rush-temp/ai-translation-text' version: 0.0.0 dependencies: @@ -10799,7 +10799,7 @@ packages: dev: false file:projects/ai-vision-image-analysis.tgz: - resolution: {integrity: sha512-tKgHLBvnEh7Q9FyyOC6WnpAFb4NJxOK2LFfaAWiZSEVwi1vlfkdAckelu0lPxqSiY7rwllrC8VsBGAWcQ415/Q==, tarball: file:projects/ai-vision-image-analysis.tgz} + resolution: {integrity: sha512-BTGRoZOmU+cmrNgx8b5wgrZ3PqbiO0rSQ+8jGNwVZP6TUcBN1Ne9nYHnIQxZCaGB2vf+4uKJ6NCMCw2TkLsu0Q==, tarball: file:projects/ai-vision-image-analysis.tgz} name: '@rush-temp/ai-vision-image-analysis' version: 0.0.0 dependencies: @@ -10842,7 +10842,7 @@ packages: dev: false file:projects/api-management-custom-widgets-scaffolder.tgz: - resolution: {integrity: sha512-dDM6J8kGhMnmFDFKOWnmQtVZ4Z28iC80dYKZFNbU/re7TKwc5VFHe/n1EwHeYioCrkPr115WxIW1cS8+pZklTA==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} + resolution: {integrity: sha512-IOB44Qkj/QwsygKei6+14Bk+LUAKntlDnZmvUv2txin2W210eBIISvup+sQUAVPoj8J1dBqPV/j6Z9//Z7RQiA==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} name: '@rush-temp/api-management-custom-widgets-scaffolder' version: 0.0.0 dependencies: @@ -10884,7 +10884,7 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-N1vVkFhj3U7zL2bANGhQewhsO0FSoAqhDS4Ph/28ElvO+qACivERBQgG+0m8eF74bzwNVYdHEOnt6HAFUTN2bw==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-eGm5JhDi7IjhvZu7ze8lUCwPXBya4+pcsSxI+obrhBt3JYcMVXQqNLCkG3siyPDjaIJaWNi8e4vt3CnbweEQbw==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: @@ -10935,7 +10935,7 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-FPbz3Hg7lZ2FEmtfj9z17mHC2PPMiboExhsqSoLYUQNg1xchG0sfIgeevVwdQZe3yGlbpdic6boGxZpPgmBXww==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-nAY0Mep7feLxaLfbjolGWjDMd2jWsUZI4jHweXO+f9CBbDgsjAJUyNMob4xssr+NQj3kDdTr24blzw5RRrR0RA==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: @@ -10980,7 +10980,7 @@ packages: dev: false file:projects/arm-advisor.tgz: - resolution: {integrity: sha512-09MLaTmFw8RhGP5NqeNgT97zAZpWQCK3HEkd3UuOEnKs+rMKELYn7xtyJ0xBqZQAy0d7iBZFawoqoDxqwPdteQ==, tarball: file:projects/arm-advisor.tgz} + resolution: {integrity: sha512-IPkqDGEuzwUXafkOi7N8Hi8LAly29/dX702pRHr9bgyQj3F1y4mYVk8kHGtilIGkkHemEiWlaglAcrZsSHf0fg==, tarball: file:projects/arm-advisor.tgz} name: '@rush-temp/arm-advisor' version: 0.0.0 dependencies: @@ -11006,7 +11006,7 @@ packages: dev: false file:projects/arm-agrifood.tgz: - resolution: {integrity: sha512-LTEdeV/CpOBadGGP2hm2/FutL3xYSk8QPbJrZaS5gIOnFkVjbmfHhmg8qXahhLnlZIkpjkZBg/kGhrTOMv0lzg==, tarball: file:projects/arm-agrifood.tgz} + resolution: {integrity: sha512-i+E1EWSRQ7TSg4DChMycTn5x0oXnU4d6W0/VJFcpXcK1UPJp/FbW/8byKRX9vkHtWJrOmwttulWBs6ieOg8E4A==, tarball: file:projects/arm-agrifood.tgz} name: '@rush-temp/arm-agrifood' version: 0.0.0 dependencies: @@ -11032,7 +11032,7 @@ packages: dev: false file:projects/arm-analysisservices.tgz: - resolution: {integrity: sha512-9EHPNEkYGnXrh8yxlnLCwVoUDwOBFvx2UVsIWQVkAm7cetEz6mrBJRC3zioPfxXlQdEt7sVDAHaIXYD1ylGLmw==, tarball: file:projects/arm-analysisservices.tgz} + resolution: {integrity: sha512-Pk1fOAWthJdOpVNShlAS7bHscn7PlR5G278XTqplsTmcaDvNd7oJYNd08t03eqIEpkle1Ct6LZrkmTYTt2I1eA==, tarball: file:projects/arm-analysisservices.tgz} name: '@rush-temp/arm-analysisservices' version: 0.0.0 dependencies: @@ -11058,7 +11058,7 @@ packages: dev: false file:projects/arm-apicenter.tgz: - resolution: {integrity: sha512-RbDvzljuHag9yvSF1KJ8xOkCdUA/tHuEb8mzOeYG6jpNNYDqHcHTys3rOKmqECnf5wF+n0J5r70lY5eUOHxpMA==, tarball: file:projects/arm-apicenter.tgz} + resolution: {integrity: sha512-gfeidrvoLbc6/pKX5cV8vrTAEYAE+K16juwMudvGfHFzW19n1nIl58GZRGt/mXIX1aeTsqq16FHPnY0AUHNQbA==, tarball: file:projects/arm-apicenter.tgz} name: '@rush-temp/arm-apicenter' version: 0.0.0 dependencies: @@ -11081,7 +11081,7 @@ packages: dev: false file:projects/arm-apimanagement.tgz: - resolution: {integrity: sha512-mHzxSD7zF8/ybs6fXPT7kKad+waoy6rMySo+TCWlETvWOB3yez5K8FsFlA1HXRehAnYNP293npIkx1iou9zDqA==, tarball: file:projects/arm-apimanagement.tgz} + resolution: {integrity: sha512-l779Q4hwQZaoK4XHGjZlrJWfHc7CgZL9RIDpxRx7WmUCgJZbdJnpgirEMaSCgFTAtiJjkibu8WtZF6ByQbwLFQ==, tarball: file:projects/arm-apimanagement.tgz} name: '@rush-temp/arm-apimanagement' version: 0.0.0 dependencies: @@ -11108,7 +11108,7 @@ packages: dev: false file:projects/arm-appcomplianceautomation.tgz: - resolution: {integrity: sha512-zpa0FoXBJ/oTG/5JnK8XikkN+XN2brURu9B6zHbtnnmGPQGdrscOQyjbn7uEdI82Kft/75kjTp0IZ027bOK3dg==, tarball: file:projects/arm-appcomplianceautomation.tgz} + resolution: {integrity: sha512-zKHgh/R25ikzSCWLc9zqBJzdgP5cr+JJ+ExUtjtkgIxZKn/lmDzvcs/cbOb7KdG9Id1G/jescMNBYgPk7ayXaA==, tarball: file:projects/arm-appcomplianceautomation.tgz} name: '@rush-temp/arm-appcomplianceautomation' version: 0.0.0 dependencies: @@ -11134,7 +11134,7 @@ packages: dev: false file:projects/arm-appconfiguration.tgz: - resolution: {integrity: sha512-1GMIgq4WTmRkVgsL5uzCbM/nDcPJJLvqAZR7CdfYxcBqIbWvgZYNDCw6lOpvV6IAkpv2AChQVyjCr19kEZixwg==, tarball: file:projects/arm-appconfiguration.tgz} + resolution: {integrity: sha512-aHNcd5PrIzKQYqHqNR3rtLz+K6Vu0ppBtmR1N1l+E/1pTJJqEtL/Ua3BFWS0aMtzu8eEtsBbf8zs3kzY8FbT3g==, tarball: file:projects/arm-appconfiguration.tgz} name: '@rush-temp/arm-appconfiguration' version: 0.0.0 dependencies: @@ -11161,7 +11161,7 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-Y1MvlEel7bNHTmcM3b+qUPBcUe/yc+gNuCXqcFuHK9IsL1bl3e/F/mPixc+FGDuXonrenV05LQhDtp2w2qwxZQ==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-FRJ3gO/tBeuRowAtEtro6l4A14hSmQhOd+iKkNKYIK8/F0XXUkwR8rZ5lukB2JCZKvB7Z/B7am0NsaxjyY2nsg==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: @@ -11188,7 +11188,7 @@ packages: dev: false file:projects/arm-appinsights.tgz: - resolution: {integrity: sha512-TndNDrdpkVNdYRV+lLnuZAuzO72HQP9vxMEucnVQy0DtZE2mQQDFdz75Q9P46L+JBFsyAvzCwuTzSh+m038NBA==, tarball: file:projects/arm-appinsights.tgz} + resolution: {integrity: sha512-dLpt3WMxvWdT5woramXlRXCvS+BDpaecSC2G5LtH9uk741sSGcTc898nBSdvXsK6VVHHBjHgBvGiY39nedLMdw==, tarball: file:projects/arm-appinsights.tgz} name: '@rush-temp/arm-appinsights' version: 0.0.0 dependencies: @@ -11213,7 +11213,7 @@ packages: dev: false file:projects/arm-appplatform.tgz: - resolution: {integrity: sha512-+qvA56xDmFhYVyBkJSMPw5rssZ7dcUPhEsdUoENLA6hLLgauw7hoyagObPLVJrEGXNCgkABSR5V8+bTf3uWtQQ==, tarball: file:projects/arm-appplatform.tgz} + resolution: {integrity: sha512-kWl3JeqgYBz4K19XI76Pq2kdLSwC8yG+PtqruJng/HadLD47zI49erNs4te6JNytsobVRzc9GLcXwL7G1xSdPQ==, tarball: file:projects/arm-appplatform.tgz} name: '@rush-temp/arm-appplatform' version: 0.0.0 dependencies: @@ -11241,7 +11241,7 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-n9SiDwWNM6NvRyxLXP85XacmYutdry1HFVz14/Ku6TF6yvZ5/VLx9unSPUKd1kKaG/GiwcrXn4v/xlKfAqi+Wg==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-oCf1w1dQgRqUaU8CuQI+35t3/VOmv9NqUnRe4kKetJWZNDj2BsOeqOnLLewVUsYYwSCowOeX3L+zOiyxQvbpqw==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: @@ -11269,7 +11269,7 @@ packages: dev: false file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-Swoi0S7RkeSKHAWqQwDi7yFBADMFvVW5T5tD2ogIpeq2Zdrizys83Hop6hBwtLuUzv4vTclbkg+rq9NGS0T3CA==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-zX6YWPBoZYEbC04zLMY5uE6F/i6rUUDWXWAm4BDQmQqCnXKPTD6jgOVcbIylYy6mHVcWZIOsDTRNsqJ9F5/OKQ==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-appservice-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -11296,7 +11296,7 @@ packages: dev: false file:projects/arm-appservice.tgz: - resolution: {integrity: sha512-uCY364qwHM6Uw56ZknZIQ7EzaxBi6hz7ZvAMu8t65fFkeps+XGX7W175qubGYGYzVVFUAbhliY43UbPXqYokaQ==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-weuD/0IfnOu8AoWvf9qnsoXFcJVCHpDvTqpjKOk34bgxjQM+4qQwZcUGc/uUssS65mQjmkLVyx5nEKJyH784ew==, tarball: file:projects/arm-appservice.tgz} name: '@rush-temp/arm-appservice' version: 0.0.0 dependencies: @@ -11339,7 +11339,7 @@ packages: dev: false file:projects/arm-attestation.tgz: - resolution: {integrity: sha512-df5G3LKjapSmdcF1y65jUCEwloEad/ta72jwaEEfVYiD+Yw00ylcVUXEnPsu6YvFTuuUyXDLXoeisCH1eD3BYQ==, tarball: file:projects/arm-attestation.tgz} + resolution: {integrity: sha512-jrHfrdst40aDx6nTn1yByhCI5X6wmPtT4/NlgASjckFMaspptBsFeyWjkind10PRRKGFsgQPn+gjYN3O5rJsfA==, tarball: file:projects/arm-attestation.tgz} name: '@rush-temp/arm-attestation' version: 0.0.0 dependencies: @@ -11364,7 +11364,7 @@ packages: dev: false file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-dxeMqD3XffwhpArKPSoU8Wvm7xeR2sokx5IfNfdjJAk7o97GUz+p24C3vHFNxOmfDRNBSzaFvlnaA1FdfLLPwQ==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-s/Y1HIZSCi1ocS0zIkaTGJzWxx/GpmyRJzYF19wSGRhwgKhOV+3qAK3W3zpWE3HserWU6JK5NPFyJgjXXZTcEQ==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-authorization-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -11390,7 +11390,7 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-Xnk5X2hiqHWVaSFFovqc7dT0rU1p5Be/HgkKy5SX56t7wXjm8Ie4HEv9zQmnpyxO0b1HgCakTDQ+FISr0RurkQ==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-f7O0Ym9dtCb105cRS9YMAdFkxG9TjU/4fbErxoGi5PSzFF76jsB5R868rdd/WZ87Ief+QQ5urokL8jfj5NwPFA==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: @@ -11417,7 +11417,7 @@ packages: dev: false file:projects/arm-automanage.tgz: - resolution: {integrity: sha512-gjRslf7VLaKAQ+NJDSKbLAtjmKLHuyEhh6NoZIDZBy301HJ+cAMNOiXXkO3tZRlnl2CvKsKb3p8vckiYi5YFgw==, tarball: file:projects/arm-automanage.tgz} + resolution: {integrity: sha512-rXf1ha0/zGIzy+fgner/r3pCH63bu/+dxhkc1EKmBkfLAKWNqOTt8clA2okdpINVZ986+Ylz1RLTa4L0sgdmAQ==, tarball: file:projects/arm-automanage.tgz} name: '@rush-temp/arm-automanage' version: 0.0.0 dependencies: @@ -11443,7 +11443,7 @@ packages: dev: false file:projects/arm-automation.tgz: - resolution: {integrity: sha512-wV+fN19W3v6XyUn6bYgitueFJa7lHQLPvCfGHlX2yuSa3kfdRxKY4kbR0jVWM5iLQEob86i2xBaqglVhorum3A==, tarball: file:projects/arm-automation.tgz} + resolution: {integrity: sha512-ZCOx3JX6YIRflqQIcRYeku5SiPKaws4k5lxf1k6vwCUfFjDMJHYHTBIuL5EYK7PxHrfAOM2akBX9L4y3F9nj4Q==, tarball: file:projects/arm-automation.tgz} name: '@rush-temp/arm-automation' version: 0.0.0 dependencies: @@ -11470,7 +11470,7 @@ packages: dev: false file:projects/arm-avs.tgz: - resolution: {integrity: sha512-/EO1odgwZpsZ3o14wmTLEMzR/LhV51WjjhtXDbSQJjMxbjoarTNnMr96266VUt5xAznQTDtzXTuQvU1bQWLKcQ==, tarball: file:projects/arm-avs.tgz} + resolution: {integrity: sha512-mC0l1M5JyG8X+NAEIXIPZTVNqWGzoDMe6xptvvjAOJtRheqWJurDIluEbXe/LZKAfkUZ5ufbPeMcX60RLYu65w==, tarball: file:projects/arm-avs.tgz} name: '@rush-temp/arm-avs' version: 0.0.0 dependencies: @@ -11497,7 +11497,7 @@ packages: dev: false file:projects/arm-azureadexternalidentities.tgz: - resolution: {integrity: sha512-EexNjjqlbNMwftNmxIxI3UtxsuHbPEujkICf1tNJYGxj8R7QlEVCr1ZgWzjQQu+Tcq6aYOydbee65pvKKtIoqA==, tarball: file:projects/arm-azureadexternalidentities.tgz} + resolution: {integrity: sha512-U6ba9BQdhEkpw8hc0Xkl42l/eDKRaO9+VzVlDZK9BeruJ8EIsUn4GMXvQOP0luaxskWX2+rUeT5FE3awVghrHg==, tarball: file:projects/arm-azureadexternalidentities.tgz} name: '@rush-temp/arm-azureadexternalidentities' version: 0.0.0 dependencies: @@ -11523,7 +11523,7 @@ packages: dev: false file:projects/arm-azurestack.tgz: - resolution: {integrity: sha512-LxT/X9k7zQvmRG/3zxVvi2zoU703q3Ix2AFqwiPjk3G2KrKrgWLSGW6QBYpghwYYctMbvUjuklBdx0eQBbKp5A==, tarball: file:projects/arm-azurestack.tgz} + resolution: {integrity: sha512-gZj525iTS7Koyr2sZrXrw+lzeNpeXtSf04pSjNNLc+Igx8cyRJZRsA4QXUFJqX4fsQoPPOB/B4A1FnK42txFSQ==, tarball: file:projects/arm-azurestack.tgz} name: '@rush-temp/arm-azurestack' version: 0.0.0 dependencies: @@ -11548,7 +11548,7 @@ packages: dev: false file:projects/arm-azurestackhci.tgz: - resolution: {integrity: sha512-GsBAUCcQuPH/hPNL/XTrlL2Z9og7Em4vq/WV2UL54qxKYd9CPCyHr8hm30qhvLDVoe9OB6Nf5emR0FEbdpzm3A==, tarball: file:projects/arm-azurestackhci.tgz} + resolution: {integrity: sha512-wnd5b+JTHJgKEzDePeSWPoY+ff9OT9kOF8KTRhjLNDQzuXvkt6fBpQujQ2DxsPazK2eT0jC6WFff4Bn5qd67Og==, tarball: file:projects/arm-azurestackhci.tgz} name: '@rush-temp/arm-azurestackhci' version: 0.0.0 dependencies: @@ -11575,7 +11575,7 @@ packages: dev: false file:projects/arm-baremetalinfrastructure.tgz: - resolution: {integrity: sha512-KurIkPZ2lUf3lMlZ4lNcbkzxlmTtzgoENoiODXck+4dtqb1FvRFugG35AOdhIH9F+gblOhQV6faOpVq/N00bDw==, tarball: file:projects/arm-baremetalinfrastructure.tgz} + resolution: {integrity: sha512-kFoYePU/3fnaxe08ofujx8mhP9UXbkLl78TUGykAWG68KD66Q5lMFfhKxbu3tL34Q/h13YSKCqETwwHk4Yq1Kw==, tarball: file:projects/arm-baremetalinfrastructure.tgz} name: '@rush-temp/arm-baremetalinfrastructure' version: 0.0.0 dependencies: @@ -11603,7 +11603,7 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-fdcZKOWwbBbDHqIbe0j8phG0vzRbjF1ZqKG1d/9FafYnu5l3QtPaCboBY/RYlw+CRarYp9yxdFrEnM8IcrJRSQ==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-pWMLj2SwHE9cooxAADD0taGAJlO+ZNiwbqFHUrgUHzmEAg/MRGrjZrq5wnhLTaR7XBWXue7nfwdd8sN9yCV94w==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: @@ -11631,7 +11631,7 @@ packages: dev: false file:projects/arm-billing.tgz: - resolution: {integrity: sha512-UPrnogA5DcsTpIglXH2+Z4nMzK6v3KSuGt7R4IU8YgiA7CCn9iOKMCly4Y8NZOGW5ZCf6acRe9sHQllogd53DQ==, tarball: file:projects/arm-billing.tgz} + resolution: {integrity: sha512-SbR2jcSNeLxWl/9iMQyzRypzqqKPX2eV/L4yXQGE2z8A5RUZTjSHHbx8bb6aWnUByTj0SRVTgH5DahHaKsgDfw==, tarball: file:projects/arm-billing.tgz} name: '@rush-temp/arm-billing' version: 0.0.0 dependencies: @@ -11657,7 +11657,7 @@ packages: dev: false file:projects/arm-billingbenefits.tgz: - resolution: {integrity: sha512-59GOa0p4hQcra1254+5MVXdzEpSB4W7/eXoOxFTdZY8yq0UeIdWET7KcCUfal7EAAHxq30VXbpNXfu92iHRJKQ==, tarball: file:projects/arm-billingbenefits.tgz} + resolution: {integrity: sha512-+Z9mTD4fuqYAQSjTa57vhi5QZexNXh8q3Zf2cnkLERIWfAyovk07uA+vQY1tLjBO+nTf09QNxHMtgdm1IAJeTQ==, tarball: file:projects/arm-billingbenefits.tgz} name: '@rush-temp/arm-billingbenefits' version: 0.0.0 dependencies: @@ -11683,7 +11683,7 @@ packages: dev: false file:projects/arm-botservice.tgz: - resolution: {integrity: sha512-DVtMbRbbv6W1mKzZGgpkm01AMkQFEYomb7MNEhpSzfIlmJ4/yE+nS0K6UT/QPdFF9lQYgz7JapZ88/gb7GyWcg==, tarball: file:projects/arm-botservice.tgz} + resolution: {integrity: sha512-o3iEAt6z6EftW1oOfv7KB3+t9Yohwr4S1JKC7+crtDQ4ikr3zcqhwUJk2XzYtUxN2tPNqVsEuyBK94QlZaZdBA==, tarball: file:projects/arm-botservice.tgz} name: '@rush-temp/arm-botservice' version: 0.0.0 dependencies: @@ -11710,7 +11710,7 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-G2My3ELDLnMAu1hU1+U8cWflO3o4jnvXZoRl5tc7kbzjKk2/olbkV79sTEHsFWDzn6B6OWtXCE422YKUD89Vrw==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-hdoZpJkxaB/yaRxVRdvNAraroDsYzLyO+glVTjNQ1AMaxOmTBt/Lh7QGjbqRlOLViXBCom9kBxoJ8L3NHTqfMw==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: @@ -11737,7 +11737,7 @@ packages: dev: false file:projects/arm-changeanalysis.tgz: - resolution: {integrity: sha512-lCQZXDVTk164yKCdYOWR7X4KQ2psSn+l0gnCzS89EAfp5OXFJu6x5G/OKxZor/jXDAKl/EA64mYYv2DkIFenSw==, tarball: file:projects/arm-changeanalysis.tgz} + resolution: {integrity: sha512-hezGt6l52k5uIqnr5pgsOArPiBQSAhzcI7otfMIas6L8Oc44INoCc9lnPIzzsxQHdegZY2s98qeSRy/tW5FFtg==, tarball: file:projects/arm-changeanalysis.tgz} name: '@rush-temp/arm-changeanalysis' version: 0.0.0 dependencies: @@ -11762,7 +11762,7 @@ packages: dev: false file:projects/arm-changes.tgz: - resolution: {integrity: sha512-cOy72gYAusLs5CaGoqBliLT2DVPrGJBjyiueYd8+gWy8s47UJzFUp8AZacepM/vQbl2no57rky3QsrzhcbaD5w==, tarball: file:projects/arm-changes.tgz} + resolution: {integrity: sha512-DCX1dy3sj6JvzVsXyETPgV3vBSCObXPCpZBpg4VqSiF00xs9iypuBMhePoRmCXTVNeH9GkvSH1AtB1ssO0m+yg==, tarball: file:projects/arm-changes.tgz} name: '@rush-temp/arm-changes' version: 0.0.0 dependencies: @@ -11787,7 +11787,7 @@ packages: dev: false file:projects/arm-chaos.tgz: - resolution: {integrity: sha512-zrNAE3RSyAGLAAfq61x1nMKukyCKx0Xyinbzf6GJg/xSuLD4cs7H7JQCaENmiQ28GjsIDuPD7a8znkYdYoJlNw==, tarball: file:projects/arm-chaos.tgz} + resolution: {integrity: sha512-OS3rVyYCGj2oa7w7pAQIRbXIKVsfRud0QpOxrr5INJbqR+HuJHSHOkwX0pngtffrExWiJL7OLSZXecjqXhBjYQ==, tarball: file:projects/arm-chaos.tgz} name: '@rush-temp/arm-chaos' version: 0.0.0 dependencies: @@ -11816,7 +11816,7 @@ packages: dev: false file:projects/arm-cognitiveservices.tgz: - resolution: {integrity: sha512-7d6h8WoKXiNEUsOG7v6fwmA80eGp63oMmEg2MD0mT0+z5e2sw/nQcX5DlUXzH9GqJrTKtEjSL8P8JvJzaGaS0Q==, tarball: file:projects/arm-cognitiveservices.tgz} + resolution: {integrity: sha512-nySSkeLrX6e90ijFXZyo5NX4Xlqnlg5MZ5yDicnohQFacGFtuzHz2OdxYTY8JN6afLeNbyTxj5V5oTOCoAgX6A==, tarball: file:projects/arm-cognitiveservices.tgz} name: '@rush-temp/arm-cognitiveservices' version: 0.0.0 dependencies: @@ -11843,7 +11843,7 @@ packages: dev: false file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-S6AWaDTk5swdDPwbHmzcWDFC6ncqP2uL3t7x4PzTjJpQXCleJidB6VhkNGhSP7FXM84bml7LhlJuLhJ89HhVYA==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-Axges+7S80baS1BoOSD9rrohYibDTWmUvvS++Ku7D0lKELWfak4e/i7er7fZQBcA4z5WUsfISN1AqMZlfYFDmw==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-commerce-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -11869,7 +11869,7 @@ packages: dev: false file:projects/arm-commerce.tgz: - resolution: {integrity: sha512-GpV6luJTV8KG5h5qWT80pMGZ5NA5mRgm26qAMbXaDWJ0hlwf6e9/yAhm8BZlEPFFHyT5+zuvVBBa3a3z8MMnkw==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-8A+PXC5Jwkx1QusksJ8A1dgBk+unljOrNnnTbrrW95vHEQEfybCC8EktkXAM6ocCfwMgq8nz900EdzTN4DrqSQ==, tarball: file:projects/arm-commerce.tgz} name: '@rush-temp/arm-commerce' version: 0.0.0 dependencies: @@ -11894,7 +11894,7 @@ packages: dev: false file:projects/arm-commitmentplans.tgz: - resolution: {integrity: sha512-89cNKOF4tJJeo4zyYu0sY1w8zQH2CisVZBxGc+dkI+J1mMmZaGrBae6Sz+fFnK4lpVU8zp17zqkhredcHz1wRA==, tarball: file:projects/arm-commitmentplans.tgz} + resolution: {integrity: sha512-c66R6TTD6PTPL6NVb0EtdzJ+QJJZkZCtGlqoUh7JcfwZFx6ouc7b8IFWE5qGwvpgPmYcakJOuFG109q9vp7CEw==, tarball: file:projects/arm-commitmentplans.tgz} name: '@rush-temp/arm-commitmentplans' version: 0.0.0 dependencies: @@ -11919,7 +11919,7 @@ packages: dev: false file:projects/arm-communication.tgz: - resolution: {integrity: sha512-uPS2+p1oI2HYbDoM/nIA24Zp4g4luf44EwFtnc/IcqJbC5WXGUyw5XpP521K/LRjqrhcpvYnJUTXvsihMjAXGg==, tarball: file:projects/arm-communication.tgz} + resolution: {integrity: sha512-28goF7jU56MIHXDocfXRU5JuIZswJWtgWggniRkeihyxhqHlKZ8C/piQs9oz4H66tkJT1hZJyNfBdUZTXIOjKg==, tarball: file:projects/arm-communication.tgz} name: '@rush-temp/arm-communication' version: 0.0.0 dependencies: @@ -11947,7 +11947,7 @@ packages: dev: false file:projects/arm-compute-1.tgz: - resolution: {integrity: sha512-2pDKAUFh7gYxN+AxznwxTdgYakg6UZrlVhES6ckbX0YlQnf4DeDXa8Pa6HUMK9ubYaaVjuH8KQOLN/cJoeIDiA==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-j5ZxYBDOMNSO0GulYlTmjT9vYMOd4CgHsYczwi5yMg9IeCAVscfPlXCKwC5rt2B8DpSxbqDGuBlUJc5bkWOQHQ==, tarball: file:projects/arm-compute-1.tgz} name: '@rush-temp/arm-compute-1' version: 0.0.0 dependencies: @@ -11976,7 +11976,7 @@ packages: dev: false file:projects/arm-compute-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-RgkqpFM1VhXzB6N2WPojGQrSpjJJCw4iYgiXSwdaW681NC2rASNM+Op1cwt2yS6Fdyil9/ZroDakrahqHa1uQw==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-1EvZ8JAUsb9KK/Pyeunx93HGzEO2K9XopfVvDuQV5YTZuYDTpGqBQWcdIdkddcRqlsTtZUGONaxOLqJ39qjCiQ==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-compute-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -12003,7 +12003,7 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-ftx9H1aDWNerccXXhrvUdVBCw2wsGS6Zk8JakysJyVViVMyzf65aKkL2h4tqXx5FwsGV5d8kGyK3pISKbvzmEw==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-eazT/OBUR3SIprIAdOuWroFtBW4WORSuIXJ7kqzHFpqJtos4gfUhRwjX9MzhKM01+3laMVYFH2tW4xdZw/7mEg==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: @@ -12047,7 +12047,7 @@ packages: dev: false file:projects/arm-confidentialledger.tgz: - resolution: {integrity: sha512-pS+/eOxneyQUBh/mHjBbSXeDuo3NlGHa2PL//Y9yhkPC49R4E4kBZxb7umGJilTEtjv7lm2PfIupqH7viqww9A==, tarball: file:projects/arm-confidentialledger.tgz} + resolution: {integrity: sha512-RZIXSZbgkBcbEcLrnLPCfdCx9IOJvpoR5mLi1nys8ZhtOG+Xzcc9qok3EvhkbP/705i/0wF+178foPS2hIcMmg==, tarball: file:projects/arm-confidentialledger.tgz} name: '@rush-temp/arm-confidentialledger' version: 0.0.0 dependencies: @@ -12074,7 +12074,7 @@ packages: dev: false file:projects/arm-confluent.tgz: - resolution: {integrity: sha512-2vzIrVRG8t/kToRBElJNytrUk5YKVVhc1c0boPHZ/FZzHvRT6cLvfpXN1XTyNQdUWde5jpLMPe6vSC1w9fkHUQ==, tarball: file:projects/arm-confluent.tgz} + resolution: {integrity: sha512-nJjOjZ00EbI/BClYWgzLvAPYRKzxdXuf+OCzB7A5p8nOTHL+IiOJc0H+4FNsc3CNJxCWBoOSEYIpL0GKnygItQ==, tarball: file:projects/arm-confluent.tgz} name: '@rush-temp/arm-confluent' version: 0.0.0 dependencies: @@ -12102,7 +12102,7 @@ packages: dev: false file:projects/arm-connectedvmware.tgz: - resolution: {integrity: sha512-w1gIubjRTzBHfnaTbZz/c1dP5955JMMUqizIoyNLeoTWTDWehQxSVqZNYnch91imOTmzB+TxU7GlIsntOJwL+g==, tarball: file:projects/arm-connectedvmware.tgz} + resolution: {integrity: sha512-T5BQynIcWR+pR0OBRmCgiNLPARef7bQptKTgvCsnPfsewfWLV3YMa85iAcoPLMduQ5/JtR5DCET5pyDFPjKoEA==, tarball: file:projects/arm-connectedvmware.tgz} name: '@rush-temp/arm-connectedvmware' version: 0.0.0 dependencies: @@ -12129,7 +12129,7 @@ packages: dev: false file:projects/arm-consumption.tgz: - resolution: {integrity: sha512-HKbAKnO9DFgVaMbxJfW16rLdLleU5QgPOuCvz3yiaLMFuAdv6jPoBcNwrjQz1S1kh5y8rnfI/pLdX73fMWvUqg==, tarball: file:projects/arm-consumption.tgz} + resolution: {integrity: sha512-Jg1t+sj+WCfah8wzAopcqyo5BR5xd9PvCqqo/8vJZh3y8/y+JdUp6J4aiDv7+FN3b5A4RPdVhpqGrhTl1jxa/g==, tarball: file:projects/arm-consumption.tgz} name: '@rush-temp/arm-consumption' version: 0.0.0 dependencies: @@ -12155,7 +12155,7 @@ packages: dev: false file:projects/arm-containerinstance.tgz: - resolution: {integrity: sha512-sKe41tOrD63aqARe9flE8p3Psdy3PySCb6dxKgI4t7ck8o5Km8bzf5iTWY1KsR7sM1tEmrNYYE4Gwt2nXCMfyg==, tarball: file:projects/arm-containerinstance.tgz} + resolution: {integrity: sha512-UTSTIct7VkxUhs3ag6sPMDODFZZo60tsMOh4A+asc73UxN09vCvirpDizhFNoXXvl77hyK5KWijvqcXlMwtUHg==, tarball: file:projects/arm-containerinstance.tgz} name: '@rush-temp/arm-containerinstance' version: 0.0.0 dependencies: @@ -12182,7 +12182,7 @@ packages: dev: false file:projects/arm-containerregistry.tgz: - resolution: {integrity: sha512-UtNY5pFfILJVY5uKq3grSAj/eX8knsdw/pjkfvOgFOUMLn+Zc2KTgJ4sX1fqUGLFz4o1OJ4NAc9uSbOIdBd5Cw==, tarball: file:projects/arm-containerregistry.tgz} + resolution: {integrity: sha512-eGal/cz0lUPpDx7YSpPlprQK9yKIV0jJ52YANdbKgTKQi11dEyXhB+NFfUmBxpk/hGAYSCYdQRtXEij3gUSDWg==, tarball: file:projects/arm-containerregistry.tgz} name: '@rush-temp/arm-containerregistry' version: 0.0.0 dependencies: @@ -12210,7 +12210,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-CgE1+0qzGsKIGBfvZjAaeQ3jI+BkFnyy2s1J2hS/GDxqqS6ONXukQkR+wtq8chLjG5/Rkp3E7vNw8UO/iYLsAw==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-6T0lGGJ3XCcGfzzlWPbJImUGNvh0mPDht6imcPFhw/LHb4eLsVi53/Kp6JLQKbAS8UTpXuWtQwGAHP3blgWguA==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -12238,7 +12238,7 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-ZnlpGjujGMZEYEy57r7X9nPDGoMcUFiqWum1QC0i7HvhkZLD+7upjLvbR41bFrlvQBXACFqKucsiCsDIq4AEvw==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-K6ExbqsYY0/0hFdXjHEMv6uvtnhVSRO/Dw8dJ7b0xL685GFap2TCZPBw/jqDtHaT+/7j9A8n661d5jTasFb+KA==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: @@ -12281,7 +12281,7 @@ packages: dev: false file:projects/arm-containerservicefleet.tgz: - resolution: {integrity: sha512-/O2LUTrmXAZhj+9FnT4Ai7koBQY/Mjl6hgjFNcIvWhv/DZV/sOUAdGUE+1L6X37a/NMegSmFEzrvwA/7w1Zvsw==, tarball: file:projects/arm-containerservicefleet.tgz} + resolution: {integrity: sha512-L7FZF+zECSYP3h0lGOxlcba5MIoAaS4cLDcLw9uI7OgkNOeXvwVp3AIyVM0gY0zQtqMMV8yOHSdMnb0aBGNa5w==, tarball: file:projects/arm-containerservicefleet.tgz} name: '@rush-temp/arm-containerservicefleet' version: 0.0.0 dependencies: @@ -12309,7 +12309,7 @@ packages: dev: false file:projects/arm-cosmosdb.tgz: - resolution: {integrity: sha512-ZLOw/zxspfcaDH8PvlS0yHmTEUeyQZ4JAW3tBxOgiAoLllY0qXvrfYEYH/WY8bq8dL5elf1Krb9WuKe0IH3PxQ==, tarball: file:projects/arm-cosmosdb.tgz} + resolution: {integrity: sha512-D1OaeYIGlvVSBRKL77fzRSsc7CLEJfB/VT+MeX7zxhr04M6LNfpT8M3Gxs19IFYtRy3V069aQ0MbeSLQ2nyHBw==, tarball: file:projects/arm-cosmosdb.tgz} name: '@rush-temp/arm-cosmosdb' version: 0.0.0 dependencies: @@ -12337,7 +12337,7 @@ packages: dev: false file:projects/arm-cosmosdbforpostgresql.tgz: - resolution: {integrity: sha512-sd6dLHNQdaMWmTCPRutlsXh5HpPhsuyq5at4qpXzRUJ8yNqpaXUjkjYBMISzMt8IWYE4KNxqOzqxl3d8u6WI0Q==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} + resolution: {integrity: sha512-Lyg46guQALVcli/wNT1ajq2gnZIdXXCfwjhkDP1CMicpmu3lCEKqECdaVeYHenKg7NNGMho9cIHrtqGf42VCPQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} name: '@rush-temp/arm-cosmosdbforpostgresql' version: 0.0.0 dependencies: @@ -12364,7 +12364,7 @@ packages: dev: false file:projects/arm-costmanagement.tgz: - resolution: {integrity: sha512-/mY6kc/dzMJpzWOeTXSyoymA0yYKJle3bsk2GXE8c/xpX+5doi2cx2BcnZkRTqXJpSGcKk9fMkCzFbxRAOHwdA==, tarball: file:projects/arm-costmanagement.tgz} + resolution: {integrity: sha512-JrYXJbyh1jpibncQfVnrP5Zt9ITVSJbsefuvT19g56U78gdXW6X/iLSNzQ8+g8rPHna6P+UTNykPKydY17Lf7Q==, tarball: file:projects/arm-costmanagement.tgz} name: '@rush-temp/arm-costmanagement' version: 0.0.0 dependencies: @@ -12391,7 +12391,7 @@ packages: dev: false file:projects/arm-customerinsights.tgz: - resolution: {integrity: sha512-9OqkHpBrf+cZhzurUA79ZN4m7tTS2XQ6dinN19fszsqpbjn9r6OXUIhdEGodDfFg6EA606IvLiJ5PtVgyzkUiQ==, tarball: file:projects/arm-customerinsights.tgz} + resolution: {integrity: sha512-AI+JRaeFyy5qKSrrfXWPSuZZBmr3XJVBp6c1efhWBcUp4BS3ERHWowRHAogG+NZ2dXCITlunyb2yrdiHkEkY9w==, tarball: file:projects/arm-customerinsights.tgz} name: '@rush-temp/arm-customerinsights' version: 0.0.0 dependencies: @@ -12417,7 +12417,7 @@ packages: dev: false file:projects/arm-dashboard.tgz: - resolution: {integrity: sha512-FUpsLqJ868RBg6ZQlqON83WYnD0bGYjQbMUrRS4Gj5qM6W2oU6+ne/9ixmbnWm5Ol7MjkM/C/yo5HFpKKELZCw==, tarball: file:projects/arm-dashboard.tgz} + resolution: {integrity: sha512-CkZcQ41MBIbPmZsddog4V7xZvYQmGMNe5bJ26IBeELZMLvZdC1U+CEteUQCd+bWEIhm+3SHZeoPohmgvbyHqRQ==, tarball: file:projects/arm-dashboard.tgz} name: '@rush-temp/arm-dashboard' version: 0.0.0 dependencies: @@ -12445,7 +12445,7 @@ packages: dev: false file:projects/arm-databox.tgz: - resolution: {integrity: sha512-fHvVWUTr4TtEtDwnDk4smmHLc2vMLt1TGj3uj+uh12JD7dhZGVyASfYXENl0dHsH4gVQtLrH1+SOnz6I0qodqA==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-9SBQm6nhLeM76Vt9D3s1xwE13ma19V7EjVd81yXVorEzJrFuTLT5SDyQK6WEv9Xjp2XavtiZkQsPtdiqVDItWQ==, tarball: file:projects/arm-databox.tgz} name: '@rush-temp/arm-databox' version: 0.0.0 dependencies: @@ -12472,7 +12472,7 @@ packages: dev: false file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-3Eop4XPYz83tAb1CqGnIednCyLzwUwzL6A2hcNiJ9TT3OU3NneRNMWccEp8LdHaFfZx5cpS+JSnUJZUtaccBsw==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-o4cq7a7ip+UYcyv0DJK6mKKDqf9/EUjuw3PjNEaBrmLByWh5WxVBi03LRICWFwXMvJAQe7icHeBg+NH9HqPQnw==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-databoxedge-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -12499,7 +12499,7 @@ packages: dev: false file:projects/arm-databoxedge.tgz: - resolution: {integrity: sha512-ha81Z98oTgR+q4zibhPmVSLIAxNmtSMbsD02Iw0tfYhAxXqWwlYdrcalpwDrTu63oBuYalgYZyiBOc8SIDf0YQ==, tarball: file:projects/arm-databoxedge.tgz} + resolution: {integrity: sha512-8MJgfrD2qJLFozJmy898ed3aRBBzxy+Car7oqAZAgxTlB2MsC3hLXrwCGXmcZrJvSgS9jxO5AXgLjkSwCcPDMg==, tarball: file:projects/arm-databoxedge.tgz} name: '@rush-temp/arm-databoxedge' version: 0.0.0 dependencies: @@ -12525,7 +12525,7 @@ packages: dev: false file:projects/arm-databricks.tgz: - resolution: {integrity: sha512-n/SMNzAiyfN/lFpt5YJzd32fES9ze8jGLUbLkIxNW7w6TdqkPVXTMB7B6EcLuqmxFJPfek4A2LMJu2dBx+UhcA==, tarball: file:projects/arm-databricks.tgz} + resolution: {integrity: sha512-WAtAXKJCfNKF/uJy3vZmZ+CE/PXZa8uOReOOz0NbfHdUo9ompAUAH291ZpBMP/oyMavRNBCIqrHFcUbnLVnHdw==, tarball: file:projects/arm-databricks.tgz} name: '@rush-temp/arm-databricks' version: 0.0.0 dependencies: @@ -12553,7 +12553,7 @@ packages: dev: false file:projects/arm-datacatalog.tgz: - resolution: {integrity: sha512-vYlPtvygiWYGGp4m2dVzW7vr0rz9LVcZFcyyTOou0Qw7LPI1XbRxKkiYHroFz//RtzV2y4mygciIAdYNGVVUhQ==, tarball: file:projects/arm-datacatalog.tgz} + resolution: {integrity: sha512-CJQ93Gu5HF278gvt1uFPaGfqvenwJs8F/a8Nyuo3O1bIm2FECRrAcOFtV7GGnGdJh9cscR6AUXfIYpRueaxv+w==, tarball: file:projects/arm-datacatalog.tgz} name: '@rush-temp/arm-datacatalog' version: 0.0.0 dependencies: @@ -12579,7 +12579,7 @@ packages: dev: false file:projects/arm-datadog.tgz: - resolution: {integrity: sha512-m7YpvxhygnEI2hacwst8DGNvAY77ZK1NpYENUa1210NPWMZgEl1HKQOKJ1yL6vLwC0x5i99k7cOhiSVVU/qZJw==, tarball: file:projects/arm-datadog.tgz} + resolution: {integrity: sha512-zdSyPOGITXN9mRdxHC+LFI4f3ZOh+hP/ZckLNl84YXRVqSQoB1QQKawY2SCvqJ0tncIqBASHXMfRUt3KzC7gdQ==, tarball: file:projects/arm-datadog.tgz} name: '@rush-temp/arm-datadog' version: 0.0.0 dependencies: @@ -12607,7 +12607,7 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-QKVsn1q48eaGWWjThiViemDuRkhUPRV7LbClKMNFHVQ34AvGNqq0MudYx9QuAqXOKtYelXwZb5fjlPcNDRolxA==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-DEESanPBKFpZDHHeIkAkVYya0p+L95cmwlI/3B7V6ZcagEEX34to4tLeGIqW3yQ+Gx0P9z5XxWilDnbI6iP6jg==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: @@ -12635,7 +12635,7 @@ packages: dev: false file:projects/arm-datalake-analytics.tgz: - resolution: {integrity: sha512-Jlaf3jSjVFwg+fsd0ZKNMsbdSFOwEst3J5vh2jOKPRyDzaWTkLmieHkDX+geW9/Je0lbWRqalRFIUEWuVLvHkg==, tarball: file:projects/arm-datalake-analytics.tgz} + resolution: {integrity: sha512-9yGdHYRbOoxJRy7wcFEzszua/92IFBFW0Pg5Eo3DtepYbUBuDo2WkTkRDlC7wcuuD1LoXncshah4V3vy3/7Ulw==, tarball: file:projects/arm-datalake-analytics.tgz} name: '@rush-temp/arm-datalake-analytics' version: 0.0.0 dependencies: @@ -12661,7 +12661,7 @@ packages: dev: false file:projects/arm-datamigration.tgz: - resolution: {integrity: sha512-Zn3BXxFLVrqiNjx2QtHkQhN4iKK8ZhkvtkyGYQZ2a6l5gMh7saZjZ/Y+ih/9qb6o57Mm4pUpHCD9fkmfqEzBcg==, tarball: file:projects/arm-datamigration.tgz} + resolution: {integrity: sha512-Hv0UbrhurLBmVdY5FleqNeuVpoKUIo7b3eHhSrRpoPDT5xmtV6cM/ETHzjO54Y+SskuX11wYG5YlF9ORQsyoNA==, tarball: file:projects/arm-datamigration.tgz} name: '@rush-temp/arm-datamigration' version: 0.0.0 dependencies: @@ -12687,7 +12687,7 @@ packages: dev: false file:projects/arm-dataprotection.tgz: - resolution: {integrity: sha512-RqdUOXE/gW+7zXfFneqfQFn9j7PgM9AsXFc0n8xMzrRGrCz+Uqh6ia4cGW3A4wehnQpz2gYXDW9wJHMLQeT7Rw==, tarball: file:projects/arm-dataprotection.tgz} + resolution: {integrity: sha512-JtJ/t64GsctvAnLtCM4/55fMH379WeaFMASG1sW5DJ3x2C+n02sPVRM8Z6Mu/T32JXZwJf0KSj+7wzXBQhAjIQ==, tarball: file:projects/arm-dataprotection.tgz} name: '@rush-temp/arm-dataprotection' version: 0.0.0 dependencies: @@ -12715,7 +12715,7 @@ packages: dev: false file:projects/arm-defendereasm.tgz: - resolution: {integrity: sha512-UTkmascMOpq/Ry4CcI1wkMmmsTC37xNeycj3mGl8jAT5/h4JwQXqaW1zdj1wgcWA95iGmKCRlgctE+Xw2eDy+w==, tarball: file:projects/arm-defendereasm.tgz} + resolution: {integrity: sha512-5lJClNPWuQuZvkm4waL1HWXpVhnC1Ib2zuMj8AjQlmpNa2HPVHkn129hIfED5KO0cv05HKeVb72EPAFbkoEXIg==, tarball: file:projects/arm-defendereasm.tgz} name: '@rush-temp/arm-defendereasm' version: 0.0.0 dependencies: @@ -12742,7 +12742,7 @@ packages: dev: false file:projects/arm-deploymentmanager.tgz: - resolution: {integrity: sha512-L7iNE3lKtCvk+UMoGQO4S6EhOTVcZP0vyQcBo99Ls2PWXMZSwaFrcK7KckRvHx5ZuFoTBRDvj0bqhFMI40eW+w==, tarball: file:projects/arm-deploymentmanager.tgz} + resolution: {integrity: sha512-7u4kp0vycS1w18CPHbG7YTiqMNMOxaqtY38Mf7uKupYoe5gsdPcWs0XBXmnUC4uJLjwWj8BDp+/hnWpPrdrnDQ==, tarball: file:projects/arm-deploymentmanager.tgz} name: '@rush-temp/arm-deploymentmanager' version: 0.0.0 dependencies: @@ -12768,7 +12768,7 @@ packages: dev: false file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-L7sX1Hp5EvvKokbHuNAvLkgBkFbo915Y+RGdasvN1LT81KW0AceqnoWLIQksovU/wM6I7FN0OGIEFisODYzsIg==, tarball: file:projects/arm-desktopvirtualization.tgz} + resolution: {integrity: sha512-zV09nRqplUpK5w5By61XKVG/v70haO0z+1yA3ZtgMinQyV6qwGyRf8BQAt1VPWV5sgUiL6MtkFPKrJe3oNgctA==, tarball: file:projects/arm-desktopvirtualization.tgz} name: '@rush-temp/arm-desktopvirtualization' version: 0.0.0 dependencies: @@ -12794,7 +12794,7 @@ packages: dev: false file:projects/arm-devcenter.tgz: - resolution: {integrity: sha512-CSmAgzjlR+IZFb5bp67z2SVFs9NQ9LS0VRLKZzpwCRkplrQBfMMPeu7/z/5vlc2QaHUyj5GEXWcUl3tqa3Yk0A==, tarball: file:projects/arm-devcenter.tgz} + resolution: {integrity: sha512-J2lsKIst4SNdWTPVT4yPLwK8a/PL+6OBYrjvqM6kqp/MTpGbVppzDEgpjYLyf2F/YGMT0vKsCx2OZmdfz3TTvQ==, tarball: file:projects/arm-devcenter.tgz} name: '@rush-temp/arm-devcenter' version: 0.0.0 dependencies: @@ -12821,7 +12821,7 @@ packages: dev: false file:projects/arm-devhub.tgz: - resolution: {integrity: sha512-W5WwFSWa5pvDYha3c4eFl8ogjnO9QDr68PasHLJPQjD6+XZJjYT/V8mbYwwXFQ0+URqP81xKL/MgK/AWm8mrfg==, tarball: file:projects/arm-devhub.tgz} + resolution: {integrity: sha512-1xmxdS/YJvOUwoRUxXdoNjYVFIstcSacq4FCbcFnUxO9qHKZmahDX+3dEz4z4PRx+XAWSE1xDVqrP+jPBh00tg==, tarball: file:projects/arm-devhub.tgz} name: '@rush-temp/arm-devhub' version: 0.0.0 dependencies: @@ -12847,7 +12847,7 @@ packages: dev: false file:projects/arm-deviceprovisioningservices.tgz: - resolution: {integrity: sha512-oI6knn8Gc7tgWQlEPnNEOPtrH1LyNcFA29XO6BWgmpTjuI9/9FdFU61CELNu4BSKDC7ZHoOOQ+yoCajtTarX2g==, tarball: file:projects/arm-deviceprovisioningservices.tgz} + resolution: {integrity: sha512-iML9WBqa+W2gmPv10Od76HukWqqgViqrFjZ7fX1zzJVho4oJqHL5hmenFQAr5F5nWlhczw4lWpV736N9hNG+LA==, tarball: file:projects/arm-deviceprovisioningservices.tgz} name: '@rush-temp/arm-deviceprovisioningservices' version: 0.0.0 dependencies: @@ -12874,7 +12874,7 @@ packages: dev: false file:projects/arm-deviceupdate.tgz: - resolution: {integrity: sha512-qmHGIRkfxEpsumb3kK5HiS61itFrmyxboJ5AYdNG8gmprcTfyyZ8GQxQz+yh9JkdCoEE1tI/K0O5PmGnIBtEZg==, tarball: file:projects/arm-deviceupdate.tgz} + resolution: {integrity: sha512-7Y0eayeF8+fcdXu5cybX7y411bbB2aD21zJAhQmui4/1i1x/VS95rRsUd5L0KgZbl9axpafTRqbho/m1W4EphQ==, tarball: file:projects/arm-deviceupdate.tgz} name: '@rush-temp/arm-deviceupdate' version: 0.0.0 dependencies: @@ -12902,7 +12902,7 @@ packages: dev: false file:projects/arm-devspaces.tgz: - resolution: {integrity: sha512-0SFAgJ7MZQHEEKV25zRwlNz2hYvHMoZagm7dlUEny/b72bdEPTXNQmVdWOB00Ik6bHzMhY0CmNosy9fVQ+LsLg==, tarball: file:projects/arm-devspaces.tgz} + resolution: {integrity: sha512-BLZZ76L4A09vK/gz4kCYqjXyoHnTEXTJ76V3KcsJYdA4I49OjKeaVkhkEjvuurIPh+vGVqvXubr7IufvWup60g==, tarball: file:projects/arm-devspaces.tgz} name: '@rush-temp/arm-devspaces' version: 0.0.0 dependencies: @@ -12928,7 +12928,7 @@ packages: dev: false file:projects/arm-devtestlabs.tgz: - resolution: {integrity: sha512-BZbRaebaoXTYwzDeHNsyE/bN6X8rntcsAtadRl8bUF+mf7yaN5Ex8QwpRTZBUMsVg1WfTTCZAqCiOj9NpBfxuw==, tarball: file:projects/arm-devtestlabs.tgz} + resolution: {integrity: sha512-EtKYmneIuFHiIu1vX3qwuT3FloPjplatjNDIeylAtsZzjAHiGpTnyWS3MrrUCUrrkb6wQpT5ANVU1klgMDZRsQ==, tarball: file:projects/arm-devtestlabs.tgz} name: '@rush-temp/arm-devtestlabs' version: 0.0.0 dependencies: @@ -12954,7 +12954,7 @@ packages: dev: false file:projects/arm-digitaltwins.tgz: - resolution: {integrity: sha512-4ue08b7DZL1/jOnx3u/ojKFTRFMKCgFt3Nb4t18Zi5JYuJTPVTnY3fTZaD8Mr1mJFoYXePxkTGixb9mMC1isKA==, tarball: file:projects/arm-digitaltwins.tgz} + resolution: {integrity: sha512-N0OLsSJKVs70wtHZwZgbuUZ3jluDKWzsXWUNPhdhRyAKTu+nigyva0AoWDQcWeqhewNvq6hmHBgnFVc2ZlJGDA==, tarball: file:projects/arm-digitaltwins.tgz} name: '@rush-temp/arm-digitaltwins' version: 0.0.0 dependencies: @@ -12981,7 +12981,7 @@ packages: dev: false file:projects/arm-dns-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-TOxgtCri+OjqIw90h1OPagQ4AS9Vw9xDCZyE2H5qNefx2sxzQz8U6ZYh8vg4s3O+yO6U1tc75lyjPSpNG2TAfw==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-263kzAqfTqnDSMu9fu5aPePPuR47QSN+2LZ+/HxWgt2BTSFopoQtiI1pVEelrZpsrZJZbULZOvTn2uP5bSWvXg==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-dns-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13008,7 +13008,7 @@ packages: dev: false file:projects/arm-dns.tgz: - resolution: {integrity: sha512-UMhJTWELYTtnc1tpq1I4MHorenL93Nr58L8/BZE8/cmU7mtKhycgezZ1NVyhWzs8i5mez5dh/SaFcNqUMW6RfA==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-Ql8lhjT1ZwKeuetug+X6U4Jz3n270vZUTgaBgotQPfyMVxz67dtYuRk1uZidvalAXmZtAf0klgf8kMtZk4IMVA==, tarball: file:projects/arm-dns.tgz} name: '@rush-temp/arm-dns' version: 0.0.0 dependencies: @@ -13034,7 +13034,7 @@ packages: dev: false file:projects/arm-dnsresolver.tgz: - resolution: {integrity: sha512-8l1v9UO/TEIY4sPXF2KoFoGf8Tf58G4pN5SOpie1Ih5NMHh3IYYeSVqBLUugc6ocgezbx2SUEl7yDc0s6BzdUw==, tarball: file:projects/arm-dnsresolver.tgz} + resolution: {integrity: sha512-fpL+8yLtEHB/421ppFgmiMuWQExgn/DeNyZMdsRd3lbxXAbhVmekdzh+CZFVtbyY19DnK+tcDyfjZWe8Kh7Vqw==, tarball: file:projects/arm-dnsresolver.tgz} name: '@rush-temp/arm-dnsresolver' version: 0.0.0 dependencies: @@ -13061,7 +13061,7 @@ packages: dev: false file:projects/arm-domainservices.tgz: - resolution: {integrity: sha512-L8BZJunn75vJOh2TqrVkJrYvKdrzTHbCCkMM4sO56XpoQPD8nLpghsQEsc/lT7GW5qVHtjitElUZPvBrPqQJyw==, tarball: file:projects/arm-domainservices.tgz} + resolution: {integrity: sha512-LhMhtu4Uklp3Ow2+N3k8tfACV+0d0bt395vk+j1vehCkl2//pM4imcN0+c+YntVc4hin8YzT3hKOBfpXLqKNyQ==, tarball: file:projects/arm-domainservices.tgz} name: '@rush-temp/arm-domainservices' version: 0.0.0 dependencies: @@ -13087,7 +13087,7 @@ packages: dev: false file:projects/arm-dynatrace.tgz: - resolution: {integrity: sha512-K92NEI6/NRJ9vi+cOVR2JIssMqYt8z7LecbuqUEPGoXQS18cziv/LswkezaHjYPMlmVrRl6DY3Vw84geExfWiw==, tarball: file:projects/arm-dynatrace.tgz} + resolution: {integrity: sha512-IOqF15D+xTuSRSGWi2plrdCovXC0NByfrp/tMAyEjzzX3Ww1BxB6dwPTCWv9/KabMdNxS4+U3BftSSvmmhDADw==, tarball: file:projects/arm-dynatrace.tgz} name: '@rush-temp/arm-dynatrace' version: 0.0.0 dependencies: @@ -13114,7 +13114,7 @@ packages: dev: false file:projects/arm-education.tgz: - resolution: {integrity: sha512-XvrDwuc1SqXdPwOa4lg/GTIUkY6Pz4LHOzHbNZ1l2hyBOosVFekWib2dy9O6lYgDjQbpgR1siJGllAGOUdvKfw==, tarball: file:projects/arm-education.tgz} + resolution: {integrity: sha512-cPg2txbnhvqRAwI55IDpMEIH3///LmqlSno/z52B8r3T6Z0z57CYMvb+m+Q5ZL3wRKNHgLiotUmVVNo4adIE2A==, tarball: file:projects/arm-education.tgz} name: '@rush-temp/arm-education' version: 0.0.0 dependencies: @@ -13140,7 +13140,7 @@ packages: dev: false file:projects/arm-elastic.tgz: - resolution: {integrity: sha512-C9yMlxNpzg0xySemYGw9PMN5sMdMnaTFdVuick8IdTXAvl6iH7KYllM5lFtw3KWGlcR/hZjmsRxCZVK42kGCNw==, tarball: file:projects/arm-elastic.tgz} + resolution: {integrity: sha512-vqdplhI07XwrEIvU9g0LHHaADljvNnvI6LfgLQSQIBiVFITV5uglLivZ+brZ/PtaZoX5yRY9RJ4F5prM7hNjEA==, tarball: file:projects/arm-elastic.tgz} name: '@rush-temp/arm-elastic' version: 0.0.0 dependencies: @@ -13167,7 +13167,7 @@ packages: dev: false file:projects/arm-elasticsan.tgz: - resolution: {integrity: sha512-EAUd2c4BeOeBXQ89uLiqr+PY5EVB2DFZ5PBaRUdUkk+uRa0xQBikVl/SNur7Xv+l29yMfxqnNYc5OSbiAoeolA==, tarball: file:projects/arm-elasticsan.tgz} + resolution: {integrity: sha512-vmNI5cI19QbV3WiP6J23i7VSh8K+hglsYTvs7l6p9s/sgdSCMobVPvdfCihIfQ2DgGnPYthVVajHhmT1Jm/DYA==, tarball: file:projects/arm-elasticsan.tgz} name: '@rush-temp/arm-elasticsan' version: 0.0.0 dependencies: @@ -13195,7 +13195,7 @@ packages: dev: false file:projects/arm-eventgrid.tgz: - resolution: {integrity: sha512-pjBiFum5B8TaJzHGpvGCKvAoOKORPC1LVWvdsNMXjXHMynJOGKP+Ve+W1yI9pOBb6mMLArsYK4kpx4Fzwp5Hgg==, tarball: file:projects/arm-eventgrid.tgz} + resolution: {integrity: sha512-fWLIetf7dckzxUe5esh6TNETTQ0XfcKoZIqRfRTPq6n/lRjLshLxpSlMNZJri6eBjMZZoVFCCbAMhca9UA6MyA==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' version: 0.0.0 dependencies: @@ -13223,7 +13223,7 @@ packages: dev: false file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-pUUvVFPTQQm4H9OTihPhOTycit3hjAN/GbRQzdccJjnsb27g7JQvA5HVy92HvPbqFJH2srx91bPXtr794rey0Q==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-O1zX+dxJOerVzcJXBQSufY3dtlTzi0Y6unNNLJZ5I1HYTNdhLdd4VlvtQox2jihywPa+sle4VdO5R3sPqGKgPA==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-eventhub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13250,7 +13250,7 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-P8iqblP9CXIFb41wDZKUV+aZ+5n26qFnYDz2N3/3QxRFbFCvvWbpe5JcJRhhFsRK7dJMUVPeJ9Y3r0kR0PX63Q==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-FqJE2XAKwBO/FAQXPre4JCmIYLNDf8K2MZbErUyWrz0SClCwDNgC7ojMtU/1x1yAQK8LHHgksD0M6W9U80Q+Lw==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: @@ -13278,7 +13278,7 @@ packages: dev: false file:projects/arm-extendedlocation.tgz: - resolution: {integrity: sha512-lqHHITpWUicRYSxg/xC+yMbFz30C7aHGvNFUIv2COcgpsfm6wCh/OGWaTR4Z2HCgApfG40rLsDylQDGVTT40FA==, tarball: file:projects/arm-extendedlocation.tgz} + resolution: {integrity: sha512-SJ8nH09uSoMUckvE1GhZDU3uj/kKkqkemgEqfAhdS2/J5AwxyJEzx0DWaSZM7md1xePPEJGppt8jQkfCrHIHFA==, tarball: file:projects/arm-extendedlocation.tgz} name: '@rush-temp/arm-extendedlocation' version: 0.0.0 dependencies: @@ -13305,7 +13305,7 @@ packages: dev: false file:projects/arm-features.tgz: - resolution: {integrity: sha512-iA6bFHH5L0Dg+fKCn1KiC6kMFasBgjWfOEoOWO3AFS+VM1zDUGnmKfbkV5GJtbXhGT8SSogoBO44Gs16hZeGgw==, tarball: file:projects/arm-features.tgz} + resolution: {integrity: sha512-QH8ySAjh4C2aF5dgn0qX2yRbGzVBjaiNBztItK4GKeU/UGRUrM/rSRl/z9a6w4sKQ0D0OkDwEB5xNLgbSlw1zQ==, tarball: file:projects/arm-features.tgz} name: '@rush-temp/arm-features' version: 0.0.0 dependencies: @@ -13330,7 +13330,7 @@ packages: dev: false file:projects/arm-fluidrelay.tgz: - resolution: {integrity: sha512-Pnbm07zH+TjngZbG9K/+/5t2o3F7th/LaYq4PtpY38QxGsDSSYXoJu6tWQTRm1Bval99ccsLDiTfl3eC3eZBcQ==, tarball: file:projects/arm-fluidrelay.tgz} + resolution: {integrity: sha512-98c0BM8IfKYWSwDfvXsYtjrKbyzbuyUSzItrIdJdGuX7HodHBw96g+mwc6VVZNbjpKWJMwrWYvFFgPwkoKH5pg==, tarball: file:projects/arm-fluidrelay.tgz} name: '@rush-temp/arm-fluidrelay' version: 0.0.0 dependencies: @@ -13356,7 +13356,7 @@ packages: dev: false file:projects/arm-frontdoor.tgz: - resolution: {integrity: sha512-q1Cd1NnX4ccs7obpIa+uQTzJ+NTI029+L5Tw2MkRQcb3uJrIeNJKcJyH7Ec15Mgj8olMbDllP4bpMZj4sqmg5Q==, tarball: file:projects/arm-frontdoor.tgz} + resolution: {integrity: sha512-/4sVWsT8J3zre4gD/ToSoaJmdC+FGOGDOYMyg6nIjtHrg5XSQvVPYOfEzlFZNTeInIDZuPndX+9YDpEG7nNwDg==, tarball: file:projects/arm-frontdoor.tgz} name: '@rush-temp/arm-frontdoor' version: 0.0.0 dependencies: @@ -13383,7 +13383,7 @@ packages: dev: false file:projects/arm-graphservices.tgz: - resolution: {integrity: sha512-LpDELhMRHszDnauhA2VRxCYFSKEPlG8pqW+y2VpZBjNimqgJpI11FwPuj9lwVNvHSmn8wVa13cUod0w8m6Lmnw==, tarball: file:projects/arm-graphservices.tgz} + resolution: {integrity: sha512-EzJ+fjXTrWRLpmB4RkVDZhjkyEHTZt6pqOch0K8sP8sDWLARuRvSpzqd/yEdW5DYc+ey2vKAXevba4Bs3dEI1w==, tarball: file:projects/arm-graphservices.tgz} name: '@rush-temp/arm-graphservices' version: 0.0.0 dependencies: @@ -13410,7 +13410,7 @@ packages: dev: false file:projects/arm-hanaonazure.tgz: - resolution: {integrity: sha512-s5NFovGinI/lnsF2z0pBci93skwTwvscFRH0fTxDCapQ0YMxrwN8aTllMsNv2NlmtrpF9ZhM1JB7ZPTn//crjw==, tarball: file:projects/arm-hanaonazure.tgz} + resolution: {integrity: sha512-Tm7EWu8RAk4h5S4Y3UduSysZOu8CkDLtI30vtvOHWUa7l4O6k9Dy2jxSkjV1RccQPo+l0RcYLHQGgKQY9JXZ9A==, tarball: file:projects/arm-hanaonazure.tgz} name: '@rush-temp/arm-hanaonazure' version: 0.0.0 dependencies: @@ -13436,7 +13436,7 @@ packages: dev: false file:projects/arm-hardwaresecuritymodules.tgz: - resolution: {integrity: sha512-nA6QiHAbJBIynUYqo4VaqLyU9i5lp3F+yUocs6dmVSuhohHAx7bfe0FAnCDl/UezrO71wAykb5moe276qXWXsw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} + resolution: {integrity: sha512-wTxwkOtBLi68wc50lodK3gaUoHAEEDM/UumdXLQJGzV0GzJi2nzWqJvHlDBMuOJ14paiEwYfUeqEwAncAqm4nw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} name: '@rush-temp/arm-hardwaresecuritymodules' version: 0.0.0 dependencies: @@ -13464,7 +13464,7 @@ packages: dev: false file:projects/arm-hdinsight.tgz: - resolution: {integrity: sha512-S86eB9vLTH3E/lVGFWtBJ1TYX4qClVT4f83/IwXsbUavsfn7j6Pi163pbcmERa83cdC/ALR4oqhkTcN49mUgpA==, tarball: file:projects/arm-hdinsight.tgz} + resolution: {integrity: sha512-a3fXvzrnMGhXQqxbHwEUWPgJxY7SAVOL5m+y4JPtIVSOX8wHS2F+8/iHzB+Aek7AR+JrqlcN/3bb4ALc13H/sA==, tarball: file:projects/arm-hdinsight.tgz} name: '@rush-temp/arm-hdinsight' version: 0.0.0 dependencies: @@ -13491,7 +13491,7 @@ packages: dev: false file:projects/arm-hdinsightcontainers.tgz: - resolution: {integrity: sha512-heoeFJ8PxN1Iw01OncZyrEsQp8E+4p9/86zCcRTfO3YEw//6LZlbANu8hdc+0cHTy+7KHkczXb3wjdCh6CHotQ==, tarball: file:projects/arm-hdinsightcontainers.tgz} + resolution: {integrity: sha512-0B/t7EwqTp6hcmtk/skm2+qjfyRMmcYXI02PuWyIaUbO++e7rsx8vGGTn3HSqdlDRDXQh2bgdkGaxuj/nazglQ==, tarball: file:projects/arm-hdinsightcontainers.tgz} name: '@rush-temp/arm-hdinsightcontainers' version: 0.0.0 dependencies: @@ -13518,7 +13518,7 @@ packages: dev: false file:projects/arm-healthbot.tgz: - resolution: {integrity: sha512-FimhxdwplzY5IG0kxctNlgJd0CVUXm60wLQI2YTAibdypbt5I+wj6O//FUVYj2ivJUU2C1rHP1Q2Ey3ZU1C6Aw==, tarball: file:projects/arm-healthbot.tgz} + resolution: {integrity: sha512-eL1yfR3Gdvw9b011a4tTuO9Gc/RtloTYO+7TNzAf5wgY0AA49O4GdvF2lwQxUacW+9w8PY3n8icjrClQ/NINTg==, tarball: file:projects/arm-healthbot.tgz} name: '@rush-temp/arm-healthbot' version: 0.0.0 dependencies: @@ -13544,7 +13544,7 @@ packages: dev: false file:projects/arm-healthcareapis.tgz: - resolution: {integrity: sha512-3DAcFCisgyQlaYSKkCZyYAOLHl51ed8wiK+2FsTcObuCx7Fq7/K86fl2Btoy6/Lhx5TntW74MHB2dSnkknSFxQ==, tarball: file:projects/arm-healthcareapis.tgz} + resolution: {integrity: sha512-yiiLuQ9PmrsGf1M8W+ZROkF2y+egwrM0Cv0Yct9fRk/lE28ZJjVxofNp64nDZBEVULtRy8uexYek5rTIcHERKA==, tarball: file:projects/arm-healthcareapis.tgz} name: '@rush-temp/arm-healthcareapis' version: 0.0.0 dependencies: @@ -13572,7 +13572,7 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-t6yBBcu+y9ZiyK7+HgWwHELlBzDvihFx3gVys1hfo+5iF3p/DxqYWBVsEwJIEMYl7T27WwzL7ddt5JlKoPeBXA==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-dp7VY5hqr4kKMHm8E8voKdabfPeIvwHqpt3/v2t/hdvnrnNFkAh6e4Ktipn+NGfw4icTjtFjy2ePN5l1SZCoZQ==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: @@ -13600,7 +13600,7 @@ packages: dev: false file:projects/arm-hybridconnectivity.tgz: - resolution: {integrity: sha512-7fGXbXvWWZ9+Jeyus12ZNJknpsF4KAfUYCo1faCSuD8uICJhzAr+JtxZ5uM82U3Zi7R2urXMTCWrywWK4Os0dg==, tarball: file:projects/arm-hybridconnectivity.tgz} + resolution: {integrity: sha512-gzF3F1B1r22E6UwHGlkrXWR8rDHFz3/f1hz9AhdRX1EmKYugaw6Xgs4+6cn99gzxRj6EYS8Ve7Za4oS6rJtFNw==, tarball: file:projects/arm-hybridconnectivity.tgz} name: '@rush-temp/arm-hybridconnectivity' version: 0.0.0 dependencies: @@ -13626,7 +13626,7 @@ packages: dev: false file:projects/arm-hybridcontainerservice.tgz: - resolution: {integrity: sha512-Sy5p8Gfs1IANvvG1j35dRubNwpi2rK4VlhhlLhXRN6f3Laxxy6f0KR9wz658HF/AOYA/SEkt703waCeBfyYlyw==, tarball: file:projects/arm-hybridcontainerservice.tgz} + resolution: {integrity: sha512-jaQ9mOdgkp1Q0iioQI3CH4Vd96kQQICbN61iuDmabjybD9YDPkkcGsgs9s3k+DLLy2z00nHtugf2NngsUqmCmA==, tarball: file:projects/arm-hybridcontainerservice.tgz} name: '@rush-temp/arm-hybridcontainerservice' version: 0.0.0 dependencies: @@ -13654,7 +13654,7 @@ packages: dev: false file:projects/arm-hybridkubernetes.tgz: - resolution: {integrity: sha512-UbM+SieVjine0dhjK0EaAa8fMmdnZr8SyN9V4takI0UoFkk7dFvWnnwOnD+GYTKd32/ur0bMLb0wgmbTpo0dVw==, tarball: file:projects/arm-hybridkubernetes.tgz} + resolution: {integrity: sha512-OMoWVRQX8coW615oIvQujqBp6IOZnkqAtWNggmuzzIBCdyv3Ay3gsYj75TEVvgc9s/O5udy0myazWYF1qXqEhQ==, tarball: file:projects/arm-hybridkubernetes.tgz} name: '@rush-temp/arm-hybridkubernetes' version: 0.0.0 dependencies: @@ -13680,7 +13680,7 @@ packages: dev: false file:projects/arm-hybridnetwork.tgz: - resolution: {integrity: sha512-xqfMYQWliSpAFgm11vF2rQSeJhfxgUiTcXSarj2PKbb+IQ+3nH21YDs/ftJuyOOLihLFbmxlQvT8eKuQStRoeQ==, tarball: file:projects/arm-hybridnetwork.tgz} + resolution: {integrity: sha512-dgmRfWg1hnBn5L4dbm0/A55CP747c1U6ut/GG2FeUHQ+fiHB94z0CrCknyX6cer3nUI44R1WntdRtR03JG9vPw==, tarball: file:projects/arm-hybridnetwork.tgz} name: '@rush-temp/arm-hybridnetwork' version: 0.0.0 dependencies: @@ -13708,7 +13708,7 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-jtoCXQudxlOMVFYekAyBSLImoRlpAvAFvXFEgBb/GVXscEzSeDsTd5VCUH1Zvrs8B9CTqy7U2nA0NaveCXa06A==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-EDPsPyOrfkNm5eGS2F0IhirUBQidpeOBlKVDj/uByJzVznz56yxIAuRTRxWbNYUZfC2fLSgRmdgTN+q6ahd6cA==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: @@ -13736,7 +13736,7 @@ packages: dev: false file:projects/arm-iotcentral.tgz: - resolution: {integrity: sha512-d3ZEaMmzz1lZcJ5tf2Zic8m+uSPjIx7VFK/LX3mUyLjhZyJOlNK1MPsv5Fm6YjQrz79X7Ph2dXeB9u69u7pI0g==, tarball: file:projects/arm-iotcentral.tgz} + resolution: {integrity: sha512-C5fBQceZtVPUxb46OwLFC2rMZQtgEfRxxAVUooJDd+egsD9lw+Ou96PgsPj0FvOKrgrfderKyRSzmO+ruwQLXg==, tarball: file:projects/arm-iotcentral.tgz} name: '@rush-temp/arm-iotcentral' version: 0.0.0 dependencies: @@ -13762,7 +13762,7 @@ packages: dev: false file:projects/arm-iotfirmwaredefense.tgz: - resolution: {integrity: sha512-uOUidMPkLT8ctgjD9C64FgUoaStobMgdqrHgVQ7qeC1jHAxoPJV09kqE3gg1kz+dBaU00SjfMII1012qG9zniw==, tarball: file:projects/arm-iotfirmwaredefense.tgz} + resolution: {integrity: sha512-BKnVYayMkspP+/v2LNvAw1jGVqI8fgKJn7ZoTw68Bt5HPXmCX5o3TSWBuOqm7oE6Xi/hvq858ZdkiPjwCUObuA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} name: '@rush-temp/arm-iotfirmwaredefense' version: 0.0.0 dependencies: @@ -13788,7 +13788,7 @@ packages: dev: false file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-EMNURCxqMr7+q/PfSCu6PjQwgjBVjazozIXtqe8yBQ7+sSEMfOZ5ihf7pv+IYk83zTJXvWwq3AlDb8FTLMSzcg==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-rC0nO0J0toPIgndsZokBkGO6hRt/+Z96Rd8jyJcdIhdANB2X2toKEFIAT/a+XmFsUaGhVipYO844qgFFyAIffA==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-iothub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13815,7 +13815,7 @@ packages: dev: false file:projects/arm-iothub.tgz: - resolution: {integrity: sha512-gGDGGHsxXWA09Zr8RZz+Kp4l7rxQmRQRh/usR6WjdtTrziiJeiBhJzigNMtTEIGqzaGIca8PuIdXnok0rxh7Yw==, tarball: file:projects/arm-iothub.tgz} + resolution: {integrity: sha512-hzD+efpzvj8+CpawXr9RSxAp0wPJWe3wZhBLIGXKxIpu5WiSdY4Bb2qYtWRaK3Xs/E96a/gRubG0iFCqVh5HYg==, tarball: file:projects/arm-iothub.tgz} name: '@rush-temp/arm-iothub' version: 0.0.0 dependencies: @@ -13842,7 +13842,7 @@ packages: dev: false file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-KfReuPMljfOJdQXU/+1gUAmgayR4K4XUIZ7UhQwOC1JGT5MqLlNonP9nEdKuJ9ZKKU9p/DsW6US3ZBaLELzuPw==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-dl1U+arxWSKyajk5xMtY5nc5Lpo1H8u+ng+U7k41NjKy6hPD46owEdNGXMMRoxXRa/6IXyvl942QxiTu2rR2QA==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-keyvault-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13869,7 +13869,7 @@ packages: dev: false file:projects/arm-keyvault.tgz: - resolution: {integrity: sha512-CxgUmA5b8mNXEHzxim6ap/evv1p6YZIAdfmet9qsbu74tcwSb+ty+Fkit7xwvyqlEZ3XAggzmkuH8g8qUPZjQw==, tarball: file:projects/arm-keyvault.tgz} + resolution: {integrity: sha512-5J26dX52OdiglGFO2C5HEYBHJ/cAglmw0+6C0/h5GI0K9i991TwZyhu2drE/InXY0Bye+DafznjMfbworbcHRQ==, tarball: file:projects/arm-keyvault.tgz} name: '@rush-temp/arm-keyvault' version: 0.0.0 dependencies: @@ -13897,7 +13897,7 @@ packages: dev: false file:projects/arm-kubernetesconfiguration.tgz: - resolution: {integrity: sha512-JQHtU0Mh/4wsjcrfn53e1mt9NC4KKy5cjjl12+Z99NZKh4XxmE1dbJ8FtnlVFmGYwCHAddwiIprvEBGOM1b46A==, tarball: file:projects/arm-kubernetesconfiguration.tgz} + resolution: {integrity: sha512-r5w33BEIvNPg5MghiIxakzHz6TizJ2TaVVxgmF+PIkubRLiP4/g2NOYiI0+nrk5qJNO3n6UXUpw9WtHhZIieog==, tarball: file:projects/arm-kubernetesconfiguration.tgz} name: '@rush-temp/arm-kubernetesconfiguration' version: 0.0.0 dependencies: @@ -13924,7 +13924,7 @@ packages: dev: false file:projects/arm-kusto.tgz: - resolution: {integrity: sha512-+S9nWXmKnozmTEeevAyzGORODSi4S4kUjzZe+m2101+ualinDLfkkBjRHy635Y0pHmJ1i7ywNv0BcfhMHiH7og==, tarball: file:projects/arm-kusto.tgz} + resolution: {integrity: sha512-ZGcWF+8qoEOWnZt2LVMCrlOAlPkHlWG+icwN+7HgD0GWrhp2aQbk2FQxyXEcM5KZ/xFyC+Usl9YYUbCJRuiibQ==, tarball: file:projects/arm-kusto.tgz} name: '@rush-temp/arm-kusto' version: 0.0.0 dependencies: @@ -13951,7 +13951,7 @@ packages: dev: false file:projects/arm-labservices.tgz: - resolution: {integrity: sha512-hE3dVY2tXDSVuo0YXZwHZ8LCTHsisDHtpSJ2yXURMHQucV2wKF7QwfpkAtlmglmBJ2vl5+L9A82tdpb059Raqw==, tarball: file:projects/arm-labservices.tgz} + resolution: {integrity: sha512-aYHRgReScso7jDb11dE9nB5ueE/i+4755NAJX9bZsKu+Zxddvvah+WMfq1LOMrGiHAcMpAFi2VkrcZJRFyCNjg==, tarball: file:projects/arm-labservices.tgz} name: '@rush-temp/arm-labservices' version: 0.0.0 dependencies: @@ -13978,7 +13978,7 @@ packages: dev: false file:projects/arm-links.tgz: - resolution: {integrity: sha512-W1C5HWVkGSCmuvXJYSw1Ia/tXARpCf6xQm3NJAjlJst83NlyA0zRKDw47vfBvPdyRK7TAxsQ7jqXmkletjZHmA==, tarball: file:projects/arm-links.tgz} + resolution: {integrity: sha512-5BmA4drDUOEqQ24oFH8g94NUSSoXO10OV6mCQ5jn4w8eO/YKaf0QYwiPlZYgpsvU44pWQgBv1B5oWnEOSZEMpg==, tarball: file:projects/arm-links.tgz} name: '@rush-temp/arm-links' version: 0.0.0 dependencies: @@ -14003,7 +14003,7 @@ packages: dev: false file:projects/arm-loadtesting.tgz: - resolution: {integrity: sha512-BsZ6jow+p7iV5C81jhNunr8j72YTkXSj50WvLpjtSQen9mmbx0KvsxYCpMW3vHAaY+AvY1j99XCMVEDa5jesDw==, tarball: file:projects/arm-loadtesting.tgz} + resolution: {integrity: sha512-XHf6J8VQWaQ+1oY6v1wEDYB4ysf0WUBUwrt5Fx1WAyBQDwBkJpK7MqEcVtpPJO6/m31VyQgz5A7kiqqJFW79YA==, tarball: file:projects/arm-loadtesting.tgz} name: '@rush-temp/arm-loadtesting' version: 0.0.0 dependencies: @@ -14030,7 +14030,7 @@ packages: dev: false file:projects/arm-locks-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-HUEU6z27PC8Hn9keNBtxT1tYyxwrnwjo4Kvu5jp4fWuYZK8k0QHZRksEOuMbgDYOIlnXucWl5NGctPAu5FaCdA==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-3OevQWBCB44bBnWCvgEP3d+qsx3/CrAWOkSR4Vf2iGBRDe54LNyiQJ9vrVvZBi/2jN3WRe1TQHqCj3+2f/WDYg==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-locks-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -14056,7 +14056,7 @@ packages: dev: false file:projects/arm-locks.tgz: - resolution: {integrity: sha512-6sD3kiBwi+lVIgLXuPJUVkvw7+fuAna4h7wY34d3KLyO4j/kCizzaOKYprEzJ8BbjcBLZsD6EWDtV8Y4kZkTZw==, tarball: file:projects/arm-locks.tgz} + resolution: {integrity: sha512-D3TsZXc1xX2z+9sEgtTUtuJi0qltWT8YKH5NqbM6vxUm+kjk6OuKI2hipSrzijaexO9bSK6UKI3IO4fyX65ObQ==, tarball: file:projects/arm-locks.tgz} name: '@rush-temp/arm-locks' version: 0.0.0 dependencies: @@ -14081,7 +14081,7 @@ packages: dev: false file:projects/arm-logic.tgz: - resolution: {integrity: sha512-zixncG+CqCTiWOdsiI2emeOtEbGG7kLCUqs4OipCAqaH0QlJi2L5WC9f3qMZ0PKuXLLVXsLsedHCB2e3AhFQkQ==, tarball: file:projects/arm-logic.tgz} + resolution: {integrity: sha512-5nmpBYCkaeRh5VR+62/ipKT2U/sLlwxINS1HkqkW0pfr+/19sJhc1WkBugd8vhjyIcicqp0MoUY+0GDeKx38ug==, tarball: file:projects/arm-logic.tgz} name: '@rush-temp/arm-logic' version: 0.0.0 dependencies: @@ -14108,7 +14108,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-OCFYul2MH3wBliLuvWSrhhsc1y0SJeaV3XtQquoAyen6vjdmrvoZgAFWoCRulmIFtG8dXQBgn2uu9Q4yKyEV3Q==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-OYqX+Sux4gsPrID0Y4+drdjywULqEgw9v24AOmCiOQIuZutwsUmHMm4w1MTjTUaXHYerlnQ+uXB/VUvtqOkr9Q==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -14134,7 +14134,7 @@ packages: dev: false file:projects/arm-machinelearningcompute.tgz: - resolution: {integrity: sha512-zkZga+SIRLjUh54F4gmXlGh5L8cgjIwpO7Ux2kC8gKc5ycE6lk3tABay959ZM4pZIiNt/CtFgcqdYqVwTpXarg==, tarball: file:projects/arm-machinelearningcompute.tgz} + resolution: {integrity: sha512-lwGHREgl1pMlPmdwJXb85ewM+91DPw36uVvL+Dp1Dze0H0aqEUEEFFAyWpEFy6eg1bJEWi7kdE6GEhMqQAvI7w==, tarball: file:projects/arm-machinelearningcompute.tgz} name: '@rush-temp/arm-machinelearningcompute' version: 0.0.0 dependencies: @@ -14160,7 +14160,7 @@ packages: dev: false file:projects/arm-machinelearningexperimentation.tgz: - resolution: {integrity: sha512-OYkyl03cGJsACz45XgaiWIe07JBR2f7kNlZ0swdEQCEf8I1hyIR9CDUj2xLp5QCSu3xkZYYydsNkc/JRByvfLA==, tarball: file:projects/arm-machinelearningexperimentation.tgz} + resolution: {integrity: sha512-gt/vWjuLRNjteUCKHvO5TS3RUSmRZGKbSO0HoYfMpbOFEGHbEk5KsFfIWd1EAAxPdsSdcTZIFwoPLMVgQd9Tsg==, tarball: file:projects/arm-machinelearningexperimentation.tgz} name: '@rush-temp/arm-machinelearningexperimentation' version: 0.0.0 dependencies: @@ -14186,7 +14186,7 @@ packages: dev: false file:projects/arm-maintenance.tgz: - resolution: {integrity: sha512-kjqfmWTpo8W9kY8shCmf6Io4errlZsIlKdjX5gYK5H/d4Q9j3u0peus/PoRRyvvyA9lcUn8lJaX2tdMQ6T/48Q==, tarball: file:projects/arm-maintenance.tgz} + resolution: {integrity: sha512-MI2c0Im6UynSuR5Uq5YnvOAAXrqhQqxkKZCA6IMVW8YfVrYoNYe1jdN5rr1ypui2qzPQyXotF5GCarFTzieXeg==, tarball: file:projects/arm-maintenance.tgz} name: '@rush-temp/arm-maintenance' version: 0.0.0 dependencies: @@ -14209,7 +14209,7 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-N3fbeDoLtcD0GU1XLcmQ9h3q3Gldu2n/p/hxBiik9/1oET7LJAx039OABFPns6RndBfL/wWs17rObro+h5avzA==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-z9xI91ffbDjPiBcjD9VdcuJhsEY5M5egMWPt4xir5jzBuFeEnS7Y8+FmWPK7bO4H2GUeHocj84QP/ONDJRJn4g==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: @@ -14236,7 +14236,7 @@ packages: dev: false file:projects/arm-managednetworkfabric.tgz: - resolution: {integrity: sha512-Wi0nSeVYDycw1cE7H2X6bE3+PpWqcjma/dNVkq2pJSXLXyaUV4b5sFdntpFAYRi0/k9HCHqKg7xDGLTkesBXaQ==, tarball: file:projects/arm-managednetworkfabric.tgz} + resolution: {integrity: sha512-ZbU0UGsdKg1ggjUwgSawD2oXUnagxzCTTbVdC5fiqxbGYNRFGtbEcqdQGUgGb5IU+UpvJkqaZqzuEc8gjfLGVg==, tarball: file:projects/arm-managednetworkfabric.tgz} name: '@rush-temp/arm-managednetworkfabric' version: 0.0.0 dependencies: @@ -14263,7 +14263,7 @@ packages: dev: false file:projects/arm-managementgroups.tgz: - resolution: {integrity: sha512-0UKzIXCBsUupADwl2byhyu4XG2crzS9i+U6U+0cjyxVmnESf4VnhQTifPEmPP5gUuEWdSIOoUK2Hwpz+PG/5ug==, tarball: file:projects/arm-managementgroups.tgz} + resolution: {integrity: sha512-s0mqpXpg8eD8wEi8JkzlamkYBcI76ejUnopFOqYtzuPdSCss7kyRCgJB0yTfffppJGtFtUumb8XmeQhPVCtSDQ==, tarball: file:projects/arm-managementgroups.tgz} name: '@rush-temp/arm-managementgroups' version: 0.0.0 dependencies: @@ -14289,7 +14289,7 @@ packages: dev: false file:projects/arm-managementpartner.tgz: - resolution: {integrity: sha512-IF6H7AnZnkFZWENJSEZNzQHPHjsfSoFFrSgOI+vk37e4tqzkamHSiDAxQ9W/SGNGQ8HSCOM4Q7KlcHjq8yAshQ==, tarball: file:projects/arm-managementpartner.tgz} + resolution: {integrity: sha512-Gq7RcRovLCcsVOkCAwWzJTjoPGUv8DSHipbdRsH+ucBOSUOeNKzM7h2Lyyq0cuVnh0BWukFLIZty90YoFz/L2w==, tarball: file:projects/arm-managementpartner.tgz} name: '@rush-temp/arm-managementpartner' version: 0.0.0 dependencies: @@ -14315,7 +14315,7 @@ packages: dev: false file:projects/arm-maps.tgz: - resolution: {integrity: sha512-agfD4qX+o50Ekio0JBFFn6RCuKxyHhbgPsSkaQQIL2dFujCioO0+xYsEtTdVac15A0Dwn67BnmmaZ1Ab34tPSg==, tarball: file:projects/arm-maps.tgz} + resolution: {integrity: sha512-WhX4N25LBBYN7SL8GJKG+Aip7EOxNnzCiHO62a+tjzDi7IQdYqEag9PYgQWIPeXIEjPDwQYXWs0IxWezpKXHUA==, tarball: file:projects/arm-maps.tgz} name: '@rush-temp/arm-maps' version: 0.0.0 dependencies: @@ -14341,7 +14341,7 @@ packages: dev: false file:projects/arm-mariadb.tgz: - resolution: {integrity: sha512-tghXzgIS21MuAyqS1jOGPrdbZv9Hd1p4rJVzjUVWfSadkrQItK2YvEEJWOn2JqAXLaWWqwxX26QUZTl7yncVNw==, tarball: file:projects/arm-mariadb.tgz} + resolution: {integrity: sha512-hkkf3sqSYlJxOsPDGpyck79cYSGPzEpXwR6kCT8z5SdMFZXdCWdqXceF1aDvgGdkbmy60W1G9XypaG766OncnQ==, tarball: file:projects/arm-mariadb.tgz} name: '@rush-temp/arm-mariadb' version: 0.0.0 dependencies: @@ -14367,7 +14367,7 @@ packages: dev: false file:projects/arm-marketplaceordering.tgz: - resolution: {integrity: sha512-rb5lQQ5oXCIJv9XFZGKDW1qZzifQiD97L1QNy4cdIGdHDuB7uIyy8QDUqtboLtbXhIx7cNHUYLz4fzI3lvPZRw==, tarball: file:projects/arm-marketplaceordering.tgz} + resolution: {integrity: sha512-zvCYLSd0ec+xRNabD61PlLxStZUpWPzgVHYrxSh3XPEGAv1Ve6POpQHq6qLezTf4IT+dhKKnu7RNc7J9pRc75Q==, tarball: file:projects/arm-marketplaceordering.tgz} name: '@rush-temp/arm-marketplaceordering' version: 0.0.0 dependencies: @@ -14393,7 +14393,7 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-A3xjc3oOztajBb8pvx47udRILsYQo9QAukxl1tkdnffKe/vzTSflE3GiF0oTc5Ke53yvJ+NDeNhagc/JdF6lsg==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-yHjL1QSXTarHl+d7DJ32nvmVRSqBpEdUeMYhsuyH4Jocg6/aV+IYBMkS9Cdv2uNIHBAl52RKljBHuLbPgo3E3A==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: @@ -14420,7 +14420,7 @@ packages: dev: false file:projects/arm-migrate.tgz: - resolution: {integrity: sha512-bTK3V6BA+qhXeTTOI0lFjr9C8QARhDSV9Qekdasj1wg3lvzHvjoAc4SijixrkmmX/+DJi700s7gNHWZ3yMqT0g==, tarball: file:projects/arm-migrate.tgz} + resolution: {integrity: sha512-hCPS9NHqofyzMfvzMLcS454BL2R/DN8JAL9PqFhGINLOzQNTFgsOwIJrNKHtcNmfiOvSL6nbIceQqDTT1wYf3g==, tarball: file:projects/arm-migrate.tgz} name: '@rush-temp/arm-migrate' version: 0.0.0 dependencies: @@ -14446,7 +14446,7 @@ packages: dev: false file:projects/arm-mixedreality.tgz: - resolution: {integrity: sha512-7vCC56gxh32KEZN/BZrjCfDZIjzjxxCLS8CTS0NVK+UPnUwdRqcKFzB2CRYtMSRhXQL7VKymPpBC7EWFMOd5lQ==, tarball: file:projects/arm-mixedreality.tgz} + resolution: {integrity: sha512-13C5AqoeF1aA3X/dEkkX2EKL9CPaGrgJI4Quo3oSZz2nnYZqlushDbRpIusGd9M+eUjHtHTGDJOr+UzZMcX/vQ==, tarball: file:projects/arm-mixedreality.tgz} name: '@rush-temp/arm-mixedreality' version: 0.0.0 dependencies: @@ -14471,7 +14471,7 @@ packages: dev: false file:projects/arm-mobilenetwork.tgz: - resolution: {integrity: sha512-vFnMCn9qVBX91fybM9i+Grl1zb9IvgR/SbdqrpsS0K3edmMJVahXhR44CSBI/bD2zrzFlZnCnibVWDIq3Um2fQ==, tarball: file:projects/arm-mobilenetwork.tgz} + resolution: {integrity: sha512-szV/QySx5b2H7nf86GrReqVlXdKlnnwJ/I6RYZvbJSC+0m/4VKwjh91uUPls/8lJeKNikrJ9JwSO3dewJREKpA==, tarball: file:projects/arm-mobilenetwork.tgz} name: '@rush-temp/arm-mobilenetwork' version: 0.0.0 dependencies: @@ -14499,7 +14499,7 @@ packages: dev: false file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-dl+vnu2BrgaGw9LKNVcuBPX21SqDVZfJhPGSIIrbDfDvhAzjPFaMMz0x+dA1TyBEIJK7pyfbCAHlTvRXNCKUaQ==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-bvRe/NSNhgApQLhO26K0BypSTrudhtZnqNuQUKTsOFye//bmMokoyUmPgI0BcfPOE7r9M5HuampVhkGDVs97Mg==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-monitor-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -14525,7 +14525,7 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-6D3gn9Ha2PJljQ36+u0j7ohdabHfR/aRkRY7igKH1eH808HRfL1ILNGtyH8vagXbhxpSc/Jm1VY4ONjUnmamqw==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-KFMWeVTDWQ7DtybDyeIue3k77FObLfci+uNmFwstO3KV2H3Js2pPh2ET/m9/fLS9HVawPmYopYeIyooK3VidBw==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: @@ -14552,7 +14552,7 @@ packages: dev: false file:projects/arm-msi.tgz: - resolution: {integrity: sha512-BMO9vXPRb60znRHUsJN+ulMKhQs5up6fcbCygECEZoflg+808XG0a0ZDlmqEUvu9LwTfHrqh2WR4WO6EAI4Okw==, tarball: file:projects/arm-msi.tgz} + resolution: {integrity: sha512-0Pab7Rr7IkeH9SSyYCIwoTSvuboNjsNShcia3MM0gC7Zb5P1oiqrZmaSR9x3kcXM0jIhNVPWLhlPyjCccj/awQ==, tarball: file:projects/arm-msi.tgz} name: '@rush-temp/arm-msi' version: 0.0.0 dependencies: @@ -14578,7 +14578,7 @@ packages: dev: false file:projects/arm-mysql-flexible.tgz: - resolution: {integrity: sha512-8JCxVQpJ/UrcNreJrV/su3JvVheYuOYrQQA0Tgl0S+qwW1+nyFQKVgiKI2OrfEq56ao40YmxH1sO4T9gXXoqQg==, tarball: file:projects/arm-mysql-flexible.tgz} + resolution: {integrity: sha512-pgb3+CqlWoa0VN6+vrAX2ATVtm6CHSynJA/9DT6on+GeVAfRyHjkHpFyljVJ4LDbIj8QPV7d4zPJj9ecez/niA==, tarball: file:projects/arm-mysql-flexible.tgz} name: '@rush-temp/arm-mysql-flexible' version: 0.0.0 dependencies: @@ -14605,7 +14605,7 @@ packages: dev: false file:projects/arm-mysql.tgz: - resolution: {integrity: sha512-DuYXV8ywKCyCOqvy/RkjKmgCsjyHoukxKWWgVqMzJoKUjKqvAwWwqRNKOMQFlSl27Qgtz9KwZTuByZLAu2TSeg==, tarball: file:projects/arm-mysql.tgz} + resolution: {integrity: sha512-XqZPBHi7/k4aAtuJfDsGvb/NS0gWr1XZIy2K0jKElW6cBx6PNWs7W6GxfJYm3Fc4P0Ud3M9iC8XOZzJeWXWgNQ==, tarball: file:projects/arm-mysql.tgz} name: '@rush-temp/arm-mysql' version: 0.0.0 dependencies: @@ -14631,7 +14631,7 @@ packages: dev: false file:projects/arm-netapp.tgz: - resolution: {integrity: sha512-NRbSU4tJHEd86VfwKHMbcal8t80wxgIPUPDqTeSleNgMA45Ri9gMA2nly60ouqM7yEO4OdIF9GTPflKSfSMPIg==, tarball: file:projects/arm-netapp.tgz} + resolution: {integrity: sha512-iOr22rUz3RnnZpiCDvp3RSo4bmPK1WzN4Xu5OF8wdmzW5Yg59oQVQlTOHhwNzvs/cA11omf0ttR4TmNaj/F68Q==, tarball: file:projects/arm-netapp.tgz} name: '@rush-temp/arm-netapp' version: 0.0.0 dependencies: @@ -14659,7 +14659,7 @@ packages: dev: false file:projects/arm-network-1.tgz: - resolution: {integrity: sha512-+/uTgvdvzxGR+YCty75Sy6WOIEQArVbrpD6ZzEfrxrRpqW36HQjs72d77+73qPVQ08fpigR5eCASUK5H0DsCGA==, tarball: file:projects/arm-network-1.tgz} + resolution: {integrity: sha512-kcCcRRDpCucKA17wiiYbOvna84m4alTq68FhRTv6QtZa5OGACaE/se+vJokITCz1d5toOujUCyZ6jjkdbrWSPA==, tarball: file:projects/arm-network-1.tgz} name: '@rush-temp/arm-network-1' version: 0.0.0 dependencies: @@ -14687,7 +14687,7 @@ packages: dev: false file:projects/arm-network-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-n8OBZplXnDp2IaXRrCLs1RHbR3Ph26+xJ+ozxXXiIwcaMRuFXbKGndcp65ZBf2Lzhp6CYf8ENxjwZhcaWF2iEA==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-vGL8maSCsP4+A/VcT0n7E4kPLPeDkN+z8lnLwrD8NYL2XkEikZJgZnRvGySuYneq7VX0XSyCFEniWi0qgqHP8w==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-network-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -14714,7 +14714,7 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-kNzFAFbkScvpU83Brkv7+Xumi+cyecIi7AtqDR2pjMzh8axkMpFJYo4CeZ8OA/XWCYhhy8s/0X/T0ikqBmOqMQ==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-WCYYl4zMaZVMCmqqiXuPZsz5cTohQhwxXACt1UDMGuFiuoUWhf2Dh3XaZdb1ttsFrQLdP1ttj9IRqsneaJAicw==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: @@ -14757,7 +14757,7 @@ packages: dev: false file:projects/arm-networkanalytics.tgz: - resolution: {integrity: sha512-eVa07skT/98o2bwqgqQbEN1y/UwzoFOOIfUg/YWFWz8w7iYzktIN8GyeblJMnmB2J2/Lo8hQdgD8mfK3XVu9AA==, tarball: file:projects/arm-networkanalytics.tgz} + resolution: {integrity: sha512-C379kFhClyqTlThUmNlHIfBUkJ/D7Bpz8FpPPH/VxT9PFHeBOBRugg8DETWzEFhPjgFTB6GbV2YiXE5dGkApkQ==, tarball: file:projects/arm-networkanalytics.tgz} name: '@rush-temp/arm-networkanalytics' version: 0.0.0 dependencies: @@ -14785,7 +14785,7 @@ packages: dev: false file:projects/arm-networkcloud.tgz: - resolution: {integrity: sha512-5U7IR+K+XD3ZgdWffdSQYig4W1ZH4Ygv/Qm0tvr56EJdMhS92Mkf7HAAwM8FchVGfTvnw/1EbxQzr1eV9vH5Jg==, tarball: file:projects/arm-networkcloud.tgz} + resolution: {integrity: sha512-lHFuUQGaeh5CAPFom7EBU205L9RjGTXNcD86s3bMYtEMzJVKHMmWvLgrBLqHIiNxby+/h+iHbsyoZ4VXfH0mPA==, tarball: file:projects/arm-networkcloud.tgz} name: '@rush-temp/arm-networkcloud' version: 0.0.0 dependencies: @@ -14812,7 +14812,7 @@ packages: dev: false file:projects/arm-networkfunction.tgz: - resolution: {integrity: sha512-CYeCrMf5U8k6SLzsdcQ5ggVkADzKiiaIosKS6x2pHSFN+LJnimFz5sDBqGQWWVFTZ7I+Jlbd9ChwS5fosauunQ==, tarball: file:projects/arm-networkfunction.tgz} + resolution: {integrity: sha512-KZtJhK9jMRd8AGlVF8Zr6UkasQw+09EZ7N3jEA2pIXTU3VKUxD225fEIHE6Jvu/ex9zHxXQF9h99ZOtmhRw1zA==, tarball: file:projects/arm-networkfunction.tgz} name: '@rush-temp/arm-networkfunction' version: 0.0.0 dependencies: @@ -14838,7 +14838,7 @@ packages: dev: false file:projects/arm-newrelicobservability.tgz: - resolution: {integrity: sha512-RV/rEbAea/GJm0UZz3pkJIJcbXvrdpu7PQ2zzkmBe4CBJIOfRx5A72xSiHTMfBxelILrOI+CYprGgcyR99VVHA==, tarball: file:projects/arm-newrelicobservability.tgz} + resolution: {integrity: sha512-rpHNN2J/aRPUeyJ5MQN60/o3zTXZ1+Bp4N5rFBaYqKSmkiafq6D/BFB8qBt0C5UsAXJ94rkHbHB3Ibt9sCmPCA==, tarball: file:projects/arm-newrelicobservability.tgz} name: '@rush-temp/arm-newrelicobservability' version: 0.0.0 dependencies: @@ -14865,7 +14865,7 @@ packages: dev: false file:projects/arm-nginx.tgz: - resolution: {integrity: sha512-LoqehVB1afT29IOfLh7Qk5tO0L+Shm6R2NDTuhARtR741dNCcFgJGvcwfG15h9SoMvNE0r9dToFU1gMloGTLsw==, tarball: file:projects/arm-nginx.tgz} + resolution: {integrity: sha512-UWfk58+Oa2IygrftoJrMt9kBO7RG4+g5qZrjrOz9AU8m2sC8BJFh7NybgRl9wgLy8ESHQR6HuUNpy3X5ef7wwg==, tarball: file:projects/arm-nginx.tgz} name: '@rush-temp/arm-nginx' version: 0.0.0 dependencies: @@ -14893,7 +14893,7 @@ packages: dev: false file:projects/arm-notificationhubs.tgz: - resolution: {integrity: sha512-rYlo0JazS9ve5klUc/aiIhXXOIgbJbx8M2e15ca5lO0/sru70lwYf+n+vtZTF9sf5v97HIp1K0Z5uXbclPXz3g==, tarball: file:projects/arm-notificationhubs.tgz} + resolution: {integrity: sha512-fIRMtCbLVjIOQ5G8xnv5ZeSpUrFbk5r3Pq6nG9O9vTzA0yS5HPh28qKoN/nCC3Ug272nwfPyoqC/rHGCy73OZA==, tarball: file:projects/arm-notificationhubs.tgz} name: '@rush-temp/arm-notificationhubs' version: 0.0.0 dependencies: @@ -14919,7 +14919,7 @@ packages: dev: false file:projects/arm-oep.tgz: - resolution: {integrity: sha512-W2JLaTRac7XuiK7TPX1mg1OXbgxFgOlT3c9+6mDVnYX4Qenf5XQxyM9bwU+GFy27UbdwNCVUUlOk//N105W75A==, tarball: file:projects/arm-oep.tgz} + resolution: {integrity: sha512-t6u76TnsGnAmlGbpqdCXMkxVauewsXOU5uMTa552sVAEQdbiWDNm/UW7a66kXHF75nozLjwsN805S49GbM7TkA==, tarball: file:projects/arm-oep.tgz} name: '@rush-temp/arm-oep' version: 0.0.0 dependencies: @@ -14945,7 +14945,7 @@ packages: dev: false file:projects/arm-operationalinsights.tgz: - resolution: {integrity: sha512-2meQQRZ8wNZzBKcgI/FK28F+VfT9BjUEX64C4tihf/SuiDk0PsLcvAcyNUE/K+Mbi4E/A5EUpfo8XKZlLOWdHA==, tarball: file:projects/arm-operationalinsights.tgz} + resolution: {integrity: sha512-U3eZ3eHd8z7om8kCAnXMNwCPSIYcJhk90CZLUCBkSl7NITsBx1JiJfqKN06xsDxtaUbfShePCdR5DwQ02BQKYA==, tarball: file:projects/arm-operationalinsights.tgz} name: '@rush-temp/arm-operationalinsights' version: 0.0.0 dependencies: @@ -14972,7 +14972,7 @@ packages: dev: false file:projects/arm-operations.tgz: - resolution: {integrity: sha512-rU1KcAVB5a73D7Lzlk/LdLNUuP6jRE4cO4UqMu2WJvUbMTiOjw5gvTnQFGJaAKv8HpSQiKpAmkpRQR7sLQyhDg==, tarball: file:projects/arm-operations.tgz} + resolution: {integrity: sha512-lKHnf3Xu0AuswthpPsxGiD/o4HgJvblVMjwzgJkqbgQFQ4AUzNfyJuHrPMaGhTEZ6Lw1Fv4RGtaQ7utgv0uOXA==, tarball: file:projects/arm-operations.tgz} name: '@rush-temp/arm-operations' version: 0.0.0 dependencies: @@ -14998,7 +14998,7 @@ packages: dev: false file:projects/arm-orbital.tgz: - resolution: {integrity: sha512-IX6tWNe/hn8+TwVP/w7wkL1MR6SoY9h7kb8iGEydUQYzRtsrMejspn3FeueTKomFLm8dTcNh7bEmVToc//1cSw==, tarball: file:projects/arm-orbital.tgz} + resolution: {integrity: sha512-hgr56YVgVrp4AWSBRRO+eXakXPaKbvW9hiWWeSKQ6uPLdMyOtLj/2jqlGx/JnYF9ezApeO9Qqq9RPQ8ekPgPCQ==, tarball: file:projects/arm-orbital.tgz} name: '@rush-temp/arm-orbital' version: 0.0.0 dependencies: @@ -15025,7 +15025,7 @@ packages: dev: false file:projects/arm-paloaltonetworksngfw.tgz: - resolution: {integrity: sha512-+s2/hTPQ+ei20+UDdn8CBJQzWlXSJvPHr3Bg4OuBmN1MVrpQXVDOHYCWWiNTNX2slbijSSYxFj92QWohThNHXQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} + resolution: {integrity: sha512-SaodGf9bzBLZLfAkVcSdAodHHLKlf3LHYIN2WpwkAdXKzm4OPV/+MD7F+IMZmQRDH8jY8pfipka6l5UBUFbLbA==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} name: '@rush-temp/arm-paloaltonetworksngfw' version: 0.0.0 dependencies: @@ -15053,7 +15053,7 @@ packages: dev: false file:projects/arm-peering.tgz: - resolution: {integrity: sha512-lXwbKHE+kLncbCu9W38TLsHU7x1aRFAr0o+vr8CXdg/GL5dfZy/N2j4KmsyDsoQCw8oDL14Cf+3PmLeMuYhOHw==, tarball: file:projects/arm-peering.tgz} + resolution: {integrity: sha512-D50MbbCIU7dROP13vBGg8huf4BcgOfX1A5slhQl3FljZf/BLNPVbpteXFq3pW2dy6okf0vX0W4hJ5pA2sRw0ew==, tarball: file:projects/arm-peering.tgz} name: '@rush-temp/arm-peering' version: 0.0.0 dependencies: @@ -15078,7 +15078,7 @@ packages: dev: false file:projects/arm-playwrighttesting.tgz: - resolution: {integrity: sha512-pG6olWt7L7JsG4s9x7zEbcQ5wVS/YX1qlky6SJ4O8/2tuJJYPzYRgJO6w7GdbWoYlAQ1R1r0VBDgAnzd81Ul+A==, tarball: file:projects/arm-playwrighttesting.tgz} + resolution: {integrity: sha512-GQRU2WfX0EcPUhfoOg5AXo8isYzO5E+XD8bytsRHJAmveO5YbPR5dfWwsh8AC4G5LyRECwlT3lPU7vsqO9tJ7A==, tarball: file:projects/arm-playwrighttesting.tgz} name: '@rush-temp/arm-playwrighttesting' version: 0.0.0 dependencies: @@ -15105,7 +15105,7 @@ packages: dev: false file:projects/arm-policy-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-go9w+7mOsGtYi3Viey3b99MhKRQqhF//XFUm0ei7LhAx7hRJP0NAKRFOCkPlbQtkvcV2+PHHTz17vKvywrRwFA==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-daCTRIg+BaW4bMj3vfD3307Sj+DQLIEE5A2sTgWOy8prOY+HHK+Whq8qWIQGCHHWpndJdIPn6K5JqQo0cLQfKw==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-policy-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -15131,7 +15131,7 @@ packages: dev: false file:projects/arm-policy.tgz: - resolution: {integrity: sha512-yNOGGaF6RoZGDJVtJzD6wzmS6iEYxO5ynOFk3nmGYInwvvMflwXQfmJsRmr6+53W/2VeaaD2/2N9kJSy63t+cA==, tarball: file:projects/arm-policy.tgz} + resolution: {integrity: sha512-WbXTxlN1HXjthJGkYbxuNYqHi7Vp0zFyXJL+7ZOOVHTst9h9MPSTCKiaaucFTO1Y1vXNhFpwGx0zCwFBVnkE7g==, tarball: file:projects/arm-policy.tgz} name: '@rush-temp/arm-policy' version: 0.0.0 dependencies: @@ -15157,7 +15157,7 @@ packages: dev: false file:projects/arm-policyinsights.tgz: - resolution: {integrity: sha512-Ubp1h97y95ITQcHXqzXBimE6lZyqAvK37h/GnRkSW9f60zDpoI0ZV+rR49BApxDM+XgNjSetdj7GYnO87HQwPA==, tarball: file:projects/arm-policyinsights.tgz} + resolution: {integrity: sha512-Wi9SBGLJj0ddw+VriIN7r6euxM+NXXeDis38uBVjSZ9P/0xoseURPrG2fAi3H6hRg9BzZCKG0VXJmROFoeduow==, tarball: file:projects/arm-policyinsights.tgz} name: '@rush-temp/arm-policyinsights' version: 0.0.0 dependencies: @@ -15184,7 +15184,7 @@ packages: dev: false file:projects/arm-portal.tgz: - resolution: {integrity: sha512-aUtjZXVWEV1kQ0I++7UeGkqlkQHxOTI3T9nwGfTPcGqcoFfMzDF4gI+Jksl4n3nCK1V/+xMORKjq8AyAqv80MA==, tarball: file:projects/arm-portal.tgz} + resolution: {integrity: sha512-hSbE9iLfYLPalJsdMcVJFJhH38YitG/OFBs47ksnPNC33YDM/MKcZskNKFgZJVidWU8HCePPptsEUBY5oLGXWA==, tarball: file:projects/arm-portal.tgz} name: '@rush-temp/arm-portal' version: 0.0.0 dependencies: @@ -15210,7 +15210,7 @@ packages: dev: false file:projects/arm-postgresql-flexible.tgz: - resolution: {integrity: sha512-l0Hc7dJBOdXsPU6AZ4XQwmwsq9bjfTIm4CLaCTTbS9wrvs3lJn/HshqsF+shfCdRhQPCX9zkLOIhKutTsWr3QQ==, tarball: file:projects/arm-postgresql-flexible.tgz} + resolution: {integrity: sha512-l0vG6NpEp/wDV8Fotsu59mf16K2gelt+zcA4oj2F0rlCR/LPDYIs29GS0P6hbBz8cvJhbeYGxLENs6r1RVKIXw==, tarball: file:projects/arm-postgresql-flexible.tgz} name: '@rush-temp/arm-postgresql-flexible' version: 0.0.0 dependencies: @@ -15238,7 +15238,7 @@ packages: dev: false file:projects/arm-postgresql.tgz: - resolution: {integrity: sha512-CptivthfIHVSB872YnVp+04iZT1QbtjTwan7ofIfqCCVNPJhJaLIFOJBEzfrDKgQbjqGxwef/RZOxCDQYXjE/g==, tarball: file:projects/arm-postgresql.tgz} + resolution: {integrity: sha512-peChyhngjehOzXvYEcyUfOLQHbIYDokqPJSPUbF2tZztfHli7TaxfDi6acUqqFWblFynPXEqno/lks/zqDyqhw==, tarball: file:projects/arm-postgresql.tgz} name: '@rush-temp/arm-postgresql' version: 0.0.0 dependencies: @@ -15264,7 +15264,7 @@ packages: dev: false file:projects/arm-powerbidedicated.tgz: - resolution: {integrity: sha512-1ygB7CocxkBTVDU1aNKzcXEJIVXR232if7qIqWgJbrrEc3/drPabZY7yZwx+BAx8+nnYBRmoXlHj4cgt8B6mvQ==, tarball: file:projects/arm-powerbidedicated.tgz} + resolution: {integrity: sha512-M2w7gLP7AaNWXOmGMybvslB9rjZPMyp/LCLZ5C82XUDrBApj13JXkmAKW7E1nrEpM+uHNeFZYxdgKRY7BmN+HQ==, tarball: file:projects/arm-powerbidedicated.tgz} name: '@rush-temp/arm-powerbidedicated' version: 0.0.0 dependencies: @@ -15291,7 +15291,7 @@ packages: dev: false file:projects/arm-powerbiembedded.tgz: - resolution: {integrity: sha512-xre2TRGSBURbDobcJuFcCUO1p/j4VTO0rIb9gpuW8e7G6fAmG6zMwXwWo4YPes5JY5WxhkWvQiYXvI5e7Rfm4g==, tarball: file:projects/arm-powerbiembedded.tgz} + resolution: {integrity: sha512-v30RZx5lHvckZs8LUSmyPVQTMt9wlu1jG9OhAv36emSfHBPgHN+bz51/oXskpuDxJbHo9q2mBl2ZKgakU6Oulw==, tarball: file:projects/arm-powerbiembedded.tgz} name: '@rush-temp/arm-powerbiembedded' version: 0.0.0 dependencies: @@ -15317,7 +15317,7 @@ packages: dev: false file:projects/arm-privatedns.tgz: - resolution: {integrity: sha512-QefzGvaMGh2N84x63j6Z21gkuvHNxRSeioy4eDFRCJyD8iDHMoTrH08lMYm9KXOT6jVeEy5toxbTnFlyJkeLtQ==, tarball: file:projects/arm-privatedns.tgz} + resolution: {integrity: sha512-Owyi/sW3OnSgfBZCMs9p3CSN29a85/2MeqF8KtEqByvx1sdvgIAhKG6xJPJD7I5K6vjonQFXN4UqdLJJCtwZ0w==, tarball: file:projects/arm-privatedns.tgz} name: '@rush-temp/arm-privatedns' version: 0.0.0 dependencies: @@ -15344,7 +15344,7 @@ packages: dev: false file:projects/arm-purview.tgz: - resolution: {integrity: sha512-uqDrajphw9p6QOf9FJLpgHOiMGbGW+v0TPsJv5kaIijnsGkLQH9d/WbWu8UqQpw7TzCSuHPKNFfIj//28NX85g==, tarball: file:projects/arm-purview.tgz} + resolution: {integrity: sha512-EKh0mcNmZ962zexTkYoSWdJyPqL1xM+jBIFLZobUmysjhjy3ZrLs1Wq25vtnwVmLrFRA6+GXgGokMUy3U6EHsQ==, tarball: file:projects/arm-purview.tgz} name: '@rush-temp/arm-purview' version: 0.0.0 dependencies: @@ -15370,7 +15370,7 @@ packages: dev: false file:projects/arm-quantum.tgz: - resolution: {integrity: sha512-E+SLvnY6Q/hQe5YByCzvJmTqRO5s5GoIY36SqXrluKt2z3qdm3sOhCi/W1qTgzQyDAuVjxozfk+RedtFyqgmoA==, tarball: file:projects/arm-quantum.tgz} + resolution: {integrity: sha512-iAbBteHdlTQJD3jdniPRHOTdhPJ5hVzfbC950PzZbe/hwEdZrAxiGjDDnIFqsOdoIdJbsD26fFyrEUAssYybvQ==, tarball: file:projects/arm-quantum.tgz} name: '@rush-temp/arm-quantum' version: 0.0.0 dependencies: @@ -15397,7 +15397,7 @@ packages: dev: false file:projects/arm-qumulo.tgz: - resolution: {integrity: sha512-MI4fvQ+lQdkjYo+sJqbb2hU4v8VdFtmTEz1N3H6oG2y3wY2GOIK9g67GVmrTThKdkGqMhOlN5+O7sdQbIvGXaQ==, tarball: file:projects/arm-qumulo.tgz} + resolution: {integrity: sha512-TYsVKnyavgakQ4tuP22Cfdxd38KuCn8pO1WfTu/KdJdr9tZPZVOFqBGpTaz88X7DOlHW8ZTiePiEh2JfFCwJWw==, tarball: file:projects/arm-qumulo.tgz} name: '@rush-temp/arm-qumulo' version: 0.0.0 dependencies: @@ -15424,7 +15424,7 @@ packages: dev: false file:projects/arm-quota.tgz: - resolution: {integrity: sha512-SliWaIN+Rcv9IO/Jg5OpZ8rxNzffNfZJOa375V45hPzipbZhzW0s+9MaxYzA3zFcbuiL7UMLpoOVYxWMQejEzQ==, tarball: file:projects/arm-quota.tgz} + resolution: {integrity: sha512-NCB8Nen24P4lV4Wy+a95Sw4HrMVkqcklyfs3HMOb0IxFrpThJiOJhS1rXkvD5Ec1okfBfNPcwzWQLvt3HOEjWA==, tarball: file:projects/arm-quota.tgz} name: '@rush-temp/arm-quota' version: 0.0.0 dependencies: @@ -15452,7 +15452,7 @@ packages: dev: false file:projects/arm-recoveryservices-siterecovery.tgz: - resolution: {integrity: sha512-pqUwcQ5NFAsDMe3rFzpiETLKy+7Xp5RvAFdkXVndQLJFhO4i8cVrO3I6YwTzRgqV0G88fmuRuussyvkcCQrfZw==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} + resolution: {integrity: sha512-S2FAwhwCd3PXIbmrG7Iw5Q51t9T55NCIS7av39X9XHBedTt3bZVtWSXX2TyTDK9xpKg+GaMtrZAgn20hv+JT5A==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} name: '@rush-temp/arm-recoveryservices-siterecovery' version: 0.0.0 dependencies: @@ -15479,7 +15479,7 @@ packages: dev: false file:projects/arm-recoveryservices.tgz: - resolution: {integrity: sha512-5LueYEhL/PZA48XisOKEPlMFyhYI65Vp+0bVRqBUlJblynIZmxgDEJe6yG1nApMapxwHsgsosEP87ULGXTE25Q==, tarball: file:projects/arm-recoveryservices.tgz} + resolution: {integrity: sha512-tVT+xZrZEUhyvHFTav5VHymnFra7FCWn0Pe68evnSTpgWV9qxuRkhAAOwaPgMV6DXv8ijElElz73IcJ16OdMYQ==, tarball: file:projects/arm-recoveryservices.tgz} name: '@rush-temp/arm-recoveryservices' version: 0.0.0 dependencies: @@ -15506,7 +15506,7 @@ packages: dev: false file:projects/arm-recoveryservicesbackup.tgz: - resolution: {integrity: sha512-CgDiJWEfBie5uPa9+Dm/wsTvLuvtJjhMB41s1uiteo4ApKDyqJhEEaSONEdpQG6LIgfrJiywobzqGUjNIfMEAg==, tarball: file:projects/arm-recoveryservicesbackup.tgz} + resolution: {integrity: sha512-vJd7uw+vO2EWOgb4Q2VS1w730vcEK4IKXWEdHKeULLiKQkOMC2R5yv+ScT4W5qLrpPWxofVGdtvlTChaVFuxNQ==, tarball: file:projects/arm-recoveryservicesbackup.tgz} name: '@rush-temp/arm-recoveryservicesbackup' version: 0.0.0 dependencies: @@ -15534,7 +15534,7 @@ packages: dev: false file:projects/arm-recoveryservicesdatareplication.tgz: - resolution: {integrity: sha512-24kYQGbM58lv5R/61dogsGUC0izDyJKrMTR3KWJKYQH76CtODDn71J0E90qeyXrjRuwGqw+b34eZCaUqyUHX5Q==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} + resolution: {integrity: sha512-+BeQXBTf7kqyP76WWTlQv4QWnH7jTEp5YeFTlLmFPqNmW0Bc/Eo3A1CwWk5vXlax+CluToqUJWWwOlY0t+2djw==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} name: '@rush-temp/arm-recoveryservicesdatareplication' version: 0.0.0 dependencies: @@ -15561,7 +15561,7 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-L1eYllKcldF+ZGi89BhQK/yYZY7srcFTmZ17+7qEWc5fyGuU1n1m5S97F8dOQO+Dp7gU4RmPt1l+QnVDCAEutA==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-En5O1RlPCOosLGiRrlspz+glF4NF5vv7ElrGc9zyMlyhSfs6DKE59Cij0Gt8Us1sd13m5j0dNYjl/zgOLaWmdA==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: @@ -15589,7 +15589,7 @@ packages: dev: false file:projects/arm-redisenterprisecache.tgz: - resolution: {integrity: sha512-gb/LDTDUo/IZ0j4QGz0AqgTrwzajn1kEmvbRquBDz/h3hLgRLICUZUBBY/BoTLZlJZMNNwphiTX/RuXDcx0++g==, tarball: file:projects/arm-redisenterprisecache.tgz} + resolution: {integrity: sha512-luNnjN7wa9aYAXSLOhi2IDQrXNSgJG+nsJbsi0O+Yjvw5a0W+zxeOpHeJG4ZnhtQwEZjm28cfUjDbSa6cOjjyg==, tarball: file:projects/arm-redisenterprisecache.tgz} name: '@rush-temp/arm-redisenterprisecache' version: 0.0.0 dependencies: @@ -15616,7 +15616,7 @@ packages: dev: false file:projects/arm-relay.tgz: - resolution: {integrity: sha512-7XUyaOalykylPc76bXFXyACbmGQV9SPIQ25XgdV8NH+yB30ViVMBZ6XNHBAJAqQ3RQ3TbgUKn0gDJZAEesmQvA==, tarball: file:projects/arm-relay.tgz} + resolution: {integrity: sha512-xGJ5lfz2EYphl/RMHvkw2V1ncztSs4i1jlH9oyD65ZNGXWIqI2OyDs/6YkXlAfqj3RvFaGdRg1Gc6cRU7MqqLQ==, tarball: file:projects/arm-relay.tgz} name: '@rush-temp/arm-relay' version: 0.0.0 dependencies: @@ -15643,7 +15643,7 @@ packages: dev: false file:projects/arm-reservations.tgz: - resolution: {integrity: sha512-rYQizR/lsas90viqyg/V2nQyg7tB8PiqrKNnyUBopURx9ObOtl0tcCbZ42H9g6PYfiHW0NDqbfJoiAVKx8M8zg==, tarball: file:projects/arm-reservations.tgz} + resolution: {integrity: sha512-gCGrdsfTgukt5ueYJMChKX4saZOgWI6z92uvzq6bzS6cl2euBxHAHJdwtVPrd7A5/Kc2p7xwZGOVy+Kc0uZbXQ==, tarball: file:projects/arm-reservations.tgz} name: '@rush-temp/arm-reservations' version: 0.0.0 dependencies: @@ -15670,7 +15670,7 @@ packages: dev: false file:projects/arm-resourceconnector.tgz: - resolution: {integrity: sha512-VbV+ZIVvC6Z76qJf9K4vOAzvbAq7fLccRCZjZ+w+DfqOP30LZS92CLMKfii/4TYMYzX97LMCpgHHUR/G5esJvw==, tarball: file:projects/arm-resourceconnector.tgz} + resolution: {integrity: sha512-FYxjhq6QE9QCtbgomlIHqewU/DeQGmrwU7IVfRDk/UG8fj6U+HSLOvwejCaiXLldTYluI8ur5l/amh2JnhUICw==, tarball: file:projects/arm-resourceconnector.tgz} name: '@rush-temp/arm-resourceconnector' version: 0.0.0 dependencies: @@ -15697,7 +15697,7 @@ packages: dev: false file:projects/arm-resourcegraph.tgz: - resolution: {integrity: sha512-P5XVGAML/V5bvkC9m3oTXmMOVQTR0y523zTmPyIq0youGCw5qUPI+87wOIXzO90IYLikU9WjcHDxnM4J0Rl2pw==, tarball: file:projects/arm-resourcegraph.tgz} + resolution: {integrity: sha512-oKlzdeJ0fR2BHumfl7mgE3CbrXkE8XlpX3mkGXwXavNABjNuEzT0Is7y3HyvkjqDfH+UWm6yC3clXl7MPrJW7A==, tarball: file:projects/arm-resourcegraph.tgz} name: '@rush-temp/arm-resourcegraph' version: 0.0.0 dependencies: @@ -15722,7 +15722,7 @@ packages: dev: false file:projects/arm-resourcehealth.tgz: - resolution: {integrity: sha512-QKYu1rCesMdlYKEKRHiTU1UeDDxNFERyKyXDh2847lxymwPP/D1MRzCP//Ctri6pe2jvXNUIZQ7fGV9ufLdtyQ==, tarball: file:projects/arm-resourcehealth.tgz} + resolution: {integrity: sha512-Z51b5HFcWWH29xEmIXXHHtKVUfQypZzALV6iTjCdD0qXITxApCxJLFse21nYLA48sBUbt088A9GHYCIBD/m2SQ==, tarball: file:projects/arm-resourcehealth.tgz} name: '@rush-temp/arm-resourcehealth' version: 0.0.0 dependencies: @@ -15748,7 +15748,7 @@ packages: dev: false file:projects/arm-resourcemover.tgz: - resolution: {integrity: sha512-GfCk+cFykR+OoOwOAK4sETZulOSenwWMKQFKXow28F1TOsR7nWWRONcKMB0WOqsl4Os0XxMPF5y4uSSnAxx94w==, tarball: file:projects/arm-resourcemover.tgz} + resolution: {integrity: sha512-k7+ll78u2TfVXKR/W7UCIbPeSxCCrX8KSU+NEvUGgxNK+aygpqTmXUM8meudXQetPCcDa4TgMH/LbYA2ybzthw==, tarball: file:projects/arm-resourcemover.tgz} name: '@rush-temp/arm-resourcemover' version: 0.0.0 dependencies: @@ -15775,7 +15775,7 @@ packages: dev: false file:projects/arm-resources-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-Sc71IKeyE9iZGzpsCjFHC6YnOYcHlTlHJJDxA4VpUBQD0s+kw57QgeugPcu7DYuhP+JvojjJMdnZH993CYTCaA==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-bE2fLBv2SfErJnYVKapJ/gL70tXD90WbA2Xaz+CHIQ1VhcGXeEz8121dGJ5Gwct6Z8RnSHn4tgy3eDAheaLdEg==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-resources-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -15802,7 +15802,7 @@ packages: dev: false file:projects/arm-resources-subscriptions.tgz: - resolution: {integrity: sha512-J62egsjOnLo+55/d1P1tZeWtIm8YzsoNEGzqCcm7muh9twDKED1y3Qej51050FRvsEXXuNNHX7eMChpKWSG2Ag==, tarball: file:projects/arm-resources-subscriptions.tgz} + resolution: {integrity: sha512-vKPZQ/iGLUvg19bC4B+ymSzuqpvnvHZ64TsaeuCo+EYzpAnIHqWJ1b2UVdWimilh59z86ubXNNybqJQb16cXxA==, tarball: file:projects/arm-resources-subscriptions.tgz} name: '@rush-temp/arm-resources-subscriptions' version: 0.0.0 dependencies: @@ -15828,7 +15828,7 @@ packages: dev: false file:projects/arm-resources.tgz: - resolution: {integrity: sha512-r25xo38vbetzrqqUk0GaKk8Kuh+2MpNltKLdW24/Q5NHRO1O3Og5evTm9dVioCNcbsqupzsBAfXS6Sfm0Oq2fg==, tarball: file:projects/arm-resources.tgz} + resolution: {integrity: sha512-GPUqOtJsxSvKnFxg04XzATQd5O+Thq/CiI49hl/NYeH/QZuPbEnChCBp4reWJjsl/Dm0ioTYxwZen5U9n2wUyg==, tarball: file:projects/arm-resources.tgz} name: '@rush-temp/arm-resources' version: 0.0.0 dependencies: @@ -15855,7 +15855,7 @@ packages: dev: false file:projects/arm-resourcesdeploymentstacks.tgz: - resolution: {integrity: sha512-4odP0jLyeoFo6E5M/RXZITYRtNe5UKKKo9/K6vV7MY53m4s9hJTr5lhgKSaeeMa3x9DiDHSxWzvu2Q5XTHfRVA==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} + resolution: {integrity: sha512-3xY63F1iU0tfhNUWWq3uKuJbE6QA2Siyb+kCrdhHaHWEhDwWEC7bwKAznVjKCDrVt6YDRHudF47Y61ZwBwxXzg==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} name: '@rush-temp/arm-resourcesdeploymentstacks' version: 0.0.0 dependencies: @@ -15882,7 +15882,7 @@ packages: dev: false file:projects/arm-scvmm.tgz: - resolution: {integrity: sha512-C/j6TnI9nCjVA08+h7imBziedls/Imx9/43VkBZCYmLa0BHERHWOVH+cT/vZp31xfQ8e4vaieQ26rf92Cq1jzA==, tarball: file:projects/arm-scvmm.tgz} + resolution: {integrity: sha512-9VYMK4zkPHjIKhbX5hZ/liTJ9xB9COQBRqUI0qLLcwbbzcany3qmoey2TfDTAy5vCAYIbu03VVxAqXP40f28fQ==, tarball: file:projects/arm-scvmm.tgz} name: '@rush-temp/arm-scvmm' version: 0.0.0 dependencies: @@ -15909,7 +15909,7 @@ packages: dev: false file:projects/arm-search.tgz: - resolution: {integrity: sha512-Na4arZcPzswhzF8Fi0O0+dX7HyhCx21d/zu8uDFsqF4t7vhArbxewOFnYfMWGBubDvkRslDDUKWbZOsMI/57Yw==, tarball: file:projects/arm-search.tgz} + resolution: {integrity: sha512-g+7Hqxlm3v74YPvirCItNzAfEE+dFVKiZYfUTu8O8SUlJJqtcXWRcRu1XFd5sNrvjuPavzf61c2I1Oy3adkANg==, tarball: file:projects/arm-search.tgz} name: '@rush-temp/arm-search' version: 0.0.0 dependencies: @@ -15936,7 +15936,7 @@ packages: dev: false file:projects/arm-security.tgz: - resolution: {integrity: sha512-TuJy2eTRlhYYHoo+F0TDqQ62kAe4sR7UTJqqc9PYnXhgvXfEzdE1epHylbJz02EqktsQnlHGCzKkzzQ6Xk49bA==, tarball: file:projects/arm-security.tgz} + resolution: {integrity: sha512-EAX7vcwL5dsEHsZYcBASsK1B3/9dSv21S3lPprm2mSzkp3Fp3vtCOWTEt58EQBMge5GMfI4EHNCmdZTvylNnUg==, tarball: file:projects/arm-security.tgz} name: '@rush-temp/arm-security' version: 0.0.0 dependencies: @@ -15963,7 +15963,7 @@ packages: dev: false file:projects/arm-securitydevops.tgz: - resolution: {integrity: sha512-Z24DpbccHZi7JmTMefvvIHhmjIPzidglcuDn1zVKA/X73iS0vrxl2lKmQpgDQ1cC6uiX1JDXboEIVDrqH2jTUw==, tarball: file:projects/arm-securitydevops.tgz} + resolution: {integrity: sha512-WXjoHZJ23v7bSfz0OTijBImWpq2dkDbebnycFyiR1+/2FhlHT6vG7Mv6Dthv1+1zIS2Vn0LdSD5XU1w55JS3GQ==, tarball: file:projects/arm-securitydevops.tgz} name: '@rush-temp/arm-securitydevops' version: 0.0.0 dependencies: @@ -15990,7 +15990,7 @@ packages: dev: false file:projects/arm-securityinsight.tgz: - resolution: {integrity: sha512-sDD9b1E3SYaMxRD6FQwpy2kV18/9YOYVcoMd925aZ5sP0TqSIeZuB25q9foKjsNF6MdI286tzp4yrTDZnpjmPA==, tarball: file:projects/arm-securityinsight.tgz} + resolution: {integrity: sha512-OB40CWaKiBntB9Q+4gaq0fdckCr/6lCttOag8uwXdm/oy/JL6mA9lPcf5ZaY+Gvg938q/5zU/EkxB6kIg6Pf/A==, tarball: file:projects/arm-securityinsight.tgz} name: '@rush-temp/arm-securityinsight' version: 0.0.0 dependencies: @@ -16003,9 +16003,10 @@ packages: chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.1 - mkdirp: 1.0.4 + esm: 3.2.25 + mkdirp: 2.1.6 mocha: 10.2.0 - rimraf: 3.0.2 + rimraf: 5.0.5 ts-node: 10.9.2(@types/node@18.19.14)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 @@ -16017,7 +16018,7 @@ packages: dev: false file:projects/arm-selfhelp.tgz: - resolution: {integrity: sha512-q0aIALRKdXZ7X7EweAexYcIZIZcl1CebIl5ZjMHrAMew2cA1bkpCr9Qt2yejiuO7xEZCDVFREZxCLwQODbagMA==, tarball: file:projects/arm-selfhelp.tgz} + resolution: {integrity: sha512-OLahXFLD5DfBdbjyUkVzHNRBhKeM8HSPBkkFKSVufIOk+EfPH6E4gAUMGoMXf12nZ5UIsSIDSOZs3CEZ5oe8kg==, tarball: file:projects/arm-selfhelp.tgz} name: '@rush-temp/arm-selfhelp' version: 0.0.0 dependencies: @@ -16045,7 +16046,7 @@ packages: dev: false file:projects/arm-serialconsole.tgz: - resolution: {integrity: sha512-y64vt6/pZOHzNG9bzStMdMAx5hiXWMJmWHLy/1M1zWU0NQY3EaGvS3w/n6gz6iEFAWHtuYdNIhAYy2lapkrVVg==, tarball: file:projects/arm-serialconsole.tgz} + resolution: {integrity: sha512-leWjjnJatAuPUjA0KgfJrNhySQMjHBwIbXltA0D4rxwKCjPIu9StOtORFEBjsRsFoa8FXMKRDwTo89ynO+iyFQ==, tarball: file:projects/arm-serialconsole.tgz} name: '@rush-temp/arm-serialconsole' version: 0.0.0 dependencies: @@ -16070,7 +16071,7 @@ packages: dev: false file:projects/arm-servicebus.tgz: - resolution: {integrity: sha512-iiovsA53n2/QoMUYsKzrFas2lylJpQ/IHlugOorGoqXo8NIlBWGkLGdv8J4edlSAzucQSdZ261D0JC/rMCh+Ew==, tarball: file:projects/arm-servicebus.tgz} + resolution: {integrity: sha512-YihyFvCyJDNQiKvKUzdG7g20PBgZ2mnzrxXnWUFaxIkelj4RJigb9Af2I+1cPyyIjwaoVOiqb7oAoeZnE4tfPw==, tarball: file:projects/arm-servicebus.tgz} name: '@rush-temp/arm-servicebus' version: 0.0.0 dependencies: @@ -16097,7 +16098,7 @@ packages: dev: false file:projects/arm-servicefabric-1.tgz: - resolution: {integrity: sha512-nsxfrZy9e4+uvS0s4SnZVNA49Lmk22yUTB3TZRC00zzoGuTl2/zXgbxjJ/DCRXojTAHPxAj4/enrOMVwNaj9yA==, tarball: file:projects/arm-servicefabric-1.tgz} + resolution: {integrity: sha512-2wxThW5vKAnYilJYqr4MdEdcPMPiz0ASVLSR1Jd7AgBAeeS/QhMDD8H4bWnpqs/4WzdxiZk5a+2Qr+NOxy5l8g==, tarball: file:projects/arm-servicefabric-1.tgz} name: '@rush-temp/arm-servicefabric-1' version: 0.0.0 dependencies: @@ -16125,7 +16126,7 @@ packages: dev: false file:projects/arm-servicefabric.tgz: - resolution: {integrity: sha512-JD4jTtL7HsfoQ8Lt4wPq/l+iSoEhGhoYRhYTJ3/74g9rlpQq3lJSAlfQ0qiVbnNguwsa5D4X+rt+Z1kEGEhU0Q==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-ciSbAHO4PLbsqV/wPP1JXVLgs1q3ioibPBkVBF80+jPdY2G+byA+o6umjHdy/GucPsKnfJfm9IA5GEQJ3Ag6nw==, tarball: file:projects/arm-servicefabric.tgz} name: '@rush-temp/arm-servicefabric' version: 0.0.0 dependencies: @@ -16168,7 +16169,7 @@ packages: dev: false file:projects/arm-servicefabricmesh.tgz: - resolution: {integrity: sha512-1lOSAYJbdgGzAtbzUeCLQQXoKLZw8j9XpZhR5ZxJEDNCWFosXNgDts4jXg627FXacuaNNiQXw++FzdY6RUWuzQ==, tarball: file:projects/arm-servicefabricmesh.tgz} + resolution: {integrity: sha512-VNJsM9CcN9U1zET8auPp+lJOF/WMgJB43b/ZdTpGAo3+FvTwgf3jZ/zFAmznkoPZatmzglVsc3LKBh+l2s+d9w==, tarball: file:projects/arm-servicefabricmesh.tgz} name: '@rush-temp/arm-servicefabricmesh' version: 0.0.0 dependencies: @@ -16194,7 +16195,7 @@ packages: dev: false file:projects/arm-servicelinker.tgz: - resolution: {integrity: sha512-PGy0eHmo4Q/qMfg6iXAxxtSi7b8qwbu2ookkBAdZdP3H+tPeeuNK/6Xco4ZUQ4lgDIfHr3E1nb7ryV9hXSKMpA==, tarball: file:projects/arm-servicelinker.tgz} + resolution: {integrity: sha512-HHjO3IFWYFAQKHWiK/ZeMNLz8CVCxCkaHOrDSgiQ8x22Vd0NroHIQpnjlxpccCzs476AHxK0FVonTv8ksGxsdA==, tarball: file:projects/arm-servicelinker.tgz} name: '@rush-temp/arm-servicelinker' version: 0.0.0 dependencies: @@ -16221,7 +16222,7 @@ packages: dev: false file:projects/arm-servicemap.tgz: - resolution: {integrity: sha512-dFhE3fkQ9qGnakhvYrVaYivxGRj18JJO8jVWmfSL/6YTvbroX6GpGZqswE0pOwCAy16//vZeCOSHxk5Ez0jqYw==, tarball: file:projects/arm-servicemap.tgz} + resolution: {integrity: sha512-juqg9WqlDyspXIu2VkPZR+BR3Sngp/5JUZ8Ub39Bx474y8Rth1I519nwqgvq+88AqpfvCDK2IcHb7rEztDY6aA==, tarball: file:projects/arm-servicemap.tgz} name: '@rush-temp/arm-servicemap' version: 0.0.0 dependencies: @@ -16247,7 +16248,7 @@ packages: dev: false file:projects/arm-servicenetworking.tgz: - resolution: {integrity: sha512-1xeaplkloqUsU44Ww4L31jRxPXDNeB2vwZ71Vj4IVGThs/bJwAGRTin4AniXTGiI26OXZyNNoGbo7EvqdYOAkw==, tarball: file:projects/arm-servicenetworking.tgz} + resolution: {integrity: sha512-K/vw/qAVpygyid7wTMqoM9xOHEddvU/xstuFkGbC6TWdBHpPHdvpwhgEEZ0Lg/LpUJAAbo/DZRtjX7Tlf235Eg==, tarball: file:projects/arm-servicenetworking.tgz} name: '@rush-temp/arm-servicenetworking' version: 0.0.0 dependencies: @@ -16275,7 +16276,7 @@ packages: dev: false file:projects/arm-signalr.tgz: - resolution: {integrity: sha512-ZmMAsux5HFfA9YBrhXDyL1WiehPZSn2EoKESqoG14Zeo7POAxcIkP66kHx05vkfOYLwmfYewI9wbp0tQ990Y2g==, tarball: file:projects/arm-signalr.tgz} + resolution: {integrity: sha512-psByUZapvok/o+/UzSkfOicwB36a/80uOzZNekSWT7gx/yU3DOjzzLJRt4h4EvH1t8K2v1u6EJ5dVqvamis9YA==, tarball: file:projects/arm-signalr.tgz} name: '@rush-temp/arm-signalr' version: 0.0.0 dependencies: @@ -16302,7 +16303,7 @@ packages: dev: false file:projects/arm-sphere.tgz: - resolution: {integrity: sha512-kh5OAOIgGQ8jv9Z7OGtSvHptAGOcb32nqETdhGx1V2WTq7MKLUvCS1oYwPAEONYlLALBS151Xnp4blCsthPmIQ==, tarball: file:projects/arm-sphere.tgz} + resolution: {integrity: sha512-hwB5jpetNxx8GsGNGRGlBJyQJiATfmb4rl56aVeutkRyMIOVcIFGGaoJyamlri53zgEX130Pbbp+z1NEXDJULw==, tarball: file:projects/arm-sphere.tgz} name: '@rush-temp/arm-sphere' version: 0.0.0 dependencies: @@ -16329,7 +16330,7 @@ packages: dev: false file:projects/arm-sql.tgz: - resolution: {integrity: sha512-ex3UJHDftkICLCA5doTfowXFXLLV4D2nc4rTG/shZZjNsxDI92pqASoxVQgatsHDeFd4oklXVCoQHIG105bc4g==, tarball: file:projects/arm-sql.tgz} + resolution: {integrity: sha512-f2JeKbczdfYUglBcV15ua5iQWX0+kQiuANYmKb2jIr33ZvrqI8ITj5nY9wJwwf39VjknNUqG+YYlt+AgLOwzLg==, tarball: file:projects/arm-sql.tgz} name: '@rush-temp/arm-sql' version: 0.0.0 dependencies: @@ -16357,7 +16358,7 @@ packages: dev: false file:projects/arm-sqlvirtualmachine.tgz: - resolution: {integrity: sha512-Qs025App+Qx3m9QLXop3rdKmLJ2JIQ+F7PLutkrJnL7ChE0I/coySbeRcqde98BBIjMCyjbSiwvHhy0Cc4RGKQ==, tarball: file:projects/arm-sqlvirtualmachine.tgz} + resolution: {integrity: sha512-6kci4TZrjNm5aswtI2iPk43lVqSOptnCt6/k5fyfWy6oij4+MLbzUMPBaI4IOTZeFbiQ7FHUyH9m7KPqqWxImw==, tarball: file:projects/arm-sqlvirtualmachine.tgz} name: '@rush-temp/arm-sqlvirtualmachine' version: 0.0.0 dependencies: @@ -16384,7 +16385,7 @@ packages: dev: false file:projects/arm-storage-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-VUZ/jrTqAw5pqwzgEs9m82culi0vT0Awu5N5m7Jva7ux/qrcTtU1F9TEGGHNyZLNg2ju15S8Agu97KoPNeMpDg==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-0ey3cQdVqcv/2s6HmwWo9TA/5Am1SMmrkPNZmAwc2zFKK8m7Bj4cXFPKqhV+akrcQ+2UYiYAFEQ1c/p0Ggh0vg==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-storage-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -16411,7 +16412,7 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-o1aCsGRFCDQ0PcYGiCWl8XFbA20hHdURN5DZMtx4nHF2OM/i8nIKBXk4RGjAZ2gZiQneD+zT+bK5/aA8Y0/wnA==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-Y6Pzgi1QX6kTv8Kt58u/jOMacrTVpgQJXdXCuyMUvbPnGwbMvduBzduOn2ZpMsca/S/hy4klLU9WS/6NTq1A3Q==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: @@ -16438,7 +16439,7 @@ packages: dev: false file:projects/arm-storagecache.tgz: - resolution: {integrity: sha512-uZLIosJ2WYY7h5f1ZjNGPpsQqqhupyDCK1kmYGxZ9SCN4H0VS1YFE7cBcCKFB5glHJ99eUAVYCa9Dh2aPm91Ag==, tarball: file:projects/arm-storagecache.tgz} + resolution: {integrity: sha512-/4QyVn3P5+lHTnVYyIp7upL3uAktN0Thoo3GP0gISgd8WP5euKiROj4zfuUaJQHVz48RLEd1y3PCCVlIKcb/Dw==, tarball: file:projects/arm-storagecache.tgz} name: '@rush-temp/arm-storagecache' version: 0.0.0 dependencies: @@ -16465,7 +16466,7 @@ packages: dev: false file:projects/arm-storageimportexport.tgz: - resolution: {integrity: sha512-YRbjtl2t+qf9F7Popr+wZFoxk+zNcPsjSpiQiy0/92w/HKFiG7IHyP5xbteTsnGT/6nD4hvKSsTMHXiJXvLL6Q==, tarball: file:projects/arm-storageimportexport.tgz} + resolution: {integrity: sha512-nn4KXAvhnty6ScOy5gj9leNC+2Ufvpa3q3uc16hTHtrQr1XqOso66I7rCYco5i9mXKLJfWPguUrzCgzhvv9RUQ==, tarball: file:projects/arm-storageimportexport.tgz} name: '@rush-temp/arm-storageimportexport' version: 0.0.0 dependencies: @@ -16491,7 +16492,7 @@ packages: dev: false file:projects/arm-storagemover.tgz: - resolution: {integrity: sha512-3PKBf2cm5mX9aivD/2DwLgpn95PyO3thDFjJ0CE58D1UzmwJNUOmhsEZ6ZKy7pFFmh2jYmTFzNIoU+xwg3sh7w==, tarball: file:projects/arm-storagemover.tgz} + resolution: {integrity: sha512-MFYVDNTzld7P77u8Ahv4hiPhUR3JYENMX3X+H62gfFzIvea4yswoKJ7k5GlzDG1uJ/grAUz5oIrnNXz3j7ln0A==, tarball: file:projects/arm-storagemover.tgz} name: '@rush-temp/arm-storagemover' version: 0.0.0 dependencies: @@ -16518,7 +16519,7 @@ packages: dev: false file:projects/arm-storagesync.tgz: - resolution: {integrity: sha512-Ll9hVMeDS/yWk3jUaNuF3UyDlm1Wa/DX3i6nAgh8o7xePpOuefW7jojdEFQumgpdMy/zEKmDD4KvHKNHkckzZQ==, tarball: file:projects/arm-storagesync.tgz} + resolution: {integrity: sha512-P6HZxtTjlqryi2k1w451BhheFSorqQa9GboRhO+snPfk56C8wJ9ZrfizeKa3McwH2eX1ThJquYJamBO9N6tIag==, tarball: file:projects/arm-storagesync.tgz} name: '@rush-temp/arm-storagesync' version: 0.0.0 dependencies: @@ -16544,7 +16545,7 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-Ixrsu4TXYYaWfVzKBy6O9+ZNrWWu0xLTIl3s2hI1UG1ym6Dit02pljuZr5sm/d57Mp9ulKZJV9bid/HB4s6Brw==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-MgLSFiJ+xTZM3gzCdauLQxF3u+HFFYrmSAaB0ok7YJyD8JoMc7ug8i+2OJOTi8cWhFN9q/6CrfsgAqW7IYo7mQ==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: @@ -16570,7 +16571,7 @@ packages: dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-IQIOykK7GhyIC6PGhPM/nYePHLm58MCieaSSGEEPD+Ky8YBj/PHSBJDl1eUqA9xmgO/jg/uN4LKkEcdM9MgR3g==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-1t9N9EOB/ti6hw5TJORNW55+BxGZc0vU4HvPVh/P4QR2JG5IbTfz99K5gmovtMOPkPQ457pEobxznhcSc+orlA==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: @@ -16596,7 +16597,7 @@ packages: dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-6HA4RFUZxfN+mlMlXMPOKTUjlZkwz8zXzBFtEHEW0sVQLelxd6OUgJsa8TL6+UxuoFavoslc9dC7JKeiYVzR4w==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-7IO9bMvkZu7j4FAeYanxnxzpDtwgopz9kqI5/OpEFeaZF2g/Cr+bRSo+PZoRs3Vobc2nmjGOb6fPB+f2Ej7cAQ==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: @@ -16622,7 +16623,7 @@ packages: dev: false file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-B9CiGOzgfZkFL9ekPi8YkDkncov7MLG1EJrkf8uUFu7DgZO6wzfFBmK0pE/pSam7mx0TTdiZoySVXP/puA7Nig==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-/15+c8H/RjfLOZoWqsdHDWnXVeIdku9mn1/YdLYblBV+AyJdW1FB9FhJqezk8jCrZ8coTvbgK70PG4aj2KWvSQ==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-subscriptions-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -16648,7 +16649,7 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-AeZ+NJB1vQi/YKYZqD7Qm2uCgZ27mYITCyzzue2BYv18xbJPJExZrI79ROZlW8hwrsfol/expnw1yG+gGgHufQ==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-p2f7qrkMapM8zXfdq2MgwrdtuIilr95A76ezazE32i3zwy9mghCsAGsPNKp39PPcBcAfhX1+EaFCpKgpmQEpMQ==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: @@ -16674,7 +16675,7 @@ packages: dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-3JVcl02aSpUgesD81sxncG7rK0U1nKN1aG2PO76mEizvWZYCtgU7j+UtFaBKr8hQQgnFv5nKUmc2Gg7ixKc/4A==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-XgHePCWuTKjXuSHkZz20+016AqnFYLJ9cVZfFW77mqqU9JfJ9v29bYUXkJroBv3AWSIbRGE16qI+JIyv0nHK9w==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: @@ -16701,7 +16702,7 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-1bXU/+g5AeoLDu/tpx/ChmO8xTp7omuw1ds7lwPcpkZXR4KePKK5hXvdyyTgEygKWJFaaoFhTqMPe4k4lH3nJg==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-MtRD36VTeMxTJy7jBU2Jx3nWeRm/7geI1wV2PoTUQ0Xuf+eWyR4ndsnrlOhjT6iuTZX8Ion64Zs6oh63gR3cww==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: @@ -16728,7 +16729,7 @@ packages: dev: false file:projects/arm-templatespecs.tgz: - resolution: {integrity: sha512-ey6LiT+Vsa7Fj/QFtvy9Zib7A0MzkmvT21gWGamVLAPVUa9smhCBIJUL6BWv/04nDSfuVjjbUY8sWTXEcEsgGA==, tarball: file:projects/arm-templatespecs.tgz} + resolution: {integrity: sha512-jNG44HG7tsXVxadv7BuVfRcDa4QRtC4wTG/OfTbVCwNDZ0kY17/J/5XoBWtQS4e+oD2QGcaDKktXyrl7xoq4tQ==, tarball: file:projects/arm-templatespecs.tgz} name: '@rush-temp/arm-templatespecs' version: 0.0.0 dependencies: @@ -16753,7 +16754,7 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-QWK+dlu7LeGcL6XoaUYlubL7cC9utpdLMdI/Oc3rzvZRaAfPDfIJmj4KdIyByGCFznvWVhGSVDFiXdNI3DKtNw==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-+Mqmb4pEgURSV/SCOTpDms8vO5fep2fZaRolHcXRL3dXNjV104gdbLlYXcPjhF2sGFSLg8MgN/mWKD94oYL0HA==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: @@ -16780,7 +16781,7 @@ packages: dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-MOSKgudXY3pzoLQNVbQbjFkdeZ9U79MRWlGEjvT7HaAxHRdlyZbFKlCj9FIbztGBEiFlRHzayz5JcEwuGo2jhA==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-sWnlKa4QHH2g2NxH/HeabfbvfZdemlLaMUK14P7EOwgqRkcZMbe2S93KoJyavjQYk37fhEAtoB/NIoTi602gWA==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: @@ -16806,7 +16807,7 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-xV4CqVOXVp8DXJIqD0SiLDaQei9T5/cOVFguyQ1pd0TCbaaeQmCU7joAd3LUlfHnm9bMdQpUKEYa53ifmcpgDw==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-PH/5vuZ27yuZVSbHhnkVpuu2yHsJ9tt5k0gfkwXCbz6T+wNUj09LBxCKE+M1hg8mtWeSVvI8D5Nqyi/ixCV9XQ==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: @@ -16832,7 +16833,7 @@ packages: dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-XQVKm/CPAfYvq+zLCD16V3Fje3yUXRf/HkDmPz5AcoklgWS24H8Qz75khS6bGn8Z7RZeriwxi/VpyUfdH1FIeA==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-FIV+e6BwZnMcYUyVRufbXvOvRDMzs0jRuOgPVWGktMXXDNkbSP6ZdpGW1boNIcFQ7SMJ/ER2anDLbAow7Cz5nA==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: @@ -16859,7 +16860,7 @@ packages: dev: false file:projects/arm-voiceservices.tgz: - resolution: {integrity: sha512-S/SV1U07CXekK2c42FzeBqrNkbKEguDd59UMuDVDGy8Qpaku0R4J8RhaM8Cd1Xu2g6XdpJKwILGMrq0cBT+JRA==, tarball: file:projects/arm-voiceservices.tgz} + resolution: {integrity: sha512-/8p33nUuflCNm8AqQpAeL58veYdOCokJlJg4x970qaN10t8ZwQikubNlZ3Oi5S5f0lUguUoFrC9932p+U2/bsg==, tarball: file:projects/arm-voiceservices.tgz} name: '@rush-temp/arm-voiceservices' version: 0.0.0 dependencies: @@ -16886,7 +16887,7 @@ packages: dev: false file:projects/arm-webpubsub.tgz: - resolution: {integrity: sha512-kjw/v4io7Hov1LS/yzhZpDvnqeubKxwt+hVjxp6FFBW/HUVCOOe4VQAWlhhN3BOBV5KBtokD7G+iT40k74uAaA==, tarball: file:projects/arm-webpubsub.tgz} + resolution: {integrity: sha512-OkIVPy5PpCCVJsorwfLwI/vvCcnQn0t2UU41O4QRbmosZfwRbF38+Ir0Wax3+s+d0kyRw8vMVX3rnovasBfnRg==, tarball: file:projects/arm-webpubsub.tgz} name: '@rush-temp/arm-webpubsub' version: 0.0.0 dependencies: @@ -16913,7 +16914,7 @@ packages: dev: false file:projects/arm-webservices.tgz: - resolution: {integrity: sha512-2zK7PkUP6RFYELcYAVYA5p4dPZ2bUTNsdBn3mA2aOQ7Y5qf0WNGTtTUE1UDf8Dqb++Ee5hlRTjkWQh89m4ARGA==, tarball: file:projects/arm-webservices.tgz} + resolution: {integrity: sha512-HwdprzPpNMkjE5Sid/GoT+Sg52XWB65S2MYe5GJAolDdswEJdX7wwk4UGUQ3cjCv5dydsZoMOsFbbvy1urKhwQ==, tarball: file:projects/arm-webservices.tgz} name: '@rush-temp/arm-webservices' version: 0.0.0 dependencies: @@ -16939,7 +16940,7 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-BeVi6oZ1XEvIGoXyTBVGJ2dVC8Zhh1whOZS0pzuU0HBm95nVyAgWJwQUYdBim12gXGEawOKkLsYzQfGsgdmWWQ==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-Hp/MJ1tMc3tqzcd5YINYBEYOGb6JE+rahdxnNi0qdsd7r8CkVNjdFoJ55ugytBzlgwNPRNKCJ8r92QFaLANN0Q==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: @@ -16966,7 +16967,7 @@ packages: dev: false file:projects/arm-workspaces.tgz: - resolution: {integrity: sha512-DTjyH+ShQ9Mxy+MX5WLHfNkTKXcqWsa7Dx6whZyF+uPajI6BFyAu0RPLbb/5LKF9yUbsIdkrV0BqZqk7MHlS7g==, tarball: file:projects/arm-workspaces.tgz} + resolution: {integrity: sha512-gDhzyJflvctbRVlQIJdMDoLgroQKCgcdXrAJqEHkPs3yM/fXW9ETLUbDOyYJHAe0wlSkp0KB4NUfISHf/4HOTQ==, tarball: file:projects/arm-workspaces.tgz} name: '@rush-temp/arm-workspaces' version: 0.0.0 dependencies: @@ -16991,7 +16992,7 @@ packages: dev: false file:projects/attestation.tgz: - resolution: {integrity: sha512-qizrLVUFnHnZVjy9W4KCMSNiE2eI7u21ipiJMrDIpc1ZNXM4j3l/tjoeiiwl5CphQXsYf5xBR7nvw8MDx8BimA==, tarball: file:projects/attestation.tgz} + resolution: {integrity: sha512-uKCEiTndhTP0o9hbR7EkmzUCE8QXoZV99uBrcBc3uRJQAIzEyOsg+xRA53f25MHqsSk9skY9EV+zV2hTXulCXQ==, tarball: file:projects/attestation.tgz} name: '@rush-temp/attestation' version: 0.0.0 dependencies: @@ -17041,7 +17042,7 @@ packages: dev: false file:projects/communication-alpha-ids.tgz: - resolution: {integrity: sha512-xHk1Mv/LXNZjv1+dDqIHQkCSOPi9qTeJEGzUC2OCyzkfhsk2TmFL2Ecp9lrNJC2Xuo52xvFtMelzpp5LE/IhWA==, tarball: file:projects/communication-alpha-ids.tgz} + resolution: {integrity: sha512-LYCxonN+mxHPYuihy+9/IAMeVNAeHh6gfHM/iQ76CgbLh0qzOeIAHE/WK/xXJsMz4cQEhewIf7DmB0MdjhnrgA==, tarball: file:projects/communication-alpha-ids.tgz} name: '@rush-temp/communication-alpha-ids' version: 0.0.0 dependencies: @@ -17084,7 +17085,7 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-oFyXQQUjUKegHE+xckE3SO2KlQoqTDzMzZMz10M9yWkfv/0LxGyX0+2+jPa0heAzkVR44/SPz4de2UyUwZowuw==, tarball: file:projects/communication-call-automation.tgz} + resolution: {integrity: sha512-Uqn0GBZBlPqAD38Fn50v9MKIEzs7gLOTDIfrkrnCxq25Dlxa2oDMgnVh+SXQfFFiIqjxrTaxMd7umMepOlViCw==, tarball: file:projects/communication-call-automation.tgz} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: @@ -17129,7 +17130,7 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-xxbkBTGkbfzMbqa65PMZXpC/mPQIAjb1qkFlv5zsq8xQi6SJIp9jcEaZU2O/QZXT/eVd5bU39jidLzkrcekYWQ==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-QX8FvwMnxn/+lyqCqWAWidadB1zNX8EitzVpxs7cPQJ54KYsHTrn9L1mGAwonD6xgksRG23OkcMgNH41SngXNA==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: @@ -17179,7 +17180,7 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-hipCtN8pRRzW1ZUyrzB7dbw7Zc510pbner+2tD806jh/M7bYFh8LhroWmMMjmeN4YP4m4iwoAR3TZqQk3M2/4Q==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-5x6ccZwMTbkgpF34g7iuuqKZ4Deu4ujRYnyRJPfeCgXx2BLumZxS8nvKgM1YC75Df9Tqqbips0ibQGzbLhgmMA==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: @@ -17226,7 +17227,7 @@ packages: dev: false file:projects/communication-email.tgz: - resolution: {integrity: sha512-/VZtpdF9kKmHyMm96o6BRUY4+RtVpJIqaI8ymZEmVpDiBYXJjixo/LlFlI5F77Ank+ANcQ6wfgv9fp3ahoVKGg==, tarball: file:projects/communication-email.tgz} + resolution: {integrity: sha512-cwoPNZRFAJzD/FRU8YLyyDdahmQdyyue7R7F5wBhZ9bd1Pg1IY1JC6zkxHeGJUC1qRs6CjCLniTEJP2zX4t/MA==, tarball: file:projects/communication-email.tgz} name: '@rush-temp/communication-email' version: 0.0.0 dependencies: @@ -17266,7 +17267,7 @@ packages: dev: false file:projects/communication-identity.tgz: - resolution: {integrity: sha512-UEwtyljWS6JPoCHiArohCq2AVoE8Km9w/7Fvnsw+hFzIBl02GGZpkBJ9azSBuDyAeDJm0Ng7Ho0Pe5I6CcEhVw==, tarball: file:projects/communication-identity.tgz} + resolution: {integrity: sha512-Xgre0E2JAq2hxzdRkoHvDodncEUlXx+AdFWuKuojP+k5tQsenZkmraG0+dboOqq1C0Ign6Nq2j94ws8P/s8K5g==, tarball: file:projects/communication-identity.tgz} name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: @@ -17312,7 +17313,7 @@ packages: dev: false file:projects/communication-job-router-1.tgz: - resolution: {integrity: sha512-nkAnEF2R6alqY4aZnFzN0A5j9oHO0ZZEhQhKvW3jt0j1JzmxYLvDszbYCjnFEx8BDIrEIYcdYR5kFYITsFbzGQ==, tarball: file:projects/communication-job-router-1.tgz} + resolution: {integrity: sha512-Rl1aftlSevIKM/SAA0LdzKU8H5D3DZROSxRWPw+uUChDTuUa5UL4H9k4IRmjszJ4JJAK/f9QtLbm53x+M2ondw==, tarball: file:projects/communication-job-router-1.tgz} name: '@rush-temp/communication-job-router-1' version: 0.0.0 dependencies: @@ -17360,7 +17361,7 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-3Bgb/5bSZBRgrKG+9vrdePkf/bg7I71LK2ZB81LsIE4Mi2CGJrC62gKk8xTkNu03qVXrey33H31A/t/gF+32KA==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-gWB6y9ehT8CJ7APGKU2qhGJYuPKc9DxvvWD1cgL0KfNuOilNlV2PZs6r9er/j6sClIhVXaFy4uXLetXzm8+hqA==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: @@ -17401,7 +17402,7 @@ packages: dev: false file:projects/communication-network-traversal.tgz: - resolution: {integrity: sha512-errIxkAdl15pCCVfpUKRLPj1V8aH8Tg/ew9AXoLbZieZJd1o54Iv8NoYv8BTSWls2bpgIuXEhfeNTongCK/oqg==, tarball: file:projects/communication-network-traversal.tgz} + resolution: {integrity: sha512-npkjXYkd+mIgz5lD7TmMvZgMNNqC0NNQJc63LYZDLND77U2ISarkLcZHDfX0cBR94bbbG+qd8q9ImWH9uJbf7w==, tarball: file:projects/communication-network-traversal.tgz} name: '@rush-temp/communication-network-traversal' version: 0.0.0 dependencies: @@ -17447,7 +17448,7 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-DXR6KGi0Oh8vH8cTgkXJOi8wAu96OJDQltpC7wSk91hHr4yaweqYP/30V2H5eU8pRqvNZeY6uaZSKB+AfYo43A==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-pftdJYTIPwiyAh7s+kc9whzBmRYJodw76dV39SnKHVGZo9JbFWb+u4CMGEldTyjlVyiZTDt8eyVr5no/w0uTIg==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: @@ -17491,7 +17492,7 @@ packages: dev: false file:projects/communication-recipient-verification.tgz: - resolution: {integrity: sha512-4Lr8AWmAZXMDCyah63p2dsG+OmhzSpGiP2zbfBohzQlP6rUR1Ivmba1RQl1ObH4riD0A1Tf8fncLUKcIPg35dg==, tarball: file:projects/communication-recipient-verification.tgz} + resolution: {integrity: sha512-sa5QC/7UGrDdCc1eDS1Pb4e4AtqsDLjo8aXyl9InDvFiZt9kDl1zXpHCNqikGEWmw4OhRalujnqegu68abN3dA==, tarball: file:projects/communication-recipient-verification.tgz} name: '@rush-temp/communication-recipient-verification' version: 0.0.0 dependencies: @@ -17537,7 +17538,7 @@ packages: dev: false file:projects/communication-rooms.tgz: - resolution: {integrity: sha512-iK+Yk222E6wOpeSjxzO848Dt2tURhHdWQVN+lhpD2uaNea371elui9UluepHSr9IDdMFKzGb80IVwL+CJbs0rw==, tarball: file:projects/communication-rooms.tgz} + resolution: {integrity: sha512-onuaelLXjuFJICOK7SmapqZ11N3VylkRKwIlNHPRN5mtBVfXomRJNgTn+FzVxHQANYw06c3Sfe2mksVbrrkauA==, tarball: file:projects/communication-rooms.tgz} name: '@rush-temp/communication-rooms' version: 0.0.0 dependencies: @@ -17571,7 +17572,7 @@ packages: dev: false file:projects/communication-short-codes.tgz: - resolution: {integrity: sha512-dzLVaU9FG6sTBgb5FLppt8eov7Vl06ia5Bl+T1CNhjP7yjuavnARysaEbN6y5bFAXnv5WbgnzlSOxsE5Of/Ngg==, tarball: file:projects/communication-short-codes.tgz} + resolution: {integrity: sha512-/xkiTMuhjA6ye+O941AuIZonmHjhW7/TscnFGnk+pqqBQ/i0BkGTKs7qIkULG2KmGulhJlv3+Ush0UAtH++BXQ==, tarball: file:projects/communication-short-codes.tgz} name: '@rush-temp/communication-short-codes' version: 0.0.0 dependencies: @@ -17617,7 +17618,7 @@ packages: dev: false file:projects/communication-sms.tgz: - resolution: {integrity: sha512-U3q+0BBsUEWRi94eecYKJSffVQT2lmJ3Nw5GJx4OK7Asu7LgnMqX3uO/5W71jta3DJE6bqCotMHUloZJhANtwQ==, tarball: file:projects/communication-sms.tgz} + resolution: {integrity: sha512-71p3VrqCVjVEgemNUh6eDyIbNYefYmUM1G6FYJLOO7uKIMoGdyyY8u21lJzVH2kd+XDlzoc1qCPr5lNL9yKJ8A==, tarball: file:projects/communication-sms.tgz} name: '@rush-temp/communication-sms' version: 0.0.0 dependencies: @@ -17662,7 +17663,7 @@ packages: dev: false file:projects/communication-tiering.tgz: - resolution: {integrity: sha512-cqkBYoQuSoAcRPWF67PGieYNqhqVYXYlllVMVg7v4UScmJbIVMvquSPCw4y67W7/OLnuyTe9Vw6E2bpGr+Sa0w==, tarball: file:projects/communication-tiering.tgz} + resolution: {integrity: sha512-08udE6lEtMUbdW6I5Pi3SerQr5f9CQAXZDM4Ob7sdf53iKqqafKTFfybso9IfM0mHbs0jzpa3uY0/kw9CQzXoA==, tarball: file:projects/communication-tiering.tgz} name: '@rush-temp/communication-tiering' version: 0.0.0 dependencies: @@ -17708,7 +17709,7 @@ packages: dev: false file:projects/communication-toll-free-verification.tgz: - resolution: {integrity: sha512-Nh5wEAC6a65emi1BJc5kp0nFbY931rRt3d1NHeLwP8HvFbYUSwavHXBH7PRdyDBx58AMVIPKpp5MSR17ilo1SQ==, tarball: file:projects/communication-toll-free-verification.tgz} + resolution: {integrity: sha512-gpc+NzItyF2j1zNO3O/njnhioUwEhYI+Mhzv+GlE5NM1krVlP68D37+2SoEMmhF2mw3kRk9cFlwsqRPxkjBlHQ==, tarball: file:projects/communication-toll-free-verification.tgz} name: '@rush-temp/communication-toll-free-verification' version: 0.0.0 dependencies: @@ -17751,7 +17752,7 @@ packages: dev: false file:projects/confidential-ledger.tgz: - resolution: {integrity: sha512-5Tq1bkH5N6fWoCYwYQEdHuh2shcDQtzlJR0g4Fb1J+CqYndK4V5fD68xyQlacc5/omq38vYlNOZbVZjeXorVfg==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-h77o2wBKdmuys5HYw3kNfLaVr7J3fZzx7V1g5U8bAFfuv0yKkNlyJO38uy7Xa6boHRxJA+kVoDa2Gwk0YbNvmg==, tarball: file:projects/confidential-ledger.tgz} name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: @@ -17779,7 +17780,7 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-rlyfFO7Rp3Os3VoqW9QFxsb2a7CFOWRjpJ3iz2n6dIXmNguUFitSnNs+myaXFiCUJS13hgHHxjXgvx/eLyOwxw==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-og+GrVp6gJy4gGmjO/vwIq4Mr7CMvSv6pT+u0aVs6Oiu7I+SOnEmq4/BDWK/ul+MHcaCJJ92xdTeq4QJzhLAaQ==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: @@ -17823,7 +17824,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-1IgNzi7F/QV8PomDQk3ZrjVxENp7vKl3mA//nqPwUSGWu870cw/NXMyYQggK4y5NmoIJUBWGPbdiBaSMK74QKA==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-S5TQLyZlExEkhfRK7+dI0L+bdDt1XGTR85AWBbz5W8V+lbdBSUnZlESkJR2KQbBiM7+pFSo2vcP9D5iYwKaTHg==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -17866,7 +17867,7 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-k/FlgP8O3N4bqcqcNbZa+t4hVg5HoslH/NxqS6bWMsWasCb8/lfqA2sq2IACPhM22I/UvBGdH+QO2DH0cDb0rg==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-jrlE1FLVjEVTdqLqmu6LKrauQg2ou6a0DQm14l2pWr6tUu7ceFcM4luWqwKgujggAMGp9awq54HDVH1mO9g1ag==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: @@ -17891,7 +17892,7 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-5TQtFVeFpawpIKY+PyO96TfzuLqTbmoRTVvi9/Vkth/1Qe2KX8thgPRckjEVxdwoHn1gvXOqLvUCpMvHoHgHSw==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-/U2yTsV36rcawD8Rhc6PwCDxLt+T5axYEWXQ/RwpOl/nlPIozlsQ9LQiz6AYZJaGwOTdmIu2K208gVf5LeYjDg==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: @@ -17931,7 +17932,7 @@ packages: dev: false file:projects/core-client.tgz: - resolution: {integrity: sha512-Lh7qHNRNsty9gMlYMPXk9zz4Se9cbpo/CSmAGZzUWj7raLHhl9/ivwvHBDJ6QEIhUuS32W/6KY0qSTXUgGh7Yw==, tarball: file:projects/core-client.tgz} + resolution: {integrity: sha512-VKYLqxP9GhcoZ+Ny7UfGnuzDlGcmTFkmFihsvdVTzt9EOdHc0wL6bpseWAuq7Fa1o8WmGO3bcKMMM3GtYBbIpQ==, tarball: file:projects/core-client.tgz} name: '@rush-temp/core-client' version: 0.0.0 dependencies: @@ -17969,7 +17970,7 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-lsOiQC4ZxjpqKvW1lyUGknEsLNF2sqaKWaVWKPt1uKIjU9rdSwkTyVkMMQH2AQF9955/+hlgPaCzDmjaYnMiEA==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-4cPj609LGR690rgE3plI72nPlADGJSyjP7vKsQ6HedCln0gVDUYqZ9RKP8R2mn0/sm4UmOavcXq3kqOiTUWogA==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: @@ -17989,7 +17990,7 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-UDSyDyJLwoP4Tkw4ZDWjK0JdSPukzcrwvhHroq/e9v36l2/IUOmycq3623dzJE9ZaycczU9TMO2dfSAOgQSZPA==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-c3Mf2+/ihH+I9FcF01RoEWxzDwZKq0CDFGatEL7A/ZT2CWGcHE/gt22GLzghGvoHq4wd8mFi74w5Ewhw/RwCfA==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: @@ -18023,7 +18024,7 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-NdCa3zq9kMdBrsNNE7yE2pFV84Lp8N09CKbZwf7+aVeutuxq98H4lkeWeP7OPdWIdjPriWlGik3+suBc4oalIA==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-SqxYLeWS7APdNsEhEOFKEBISprwOIzMNMzWHeaWDIoSE02ZnWmr3tuC1hiuHUeyLgSX5WxxkwydJG1cUw3abfw==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: @@ -18058,7 +18059,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-YgzdZvnjIYzOpSIQVjj0bCwoMHaETLnQcXy/hGJSwdHE1m2XXloR3P/lmAq/XomhgkSAmlWyt90ZMobVdSlTug==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-bXm7yzifjUwmxgJiJLLKYtJ5Tjzyk7ZNaDhNNem5+oWK6dwpLgky1B8ZqFo+SM9AREnA/VmxA1eyecg/tPIz4A==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -18090,7 +18091,7 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-zVbXKb0xK2twMqBqkOjBZcBU6iM3jg5jK69sP5p1VOy/dpv/9cvLz3Ju0ssVKEZ7s4iFYFXH55gWirROg/skHQ==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-Q6+t/rt17uHlamKkC36pqHKVFwDbgU+As8KtVlwQCyT11rbqVuArC4Z7R4aM+qjWA0p+eo3SPu/yOi2AdTt4Tg==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: @@ -18131,7 +18132,7 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-NBH2ccsB+stxZdNlyyWx7pf1fW5Jx43oZbLRusWg8pRTGvhG7/Bd6sbbqBvyKZtOQNQPgkNMrPaKJuMiwA4LiA==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-tXMYTvlFLtaNTIr4HUb4t5M55sYtWqeNaxwBNOoeFdqz72acpzI0LooSZqeOgcEI+OR3kuQ/AdQhUhvpip84iw==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: @@ -18170,7 +18171,7 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-2tHqjTT6bvLqM8sxxZhFflAAxpiimTbqWceE8v0o1haQMH/dYj5htgkKIlpzv7m5hYTEM1+G0xqaeg/R+2f6oA==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-Gyy5m0XLLf5gaQMdllPt4bP2RmKVMiMwfSEzS8QCrxV3tmhLAEYGCEvcY6+edH0kR03ZWSPx1ehPUvndFbthEg==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: @@ -18200,7 +18201,7 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-fplIoYvTiZo9RkFVzYIW0JqhC6i4SeqGewhLcJFruTbBgvpqrSt826S990Yx2O/sRFuqQJY9a1j7tsdtGOwQkA==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-UmpUiOpWabmSf6eZHuONUGEn/VmzasOPnqUj53FRY+dXiUboOueSP0fCtO4AMiSU74m6yQY85JFdeTYd2H4X8Q==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: @@ -18239,7 +18240,7 @@ packages: dev: false file:projects/cosmos.tgz: - resolution: {integrity: sha512-1JYUk0+cJVRwKiLS6MqfqJWIWGJFviQumEQVGyC48LP3o5gCfREf5tT1wC3OfSWQoXCZQnAhiQmnAf8X8FI4VQ==, tarball: file:projects/cosmos.tgz} + resolution: {integrity: sha512-DlHVUQIvEl58yL7VZqdmRFAG78YY2/lZeyjasxPqt8A1L849+ZZnroxxr+zneEGQmoi0XjBamJRqyPoDzh+XHw==, tarball: file:projects/cosmos.tgz} name: '@rush-temp/cosmos' version: 0.0.0 dependencies: @@ -18287,7 +18288,7 @@ packages: dev: false file:projects/data-tables.tgz: - resolution: {integrity: sha512-C8bkjgloibZmV1+4k7K206TZ5E5NodEUePVSmAhee3YOgkWyFcVZFAFzdV44TulQfkmA8JBoT346YabBLNycbQ==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-tMFKjBNmc2Ej8DcWd6dKXJ7BpSG8bvfFAA7rVyFqHb9ObuafmvUzGuZQtFymroed9ZWDTLzpYd7TCUr1J59+0Q==, tarball: file:projects/data-tables.tgz} name: '@rush-temp/data-tables' version: 0.0.0 dependencies: @@ -18330,7 +18331,7 @@ packages: dev: false file:projects/defender-easm.tgz: - resolution: {integrity: sha512-oQhAoSCflDhqiuTHRXM+IGv7m99ZVnB5+jNhuGzDbAaRDNB52OBNRn2u9blrTN5EQqZJ/LORUTyN/WoRmhPiEg==, tarball: file:projects/defender-easm.tgz} + resolution: {integrity: sha512-MFKTPjddiCTHI9Ylh1Zz2E+8ZNv7t//KJHCPLQ0XIjKr5L9whaRNPSljCAcZFmvnaPZbNC72TDGzM8rwGSyTtg==, tarball: file:projects/defender-easm.tgz} name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: @@ -18374,7 +18375,7 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-IuEOWtvK+Zjljt+YNL7yFmrCCuwWYKyE99yFaDPzrqeQSPkT4onP45CGxF3F4CjRnVSfhbn2TgOsxM7f2vcTEA==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-p6kYOxV+uHhKQ8td7DEdr+K78zh9B/UFCUMDH+0FRz2ku0vedebUy1GZeQNvK/k1Cp+qCUHezVA5Lh8lveeUWg==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: @@ -18435,7 +18436,7 @@ packages: dev: false file:projects/developer-devcenter.tgz: - resolution: {integrity: sha512-9Row3h2eFyesNCODAS99pVVD0EHWgMj+adg6Xh+HGbuLSKTLzRGmiaiZQ1QydAPjIVfPQN2J6ioWsz4y5lqC0A==, tarball: file:projects/developer-devcenter.tgz} + resolution: {integrity: sha512-bfK4GOlAJ9vC+9A95OHPc+JzAJ2eRgLqDfppqIfGV0gFN/GoXTCAp8wjibbr2Byy/SqgSBJrIIQ21DlVNTCYuA==, tarball: file:projects/developer-devcenter.tgz} name: '@rush-temp/developer-devcenter' version: 0.0.0 dependencies: @@ -18479,7 +18480,7 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-LrQ1LYDRYpLbrQq9g5nnXA+zZZnD7uDAwgKxluQu7X/aa9VoeL4ZpbS8/4J9DsFmdfW6HkF7gbfzmyfH4Gwh3g==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-i2dcuhQIl5DD4J3ac1kgLE78gQpfr36EbEADQf9hVXV1sjPNPNBQyhDQEHMqgdy/D9B9mXhOwQk7iTdifN9DyQ==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: @@ -18524,7 +18525,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk-helper.tgz: - resolution: {integrity: sha512-81LjcHURGDNhd99ICbhwWc+aJH10sWa3J7QjDxFc5WhdewTN9gCHQRLXUlXT5oxBl6VK/7cOt8+MHIZ9Ezq8Xg==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} + resolution: {integrity: sha512-c2p8g6bTDtMUiM6D02QH5VPifOavw3/sEXQRQhMooIM0SyRU82dZR2qtzOGw9ZGQ2oXOmPPpW7i/N8ifmjSw/A==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} name: '@rush-temp/eslint-plugin-azure-sdk-helper' version: 0.0.0 dependencies: @@ -18543,7 +18544,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-QWCQpxYTL732c0p0LhhgoNH+PBuwMeWeCUVO6p/y5HVftrAf1V7fCMuNTH6MkVmX6OhcHY941iWQMGnzskrITw==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-l4Tfx2HM9nIs5nsD8bx1N7Y1zFQ0eGuqbFbyh9loN2Am9X3m2qvsD6Ou8A5+b+kBxd/qFYhmngaESt/dCl+Gnw==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -18581,7 +18582,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-QETD/+cDhKaVZFsypAZAWhxk3hNAIHt7XVbvVxIMWI4KRIpS77bSOrbobDNXbCADJDkV2qWvytjZcxQPJ56tKA==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-P1/G2vjpKDyOdKwo4x34H2JCaDeXb+DMQnfJpHAJC5Q8Plu3H+J0HjofA1uEIQk9GFTvxYnlC6wnJhkh5Zvc8Q==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -18642,7 +18643,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-oVy52Pb4eRPIF9CE2gJoGuTRpeezwDXjmS6pzm+CPbKHzRpqN/PMR9HXrgJW+PdArY/V03iu5HIQeoSLYBaKiA==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-PpCl3UfignubYNcrZEkpVgIYwtkT+7zMyaD26CNmP1fjJQ7tUX27wYhhCbNENL6h8jORX+GSZmKBiMdbPCYCAg==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -18687,7 +18688,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz: - resolution: {integrity: sha512-swk60qoIblStP4Rt0xX8zciIVL1CAJQv82ae9flzxHBX/LyYrEmPjVNUow5CMHwp07D+jBdznN6q2h+IglqoaA==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-voCz1pr2cArzwsTdes0Nd0SKxp3YSKhEa19T29aWbhB6tqkB5fxryin+qao6K4QQiCEs4CSGP/K1Xc8XWWpRoQ==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: @@ -18737,7 +18738,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-table.tgz: - resolution: {integrity: sha512-INWlulbRgQf78gEGxUgaNfy9u4e1obPWxQd+5U1kdZ4nw40gQB7/i/3J/HjCXITOweF9KFaUB+QR9hT/3vTehA==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} + resolution: {integrity: sha512-9i/AaeP/Jp7f7naf06lrEOaJakHUHhHSwFkMPvA/fMW4frJ7OZ+AeHTlpy/ljMbBZ+PMmnWwN1qGyRsVM7GOeA==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} name: '@rush-temp/eventhubs-checkpointstore-table' version: 0.0.0 dependencies: @@ -18784,7 +18785,7 @@ packages: dev: false file:projects/functions-authentication-events.tgz: - resolution: {integrity: sha512-gkGr+arzD5Jud3oODL2+22B5YbaUeqcNwGPlWMzntSbf8Z6dqKSDlNxWJUX2a2yCPxtXTRILQXQStMN0iXA2YA==, tarball: file:projects/functions-authentication-events.tgz} + resolution: {integrity: sha512-AvSGVc4O0ao0X/8cspDZr8FCVqiwBbH2gEdCTzK5/tzmAQN6tMhxx+IboMymbxZyUeUEL9OJUmpU7DF8o7ROXA==, tarball: file:projects/functions-authentication-events.tgz} name: '@rush-temp/functions-authentication-events' version: 0.0.0 dependencies: @@ -18828,7 +18829,7 @@ packages: dev: false file:projects/health-insights-cancerprofiling.tgz: - resolution: {integrity: sha512-6/CcK3Ng9kKBliDtmJPbfN9RM4yjopzHwVoSKvxKSkIPUunSrBrW8si/v8fVdgC9k1L3WFpYtHLpFUWKVVcitA==, tarball: file:projects/health-insights-cancerprofiling.tgz} + resolution: {integrity: sha512-jAtFyCiIH8l6vQsEBMc5+aGsOWua7WVCUMayrgPyJrbvTu3l01VHH2j6dAPBbob1JmexZCkfxgYWofmwTRA1rg==, tarball: file:projects/health-insights-cancerprofiling.tgz} name: '@rush-temp/health-insights-cancerprofiling' version: 0.0.0 dependencies: @@ -18872,7 +18873,7 @@ packages: dev: false file:projects/health-insights-clinicalmatching.tgz: - resolution: {integrity: sha512-DfyZ/iO78C+gkFOI2x3MJIDFkc8TWKYOPOWJRcwZE2Rnv/02PWy69mc96wkFKUBnSOljxv3qA+ULmIfSDt/t0Q==, tarball: file:projects/health-insights-clinicalmatching.tgz} + resolution: {integrity: sha512-OtM49fR55b/Qa8UKhcHeOOB3NR7phZBPZHB/hzT5mduJLfuZfsOJTSqI24TQLpHdy0eJNLd8N4Yk4CEAO0fqLw==, tarball: file:projects/health-insights-clinicalmatching.tgz} name: '@rush-temp/health-insights-clinicalmatching' version: 0.0.0 dependencies: @@ -18916,7 +18917,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-a/KZOx0Pwrya7fEF9ymMit270zWaZ6nOQ8yHJ1UUSX0QyShYcmUe3GjQWOSVn1N2HiODZbmfhZGKx2IXJAexFw==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-avm0f5Ct6j9Y+wNVLvc4w0VPfcVqMZ7xvh0mtxzDljGjibF37UEaDAKisEsKD33n0bWzb8phTDyQdrxF1ErTGQ==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -18946,7 +18947,7 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-4CunGhfclYNxRHUZCwdl1oUHhZnsz/dgw+RAW0Wm25T6LR8frIQUOJT2Jy9ugYVIW6Wg5yijtDErOfbYq04ZTw==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-LeFGVbi9stp/ntIeHG6cTMg5IEDjGMNsNJSg1ZMsRM5O9F6EqkgG6uGACNhLEkmcjwQTdErBihnIHfCAmPU+kg==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: @@ -18982,7 +18983,7 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-aSE6k+Awzqh7EMKplBNyKPtnh40IYRtl2Vla0szhLb2de7XQ7z1u3wM6HFbEsXMNNcv3iwf3JJ6qtOA4GpNEXQ==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-3fMXcKBzDshTJmHhzlK+zWbRtPn3VT4wtUpa5+SdLtLUhQa64T4qZ/qYTKV+v2JR3AwupYzK53kstlPgSrZ+iQ==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: @@ -19017,7 +19018,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-ruu02BC8golDTf85SJTFWELLDl+Zy2BQatuyJyf/UpOUF61YdK8HuKyf6V23ICPn/0M8l9Cud8LzzOT8bdPI7g==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-hmve5umsz9USaA6mHf4FHSJf0FZeYZnmeecIHD6WlSRhrvy6MonS2Vc8g1nUK6zuwBwoVJChU7n8TmLdJHXXAQ==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -19075,7 +19076,7 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-mHDnc19JVP2Y52YBkoHrTNtbLFqQUmmbDGpcwmOrruyaM0ChYJq954qqY7ITGvalI9CZ4pwFDup/WUaUjblb1g==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-qnUP685t0+KhWjWvKUwjCv2ZpI2FISkPfmGeM/n7Ah06NF5xD5jYnwDlVdZl8z+d0y3s5bECVKlI5bvZscf5SA==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: @@ -19120,7 +19121,7 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-3hG7hArCsr4WNKmSlT4hYtBEpdpwGDyt4+WfRUnYoOipTIY8soJl0aB3SgJ86cqY1Vz1Yu4/fjsQu1GVNxMnjA==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-1s10Pka97wVORu/7NvpZRA3VgTcEURe8yma2K+Ct1yKqewPN+s7E2B876as8XVawglPnmkjmplEt+TBV64yp6A==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: @@ -19164,7 +19165,7 @@ packages: dev: false file:projects/keyvault-admin.tgz: - resolution: {integrity: sha512-0RP/YolaFQsMNgv5QtH6gZej5qV3NMrlkxbj2V8rzwl2JdBolVKSQHwKF/wby6w7FgUqDUHPPUWMD7+Rf+tpXw==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-AZFicZg4ThWHM85bVHzxMdSQWi+/ftxfocWlZXWqeuCe/tKHVAKGLKg1wlJNyUn8sPzy5I6D6VjULQLVq9wmKw==, tarball: file:projects/keyvault-admin.tgz} name: '@rush-temp/keyvault-admin' version: 0.0.0 dependencies: @@ -19196,7 +19197,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-DIQESwDpf/GdB4E3TxOnqsgOPDaMLXt/PO7N6t9FeW69AWMq7gtoixFxEYcocjuCpXT0180wRigcOp1gDLNG9Q==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-ASa1/ORLmnI+Mrl5N5b6v1DxObkiWz2tUHClBoExrj77CMM+IBQQLu72JYdHiH0BG1FRp5EWEwoz9Ip6HZ8RAQ==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -19242,7 +19243,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-Aqi/snwrfQn/PknDRn5AlC9/i2zYYn4usDATBW7YBTMTQ8wB9hFn8df4Wh37COZ6J9RXlZ9tTw1me37do+T29Q==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-J7dDrq9llkOpCC7IR1JmIJlfsjlpb1+RmjzmKJQtYpkoRvytRyEj3WwH1KgNdiDcg4DhePaBleLyoV7oioDXnA==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: @@ -19272,7 +19273,7 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-K6kRivY54c9jcRfPNPYuzbuaSaU55Gr0HaDZjl1toUubwIlOQF9S++xMOHpMHqwoqebDUXPp0EXHh2s05ZCGdg==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-EaIiYTElXnFMrOYiQ9YF2BIU0FwwuKQoxPyYvf4qN5hyar2ywYWzyMD/1zzRW8D7vd7jovIWqsDVIlKENrJBQA==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: @@ -19318,7 +19319,7 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-MZP1zgkH9knhWbuxPf+XIbTBPE8Mh41zr0pXqGg3v4UYiuyU8tr9mIG4EDYtHtTLjXrMnq3WnjDNmZ1Ca6v6rg==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-5d8X4RRKzufrZmcs8ubRkDjBzs1tGrsit2PeyCrBWMneUxABNpckbqmCEMhGWQCxgVaSzc9OXphpW2ilVVRPUQ==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: @@ -19361,7 +19362,7 @@ packages: dev: false file:projects/load-testing.tgz: - resolution: {integrity: sha512-ySEGk58S84iYgulK2OskMv9nPkOxW2X3pmQwHyZBn9bFXLVADdTXnoydGNs94659gn+779OhLCRyqKpFseayag==, tarball: file:projects/load-testing.tgz} + resolution: {integrity: sha512-Dcxmhg+8Q1eyI88kXsSMwHfD856oZHOCZSJ822qOWpbVVy7+HWNr+JkvsOE3tqXe34tutQFPbCVkfE7OUAzjRQ==, tarball: file:projects/load-testing.tgz} name: '@rush-temp/load-testing' version: 0.0.0 dependencies: @@ -19407,7 +19408,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-o8R6+QSwNNqFvN3yPZeuzryPXS5D4el63qrGwcv8H2pri8EA0q145hOHl+Q+uKjVuxZWSVljfZD7NbuGPm3i9Q==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-dHl1Qic2arQN4qu7feFAu12b5i7Gv3XFr+fbdTCfO2zz4L8dRKPIc5avIge36Me8aKwVJghqqsEC9CbAf0B9Uw==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -19448,7 +19449,7 @@ packages: dev: false file:projects/maps-common.tgz: - resolution: {integrity: sha512-qiui1uasWTYd77rfpPKeAJ4SmPdLHQE86hl71zbxyq3lil+ZWGWX33dEw0R7zPjMdFDW1Qp3FNM39MkTVLT94g==, tarball: file:projects/maps-common.tgz} + resolution: {integrity: sha512-x+/9I6/5Diyz/R/BFhp0Qvw84GzyP36ct7Gvc7KjeYmXc4U01eLYwhncXU/nLzenHwGbmtFaHAMOTPBXk72qqg==, tarball: file:projects/maps-common.tgz} name: '@rush-temp/maps-common' version: 0.0.0 dependencies: @@ -19466,7 +19467,7 @@ packages: dev: false file:projects/maps-geolocation.tgz: - resolution: {integrity: sha512-4S3fGcUmLPJ/4IUrPkd+dis2kO+4+KVIOklnApJU0B+k/8LV6Lb+TBLKkUMjSGhpgbFpAz6JmO+72y2Jv6vG8w==, tarball: file:projects/maps-geolocation.tgz} + resolution: {integrity: sha512-1/BV8Z7uykCiWxXOV8ROJRCDCoMBL6L+GGOcZ5YmWbTJxzQO9EqzpkkiBGduhSZ3aOQEIcNx83AODS8DiTm0UQ==, tarball: file:projects/maps-geolocation.tgz} name: '@rush-temp/maps-geolocation' version: 0.0.0 dependencies: @@ -19510,7 +19511,7 @@ packages: dev: false file:projects/maps-render.tgz: - resolution: {integrity: sha512-IvnQDOUyGmQXmjQxE2eMG89tKLbl6sg4I5HHXRoaBJuoNEz6WDxKvToX/WKHoDHNe771e52lXZ0to5ebmhOljA==, tarball: file:projects/maps-render.tgz} + resolution: {integrity: sha512-/nGSOk4Xp398yxVyptx0ZjBUsELJ+MjHlzJp6vLS/mB8nbcNkIYr9cUtzq+dtE9W7p5NxpZeJvgLqHaovGzF4A==, tarball: file:projects/maps-render.tgz} name: '@rush-temp/maps-render' version: 0.0.0 dependencies: @@ -19554,7 +19555,7 @@ packages: dev: false file:projects/maps-route.tgz: - resolution: {integrity: sha512-QNpvB85+aziyjxaWt9BdPBWHHkDYOIL+EnncHtJ36X1G5My/vis5krqdH2LLuRF+Bqowbab70nsYFUtYv5AzgA==, tarball: file:projects/maps-route.tgz} + resolution: {integrity: sha512-ERK56bnq7LhgrEIPDmLP3wHnKjLmoc1oDvEYJqfSjZ4k5N6UsCT3UZYob0VFAgvswEeDkp0Ck67XJjTX/TjCNA==, tarball: file:projects/maps-route.tgz} name: '@rush-temp/maps-route' version: 0.0.0 dependencies: @@ -19598,7 +19599,7 @@ packages: dev: false file:projects/maps-search.tgz: - resolution: {integrity: sha512-+mH9dsOkZLNwaxlaOhG3FXu5hONuS+uDD8m9ccYdamkiBicZSyBoQIf7I0McAM3dn9moI9XBjdAWiNBy5E2S9Q==, tarball: file:projects/maps-search.tgz} + resolution: {integrity: sha512-g7eyWqFvvugIUY+2WVviDw1nN3gAFR3aL/+B4oND2st4hWI1gMTLfMuBB7YWmmFmZWd0amJIpPVCLMoBUC+SFg==, tarball: file:projects/maps-search.tgz} name: '@rush-temp/maps-search' version: 0.0.0 dependencies: @@ -19642,7 +19643,7 @@ packages: dev: false file:projects/mixed-reality-authentication.tgz: - resolution: {integrity: sha512-4WwgtPIRxO9PdgLMETjkxmBBFMEDWbjyH7cEVlDgjKUzuGMM5SuW5FlGhmGEf5sRlJAOMgWQC+2IzOcR0v0Yig==, tarball: file:projects/mixed-reality-authentication.tgz} + resolution: {integrity: sha512-yMIEVGrf+onWbq2eXKBPyoi2PeFUKuS69y2HjT+S9mTnwvV5yKmOWV707KhFPcrS98ODqCOGvDd+TApXMr7cyw==, tarball: file:projects/mixed-reality-authentication.tgz} name: '@rush-temp/mixed-reality-authentication' version: 0.0.0 dependencies: @@ -19684,7 +19685,7 @@ packages: dev: false file:projects/mixed-reality-remote-rendering.tgz: - resolution: {integrity: sha512-f66tsXyjSoJFskbDVuLEUOilNcGa7mCyHoggC7lGlGD55DikPIYEdD00TZeypOLTTMUQ2I4j0owHvU1HLu3ReQ==, tarball: file:projects/mixed-reality-remote-rendering.tgz} + resolution: {integrity: sha512-1ChHCKWBy2Crs5aae+8VBkxzm6cbJ/NG/XxsS8DlHxhPdbApAWVMsVDq/tG2mvhcmupTp4oDoq0sI9Ntn7DilA==, tarball: file:projects/mixed-reality-remote-rendering.tgz} name: '@rush-temp/mixed-reality-remote-rendering' version: 0.0.0 dependencies: @@ -19731,7 +19732,7 @@ packages: dev: false file:projects/mock-hub.tgz: - resolution: {integrity: sha512-PH3e1D3wdc9xOuNsYmXxE5zVJx2da6RH6NVD4zUxAG6+DbpfMSWPudtAOL68ThXcAfcR6iFTQaf5yWWKFtN/Gw==, tarball: file:projects/mock-hub.tgz} + resolution: {integrity: sha512-f8T8GJAzfxLmlNnGEQ8b3O2W+hw8d/8wdZYaUDmFtxZW6pD16DDD7vTmD6kfAdK4QE5qfRIIlftFjsdbZ6812g==, tarball: file:projects/mock-hub.tgz} name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: @@ -19751,7 +19752,7 @@ packages: dev: false file:projects/monitor-ingestion.tgz: - resolution: {integrity: sha512-vrPVNO/+TVDEhE+BOKUD2brEqvsaKo2j3jSf2OZX1ESu/SIR4aq/6HtuYulESaCcgsNarGXUyF8w1Gugs0G9BA==, tarball: file:projects/monitor-ingestion.tgz} + resolution: {integrity: sha512-zAh01J6CzSJwQDA1t68LwjflqiEQBkM8bt2gagMCx5FwXqu14TnaZ8xY3DtNvSN6U+KhcG+/ouVF5v3vCD/t6Q==, tarball: file:projects/monitor-ingestion.tgz} name: '@rush-temp/monitor-ingestion' version: 0.0.0 dependencies: @@ -19799,7 +19800,7 @@ packages: dev: false file:projects/monitor-opentelemetry-exporter.tgz: - resolution: {integrity: sha512-rcqCobUfZWys2WNN0gvsqT5ctw559nIbceLW4+mujmDPz3TV7aJu0ujspVyl+HL6Ro1+J7UahxWmoFcg9Jjl4w==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} + resolution: {integrity: sha512-fR80kWGbKwCMxk8b0fQX6lwjVdj7TYHQCmpQKcXSqPXPSQuPA3sDvKqvEBzT5Kn6KoT16bQJaQBKsAtE2DOMTg==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: @@ -19837,7 +19838,7 @@ packages: dev: false file:projects/monitor-opentelemetry.tgz: - resolution: {integrity: sha512-jJAKV0xZtJJLGYQWKh491I84Og97NX2goKLq+z5ioxrIbIoC9z2XED2DpzVtFN90F+UOyTfNIA8niXTAfXbwZg==, tarball: file:projects/monitor-opentelemetry.tgz} + resolution: {integrity: sha512-C9rZ9hkT9UNbghHczPbJlLcB+uRG7CIn0n6MR24xK05TPGKAMr6AH48ZyOScwFKmhny62AgudFTDGaQfj1ntaw==, tarball: file:projects/monitor-opentelemetry.tgz} name: '@rush-temp/monitor-opentelemetry' version: 0.0.0 dependencies: @@ -19885,7 +19886,7 @@ packages: dev: false file:projects/monitor-query.tgz: - resolution: {integrity: sha512-JC7XYy5qw1ZabecDN7Girw9cfhpaC8EFMHovybi+cGlrXtIpvbgOoi4qJ5C8cNMXgoV9epX1odxEZRQVvsWzWQ==, tarball: file:projects/monitor-query.tgz} + resolution: {integrity: sha512-1rh8NhMvOmBVXpGU3Sax4v2yvNqQPHjaCy5uVwg9IIEEEoqjdby5LHYNUcvds+A3MyrtzxqJzCxLCYaMkiPqxQ==, tarball: file:projects/monitor-query.tgz} name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: @@ -19931,7 +19932,7 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-R0F44ALQH8wMZsJUMtW5dmriw3nhkUZ6q4777dhgDev7MsgBdOCnZC8Mqlu10q0g/x8kUlmQwvTp65rwrejQPA==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-JSIp1bC9oU7Sfo2oL5jxjOgU+JgQXg4ykYQrhgjFF+pqlndEG727G8Lqehi3MAphzYQvF9sr6VmmztUn2ahCBw==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: @@ -19974,7 +19975,7 @@ packages: dev: false file:projects/openai-assistants.tgz: - resolution: {integrity: sha512-ylSkGDLi7sv7WZkt8ZvUDFrwX1t8nvAaAKhyKI9I/tIE5zajBroPU9pW0gQn+hfpvcL+VNIOfX3xiILKnuu0zA==, tarball: file:projects/openai-assistants.tgz} + resolution: {integrity: sha512-+Al2BAe9J57+TktRmgFrEC7nr1RV2TdhPDA2qY3+/+7L3+y/KzhH1h8KoHL9SreoEtPM3B1iFni7iryatvuonw==, tarball: file:projects/openai-assistants.tgz} name: '@rush-temp/openai-assistants' version: 0.0.0 dependencies: @@ -20017,7 +20018,7 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-h5X1wD7M1kcwwkYqBMjU0o/HiZtcWVgj26NALCexXKkJ7XGnjpdVKDOUgavHuIA3F8JoKxeGUH1HKUdlARyvUA==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-kZ6G68IIg9k9Nsgov0Hw3DoRe0iu8Pj1NT8Uwd2t20af1Keqj5mMVNTPHZoGA7mVc748IoaZRzgmHff9MeA//w==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: @@ -20061,7 +20062,7 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-C+xIjNJ7I41EFe1RXj40DbTygg8+5QpjTL6NYzzj5ixPkLTvVlYNLUOKnqBUCAmwcqpGcEZaFs+F/xpxtM9DTQ==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-gLy/jIqo4M5KQDQ7dT6ticlAyuh4bUcZ2PV5/PzlXb5w1H5EQ5NAaIGvKDiA8w7+U72aFHIG4JgSnqB3c3EArg==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: @@ -20108,7 +20109,7 @@ packages: dev: false file:projects/perf-ai-form-recognizer.tgz: - resolution: {integrity: sha512-zRn1PQ6zU3+FK9yQzySZ2ovM75PA1Ps5R46f2iP475LocXzsl6nQxrz0qbg/p1zxc7VvS7YB0d9pJq9+Fi8ylw==, tarball: file:projects/perf-ai-form-recognizer.tgz} + resolution: {integrity: sha512-OmfVcJmkSk2Avnoe6wBP3Rg5MkC+2fkmg4xc64z+bkHNjeyJ9pZMWAIzVyVzTnaS2eeABdbhILw5s6xhlPju7w==, tarball: file:projects/perf-ai-form-recognizer.tgz} name: '@rush-temp/perf-ai-form-recognizer' version: 0.0.0 dependencies: @@ -20127,7 +20128,7 @@ packages: dev: false file:projects/perf-ai-language-text.tgz: - resolution: {integrity: sha512-KGv36t0I31Q4kKmWPrxcJCH15NJ05vecxQyxR9iD8EyUtcHsOqGustghA2S/qeNTxQEF/ga1fTK/dvx/OsbtHg==, tarball: file:projects/perf-ai-language-text.tgz} + resolution: {integrity: sha512-TcDFPKMy4o449JYQPQtLPL3FEjx0Xm/M3BjBLc64mgPneX8PkAklXr2VMXZMncIHIP5YRUEH44x9qEea5e61yQ==, tarball: file:projects/perf-ai-language-text.tgz} name: '@rush-temp/perf-ai-language-text' version: 0.0.0 dependencies: @@ -20146,7 +20147,7 @@ packages: dev: false file:projects/perf-ai-metrics-advisor.tgz: - resolution: {integrity: sha512-6PIwoLHtEcBDBvO2QBSgz6ow08Fq4Cjm4IQAqf3ehZ3YxkGr9Ur+iauQCKGKGuoQkvBKN+/tSE+eH31gXAwUPw==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-7fLdA56pxs/a82c2miyuPemJmCq1ncUI9mnTnewgpUsP38mXEv2KoWKA4Z3h7Mbdf3RtM3I32pTJ93gHoukWsQ==, tarball: file:projects/perf-ai-metrics-advisor.tgz} name: '@rush-temp/perf-ai-metrics-advisor' version: 0.0.0 dependencies: @@ -20164,7 +20165,7 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-eDWXI4EB+UD7CO6CpCexEutRn4T5SfABBtS+HCg6q3BbdCeRiScemnKnYfk7UgqBDVx3WpvHKO3ZDhsTeTkZYg==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-pdR8edJ7v5PHqpizI3Ww9XkmVXOVQH/RVPL+JAP+o/arQCeMatH+CLsdHF1pa/Jyp+l/JbwkaxQeiAM0ztUyGw==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: @@ -20183,7 +20184,7 @@ packages: dev: false file:projects/perf-app-configuration.tgz: - resolution: {integrity: sha512-FTDK/qFntU+PkxtjuqpHYMmG8Kv2jD7HwugTTYtSkCT8EorHnszTBqCkZimr/LiXVLJid0L0RQFm6Q+p9oI3Lg==, tarball: file:projects/perf-app-configuration.tgz} + resolution: {integrity: sha512-NUe1V0v0JejGrE1S3fRduV3PbRLWSdOr103L6UWyQOFKxZWf7BWhcMpWeEZhPHhiVzhKXbC6pkJRMMHg8lCPGw==, tarball: file:projects/perf-app-configuration.tgz} name: '@rush-temp/perf-app-configuration' version: 0.0.0 dependencies: @@ -20202,7 +20203,7 @@ packages: dev: false file:projects/perf-container-registry.tgz: - resolution: {integrity: sha512-Dwsgma06weTLvZI61bM4bSzh3ODhcj/MshL4OyBT35KfJXoKJSQxNXyRIGwSWD7gLOaRMgXhhBmO3pbxt/BMIw==, tarball: file:projects/perf-container-registry.tgz} + resolution: {integrity: sha512-/7/MtTW0WsR8tZqMeUxrQ+NXABFm03tKI/ZpWrt2Sk9/7TbMEkDcx7kP73lhbPbLD5cdrxJEt6WHHtHppaMGpA==, tarball: file:projects/perf-container-registry.tgz} name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: @@ -20220,7 +20221,7 @@ packages: dev: false file:projects/perf-core-rest-pipeline.tgz: - resolution: {integrity: sha512-FSxsbCaTZBDfL4/OyAawE3MC51c6eNb95XrhiC7iWLi16eC1wo78fUZm6PPHdm+1X8sWLi7zLoHOVOkGcUp7Cg==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-BTIv5j2xYZS38Lcu9/bR+Anbc9pQCzko8dy1jyMiGb6lW2ZepWB2N2xpaltzUB9lEkuvVEOpnOeaDAiTXWC86Q==, tarball: file:projects/perf-core-rest-pipeline.tgz} name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: @@ -20243,7 +20244,7 @@ packages: dev: false file:projects/perf-data-tables.tgz: - resolution: {integrity: sha512-D5BIygZ4dlmhIwXEFvXbvHQ8vQP25oCwuMfqqj7omIGcBnjGd1ZctGccXb4IIn3stdDN9K0kWkbCL8LGk8KYow==, tarball: file:projects/perf-data-tables.tgz} + resolution: {integrity: sha512-Q11EkupOXDgOSsr5Pm4aaMlJoogBVNT0fBsz78eIuUavvP3dldUorxjpej5vOO/IEdrgE30cO3+9aG9ahA8VsA==, tarball: file:projects/perf-data-tables.tgz} name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: @@ -20261,7 +20262,7 @@ packages: dev: false file:projects/perf-event-hubs.tgz: - resolution: {integrity: sha512-njm+4G2z3tEyAJiuSZai/v7Ky4eXABeSEc8WetP7HdgyjqMRNtzn1b967+QdcyhKr4MZB10kTBFB+jSCqwkAUg==, tarball: file:projects/perf-event-hubs.tgz} + resolution: {integrity: sha512-cunjxtJLc/kvupBa3qV2hzsPbFdaY9B++94q8adhGce8A4+4t/U1nngYCTNcpshHrW19Shyfc0D9B2/nzcVs9g==, tarball: file:projects/perf-event-hubs.tgz} name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: @@ -20282,7 +20283,7 @@ packages: dev: false file:projects/perf-eventgrid.tgz: - resolution: {integrity: sha512-0xXr89bc9LRMZuQvO4ABTj+LFDXDpbcXGR2rJ+FWBni8HbjSSSsc+05tQbJhfZSOR9A+rdcb3KSh/WXKolSIpg==, tarball: file:projects/perf-eventgrid.tgz} + resolution: {integrity: sha512-h8gWZGBXsCoIIwc6lN2WdyWDFrieXrWlOPLAba+683ogP9I+Fe7gblr7yg1VEL/3ZucWhdedY34J4iNaRDN5Og==, tarball: file:projects/perf-eventgrid.tgz} name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: @@ -20300,7 +20301,7 @@ packages: dev: false file:projects/perf-identity.tgz: - resolution: {integrity: sha512-BV9A3eyz+7HsHqz2Q/976OE/aM9zqW2jUfiGeENGEpR06ZqXoxyb+79OLgxZhE1dCvLHTHshPpH11eXOQ5A6bg==, tarball: file:projects/perf-identity.tgz} + resolution: {integrity: sha512-ah/WnTF7VIe8ygBu1pbXLIhMRTlvR5hr/VBGcmppH4XfDYTQ2GDVMAXaS1nXNxVu9GisHlZUc4ykaJTX51Rltg==, tarball: file:projects/perf-identity.tgz} name: '@rush-temp/perf-identity' version: 0.0.0 dependencies: @@ -20320,7 +20321,7 @@ packages: dev: false file:projects/perf-keyvault-certificates.tgz: - resolution: {integrity: sha512-RmThZOxtiuMapfumczYtaqi0UrM4tJPMvdqxkbSUyzr7L2T1UguEGJOo1Pcn/FMso5U/WEab/u9dHECdyGjqWQ==, tarball: file:projects/perf-keyvault-certificates.tgz} + resolution: {integrity: sha512-+gMR0FfntwxXA5Fq9jOoZm8DhWg+OD9hyhZiA7Sovi2KcCJuXF27BC+b9pDz38e4AhvgLdrRd/ynxqmdnDIBtQ==, tarball: file:projects/perf-keyvault-certificates.tgz} name: '@rush-temp/perf-keyvault-certificates' version: 0.0.0 dependencies: @@ -20342,7 +20343,7 @@ packages: dev: false file:projects/perf-keyvault-keys.tgz: - resolution: {integrity: sha512-2K5ktseCXeTYixLZOkyq0uie6/fj9mRd0mbX/sZxVO+DyhMzWThyLKfN6vZ0kkvhihbemq2VgwnsL8yAIFc75A==, tarball: file:projects/perf-keyvault-keys.tgz} + resolution: {integrity: sha512-PM7eJ6DNse16bZvlYW9iKMbS9V2tQeaZC/lyA/ouhjV49j5FxpCWNOpanyOnrIOi16TTew9tzLSfRF/PNiwHdA==, tarball: file:projects/perf-keyvault-keys.tgz} name: '@rush-temp/perf-keyvault-keys' version: 0.0.0 dependencies: @@ -20364,7 +20365,7 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-DvcrK4EkseFXt9ctvPYyU4w7vhtFlkdX0ptSJR1KHejrFVAF9BhE+6WikeU1yVV8WdEu+KTIGsX204jNonjS/A==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-dgVLrQo3/2OVI60I0nKAPf7CIR5UGEcjQfonfohF05/j6TmfKvGGubz/sdKBftlNgzEhWvts2v0g9Phbl7yaaw==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: @@ -20386,7 +20387,7 @@ packages: dev: false file:projects/perf-monitor-ingestion.tgz: - resolution: {integrity: sha512-s8DMHk0Qqu4YqZe51v9V8+LdJnSy0k4EqmtXAV2kcJreY4kCSVa/c+O8gpFmLIZIJBMrZLHQRVAvAONSYa7cbQ==, tarball: file:projects/perf-monitor-ingestion.tgz} + resolution: {integrity: sha512-hIj1oVIzzbXIDPRwX9IF2PMt5TM9627P59UAj+tLp8oc0lJLpcFtAZ+MM++/fcs94n09scwr2Dx4wceGdy6aVg==, tarball: file:projects/perf-monitor-ingestion.tgz} name: '@rush-temp/perf-monitor-ingestion' version: 0.0.0 dependencies: @@ -20405,7 +20406,7 @@ packages: dev: false file:projects/perf-monitor-opentelemetry.tgz: - resolution: {integrity: sha512-m4miWyp+BhptAHW0KNafiP9ZLli5kRk7xQrFWlegcJbCA/JAaBWvYAw9oP9T1oCsgbeQPPT0vRneQDeS+0G7gg==, tarball: file:projects/perf-monitor-opentelemetry.tgz} + resolution: {integrity: sha512-48AdhN8pnAFVSjXikBLk70J6sx1KGbC9hCOTqd9H0QHzw916F6R7IgVuQlAd1/jHi3iijcnfwKmEK4DsPt0Kbg==, tarball: file:projects/perf-monitor-opentelemetry.tgz} name: '@rush-temp/perf-monitor-opentelemetry' version: 0.0.0 dependencies: @@ -20428,7 +20429,7 @@ packages: dev: false file:projects/perf-monitor-query.tgz: - resolution: {integrity: sha512-3jaT9u5WNj7cDXxQYFyaippjDqmLDOX2SHlJH3+P0oCG+IPj8Cd95UVATpdmFeU4kWhKjvorjivhhfuq9olr/A==, tarball: file:projects/perf-monitor-query.tgz} + resolution: {integrity: sha512-uLqnZAUjGPz7m5egs8J7W+gWaSz9gYbj2dJoK/O1m1cUlW+9Y1lOenAZtTtcgRTvpUBvmlGffpJog49wqXeLBA==, tarball: file:projects/perf-monitor-query.tgz} name: '@rush-temp/perf-monitor-query' version: 0.0.0 dependencies: @@ -20447,7 +20448,7 @@ packages: dev: false file:projects/perf-schema-registry-avro.tgz: - resolution: {integrity: sha512-gewXnOmFyAT3gSbvYCOrt/i3IC8eW98tzifx7+R1Om5flptezfw/6ecCJY5HVB4CWbq/BBtxRXmvLM0JwRR4aw==, tarball: file:projects/perf-schema-registry-avro.tgz} + resolution: {integrity: sha512-s8oSwgtv+7jJv2EokibDmo2xJ43lQxv7UxQ3sr4Vk8hbmF9ZkjVxpilzExdpRwlA9cn/MeCRphfttBHhN5fjlA==, tarball: file:projects/perf-schema-registry-avro.tgz} name: '@rush-temp/perf-schema-registry-avro' version: 0.0.0 dependencies: @@ -20466,7 +20467,7 @@ packages: dev: false file:projects/perf-search-documents.tgz: - resolution: {integrity: sha512-RfWgZSabfl0LvGuO2bwoXnZK9D5ioCUQwXOZyl84drDIo3lbw6c+LqwJIMmjUtyyp81F5xzOvRHwEvxKyzVPSg==, tarball: file:projects/perf-search-documents.tgz} + resolution: {integrity: sha512-v6b9r9f6CF8PXFfvWzYJVFMc5l4Bl3hDXRFX+2FZ9vvsTb/ayjKYVJLYM7df4ZQ644pPRhXfRbfVbiQE2vY12w==, tarball: file:projects/perf-search-documents.tgz} name: '@rush-temp/perf-search-documents' version: 0.0.0 dependencies: @@ -20485,7 +20486,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-hAqWT8R94Txrv9RYDpZvh4uYVRU84VA4X1C8gKvdVrfk45ilzGswPdOlvCTftlKKhACq731PKRikFiFTKJgMHw==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-0Zskenv0s6R69K0M2hzGlKKovxBTDrCHILy1VSKoCKUY/g0Y5PG11CJWEYAddY8hQAQsp10uE6TPuez1ZJlGEA==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: @@ -20505,7 +20506,7 @@ packages: dev: false file:projects/perf-storage-blob.tgz: - resolution: {integrity: sha512-HtocnQRtcjxZIYCVWgy+FYUm4wZVIMigyPwBWpyMJD8djHmxgFoLeqK0yD7q1MhwH3b/5Zh61kFaZkhPrvoVuA==, tarball: file:projects/perf-storage-blob.tgz} + resolution: {integrity: sha512-lzQzzmcAqWqUk1t/XrEnBwfeWoKfWTjydMYAtjJcCHKUJPJ/JELDLtMLS/A1NTVJ1Qo0XAIAmzqB8cXEwOX34w==, tarball: file:projects/perf-storage-blob.tgz} name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: @@ -20523,7 +20524,7 @@ packages: dev: false file:projects/perf-storage-file-datalake.tgz: - resolution: {integrity: sha512-rZGNEcQFXYbFMW+hLZ+lym9qQYcBQlN3BzXqPBf8Q364LHlgzR9n/oeA0e550k5eumXZNSC6MD3CXm2DPwm6NQ==, tarball: file:projects/perf-storage-file-datalake.tgz} + resolution: {integrity: sha512-GqiplbAwkNlbf+sDzUbLmPoMFFvAvOi8Hbij7PwbHtUBObOIh70rQ94DChdOE0SeSCCkuxfjMnYS937uDy0vAQ==, tarball: file:projects/perf-storage-file-datalake.tgz} name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: @@ -20543,7 +20544,7 @@ packages: dev: false file:projects/perf-storage-file-share.tgz: - resolution: {integrity: sha512-iA9blZqJdybkcQLJlEwaBCeXPP3ONPiJv7Db3DBM9WWuDGe2Ez+VOWOIRUU9/nY09yiPrQP9CMxHyYIq1MUA/g==, tarball: file:projects/perf-storage-file-share.tgz} + resolution: {integrity: sha512-7KoGsDWUfrlq9JXgE5BC3h0dexd1f9BdQpJ4zZoDmv9c2pk5yXzK83bLxQL2s33caTfXwWuxoRzQxMZLDQ1H+Q==, tarball: file:projects/perf-storage-file-share.tgz} name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: @@ -20563,7 +20564,7 @@ packages: dev: false file:projects/perf-template.tgz: - resolution: {integrity: sha512-r466X08GrFHAmy3dM6A+UN4kLOCPBofNUcm4VKt0dg+p8GpmiIDR/SQmgPE9vvbiGGug1PNcn3OF95UoayehtQ==, tarball: file:projects/perf-template.tgz} + resolution: {integrity: sha512-gERwp6rtGwpCSLhkMsslOkAuhuAYgWS0xC2cES7iqIJSUzj40LVuQKZDVzjGEInIiEkqT9AufHY7lCaLnY7sIQ==, tarball: file:projects/perf-template.tgz} name: '@rush-temp/perf-template' version: 0.0.0 dependencies: @@ -20583,7 +20584,7 @@ packages: dev: false file:projects/purview-administration.tgz: - resolution: {integrity: sha512-gzHjHRsic7QKB5XrTsTLuYU/TbJygYcF7NlSedvGC5MHJYnCk+zEqf7JzVcyhcT7SypOar65bbyhUv4ch+M4xg==, tarball: file:projects/purview-administration.tgz} + resolution: {integrity: sha512-bB+3Z7epKNFyBwGsjMH6j96mwN05s1tVABHyN4CU/veTblgEVovpaWJ/OlW8zBdJ+vSNYduFTGnhfHCyNPkzuQ==, tarball: file:projects/purview-administration.tgz} name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: @@ -20625,7 +20626,7 @@ packages: dev: false file:projects/purview-catalog.tgz: - resolution: {integrity: sha512-0DyuIuiVDoRuv57ASwYcCL2arQzoc110Gp2vIiCJY+TwEhaegr1ZJcxzU8xp53px41pIkREBrwQ55wYwLWaCXA==, tarball: file:projects/purview-catalog.tgz} + resolution: {integrity: sha512-kgl23IOACYUNrwC/mZ/QMtA0uHfzza+2o6x0pOb08t2Om3D4o92Aki3aglTRO44OfgIIGnwDVA7QcDnD49cEVg==, tarball: file:projects/purview-catalog.tgz} name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: @@ -20667,7 +20668,7 @@ packages: dev: false file:projects/purview-scanning.tgz: - resolution: {integrity: sha512-rc5/rosiPr4ODBwE8XTtR8vDVzKfE/aAvFgMaVZV6G2jc5UvEj3aQMaNSd3+a2rkoG3w02Fpx+Z/uc/vKR7/6g==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-pzJQnUtLZd7MRs2V33/NRr9ql09tZ6rVor/ZD2J+HNHPHtWFXHt1BQcw7Do3JlUnpF4XJ5LQBjKf7s0HV0E6Bw==, tarball: file:projects/purview-scanning.tgz} name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: @@ -20709,7 +20710,7 @@ packages: dev: false file:projects/purview-sharing.tgz: - resolution: {integrity: sha512-fJ0ZE+nl/x3+nwq7SqzJfAIvuPmKG3tP2O/d11MejcUurkCVSZDAxMUv8/3t2iqSNEjQBWx53kSMe9YLTbQbwA==, tarball: file:projects/purview-sharing.tgz} + resolution: {integrity: sha512-sWjnYzbEX2rDXU4UQDTaj4hDW3rEKKjlIq4fE2ivqTsTrr9zUdbfvjs2evYej3xjY6hITW8CeyPqT0fpRwwf2g==, tarball: file:projects/purview-sharing.tgz} name: '@rush-temp/purview-sharing' version: 0.0.0 dependencies: @@ -20753,7 +20754,7 @@ packages: dev: false file:projects/purview-workflow.tgz: - resolution: {integrity: sha512-it0EtKMEtQJScVAhVfiCrnsh3kialyDsOhk5kOY2i0knsXGCRIG1vhwCcDckrFxIv4jhGmqeMPEZmVegp6746g==, tarball: file:projects/purview-workflow.tgz} + resolution: {integrity: sha512-IEtXxsCgu5wlusjoLVGBZBEGUAmFh1VQzRaQQJ4fwZWb69SFauotMvF3RQoH9uG6qHAN9p9llUn84cMHQlK5Nw==, tarball: file:projects/purview-workflow.tgz} name: '@rush-temp/purview-workflow' version: 0.0.0 dependencies: @@ -20796,7 +20797,7 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-rf+BrMxkt78qgN8BG48L5F5XcABiPpsl0V2j3GE1HdKBgCs/LHzCOtMJvF5HEu5NHuiwUdHAXSHFAbr84iZ6pQ==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-Sfjbzd6B0wsCNknt0SPb7LRv3V28raEia2LfY6gG0rtFNOnsB6sDaGQkMiEP4t3N7zwO+Vl6X+24rSbdeLO8dA==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: @@ -20841,7 +20842,7 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-sB+KSJpybIS9P8JRQKMUI4vqrCm00vKN46sBszTR2LKIKOROm9Zzk5YENnePaFIL3o0JRp12ikoBZfCakUBSSg==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-yugjymZNuFfDZCo+PVQKLV/RjP7mUc4EiuEkqCeeGNN0H0ur+ZA3tM8oTWYcZKiAuFOUeM98b2HUsaoru93Q1A==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: @@ -20892,7 +20893,7 @@ packages: dev: false file:projects/schema-registry-json.tgz: - resolution: {integrity: sha512-SEAkzY2Iay0GhWvWymdq0hK5M1Qai8toUb3j7a89YZ7WLhe4SnZ8KKyrxo7lcDUXNvaJY0A6f3A+wCJRoJA9kA==, tarball: file:projects/schema-registry-json.tgz} + resolution: {integrity: sha512-Fop4nWvaFIG017eJuHxOjdZrKq+dD1Gcvt3C95uek9dCRLQls+8rOAj/bp5BJY3/8OAMe2Qu6Tmbkb93bM3Olg==, tarball: file:projects/schema-registry-json.tgz} name: '@rush-temp/schema-registry-json' version: 0.0.0 dependencies: @@ -20933,7 +20934,7 @@ packages: dev: false file:projects/schema-registry.tgz: - resolution: {integrity: sha512-t0zapGTtO6o5prfNTDHDPaY8LSa2jMCXguQef3GEoUj8hxI6vTO/CXpP5LBHjk9RR2mYI9BL/AxH7hRZT7hdbA==, tarball: file:projects/schema-registry.tgz} + resolution: {integrity: sha512-i2PacbcmLjmglwD8a4u/Lz8iNWbdmUbYsNJlWrWJn9WXfPso2owWNdEbvulH7yB2QExxCsEZ3ER7oNQMd2P6Dw==, tarball: file:projects/schema-registry.tgz} name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: @@ -20972,7 +20973,7 @@ packages: dev: false file:projects/search-documents.tgz: - resolution: {integrity: sha512-fRx1ZFSbocqLeQ84gy9205ktc9C66xFQ+b+qVmVwJyu8ipZPHJBlNnJKs+XyZvg6K84/9jt6POf8hSi4gZCrfQ==, tarball: file:projects/search-documents.tgz} + resolution: {integrity: sha512-aUZBPzWAEkY70jPGp6wGQIoMg3Enzs2UJ8xd0rupiL2vSWXzSFf5qIqV57Wnqpy6r+K3+JuVr648u23n8pcM7A==, tarball: file:projects/search-documents.tgz} name: '@rush-temp/search-documents' version: 0.0.0 dependencies: @@ -21017,7 +21018,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-IJbUXnzxyRuxvyZBK0iP9U2A7QEsGIL/gz6Q4XGhz6r82pm9hKsSw8dYzp6CBc7IZl4VVzOG01n40eOk9x9bMw==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-mpNMv/SrPsUCqx0ISD4cc1HjDdU/muTxaPZQ6xJULQ7wLjw6lwzybV5wcQPVpNM3NbiNx1pMEEwslPE/JlKBoA==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -21080,7 +21081,7 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-LsLaU6cXbHXq+1zZGkwmuFYXxXGGQrBOK9rJnxiVRxtgw42salNEXtV16GBAnkHQgExYoBBYgmJMBhClKoDKMA==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-cVlJSso3vS8LBSKlzTFMyVqefhRPFCHeCbV098X04rD9MBvy5eoLhyU6Ej3EiAZAc9WrVO4PwodhqijRGuaq6g==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: @@ -21130,7 +21131,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-yq23SR+E4nLaZSqKJ3MWC8kT3mOBeXbYAhzSmqVX6ZlHJ+nVYkygeSU8Qiau7zIOIqfEGgH4F1lwiMN6Uz+wIQ==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-uUbW6YC6269aZMPTZoRQ/Kv2s9SCGeZLtfpPgwN2E0qSxZjDNjh0v/rkZjUOrmg5wnOJBzncKugx1VHIuAsFDQ==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -21177,7 +21178,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-FDa8TRoXKwHDCBRuFfbrhGxdc/mj94t07WYjHNPZs3QmDb/3X475IP7EfdkYn5ofsSs1P07k/+WPUvSE8Dkfhw==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-mrROVokvB7Q+WGuFtms6qWmelE0XVCFqGoPZ7xKIceZFRdQX21Mhjn0vcgOXwzIJh+hNaugPAbsAs+gkLhmLFw==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -21228,7 +21229,7 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-ikCi7wm8K2tDggO7HCdQreDBIB5i0X+h7wNs+cW6Hssy7KU7MCHAVEbj3P/xMj26Ih/OpZVZ5E2No7wrSNfagQ==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-pSx7B6hbkt1R9BmqNN0uqILmjqOxi2WkDSz5Sizvra6PGdNR1vyyW7xAsHvuBO7LlTxmS2xpXiO31q4WHMLAKQ==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: @@ -21277,7 +21278,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-hVAP2KfW5FDYGxecato/3FDhUyTvNuvJ5+y0400BfjtWZM07fgzTPMtjdeqd+3w2lyAUtxxPp8I02bA9Wwh73w==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-MLIul30QQVqQw5jrycR8To5vEyzIfEpSL8JMHzEytbpkRfGFWf6pMFRqxF62N0l7NZuTxZjL8Ux9eJjo0bOUTw==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -21322,7 +21323,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-8VPEFFLkrbrwiHEKGph6he/tYLbVcm5Z4/hxBF0e7+x4I0OdGcSy4RAq8/pxus8/OQdh5uvqz0y5Vpkc/q2TSA==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-tMzA7WrOK9i9LNUVpvaGc29AjIi2nxTjFk33/vm+7XICCLbzz1MQtBZ6VrtBhpBxKDs0/BwIO4ryVfS8RQVViQ==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -21368,7 +21369,7 @@ packages: dev: false file:projects/synapse-access-control-1.tgz: - resolution: {integrity: sha512-8E/WM/YFOilxL+fnJFphg9dyfYkd9TGaSfvo1VTNQxKzmLXY2jNQNyvrvqouS50biwBpnpynOcDppKAC2NINoA==, tarball: file:projects/synapse-access-control-1.tgz} + resolution: {integrity: sha512-E3UNR2yNXfopDOinosH1SC/6+NiKwqgImdQGrEnoDMoW1ZEEcuY6I6lAx6ONrx5/5xBD+OHnMznP/zvKqQve9g==, tarball: file:projects/synapse-access-control-1.tgz} name: '@rush-temp/synapse-access-control-1' version: 0.0.0 dependencies: @@ -21412,7 +21413,7 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-T8ZHivZMYQkdneTldpTwhLViKYk4flVjO3IDoGIWFyhRPPXtg7oYjeE/TSUwzCrBD5lP3gaUd2xLLjVJzP9SYA==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-nQ+WpbBoM4AM4Z/dcp/vYwdI8i29dzzQK6I0X/vCSkbSNUtoxadUKiLJoRtGwxhkr+x/0EFQROhqrD13mI42qQ==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: @@ -21458,7 +21459,7 @@ packages: dev: false file:projects/synapse-artifacts.tgz: - resolution: {integrity: sha512-8F7EqwA2McFUoFkqSoJqkk4W3jP5aiJ2LFndiW5qrrEc9Eu6CQZ+xv0W0gfOjg1DHDXMCztjJiQS7V8hlIAddQ==, tarball: file:projects/synapse-artifacts.tgz} + resolution: {integrity: sha512-aKa4mgLVfs2VJJF6mOdY/bO2JGKEgy57GjUOa3rkGkzOn1o39NfxH8FoBTx0Dl+V83nFHrQBpW90ShVvgb3b7w==, tarball: file:projects/synapse-artifacts.tgz} name: '@rush-temp/synapse-artifacts' version: 0.0.0 dependencies: @@ -21506,7 +21507,7 @@ packages: dev: false file:projects/synapse-managed-private-endpoints.tgz: - resolution: {integrity: sha512-CAvFC4Q6XL6EWecHdIOrwaQvkBCPVnx3FPyWr9hlG1N8eZNU+kJLQZYs8JbqULBxDok2b+45UA7EcvsOZjkuaQ==, tarball: file:projects/synapse-managed-private-endpoints.tgz} + resolution: {integrity: sha512-yiZT70frTUVFHS2Mo9InwwCKLSXyg75zSkD9heRYdNDCAn88R2FE54e8nCXrqOAQDeccVIJcXVOaWXKAAy+TFg==, tarball: file:projects/synapse-managed-private-endpoints.tgz} name: '@rush-temp/synapse-managed-private-endpoints' version: 0.0.0 dependencies: @@ -21547,7 +21548,7 @@ packages: dev: false file:projects/synapse-monitoring.tgz: - resolution: {integrity: sha512-j5bkzcshk2sZwVGZpEDoupMm61vFJgnsG4p0+VFGyDsyXmrlT3kCkE6c7ASTYRNT4HTRtuIeBrEds4oOQySgTA==, tarball: file:projects/synapse-monitoring.tgz} + resolution: {integrity: sha512-3S0V1CW6Eue5hRkFzETZSw/33YW03mQcIk2UnOptnZ5KAV/Nf2q8VaFzpArkReOkUIHc/Ln2Uw1bH1rxTYK/Tw==, tarball: file:projects/synapse-monitoring.tgz} name: '@rush-temp/synapse-monitoring' version: 0.0.0 dependencies: @@ -21583,7 +21584,7 @@ packages: dev: false file:projects/synapse-spark.tgz: - resolution: {integrity: sha512-SPktEyftj+YlKCvy+UUjDp9IniuUehJjZ8Edh9ew9katr2hjesLJt12xNgxOjejXdjZI/rPwbm63kBmreKFJSA==, tarball: file:projects/synapse-spark.tgz} + resolution: {integrity: sha512-tRrEMHAtYa+oVimy5ab0MDmwGfPXJfIOmnlfKNTpyK3evYvpyD14aw/AhvMM5i4TFm7utkIgAgr4CevyL98vag==, tarball: file:projects/synapse-spark.tgz} name: '@rush-temp/synapse-spark' version: 0.0.0 dependencies: @@ -21624,7 +21625,7 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-gy0/G8mTQ7WSsHDAw0Y0LjvL5MbPrKyLfa1umFhAmGSoYoj17eKAj6lBEZAWgljdGP77+VcEg3TDVEnoVgz+cw==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-NXIHLvdlWjaV66V3tEYXHX/SS9VVIkGZu3ZaATLBTlOSb+wUlyq8LDeiTTjzHz8N8Vh6KvXpWlW4yWEZ50mQ+g==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: @@ -21666,7 +21667,7 @@ packages: dev: false file:projects/template.tgz: - resolution: {integrity: sha512-E2iCMKBkE+iXtXvBHQNe7bHXQ+KrUZylkFLD/g66R5q4DhX8x8AWFrLrQ0qIp6MJWt4/iDQXh6aNGmwRZg50xA==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-XTOJ6+cq3SlUB37NpBQxh5LETLCdTAzwnwLgNGesDHfKe9dumGjQjXLPMTzrd2/ESdrkBzaaOB9iNo01geGLBQ==, tarball: file:projects/template.tgz} name: '@rush-temp/template' version: 0.0.0 dependencies: @@ -21709,7 +21710,7 @@ packages: dev: false file:projects/test-credential.tgz: - resolution: {integrity: sha512-3v7WZwm5FnrlsmaZ8l2wHU5moDEJgoxjSHDtR+xiFULNc/mvpoEAMZQgucNK//brPL+vjQGpN04fKSjjXDsClg==, tarball: file:projects/test-credential.tgz} + resolution: {integrity: sha512-RlPmrflZs5Qx0K/QscDXPU+xp2UT14NzAue17Reukm5ZfWfWZNCu7SEbzM2emr1rwD9pFS7VWn9yN2rYWeEiDA==, tarball: file:projects/test-credential.tgz} name: '@rush-temp/test-credential' version: 0.0.0 dependencies: @@ -21727,7 +21728,7 @@ packages: dev: false file:projects/test-recorder.tgz: - resolution: {integrity: sha512-59wCpvAIFd+hVOdlADUEn0fb/0yNC20+SdKIC54kkGQPlpPxkpnC7N2EAFtg+z6FI5UOSvjTsDeqTr5u11RBWA==, tarball: file:projects/test-recorder.tgz} + resolution: {integrity: sha512-9mtv2GhYC48HoLcYWY54DXWZd9TyCKEjy2EyWyz/YRAwEHH1Bg99S2z/vUvs1+0CAr3MXqOcPVduYQIAyDR50Q==, tarball: file:projects/test-recorder.tgz} name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: @@ -21767,7 +21768,7 @@ packages: dev: false file:projects/test-utils-perf.tgz: - resolution: {integrity: sha512-8qhq5ooTMcMBowWuYUKu/fvAD4Bj+b7SfsCII1NpFbyy2PptJtVhbtF2zJWSqkRzF+i+4nGwuYclyL1YeTDwQA==, tarball: file:projects/test-utils-perf.tgz} + resolution: {integrity: sha512-qY4pUcbUKeJA438+9NoHJ/agdK31YRMqXRoS7J7yZ/zG1n/+F2QmNU7CkwZef6uXCxD8/+HCVpxppd+ypX/nlQ==, tarball: file:projects/test-utils-perf.tgz} name: '@rush-temp/test-utils-perf' version: 0.0.0 dependencies: @@ -21795,7 +21796,7 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-txkzetMc4WQYN6EePYqTNYjlWeQI+p3wJ9T0C/aQbcjh/CFbT8U6dvwK738ZG3F43DFIcl7XIOSQyc5842sUSQ==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-ZEW7YUeSYcnol3DEXAydO7/PsGUAU5JGtAUzTVtH1seg1I5UFeXEI3AgD0ZFJrQz/5GfiZQqRIn0QAQwJ4p7DA==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: @@ -21831,7 +21832,7 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-x/Tbt2f58Xli8JDy1l8YzBrYAgtg1HdqH/ncNTR5vTUyZAoOzfvzLDPCa4vt5r0joSAhRicLn2PXX7hpLOD7yQ==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-H9zNK2qDLrvy18UwpHpLaey7wzezKRyaSJix2iPwXsB8OH+L/iQr+v8E5ra6yCJaRPS69NQjhJwpJC63y+kKsQ==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: @@ -21878,7 +21879,7 @@ packages: dev: false file:projects/vite-plugin-browser-test-map.tgz: - resolution: {integrity: sha512-8Jg44N2Xy3VsZaSgcBDkWDjjpT8NcU+0TXvb3PCravbYHdMtI8K/XpI6fkpZnisjjl6dEE2MCUX6ecPAoFvvnQ==, tarball: file:projects/vite-plugin-browser-test-map.tgz} + resolution: {integrity: sha512-oYyxWJs0yiBuHRK1euUkqJ2WM0LVn+fgnhkQrnjRmvu1kp4+rbmDA3E5UmxKBzxgdFs29chO8Fx/0YipGFMQkA==, tarball: file:projects/vite-plugin-browser-test-map.tgz} name: '@rush-temp/vite-plugin-browser-test-map' version: 0.0.0 dependencies: @@ -21893,7 +21894,7 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-z8cEZjzlf4fY/6+XuRY/92PNuVg71xdvY7Q+AW0FaLQBatGb7/qyEIJlWkUYi4vg5Z88o5/aoYDfhRWS8O1hbg==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-3r8ira2O9SkLbIpn/DvBC+c9FhUrZ/qVb7le6nf1g3hHz9l+sFaxHRaJ7oXjbFn1yFOwVLQ6IkcT1x/NzNRt/A==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: @@ -21954,7 +21955,7 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-vhFPAd5S9Nvd3vjO218swHI2I5LsC2T9CxE5FSdrTmdKjh4H3pbbnFoqLVJ+zZTm/rpI2n6DzioPFzHocNGRpw==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-7tXE8Xon42//iVSmRsChR3qlrWCeq95UQLh6hcbtqW1lXTvG2XwkiB4hS3pDPFMYZUvErNrlMOYA+7Vz1bXW2Q==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: @@ -22010,7 +22011,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-anOJbt1t8jMsS3aYnHouZV564WxWBo35LAEwsUQqxlHpuSJGJvKx1+kdRD0Jb+llxefb2lefEu0VvjgSs6nzDg==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-SjEQIpXhLjdRDwY5sOuFX4LyNiZseKP4j6o8igLECcizsz+aDVc3UFCy0SbWtRcPdUkLTQuGOAHfPClywUcqyA==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -22047,7 +22048,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-tHjnlqSaMewH6Bkt/Fqu1CVh23vBr/7hshCpXkIqRj23ZCNJVMiE+aLgKjIUNYkLY391DIHlxPEwTnwjTEMqww==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-A+xM+s/pAs/EgKPNfGFOWRVW/UrYUPsj6hDfrxW7n2FZ7l7nXaBKSkD4xz+mBjJpy8xfcmMH7vgKreh8r5rAVQ==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: diff --git a/sdk/securityinsight/arm-securityinsight/CHANGELOG.md b/sdk/securityinsight/arm-securityinsight/CHANGELOG.md index 6fc3702c5b32..4c7653295942 100644 --- a/sdk/securityinsight/arm-securityinsight/CHANGELOG.md +++ b/sdk/securityinsight/arm-securityinsight/CHANGELOG.md @@ -1,15 +1,517 @@ # Release History + +## 1.0.0-beta.7 (2024-02-08) + +**Features** -## 1.0.0-beta.7 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group AlertRuleOperations + - Added operation group BillingStatistics + - Added operation group ContentPackage + - Added operation group ContentPackages + - Added operation group ContentTemplate + - Added operation group ContentTemplates + - Added operation group DataConnectorDefinitions + - Added operation group Get + - Added operation group GetRecommendations + - Added operation group GetTriggeredAnalyticsRuleRuns + - Added operation group HuntComments + - Added operation group HuntRelations + - Added operation group Hunts + - Added operation group IncidentTasks + - Added operation group ProductPackage + - Added operation group ProductPackages + - Added operation group ProductTemplate + - Added operation group ProductTemplates + - Added operation group TriggeredAnalyticsRuleRunOperations + - Added operation group Update + - Added operation group WorkspaceManagerAssignmentJobs + - Added operation group WorkspaceManagerAssignments + - Added operation group WorkspaceManagerConfigurations + - Added operation group WorkspaceManagerGroups + - Added operation group WorkspaceManagerMembers + - Added operation Entities.runPlaybook + - Added Interface AddIncidentTaskActionProperties + - Added Interface AlertPropertyMapping + - Added Interface AlertRuleTriggerRuleRunHeaders + - Added Interface AlertRuleTriggerRuleRunOptionalParams + - Added Interface AnalyticsRuleRunTrigger + - Added Interface AssignmentItem + - Added Interface AutomationRuleAddIncidentTaskAction + - Added Interface AzureEntityResource + - Added Interface BillingStatistic + - Added Interface BillingStatisticList + - Added Interface BillingStatisticsGetOptionalParams + - Added Interface BillingStatisticsListNextOptionalParams + - Added Interface BillingStatisticsListOptionalParams + - Added Interface ConnectivityCriterion + - Added Interface ConnectorDataType + - Added Interface ConnectorDefinitionsAvailability + - Added Interface ConnectorDefinitionsPermissions + - Added Interface ConnectorDefinitionsResourceProvider + - Added Interface Content + - Added Interface ContentPackageInstallOptionalParams + - Added Interface ContentPackagesGetOptionalParams + - Added Interface ContentPackagesListNextOptionalParams + - Added Interface ContentPackagesListOptionalParams + - Added Interface ContentPackageUninstallOptionalParams + - Added Interface ContentTemplateDeleteOptionalParams + - Added Interface ContentTemplateGetOptionalParams + - Added Interface ContentTemplateInstallOptionalParams + - Added Interface ContentTemplatesListNextOptionalParams + - Added Interface ContentTemplatesListOptionalParams + - Added Interface CustomizableConnectionsConfig + - Added Interface CustomizableConnectorDefinition + - Added Interface CustomizableConnectorUiConfig + - Added Interface CustomPermissionDetails + - Added Interface DataConnectorDefinition + - Added Interface DataConnectorDefinitionArmCollectionWrapper + - Added Interface DataConnectorDefinitionsCreateOrUpdateOptionalParams + - Added Interface DataConnectorDefinitionsDeleteOptionalParams + - Added Interface DataConnectorDefinitionsGetOptionalParams + - Added Interface DataConnectorDefinitionsListNextOptionalParams + - Added Interface DataConnectorDefinitionsListOptionalParams + - Added Interface DCRConfiguration + - Added Interface EnrichmentDomainBody + - Added Interface EnrichmentIpAddressBody + - Added Interface EnrichmentIpGeodataAutoGenerated + - Added Interface EntitiesRunPlaybookOptionalParams + - Added Interface EntityManualTriggerRequestBody + - Added Interface ErrorAdditionalInfo + - Added Interface ErrorDetail + - Added Interface ErrorModel + - Added Interface ErrorResponse + - Added Interface GCPAuthProperties + - Added Interface GCPDataConnector + - Added Interface GCPRequestProperties + - Added Interface GetRecommendationsListOptionalParams + - Added Interface GetSingleRecommendationOptionalParams + - Added Interface GetTriggeredAnalyticsRuleRunsListNextOptionalParams + - Added Interface GetTriggeredAnalyticsRuleRunsListOptionalParams + - Added Interface GraphQuery + - Added Interface Hunt + - Added Interface HuntComment + - Added Interface HuntCommentList + - Added Interface HuntCommentsCreateOrUpdateOptionalParams + - Added Interface HuntCommentsDeleteOptionalParams + - Added Interface HuntCommentsGetOptionalParams + - Added Interface HuntCommentsListNextOptionalParams + - Added Interface HuntCommentsListOptionalParams + - Added Interface HuntList + - Added Interface HuntOwner + - Added Interface HuntRelation + - Added Interface HuntRelationList + - Added Interface HuntRelationsCreateOrUpdateOptionalParams + - Added Interface HuntRelationsDeleteOptionalParams + - Added Interface HuntRelationsGetOptionalParams + - Added Interface HuntRelationsListNextOptionalParams + - Added Interface HuntRelationsListOptionalParams + - Added Interface HuntsCreateOrUpdateOptionalParams + - Added Interface HuntsDeleteOptionalParams + - Added Interface HuntsGetOptionalParams + - Added Interface HuntsListNextOptionalParams + - Added Interface HuntsListOptionalParams + - Added Interface IncidentTask + - Added Interface IncidentTaskList + - Added Interface IncidentTasksCreateOrUpdateOptionalParams + - Added Interface IncidentTasksDeleteOptionalParams + - Added Interface IncidentTasksGetOptionalParams + - Added Interface IncidentTasksListNextOptionalParams + - Added Interface IncidentTasksListOptionalParams + - Added Interface Instructions + - Added Interface InstructionStep + - Added Interface InstructionStepDetails + - Added Interface Job + - Added Interface JobItem + - Added Interface JobList + - Added Interface ListGeodataByIpOptionalParams + - Added Interface ListWhoisByDomainOptionalParams + - Added Interface MicrosoftPurviewInformationProtectionCheckRequirements + - Added Interface MicrosoftPurviewInformationProtectionCheckRequirementsProperties + - Added Interface MicrosoftPurviewInformationProtectionConnectorDataTypes + - Added Interface MicrosoftPurviewInformationProtectionConnectorDataTypesLogs + - Added Interface MicrosoftPurviewInformationProtectionDataConnector + - Added Interface MicrosoftPurviewInformationProtectionDataConnectorProperties + - Added Interface MTPDataConnectorDataTypesAlerts + - Added Interface MtpFilteredProviders + - Added Interface PackageBaseProperties + - Added Interface PackageList + - Added Interface PackageModel + - Added Interface PackageProperties + - Added Interface ProductPackageAdditionalProperties + - Added Interface ProductPackageGetOptionalParams + - Added Interface ProductPackageList + - Added Interface ProductPackageModel + - Added Interface ProductPackageProperties + - Added Interface ProductPackagesListNextOptionalParams + - Added Interface ProductPackagesListOptionalParams + - Added Interface ProductTemplateAdditionalProperties + - Added Interface ProductTemplateGetOptionalParams + - Added Interface ProductTemplateList + - Added Interface ProductTemplateModel + - Added Interface ProductTemplateProperties + - Added Interface ProductTemplatesListNextOptionalParams + - Added Interface ProductTemplatesListOptionalParams + - Added Interface PullRequest + - Added Interface Recommendation + - Added Interface RecommendationList + - Added Interface RecommendationPatch + - Added Interface RecommendedAction + - Added Interface RepositoryAccess + - Added Interface RepositoryAccessProperties + - Added Interface ResourceProviderRequiredPermissions + - Added Interface SampleQuery + - Added Interface SapSolutionUsageStatistic + - Added Interface SentinelEntityMapping + - Added Interface ServicePrincipal + - Added Interface TemplateAdditionalProperties + - Added Interface TemplateBaseProperties + - Added Interface TemplateList + - Added Interface TemplateModel + - Added Interface TemplateProperties + - Added Interface TriggeredAnalyticsRuleRun + - Added Interface TriggeredAnalyticsRuleRunGetOptionalParams + - Added Interface TriggeredAnalyticsRuleRuns + - Added Interface UpdateRecommendationOptionalParams + - Added Interface Warning + - Added Interface WarningBody + - Added Interface WorkspaceManagerAssignment + - Added Interface WorkspaceManagerAssignmentJobsCreateOptionalParams + - Added Interface WorkspaceManagerAssignmentJobsDeleteOptionalParams + - Added Interface WorkspaceManagerAssignmentJobsGetOptionalParams + - Added Interface WorkspaceManagerAssignmentJobsListNextOptionalParams + - Added Interface WorkspaceManagerAssignmentJobsListOptionalParams + - Added Interface WorkspaceManagerAssignmentList + - Added Interface WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams + - Added Interface WorkspaceManagerAssignmentsDeleteOptionalParams + - Added Interface WorkspaceManagerAssignmentsGetOptionalParams + - Added Interface WorkspaceManagerAssignmentsListNextOptionalParams + - Added Interface WorkspaceManagerAssignmentsListOptionalParams + - Added Interface WorkspaceManagerConfiguration + - Added Interface WorkspaceManagerConfigurationList + - Added Interface WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams + - Added Interface WorkspaceManagerConfigurationsDeleteOptionalParams + - Added Interface WorkspaceManagerConfigurationsGetOptionalParams + - Added Interface WorkspaceManagerConfigurationsListNextOptionalParams + - Added Interface WorkspaceManagerConfigurationsListOptionalParams + - Added Interface WorkspaceManagerGroup + - Added Interface WorkspaceManagerGroupList + - Added Interface WorkspaceManagerGroupsCreateOrUpdateOptionalParams + - Added Interface WorkspaceManagerGroupsDeleteOptionalParams + - Added Interface WorkspaceManagerGroupsGetOptionalParams + - Added Interface WorkspaceManagerGroupsListNextOptionalParams + - Added Interface WorkspaceManagerGroupsListOptionalParams + - Added Interface WorkspaceManagerMember + - Added Interface WorkspaceManagerMembersCreateOrUpdateOptionalParams + - Added Interface WorkspaceManagerMembersDeleteOptionalParams + - Added Interface WorkspaceManagerMembersGetOptionalParams + - Added Interface WorkspaceManagerMembersList + - Added Interface WorkspaceManagerMembersListNextOptionalParams + - Added Interface WorkspaceManagerMembersListOptionalParams + - Added Type Alias AlertProperty + - Added Type Alias AlertRuleTriggerRuleRunResponse + - Added Type Alias BillingStatisticKind + - Added Type Alias BillingStatisticsGetResponse + - Added Type Alias BillingStatisticsListNextResponse + - Added Type Alias BillingStatisticsListResponse + - Added Type Alias BillingStatisticUnion + - Added Type Alias Category + - Added Type Alias ContentPackageInstallResponse + - Added Type Alias ContentPackagesGetResponse + - Added Type Alias ContentPackagesListNextResponse + - Added Type Alias ContentPackagesListResponse + - Added Type Alias ContentTemplateGetResponse + - Added Type Alias ContentTemplateInstallResponse + - Added Type Alias ContentTemplatesListNextResponse + - Added Type Alias ContentTemplatesListResponse + - Added Type Alias Context + - Added Type Alias DataConnectorDefinitionKind + - Added Type Alias DataConnectorDefinitionsCreateOrUpdateResponse + - Added Type Alias DataConnectorDefinitionsGetResponse + - Added Type Alias DataConnectorDefinitionsListNextResponse + - Added Type Alias DataConnectorDefinitionsListResponse + - Added Type Alias DataConnectorDefinitionUnion + - Added Type Alias EnrichmentType + - Added Type Alias EntityKindEnum + - Added Type Alias Enum21 + - Added Type Alias Flag + - Added Type Alias GetRecommendationsListResponse + - Added Type Alias GetSingleRecommendationResponse + - Added Type Alias GetTriggeredAnalyticsRuleRunsListNextResponse + - Added Type Alias GetTriggeredAnalyticsRuleRunsListResponse + - Added Type Alias HuntCommentsCreateOrUpdateResponse + - Added Type Alias HuntCommentsGetResponse + - Added Type Alias HuntCommentsListNextResponse + - Added Type Alias HuntCommentsListResponse + - Added Type Alias HuntRelationsCreateOrUpdateResponse + - Added Type Alias HuntRelationsGetResponse + - Added Type Alias HuntRelationsListNextResponse + - Added Type Alias HuntRelationsListResponse + - Added Type Alias HuntsCreateOrUpdateResponse + - Added Type Alias HuntsGetResponse + - Added Type Alias HuntsListNextResponse + - Added Type Alias HuntsListResponse + - Added Type Alias HypothesisStatus + - Added Type Alias IncidentTasksCreateOrUpdateResponse + - Added Type Alias IncidentTasksGetResponse + - Added Type Alias IncidentTasksListNextResponse + - Added Type Alias IncidentTasksListResponse + - Added Type Alias IncidentTaskStatus + - Added Type Alias ListGeodataByIpResponse + - Added Type Alias ListWhoisByDomainResponse + - Added Type Alias Mode + - Added Type Alias MtpProvider + - Added Type Alias PackageKind + - Added Type Alias Priority + - Added Type Alias ProductPackageGetResponse + - Added Type Alias ProductPackagesListNextResponse + - Added Type Alias ProductPackagesListResponse + - Added Type Alias ProductTemplateGetResponse + - Added Type Alias ProductTemplatesListNextResponse + - Added Type Alias ProductTemplatesListResponse + - Added Type Alias ProviderPermissionsScope + - Added Type Alias ProvisioningState + - Added Type Alias RepositoryAccessKind + - Added Type Alias SourceControlsDeleteResponse + - Added Type Alias State + - Added Type Alias Status + - Added Type Alias ThreatIntelligenceResourceInnerKind + - Added Type Alias ThreatIntelligenceSortingOrder + - Added Type Alias TriggeredAnalyticsRuleRunGetResponse + - Added Type Alias UpdateRecommendationResponse + - Added Type Alias WarningCode + - Added Type Alias WorkspaceManagerAssignmentJobsCreateResponse + - Added Type Alias WorkspaceManagerAssignmentJobsGetResponse + - Added Type Alias WorkspaceManagerAssignmentJobsListNextResponse + - Added Type Alias WorkspaceManagerAssignmentJobsListResponse + - Added Type Alias WorkspaceManagerAssignmentsCreateOrUpdateResponse + - Added Type Alias WorkspaceManagerAssignmentsGetResponse + - Added Type Alias WorkspaceManagerAssignmentsListNextResponse + - Added Type Alias WorkspaceManagerAssignmentsListResponse + - Added Type Alias WorkspaceManagerConfigurationsCreateOrUpdateResponse + - Added Type Alias WorkspaceManagerConfigurationsGetResponse + - Added Type Alias WorkspaceManagerConfigurationsListNextResponse + - Added Type Alias WorkspaceManagerConfigurationsListResponse + - Added Type Alias WorkspaceManagerGroupsCreateOrUpdateResponse + - Added Type Alias WorkspaceManagerGroupsGetResponse + - Added Type Alias WorkspaceManagerGroupsListNextResponse + - Added Type Alias WorkspaceManagerGroupsListResponse + - Added Type Alias WorkspaceManagerMembersCreateOrUpdateResponse + - Added Type Alias WorkspaceManagerMembersGetResponse + - Added Type Alias WorkspaceManagerMembersListNextResponse + - Added Type Alias WorkspaceManagerMembersListResponse + - Interface AlertDetailsOverride has a new optional parameter alertDynamicProperties + - Interface FusionAlertRule has a new optional parameter subTechniques + - Interface FusionAlertRuleTemplate has a new optional parameter subTechniques + - Interface MLBehaviorAnalyticsAlertRule has a new optional parameter subTechniques + - Interface MTPDataConnector has a new optional parameter filteredProviders + - Interface MTPDataConnectorDataTypes has a new optional parameter alerts + - Interface MTPDataConnectorProperties has a new optional parameter filteredProviders + - Interface NrtAlertRule has a new optional parameter sentinelEntitiesMappings + - Interface NrtAlertRule has a new optional parameter subTechniques + - Interface NrtAlertRuleTemplate has a new optional parameter sentinelEntitiesMappings + - Interface QueryBasedAlertRuleTemplateProperties has a new optional parameter sentinelEntitiesMappings + - Interface Repo has a new optional parameter installationId + - Interface ScheduledAlertRule has a new optional parameter sentinelEntitiesMappings + - Interface ScheduledAlertRule has a new optional parameter subTechniques + - Interface ScheduledAlertRuleCommonProperties has a new optional parameter sentinelEntitiesMappings + - Interface ScheduledAlertRuleProperties has a new optional parameter subTechniques + - Interface ScheduledAlertRuleTemplate has a new optional parameter sentinelEntitiesMappings + - Interface ScheduledAlertRuleTemplate has a new optional parameter subTechniques + - Interface SecurityAlertTimelineItem has a new optional parameter intent + - Interface SecurityAlertTimelineItem has a new optional parameter techniques + - Interface SourceControl has a new optional parameter pullRequest + - Interface SourceControl has a new optional parameter repositoryAccess + - Interface SourceControl has a new optional parameter servicePrincipal + - Interface ThreatIntelligenceAlertRule has a new optional parameter subTechniques + - Type of parameter actionType of interface AutomationRuleAction is changed from "ModifyProperties" | "RunPlaybook" to "AddIncidentTask" | "ModifyProperties" | "RunPlaybook" + - Type of parameter kind of interface DataConnectorsCheckRequirements is changed from "AzureActiveDirectory" | "AzureAdvancedThreatProtection" | "AzureSecurityCenter" | "AmazonWebServicesCloudTrail" | "AmazonWebServicesS3" | "Dynamics365" | "MicrosoftCloudAppSecurity" | "MicrosoftDefenderAdvancedThreatProtection" | "MicrosoftThreatIntelligence" | "MicrosoftThreatProtection" | "OfficeATP" | "OfficeIRM" | "Office365Project" | "OfficePowerBI" | "ThreatIntelligence" | "ThreatIntelligenceTaxii" | "IOT" to "AzureActiveDirectory" | "AzureAdvancedThreatProtection" | "AzureSecurityCenter" | "AmazonWebServicesCloudTrail" | "AmazonWebServicesS3" | "Dynamics365" | "MicrosoftCloudAppSecurity" | "MicrosoftDefenderAdvancedThreatProtection" | "MicrosoftThreatIntelligence" | "MicrosoftThreatProtection" | "OfficeATP" | "OfficeIRM" | "MicrosoftPurviewInformationProtection" | "Office365Project" | "OfficePowerBI" | "ThreatIntelligence" | "ThreatIntelligenceTaxii" | "IOT" + - Added Enum KnownAlertProperty + - Added Enum KnownBillingStatisticKind + - Added Enum KnownCategory + - Added Enum KnownContext + - Added Enum KnownDataConnectorDefinitionKind + - Added Enum KnownEnrichmentType + - Added Enum KnownEntityKindEnum + - Added Enum KnownEnum21 + - Added Enum KnownFlag + - Added Enum KnownHypothesisStatus + - Added Enum KnownIncidentTaskStatus + - Added Enum KnownMode + - Added Enum KnownMtpProvider + - Added Enum KnownPackageKind + - Added Enum KnownPriority + - Added Enum KnownProviderPermissionsScope + - Added Enum KnownProvisioningState + - Added Enum KnownRepositoryAccessKind + - Added Enum KnownState + - Added Enum KnownStatus + - Added Enum KnownThreatIntelligenceResourceInnerKind + - Added Enum KnownThreatIntelligenceSortingOrder + - Added Enum KnownWarningCode + - Enum KnownActionType has a new value AddIncidentTask + - Enum KnownContentType has a new value AutomationRule + - Enum KnownContentType has a new value HuntingQuery + - Enum KnownContentType has a new value Parser + - Enum KnownContentType has a new value Playbook + - Enum KnownDataConnectorKind has a new value GCP + - Enum KnownDataConnectorKind has a new value MicrosoftPurviewInformationProtection + - Enum KnownRepoType has a new value AzureDevOps -### Other Changes +**Breaking Changes** + - Operation Incidents.createTeam has a new signature + - Operation SourceControlOperations.listRepositories has a new signature + - Operation SourceControls.delete has a new signature + - Interface MstiDataConnectorDataTypes no longer has parameter bingSafetyPhishingURL + - Interface Repository no longer has parameter pathMapping + - Parameter logicAppResourceId of interface PlaybookActionProperties is now required + - Parameter branch of interface Repository is now required + - Parameter url of interface Repository is now required + - Parameter contentTypes of interface SourceControl is now required + - Parameter displayName of interface SourceControl is now required + - Parameter repository of interface SourceControl is now required + - Parameter repoType of interface SourceControl is now required + - Type of parameter additionalData of interface AccountEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface AzureResourceEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface CloudApplicationEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface DnsEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter kind of interface Entity is changed from EntityKind to EntityKindEnum + - Type of parameter additionalData of interface EntityCommonProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface EntityEdges is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter kind of interface EntityQueriesListOptionalParams is changed from Enum13 to Enum21 + - Type of parameter entityKind of interface ExpansionResultAggregation is changed from EntityKind to EntityKindEnum + - Type of parameter additionalData of interface FileEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface FileHashEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface HostEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface HuntingBookmark is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter entityKind of interface IncidentEntitiesResultsMetadata is changed from EntityKind to EntityKindEnum + - Type of parameter additionalData of interface IoTDeviceEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface IpEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface MailboxEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface MailClusterEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface MailMessageEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface MalwareEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter kind of interface MetadataModel is changed from Kind to string + - Type of parameter kind of interface MetadataPatch is changed from Kind to string + - Type of parameter additionalData of interface NicEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface ProcessEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface RegistryKeyEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface RegistryValueEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface SecurityAlert is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface SecurityGroupEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface SubmissionMailEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter additionalData of interface ThreatIntelligenceIndicatorModel is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter kind of interface ThreatIntelligenceInformation is changed from ThreatIntelligenceResourceKindEnum to ThreatIntelligenceResourceInnerKind + - Type of parameter sortOrder of interface ThreatIntelligenceSortingCriteria is changed from ThreatIntelligenceSortingCriteriaEnum to ThreatIntelligenceSortingOrder + - Type of parameter additionalData of interface UrlEntity is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter webhookSecretUpdateTime of interface Webhook is changed from string to Date + - Removed Enum KnownEntityKind + - Removed Enum KnownEnum13 + - Removed Enum KnownThreatIntelligenceResourceKindEnum + - Removed Enum KnownThreatIntelligenceSortingCriteriaEnum + - Enum KnownRepoType no longer has value DevOps + + ## 1.0.0-beta.6 (2023-02-03) **Features** @@ -617,4 +1119,4 @@ ## 1.0.0-beta.1 (2022-01-19) -The package of @azure/arm-securityinsight is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ). +The package of @azure/arm-securityinsight is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/securityinsight/arm-securityinsight/LICENSE b/sdk/securityinsight/arm-securityinsight/LICENSE index 3a1d9b6f24f7..7d5934740965 100644 --- a/sdk/securityinsight/arm-securityinsight/LICENSE +++ b/sdk/securityinsight/arm-securityinsight/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Microsoft +Copyright (c) 2024 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/securityinsight/arm-securityinsight/_meta.json b/sdk/securityinsight/arm-securityinsight/_meta.json index 46308dd072f2..fa802050e4cb 100644 --- a/sdk/securityinsight/arm-securityinsight/_meta.json +++ b/sdk/securityinsight/arm-securityinsight/_meta.json @@ -1,8 +1,8 @@ { - "commit": "b41f929626289b59e31be8a1091c99994864b096", - "readme": "specification\\securityinsights\\resource-manager\\readme.md", - "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\securityinsights\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.7 --generate-sample=true", + "commit": "fec6c8932b6db6b749c8f7b596a027eee5a22b62", + "readme": "specification/securityinsights/resource-manager/readme.md", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/securityinsights/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.6.0", - "use": "@autorest/typescript@6.0.0-rc.7" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.4", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/securityinsight/arm-securityinsight/package.json b/sdk/securityinsight/arm-securityinsight/package.json index e65ca58bec30..bb1ea41e5a4f 100644 --- a/sdk/securityinsight/arm-securityinsight/package.json +++ b/sdk/securityinsight/arm-securityinsight/package.json @@ -8,12 +8,12 @@ "node": ">=18.0.0" }, "dependencies": { - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.6.1", - "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.8.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,22 +29,23 @@ "types": "./types/arm-securityinsight.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.31.1", - "mkdirp": "^1.0.4", + "mkdirp": "^2.1.2", "typescript": "~5.3.3", "uglify-js": "^3.4.9", - "rimraf": "^3.0.0", + "rimraf": "^5.0.0", "dotenv": "^16.0.0", + "@azure/dev-tool": "^1.0.0", "@azure/identity": "^4.0.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^10.0.0", + "@types/mocha": "^10.0.0", + "esm": "^3.2.18", "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", "@types/node": "^18.0.0", - "@azure/dev-tool": "^1.0.0", - "ts-node": "^10.0.0", - "@types/mocha": "^10.0.0" + "ts-node": "^10.0.0" }, "repository": { "type": "git", @@ -77,8 +78,7 @@ "pack": "npm pack 2>&1", "extract-api": "api-extractor run --local", "lint": "echo skipped", - "audit": "echo skipped", - "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log", + "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", "build:test": "echo skipped", @@ -106,13 +106,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/securityinsight/arm-securityinsight", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-securityinsight?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/securityinsight/arm-securityinsight" +} \ No newline at end of file diff --git a/sdk/securityinsight/arm-securityinsight/review/arm-securityinsight.api.md b/sdk/securityinsight/arm-securityinsight/review/arm-securityinsight.api.md index 96c4b0c5595f..8afd4b1f49f5 100644 --- a/sdk/securityinsight/arm-securityinsight/review/arm-securityinsight.api.md +++ b/sdk/securityinsight/arm-securityinsight/review/arm-securityinsight.api.md @@ -6,9 +6,9 @@ import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; +import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; -import { PollerLike } from '@azure/core-lro'; -import { PollOperationState } from '@azure/core-lro'; +import { SimplePollerLike } from '@azure/core-lro'; // @public export interface AADCheckRequirements extends DataConnectorsCheckRequirements { @@ -58,7 +58,7 @@ export interface AccountEntity extends Entity { readonly aadUserId?: string; readonly accountName?: string; readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly displayName?: string; readonly dnsDomain?: string; @@ -239,6 +239,12 @@ export interface ActivityTimelineItem extends EntityTimelineItem { title: string; } +// @public (undocumented) +export interface AddIncidentTaskActionProperties { + description?: string; + title: string; +} + // @public export type AlertDetail = string; @@ -246,10 +252,20 @@ export type AlertDetail = string; export interface AlertDetailsOverride { alertDescriptionFormat?: string; alertDisplayNameFormat?: string; + alertDynamicProperties?: AlertPropertyMapping[]; alertSeverityColumnName?: string; alertTacticsColumnName?: string; } +// @public +export type AlertProperty = string; + +// @public +export interface AlertPropertyMapping { + alertProperty?: AlertProperty; + value?: string; +} + // @public export interface AlertRule extends ResourceWithEtag { kind: AlertRuleKind; @@ -258,6 +274,12 @@ export interface AlertRule extends ResourceWithEtag { // @public export type AlertRuleKind = string; +// @public +export interface AlertRuleOperations { + beginTriggerRuleRun(resourceGroupName: string, workspaceName: string, ruleId: string, analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, options?: AlertRuleTriggerRuleRunOptionalParams): Promise, AlertRuleTriggerRuleRunResponse>>; + beginTriggerRuleRunAndWait(resourceGroupName: string, workspaceName: string, ruleId: string, analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, options?: AlertRuleTriggerRuleRunOptionalParams): Promise; +} + // @public export interface AlertRules { createOrUpdate(resourceGroupName: string, workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, options?: AlertRulesCreateOrUpdateOptionalParams): Promise; @@ -368,6 +390,21 @@ export interface AlertRuleTemplateWithMitreProperties extends AlertRuleTemplateP techniques?: string[]; } +// @public +export interface AlertRuleTriggerRuleRunHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface AlertRuleTriggerRuleRunOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type AlertRuleTriggerRuleRunResponse = AlertRuleTriggerRuleRunHeaders; + // @public (undocumented) export type AlertRuleUnion = AlertRule | MLBehaviorAnalyticsAlertRule | FusionAlertRule | ThreatIntelligenceAlertRule | MicrosoftSecurityIncidentCreationAlertRule | ScheduledAlertRule | NrtAlertRule; @@ -382,6 +419,12 @@ export type AlertSeverity = string; // @public export type AlertStatus = string; +// @public +export interface AnalyticsRuleRunTrigger { + // (undocumented) + executionTimeUtc: Date; +} + // @public export interface Anomalies extends Settings { readonly isEnabled?: boolean; @@ -444,6 +487,11 @@ export interface ASCDataConnectorProperties extends DataConnectorWithAlertsPrope subscriptionId?: string; } +// @public +export interface AssignmentItem { + resourceId?: string; +} + // @public export type AttackTactic = string; @@ -461,13 +509,20 @@ export interface AutomationRule extends ResourceWithEtag { // @public export interface AutomationRuleAction { - actionType: "ModifyProperties" | "RunPlaybook"; + actionType: "AddIncidentTask" | "ModifyProperties" | "RunPlaybook"; // (undocumented) order: number; } // @public (undocumented) -export type AutomationRuleActionUnion = AutomationRuleAction | AutomationRuleModifyPropertiesAction | AutomationRuleRunPlaybookAction; +export type AutomationRuleActionUnion = AutomationRuleAction | AutomationRuleAddIncidentTaskAction | AutomationRuleModifyPropertiesAction | AutomationRuleRunPlaybookAction; + +// @public +export interface AutomationRuleAddIncidentTaskAction extends AutomationRuleAction { + // (undocumented) + actionConfiguration?: AddIncidentTaskActionProperties; + actionType: "AddIncidentTask"; +} // @public (undocumented) export interface AutomationRuleBooleanCondition { @@ -684,10 +739,15 @@ export interface AzureDevOpsResourceInfo { serviceConnectionId?: string; } +// @public +export interface AzureEntityResource extends Resource { + readonly etag?: string; +} + // @public export interface AzureResourceEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; kind: "AzureResource"; @@ -701,6 +761,50 @@ export interface AzureResourceEntityProperties extends EntityCommonProperties { readonly subscriptionId?: string; } +// @public +export interface BillingStatistic extends AzureEntityResource { + kind: BillingStatisticKind; +} + +// @public +export type BillingStatisticKind = string; + +// @public +export interface BillingStatisticList { + readonly nextLink?: string; + value: BillingStatisticUnion[]; +} + +// @public +export interface BillingStatistics { + get(resourceGroupName: string, workspaceName: string, billingStatisticName: string, options?: BillingStatisticsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: BillingStatisticsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface BillingStatisticsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type BillingStatisticsGetResponse = BillingStatisticUnion; + +// @public +export interface BillingStatisticsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type BillingStatisticsListNextResponse = BillingStatisticList; + +// @public +export interface BillingStatisticsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type BillingStatisticsListResponse = BillingStatisticList; + +// @public (undocumented) +export type BillingStatisticUnion = BillingStatistic | SapSolutionUsageStatistic; + // @public export interface Bookmark extends ResourceWithEtag { created?: Date; @@ -868,6 +972,9 @@ export interface BooleanConditionProperties extends AutomationRuleCondition { conditionType: "Boolean"; } +// @public +export type Category = string; + // @public export interface ClientInfo { email?: string; @@ -879,7 +986,7 @@ export interface ClientInfo { // @public export interface CloudApplicationEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly appId?: number; readonly appName?: string; @@ -1042,9 +1149,44 @@ export interface ConnectivityCriteria { value?: string[]; } +// @public +export interface ConnectivityCriterion { + type: string; + value?: string[]; +} + // @public export type ConnectivityType = string; +// @public +export interface ConnectorDataType { + lastDataReceivedQuery: string; + name: string; +} + +// @public +export interface ConnectorDefinitionsAvailability { + isPreview?: boolean; + status?: number; +} + +// @public +export interface ConnectorDefinitionsPermissions { + customs?: CustomPermissionDetails[]; + licenses?: string[]; + resourceProvider?: ConnectorDefinitionsResourceProvider[]; + tenant?: string[]; +} + +// @public +export interface ConnectorDefinitionsResourceProvider { + permissionsDisplayText: string; + provider: string; + providerDisplayName: string; + requiredPermissions: ResourceProviderRequiredPermissions; + scope: ProviderPermissionsScope; +} + // @public export interface ConnectorInstructionModelBase { parameters?: Record; @@ -1052,14 +1194,120 @@ export interface ConnectorInstructionModelBase { } // @public -export interface ContentPathMap { - contentType?: ContentType; - path?: string; +export interface Content { + description: string; + title: string; +} + +// @public +export interface ContentPackage { + install(resourceGroupName: string, workspaceName: string, packageId: string, packageInstallationProperties: PackageModel, options?: ContentPackageInstallOptionalParams): Promise; + uninstall(resourceGroupName: string, workspaceName: string, packageId: string, options?: ContentPackageUninstallOptionalParams): Promise; +} + +// @public +export interface ContentPackageInstallOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentPackageInstallResponse = PackageModel; + +// @public +export interface ContentPackages { + get(resourceGroupName: string, workspaceName: string, packageId: string, options?: ContentPackagesGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: ContentPackagesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ContentPackagesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentPackagesGetResponse = PackageModel; + +// @public +export interface ContentPackagesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentPackagesListNextResponse = PackageList; + +// @public +export interface ContentPackagesListOptionalParams extends coreClient.OperationOptions { + count?: boolean; + filter?: string; + orderby?: string; + search?: string; + skip?: number; + skipToken?: string; + top?: number; +} + +// @public +export type ContentPackagesListResponse = PackageList; + +// @public +export interface ContentPackageUninstallOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ContentTemplate { + delete(resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateGetOptionalParams): Promise; + install(resourceGroupName: string, workspaceName: string, templateId: string, templateInstallationProperties: TemplateModel, options?: ContentTemplateInstallOptionalParams): Promise; } +// @public +export interface ContentTemplateDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ContentTemplateGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentTemplateGetResponse = TemplateModel; + +// @public +export interface ContentTemplateInstallOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentTemplateInstallResponse = TemplateModel; + +// @public +export interface ContentTemplates { + list(resourceGroupName: string, workspaceName: string, options?: ContentTemplatesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ContentTemplatesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ContentTemplatesListNextResponse = TemplateList; + +// @public +export interface ContentTemplatesListOptionalParams extends coreClient.OperationOptions { + count?: boolean; + expand?: string; + filter?: string; + orderby?: string; + search?: string; + skip?: number; + skipToken?: string; + top?: number; +} + +// @public +export type ContentTemplatesListResponse = TemplateList; + // @public export type ContentType = string; +// @public +export type Context = string; + // @public export type CreatedByType = string; @@ -1074,6 +1322,45 @@ export type CustomEntityQueryKind = string; // @public (undocumented) export type CustomEntityQueryUnion = CustomEntityQuery | ActivityCustomEntityQuery; +// @public +export interface CustomizableConnectionsConfig { + templateSpecName: string; + templateSpecVersion: string; +} + +// @public +export interface CustomizableConnectorDefinition extends DataConnectorDefinition { + connectionsConfig?: CustomizableConnectionsConfig; + connectorUiConfig?: CustomizableConnectorUiConfig; + createdTimeUtc?: Date; + kind: "Customizable"; + lastModifiedUtc?: Date; +} + +// @public +export interface CustomizableConnectorUiConfig { + availability?: ConnectorDefinitionsAvailability; + connectivityCriteria: ConnectivityCriterion[]; + dataTypes: ConnectorDataType[]; + descriptionMarkdown: string; + graphQueries: GraphQuery[]; + graphQueriesTableName?: string; + id?: string; + instructionSteps: InstructionStep[]; + isConnectivityCriteriasMatchSome?: boolean; + logo?: string; + permissions: ConnectorDefinitionsPermissions; + publisher: string; + sampleQueries: SampleQuery[]; + title: string; +} + +// @public +export interface CustomPermissionDetails { + description: string; + name: string; +} + // @public export interface Customs extends CustomsPermission { } @@ -1113,6 +1400,65 @@ export interface DataConnectorDataTypeCommon { state: DataTypeState; } +// @public +export interface DataConnectorDefinition extends ResourceWithEtag { + kind: DataConnectorDefinitionKind; +} + +// @public +export interface DataConnectorDefinitionArmCollectionWrapper { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: DataConnectorDefinitionUnion[]; +} + +// @public +export type DataConnectorDefinitionKind = string; + +// @public +export interface DataConnectorDefinitions { + createOrUpdate(resourceGroupName: string, workspaceName: string, dataConnectorDefinitionName: string, connectorDefinitionInput: DataConnectorDefinitionUnion, options?: DataConnectorDefinitionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, dataConnectorDefinitionName: string, options?: DataConnectorDefinitionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, dataConnectorDefinitionName: string, options?: DataConnectorDefinitionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: DataConnectorDefinitionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface DataConnectorDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataConnectorDefinitionsCreateOrUpdateResponse = DataConnectorDefinitionUnion; + +// @public +export interface DataConnectorDefinitionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface DataConnectorDefinitionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataConnectorDefinitionsGetResponse = DataConnectorDefinitionUnion; + +// @public +export interface DataConnectorDefinitionsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataConnectorDefinitionsListNextResponse = DataConnectorDefinitionArmCollectionWrapper; + +// @public +export interface DataConnectorDefinitionsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataConnectorDefinitionsListResponse = DataConnectorDefinitionArmCollectionWrapper; + +// @public (undocumented) +export type DataConnectorDefinitionUnion = DataConnectorDefinition | CustomizableConnectorDefinition; + // @public export type DataConnectorKind = string; @@ -1143,7 +1489,7 @@ export interface DataConnectors { // @public export interface DataConnectorsCheckRequirements { - kind: "AzureActiveDirectory" | "AzureAdvancedThreatProtection" | "AzureSecurityCenter" | "AmazonWebServicesCloudTrail" | "AmazonWebServicesS3" | "Dynamics365" | "MicrosoftCloudAppSecurity" | "MicrosoftDefenderAdvancedThreatProtection" | "MicrosoftThreatIntelligence" | "MicrosoftThreatProtection" | "OfficeATP" | "OfficeIRM" | "Office365Project" | "OfficePowerBI" | "ThreatIntelligence" | "ThreatIntelligenceTaxii" | "IOT"; + kind: "AzureActiveDirectory" | "AzureAdvancedThreatProtection" | "AzureSecurityCenter" | "AmazonWebServicesCloudTrail" | "AmazonWebServicesS3" | "Dynamics365" | "MicrosoftCloudAppSecurity" | "MicrosoftDefenderAdvancedThreatProtection" | "MicrosoftThreatIntelligence" | "MicrosoftThreatProtection" | "OfficeATP" | "OfficeIRM" | "MicrosoftPurviewInformationProtection" | "Office365Project" | "OfficePowerBI" | "ThreatIntelligence" | "ThreatIntelligenceTaxii" | "IOT"; } // @public @@ -1159,7 +1505,7 @@ export interface DataConnectorsCheckRequirementsPostOptionalParams extends coreC export type DataConnectorsCheckRequirementsPostResponse = DataConnectorRequirementsState; // @public (undocumented) -export type DataConnectorsCheckRequirementsUnion = DataConnectorsCheckRequirements | AADCheckRequirements | AatpCheckRequirements | ASCCheckRequirements | AwsCloudTrailCheckRequirements | AwsS3CheckRequirements | Dynamics365CheckRequirements | McasCheckRequirements | MdatpCheckRequirements | MstiCheckRequirements | MtpCheckRequirements | OfficeATPCheckRequirements | OfficeIRMCheckRequirements | Office365ProjectCheckRequirements | OfficePowerBICheckRequirements | TICheckRequirements | TiTaxiiCheckRequirements | IoTCheckRequirements; +export type DataConnectorsCheckRequirementsUnion = DataConnectorsCheckRequirements | AADCheckRequirements | AatpCheckRequirements | ASCCheckRequirements | AwsCloudTrailCheckRequirements | AwsS3CheckRequirements | Dynamics365CheckRequirements | McasCheckRequirements | MdatpCheckRequirements | MstiCheckRequirements | MtpCheckRequirements | OfficeATPCheckRequirements | OfficeIRMCheckRequirements | MicrosoftPurviewInformationProtectionCheckRequirements | Office365ProjectCheckRequirements | OfficePowerBICheckRequirements | TICheckRequirements | TiTaxiiCheckRequirements | IoTCheckRequirements; // @public export interface DataConnectorsConnectOptionalParams extends coreClient.OperationOptions { @@ -1207,7 +1553,7 @@ export interface DataConnectorTenantId { } // @public (undocumented) -export type DataConnectorUnion = DataConnector | AADDataConnector | MstiDataConnector | MTPDataConnector | AatpDataConnector | ASCDataConnector | AwsCloudTrailDataConnector | AwsS3DataConnector | McasDataConnector | Dynamics365DataConnector | OfficeATPDataConnector | Office365ProjectDataConnector | OfficePowerBIDataConnector | OfficeIRMDataConnector | MdatpDataConnector | OfficeDataConnector | TIDataConnector | TiTaxiiDataConnector | IoTDataConnector | CodelessUiDataConnector | CodelessApiPollingDataConnector; +export type DataConnectorUnion = DataConnector | AADDataConnector | MstiDataConnector | MTPDataConnector | AatpDataConnector | ASCDataConnector | AwsCloudTrailDataConnector | AwsS3DataConnector | GCPDataConnector | McasDataConnector | Dynamics365DataConnector | OfficeATPDataConnector | MicrosoftPurviewInformationProtectionDataConnector | Office365ProjectDataConnector | OfficePowerBIDataConnector | OfficeIRMDataConnector | MdatpDataConnector | OfficeDataConnector | TIDataConnector | TiTaxiiDataConnector | IoTDataConnector | CodelessUiDataConnector | CodelessApiPollingDataConnector; // @public export interface DataConnectorWithAlertsProperties { @@ -1222,6 +1568,13 @@ export interface DataTypeDefinitions { // @public export type DataTypeState = string; +// @public +export interface DCRConfiguration { + dataCollectionEndpoint: string; + dataCollectionRuleImmutableId: string; + streamName: string; +} + // @public export type DeleteStatus = string; @@ -1262,7 +1615,7 @@ export type DeviceImportance = string; // @public export interface DnsEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly dnsServerIpEntityId?: string; readonly domainName?: string; @@ -1326,6 +1679,11 @@ export interface Dynamics365DataConnectorProperties extends DataConnectorTenantI // @public export type ElevationToken = "Default" | "Full" | "Limited"; +// @public +export interface EnrichmentDomainBody { + domain?: string; +} + // @public export interface EnrichmentDomainWhois { created?: Date; @@ -1376,6 +1734,11 @@ export interface EnrichmentDomainWhoisRegistrarDetails { whoisServer?: string; } +// @public +export interface EnrichmentIpAddressBody { + ipAddress?: string; +} + // @public export interface EnrichmentIpGeodata { asn?: string; @@ -1397,6 +1760,30 @@ export interface EnrichmentIpGeodata { stateCode?: string; } +// @public +export interface EnrichmentIpGeodataAutoGenerated { + asn?: string; + carrier?: string; + city?: string; + cityConfidenceFactor?: number; + continent?: string; + country?: string; + countryConfidenceFactor?: number; + ipAddr?: string; + ipRoutingType?: string; + latitude?: string; + longitude?: string; + organization?: string; + organizationType?: string; + region?: string; + state?: string; + stateCode?: string; + stateConfidenceFactor?: number; +} + +// @public +export type EnrichmentType = string; + // @public export interface Entities { expand(resourceGroupName: string, workspaceName: string, entityId: string, parameters: EntityExpandParameters, options?: EntitiesExpandOptionalParams): Promise; @@ -1404,6 +1791,7 @@ export interface Entities { getInsights(resourceGroupName: string, workspaceName: string, entityId: string, parameters: EntityGetInsightsParameters, options?: EntitiesGetInsightsOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: EntitiesListOptionalParams): PagedAsyncIterableIterator; queries(resourceGroupName: string, workspaceName: string, entityId: string, kind: EntityItemQueryKind, options?: EntitiesQueriesOptionalParams): Promise; + runPlaybook(resourceGroupName: string, workspaceName: string, entityIdentifier: string, options?: EntitiesRunPlaybookOptionalParams): Promise; } // @public @@ -1483,9 +1871,14 @@ export interface EntitiesRelationsListOptionalParams extends coreClient.Operatio // @public export type EntitiesRelationsListResponse = RelationList; +// @public +export interface EntitiesRunPlaybookOptionalParams extends coreClient.OperationOptions { + requestBody?: EntityManualTriggerRequestBody; +} + // @public export interface Entity extends Resource { - kind: EntityKind; + kind: EntityKindEnum; } // @public @@ -1497,7 +1890,7 @@ export interface EntityAnalytics extends Settings { // @public export interface EntityCommonProperties { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; } @@ -1505,7 +1898,7 @@ export interface EntityCommonProperties { // @public export interface EntityEdges { additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; targetEntityId?: string; } @@ -1567,7 +1960,7 @@ export interface EntityInsightItemQueryTimeInterval { export type EntityItemQueryKind = string; // @public -export type EntityKind = string; +export type EntityKindEnum = string; // @public export interface EntityList { @@ -1575,6 +1968,13 @@ export interface EntityList { value: EntityUnion[]; } +// @public +export interface EntityManualTriggerRequestBody { + incidentArmId?: string; + logicAppsResourceId: string; + tenantId?: string; +} + // @public export interface EntityMapping { entityType?: EntityMappingType; @@ -1622,7 +2022,7 @@ export type EntityQueriesListNextResponse = EntityQueryList; // @public export interface EntityQueriesListOptionalParams extends coreClient.OperationOptions { - kind?: Enum13; + kind?: Enum21; } // @public @@ -1757,10 +2157,36 @@ export type EntityType = string; export type EntityUnion = Entity | SecurityAlert | HuntingBookmark | AccountEntity | AzureResourceEntity | CloudApplicationEntity | DnsEntity | FileEntity | FileHashEntity | HostEntity | IoTDeviceEntity | IpEntity | MailboxEntity | MailClusterEntity | MailMessageEntity | MalwareEntity | ProcessEntity | RegistryKeyEntity | RegistryValueEntity | SecurityGroupEntity | SubmissionMailEntity | UrlEntity | NicEntity; // @public -export type Enum13 = string; +export type Enum21 = string; // @public -export type EventGroupingAggregationKind = string; +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; +} + +// @public +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; + readonly code?: string; + readonly details?: ErrorDetail[]; + readonly message?: string; + readonly target?: string; +} + +// @public +export interface ErrorModel { + errorMessage: string; + memberResourceName: string; +} + +// @public +export interface ErrorResponse { + error?: ErrorDetail; +} + +// @public +export type EventGroupingAggregationKind = string; // @public export interface EventGroupingSettings { @@ -1783,7 +2209,7 @@ export interface ExpansionResultAggregation { aggregationType?: string; count: number; displayName?: string; - entityKind: EntityKind; + entityKind: EntityKindEnum; } // @public @@ -1806,7 +2232,7 @@ export interface FieldMapping { // @public export interface FileEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly directory?: string; readonly fileHashEntityIds?: string[]; @@ -1833,7 +2259,7 @@ export type FileHashAlgorithm = string; // @public export interface FileHashEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly algorithm?: FileHashAlgorithm; readonly friendlyName?: string; @@ -1875,7 +2301,7 @@ export interface FileImportList { // @public export interface FileImports { - beginDelete(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise, FileImportsDeleteResponse>>; + beginDelete(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise, FileImportsDeleteResponse>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise; create(resourceGroupName: string, workspaceName: string, fileImportId: string, fileImport: FileImport, options?: FileImportsCreateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsGetOptionalParams): Promise; @@ -1935,6 +2361,9 @@ export interface FileMetadata { fileSize?: number; } +// @public +export type Flag = string; + // @public export interface FusionAlertRule extends AlertRule { alertRuleTemplateName?: string; @@ -1946,6 +2375,7 @@ export interface FusionAlertRule extends AlertRule { scenarioExclusionPatterns?: FusionScenarioExclusionPattern[]; readonly severity?: AlertSeverity; sourceSettings?: FusionSourceSettings[]; + readonly subTechniques?: string[]; readonly tactics?: AttackTactic[]; readonly techniques?: string[]; } @@ -1962,6 +2392,7 @@ export interface FusionAlertRuleTemplate extends AlertRuleTemplate { severity?: AlertSeverity; sourceSettings?: FusionTemplateSourceSetting[]; status?: TemplateStatus; + subTechniques?: string[]; tactics?: AttackTactic[]; techniques?: string[]; } @@ -2018,6 +2449,28 @@ export interface FusionTemplateSubTypeSeverityFilter { severityFilters?: AlertSeverity[]; } +// @public +export interface GCPAuthProperties { + projectNumber: string; + serviceAccountEmail: string; + workloadIdentityProviderId: string; +} + +// @public +export interface GCPDataConnector extends DataConnector { + auth?: GCPAuthProperties; + connectorDefinitionName?: string; + dcrConfig?: DCRConfiguration; + kind: "GCP"; + request?: GCPRequestProperties; +} + +// @public +export interface GCPRequestProperties { + projectId: string; + subscriptionNames: string[]; +} + // @public export interface GeoLocation { readonly asn?: number; @@ -2029,6 +2482,11 @@ export interface GeoLocation { readonly state?: string; } +// @public +export interface Get { + singleRecommendation(resourceGroupName: string, workspaceName: string, recommendationId: string, options?: GetSingleRecommendationOptionalParams): Promise; +} + // @public export function getContinuationToken(page: unknown): string | undefined; @@ -2053,6 +2511,44 @@ export interface GetQueriesResponse { value?: EntityQueryItemUnion[]; } +// @public +export interface GetRecommendations { + list(resourceGroupName: string, workspaceName: string, options?: GetRecommendationsListOptionalParams): Promise; +} + +// @public +export interface GetRecommendationsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GetRecommendationsListResponse = RecommendationList; + +// @public +export interface GetSingleRecommendationOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GetSingleRecommendationResponse = Recommendation; + +// @public +export interface GetTriggeredAnalyticsRuleRuns { + list(resourceGroupName: string, workspaceName: string, options?: GetTriggeredAnalyticsRuleRunsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface GetTriggeredAnalyticsRuleRunsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GetTriggeredAnalyticsRuleRunsListNextResponse = TriggeredAnalyticsRuleRuns; + +// @public +export interface GetTriggeredAnalyticsRuleRunsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GetTriggeredAnalyticsRuleRunsListResponse = TriggeredAnalyticsRuleRuns; + // @public export interface GitHubResourceInfo { appInstallationId?: string; @@ -2065,6 +2561,13 @@ export interface GraphQueries { metricName?: string; } +// @public +export interface GraphQuery { + baseQuery: string; + legend: string; + metricName: string; +} + // @public export interface GroupingConfiguration { enabled: boolean; @@ -2079,7 +2582,7 @@ export interface GroupingConfiguration { // @public export interface HostEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly azureID?: string; readonly dnsDomain?: string; @@ -2107,10 +2610,77 @@ export interface HostEntityProperties extends EntityCommonProperties { readonly osVersion?: string; } +// @public +export interface Hunt extends ResourceWithEtag { + attackTactics?: AttackTactic[]; + attackTechniques?: string[]; + description?: string; + displayName?: string; + hypothesisStatus?: HypothesisStatus; + labels?: string[]; + owner?: HuntOwner; + status?: Status; +} + +// @public +export interface HuntComment extends ResourceWithEtag { + message?: string; +} + +// @public +export interface HuntCommentList { + readonly nextLink?: string; + value: HuntComment[]; +} + +// @public +export interface HuntComments { + createOrUpdate(resourceGroupName: string, workspaceName: string, huntId: string, huntCommentId: string, huntComment: HuntComment, options?: HuntCommentsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, huntId: string, huntCommentId: string, options?: HuntCommentsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, huntId: string, huntCommentId: string, options?: HuntCommentsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, huntId: string, options?: HuntCommentsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface HuntCommentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntCommentsCreateOrUpdateResponse = HuntComment; + +// @public +export interface HuntCommentsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface HuntCommentsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntCommentsGetResponse = HuntComment; + +// @public +export interface HuntCommentsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntCommentsListNextResponse = HuntCommentList; + +// @public +export interface HuntCommentsListOptionalParams extends coreClient.OperationOptions { + filter?: string; + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type HuntCommentsListResponse = HuntCommentList; + // @public export interface HuntingBookmark extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; created?: Date; createdBy?: UserInfo; @@ -2143,6 +2713,127 @@ export interface HuntingBookmarkProperties extends EntityCommonProperties { } // @public +export interface HuntList { + readonly nextLink?: string; + value: Hunt[]; +} + +// @public +export interface HuntOwner { + assignedTo?: string; + email?: string; + objectId?: string; + ownerType?: OwnerType; + userPrincipalName?: string; +} + +// @public +export interface HuntRelation extends ResourceWithEtag { + labels?: string[]; + relatedResourceId?: string; + readonly relatedResourceKind?: string; + readonly relatedResourceName?: string; + readonly relationType?: string; +} + +// @public +export interface HuntRelationList { + readonly nextLink?: string; + value: HuntRelation[]; +} + +// @public +export interface HuntRelations { + createOrUpdate(resourceGroupName: string, workspaceName: string, huntId: string, huntRelationId: string, huntRelation: HuntRelation, options?: HuntRelationsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, huntId: string, huntRelationId: string, options?: HuntRelationsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, huntId: string, huntRelationId: string, options?: HuntRelationsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, huntId: string, options?: HuntRelationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface HuntRelationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntRelationsCreateOrUpdateResponse = HuntRelation; + +// @public +export interface HuntRelationsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface HuntRelationsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntRelationsGetResponse = HuntRelation; + +// @public +export interface HuntRelationsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntRelationsListNextResponse = HuntRelationList; + +// @public +export interface HuntRelationsListOptionalParams extends coreClient.OperationOptions { + filter?: string; + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type HuntRelationsListResponse = HuntRelationList; + +// @public +export interface Hunts { + createOrUpdate(resourceGroupName: string, workspaceName: string, huntId: string, hunt: Hunt, options?: HuntsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, huntId: string, options?: HuntsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, huntId: string, options?: HuntsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: HuntsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface HuntsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntsCreateOrUpdateResponse = Hunt; + +// @public +export interface HuntsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface HuntsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntsGetResponse = Hunt; + +// @public +export interface HuntsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type HuntsListNextResponse = HuntList; + +// @public +export interface HuntsListOptionalParams extends coreClient.OperationOptions { + filter?: string; + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type HuntsListResponse = HuntList; + +// @public +export type HypothesisStatus = string; + +// @public (undocumented) export interface Incident extends ResourceWithEtag { readonly additionalData?: IncidentAdditionalData; classification?: IncidentClassification; @@ -2157,8 +2848,8 @@ export interface Incident extends ResourceWithEtag { lastActivityTimeUtc?: Date; readonly lastModifiedTimeUtc?: Date; owner?: IncidentOwnerInfo; - providerIncidentId?: string; - providerName?: string; + readonly providerIncidentId?: string; + readonly providerName?: string; readonly relatedAnalyticRuleIds?: string[]; severity?: IncidentSeverity; status?: IncidentStatus; @@ -2201,9 +2892,10 @@ export interface IncidentComment extends ResourceWithEtag { message?: string; } -// @public +// @public (undocumented) export interface IncidentCommentList { readonly nextLink?: string; + // (undocumented) value: IncidentComment[]; } @@ -2266,7 +2958,7 @@ export interface IncidentEntitiesResponse { // @public export interface IncidentEntitiesResultsMetadata { count: number; - entityKind: EntityKind; + entityKind: EntityKindEnum; } // @public @@ -2289,6 +2981,7 @@ export type IncidentLabelType = string; // @public export interface IncidentList { readonly nextLink?: string; + // (undocumented) value: Incident[]; } @@ -2359,7 +3052,7 @@ export type IncidentRelationsListResponse = RelationList; // @public export interface Incidents { createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incident: Incident, options?: IncidentsCreateOrUpdateOptionalParams): Promise; - createTeam(resourceGroupName: string, workspaceName: string, incidentId: string, teamProperties: TeamProperties, options?: IncidentsCreateTeamOptionalParams): Promise; + createTeam(resourceGroupName: string, workspaceName: string, incidentId: string, teamProperties: TeamInformation, options?: IncidentsCreateTeamOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: IncidentsListOptionalParams): PagedAsyncIterableIterator; @@ -2448,6 +3141,69 @@ export type IncidentsRunPlaybookResponse = Record; // @public export type IncidentStatus = string; +// @public (undocumented) +export interface IncidentTask extends ResourceWithEtag { + createdBy?: ClientInfo; + readonly createdTimeUtc?: Date; + description?: string; + lastModifiedBy?: ClientInfo; + readonly lastModifiedTimeUtc?: Date; + // (undocumented) + status: IncidentTaskStatus; + title: string; +} + +// @public (undocumented) +export interface IncidentTaskList { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: IncidentTask[]; +} + +// @public +export interface IncidentTasks { + createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incidentTaskId: string, incidentTask: IncidentTask, options?: IncidentTasksCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, incidentId: string, incidentTaskId: string, options?: IncidentTasksDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, incidentId: string, incidentTaskId: string, options?: IncidentTasksGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentTasksListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface IncidentTasksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IncidentTasksCreateOrUpdateResponse = IncidentTask; + +// @public +export interface IncidentTasksDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface IncidentTasksGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IncidentTasksGetResponse = IncidentTask; + +// @public +export interface IncidentTasksListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IncidentTasksListNextResponse = IncidentTaskList; + +// @public +export interface IncidentTasksListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IncidentTasksListResponse = IncidentTaskList; + +// @public +export type IncidentTaskStatus = string; + // @public export type IngestionMode = string; @@ -2525,6 +3281,27 @@ export interface InsightsTableResultColumnsItem { type?: string; } +// @public +export interface Instructions { + actionsToBePerformed: string; + howToPerformActionDetails?: string; + recommendationImportance: string; +} + +// @public +export interface InstructionStep { + description?: string; + innerSteps?: InstructionStep[]; + instructions?: InstructionStepDetails[]; + title?: string; +} + +// @public +export interface InstructionStepDetails { + parameters: Record; + type: string; +} + // @public export interface InstructionSteps { description?: string; @@ -2557,7 +3334,7 @@ export interface IoTDataConnectorProperties extends DataConnectorWithAlertsPrope // @public export interface IoTDeviceEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly deviceId?: string; readonly deviceName?: string; @@ -2626,7 +3403,7 @@ export interface IoTDeviceEntityProperties extends EntityCommonProperties { // @public export interface IpEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly address?: string; readonly friendlyName?: string; @@ -2655,13 +3432,37 @@ export interface IPGeodataGetOptionalParams extends coreClient.OperationOptions export type IPGeodataGetResponse = EnrichmentIpGeodata; // @public -export type KillChainIntent = string; +export interface Job extends ResourceWithEtag { + readonly endTime?: Date; + readonly errorMessage?: string; + items?: JobItem[]; + readonly provisioningState?: ProvisioningState; + readonly startTime?: Date; +} // @public -export type Kind = string; +export interface JobItem { + errors?: ErrorModel[]; + readonly executionTime?: Date; + resourceId?: string; + readonly status?: Status; +} + +// @public +export interface JobList { + readonly nextLink?: string; + value: Job[]; +} + +// @public +export type KillChainIntent = string; + +// @public +export type Kind = string; // @public export enum KnownActionType { + AddIncidentTask = "AddIncidentTask", ModifyProperties = "ModifyProperties", RunPlaybook = "RunPlaybook" } @@ -2672,6 +3473,20 @@ export enum KnownAlertDetail { Severity = "Severity" } +// @public +export enum KnownAlertProperty { + AlertLink = "AlertLink", + ConfidenceLevel = "ConfidenceLevel", + ConfidenceScore = "ConfidenceScore", + ExtendedLinks = "ExtendedLinks", + ProductComponentName = "ProductComponentName", + ProductName = "ProductName", + ProviderName = "ProviderName", + RemediationSteps = "RemediationSteps", + SubTechniques = "SubTechniques", + Techniques = "Techniques" +} + // @public export enum KnownAlertRuleKind { Fusion = "Fusion", @@ -2845,6 +3660,20 @@ export enum KnownAutomationRulePropertyConditionSupportedProperty { Url = "Url" } +// @public +export enum KnownBillingStatisticKind { + SapSolutionUsage = "SapSolutionUsage" +} + +// @public +export enum KnownCategory { + CostOptimization = "CostOptimization", + Demo = "Demo", + NewFeature = "NewFeature", + Onboarding = "Onboarding", + SocEfficiency = "SocEfficiency" +} + // @public export enum KnownConditionType { Boolean = "Boolean", @@ -2884,9 +3713,21 @@ export enum KnownConnectivityType { // @public export enum KnownContentType { AnalyticRule = "AnalyticRule", + AutomationRule = "AutomationRule", + HuntingQuery = "HuntingQuery", + Parser = "Parser", + Playbook = "Playbook", Workbook = "Workbook" } +// @public +export enum KnownContext { + Analytics = "Analytics", + Incidents = "Incidents", + None = "None", + Overview = "Overview" +} + // @public export enum KnownCreatedByType { Application = "Application", @@ -2906,6 +3747,11 @@ export enum KnownDataConnectorAuthorizationState { Valid = "Valid" } +// @public +export enum KnownDataConnectorDefinitionKind { + Customizable = "Customizable" +} + // @public export enum KnownDataConnectorKind { AmazonWebServicesCloudTrail = "AmazonWebServicesCloudTrail", @@ -2915,10 +3761,12 @@ export enum KnownDataConnectorKind { AzureAdvancedThreatProtection = "AzureAdvancedThreatProtection", AzureSecurityCenter = "AzureSecurityCenter", Dynamics365 = "Dynamics365", + GCP = "GCP", GenericUI = "GenericUI", IOT = "IOT", MicrosoftCloudAppSecurity = "MicrosoftCloudAppSecurity", MicrosoftDefenderAdvancedThreatProtection = "MicrosoftDefenderAdvancedThreatProtection", + MicrosoftPurviewInformationProtection = "MicrosoftPurviewInformationProtection", MicrosoftThreatIntelligence = "MicrosoftThreatIntelligence", MicrosoftThreatProtection = "MicrosoftThreatProtection", Office365 = "Office365", @@ -2980,13 +3828,18 @@ export enum KnownDeviceImportance { Unknown = "Unknown" } +// @public +export enum KnownEnrichmentType { + Main = "main" +} + // @public export enum KnownEntityItemQueryKind { Insight = "Insight" } // @public -export enum KnownEntityKind { +export enum KnownEntityKindEnum { Account = "Account", AzureResource = "AzureResource", Bookmark = "Bookmark", @@ -3086,7 +3939,7 @@ export enum KnownEntityType { } // @public -export enum KnownEnum13 { +export enum KnownEnum21 { Activity = "Activity", Expansion = "Expansion" } @@ -3131,11 +3984,24 @@ export enum KnownFileImportState { WaitingForUpload = "WaitingForUpload" } +// @public +export enum KnownFlag { + False = "false", + True = "true" +} + // @public export enum KnownGetInsightsError { Insight = "Insight" } +// @public +export enum KnownHypothesisStatus { + Invalidated = "Invalidated", + Unknown = "Unknown", + Validated = "Validated" +} + // @public export enum KnownIncidentClassification { BenignPositive = "BenignPositive", @@ -3173,6 +4039,12 @@ export enum KnownIncidentStatus { New = "New" } +// @public +export enum KnownIncidentTaskStatus { + Completed = "Completed", + New = "New" +} + // @public export enum KnownIngestionMode { IngestAnyValidRecords = "IngestAnyValidRecords", @@ -3237,6 +4109,18 @@ export enum KnownMicrosoftSecurityProductName { Office365AdvancedThreatProtection = "Office 365 Advanced Threat Protection" } +// @public +export enum KnownMode { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownMtpProvider { + MicrosoftDefenderForCloudApps = "microsoftDefenderForCloudApps", + MicrosoftDefenderForIdentity = "microsoftDefenderForIdentity" +} + // @public export enum KnownOperator { AND = "AND", @@ -3258,6 +4142,12 @@ export enum KnownOwnerType { User = "User" } +// @public +export enum KnownPackageKind { + Solution = "Solution", + Standalone = "Standalone" +} + // @public export enum KnownPermissionProviderScope { ResourceGroup = "ResourceGroup", @@ -3272,6 +4162,13 @@ export enum KnownPollingFrequency { OnceAnHour = "OnceAnHour" } +// @public +export enum KnownPriority { + High = "High", + Low = "Low", + Medium = "Medium" +} + // @public export enum KnownProviderName { MicrosoftAadiamDiagnosticSettings = "microsoft.aadiam/diagnosticSettings", @@ -3282,6 +4179,22 @@ export enum KnownProviderName { MicrosoftOperationalInsightsWorkspacesSharedKeys = "Microsoft.OperationalInsights/workspaces/sharedKeys" } +// @public +export enum KnownProviderPermissionsScope { + ResourceGroup = "ResourceGroup", + Subscription = "Subscription", + Workspace = "Workspace" +} + +// @public +export enum KnownProvisioningState { + Accepted = "Accepted", + Canceled = "Canceled", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded" +} + // @public export enum KnownRegistryHive { HkeyA = "HKEY_A", @@ -3308,9 +4221,16 @@ export enum KnownRegistryValueKind { Unknown = "Unknown" } +// @public +export enum KnownRepositoryAccessKind { + App = "App", + OAuth = "OAuth", + PAT = "PAT" +} + // @public export enum KnownRepoType { - DevOps = "DevOps", + AzureDevOps = "AzureDevOps", Github = "Github" } @@ -3354,6 +4274,27 @@ export enum KnownSourceType { RemoteStorage = "Remote storage" } +// @public +export enum KnownState { + Active = "Active", + CompletedByAction = "CompletedByAction", + CompletedByUser = "CompletedByUser", + Disabled = "Disabled", + Hidden = "Hidden" +} + +// @public +export enum KnownStatus { + Active = "Active", + Approved = "Approved", + Backlog = "Backlog", + Closed = "Closed", + Failed = "Failed", + InProgress = "InProgress", + New = "New", + Succeeded = "Succeeded" +} + // @public export enum KnownSupportTier { Community = "Community", @@ -3369,12 +4310,12 @@ export enum KnownTemplateStatus { } // @public -export enum KnownThreatIntelligenceResourceKindEnum { +export enum KnownThreatIntelligenceResourceInnerKind { Indicator = "indicator" } // @public -export enum KnownThreatIntelligenceSortingCriteriaEnum { +export enum KnownThreatIntelligenceSortingOrder { Ascending = "ascending", Descending = "descending", Unsorted = "unsorted" @@ -3406,16 +4347,39 @@ export enum KnownVersion { V2 = "V2" } +// @public +export enum KnownWarningCode { + SourceControlDeletedWithWarnings = "SourceControl_DeletedWithWarnings", + SourceControlWarningDeletePipelineFromAzureDevOps = "SourceControlWarning_DeletePipelineFromAzureDevOps", + SourceControlWarningDeleteRoleAssignment = "SourceControlWarning_DeleteRoleAssignment", + SourceControlWarningDeleteServicePrincipal = "SourceControlWarning_DeleteServicePrincipal", + SourceControlWarningDeleteWorkflowAndSecretFromGitHub = "SourceControlWarning_DeleteWorkflowAndSecretFromGitHub" +} + // @public export interface LastDataReceivedDataType { lastDataReceivedQuery?: string; name?: string; } +// @public +export interface ListGeodataByIpOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListGeodataByIpResponse = EnrichmentIpGeodataAutoGenerated; + +// @public +export interface ListWhoisByDomainOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListWhoisByDomainResponse = EnrichmentDomainWhois; + // @public export interface MailboxEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly displayName?: string; readonly externalDirectoryObjectId?: string; @@ -3436,7 +4400,7 @@ export interface MailboxEntityProperties extends EntityCommonProperties { // @public export interface MailClusterEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly clusterGroup?: string; readonly clusterQueryEndTime?: Date; @@ -3479,7 +4443,7 @@ export interface MailClusterEntityProperties extends EntityCommonProperties { // @public export interface MailMessageEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; antispamDirection?: AntispamMailDirection; bodyFingerprintBin1?: number; @@ -3542,7 +4506,7 @@ export interface MailMessageEntityProperties extends EntityCommonProperties { // @public export interface MalwareEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly category?: string; readonly fileEntityIds?: string[]; @@ -3703,7 +4667,7 @@ export interface MetadataModel extends ResourceWithEtag { dependencies?: MetadataDependencies; firstPublishDate?: Date; icon?: string; - kind?: Kind; + kind?: string; lastPublishDate?: Date; parentId?: string; previewImages?: string[]; @@ -3726,7 +4690,7 @@ export interface MetadataPatch extends ResourceWithEtag { dependencies?: MetadataDependencies; firstPublishDate?: Date; icon?: string; - kind?: Kind; + kind?: string; lastPublishDate?: Date; parentId?: string; previewImages?: string[]; @@ -3761,6 +4725,37 @@ export interface MetadataUpdateOptionalParams extends coreClient.OperationOption // @public export type MetadataUpdateResponse = MetadataModel; +// @public +export interface MicrosoftPurviewInformationProtectionCheckRequirements extends DataConnectorsCheckRequirements { + kind: "MicrosoftPurviewInformationProtection"; + tenantId?: string; +} + +// @public +export interface MicrosoftPurviewInformationProtectionCheckRequirementsProperties extends DataConnectorTenantId { +} + +// @public +export interface MicrosoftPurviewInformationProtectionConnectorDataTypes { + logs: MicrosoftPurviewInformationProtectionConnectorDataTypesLogs; +} + +// @public +export interface MicrosoftPurviewInformationProtectionConnectorDataTypesLogs extends DataConnectorDataTypeCommon { +} + +// @public +export interface MicrosoftPurviewInformationProtectionDataConnector extends DataConnector { + dataTypes?: MicrosoftPurviewInformationProtectionConnectorDataTypes; + kind: "MicrosoftPurviewInformationProtection"; + tenantId?: string; +} + +// @public +export interface MicrosoftPurviewInformationProtectionDataConnectorProperties extends DataConnectorTenantId { + dataTypes: MicrosoftPurviewInformationProtectionConnectorDataTypes; +} + // @public export interface MicrosoftSecurityIncidentCreationAlertRule extends AlertRule { alertRuleTemplateName?: string; @@ -3828,6 +4823,7 @@ export interface MLBehaviorAnalyticsAlertRule extends AlertRule { kind: "MLBehaviorAnalytics"; readonly lastModifiedUtc?: Date; readonly severity?: AlertSeverity; + readonly subTechniques?: string[]; readonly tactics?: AttackTactic[]; readonly techniques?: string[]; } @@ -3852,6 +4848,9 @@ export interface MLBehaviorAnalyticsAlertRuleTemplateProperties extends AlertRul severity: AlertSeverity; } +// @public +export type Mode = string; + // @public export interface MstiCheckRequirements extends DataConnectorsCheckRequirements { kind: "MicrosoftThreatIntelligence"; @@ -3871,15 +4870,9 @@ export interface MstiDataConnector extends DataConnector { // @public export interface MstiDataConnectorDataTypes { - bingSafetyPhishingURL: MstiDataConnectorDataTypesBingSafetyPhishingURL; microsoftEmergingThreatFeed: MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed; } -// @public -export interface MstiDataConnectorDataTypesBingSafetyPhishingURL extends DataConnectorDataTypeCommon { - lookbackPeriod: string; -} - // @public export interface MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed extends DataConnectorDataTypeCommon { lookbackPeriod: string; @@ -3903,15 +4896,21 @@ export interface MTPCheckRequirementsProperties extends DataConnectorTenantId { // @public export interface MTPDataConnector extends DataConnector { dataTypes?: MTPDataConnectorDataTypes; + filteredProviders?: MtpFilteredProviders; kind: "MicrosoftThreatProtection"; tenantId?: string; } // @public export interface MTPDataConnectorDataTypes { + alerts?: MTPDataConnectorDataTypesAlerts; incidents: MTPDataConnectorDataTypesIncidents; } +// @public +export interface MTPDataConnectorDataTypesAlerts extends DataConnectorDataTypeCommon { +} + // @public export interface MTPDataConnectorDataTypesIncidents extends DataConnectorDataTypeCommon { } @@ -3919,12 +4918,21 @@ export interface MTPDataConnectorDataTypesIncidents extends DataConnectorDataTyp // @public export interface MTPDataConnectorProperties extends DataConnectorTenantId { dataTypes: MTPDataConnectorDataTypes; + filteredProviders?: MtpFilteredProviders; } +// @public +export interface MtpFilteredProviders { + alerts: MtpProvider[]; +} + +// @public +export type MtpProvider = string; + // @public export interface NicEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; readonly ipAddressEntityId?: string; @@ -3956,7 +4964,9 @@ export interface NrtAlertRule extends AlertRule { kind: "NRT"; readonly lastModifiedUtc?: Date; query?: string; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; + subTechniques?: string[]; suppressionDuration?: string; suppressionEnabled?: boolean; tactics?: AttackTactic[]; @@ -3980,6 +4990,7 @@ export interface NrtAlertRuleTemplate extends AlertRuleTemplate { readonly lastUpdatedDateUTC?: Date; query?: string; requiredDataConnectors?: AlertRuleTemplateDataSource[]; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; status?: TemplateStatus; tactics?: AttackTactic[]; @@ -4223,6 +5234,73 @@ export type OutputType = string; // @public export type OwnerType = string; +// @public +export interface PackageBaseProperties { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: PackageKind; + contentProductId?: string; + contentSchemaVersion?: string; + dependencies?: MetadataDependencies; + description?: string; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + isDeprecated?: Flag; + isFeatured?: Flag; + isNew?: Flag; + isPreview?: Flag; + lastPublishDate?: Date; + providers?: string[]; + publisherDisplayName?: string; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export type PackageKind = string; + +// @public +export interface PackageList { + readonly nextLink?: string; + value: PackageModel[]; +} + +// @public +export interface PackageModel extends ResourceWithEtag { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: PackageKind; + contentProductId?: string; + contentSchemaVersion?: string; + dependencies?: MetadataDependencies; + description?: string; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + isDeprecated?: Flag; + isFeatured?: Flag; + isNew?: Flag; + isPreview?: Flag; + lastPublishDate?: Date; + providers?: string[]; + publisherDisplayName?: string; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export interface PackageProperties extends PackageBaseProperties { +} + // @public export type PermissionProviderScope = string; @@ -4243,18 +5321,21 @@ export interface PermissionsResourceProviderItem extends ResourceProvider { // @public (undocumented) export interface PlaybookActionProperties { - logicAppResourceId?: string; + logicAppResourceId: string; tenantId?: string; } // @public export type PollingFrequency = string; +// @public +export type Priority = string; + // @public export interface ProcessEntity extends Entity { readonly accountEntityId?: string; readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly commandLine?: string; readonly creationTimeUtc?: Date; @@ -4281,6 +5362,88 @@ export interface ProcessEntityProperties extends EntityCommonProperties { readonly processId?: string; } +// @public +export interface ProductPackage { + get(resourceGroupName: string, workspaceName: string, packageId: string, options?: ProductPackageGetOptionalParams): Promise; +} + +// @public +export interface ProductPackageAdditionalProperties { + installedVersion?: string; + metadataResourceId?: string; + packagedContent?: Record; +} + +// @public +export interface ProductPackageGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ProductPackageGetResponse = ProductPackageModel; + +// @public +export interface ProductPackageList { + readonly nextLink?: string; + value: ProductPackageModel[]; +} + +// @public +export interface ProductPackageModel extends ResourceWithEtag { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: PackageKind; + contentProductId?: string; + contentSchemaVersion?: string; + dependencies?: MetadataDependencies; + description?: string; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + installedVersion?: string; + isDeprecated?: Flag; + isFeatured?: Flag; + isNew?: Flag; + isPreview?: Flag; + lastPublishDate?: Date; + metadataResourceId?: string; + packagedContent?: Record; + providers?: string[]; + publisherDisplayName?: string; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export interface ProductPackageProperties extends PackageBaseProperties, ProductPackageAdditionalProperties { +} + +// @public +export interface ProductPackages { + list(resourceGroupName: string, workspaceName: string, options?: ProductPackagesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ProductPackagesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ProductPackagesListNextResponse = ProductPackageList; + +// @public +export interface ProductPackagesListOptionalParams extends coreClient.OperationOptions { + filter?: string; + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type ProductPackagesListResponse = ProductPackageList; + // @public export interface ProductSettings { delete(resourceGroupName: string, workspaceName: string, settingsName: string, options?: ProductSettingsDeleteOptionalParams): Promise; @@ -4315,10 +5478,93 @@ export interface ProductSettingsUpdateOptionalParams extends coreClient.Operatio export type ProductSettingsUpdateResponse = SettingsUnion; // @public -export interface PropertyArrayChangedConditionProperties extends AutomationRuleCondition { - // (undocumented) - conditionProperties?: AutomationRulePropertyArrayChangedValuesCondition; - conditionType: "PropertyArrayChanged"; +export interface ProductTemplate { + get(resourceGroupName: string, workspaceName: string, templateId: string, options?: ProductTemplateGetOptionalParams): Promise; +} + +// @public +export interface ProductTemplateAdditionalProperties { + packagedContent?: Record; +} + +// @public +export interface ProductTemplateGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ProductTemplateGetResponse = ProductTemplateModel; + +// @public +export interface ProductTemplateList { + readonly nextLink?: string; + value: ProductTemplateModel[]; +} + +// @public +export interface ProductTemplateModel extends ResourceWithEtag { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: Kind; + contentProductId?: string; + contentSchemaVersion?: string; + customVersion?: string; + dependencies?: MetadataDependencies; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + readonly isDeprecated?: Flag; + lastPublishDate?: Date; + packagedContent?: Record; + packageId?: string; + packageKind?: PackageKind; + packageName?: string; + packageVersion?: string; + previewImages?: string[]; + previewImagesDark?: string[]; + providers?: string[]; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export interface ProductTemplateProperties extends TemplateBaseProperties, ProductTemplateAdditionalProperties { +} + +// @public +export interface ProductTemplates { + list(resourceGroupName: string, workspaceName: string, options?: ProductTemplatesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ProductTemplatesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ProductTemplatesListNextResponse = ProductTemplateList; + +// @public +export interface ProductTemplatesListOptionalParams extends coreClient.OperationOptions { + count?: boolean; + filter?: string; + orderby?: string; + search?: string; + skip?: number; + skipToken?: string; + top?: number; +} + +// @public +export type ProductTemplatesListResponse = ProductTemplateList; + +// @public +export interface PropertyArrayChangedConditionProperties extends AutomationRuleCondition { + // (undocumented) + conditionProperties?: AutomationRulePropertyArrayChangedValuesCondition; + conditionType: "PropertyArrayChanged"; } // @public @@ -4345,6 +5591,18 @@ export interface PropertyConditionProperties extends AutomationRuleCondition { // @public export type ProviderName = string; +// @public +export type ProviderPermissionsScope = string; + +// @public +export type ProvisioningState = string; + +// @public +export interface PullRequest { + readonly state?: State; + readonly url?: string; +} + // @public export interface QueryBasedAlertRuleTemplateProperties { alertDetailsOverride?: AlertDetailsOverride; @@ -4354,17 +5612,61 @@ export interface QueryBasedAlertRuleTemplateProperties { entityMappings?: EntityMapping[]; eventGroupingSettings?: EventGroupingSettings; query?: string; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; version?: string; } +// @public +export interface Recommendation { + actions: RecommendedAction[]; + additionalProperties?: { + [propertyName: string]: string; + }; + category: Category; + content?: Content; + context: Context; + description: string; + displayUntilTimeUtc?: Date; + hideUntilTimeUtc?: Date; + id: string; + instructions: Instructions; + lastEvaluatedTimeUtc: Date; + priority: Priority; + recommendationTypeId: string; + recommendationTypeTitle: string; + resourceId?: string; + state: State; + title: string; + visible?: boolean; + workspaceId: string; +} + +// @public +export interface RecommendationList { + value?: Recommendation[]; +} + +// @public +export interface RecommendationPatch { + hideUntilTimeUtc?: Date; + state?: State; +} + +// @public +export interface RecommendedAction { + linkText: string; + linkUrl: string; + state?: Priority; +} + // @public export type RegistryHive = string; // @public export interface RegistryKeyEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; readonly hive?: RegistryHive; @@ -4381,7 +5683,7 @@ export interface RegistryKeyEntityProperties extends EntityCommonProperties { // @public export interface RegistryValueEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; readonly keyEntityId?: string; @@ -4420,6 +5722,7 @@ export interface RelationList { export interface Repo { branches?: string[]; fullName?: string; + installationId?: number; url?: string; } @@ -4431,17 +5734,39 @@ export interface RepoList { // @public export interface Repository { - branch?: string; - deploymentLogsUrl?: string; + branch: string; + readonly deploymentLogsUrl?: string; displayUrl?: string; - pathMapping?: ContentPathMap[]; - url?: string; + url: string; +} + +// @public +export interface RepositoryAccess { + clientId?: string; + code?: string; + installationId?: string; + kind: RepositoryAccessKind; + state?: string; + token?: string; +} + +// @public +export type RepositoryAccessKind = string; + +// @public +export interface RepositoryAccessProperties { + clientId?: string; + code?: string; + installationId?: string; + kind: RepositoryAccessKind; + state?: string; + token?: string; } // @public export interface RepositoryResourceInfo { - azureDevOpsResourceInfo?: AzureDevOpsResourceInfo; - gitHubResourceInfo?: GitHubResourceInfo; + readonly azureDevOpsResourceInfo?: AzureDevOpsResourceInfo; + readonly gitHubResourceInfo?: GitHubResourceInfo; webhook?: Webhook; } @@ -4473,6 +5798,14 @@ export interface ResourceProvider { scope?: PermissionProviderScope; } +// @public +export interface ResourceProviderRequiredPermissions { + action?: boolean; + delete?: boolean; + read?: boolean; + write?: boolean; +} + // @public export interface ResourceWithEtag extends Resource { etag?: string; @@ -4484,6 +5817,18 @@ export interface SampleQueries { query?: string; } +// @public +export interface SampleQuery { + description: string; + query: string; +} + +// @public +export interface SapSolutionUsageStatistic extends BillingStatistic { + readonly activeSystemIdCount?: number; + kind: "SapSolutionUsage"; +} + // @public export interface ScheduledAlertRule extends AlertRule { alertDetailsOverride?: AlertDetailsOverride; @@ -4502,7 +5847,9 @@ export interface ScheduledAlertRule extends AlertRule { query?: string; queryFrequency?: string; queryPeriod?: string; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; + subTechniques?: string[]; suppressionDuration?: string; suppressionEnabled?: boolean; tactics?: AttackTactic[]; @@ -4523,6 +5870,7 @@ export interface ScheduledAlertRuleCommonProperties { query?: string; queryFrequency?: string; queryPeriod?: string; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; triggerOperator?: TriggerOperator; triggerThreshold?: number; @@ -4536,6 +5884,7 @@ export interface ScheduledAlertRuleProperties extends ScheduledAlertRuleCommonPr enabled: boolean; incidentConfiguration?: IncidentConfiguration; readonly lastModifiedUtc?: Date; + subTechniques?: string[]; suppressionDuration: string; suppressionEnabled: boolean; tactics?: AttackTactic[]; @@ -4561,8 +5910,10 @@ export interface ScheduledAlertRuleTemplate extends AlertRuleTemplate { queryFrequency?: string; queryPeriod?: string; requiredDataConnectors?: AlertRuleTemplateDataSource[]; + sentinelEntitiesMappings?: SentinelEntityMapping[]; severity?: AlertSeverity; status?: TemplateStatus; + subTechniques?: string[]; tactics?: AttackTactic[]; techniques?: string[]; triggerOperator?: TriggerOperator; @@ -4573,7 +5924,7 @@ export interface ScheduledAlertRuleTemplate extends AlertRuleTemplate { // @public export interface SecurityAlert extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly alertDisplayName?: string; readonly alertLink?: string; @@ -4646,17 +5997,19 @@ export interface SecurityAlertTimelineItem extends EntityTimelineItem { description?: string; displayName: string; endTimeUtc: Date; + readonly intent?: KillChainIntent; kind: "SecurityAlert"; productName?: string; severity: AlertSeverity; startTimeUtc: Date; + techniques?: string[]; timeGenerated: Date; } // @public export interface SecurityGroupEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly distinguishedName?: string; readonly friendlyName?: string; @@ -4680,6 +6033,8 @@ export class SecurityInsights extends coreClient.ServiceClient { // (undocumented) actions: Actions; // (undocumented) + alertRuleOperations: AlertRuleOperations; + // (undocumented) alertRules: AlertRules; // (undocumented) alertRuleTemplates: AlertRuleTemplates; @@ -4688,12 +6043,24 @@ export class SecurityInsights extends coreClient.ServiceClient { // (undocumented) automationRules: AutomationRules; // (undocumented) + billingStatistics: BillingStatistics; + // (undocumented) bookmarkOperations: BookmarkOperations; // (undocumented) bookmarkRelations: BookmarkRelations; // (undocumented) bookmarks: Bookmarks; // (undocumented) + contentPackage: ContentPackage; + // (undocumented) + contentPackages: ContentPackages; + // (undocumented) + contentTemplate: ContentTemplate; + // (undocumented) + contentTemplates: ContentTemplates; + // (undocumented) + dataConnectorDefinitions: DataConnectorDefinitions; + // (undocumented) dataConnectors: DataConnectors; // (undocumented) dataConnectorsCheckRequirementsOperations: DataConnectorsCheckRequirementsOperations; @@ -4714,13 +6081,29 @@ export class SecurityInsights extends coreClient.ServiceClient { // (undocumented) fileImports: FileImports; // (undocumented) + get: Get; + // (undocumented) + getRecommendations: GetRecommendations; + // (undocumented) + getTriggeredAnalyticsRuleRuns: GetTriggeredAnalyticsRuleRuns; + // (undocumented) + huntComments: HuntComments; + // (undocumented) + huntRelations: HuntRelations; + // (undocumented) + hunts: Hunts; + // (undocumented) incidentComments: IncidentComments; // (undocumented) incidentRelations: IncidentRelations; // (undocumented) incidents: Incidents; // (undocumented) + incidentTasks: IncidentTasks; + // (undocumented) iPGeodata: IPGeodata; + listGeodataByIp(resourceGroupName: string, workspaceName: string, enrichmentType: EnrichmentType, ipAddressBody: EnrichmentIpAddressBody, options?: ListGeodataByIpOptionalParams): Promise; + listWhoisByDomain(resourceGroupName: string, workspaceName: string, enrichmentType: EnrichmentType, domainBody: EnrichmentDomainBody, options?: ListWhoisByDomainOptionalParams): Promise; // (undocumented) metadata: Metadata; // (undocumented) @@ -4728,8 +6111,16 @@ export class SecurityInsights extends coreClient.ServiceClient { // (undocumented) operations: Operations; // (undocumented) + productPackage: ProductPackage; + // (undocumented) + productPackages: ProductPackages; + // (undocumented) productSettings: ProductSettings; // (undocumented) + productTemplate: ProductTemplate; + // (undocumented) + productTemplates: ProductTemplates; + // (undocumented) securityMLAnalyticsSettings: SecurityMLAnalyticsSettings; // (undocumented) sentinelOnboardingStates: SentinelOnboardingStates; @@ -4746,9 +6137,23 @@ export class SecurityInsights extends coreClient.ServiceClient { // (undocumented) threatIntelligenceIndicators: ThreatIntelligenceIndicators; // (undocumented) + triggeredAnalyticsRuleRunOperations: TriggeredAnalyticsRuleRunOperations; + // (undocumented) + update: Update; + // (undocumented) watchlistItems: WatchlistItems; // (undocumented) watchlists: Watchlists; + // (undocumented) + workspaceManagerAssignmentJobs: WorkspaceManagerAssignmentJobs; + // (undocumented) + workspaceManagerAssignments: WorkspaceManagerAssignments; + // (undocumented) + workspaceManagerConfigurations: WorkspaceManagerConfigurations; + // (undocumented) + workspaceManagerGroups: WorkspaceManagerGroups; + // (undocumented) + workspaceManagerMembers: WorkspaceManagerMembers; } // @public @@ -4821,6 +6226,11 @@ export type SecurityMLAnalyticsSettingsListResponse = SecurityMLAnalyticsSetting // @public (undocumented) export type SecurityMLAnalyticsSettingUnion = SecurityMLAnalyticsSetting | AnomalySecurityMLAnalyticsSettings; +// @public +export interface SentinelEntityMapping { + columnName?: string; +} + // @public export interface SentinelOnboardingState extends ResourceWithEtag { customerManagedKey?: boolean; @@ -4865,6 +6275,14 @@ export interface SentinelOnboardingStatesListOptionalParams extends coreClient.O // @public export type SentinelOnboardingStatesListResponse = SentinelOnboardingStatesList; +// @public +export interface ServicePrincipal { + readonly appId?: string; + credentialsExpireOn?: Date; + readonly id?: string; + readonly tenantId?: string; +} + // @public export type SettingKind = string; @@ -4889,15 +6307,18 @@ export type SettingType = string; // @public export interface SourceControl extends ResourceWithEtag { - contentTypes?: ContentType[]; + contentTypes: ContentType[]; description?: string; - displayName?: string; - idPropertiesId?: string; - lastDeploymentInfo?: DeploymentInfo; - repository?: Repository; + displayName: string; + readonly idPropertiesId?: string; + readonly lastDeploymentInfo?: DeploymentInfo; + readonly pullRequest?: PullRequest; + repository: Repository; + repositoryAccess?: RepositoryAccess; repositoryResourceInfo?: RepositoryResourceInfo; - repoType?: RepoType; - version?: Version; + repoType: RepoType; + servicePrincipal?: ServicePrincipal; + readonly version?: Version; } // @public @@ -4922,13 +6343,13 @@ export type SourceControlListRepositoriesResponse = RepoList; // @public export interface SourceControlOperations { - listRepositories(resourceGroupName: string, workspaceName: string, repoType: RepoType, options?: SourceControlListRepositoriesOptionalParams): PagedAsyncIterableIterator; + listRepositories(resourceGroupName: string, workspaceName: string, repositoryAccess: RepositoryAccessProperties, options?: SourceControlListRepositoriesOptionalParams): PagedAsyncIterableIterator; } // @public export interface SourceControls { create(resourceGroupName: string, workspaceName: string, sourceControlId: string, sourceControl: SourceControl, options?: SourceControlsCreateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsDeleteOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, sourceControlId: string, repositoryAccess: RepositoryAccessProperties, options?: SourceControlsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams): PagedAsyncIterableIterator; } @@ -4944,6 +6365,9 @@ export type SourceControlsCreateResponse = SourceControl; export interface SourceControlsDeleteOptionalParams extends coreClient.OperationOptions { } +// @public +export type SourceControlsDeleteResponse = Warning; + // @public export interface SourceControlsGetOptionalParams extends coreClient.OperationOptions { } @@ -4971,10 +6395,16 @@ export type SourceKind = string; // @public export type SourceType = string; +// @public +export type State = string; + +// @public +export type Status = string; + // @public export interface SubmissionMailEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; kind: "SubmissionMail"; @@ -5034,6 +6464,82 @@ export interface TeamProperties { teamName: string; } +// @public +export interface TemplateAdditionalProperties { + readonly dependantTemplates?: TemplateProperties[]; + mainTemplate?: Record; +} + +// @public +export interface TemplateBaseProperties { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: Kind; + contentProductId?: string; + contentSchemaVersion?: string; + customVersion?: string; + dependencies?: MetadataDependencies; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + readonly isDeprecated?: Flag; + lastPublishDate?: Date; + packageId?: string; + packageKind?: PackageKind; + packageName?: string; + packageVersion?: string; + previewImages?: string[]; + previewImagesDark?: string[]; + providers?: string[]; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export interface TemplateList { + readonly nextLink?: string; + value: TemplateModel[]; +} + +// @public +export interface TemplateModel extends ResourceWithEtag { + author?: MetadataAuthor; + categories?: MetadataCategories; + contentId?: string; + contentKind?: Kind; + contentProductId?: string; + contentSchemaVersion?: string; + customVersion?: string; + readonly dependantTemplates?: TemplateProperties[]; + dependencies?: MetadataDependencies; + displayName?: string; + firstPublishDate?: Date; + icon?: string; + readonly isDeprecated?: Flag; + lastPublishDate?: Date; + mainTemplate?: Record; + packageId?: string; + packageKind?: PackageKind; + packageName?: string; + packageVersion?: string; + previewImages?: string[]; + previewImagesDark?: string[]; + providers?: string[]; + source?: MetadataSource; + support?: MetadataSupport; + threatAnalysisTactics?: string[]; + threatAnalysisTechniques?: string[]; + version?: string; +} + +// @public +export interface TemplateProperties extends TemplateBaseProperties, TemplateAdditionalProperties { +} + // @public export type TemplateStatus = string; @@ -5056,6 +6562,7 @@ export interface ThreatIntelligenceAlertRule extends AlertRule { kind: "ThreatIntelligence"; readonly lastModifiedUtc?: Date; readonly severity?: AlertSeverity; + readonly subTechniques?: string[]; readonly tactics?: AttackTactic[]; readonly techniques?: string[]; } @@ -5175,7 +6682,7 @@ export type ThreatIntelligenceIndicatorMetricsListResponse = ThreatIntelligenceM // @public export interface ThreatIntelligenceIndicatorModel extends ThreatIntelligenceInformation { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; confidence?: number; created?: string; @@ -5291,7 +6798,7 @@ export type ThreatIntelligenceIndicatorsListResponse = ThreatIntelligenceInforma // @public export interface ThreatIntelligenceInformation extends ResourceWithEtag { - kind: ThreatIntelligenceResourceKindEnum; + kind: ThreatIntelligenceResourceInnerKind; } // @public @@ -5346,16 +6853,16 @@ export interface ThreatIntelligenceParsedPatternTypeValue { } // @public -export type ThreatIntelligenceResourceKindEnum = string; +export type ThreatIntelligenceResourceInnerKind = string; // @public export interface ThreatIntelligenceSortingCriteria { itemKey?: string; - sortOrder?: ThreatIntelligenceSortingCriteriaEnum; + sortOrder?: ThreatIntelligenceSortingOrder; } // @public -export type ThreatIntelligenceSortingCriteriaEnum = string; +export type ThreatIntelligenceSortingOrder = string; // @public export interface TICheckRequirements extends DataConnectorsCheckRequirements { @@ -5457,6 +6964,39 @@ export interface TiTaxiiDataConnectorProperties extends DataConnectorTenantId { workspaceId?: string; } +// @public +export interface TriggeredAnalyticsRuleRun extends ResourceWithEtag { + // (undocumented) + executionTimeUtc: Date; + provisioningState: ProvisioningState; + // (undocumented) + ruleId: string; + ruleRunAdditionalData?: { + [propertyName: string]: any; + }; + // (undocumented) + triggeredAnalyticsRuleRunId: string; +} + +// @public +export interface TriggeredAnalyticsRuleRunGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggeredAnalyticsRuleRunGetResponse = TriggeredAnalyticsRuleRun; + +// @public +export interface TriggeredAnalyticsRuleRunOperations { + get(resourceGroupName: string, workspaceName: string, ruleRunId: string, options?: TriggeredAnalyticsRuleRunGetOptionalParams): Promise; +} + +// @public +export interface TriggeredAnalyticsRuleRuns { + readonly nextLink?: string; + // (undocumented) + value: TriggeredAnalyticsRuleRun[]; +} + // @public export type TriggerOperator = "GreaterThan" | "LessThan" | "Equal" | "NotEqual"; @@ -5475,10 +7015,25 @@ export interface Ueba extends Settings { // @public export type UebaDataSources = string; +// @public +export interface Update { + beginRecommendation(resourceGroupName: string, workspaceName: string, recommendationId: string, recommendationPatch: RecommendationPatch[], options?: UpdateRecommendationOptionalParams): Promise, UpdateRecommendationResponse>>; + beginRecommendationAndWait(resourceGroupName: string, workspaceName: string, recommendationId: string, recommendationPatch: RecommendationPatch[], options?: UpdateRecommendationOptionalParams): Promise; +} + +// @public +export interface UpdateRecommendationOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type UpdateRecommendationResponse = Recommendation; + // @public export interface UrlEntity extends Entity { readonly additionalData?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; readonly friendlyName?: string; kind: "Url"; @@ -5506,6 +7061,21 @@ export interface ValidationError { // @public export type Version = string; +// @public +export interface Warning { + readonly warning?: WarningBody; +} + +// @public +export interface WarningBody { + readonly code?: WarningCode; + readonly details?: WarningBody[]; + readonly message?: string; +} + +// @public +export type WarningCode = string; + // @public export interface Watchlist extends ResourceWithEtag { contentType?: string; @@ -5659,11 +7229,276 @@ export type WatchlistsListResponse = WatchlistList; // @public export interface Webhook { rotateWebhookSecret?: boolean; - webhookId?: string; - webhookSecretUpdateTime?: string; - webhookUrl?: string; + readonly webhookId?: string; + readonly webhookSecretUpdateTime?: Date; + readonly webhookUrl?: string; +} + +// @public +export interface WorkspaceManagerAssignment extends AzureEntityResource { + items?: AssignmentItem[]; + readonly lastJobEndTime?: Date; + readonly lastJobProvisioningState?: ProvisioningState; + targetResourceName?: string; +} + +// @public +export interface WorkspaceManagerAssignmentJobs { + create(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, options?: WorkspaceManagerAssignmentJobsCreateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, jobName: string, options?: WorkspaceManagerAssignmentJobsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, jobName: string, options?: WorkspaceManagerAssignmentJobsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, options?: WorkspaceManagerAssignmentJobsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagerAssignmentJobsCreateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentJobsCreateResponse = Job; + +// @public +export interface WorkspaceManagerAssignmentJobsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WorkspaceManagerAssignmentJobsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentJobsGetResponse = Job; + +// @public +export interface WorkspaceManagerAssignmentJobsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentJobsListNextResponse = JobList; + +// @public +export interface WorkspaceManagerAssignmentJobsListOptionalParams extends coreClient.OperationOptions { + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type WorkspaceManagerAssignmentJobsListResponse = JobList; + +// @public +export interface WorkspaceManagerAssignmentList { + readonly nextLink?: string; + value: WorkspaceManagerAssignment[]; +} + +// @public +export interface WorkspaceManagerAssignments { + createOrUpdate(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, workspaceManagerAssignment: WorkspaceManagerAssignment, options?: WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, options?: WorkspaceManagerAssignmentsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, workspaceManagerAssignmentName: string, options?: WorkspaceManagerAssignmentsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagerAssignmentsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentsCreateOrUpdateResponse = WorkspaceManagerAssignment; + +// @public +export interface WorkspaceManagerAssignmentsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WorkspaceManagerAssignmentsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentsGetResponse = WorkspaceManagerAssignment; + +// @public +export interface WorkspaceManagerAssignmentsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerAssignmentsListNextResponse = WorkspaceManagerAssignmentList; + +// @public +export interface WorkspaceManagerAssignmentsListOptionalParams extends coreClient.OperationOptions { + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type WorkspaceManagerAssignmentsListResponse = WorkspaceManagerAssignmentList; + +// @public +export interface WorkspaceManagerConfiguration extends AzureEntityResource { + mode?: Mode; } +// @public +export interface WorkspaceManagerConfigurationList { + readonly nextLink?: string; + value: WorkspaceManagerConfiguration[]; +} + +// @public +export interface WorkspaceManagerConfigurations { + createOrUpdate(resourceGroupName: string, workspaceName: string, workspaceManagerConfigurationName: string, workspaceManagerConfiguration: WorkspaceManagerConfiguration, options?: WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, workspaceManagerConfigurationName: string, options?: WorkspaceManagerConfigurationsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, workspaceManagerConfigurationName: string, options?: WorkspaceManagerConfigurationsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagerConfigurationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerConfigurationsCreateOrUpdateResponse = WorkspaceManagerConfiguration; + +// @public +export interface WorkspaceManagerConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WorkspaceManagerConfigurationsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerConfigurationsGetResponse = WorkspaceManagerConfiguration; + +// @public +export interface WorkspaceManagerConfigurationsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerConfigurationsListNextResponse = WorkspaceManagerConfigurationList; + +// @public +export interface WorkspaceManagerConfigurationsListOptionalParams extends coreClient.OperationOptions { + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type WorkspaceManagerConfigurationsListResponse = WorkspaceManagerConfigurationList; + +// @public +export interface WorkspaceManagerGroup extends AzureEntityResource { + description?: string; + displayName?: string; + memberResourceNames?: string[]; +} + +// @public +export interface WorkspaceManagerGroupList { + readonly nextLink?: string; + value: WorkspaceManagerGroup[]; +} + +// @public +export interface WorkspaceManagerGroups { + createOrUpdate(resourceGroupName: string, workspaceName: string, workspaceManagerGroupName: string, workspaceManagerGroup: WorkspaceManagerGroup, options?: WorkspaceManagerGroupsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, workspaceManagerGroupName: string, options?: WorkspaceManagerGroupsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, workspaceManagerGroupName: string, options?: WorkspaceManagerGroupsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagerGroupsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagerGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerGroupsCreateOrUpdateResponse = WorkspaceManagerGroup; + +// @public +export interface WorkspaceManagerGroupsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WorkspaceManagerGroupsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerGroupsGetResponse = WorkspaceManagerGroup; + +// @public +export interface WorkspaceManagerGroupsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerGroupsListNextResponse = WorkspaceManagerGroupList; + +// @public +export interface WorkspaceManagerGroupsListOptionalParams extends coreClient.OperationOptions { + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type WorkspaceManagerGroupsListResponse = WorkspaceManagerGroupList; + +// @public +export interface WorkspaceManagerMember extends AzureEntityResource { + targetWorkspaceResourceId?: string; + targetWorkspaceTenantId?: string; +} + +// @public +export interface WorkspaceManagerMembers { + createOrUpdate(resourceGroupName: string, workspaceName: string, workspaceManagerMemberName: string, workspaceManagerMember: WorkspaceManagerMember, options?: WorkspaceManagerMembersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, workspaceManagerMemberName: string, options?: WorkspaceManagerMembersDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, workspaceManagerMemberName: string, options?: WorkspaceManagerMembersGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagerMembersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagerMembersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerMembersCreateOrUpdateResponse = WorkspaceManagerMember; + +// @public +export interface WorkspaceManagerMembersDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WorkspaceManagerMembersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerMembersGetResponse = WorkspaceManagerMember; + +// @public +export interface WorkspaceManagerMembersList { + readonly nextLink?: string; + value: WorkspaceManagerMember[]; +} + +// @public +export interface WorkspaceManagerMembersListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagerMembersListNextResponse = WorkspaceManagerMembersList; + +// @public +export interface WorkspaceManagerMembersListOptionalParams extends coreClient.OperationOptions { + orderby?: string; + skipToken?: string; + top?: number; +} + +// @public +export type WorkspaceManagerMembersListResponse = WorkspaceManagerMembersList; + // (No @packageDocumentation comment for this package) ``` diff --git a/sdk/securityinsight/arm-securityinsight/src/lroImpl.ts b/sdk/securityinsight/arm-securityinsight/src/lroImpl.ts index 518d5f053b4e..b27f5ac7209b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/lroImpl.ts +++ b/sdk/securityinsight/arm-securityinsight/src/lroImpl.ts @@ -6,29 +6,37 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; -export class LroImpl implements LongRunningOperation { - constructor( - private sendOperationFn: (args: any, spec: any) => Promise>, - private args: Record, - private spec: { - readonly requestBody?: unknown; - readonly path?: string; - readonly httpMethod: string; - } & Record, - public requestPath: string = spec.path!, - public requestMethod: string = spec.httpMethod - ) {} - public async sendInitialRequest(): Promise> { - return this.sendOperationFn(this.args, this.spec); - } - public async sendPollRequest(path: string): Promise> { - const { requestBody, ...restSpec } = this.spec; - return this.sendOperationFn(this.args, { - ...restSpec, - path, - httpMethod: "GET" - }); - } +export function createLroSpec(inputs: { + sendOperationFn: (args: any, spec: any) => Promise>; + args: Record; + spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record; +}): LongRunningOperation { + const { args, spec, sendOperationFn } = inputs; + return { + requestMethod: spec.httpMethod, + requestPath: spec.path!, + sendInitialRequest: () => sendOperationFn(args, spec), + sendPollRequest: ( + path: string, + options?: { abortSignal?: AbortSignalLike }, + ) => { + const { requestBody, ...restSpec } = spec; + return sendOperationFn(args, { + ...restSpec, + httpMethod: "GET", + path, + abortSignal: options?.abortSignal, + }); + }, + }; } diff --git a/sdk/securityinsight/arm-securityinsight/src/models/index.ts b/sdk/securityinsight/arm-securityinsight/src/models/index.ts index ce2c0ea1f1ab..8220049f0548 100644 --- a/sdk/securityinsight/arm-securityinsight/src/models/index.ts +++ b/sdk/securityinsight/arm-securityinsight/src/models/index.ts @@ -17,6 +17,7 @@ export type AutomationRuleConditionUnion = | PropertyConditionProperties; export type AutomationRuleActionUnion = | AutomationRuleAction + | AutomationRuleAddIncidentTaskAction | AutomationRuleModifyPropertiesAction | AutomationRuleRunPlaybookAction; export type EntityTimelineItemUnion = @@ -40,6 +41,7 @@ export type DataConnectorsCheckRequirementsUnion = | MtpCheckRequirements | OfficeATPCheckRequirements | OfficeIRMCheckRequirements + | MicrosoftPurviewInformationProtectionCheckRequirements | Office365ProjectCheckRequirements | OfficePowerBICheckRequirements | TICheckRequirements @@ -107,6 +109,9 @@ export type SettingsUnion = export type ThreatIntelligenceInformationUnion = | ThreatIntelligenceInformation | ThreatIntelligenceIndicatorModel; +export type DataConnectorDefinitionUnion = + | DataConnectorDefinition + | CustomizableConnectorDefinition; export type DataConnectorUnion = | DataConnector | AADDataConnector @@ -116,9 +121,11 @@ export type DataConnectorUnion = | ASCDataConnector | AwsCloudTrailDataConnector | AwsS3DataConnector + | GCPDataConnector | McasDataConnector | Dynamics365DataConnector | OfficeATPDataConnector + | MicrosoftPurviewInformationProtectionDataConnector | Office365ProjectDataConnector | OfficePowerBIDataConnector | OfficeIRMDataConnector @@ -129,6 +136,9 @@ export type DataConnectorUnion = | IoTDataConnector | CodelessUiDataConnector | CodelessApiPollingDataConnector; +export type BillingStatisticUnion = + | BillingStatistic + | SapSolutionUsageStatistic; /** List all the alert rules. */ export interface AlertRulesList { @@ -255,7 +265,7 @@ export interface AutomationRuleCondition { /** Describes an automation rule action. */ export interface AutomationRuleAction { /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "ModifyProperties" | "RunPlaybook"; + actionType: "AddIncidentTask" | "ModifyProperties" | "RunPlaybook"; order: number; } @@ -276,11 +286,81 @@ export interface AutomationRulesList { nextLink?: string; } +/** Describes the request body for triggering a playbook on an entity. */ +export interface EntityManualTriggerRequestBody { + /** Incident ARM id. */ + incidentArmId?: string; + /** The tenant id of the playbook resource. */ + tenantId?: string; + /** The resource id of the playbook resource. */ + logicAppsResourceId: string; +} + export interface ManualTriggerRequestBody { tenantId?: string; logicAppsResourceId: string; } +/** List of all Microsoft Sentinel billing statistics. */ +export interface BillingStatisticList { + /** + * URL to fetch the next set of billing statistics. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of billing statistics. */ + value: BillingStatisticUnion[]; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; +} + /** List all the bookmarks. */ export interface BookmarkList { /** @@ -380,7 +460,7 @@ export interface ExpansionResultAggregation { /** The display name of the aggregation by type. */ displayName?: string; /** The kind of the aggregated entity. */ - entityKind: EntityKind; + entityKind: EntityKindEnum; } /** The expansion result values. */ @@ -399,6 +479,240 @@ export interface ConnectedEntity { additionalData?: Record; } +/** List available packages. */ +export interface PackageList { + /** + * URL to fetch the next set of packages. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of packages. */ + value: PackageModel[]; +} + +/** Describes package properties */ +export interface PackageBaseProperties { + /** The content id of the package */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package */ + contentProductId?: string; + /** The package kind */ + contentKind?: PackageKind; + /** The version of the content schema. */ + contentSchemaVersion?: string; + /** Flag indicates if this is a newly published package. */ + isNew?: Flag; + /** Flag indicates if this package is in preview. */ + isPreview?: Flag; + /** Flag indicates if this package is among the featured list. */ + isFeatured?: Flag; + /** Flag indicates if this template is deprecated */ + isDeprecated?: Flag; + /** the latest version number of the package */ + version?: string; + /** The display name of the package */ + displayName?: string; + /** The description of the package */ + description?: string; + /** The publisher display name of the package */ + publisherDisplayName?: string; + /** The source of the package */ + source?: MetadataSource; + /** The author of the package */ + author?: MetadataAuthor; + /** The support tier of the package */ + support?: MetadataSupport; + /** The support tier of the package */ + dependencies?: MetadataDependencies; + /** Providers for the package item */ + providers?: string[]; + /** first publish date package item */ + firstPublishDate?: Date; + /** last publish date for the package item */ + lastPublishDate?: Date; + /** The categories of the package */ + categories?: MetadataCategories; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; +} + +/** The original source of the content item, where it comes from. */ +export interface MetadataSource { + /** Source type of the content */ + kind: SourceKind; + /** Name of the content source. The repo name, solution name, LA workspace name etc. */ + name?: string; + /** ID of the content source. The solution ID, workspace ID, etc */ + sourceId?: string; +} + +/** Publisher or creator of the content item. */ +export interface MetadataAuthor { + /** Name of the author. Company or person. */ + name?: string; + /** Email of author contact */ + email?: string; + /** Link for author/vendor page */ + link?: string; +} + +/** Support information for the content item. */ +export interface MetadataSupport { + /** Type of support for content item */ + tier: SupportTier; + /** Name of the support contact. Company or person. */ + name?: string; + /** Email of support contact */ + email?: string; + /** Link for support help, like to support page to open a ticket etc. */ + link?: string; +} + +/** Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ +export interface MetadataDependencies { + /** Id of the content item we depend on */ + contentId?: string; + /** Type of the content item we depend on */ + kind?: Kind; + /** Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ + version?: string; + /** Name of the content item */ + name?: string; + /** Operator used for list of dependencies in criteria array. */ + operator?: Operator; + /** This is the list of dependencies we must fulfill, according to the AND/OR operator */ + criteria?: MetadataDependencies[]; +} + +/** ies for the solution content item */ +export interface MetadataCategories { + /** domain for the solution content item */ + domains?: string[]; + /** Industry verticals for the solution content item */ + verticals?: string[]; +} + +/** List available packages. */ +export interface ProductPackageList { + /** + * URL to fetch the next set of packages. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of packages. */ + value: ProductPackageModel[]; +} + +/** product package additional properties */ +export interface ProductPackageAdditionalProperties { + /** The version of the installed package, null or absent means not installed. */ + installedVersion?: string; + /** The metadata resource id. */ + metadataResourceId?: string; + /** The json of the ARM template to deploy. Expandable. */ + packagedContent?: Record; +} + +/** List of all the template. */ +export interface ProductTemplateList { + /** Array of templates. */ + value: ProductTemplateModel[]; + /** + * URL to fetch the next page of template. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Template property bag. */ +export interface TemplateBaseProperties { + /** Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template */ + contentProductId?: string; + /** Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + packageVersion?: string; + /** Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + version?: string; + /** The display name of the template */ + displayName?: string; + /** The kind of content the template is for. */ + contentKind?: Kind; + /** Source of the content. This is where/how it was created. */ + source?: MetadataSource; + /** The creator of the content item. */ + author?: MetadataAuthor; + /** Support information for the template - type, name, contact information */ + support?: MetadataSupport; + /** Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. */ + dependencies?: MetadataDependencies; + /** Categories for the item */ + categories?: MetadataCategories; + /** Providers for the content item */ + providers?: string[]; + /** first publish date content item */ + firstPublishDate?: Date; + /** last publish date for the content item */ + lastPublishDate?: Date; + /** The custom version of the content. A optional free text */ + customVersion?: string; + /** Schema version of the content. Can be used to distinguish between different flow based on the schema version */ + contentSchemaVersion?: string; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** preview image file names. These will be taken from the solution artifacts */ + previewImages?: string[]; + /** preview image file names. These will be taken from the solution artifacts. used for dark theme support */ + previewImagesDark?: string[]; + /** the package Id contains this template */ + packageId?: string; + /** the packageKind of the package contains this template */ + packageKind?: PackageKind; + /** the name of the package contains this template */ + packageName?: string; + /** + * Flag indicates if this template is deprecated + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDeprecated?: Flag; +} + +/** additional properties of product template. */ +export interface ProductTemplateAdditionalProperties { + /** The json of the ARM template to deploy */ + packagedContent?: Record; +} + +/** List of all the template. */ +export interface TemplateList { + /** Array of templates. */ + value: TemplateModel[]; + /** + * URL to fetch the next page of template. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** additional properties of product template. */ +export interface TemplateAdditionalProperties { + /** The JSON of the ARM template to deploy active content. Expandable. */ + mainTemplate?: Record; + /** + * Dependant templates. Expandable. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dependantTemplates?: TemplateProperties[]; +} + /** Geodata information for a given IP address */ export interface EnrichmentIpGeodata { /** The autonomous system number associated with this IP address */ @@ -517,6 +831,56 @@ export interface EnrichmentDomainWhoisContact { email?: string; } +/** IP address (v4 or v6) to be enriched */ +export interface EnrichmentIpAddressBody { + /** The dotted-decimal or colon-separated string representation of the IP address */ + ipAddress?: string; +} + +/** Geodata information for a given IP address */ +export interface EnrichmentIpGeodataAutoGenerated { + /** The autonomous system number associated with this IP address */ + asn?: string; + /** The name of the carrier for this IP address */ + carrier?: string; + /** The city this IP address is located in */ + city?: string; + /** A numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100 */ + cityConfidenceFactor?: number; + /** The continent this IP address is located on */ + continent?: string; + /** The county this IP address is located in */ + country?: string; + /** A numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100 */ + countryConfidenceFactor?: number; + /** The dotted-decimal or colon-separated string representation of the IP address */ + ipAddr?: string; + /** A description of the connection type of this IP address */ + ipRoutingType?: string; + /** The latitude of this IP address */ + latitude?: string; + /** The longitude of this IP address */ + longitude?: string; + /** The name of the organization for this IP address */ + organization?: string; + /** The type of the organization for this IP address */ + organizationType?: string; + /** The geographic region this IP address is located in */ + region?: string; + /** The state this IP address is located in */ + state?: string; + /** A numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100 */ + stateConfidenceFactor?: number; + /** The abbreviated name for the state this IP address is located in */ + stateCode?: string; +} + +/** Domain name to be enriched */ +export interface EnrichmentDomainBody { + /** The domain name */ + domain?: string; +} + /** List of all the entities. */ export interface EntityList { /** @@ -559,7 +923,7 @@ export interface EntityEdges { /** The target entity Id. */ targetEntityId?: string; /** A bag of custom fields that should be part of the entity and will be presented to the user. */ - additionalData?: { [propertyName: string]: Record }; + additionalData?: { [propertyName: string]: any }; } /** The parameters required to execute s timeline operation on the given entity. */ @@ -774,79 +1138,125 @@ export interface ValidationError { readonly errorMessages?: string[]; } -/** List all the incidents. */ -export interface IncidentList { +/** List all the hunts. */ +export interface HuntList { /** - * URL to fetch the next set of incidents. + * URL to fetch the next set of hunts. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; - /** Array of incidents. */ - value: Incident[]; + /** Array of hunts. */ + value: Hunt[]; } -/** Incident additional data property bag. */ -export interface IncidentAdditionalData { +/** Describes a user that the hunt is assigned to */ +export interface HuntOwner { + /** The email of the user the hunt is assigned to. */ + email?: string; + /** The name of the user the hunt is assigned to. */ + assignedTo?: string; + /** The object id of the user the hunt is assigned to. */ + objectId?: string; + /** The user principal name of the user the hunt is assigned to. */ + userPrincipalName?: string; + /** The type of the owner the hunt is assigned to. */ + ownerType?: OwnerType; +} + +/** List of all the hunt relations */ +export interface HuntRelationList { /** - * The number of alerts in the incident + * URL to fetch the next set of hunt relations. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly alertsCount?: number; + readonly nextLink?: string; + /** Array of hunt relations */ + value: HuntRelation[]; +} + +/** List of all hunt comments */ +export interface HuntCommentList { /** - * The number of bookmarks in the incident + * URL to fetch the next set of hunt comments. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly bookmarksCount?: number; + readonly nextLink?: string; + /** Array of hunt comments */ + value: HuntComment[]; +} + +/** List all the incidents. */ +export interface IncidentList { + value: Incident[]; /** - * The number of comments in the incident + * URL to fetch the next set of incidents. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly commentsCount?: number; - /** - * List of product names of alerts in the incident - * NOTE: This property will not be serialized. It can only be populated by the server. + readonly nextLink?: string; +} + +/** Information on the user an incident is assigned to */ +export interface IncidentOwnerInfo { + /** The email of the user the incident is assigned to. */ + email?: string; + /** The name of the user the incident is assigned to. */ + assignedTo?: string; + /** The object id of the user the incident is assigned to. */ + objectId?: string; + /** The user principal name of the user the incident is assigned to. */ + userPrincipalName?: string; + /** The type of the owner the incident is assigned to. */ + ownerType?: OwnerType; +} + +/** Represents an incident label */ +export interface IncidentLabel { + /** The name of the label */ + labelName: string; + /** + * The type of the label + * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly alertProductNames?: string[]; + readonly labelType?: IncidentLabelType; +} + +/** Incident additional data property bag. */ +export interface IncidentAdditionalData { /** - * The provider incident url to the incident in Microsoft 365 Defender portal + * The number of alerts in the incident * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly providerIncidentUrl?: string; + readonly alertsCount?: number; + /** + * The number of bookmarks in the incident + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly bookmarksCount?: number; + /** + * The number of comments in the incident + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly commentsCount?: number; + /** + * List of product names of alerts in the incident + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly alertProductNames?: string[]; /** * The tactics associated with incident * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tactics?: AttackTactic[]; /** - * The techniques associated with incident's tactics' + * The techniques associated with incident's tactics * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly techniques?: string[]; -} - -/** Represents an incident label */ -export interface IncidentLabel { - /** The name of the label */ - labelName: string; /** - * The type of the label + * The provider incident url to the incident in Microsoft 365 Defender portal * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly labelType?: IncidentLabelType; -} - -/** Information on the user an incident is assigned to */ -export interface IncidentOwnerInfo { - /** The email of the user the incident is assigned to. */ - email?: string; - /** The name of the user the incident is assigned to. */ - assignedTo?: string; - /** The object id of the user the incident is assigned to. */ - objectId?: string; - /** The user principal name of the user the incident is assigned to. */ - userPrincipalName?: string; - /** The type of the owner the incident is assigned to. */ - ownerType?: OwnerType; + readonly providerIncidentUrl?: string; } /** Describes team information */ @@ -878,18 +1288,6 @@ export interface TeamInformation { readonly description?: string; } -/** Describes team properties */ -export interface TeamProperties { - /** The name of the team */ - teamName: string; - /** The description of the team */ - teamDescription?: string; - /** List of member IDs to add to the team */ - memberIds?: string[]; - /** List of group IDs to add their members to the team */ - groupIds?: string[]; -} - /** List of incident alerts. */ export interface IncidentAlertList { /** Array of incident alerts. */ @@ -916,7 +1314,7 @@ export interface EntityCommonProperties { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -930,15 +1328,10 @@ export interface IncidentBookmarkList { value: HuntingBookmark[]; } -/** List of incident comments. */ export interface IncidentCommentList { - /** - * URL to fetch the next set of comments. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; - /** Array of comments. */ value: IncidentComment[]; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly nextLink?: string; } /** The incident related entities response. */ @@ -951,10 +1344,15 @@ export interface IncidentEntitiesResponse { /** Information of a specific aggregation in the incident related entities result. */ export interface IncidentEntitiesResultsMetadata { + /** The kind of the aggregated entity. */ + entityKind: EntityKindEnum; /** Total number of aggregations of the given kind in the incident related entities result. */ count: number; - /** The kind of the aggregated entity. */ - entityKind: EntityKind; +} + +export interface IncidentTaskList { + value?: IncidentTask[]; + nextLink?: string; } /** List of all the metadata. */ @@ -968,62 +1366,6 @@ export interface MetadataList { readonly nextLink?: string; } -/** The original source of the content item, where it comes from. */ -export interface MetadataSource { - /** Source type of the content */ - kind: SourceKind; - /** Name of the content source. The repo name, solution name, LA workspace name etc. */ - name?: string; - /** ID of the content source. The solution ID, workspace ID, etc */ - sourceId?: string; -} - -/** Publisher or creator of the content item. */ -export interface MetadataAuthor { - /** Name of the author. Company or person. */ - name?: string; - /** Email of author contact */ - email?: string; - /** Link for author/vendor page */ - link?: string; -} - -/** Support information for the content item. */ -export interface MetadataSupport { - /** Type of support for content item */ - tier: SupportTier; - /** Name of the support contact. Company or person. */ - name?: string; - /** Email of support contact */ - email?: string; - /** Link for support help, like to support page to open a ticket etc. */ - link?: string; -} - -/** Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ -export interface MetadataDependencies { - /** Id of the content item we depend on */ - contentId?: string; - /** Type of the content item we depend on */ - kind?: Kind; - /** Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ - version?: string; - /** Name of the content item */ - name?: string; - /** Operator used for list of dependencies in criteria array. */ - operator?: Operator; - /** This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: MetadataDependencies[]; -} - -/** ies for the solution content item */ -export interface MetadataCategories { - /** domain for the solution content item */ - domains?: string[]; - /** Industry verticals for the solution content item */ - verticals?: string[]; -} - /** List of all the office365 consents. */ export interface OfficeConsentList { /** @@ -1041,6 +1383,90 @@ export interface SentinelOnboardingStatesList { value: SentinelOnboardingState[]; } +/** A list of recommendations */ +export interface RecommendationList { + /** An list of recommendations */ + value?: Recommendation[]; +} + +/** Recommendation object. */ +export interface Recommendation { + /** id of recommendation. */ + id: string; + /** Instructions of the recommendation. */ + instructions: Instructions; + /** Content of the recommendation. */ + content?: Content; + /** Id of the resource this recommendation refers to. */ + resourceId?: string; + /** Collection of additional properties for the recommendation. */ + additionalProperties?: { [propertyName: string]: string }; + /** Title of the recommendation. */ + title: string; + /** Description of the recommendation. */ + description: string; + /** Title of the recommendation type. */ + recommendationTypeTitle: string; + /** Id of the recommendation type. */ + recommendationTypeId: string; + /** Category of the recommendation. */ + category: Category; + /** Context of the recommendation. */ + context: Context; + /** Id of the workspace this recommendation refers to. */ + workspaceId: string; + /** List of actions to take for this recommendation. */ + actions: RecommendedAction[]; + /** State of the recommendation. */ + state: State; + /** Priority of the recommendation. */ + priority: Priority; + /** The time stamp (UTC) when the recommendation was last evaluated. */ + lastEvaluatedTimeUtc: Date; + /** The time stamp (UTC) when the recommendation should be displayed again. */ + hideUntilTimeUtc?: Date; + /** The timestamp (UTC) after which the recommendation should not be displayed anymore. */ + displayUntilTimeUtc?: Date; + /** Value indicating if the recommendation should be displayed or not. */ + visible?: boolean; +} + +/** Instructions section of a recommendation. */ +export interface Instructions { + /** What actions should be taken to complete the recommendation. */ + actionsToBePerformed: string; + /** Explains why the recommendation is important. */ + recommendationImportance: string; + /** How should the user complete the recommendation. */ + howToPerformActionDetails?: string; +} + +/** Content section of the recommendation. */ +export interface Content { + /** Title of the content. */ + title: string; + /** Description of the content. */ + description: string; +} + +/** What actions should be taken to complete the recommendation. */ +export interface RecommendedAction { + /** Text of the link to complete the action. */ + linkText: string; + /** The Link to complete the action. */ + linkUrl: string; + /** The state of the action. */ + state?: Priority; +} + +/** Recommendation Fields to update. */ +export interface RecommendationPatch { + /** State of the recommendation. */ + state?: State; + /** The time stamp (UTC) when the recommendation should be displayed again. */ + hideUntilTimeUtc?: Date; +} + /** List all the SecurityMLAnalyticsSettings */ export interface SecurityMLAnalyticsSettingsList { /** @@ -1058,6 +1484,38 @@ export interface SettingList { value: SettingsUnion[]; } +/** Credentials to access repository. */ +export interface RepositoryAccessProperties { + /** The kind of repository access credentials */ + kind: RepositoryAccessKind; + /** OAuth Code. Required when `kind` is `OAuth` */ + code?: string; + /** OAuth State. Required when `kind` is `OAuth` */ + state?: string; + /** OAuth ClientId. Required when `kind` is `OAuth` */ + clientId?: string; + /** Personal Access Token. Required when `kind` is `PAT` */ + token?: string; + /** Application installation ID. Required when `kind` is `App`. Supported by `GitHub` only. */ + installationId?: string; +} + +/** Credentials to access repository. */ +export interface RepositoryAccess { + /** The kind of repository access credentials */ + kind: RepositoryAccessKind; + /** OAuth Code. Required when `kind` is `OAuth` */ + code?: string; + /** OAuth State. Required when `kind` is `OAuth` */ + state?: string; + /** OAuth ClientId. Required when `kind` is `OAuth` */ + clientId?: string; + /** Personal Access Token. Required when `kind` is `PAT` */ + token?: string; + /** Application installation ID. Required when `kind` is `App`. Supported by `GitHub` only. */ + installationId?: string; +} + /** List all the source controls. */ export interface RepoList { /** @@ -1075,6 +1533,8 @@ export interface Repo { url?: string; /** The name of the repository. */ fullName?: string; + /** The installation id of the repository. */ + installationId?: number; /** Array of branches. */ branches?: string[]; } @@ -1093,43 +1553,72 @@ export interface SourceControlList { /** metadata of a repository. */ export interface Repository { /** Url of repository. */ - url?: string; + url: string; /** Branch name of repository. */ - branch?: string; + branch: string; /** Display url of repository. */ displayUrl?: string; - /** Url to access repository action logs. */ - deploymentLogsUrl?: string; - /** Dictionary of source control content type and path mapping. */ - pathMapping?: ContentPathMap[]; + /** + * Url to access repository action logs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly deploymentLogsUrl?: string; } -/** The mapping of content type to a repo path. */ -export interface ContentPathMap { - /** Content type. */ - contentType?: ContentType; - /** The path to the content. */ - path?: string; +/** Service principal metadata. */ +export interface ServicePrincipal { + /** + * Id of service principal. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Tenant id of service principal. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** + * App id of service principal. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly appId?: string; + /** Expiration time of service principal credentials. */ + credentialsExpireOn?: Date; } /** Resources created in user's repository for the source-control. */ export interface RepositoryResourceInfo { /** The webhook object created for the source-control. */ webhook?: Webhook; - /** Resources created in GitHub for this source-control. */ - gitHubResourceInfo?: GitHubResourceInfo; - /** Resources created in Azure DevOps for this source-control. */ - azureDevOpsResourceInfo?: AzureDevOpsResourceInfo; + /** + * Resources created in GitHub for this source-control. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly gitHubResourceInfo?: GitHubResourceInfo; + /** + * Resources created in Azure DevOps for this source-control. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly azureDevOpsResourceInfo?: AzureDevOpsResourceInfo; } /** Detail about the webhook object. */ export interface Webhook { - /** Unique identifier for the webhook. */ - webhookId?: string; - /** URL that gets invoked by the webhook. */ - webhookUrl?: string; - /** Time when the webhook secret was updated. */ - webhookSecretUpdateTime?: string; + /** + * Unique identifier for the webhook. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly webhookId?: string; + /** + * URL that gets invoked by the webhook. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly webhookUrl?: string; + /** + * Time when the webhook secret was updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly webhookSecretUpdateTime?: Date; /** A flag to instruct the backend service to rotate webhook secret. */ rotateWebhookSecret?: boolean; } @@ -1172,6 +1661,45 @@ export interface Deployment { deploymentLogsUrl?: string; } +/** Information regarding pull request for protected branches. */ +export interface PullRequest { + /** + * URL of pull request + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly url?: string; + /** + * State of the pull request + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: State; +} + +/** Warning response structure. */ +export interface Warning { + /** + * Warning data. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly warning?: WarningBody; +} + +/** Warning details. */ +export interface WarningBody { + /** + * An identifier for the warning. Codes are invariant and are intended to be consumed programmatically. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: WarningCode; + /** + * A message describing the warning, intended to be suitable for display in a user interface. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly details?: WarningBody[]; +} + /** Describes threat kill chain phase entity */ export interface ThreatIntelligenceKillChainPhase { /** Kill chainName name */ @@ -1266,7 +1794,7 @@ export interface ThreatIntelligenceSortingCriteria { /** Column name */ itemKey?: string; /** Sorting order (ascending/descending/unsorted). */ - sortOrder?: ThreatIntelligenceSortingCriteriaEnum; + sortOrder?: ThreatIntelligenceSortingOrder; } /** List of all the threat intelligence metric fields (type/threat type/source). */ @@ -1307,6 +1835,18 @@ export interface ThreatIntelligenceAppendTags { threatIntelligenceTags?: string[]; } +/** The triggered analytics rule run array */ +export interface TriggeredAnalyticsRuleRuns { + value: TriggeredAnalyticsRuleRun[]; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly nextLink?: string; +} + +/** Analytics Rule Run Trigger request */ +export interface AnalyticsRuleRunTrigger { + executionTimeUtc: Date; +} + /** List all the watchlists. */ export interface WatchlistList { /** @@ -1329,46 +1869,139 @@ export interface WatchlistItemList { value: WatchlistItem[]; } -/** List all the data connectors. */ -export interface DataConnectorList { +/** List of all the workspace manager assignments. */ +export interface WorkspaceManagerAssignmentList { /** - * URL to fetch the next set of data connectors. + * URL to fetch the next set of workspace manager assignments. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; - /** Array of data connectors. */ - value: DataConnectorUnion[]; + /** Array of workspace manager assignments. */ + value: WorkspaceManagerAssignment[]; } -/** Represents Codeless API Polling data connector. */ -export interface DataConnectorConnectBody { - /** The authentication kind used to poll the data */ - kind?: ConnectAuthKind; - /** The API key of the audit server. */ - apiKey?: string; - /** Used in v2 logs connector. Represents the data collection ingestion endpoint in log analytics. */ - dataCollectionEndpoint?: string; - /** Used in v2 logs connector. The data collection rule immutable id, the rule defines the transformation and data destination. */ - dataCollectionRuleImmutableId?: string; - /** Used in v2 logs connector. The stream we are sending the data to, this is the name of the streamDeclarations defined in the DCR. */ - outputStream?: string; - /** The client secret of the OAuth 2.0 application. */ - clientSecret?: string; - /** The client id of the OAuth 2.0 application. */ - clientId?: string; - /** The authorization code used in OAuth 2.0 code flow to issue a token. */ - authorizationCode?: string; - /** The user name in the audit log server. */ - userName?: string; - /** The user password in the audit log server. */ - password?: string; - requestConfigUserInputValues?: Record[]; +/** An entity describing a content item. */ +export interface AssignmentItem { + /** The resource id of the content item */ + resourceId?: string; } -/** Data connector requirements properties. */ -export interface DataConnectorsCheckRequirements { - /** Polymorphic discriminator, which specifies the different types this object can be */ - kind: +/** List of all the jobs */ +export interface JobList { + /** + * URL to fetch the next set of jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of jobs. */ + value: Job[]; +} + +/** An entity describing the publish status of a content item. */ +export interface JobItem { + /** The resource id of the content item */ + resourceId?: string; + /** + * Status of the item publication + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: Status; + /** + * The time the item publishing was completed + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly executionTime?: Date; + /** The list of error descriptions if the item publication fails. */ + errors?: ErrorModel[]; +} + +/** The error description for why a publication failed */ +export interface ErrorModel { + /** The member resource name for which the publication error occured */ + memberResourceName: string; + /** The error message */ + errorMessage: string; +} + +/** List all the workspace manager configurations for the workspace. */ +export interface WorkspaceManagerConfigurationList { + /** + * URL to fetch the next set of workspace manager configurations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of workspace manager configurations. */ + value: WorkspaceManagerConfiguration[]; +} + +/** List of all the workspace manager groups. */ +export interface WorkspaceManagerGroupList { + /** + * URL to fetch the next set of workspace manager groups. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of workspace manager groups. */ + value: WorkspaceManagerGroup[]; +} + +/** List of workspace manager members */ +export interface WorkspaceManagerMembersList { + /** + * URL to fetch the next set of workspace manager members + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of workspace manager members */ + value: WorkspaceManagerMember[]; +} + +/** Encapsulate the data connector definition object */ +export interface DataConnectorDefinitionArmCollectionWrapper { + value?: DataConnectorDefinitionUnion[]; + nextLink?: string; +} + +/** List all the data connectors. */ +export interface DataConnectorList { + /** + * URL to fetch the next set of data connectors. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; + /** Array of data connectors. */ + value: DataConnectorUnion[]; +} + +/** Represents Codeless API Polling data connector. */ +export interface DataConnectorConnectBody { + /** The authentication kind used to poll the data */ + kind?: ConnectAuthKind; + /** The API key of the audit server. */ + apiKey?: string; + /** Used in v2 logs connector. Represents the data collection ingestion endpoint in log analytics. */ + dataCollectionEndpoint?: string; + /** Used in v2 logs connector. The data collection rule immutable id, the rule defines the transformation and data destination. */ + dataCollectionRuleImmutableId?: string; + /** Used in v2 logs connector. The stream we are sending the data to, this is the name of the streamDeclarations defined in the DCR. */ + outputStream?: string; + /** The client secret of the OAuth 2.0 application. */ + clientSecret?: string; + /** The client id of the OAuth 2.0 application. */ + clientId?: string; + /** The authorization code used in OAuth 2.0 code flow to issue a token. */ + authorizationCode?: string; + /** The user name in the audit log server. */ + userName?: string; + /** The user password in the audit log server. */ + password?: string; + requestConfigUserInputValues?: Record[]; +} + +/** Data connector requirements properties. */ +export interface DataConnectorsCheckRequirements { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: | "AzureActiveDirectory" | "AzureAdvancedThreatProtection" | "AzureSecurityCenter" @@ -1381,6 +2014,7 @@ export interface DataConnectorsCheckRequirements { | "MicrosoftThreatProtection" | "OfficeATP" | "OfficeIRM" + | "MicrosoftPurviewInformationProtection" | "Office365Project" | "OfficePowerBI" | "ThreatIntelligence" @@ -1479,6 +2113,8 @@ export interface QueryBasedAlertRuleTemplateProperties { alertDetailsOverride?: AlertDetailsOverride; /** The event grouping settings. */ eventGroupingSettings?: EventGroupingSettings; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; } /** Single entity mapping for the alert rule */ @@ -1507,6 +2143,16 @@ export interface AlertDetailsOverride { alertTacticsColumnName?: string; /** the column name to take the alert severity from */ alertSeverityColumnName?: string; + /** List of additional dynamic properties to override */ + alertDynamicProperties?: AlertPropertyMapping[]; +} + +/** A single alert property mapping to override */ +export interface AlertPropertyMapping { + /** The V3 alert property */ + alertProperty?: AlertProperty; + /** the column name to use to override this property */ + value?: string; } /** Event grouping settings property bag. */ @@ -1515,6 +2161,12 @@ export interface EventGroupingSettings { aggregationKind?: EventGroupingAggregationKind; } +/** A single sentinel entity mapping */ +export interface SentinelEntityMapping { + /** the column name to be mapped to the SentinelEntities */ + columnName?: string; +} + /** Represents a supported source signal configuration in Fusion detection. */ export interface FusionSourceSettings { /** Determines whether this source signal is enabled or disabled in Fusion detection. */ @@ -1656,6 +2308,15 @@ export interface ScheduledAlertRuleCommonProperties { entityMappings?: EntityMapping[]; /** The alert details override settings */ alertDetailsOverride?: AlertDetailsOverride; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; +} + +export interface AddIncidentTaskActionProperties { + /** The title of the task. */ + title: string; + /** The description of the task. */ + description?: string; } export interface AutomationRuleBooleanCondition { @@ -1707,7 +2368,7 @@ export interface AutomationRulePropertyValuesCondition { export interface PlaybookActionProperties { /** The resource id of the playbook resource. */ - logicAppResourceId?: string; + logicAppResourceId: string; /** The tenant id of the playbook resource. */ tenantId?: string; } @@ -1806,6 +2467,18 @@ export interface DataTypeDefinitions { dataType?: string; } +/** Describes team properties */ +export interface TeamProperties { + /** The name of the team */ + teamName: string; + /** The description of the team */ + teamDescription?: string; + /** List of group IDs to add their members to the team */ + groupIds?: string[]; + /** List of member IDs to add to the team */ + memberIds?: string[]; +} + /** security ml analytics settings data sources */ export interface SecurityMLAnalyticsSettingsDataSource { /** The connector id that provides the following data types */ @@ -1814,6 +2487,182 @@ export interface SecurityMLAnalyticsSettingsDataSource { dataTypes?: string[]; } +/** The exposure status of the connector to the customers. */ +export interface ConnectorDefinitionsAvailability { + /** The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). */ + status?: number; + /** Gets or sets a value indicating whether the connector is preview. */ + isPreview?: boolean; +} + +/** + * The criteria by which we determine whether the connector is connected or not. + * For Example, use a KQL query to check if the expected data type is flowing). + */ +export interface ConnectivityCriterion { + /** Gets or sets the type of connectivity. */ + type: string; + /** Gets or sets the queries for checking connectivity. */ + value?: string[]; +} + +/** + * The data type which is created by the connector, + * including a query indicated when was the last time that data type was received in the workspace. + */ +export interface ConnectorDataType { + /** Gets or sets the name of the data type to show in the graph. */ + name: string; + /** Gets or sets the query to indicate when relevant data was last received in the workspace. */ + lastDataReceivedQuery: string; +} + +/** The UiConfig for 'Customizable' connector definition kind. */ +export interface CustomizableConnectorUiConfig { + /** Gets or sets custom connector id. optional field. */ + id?: string; + /** Gets or sets the connector blade title. */ + title: string; + /** Gets or sets the connector publisher name. */ + publisher: string; + /** Gets or sets the connector description in markdown format. */ + descriptionMarkdown: string; + /** + * Gets or sets the name of the table the connector will insert the data to. + * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + * in Query and LastDataReceivedQuery values. + */ + graphQueriesTableName?: string; + /** Gets or sets the graph queries to show the current data volume over time. */ + graphQueries: GraphQuery[]; + /** Gets or sets the sample queries for the connector. */ + sampleQueries: SampleQuery[]; + /** Gets or sets the data types to check for last data received. */ + dataTypes: ConnectorDataType[]; + /** Gets or sets the way the connector checks whether the connector is connected. */ + connectivityCriteria: ConnectivityCriterion[]; + /** The exposure status of the connector to the customers. */ + availability?: ConnectorDefinitionsAvailability; + /** The required Permissions for the connector. */ + permissions: ConnectorDefinitionsPermissions; + /** Gets or sets the instruction steps to enable the connector. */ + instructionSteps: InstructionStep[]; + /** + * Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + * The logo value should be in SVG format. + */ + logo?: string; + /** Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. */ + isConnectivityCriteriasMatchSome?: boolean; +} + +/** The graph query to show the volume of data arriving into the workspace over time. */ +export interface GraphQuery { + /** Gets or sets the metric name that the query is checking. For example: 'Total data receive'. */ + metricName: string; + /** Gets or sets the legend for the graph. */ + legend: string; + /** + * Gets or sets the base query for the graph. + * The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + */ + baseQuery: string; +} + +/** The sample queries for the connector. */ +export interface SampleQuery { + /** Gets or sets the sample query description. */ + description: string; + /** Gets or sets the KQL sample query. */ + query: string; +} + +/** The required Permissions for the connector. */ +export interface ConnectorDefinitionsPermissions { + /** Gets or sets the required tenant permissions for the connector. */ + tenant?: string[]; + /** Gets or sets the required licenses for the user to create connections. */ + licenses?: string[]; + /** Gets or sets the resource provider permissions required for the user to create connections. */ + resourceProvider?: ConnectorDefinitionsResourceProvider[]; + /** Gets or sets the customs permissions required for the user to create connections. */ + customs?: CustomPermissionDetails[]; +} + +/** + * The resource provider details include the required permissions for the user to create connections. + * The user should have the required permissions(Read\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + */ +export interface ConnectorDefinitionsResourceProvider { + /** Gets or sets the provider name. */ + provider: string; + /** Gets or sets the permissions description text. */ + permissionsDisplayText: string; + /** Gets or sets the permissions provider display name. */ + providerDisplayName: string; + /** The scope on which the user should have permissions, in order to be able to create connections. */ + scope: ProviderPermissionsScope; + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + requiredPermissions: ResourceProviderRequiredPermissions; +} + +/** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ +export interface ResourceProviderRequiredPermissions { + /** Gets or sets a value indicating whether the permission is read action (GET). */ + read?: boolean; + /** Gets or sets a value indicating whether the permission is write action (PUT or PATCH). */ + write?: boolean; + /** Gets or sets a value indicating whether the permission is delete action (DELETE). */ + delete?: boolean; + /** Gets or sets a value indicating whether the permission is custom actions (POST). */ + action?: boolean; +} + +/** The Custom permissions required for the connector. */ +export interface CustomPermissionDetails { + /** Gets or sets the custom permissions name. */ + name: string; + /** Gets or sets the custom permissions description. */ + description: string; +} + +/** Instruction steps to enable the connector. */ +export interface InstructionStep { + /** Gets or sets the instruction step title. */ + title?: string; + /** Gets or sets the instruction step description. */ + description?: string; + /** Gets or sets the instruction step details. */ + instructions?: InstructionStepDetails[]; + /** + * Gets or sets the inner instruction steps details. + * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + */ + innerSteps?: InstructionStep[]; +} + +/** Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. */ +export interface InstructionStepDetails { + /** Gets or sets the instruction type parameters settings. */ + parameters: Record; + /** Gets or sets the instruction type name. */ + type: string; +} + +/** The UiConfig for 'Customizable' connector definition kind. */ +export interface CustomizableConnectionsConfig { + /** Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. */ + templateSpecName: string; + /** Gets or sets the template version. */ + templateSpecVersion: string; +} + /** Properties data connector on tenant level. */ export interface DataConnectorTenantId { /** The tenant id to connect to, and get the data from. */ @@ -1840,16 +2689,22 @@ export interface DataConnectorDataTypeCommon { /** The available data types for Microsoft Threat Intelligence Platforms data connector. */ export interface MstiDataConnectorDataTypes { - /** Data type for Microsoft Threat Intelligence Platforms data connector. */ - bingSafetyPhishingURL: MstiDataConnectorDataTypesBingSafetyPhishingURL; /** Data type for Microsoft Threat Intelligence Platforms data connector. */ microsoftEmergingThreatFeed: MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed; } /** The available data types for Microsoft Threat Protection Platforms data connector. */ export interface MTPDataConnectorDataTypes { - /** Data type for Microsoft Threat Protection Platforms data connector. */ + /** Incidents data type for Microsoft Threat Protection Platforms data connector. */ incidents: MTPDataConnectorDataTypesIncidents; + /** Alerts data type for Microsoft Threat Protection Platforms data connector. */ + alerts?: MTPDataConnectorDataTypesAlerts; +} + +/** Represents the connector's Filtered providers */ +export interface MtpFilteredProviders { + /** Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ + alerts: MtpProvider[]; } /** The available data types for Amazon Web Services CloudTrail data connector. */ @@ -1864,12 +2719,46 @@ export interface AwsS3DataConnectorDataTypes { logs: AwsS3DataConnectorDataTypesLogs; } +/** Google Cloud Platform auth section properties. */ +export interface GCPAuthProperties { + /** The service account that is used to access the GCP project. */ + serviceAccountEmail: string; + /** The GCP project number. */ + projectNumber: string; + /** The workload identity provider id that is used to gain access to the GCP project. */ + workloadIdentityProviderId: string; +} + +/** Google Cloud Platform request section properties. */ +export interface GCPRequestProperties { + /** The GCP project id. */ + projectId: string; + /** The GCP pub/sub subscription names. */ + subscriptionNames: string[]; +} + +/** The configuration of the destination of the data. */ +export interface DCRConfiguration { + /** Represents the data collection ingestion endpoint in log analytics. */ + dataCollectionEndpoint: string; + /** The data collection rule immutable id, the rule defines the transformation and data destination. */ + dataCollectionRuleImmutableId: string; + /** The stream we are sending the data to. */ + streamName: string; +} + /** The available data types for Dynamics365 data connector. */ export interface Dynamics365DataConnectorDataTypes { /** Common Data Service data type connection. */ dynamics365CdsActivities: Dynamics365DataConnectorDataTypesDynamics365CdsActivities; } +/** The available data types for Microsoft Purview Information Protection data connector. */ +export interface MicrosoftPurviewInformationProtectionConnectorDataTypes { + /** Logs data type. */ + logs: MicrosoftPurviewInformationProtectionConnectorDataTypesLogs; +} + /** The available data types for Office Microsoft Project data connector. */ export interface Office365ProjectConnectorDataTypes { /** Logs data type. */ @@ -2197,12 +3086,12 @@ export interface GeoLocation { */ readonly countryName?: string; /** - * The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West. Latitude and longitude are derived from the city or postal code. + * The latitude of the identified location, expressed as a floating point number with range of - 90 to 90. Latitude and longitude are derived from the city or postal code. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly latitude?: number; /** - * The latitude of the identified location, expressed as a floating point number with range of - 90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code. + * The longitude of the identified location, expressed as a floating point number with range of -180 to 180. Latitude and longitude are derived from the city or postal code. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly longitude?: number; @@ -2225,10 +3114,19 @@ export interface AlertRuleTemplate extends Resource { kind: AlertRuleKind; } +/** The resource model definition for an Azure Resource Manager resource with an etag. */ +export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly etag?: string; +} + /** Specific entity. */ export interface Entity extends Resource { /** The kind of the entity. */ - kind: EntityKind; + kind: EntityKindEnum; } /** Specific entity query template. */ @@ -2352,6 +3250,14 @@ export interface PropertyConditionProperties extends AutomationRuleCondition { conditionProperties?: AutomationRulePropertyValuesCondition; } +/** Describes an automation rule action to add a task to an incident */ +export interface AutomationRuleAddIncidentTaskAction + extends AutomationRuleAction { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "AddIncidentTask"; + actionConfiguration?: AddIncidentTaskActionProperties; +} + /** Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesAction extends AutomationRuleAction { @@ -2367,6 +3273,24 @@ export interface AutomationRuleRunPlaybookAction extends AutomationRuleAction { actionConfiguration?: PlaybookActionProperties; } +/** Describes package properties */ +export interface PackageProperties extends PackageBaseProperties {} + +/** Describes package properties */ +export interface ProductPackageProperties + extends PackageBaseProperties, + ProductPackageAdditionalProperties {} + +/** Template property bag. */ +export interface ProductTemplateProperties + extends TemplateBaseProperties, + ProductTemplateAdditionalProperties {} + +/** Template property bag. */ +export interface TemplateProperties + extends TemplateBaseProperties, + TemplateAdditionalProperties {} + /** Represents Activity timeline item. */ export interface ActivityTimelineItem extends EntityTimelineItem { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2459,6 +3383,13 @@ export interface SecurityAlertTimelineItem extends EntityTimelineItem { timeGenerated: Date; /** The name of the alert type. */ alertType: string; + /** + * The intent of the alert. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly intent?: KillChainIntent; + /** The techniques of the alert. */ + techniques?: string[]; } /** Represents Insight Query. */ @@ -3465,7 +4396,7 @@ export interface NicEntityProperties extends EntityCommonProperties { readonly vlans?: string[]; } -/** Represents AAD (Azure Active Directory) requirements check request. */ +/** Represents AADIP (Azure Active Directory Identity Protection) requirements check request. */ export interface AADCheckRequirements extends DataConnectorsCheckRequirements { /** Polymorphic discriminator, which specifies the different types this object can be */ kind: "AzureActiveDirectory"; @@ -3563,6 +4494,15 @@ export interface OfficeIRMCheckRequirements tenantId?: string; } +/** Represents MicrosoftPurviewInformationProtection requirements check request. */ +export interface MicrosoftPurviewInformationProtectionCheckRequirements + extends DataConnectorsCheckRequirements { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "MicrosoftPurviewInformationProtection"; + /** The tenant id to connect to, and get the data from. */ + tenantId?: string; +} + /** Represents Office365 Project requirements check request. */ export interface Office365ProjectCheckRequirements extends DataConnectorsCheckRequirements { @@ -3677,6 +4617,8 @@ export interface ScheduledAlertRuleProperties tactics?: AttackTactic[]; /** The techniques of the alert rule */ techniques?: string[]; + /** The sub-techniques of the alert rule */ + subTechniques?: string[]; /** The settings of the incidents that created from alerts triggered by this analytics rule */ incidentConfiguration?: IncidentConfiguration; } @@ -3701,7 +4643,7 @@ export interface InsightQueryItemProperties extends EntityQueryItemProperties { referenceTimeRange?: InsightQueryItemPropertiesReferenceTimeRange; } -/** AAD (Azure Active Directory) requirements check properties. */ +/** AADIP (Azure Active Directory Identity Protection) requirements check properties. */ export interface AADCheckRequirementsProperties extends DataConnectorTenantId {} /** AATP (Azure Advanced Threat Protection) requirements check properties. */ @@ -3735,6 +4677,10 @@ export interface OfficeATPCheckRequirementsProperties export interface OfficeIRMCheckRequirementsProperties extends DataConnectorTenantId {} +/** MicrosoftPurviewInformationProtection requirements check properties. */ +export interface MicrosoftPurviewInformationProtectionCheckRequirementsProperties + extends DataConnectorTenantId {} + /** Office365 Project requirements check properties. */ export interface Office365ProjectCheckRequirementsProperties extends DataConnectorTenantId {} @@ -3750,7 +4696,7 @@ export interface TICheckRequirementsProperties extends DataConnectorTenantId {} export interface TiTaxiiCheckRequirementsProperties extends DataConnectorTenantId {} -/** AAD (Azure Active Directory) data connector properties. */ +/** AADIP (Azure Active Directory Identity Protection) data connector properties. */ export interface AADDataConnectorProperties extends DataConnectorTenantId, DataConnectorWithAlertsProperties {} @@ -3765,6 +4711,8 @@ export interface MstiDataConnectorProperties extends DataConnectorTenantId { export interface MTPDataConnectorProperties extends DataConnectorTenantId { /** The available data types for the connector. */ dataTypes: MTPDataConnectorDataTypes; + /** The available filtered providers for the connector. */ + filteredProviders?: MtpFilteredProviders; } /** AATP (Azure Advanced Threat Protection) data connector properties. */ @@ -3790,6 +4738,13 @@ export interface OfficeATPDataConnectorProperties extends DataConnectorTenantId, DataConnectorWithAlertsProperties {} +/** Microsoft Purview Information Protection data connector properties. */ +export interface MicrosoftPurviewInformationProtectionDataConnectorProperties + extends DataConnectorTenantId { + /** The available data types for the connector. */ + dataTypes: MicrosoftPurviewInformationProtectionConnectorDataTypes; +} + /** Office Microsoft Project data connector properties. */ export interface Office365ProjectDataConnectorProperties extends DataConnectorTenantId { @@ -3871,24 +4826,21 @@ export interface McasDataConnectorDataTypes discoveryLogs?: DataConnectorDataTypeCommon; } -/** Data type for Microsoft Threat Intelligence Platforms data connector. */ -export interface MstiDataConnectorDataTypesBingSafetyPhishingURL - extends DataConnectorDataTypeCommon { - /** lookback period */ - lookbackPeriod: string; -} - /** Data type for Microsoft Threat Intelligence Platforms data connector. */ export interface MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed extends DataConnectorDataTypeCommon { - /** lookback period */ + /** The lookback period for the feed to be imported. */ lookbackPeriod: string; } -/** Data type for Microsoft Threat Protection Platforms data connector. */ +/** Incidents data type for Microsoft Threat Protection Platforms data connector. */ export interface MTPDataConnectorDataTypesIncidents extends DataConnectorDataTypeCommon {} +/** Alerts data type for Microsoft Threat Protection Platforms data connector. */ +export interface MTPDataConnectorDataTypesAlerts + extends DataConnectorDataTypeCommon {} + /** Logs data type. */ export interface AwsCloudTrailDataConnectorDataTypesLogs extends DataConnectorDataTypeCommon {} @@ -3901,6 +4853,10 @@ export interface AwsS3DataConnectorDataTypesLogs export interface Dynamics365DataConnectorDataTypesDynamics365CdsActivities extends DataConnectorDataTypeCommon {} +/** Logs data type. */ +export interface MicrosoftPurviewInformationProtectionConnectorDataTypesLogs + extends DataConnectorDataTypeCommon {} + /** Logs data type. */ export interface Office365ProjectConnectorDataTypesLogs extends DataConnectorDataTypeCommon {} @@ -4062,56 +5018,317 @@ export interface Relation extends ResourceWithEtag { readonly relatedResourceKind?: string; } -/** Specific entity query. */ -export interface EntityQuery extends ResourceWithEtag { - /** the entity query kind */ - kind: EntityQueryKind; +/** Represents a Package in Azure Security Insights. */ +export interface PackageModel extends ResourceWithEtag { + /** The content id of the package */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package */ + contentProductId?: string; + /** The package kind */ + contentKind?: PackageKind; + /** The version of the content schema. */ + contentSchemaVersion?: string; + /** Flag indicates if this is a newly published package. */ + isNew?: Flag; + /** Flag indicates if this package is in preview. */ + isPreview?: Flag; + /** Flag indicates if this package is among the featured list. */ + isFeatured?: Flag; + /** Flag indicates if this template is deprecated */ + isDeprecated?: Flag; + /** the latest version number of the package */ + version?: string; + /** The display name of the package */ + displayName?: string; + /** The description of the package */ + description?: string; + /** The publisher display name of the package */ + publisherDisplayName?: string; + /** The source of the package */ + source?: MetadataSource; + /** The author of the package */ + author?: MetadataAuthor; + /** The support tier of the package */ + support?: MetadataSupport; + /** The support tier of the package */ + dependencies?: MetadataDependencies; + /** Providers for the package item */ + providers?: string[]; + /** first publish date package item */ + firstPublishDate?: Date; + /** last publish date for the package item */ + lastPublishDate?: Date; + /** The categories of the package */ + categories?: MetadataCategories; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; } -/** Specific entity query that supports put requests. */ -export interface CustomEntityQuery extends ResourceWithEtag { - /** the entity query kind */ - kind: CustomEntityQueryKind; +/** Represents a Package in Azure Security Insights. */ +export interface ProductPackageModel extends ResourceWithEtag { + /** The content id of the package */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package */ + contentProductId?: string; + /** The package kind */ + contentKind?: PackageKind; + /** The version of the content schema. */ + contentSchemaVersion?: string; + /** Flag indicates if this is a newly published package. */ + isNew?: Flag; + /** Flag indicates if this package is in preview. */ + isPreview?: Flag; + /** Flag indicates if this package is among the featured list. */ + isFeatured?: Flag; + /** Flag indicates if this template is deprecated */ + isDeprecated?: Flag; + /** the latest version number of the package */ + version?: string; + /** The display name of the package */ + displayName?: string; + /** The description of the package */ + description?: string; + /** The publisher display name of the package */ + publisherDisplayName?: string; + /** The source of the package */ + source?: MetadataSource; + /** The author of the package */ + author?: MetadataAuthor; + /** The support tier of the package */ + support?: MetadataSupport; + /** The support tier of the package */ + dependencies?: MetadataDependencies; + /** Providers for the package item */ + providers?: string[]; + /** first publish date package item */ + firstPublishDate?: Date; + /** last publish date for the package item */ + lastPublishDate?: Date; + /** The categories of the package */ + categories?: MetadataCategories; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; + /** The version of the installed package, null or absent means not installed. */ + installedVersion?: string; + /** The metadata resource id. */ + metadataResourceId?: string; + /** The json of the ARM template to deploy. Expandable. */ + packagedContent?: Record; } -/** Represents an incident in Azure Security Insights. */ -export interface Incident extends ResourceWithEtag { - /** - * Additional data on the incident - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly additionalData?: IncidentAdditionalData; - /** The reason the incident was closed */ - classification?: IncidentClassification; - /** Describes the reason the incident was closed */ - classificationComment?: string; - /** The classification reason the incident was closed with */ - classificationReason?: IncidentClassificationReason; +/** Template resource definition. */ +export interface ProductTemplateModel extends ResourceWithEtag { + /** Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template */ + contentProductId?: string; + /** Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + packageVersion?: string; + /** Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + version?: string; + /** The display name of the template */ + displayName?: string; + /** The kind of content the template is for. */ + contentKind?: Kind; + /** Source of the content. This is where/how it was created. */ + source?: MetadataSource; + /** The creator of the content item. */ + author?: MetadataAuthor; + /** Support information for the template - type, name, contact information */ + support?: MetadataSupport; + /** Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. */ + dependencies?: MetadataDependencies; + /** Categories for the item */ + categories?: MetadataCategories; + /** Providers for the content item */ + providers?: string[]; + /** first publish date content item */ + firstPublishDate?: Date; + /** last publish date for the content item */ + lastPublishDate?: Date; + /** The custom version of the content. A optional free text */ + customVersion?: string; + /** Schema version of the content. Can be used to distinguish between different flow based on the schema version */ + contentSchemaVersion?: string; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** preview image file names. These will be taken from the solution artifacts */ + previewImages?: string[]; + /** preview image file names. These will be taken from the solution artifacts. used for dark theme support */ + previewImagesDark?: string[]; + /** the package Id contains this template */ + packageId?: string; + /** the packageKind of the package contains this template */ + packageKind?: PackageKind; + /** the name of the package contains this template */ + packageName?: string; /** - * The time the incident was created + * Flag indicates if this template is deprecated * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdTimeUtc?: Date; - /** The description of the incident */ + readonly isDeprecated?: Flag; + /** The json of the ARM template to deploy */ + packagedContent?: Record; +} + +/** Template resource definition. */ +export interface TemplateModel extends ResourceWithEtag { + /** Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name */ + contentId?: string; + /** Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template */ + contentProductId?: string; + /** Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + packageVersion?: string; + /** Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks */ + version?: string; + /** The display name of the template */ + displayName?: string; + /** The kind of content the template is for. */ + contentKind?: Kind; + /** Source of the content. This is where/how it was created. */ + source?: MetadataSource; + /** The creator of the content item. */ + author?: MetadataAuthor; + /** Support information for the template - type, name, contact information */ + support?: MetadataSupport; + /** Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. */ + dependencies?: MetadataDependencies; + /** Categories for the item */ + categories?: MetadataCategories; + /** Providers for the content item */ + providers?: string[]; + /** first publish date content item */ + firstPublishDate?: Date; + /** last publish date for the content item */ + lastPublishDate?: Date; + /** The custom version of the content. A optional free text */ + customVersion?: string; + /** Schema version of the content. Can be used to distinguish between different flow based on the schema version */ + contentSchemaVersion?: string; + /** the icon identifier. this id can later be fetched from the content metadata */ + icon?: string; + /** the tactics the resource covers */ + threatAnalysisTactics?: string[]; + /** the techniques the resource covers, these have to be aligned with the tactics being used */ + threatAnalysisTechniques?: string[]; + /** preview image file names. These will be taken from the solution artifacts */ + previewImages?: string[]; + /** preview image file names. These will be taken from the solution artifacts. used for dark theme support */ + previewImagesDark?: string[]; + /** the package Id contains this template */ + packageId?: string; + /** the packageKind of the package contains this template */ + packageKind?: PackageKind; + /** the name of the package contains this template */ + packageName?: string; + /** + * Flag indicates if this template is deprecated + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDeprecated?: Flag; + /** The JSON of the ARM template to deploy active content. Expandable. */ + mainTemplate?: Record; + /** + * Dependant templates. Expandable. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dependantTemplates?: TemplateProperties[]; +} + +/** Specific entity query. */ +export interface EntityQuery extends ResourceWithEtag { + /** the entity query kind */ + kind: EntityQueryKind; +} + +/** Specific entity query that supports put requests. */ +export interface CustomEntityQuery extends ResourceWithEtag { + /** the entity query kind */ + kind: CustomEntityQueryKind; +} + +/** Represents a Hunt in Azure Security Insights. */ +export interface Hunt extends ResourceWithEtag { + /** The display name of the hunt */ + displayName?: string; + /** The description of the hunt */ description?: string; - /** The time of the first activity in the incident */ - firstActivityTimeUtc?: Date; + /** The status of the hunt. */ + status?: Status; + /** The hypothesis status of the hunt. */ + hypothesisStatus?: HypothesisStatus; + /** A list of mitre attack tactics the hunt is associated with */ + attackTactics?: AttackTactic[]; + /** A list of a mitre attack techniques the hunt is associated with */ + attackTechniques?: string[]; + /** List of labels relevant to this hunt */ + labels?: string[]; + /** Describes a user that the hunt is assigned to */ + owner?: HuntOwner; +} + +/** Represents a Hunt Relation in Azure Security Insights. */ +export interface HuntRelation extends ResourceWithEtag { + /** The id of the related resource */ + relatedResourceId?: string; /** - * The deep-link url to the incident in Azure portal + * The name of the related resource * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly incidentUrl?: string; + readonly relatedResourceName?: string; /** - * A sequential number + * The type of the hunt relation * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly incidentNumber?: number; + readonly relationType?: string; + /** + * The resource that the relation is related to + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly relatedResourceKind?: string; + /** List of labels relevant to this hunt */ + labels?: string[]; +} + +/** Represents a Hunt Comment in Azure Security Insights */ +export interface HuntComment extends ResourceWithEtag { + /** The message for the comment */ + message?: string; +} + +export interface Incident extends ResourceWithEtag { + /** The title of the incident */ + title?: string; + /** The description of the incident */ + description?: string; + /** The severity of the incident */ + severity?: IncidentSeverity; + /** The status of the incident */ + status?: IncidentStatus; + /** The reason the incident was closed */ + classification?: IncidentClassification; + /** The classification reason the incident was closed with */ + classificationReason?: IncidentClassificationReason; + /** Describes the reason the incident was closed */ + classificationComment?: string; + /** Describes a user that the incident is assigned to */ + owner?: IncidentOwnerInfo; /** List of labels relevant to this incident */ labels?: IncidentLabel[]; - /** The name of the source provider that generated the incident */ - providerName?: string; - /** The incident ID assigned by the incident provider */ - providerIncidentId?: string; + /** The time of the first activity in the incident */ + firstActivityTimeUtc?: Date; /** The time of the last activity in the incident */ lastActivityTimeUtc?: Date; /** @@ -4119,25 +5336,49 @@ export interface Incident extends ResourceWithEtag { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastModifiedTimeUtc?: Date; - /** Describes a user that the incident is assigned to */ - owner?: IncidentOwnerInfo; + /** + * The time the incident was created + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdTimeUtc?: Date; + /** + * A sequential number + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly incidentNumber?: number; + /** + * Additional data on the incident + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalData?: IncidentAdditionalData; /** * List of resource ids of Analytic rules related to the incident * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly relatedAnalyticRuleIds?: string[]; - /** The severity of the incident */ - severity?: IncidentSeverity; - /** The status of the incident */ - status?: IncidentStatus; + /** + * The deep-link url to the incident in Azure portal + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly incidentUrl?: string; + /** + * The name of the source provider that generated the incident + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly providerName?: string; + /** + * The incident ID assigned by the incident provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly providerIncidentId?: string; /** Describes a team for the incident */ teamInformation?: TeamInformation; - /** The title of the incident */ - title?: string; } /** Represents an incident comment */ export interface IncidentComment extends ResourceWithEtag { + /** The comment message */ + message?: string; /** * The time the comment was created * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4148,8 +5389,6 @@ export interface IncidentComment extends ResourceWithEtag { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastModifiedTimeUtc?: Date; - /** The comment message */ - message?: string; /** * Describes the client that created the comment * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4157,6 +5396,28 @@ export interface IncidentComment extends ResourceWithEtag { readonly author?: ClientInfo; } +export interface IncidentTask extends ResourceWithEtag { + /** The title of the task */ + title: string; + /** The description of the task */ + description?: string; + status: IncidentTaskStatus; + /** + * The time the task was created + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdTimeUtc?: Date; + /** + * The last time the task was updated + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastModifiedTimeUtc?: Date; + /** Information on the client (user or application) that made some action */ + createdBy?: ClientInfo; + /** Information on the client (user or application) that made some action */ + lastModifiedBy?: ClientInfo; +} + /** Metadata resource definition. */ export interface MetadataModel extends ResourceWithEtag { /** Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name */ @@ -4166,7 +5427,7 @@ export interface MetadataModel extends ResourceWithEtag { /** Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks */ version?: string; /** The kind of content the metadata is for. */ - kind?: Kind; + kind?: string; /** Source of the content. This is where/how it was created. */ source?: MetadataSource; /** The creator of the content item. */ @@ -4208,7 +5469,7 @@ export interface MetadataPatch extends ResourceWithEtag { /** Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks */ version?: string; /** The kind of content the metadata is for. */ - kind?: Kind; + kind?: string; /** Source of the content. This is where/how it was created. */ source?: MetadataSource; /** The creator of the content item. */ @@ -4261,30 +5522,59 @@ export interface Settings extends ResourceWithEtag { /** Represents a SourceControl in Azure Security Insights. */ export interface SourceControl extends ResourceWithEtag { - /** The id (a Guid) of the source control */ - idPropertiesId?: string; - /** The version number associated with the source control */ - version?: Version; + /** + * The id (a Guid) of the source control + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly idPropertiesId?: string; + /** + * The version number associated with the source control + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: Version; /** The display name of the source control */ - displayName?: string; + displayName: string; /** A description of the source control */ description?: string; /** The repository type of the source control */ - repoType?: RepoType; + repoType: RepoType; /** Array of source control content types. */ - contentTypes?: ContentType[]; + contentTypes: ContentType[]; /** Repository metadata. */ - repository?: Repository; + repository: Repository; + /** Service principal metadata. */ + servicePrincipal?: ServicePrincipal; + /** Repository access credentials. This is write-only object and it never returns back to a user. */ + repositoryAccess?: RepositoryAccess; /** Information regarding the resources created in user's repository. */ repositoryResourceInfo?: RepositoryResourceInfo; - /** Information regarding the latest deployment for the source control. */ - lastDeploymentInfo?: DeploymentInfo; + /** + * Information regarding the latest deployment for the source control. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastDeploymentInfo?: DeploymentInfo; + /** + * Information regarding the pull request of the source control. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly pullRequest?: PullRequest; } /** Threat intelligence information object. */ export interface ThreatIntelligenceInformation extends ResourceWithEtag { /** The kind of the entity. */ - kind: ThreatIntelligenceResourceKindEnum; + kind: ThreatIntelligenceResourceInnerKind; +} + +/** The triggered analytics rule run */ +export interface TriggeredAnalyticsRuleRun extends ResourceWithEtag { + executionTimeUtc: Date; + ruleId: string; + triggeredAnalyticsRuleRunId: string; + /** The triggered analytics rule run provisioning state */ + provisioningState: ProvisioningState; + /** Dictionary of */ + ruleRunAdditionalData?: { [propertyName: string]: any }; } /** Represents a Watchlist in Azure Security Insights. */ @@ -4357,6 +5647,41 @@ export interface WatchlistItem extends ResourceWithEtag { entityMapping?: { [propertyName: string]: any }; } +/** The assignment job */ +export interface Job extends ResourceWithEtag { + /** + * The time the job completed + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endTime?: Date; + /** List of items published by the job */ + items?: JobItem[]; + /** + * State of the job + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** + * The time the job started + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * Message to describe error, if an error exists + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errorMessage?: string; +} + +/** + * An Azure resource, which encapsulate the entire info requires to display a data connector page in Azure portal, + * and the info required to define data connections. + */ +export interface DataConnectorDefinition extends ResourceWithEtag { + /** The data connector kind */ + kind: DataConnectorDefinitionKind; +} + /** Data connector */ export interface DataConnector extends ResourceWithEtag { /** The data connector kind */ @@ -4426,6 +5751,8 @@ export interface FusionAlertRuleTemplate extends AlertRuleTemplate { tactics?: AttackTactic[]; /** The techniques of the alert rule */ techniques?: string[]; + /** The sub-techniques of the alert rule */ + subTechniques?: string[]; /** All supported source signal configurations consumed in fusion detection. */ sourceSettings?: FusionTemplateSourceSetting[]; } @@ -4537,6 +5864,8 @@ export interface ScheduledAlertRuleTemplate extends AlertRuleTemplate { tactics?: AttackTactic[]; /** The techniques of the alert rule */ techniques?: string[]; + /** The sub-techniques of the alert rule */ + subTechniques?: string[]; /** The version of this template - in format , where all are numbers. For example <1.0.2>. */ version?: string; /** The event grouping settings. */ @@ -4547,6 +5876,8 @@ export interface ScheduledAlertRuleTemplate extends AlertRuleTemplate { entityMappings?: EntityMapping[]; /** The alert details override settings */ alertDetailsOverride?: AlertDetailsOverride; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; } /** Represents NRT alert rule template. */ @@ -4591,6 +5922,56 @@ export interface NrtAlertRuleTemplate extends AlertRuleTemplate { alertDetailsOverride?: AlertDetailsOverride; /** The event grouping settings. */ eventGroupingSettings?: EventGroupingSettings; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; +} + +/** Billing statistic */ +export interface BillingStatistic extends AzureEntityResource { + /** The kind of the billing statistic */ + kind: BillingStatisticKind; +} + +/** The workspace manager assignment */ +export interface WorkspaceManagerAssignment extends AzureEntityResource { + /** The resource name of the workspace manager group targeted by the workspace manager assignment */ + targetResourceName?: string; + /** + * The time the last job associated to this assignment ended at + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastJobEndTime?: Date; + /** + * State of the last job associated to this assignment + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastJobProvisioningState?: ProvisioningState; + /** List of resources included in this workspace manager assignment */ + items?: AssignmentItem[]; +} + +/** The workspace manager configuration */ +export interface WorkspaceManagerConfiguration extends AzureEntityResource { + /** The current mode of the workspace manager configuration */ + mode?: Mode; +} + +/** The workspace manager group */ +export interface WorkspaceManagerGroup extends AzureEntityResource { + /** The description of the workspace manager group */ + description?: string; + /** The display name of the workspace manager group */ + displayName?: string; + /** The names of the workspace manager members participating in this group. */ + memberResourceNames?: string[]; +} + +/** The workspace manager member */ +export interface WorkspaceManagerMember extends AzureEntityResource { + /** Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ + targetWorkspaceResourceId?: string; + /** Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ + targetWorkspaceTenantId?: string; } /** Represents a security alert entity. */ @@ -4601,7 +5982,7 @@ export interface SecurityAlert extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4739,7 +6120,7 @@ export interface HuntingBookmark extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4777,7 +6158,7 @@ export interface AccountEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4853,7 +6234,7 @@ export interface AzureResourceEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4879,7 +6260,7 @@ export interface CloudApplicationEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4910,7 +6291,7 @@ export interface DnsEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4946,7 +6327,7 @@ export interface FileEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4982,7 +6363,7 @@ export interface FileHashEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5008,7 +6389,7 @@ export interface HostEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5066,7 +6447,7 @@ export interface IoTDeviceEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5219,7 +6600,7 @@ export interface IpEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5250,7 +6631,7 @@ export interface MailboxEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5286,7 +6667,7 @@ export interface MailClusterEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5377,7 +6758,7 @@ export interface MailMessageEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5494,7 +6875,7 @@ export interface MalwareEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5530,7 +6911,7 @@ export interface ProcessEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5588,7 +6969,7 @@ export interface RegistryKeyEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5614,7 +6995,7 @@ export interface RegistryValueEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5650,7 +7031,7 @@ export interface SecurityGroupEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5681,7 +7062,7 @@ export interface SubmissionMailEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5747,7 +7128,7 @@ export interface UrlEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5768,7 +7149,7 @@ export interface NicEntity extends Entity { * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5867,6 +7248,11 @@ export interface MLBehaviorAnalyticsAlertRule extends AlertRule { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly techniques?: string[]; + /** + * The sub-techniques of the alert rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subTechniques?: string[]; } /** Represents Fusion alert rule. */ @@ -5911,6 +7297,11 @@ export interface FusionAlertRule extends AlertRule { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly techniques?: string[]; + /** + * The sub-techniques of the alert rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subTechniques?: string[]; } /** Represents Threat Intelligence alert rule. */ @@ -5951,6 +7342,11 @@ export interface ThreatIntelligenceAlertRule extends AlertRule { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly techniques?: string[]; + /** + * The sub-techniques of the alert rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subTechniques?: string[]; } /** Represents MicrosoftSecurityIncidentCreation rule. */ @@ -6004,6 +7400,8 @@ export interface ScheduledAlertRule extends AlertRule { entityMappings?: EntityMapping[]; /** The alert details override settings */ alertDetailsOverride?: AlertDetailsOverride; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; /** The Name of the alert rule template used to create this rule. */ alertRuleTemplateName?: string; /** The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> */ @@ -6027,6 +7425,8 @@ export interface ScheduledAlertRule extends AlertRule { tactics?: AttackTactic[]; /** The techniques of the alert rule */ techniques?: string[]; + /** The sub-techniques of the alert rule */ + subTechniques?: string[]; /** The settings of the incidents that created from alerts triggered by this analytics rule */ incidentConfiguration?: IncidentConfiguration; } @@ -6047,6 +7447,8 @@ export interface NrtAlertRule extends AlertRule { tactics?: AttackTactic[]; /** The techniques of the alert rule */ techniques?: string[]; + /** The sub-techniques of the alert rule */ + subTechniques?: string[]; /** The display name for alerts created by this alert rule. */ displayName?: string; /** Determines whether this alert rule is enabled or disabled. */ @@ -6072,6 +7474,8 @@ export interface NrtAlertRule extends AlertRule { alertDetailsOverride?: AlertDetailsOverride; /** The event grouping settings. */ eventGroupingSettings?: EventGroupingSettings; + /** Array of the sentinel entity mappings of the alert rule */ + sentinelEntitiesMappings?: SentinelEntityMapping[]; } /** Represents Expansion entity query. */ @@ -6245,7 +7649,7 @@ export interface ThreatIntelligenceIndicatorModel * A bag of custom fields that should be part of the entity and will be presented to the user. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalData?: { [propertyName: string]: Record }; + readonly additionalData?: { [propertyName: string]: any }; /** * The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6309,7 +7713,22 @@ export interface ThreatIntelligenceIndicatorModel extensions?: { [propertyName: string]: any }; } -/** Represents AAD (Azure Active Directory) data connector. */ +/** Connector definition for kind 'Customizable'. */ +export interface CustomizableConnectorDefinition + extends DataConnectorDefinition { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Customizable"; + /** Gets or sets the connector definition created date in UTC format. */ + createdTimeUtc?: Date; + /** Gets or sets the connector definition last modified date in UTC format. */ + lastModifiedUtc?: Date; + /** The UiConfig for 'Customizable' connector definition kind. */ + connectorUiConfig?: CustomizableConnectorUiConfig; + /** The UiConfig for 'Customizable' connector definition kind. */ + connectionsConfig?: CustomizableConnectionsConfig; +} + +/** Represents AADIP (Azure Active Directory Identity Protection) data connector. */ export interface AADDataConnector extends DataConnector { /** Polymorphic discriminator, which specifies the different types this object can be */ kind: "AzureActiveDirectory"; @@ -6337,6 +7756,8 @@ export interface MTPDataConnector extends DataConnector { tenantId?: string; /** The available data types for the connector. */ dataTypes?: MTPDataConnectorDataTypes; + /** The available filtered providers for the connector. */ + filteredProviders?: MtpFilteredProviders; } /** Represents AATP (Azure Advanced Threat Protection) data connector. */ @@ -6383,6 +7804,20 @@ export interface AwsS3DataConnector extends DataConnector { dataTypes?: AwsS3DataConnectorDataTypes; } +/** Represents Google Cloud Platform data connector. */ +export interface GCPDataConnector extends DataConnector { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "GCP"; + /** The name of the connector definition that represents the UI config. */ + connectorDefinitionName?: string; + /** The auth section of the connector. */ + auth?: GCPAuthProperties; + /** The request section of the connector. */ + request?: GCPRequestProperties; + /** The configuration of the destination of the data. */ + dcrConfig?: DCRConfiguration; +} + /** Represents MCAS (Microsoft Cloud App Security) data connector. */ export interface McasDataConnector extends DataConnector { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6413,6 +7848,17 @@ export interface OfficeATPDataConnector extends DataConnector { dataTypes?: AlertsDataTypeOfDataConnector; } +/** Represents Microsoft Purview Information Protection data connector. */ +export interface MicrosoftPurviewInformationProtectionDataConnector + extends DataConnector { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "MicrosoftPurviewInformationProtection"; + /** The tenant id to connect to, and get the data from. */ + tenantId?: string; + /** The available data types for the connector. */ + dataTypes?: MicrosoftPurviewInformationProtectionConnectorDataTypes; +} + /** Represents Office Microsoft Project data connector. */ export interface Office365ProjectDataConnector extends DataConnector { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6529,6 +7975,22 @@ export interface CodelessApiPollingDataConnector extends DataConnector { pollingConfig?: CodelessConnectorPollingConfigProperties; } +/** Billing statistic about the Microsoft Sentinel solution for SAP Usage */ +export interface SapSolutionUsageStatistic extends BillingStatistic { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "SapSolutionUsage"; + /** + * The latest count of active SAP system IDs under the Microsoft Sentinel solution for SAP Usage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly activeSystemIdCount?: number; +} + +/** Defines headers for AlertRule_triggerRuleRun operation. */ +export interface AlertRuleTriggerRuleRunHeaders { + location?: string; +} + /** Defines headers for Watchlists_delete operation. */ export interface WatchlistsDeleteHeaders { /** Contains the status URL on which clients are expected to poll the status of the delete operation. */ @@ -6554,7 +8016,7 @@ export enum KnownAlertRuleKind { /** ThreatIntelligence */ ThreatIntelligence = "ThreatIntelligence", /** NRT */ - NRT = "NRT" + NRT = "NRT", } /** @@ -6580,7 +8042,7 @@ export enum KnownCreatedByType { /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", /** Key */ - Key = "Key" + Key = "Key", } /** @@ -6600,7 +8062,7 @@ export enum KnownTriggersOn { /** Trigger on Incidents */ Incidents = "Incidents", /** Trigger on Alerts */ - Alerts = "Alerts" + Alerts = "Alerts", } /** @@ -6618,7 +8080,7 @@ export enum KnownTriggersWhen { /** Trigger on created objects */ Created = "Created", /** Trigger on updated objects */ - Updated = "Updated" + Updated = "Updated", } /** @@ -6642,7 +8104,7 @@ export enum KnownConditionType { /** Evaluate an object array property changed value */ PropertyArrayChanged = "PropertyArrayChanged", /** Apply a boolean operator (e.g AND, OR) to conditions */ - Boolean = "Boolean" + Boolean = "Boolean", } /** @@ -6663,7 +8125,9 @@ export enum KnownActionType { /** Modify an object's properties */ ModifyProperties = "ModifyProperties", /** Run a playbook on an object */ - RunPlaybook = "RunPlaybook" + RunPlaybook = "RunPlaybook", + /** Add a task to an incident object */ + AddIncidentTask = "AddIncidentTask", } /** @@ -6672,10 +8136,26 @@ export enum KnownActionType { * this enum contains the known values that the service supports. * ### Known values supported by the service * **ModifyProperties**: Modify an object's properties \ - * **RunPlaybook**: Run a playbook on an object + * **RunPlaybook**: Run a playbook on an object \ + * **AddIncidentTask**: Add a task to an incident object */ export type ActionType = string; +/** Known values of {@link BillingStatisticKind} that the service accepts. */ +export enum KnownBillingStatisticKind { + /** SapSolutionUsage */ + SapSolutionUsage = "SapSolutionUsage", +} + +/** + * Defines values for BillingStatisticKind. \ + * {@link KnownBillingStatisticKind} can be used interchangeably with BillingStatisticKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SapSolutionUsage** + */ +export type BillingStatisticKind = string; + /** Known values of {@link IncidentSeverity} that the service accepts. */ export enum KnownIncidentSeverity { /** High severity */ @@ -6685,7 +8165,7 @@ export enum KnownIncidentSeverity { /** Low severity */ Low = "Low", /** Informational severity */ - Informational = "Informational" + Informational = "Informational", } /** @@ -6735,7 +8215,7 @@ export enum KnownAttackTactic { /** ImpairProcessControl */ ImpairProcessControl = "ImpairProcessControl", /** InhibitResponseFunction */ - InhibitResponseFunction = "InhibitResponseFunction" + InhibitResponseFunction = "InhibitResponseFunction", } /** @@ -6763,8 +8243,8 @@ export enum KnownAttackTactic { */ export type AttackTactic = string; -/** Known values of {@link EntityKind} that the service accepts. */ -export enum KnownEntityKind { +/** Known values of {@link EntityKindEnum} that the service accepts. */ +export enum KnownEntityKindEnum { /** Entity represents account in the system. */ Account = "Account", /** Entity represents host in the system. */ @@ -6808,12 +8288,12 @@ export enum KnownEntityKind { /** Entity represents submission mail in the system. */ SubmissionMail = "SubmissionMail", /** Entity represents network interface in the system. */ - Nic = "Nic" + Nic = "Nic", } /** - * Defines values for EntityKind. \ - * {@link KnownEntityKind} can be used interchangeably with EntityKind, + * Defines values for EntityKindEnum. \ + * {@link KnownEntityKindEnum} can be used interchangeably with EntityKindEnum, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Account**: Entity represents account in the system. \ @@ -6839,7 +8319,184 @@ export enum KnownEntityKind { * **SubmissionMail**: Entity represents submission mail in the system. \ * **Nic**: Entity represents network interface in the system. */ -export type EntityKind = string; +export type EntityKindEnum = string; + +/** Known values of {@link PackageKind} that the service accepts. */ +export enum KnownPackageKind { + /** Solution */ + Solution = "Solution", + /** Standalone */ + Standalone = "Standalone", +} + +/** + * Defines values for PackageKind. \ + * {@link KnownPackageKind} can be used interchangeably with PackageKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Solution** \ + * **Standalone** + */ +export type PackageKind = string; + +/** Known values of {@link Flag} that the service accepts. */ +export enum KnownFlag { + /** True */ + True = "true", + /** False */ + False = "false", +} + +/** + * Defines values for Flag. \ + * {@link KnownFlag} can be used interchangeably with Flag, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **true** \ + * **false** + */ +export type Flag = string; + +/** Known values of {@link SourceKind} that the service accepts. */ +export enum KnownSourceKind { + /** LocalWorkspace */ + LocalWorkspace = "LocalWorkspace", + /** Community */ + Community = "Community", + /** Solution */ + Solution = "Solution", + /** SourceRepository */ + SourceRepository = "SourceRepository", +} + +/** + * Defines values for SourceKind. \ + * {@link KnownSourceKind} can be used interchangeably with SourceKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LocalWorkspace** \ + * **Community** \ + * **Solution** \ + * **SourceRepository** + */ +export type SourceKind = string; + +/** Known values of {@link SupportTier} that the service accepts. */ +export enum KnownSupportTier { + /** Microsoft */ + Microsoft = "Microsoft", + /** Partner */ + Partner = "Partner", + /** Community */ + Community = "Community", +} + +/** + * Defines values for SupportTier. \ + * {@link KnownSupportTier} can be used interchangeably with SupportTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Microsoft** \ + * **Partner** \ + * **Community** + */ +export type SupportTier = string; + +/** Known values of {@link Kind} that the service accepts. */ +export enum KnownKind { + /** DataConnector */ + DataConnector = "DataConnector", + /** DataType */ + DataType = "DataType", + /** Workbook */ + Workbook = "Workbook", + /** WorkbookTemplate */ + WorkbookTemplate = "WorkbookTemplate", + /** Playbook */ + Playbook = "Playbook", + /** PlaybookTemplate */ + PlaybookTemplate = "PlaybookTemplate", + /** AnalyticsRuleTemplate */ + AnalyticsRuleTemplate = "AnalyticsRuleTemplate", + /** AnalyticsRule */ + AnalyticsRule = "AnalyticsRule", + /** HuntingQuery */ + HuntingQuery = "HuntingQuery", + /** InvestigationQuery */ + InvestigationQuery = "InvestigationQuery", + /** Parser */ + Parser = "Parser", + /** Watchlist */ + Watchlist = "Watchlist", + /** WatchlistTemplate */ + WatchlistTemplate = "WatchlistTemplate", + /** Solution */ + Solution = "Solution", + /** AzureFunction */ + AzureFunction = "AzureFunction", + /** LogicAppsCustomConnector */ + LogicAppsCustomConnector = "LogicAppsCustomConnector", + /** AutomationRule */ + AutomationRule = "AutomationRule", +} + +/** + * Defines values for Kind. \ + * {@link KnownKind} can be used interchangeably with Kind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **DataConnector** \ + * **DataType** \ + * **Workbook** \ + * **WorkbookTemplate** \ + * **Playbook** \ + * **PlaybookTemplate** \ + * **AnalyticsRuleTemplate** \ + * **AnalyticsRule** \ + * **HuntingQuery** \ + * **InvestigationQuery** \ + * **Parser** \ + * **Watchlist** \ + * **WatchlistTemplate** \ + * **Solution** \ + * **AzureFunction** \ + * **LogicAppsCustomConnector** \ + * **AutomationRule** + */ +export type Kind = string; + +/** Known values of {@link Operator} that the service accepts. */ +export enum KnownOperator { + /** AND */ + AND = "AND", + /** OR */ + OR = "OR", +} + +/** + * Defines values for Operator. \ + * {@link KnownOperator} can be used interchangeably with Operator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AND** \ + * **OR** + */ +export type Operator = string; + +/** Known values of {@link EnrichmentType} that the service accepts. */ +export enum KnownEnrichmentType { + /** Main */ + Main = "main", +} + +/** + * Defines values for EnrichmentType. \ + * {@link KnownEnrichmentType} can be used interchangeably with EnrichmentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **main** + */ +export type EnrichmentType = string; /** Known values of {@link EntityTimelineKind} that the service accepts. */ export enum KnownEntityTimelineKind { @@ -6850,7 +8507,7 @@ export enum KnownEntityTimelineKind { /** security alerts */ SecurityAlert = "SecurityAlert", /** anomaly */ - Anomaly = "Anomaly" + Anomaly = "Anomaly", } /** @@ -6868,7 +8525,7 @@ export type EntityTimelineKind = string; /** Known values of {@link EntityItemQueryKind} that the service accepts. */ export enum KnownEntityItemQueryKind { /** insight */ - Insight = "Insight" + Insight = "Insight", } /** @@ -6887,7 +8544,7 @@ export enum KnownEntityQueryKind { /** Insight */ Insight = "Insight", /** Activity */ - Activity = "Activity" + Activity = "Activity", } /** @@ -6904,7 +8561,7 @@ export type EntityQueryKind = string; /** Known values of {@link GetInsightsError} that the service accepts. */ export enum KnownGetInsightsError { /** Insight */ - Insight = "Insight" + Insight = "Insight", } /** @@ -6916,28 +8573,28 @@ export enum KnownGetInsightsError { */ export type GetInsightsError = string; -/** Known values of {@link Enum13} that the service accepts. */ -export enum KnownEnum13 { +/** Known values of {@link Enum21} that the service accepts. */ +export enum KnownEnum21 { /** Expansion */ Expansion = "Expansion", /** Activity */ - Activity = "Activity" + Activity = "Activity", } /** - * Defines values for Enum13. \ - * {@link KnownEnum13} can be used interchangeably with Enum13, + * Defines values for Enum21. \ + * {@link KnownEnum21} can be used interchangeably with Enum21, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Expansion** \ * **Activity** */ -export type Enum13 = string; +export type Enum21 = string; /** Known values of {@link CustomEntityQueryKind} that the service accepts. */ export enum KnownCustomEntityQueryKind { /** Activity */ - Activity = "Activity" + Activity = "Activity", } /** @@ -6952,7 +8609,7 @@ export type CustomEntityQueryKind = string; /** Known values of {@link EntityQueryTemplateKind} that the service accepts. */ export enum KnownEntityQueryTemplateKind { /** Activity */ - Activity = "Activity" + Activity = "Activity", } /** @@ -6971,7 +8628,7 @@ export enum KnownIngestionMode { /** Valid records should still be ingested when invalid records are detected. */ IngestAnyValidRecords = "IngestAnyValidRecords", /** Unspecified */ - Unspecified = "Unspecified" + Unspecified = "Unspecified", } /** @@ -6992,7 +8649,7 @@ export enum KnownFileImportContentType { /** File containing STIX indicators. */ StixIndicator = "StixIndicator", /** File containing other records. */ - Unspecified = "Unspecified" + Unspecified = "Unspecified", } /** @@ -7013,7 +8670,7 @@ export enum KnownFileFormat { /** A JSON file. */ Json = "JSON", /** A file of other format. */ - Unspecified = "Unspecified" + Unspecified = "Unspecified", } /** @@ -7034,7 +8691,7 @@ export enum KnownDeleteStatus { /** The file was not deleted. */ NotDeleted = "NotDeleted", /** Unspecified */ - Unspecified = "Unspecified" + Unspecified = "Unspecified", } /** @@ -7063,7 +8720,7 @@ export enum KnownFileImportState { /** Waiting for the file to be uploaded. */ WaitingForUpload = "WaitingForUpload", /** Unspecified state. */ - Unspecified = "Unspecified" + Unspecified = "Unspecified", } /** @@ -7081,6 +8738,105 @@ export enum KnownFileImportState { */ export type FileImportState = string; +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** New */ + New = "New", + /** Active */ + Active = "Active", + /** Closed */ + Closed = "Closed", + /** Backlog */ + Backlog = "Backlog", + /** Approved */ + Approved = "Approved", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** InProgress */ + InProgress = "InProgress", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **New** \ + * **Active** \ + * **Closed** \ + * **Backlog** \ + * **Approved** \ + * **Succeeded** \ + * **Failed** \ + * **InProgress** + */ +export type Status = string; + +/** Known values of {@link HypothesisStatus} that the service accepts. */ +export enum KnownHypothesisStatus { + /** Unknown */ + Unknown = "Unknown", + /** Invalidated */ + Invalidated = "Invalidated", + /** Validated */ + Validated = "Validated", +} + +/** + * Defines values for HypothesisStatus. \ + * {@link KnownHypothesisStatus} can be used interchangeably with HypothesisStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Invalidated** \ + * **Validated** + */ +export type HypothesisStatus = string; + +/** Known values of {@link OwnerType} that the service accepts. */ +export enum KnownOwnerType { + /** The hunt owner type is unknown */ + Unknown = "Unknown", + /** The hunt owner type is an AAD user */ + User = "User", + /** The hunt owner type is an AAD group */ + Group = "Group", +} + +/** + * Defines values for OwnerType. \ + * {@link KnownOwnerType} can be used interchangeably with OwnerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown**: The hunt owner type is unknown \ + * **User**: The hunt owner type is an AAD user \ + * **Group**: The hunt owner type is an AAD group + */ +export type OwnerType = string; + +/** Known values of {@link IncidentStatus} that the service accepts. */ +export enum KnownIncidentStatus { + /** An active incident which isn't being handled currently */ + New = "New", + /** An active incident which is being handled */ + Active = "Active", + /** A non-active incident */ + Closed = "Closed", +} + +/** + * Defines values for IncidentStatus. \ + * {@link KnownIncidentStatus} can be used interchangeably with IncidentStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **New**: An active incident which isn't being handled currently \ + * **Active**: An active incident which is being handled \ + * **Closed**: A non-active incident + */ +export type IncidentStatus = string; + /** Known values of {@link IncidentClassification} that the service accepts. */ export enum KnownIncidentClassification { /** Incident classification was undetermined */ @@ -7090,7 +8846,7 @@ export enum KnownIncidentClassification { /** Incident was benign positive */ BenignPositive = "BenignPositive", /** Incident was false positive */ - FalsePositive = "FalsePositive" + FalsePositive = "FalsePositive", } /** @@ -7114,7 +8870,7 @@ export enum KnownIncidentClassificationReason { /** Classification reason was incorrect alert logic */ IncorrectAlertLogic = "IncorrectAlertLogic", /** Classification reason was inaccurate data */ - InaccurateData = "InaccurateData" + InaccurateData = "InaccurateData", } /** @@ -7134,7 +8890,7 @@ export enum KnownIncidentLabelType { /** Label manually created by a user */ User = "User", /** Label automatically created by the system */ - AutoAssigned = "AutoAssigned" + AutoAssigned = "AutoAssigned", } /** @@ -7147,48 +8903,6 @@ export enum KnownIncidentLabelType { */ export type IncidentLabelType = string; -/** Known values of {@link OwnerType} that the service accepts. */ -export enum KnownOwnerType { - /** The incident owner type is unknown */ - Unknown = "Unknown", - /** The incident owner type is an AAD user */ - User = "User", - /** The incident owner type is an AAD group */ - Group = "Group" -} - -/** - * Defines values for OwnerType. \ - * {@link KnownOwnerType} can be used interchangeably with OwnerType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Unknown**: The incident owner type is unknown \ - * **User**: The incident owner type is an AAD user \ - * **Group**: The incident owner type is an AAD group - */ -export type OwnerType = string; - -/** Known values of {@link IncidentStatus} that the service accepts. */ -export enum KnownIncidentStatus { - /** An active incident which isn't being handled currently */ - New = "New", - /** An active incident which is being handled */ - Active = "Active", - /** A non-active incident */ - Closed = "Closed" -} - -/** - * Defines values for IncidentStatus. \ - * {@link KnownIncidentStatus} can be used interchangeably with IncidentStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **New**: An active incident which isn't being handled currently \ - * **Active**: An active incident which is being handled \ - * **Closed**: A non-active incident - */ -export type IncidentStatus = string; - /** Known values of {@link ConfidenceLevel} that the service accepts. */ export enum KnownConfidenceLevel { /** Unknown confidence, the is the default value */ @@ -7196,7 +8910,7 @@ export enum KnownConfidenceLevel { /** Low confidence, meaning we have some doubts this is indeed malicious or part of an attack */ Low = "Low", /** High confidence that the alert is true positive malicious */ - High = "High" + High = "High", } /** @@ -7219,7 +8933,7 @@ export enum KnownConfidenceScoreStatus { /** Score is calculated and shown as part of the alert, but may be updated again at a later time following the processing of additional data */ NotFinal = "NotFinal", /** Final score was calculated and available */ - Final = "Final" + Final = "Final", } /** @@ -7250,7 +8964,7 @@ export enum KnownKillChainIntent { DefenseEvasion = "DefenseEvasion", /** Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment. Adversaries will likely attempt to obtain legitimate credentials from users or administrator accounts (local system administrator or domain users with administrator access) to use within the network. With sufficient access within a network, an adversary can create accounts for later use within the environment. */ CredentialAccess = "CredentialAccess", - /** Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must orient themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase. */ + /** Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must navigate themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase. */ Discovery = "Discovery", /** Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems. The lateral movement techniques could allow an adversary to gather information from a system without needing additional tools, such as a remote access tool. An adversary can use lateral movement for many purposes, including remote Execution of tools, pivoting to additional systems, access to specific information or files, access to additional credentials, or to cause an effect. */ LateralMovement = "LateralMovement", @@ -7263,7 +8977,7 @@ export enum KnownKillChainIntent { /** The command and control tactic represents how adversaries communicate with systems under their control within a target network. */ CommandAndControl = "CommandAndControl", /** The impact intent primary objective is to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process. This would often refer to techniques such as ransom-ware, defacement, data manipulation and others. */ - Impact = "Impact" + Impact = "Impact", } /** @@ -7278,7 +8992,7 @@ export enum KnownKillChainIntent { * **PrivilegeEscalation**: Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network. Certain tools or actions require a higher level of privilege to work and are likely necessary at many points throughout an operation. User accounts with permissions to access specific systems or perform specific functions necessary for adversaries to achieve their objective may also be considered an escalation of privilege. \ * **DefenseEvasion**: Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses. Sometimes these actions are the same as or variations of techniques in other categories that have the added benefit of subverting a particular defense or mitigation. \ * **CredentialAccess**: Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment. Adversaries will likely attempt to obtain legitimate credentials from users or administrator accounts (local system administrator or domain users with administrator access) to use within the network. With sufficient access within a network, an adversary can create accounts for later use within the environment. \ - * **Discovery**: Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must orient themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase. \ + * **Discovery**: Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must navigate themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase. \ * **LateralMovement**: Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems. The lateral movement techniques could allow an adversary to gather information from a system without needing additional tools, such as a remote access tool. An adversary can use lateral movement for many purposes, including remote Execution of tools, pivoting to additional systems, access to specific information or files, access to additional credentials, or to cause an effect. \ * **Execution**: The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system. This tactic is often used in conjunction with lateral movement to expand access to remote systems on a network. \ * **Collection**: Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration. This category also covers locations on a system or network where the adversary may look for information to exfiltrate. \ @@ -7297,7 +9011,7 @@ export enum KnownAlertSeverity { /** Low severity */ Low = "Low", /** Informational severity */ - Informational = "Informational" + Informational = "Informational", } /** @@ -7323,7 +9037,7 @@ export enum KnownAlertStatus { /** Alert dismissed as false positive */ Dismissed = "Dismissed", /** Alert is being handled */ - InProgress = "InProgress" + InProgress = "InProgress", } /** @@ -7339,136 +9053,127 @@ export enum KnownAlertStatus { */ export type AlertStatus = string; -/** Known values of {@link Kind} that the service accepts. */ -export enum KnownKind { - /** DataConnector */ - DataConnector = "DataConnector", - /** DataType */ - DataType = "DataType", - /** Workbook */ - Workbook = "Workbook", - /** WorkbookTemplate */ - WorkbookTemplate = "WorkbookTemplate", - /** Playbook */ - Playbook = "Playbook", - /** PlaybookTemplate */ - PlaybookTemplate = "PlaybookTemplate", - /** AnalyticsRuleTemplate */ - AnalyticsRuleTemplate = "AnalyticsRuleTemplate", - /** AnalyticsRule */ - AnalyticsRule = "AnalyticsRule", - /** HuntingQuery */ - HuntingQuery = "HuntingQuery", - /** InvestigationQuery */ - InvestigationQuery = "InvestigationQuery", - /** Parser */ - Parser = "Parser", - /** Watchlist */ - Watchlist = "Watchlist", - /** WatchlistTemplate */ - WatchlistTemplate = "WatchlistTemplate", - /** Solution */ - Solution = "Solution", - /** AzureFunction */ - AzureFunction = "AzureFunction", - /** LogicAppsCustomConnector */ - LogicAppsCustomConnector = "LogicAppsCustomConnector", - /** AutomationRule */ - AutomationRule = "AutomationRule" +/** Known values of {@link IncidentTaskStatus} that the service accepts. */ +export enum KnownIncidentTaskStatus { + /** A new task */ + New = "New", + /** A completed task */ + Completed = "Completed", } /** - * Defines values for Kind. \ - * {@link KnownKind} can be used interchangeably with Kind, + * Defines values for IncidentTaskStatus. \ + * {@link KnownIncidentTaskStatus} can be used interchangeably with IncidentTaskStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **DataConnector** \ - * **DataType** \ - * **Workbook** \ - * **WorkbookTemplate** \ - * **Playbook** \ - * **PlaybookTemplate** \ - * **AnalyticsRuleTemplate** \ - * **AnalyticsRule** \ - * **HuntingQuery** \ - * **InvestigationQuery** \ - * **Parser** \ - * **Watchlist** \ - * **WatchlistTemplate** \ - * **Solution** \ - * **AzureFunction** \ - * **LogicAppsCustomConnector** \ - * **AutomationRule** + * **New**: A new task \ + * **Completed**: A completed task */ -export type Kind = string; +export type IncidentTaskStatus = string; + +/** Known values of {@link Category} that the service accepts. */ +export enum KnownCategory { + /** Onboarding recommendation. */ + Onboarding = "Onboarding", + /** New feature recommendation. */ + NewFeature = "NewFeature", + /** Soc Efficiency recommendation. */ + SocEfficiency = "SocEfficiency", + /** Cost optimization recommendation. */ + CostOptimization = "CostOptimization", + /** Demo recommendation. */ + Demo = "Demo", +} -/** Known values of {@link SourceKind} that the service accepts. */ -export enum KnownSourceKind { - /** LocalWorkspace */ - LocalWorkspace = "LocalWorkspace", - /** Community */ - Community = "Community", - /** Solution */ - Solution = "Solution", - /** SourceRepository */ - SourceRepository = "SourceRepository" +/** + * Defines values for Category. \ + * {@link KnownCategory} can be used interchangeably with Category, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Onboarding**: Onboarding recommendation. \ + * **NewFeature**: New feature recommendation. \ + * **SocEfficiency**: Soc Efficiency recommendation. \ + * **CostOptimization**: Cost optimization recommendation. \ + * **Demo**: Demo recommendation. + */ +export type Category = string; + +/** Known values of {@link Context} that the service accepts. */ +export enum KnownContext { + /** Analytics context. */ + Analytics = "Analytics", + /** Incidents context. */ + Incidents = "Incidents", + /** Overview context. */ + Overview = "Overview", + /** No context. */ + None = "None", } /** - * Defines values for SourceKind. \ - * {@link KnownSourceKind} can be used interchangeably with SourceKind, + * Defines values for Context. \ + * {@link KnownContext} can be used interchangeably with Context, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LocalWorkspace** \ - * **Community** \ - * **Solution** \ - * **SourceRepository** + * **Analytics**: Analytics context. \ + * **Incidents**: Incidents context. \ + * **Overview**: Overview context. \ + * **None**: No context. */ -export type SourceKind = string; +export type Context = string; -/** Known values of {@link SupportTier} that the service accepts. */ -export enum KnownSupportTier { - /** Microsoft */ - Microsoft = "Microsoft", - /** Partner */ - Partner = "Partner", - /** Community */ - Community = "Community" +/** Known values of {@link Priority} that the service accepts. */ +export enum KnownPriority { + /** Low priority for recommendation. */ + Low = "Low", + /** Medium priority for recommendation. */ + Medium = "Medium", + /** High priority for recommendation. */ + High = "High", } /** - * Defines values for SupportTier. \ - * {@link KnownSupportTier} can be used interchangeably with SupportTier, + * Defines values for Priority. \ + * {@link KnownPriority} can be used interchangeably with Priority, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Microsoft** \ - * **Partner** \ - * **Community** + * **Low**: Low priority for recommendation. \ + * **Medium**: Medium priority for recommendation. \ + * **High**: High priority for recommendation. */ -export type SupportTier = string; +export type Priority = string; -/** Known values of {@link Operator} that the service accepts. */ -export enum KnownOperator { - /** AND */ - AND = "AND", - /** OR */ - OR = "OR" +/** Known values of {@link State} that the service accepts. */ +export enum KnownState { + /** Recommendation is active. */ + Active = "Active", + /** Recommendation is disabled. */ + Disabled = "Disabled", + /** Recommendation has been completed by user. */ + CompletedByUser = "CompletedByUser", + /** Recommendation has been completed by action. */ + CompletedByAction = "CompletedByAction", + /** Recommendation is hidden. */ + Hidden = "Hidden", } /** - * Defines values for Operator. \ - * {@link KnownOperator} can be used interchangeably with Operator, + * Defines values for State. \ + * {@link KnownState} can be used interchangeably with State, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AND** \ - * **OR** + * **Active**: Recommendation is active. \ + * **Disabled**: Recommendation is disabled. \ + * **CompletedByUser**: Recommendation has been completed by user. \ + * **CompletedByAction**: Recommendation has been completed by action. \ + * **Hidden**: Recommendation is hidden. */ -export type Operator = string; +export type State = string; /** Known values of {@link SecurityMLAnalyticsSettingsKind} that the service accepts. */ export enum KnownSecurityMLAnalyticsSettingsKind { /** Anomaly */ - Anomaly = "Anomaly" + Anomaly = "Anomaly", } /** @@ -7489,7 +9194,7 @@ export enum KnownSettingKind { /** EntityAnalytics */ EntityAnalytics = "EntityAnalytics", /** Ueba */ - Ueba = "Ueba" + Ueba = "Ueba", } /** @@ -7504,30 +9209,33 @@ export enum KnownSettingKind { */ export type SettingKind = string; -/** Known values of {@link RepoType} that the service accepts. */ -export enum KnownRepoType { - /** Github */ - Github = "Github", - /** DevOps */ - DevOps = "DevOps" +/** Known values of {@link RepositoryAccessKind} that the service accepts. */ +export enum KnownRepositoryAccessKind { + /** OAuth */ + OAuth = "OAuth", + /** PAT */ + PAT = "PAT", + /** App */ + App = "App", } /** - * Defines values for RepoType. \ - * {@link KnownRepoType} can be used interchangeably with RepoType, + * Defines values for RepositoryAccessKind. \ + * {@link KnownRepositoryAccessKind} can be used interchangeably with RepositoryAccessKind, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Github** \ - * **DevOps** + * **OAuth** \ + * **PAT** \ + * **App** */ -export type RepoType = string; +export type RepositoryAccessKind = string; /** Known values of {@link Version} that the service accepts. */ export enum KnownVersion { /** V1 */ V1 = "V1", /** V2 */ - V2 = "V2" + V2 = "V2", } /** @@ -7540,12 +9248,38 @@ export enum KnownVersion { */ export type Version = string; +/** Known values of {@link RepoType} that the service accepts. */ +export enum KnownRepoType { + /** Github */ + Github = "Github", + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", +} + +/** + * Defines values for RepoType. \ + * {@link KnownRepoType} can be used interchangeably with RepoType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Github** \ + * **AzureDevOps** + */ +export type RepoType = string; + /** Known values of {@link ContentType} that the service accepts. */ export enum KnownContentType { /** AnalyticRule */ AnalyticRule = "AnalyticRule", + /** AutomationRule */ + AutomationRule = "AutomationRule", + /** HuntingQuery */ + HuntingQuery = "HuntingQuery", + /** Parser */ + Parser = "Parser", + /** Playbook */ + Playbook = "Playbook", /** Workbook */ - Workbook = "Workbook" + Workbook = "Workbook", } /** @@ -7554,6 +9288,10 @@ export enum KnownContentType { * this enum contains the known values that the service supports. * ### Known values supported by the service * **AnalyticRule** \ + * **AutomationRule** \ + * **HuntingQuery** \ + * **Parser** \ + * **Playbook** \ * **Workbook** */ export type ContentType = string; @@ -7565,7 +9303,7 @@ export enum KnownDeploymentFetchStatus { /** Unauthorized */ Unauthorized = "Unauthorized", /** NotFound */ - NotFound = "NotFound" + NotFound = "NotFound", } /** @@ -7588,7 +9326,7 @@ export enum KnownDeploymentState { /** Queued */ Queued = "Queued", /** Canceling */ - Canceling = "Canceling" + Canceling = "Canceling", } /** @@ -7610,7 +9348,7 @@ export enum KnownDeploymentResult { /** Canceled */ Canceled = "Canceled", /** Failed */ - Failed = "Failed" + Failed = "Failed", } /** @@ -7624,48 +9362,102 @@ export enum KnownDeploymentResult { */ export type DeploymentResult = string; -/** Known values of {@link ThreatIntelligenceResourceKindEnum} that the service accepts. */ -export enum KnownThreatIntelligenceResourceKindEnum { +/** Known values of {@link WarningCode} that the service accepts. */ +export enum KnownWarningCode { + /** SourceControlWarningDeleteServicePrincipal */ + SourceControlWarningDeleteServicePrincipal = "SourceControlWarning_DeleteServicePrincipal", + /** SourceControlWarningDeletePipelineFromAzureDevOps */ + SourceControlWarningDeletePipelineFromAzureDevOps = "SourceControlWarning_DeletePipelineFromAzureDevOps", + /** SourceControlWarningDeleteWorkflowAndSecretFromGitHub */ + SourceControlWarningDeleteWorkflowAndSecretFromGitHub = "SourceControlWarning_DeleteWorkflowAndSecretFromGitHub", + /** SourceControlWarningDeleteRoleAssignment */ + SourceControlWarningDeleteRoleAssignment = "SourceControlWarning_DeleteRoleAssignment", + /** SourceControlDeletedWithWarnings */ + SourceControlDeletedWithWarnings = "SourceControl_DeletedWithWarnings", +} + +/** + * Defines values for WarningCode. \ + * {@link KnownWarningCode} can be used interchangeably with WarningCode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SourceControlWarning_DeleteServicePrincipal** \ + * **SourceControlWarning_DeletePipelineFromAzureDevOps** \ + * **SourceControlWarning_DeleteWorkflowAndSecretFromGitHub** \ + * **SourceControlWarning_DeleteRoleAssignment** \ + * **SourceControl_DeletedWithWarnings** + */ +export type WarningCode = string; + +/** Known values of {@link ThreatIntelligenceResourceInnerKind} that the service accepts. */ +export enum KnownThreatIntelligenceResourceInnerKind { /** Entity represents threat intelligence indicator in the system. */ - Indicator = "indicator" + Indicator = "indicator", } /** - * Defines values for ThreatIntelligenceResourceKindEnum. \ - * {@link KnownThreatIntelligenceResourceKindEnum} can be used interchangeably with ThreatIntelligenceResourceKindEnum, + * Defines values for ThreatIntelligenceResourceInnerKind. \ + * {@link KnownThreatIntelligenceResourceInnerKind} can be used interchangeably with ThreatIntelligenceResourceInnerKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **indicator**: Entity represents threat intelligence indicator in the system. */ -export type ThreatIntelligenceResourceKindEnum = string; +export type ThreatIntelligenceResourceInnerKind = string; -/** Known values of {@link ThreatIntelligenceSortingCriteriaEnum} that the service accepts. */ -export enum KnownThreatIntelligenceSortingCriteriaEnum { +/** Known values of {@link ThreatIntelligenceSortingOrder} that the service accepts. */ +export enum KnownThreatIntelligenceSortingOrder { /** Unsorted */ Unsorted = "unsorted", /** Ascending */ Ascending = "ascending", /** Descending */ - Descending = "descending" + Descending = "descending", } /** - * Defines values for ThreatIntelligenceSortingCriteriaEnum. \ - * {@link KnownThreatIntelligenceSortingCriteriaEnum} can be used interchangeably with ThreatIntelligenceSortingCriteriaEnum, + * Defines values for ThreatIntelligenceSortingOrder. \ + * {@link KnownThreatIntelligenceSortingOrder} can be used interchangeably with ThreatIntelligenceSortingOrder, * this enum contains the known values that the service supports. * ### Known values supported by the service * **unsorted** \ * **ascending** \ * **descending** */ -export type ThreatIntelligenceSortingCriteriaEnum = string; +export type ThreatIntelligenceSortingOrder = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Accepted */ + Accepted = "Accepted", + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Accepted** \ + * **InProgress** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ProvisioningState = string; /** Known values of {@link SourceType} that the service accepts. */ export enum KnownSourceType { /** LocalFile */ LocalFile = "Local file", /** RemoteStorage */ - RemoteStorage = "Remote storage" + RemoteStorage = "Remote storage", } /** @@ -7678,6 +9470,39 @@ export enum KnownSourceType { */ export type SourceType = string; +/** Known values of {@link Mode} that the service accepts. */ +export enum KnownMode { + /** The workspace manager configuration is enabled */ + Enabled = "Enabled", + /** The workspace manager configuration is disabled */ + Disabled = "Disabled", +} + +/** + * Defines values for Mode. \ + * {@link KnownMode} can be used interchangeably with Mode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled**: The workspace manager configuration is enabled \ + * **Disabled**: The workspace manager configuration is disabled + */ +export type Mode = string; + +/** Known values of {@link DataConnectorDefinitionKind} that the service accepts. */ +export enum KnownDataConnectorDefinitionKind { + /** Customizable */ + Customizable = "Customizable", +} + +/** + * Defines values for DataConnectorDefinitionKind. \ + * {@link KnownDataConnectorDefinitionKind} can be used interchangeably with DataConnectorDefinitionKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Customizable** + */ +export type DataConnectorDefinitionKind = string; + /** Known values of {@link DataConnectorKind} that the service accepts. */ export enum KnownDataConnectorKind { /** AzureActiveDirectory */ @@ -7698,6 +9523,8 @@ export enum KnownDataConnectorKind { OfficeIRM = "OfficeIRM", /** Office365Project */ Office365Project = "Office365Project", + /** MicrosoftPurviewInformationProtection */ + MicrosoftPurviewInformationProtection = "MicrosoftPurviewInformationProtection", /** OfficePowerBI */ OfficePowerBI = "OfficePowerBI", /** AmazonWebServicesCloudTrail */ @@ -7719,7 +9546,9 @@ export enum KnownDataConnectorKind { /** APIPolling */ APIPolling = "APIPolling", /** IOT */ - IOT = "IOT" + IOT = "IOT", + /** GCP */ + GCP = "GCP", } /** @@ -7736,6 +9565,7 @@ export enum KnownDataConnectorKind { * **OfficeATP** \ * **OfficeIRM** \ * **Office365Project** \ + * **MicrosoftPurviewInformationProtection** \ * **OfficePowerBI** \ * **AmazonWebServicesCloudTrail** \ * **AmazonWebServicesS3** \ @@ -7746,7 +9576,8 @@ export enum KnownDataConnectorKind { * **MicrosoftThreatIntelligence** \ * **GenericUI** \ * **APIPolling** \ - * **IOT** + * **IOT** \ + * **GCP** */ export type DataConnectorKind = string; @@ -7757,7 +9588,7 @@ export enum KnownConnectAuthKind { /** OAuth2 */ OAuth2 = "OAuth2", /** APIKey */ - APIKey = "APIKey" + APIKey = "APIKey", } /** @@ -7776,7 +9607,7 @@ export enum KnownDataConnectorAuthorizationState { /** Valid */ Valid = "Valid", /** Invalid */ - Invalid = "Invalid" + Invalid = "Invalid", } /** @@ -7796,7 +9627,7 @@ export enum KnownDataConnectorLicenseState { /** Invalid */ Invalid = "Invalid", /** Unknown */ - Unknown = "Unknown" + Unknown = "Unknown", } /** @@ -7817,7 +9648,7 @@ export enum KnownTemplateStatus { /** Alert rule template is available. */ Available = "Available", /** Alert rule template is not available */ - NotAvailable = "NotAvailable" + NotAvailable = "NotAvailable", } /** @@ -7868,7 +9699,7 @@ export enum KnownEntityMappingType { /** Mail message entity type */ MailMessage = "MailMessage", /** Submission mail entity type */ - SubmissionMail = "SubmissionMail" + SubmissionMail = "SubmissionMail", } /** @@ -7897,12 +9728,54 @@ export enum KnownEntityMappingType { */ export type EntityMappingType = string; +/** Known values of {@link AlertProperty} that the service accepts. */ +export enum KnownAlertProperty { + /** Alert's link */ + AlertLink = "AlertLink", + /** Confidence level property */ + ConfidenceLevel = "ConfidenceLevel", + /** Confidence score */ + ConfidenceScore = "ConfidenceScore", + /** Extended links to the alert */ + ExtendedLinks = "ExtendedLinks", + /** Product name alert property */ + ProductName = "ProductName", + /** Provider name alert property */ + ProviderName = "ProviderName", + /** Product component name alert property */ + ProductComponentName = "ProductComponentName", + /** Remediation steps alert property */ + RemediationSteps = "RemediationSteps", + /** Techniques alert property */ + Techniques = "Techniques", + /** SubTechniques alert property */ + SubTechniques = "SubTechniques", +} + +/** + * Defines values for AlertProperty. \ + * {@link KnownAlertProperty} can be used interchangeably with AlertProperty, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AlertLink**: Alert's link \ + * **ConfidenceLevel**: Confidence level property \ + * **ConfidenceScore**: Confidence score \ + * **ExtendedLinks**: Extended links to the alert \ + * **ProductName**: Product name alert property \ + * **ProviderName**: Provider name alert property \ + * **ProductComponentName**: Product component name alert property \ + * **RemediationSteps**: Remediation steps alert property \ + * **Techniques**: Techniques alert property \ + * **SubTechniques**: SubTechniques alert property + */ +export type AlertProperty = string; + /** Known values of {@link EventGroupingAggregationKind} that the service accepts. */ export enum KnownEventGroupingAggregationKind { /** SingleAlert */ SingleAlert = "SingleAlert", /** AlertPerResult */ - AlertPerResult = "AlertPerResult" + AlertPerResult = "AlertPerResult", } /** @@ -7930,7 +9803,7 @@ export enum KnownMicrosoftSecurityProductName { /** Office365AdvancedThreatProtection */ Office365AdvancedThreatProtection = "Office 365 Advanced Threat Protection", /** MicrosoftDefenderAdvancedThreatProtection */ - MicrosoftDefenderAdvancedThreatProtection = "Microsoft Defender Advanced Threat Protection" + MicrosoftDefenderAdvancedThreatProtection = "Microsoft Defender Advanced Threat Protection", } /** @@ -7955,7 +9828,7 @@ export enum KnownMatchingMethod { /** Grouping any alerts triggered by this rule into a single incident */ AnyAlert = "AnyAlert", /** Grouping alerts into a single incident if the selected entities, custom details and alert details match */ - Selected = "Selected" + Selected = "Selected", } /** @@ -7974,7 +9847,7 @@ export enum KnownAlertDetail { /** Alert display name */ DisplayName = "DisplayName", /** Alert severity */ - Severity = "Severity" + Severity = "Severity", } /** @@ -7992,7 +9865,7 @@ export enum KnownAutomationRuleBooleanConditionSupportedOperator { /** Evaluates as true if all the item conditions are evaluated as true */ And = "And", /** Evaluates as true if at least one of the item conditions are evaluated as true */ - Or = "Or" + Or = "Or", } /** @@ -8014,7 +9887,7 @@ export enum KnownAutomationRulePropertyArrayChangedConditionSupportedArrayType { /** Evaluate the condition on the tactics */ Tactics = "Tactics", /** Evaluate the condition on the comments */ - Comments = "Comments" + Comments = "Comments", } /** @@ -8027,12 +9900,13 @@ export enum KnownAutomationRulePropertyArrayChangedConditionSupportedArrayType { * **Tactics**: Evaluate the condition on the tactics \ * **Comments**: Evaluate the condition on the comments */ -export type AutomationRulePropertyArrayChangedConditionSupportedArrayType = string; +export type AutomationRulePropertyArrayChangedConditionSupportedArrayType = + string; /** Known values of {@link AutomationRulePropertyArrayChangedConditionSupportedChangeType} that the service accepts. */ export enum KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType { /** Evaluate the condition on items added to the array */ - Added = "Added" + Added = "Added", } /** @@ -8042,14 +9916,15 @@ export enum KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType * ### Known values supported by the service * **Added**: Evaluate the condition on items added to the array */ -export type AutomationRulePropertyArrayChangedConditionSupportedChangeType = string; +export type AutomationRulePropertyArrayChangedConditionSupportedChangeType = + string; /** Known values of {@link AutomationRulePropertyArrayConditionSupportedArrayType} that the service accepts. */ export enum KnownAutomationRulePropertyArrayConditionSupportedArrayType { /** Evaluate the condition on the custom detail keys */ CustomDetails = "CustomDetails", /** Evaluate the condition on a custom detail's values */ - CustomDetailValues = "CustomDetailValues" + CustomDetailValues = "CustomDetailValues", } /** @@ -8065,7 +9940,7 @@ export type AutomationRulePropertyArrayConditionSupportedArrayType = string; /** Known values of {@link AutomationRulePropertyArrayConditionSupportedArrayConditionType} that the service accepts. */ export enum KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType { /** Evaluate the condition as true if any item fulfills it */ - AnyItem = "AnyItem" + AnyItem = "AnyItem", } /** @@ -8075,7 +9950,8 @@ export enum KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType * ### Known values supported by the service * **AnyItem**: Evaluate the condition as true if any item fulfills it */ -export type AutomationRulePropertyArrayConditionSupportedArrayConditionType = string; +export type AutomationRulePropertyArrayConditionSupportedArrayConditionType = + string; /** Known values of {@link AutomationRulePropertyChangedConditionSupportedPropertyType} that the service accepts. */ export enum KnownAutomationRulePropertyChangedConditionSupportedPropertyType { @@ -8084,7 +9960,7 @@ export enum KnownAutomationRulePropertyChangedConditionSupportedPropertyType { /** Evaluate the condition on the incident status */ IncidentStatus = "IncidentStatus", /** Evaluate the condition on the incident owner */ - IncidentOwner = "IncidentOwner" + IncidentOwner = "IncidentOwner", } /** @@ -8096,14 +9972,15 @@ export enum KnownAutomationRulePropertyChangedConditionSupportedPropertyType { * **IncidentStatus**: Evaluate the condition on the incident status \ * **IncidentOwner**: Evaluate the condition on the incident owner */ -export type AutomationRulePropertyChangedConditionSupportedPropertyType = string; +export type AutomationRulePropertyChangedConditionSupportedPropertyType = + string; /** Known values of {@link AutomationRulePropertyChangedConditionSupportedChangedType} that the service accepts. */ export enum KnownAutomationRulePropertyChangedConditionSupportedChangedType { /** Evaluate the condition on the previous value of the property */ ChangedFrom = "ChangedFrom", /** Evaluate the condition on the updated value of the property */ - ChangedTo = "ChangedTo" + ChangedTo = "ChangedTo", } /** @@ -8133,7 +10010,7 @@ export enum KnownAutomationRulePropertyConditionSupportedOperator { /** Evaluates if the property ends with any of the condition values */ EndsWith = "EndsWith", /** Evaluates if the property does not end with any of the condition values */ - NotEndsWith = "NotEndsWith" + NotEndsWith = "NotEndsWith", } /** @@ -8269,7 +10146,7 @@ export enum KnownAutomationRulePropertyConditionSupportedProperty { /** The registry key value in string formatted representation */ RegistryValueData = "RegistryValueData", /** The url */ - Url = "Url" + Url = "Url", } /** @@ -8383,7 +10260,7 @@ export enum KnownEntityType { /** Entity represents submission mail in the system. */ SubmissionMail = "SubmissionMail", /** Entity represents network interface in the system. */ - Nic = "Nic" + Nic = "Nic", } /** @@ -8425,7 +10302,7 @@ export enum KnownOutputType { /** Date */ Date = "Date", /** Entity */ - Entity = "Entity" + Entity = "Entity", } /** @@ -8445,7 +10322,7 @@ export enum KnownSettingsStatus { /** Anomaly settings status in Production mode */ Production = "Production", /** Anomaly settings status in Flighting mode */ - Flighting = "Flighting" + Flighting = "Flighting", } /** @@ -8463,7 +10340,7 @@ export enum KnownEntityProviders { /** ActiveDirectory */ ActiveDirectory = "ActiveDirectory", /** AzureActiveDirectory */ - AzureActiveDirectory = "AzureActiveDirectory" + AzureActiveDirectory = "AzureActiveDirectory", } /** @@ -8485,7 +10362,7 @@ export enum KnownUebaDataSources { /** SecurityEvent */ SecurityEvent = "SecurityEvent", /** SigninLogs */ - SigninLogs = "SigninLogs" + SigninLogs = "SigninLogs", } /** @@ -8500,12 +10377,33 @@ export enum KnownUebaDataSources { */ export type UebaDataSources = string; +/** Known values of {@link ProviderPermissionsScope} that the service accepts. */ +export enum KnownProviderPermissionsScope { + /** Subscription */ + Subscription = "Subscription", + /** ResourceGroup */ + ResourceGroup = "ResourceGroup", + /** Workspace */ + Workspace = "Workspace", +} + +/** + * Defines values for ProviderPermissionsScope. \ + * {@link KnownProviderPermissionsScope} can be used interchangeably with ProviderPermissionsScope, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Subscription** \ + * **ResourceGroup** \ + * **Workspace** + */ +export type ProviderPermissionsScope = string; + /** Known values of {@link DataTypeState} that the service accepts. */ export enum KnownDataTypeState { /** Enabled */ Enabled = "Enabled", /** Disabled */ - Disabled = "Disabled" + Disabled = "Disabled", } /** @@ -8518,6 +10416,24 @@ export enum KnownDataTypeState { */ export type DataTypeState = string; +/** Known values of {@link MtpProvider} that the service accepts. */ +export enum KnownMtpProvider { + /** MicrosoftDefenderForCloudApps */ + MicrosoftDefenderForCloudApps = "microsoftDefenderForCloudApps", + /** MicrosoftDefenderForIdentity */ + MicrosoftDefenderForIdentity = "microsoftDefenderForIdentity", +} + +/** + * Defines values for MtpProvider. \ + * {@link KnownMtpProvider} can be used interchangeably with MtpProvider, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **microsoftDefenderForCloudApps** \ + * **microsoftDefenderForIdentity** + */ +export type MtpProvider = string; + /** Known values of {@link PollingFrequency} that the service accepts. */ export enum KnownPollingFrequency { /** Once a minute */ @@ -8525,7 +10441,7 @@ export enum KnownPollingFrequency { /** Once an hour */ OnceAnHour = "OnceAnHour", /** Once a day */ - OnceADay = "OnceADay" + OnceADay = "OnceADay", } /** @@ -8542,7 +10458,7 @@ export type PollingFrequency = string; /** Known values of {@link ConnectivityType} that the service accepts. */ export enum KnownConnectivityType { /** IsConnectedQuery */ - IsConnectedQuery = "IsConnectedQuery" + IsConnectedQuery = "IsConnectedQuery", } /** @@ -8567,7 +10483,7 @@ export enum KnownProviderName { /** MicrosoftOperationalInsightsWorkspacesSharedKeys */ MicrosoftOperationalInsightsWorkspacesSharedKeys = "Microsoft.OperationalInsights/workspaces/sharedKeys", /** MicrosoftAuthorizationPolicyAssignments */ - MicrosoftAuthorizationPolicyAssignments = "Microsoft.Authorization/policyAssignments" + MicrosoftAuthorizationPolicyAssignments = "Microsoft.Authorization/policyAssignments", } /** @@ -8591,7 +10507,7 @@ export enum KnownPermissionProviderScope { /** Subscription */ Subscription = "Subscription", /** Workspace */ - Workspace = "Workspace" + Workspace = "Workspace", } /** @@ -8612,7 +10528,7 @@ export enum KnownSettingType { /** InstructionStepsGroup */ InstructionStepsGroup = "InstructionStepsGroup", /** InfoMessage */ - InfoMessage = "InfoMessage" + InfoMessage = "InfoMessage", } /** @@ -8637,7 +10553,7 @@ export enum KnownFileHashAlgorithm { /** SHA256 hash type */ SHA256 = "SHA256", /** SHA256 Authenticode hash type */ - SHA256AC = "SHA256AC" + SHA256AC = "SHA256AC", } /** @@ -8662,7 +10578,7 @@ export enum KnownDeviceImportance { /** Normal */ Normal = "Normal", /** High */ - High = "High" + High = "High", } /** @@ -8686,7 +10602,7 @@ export enum KnownAntispamMailDirection { /** Outbound */ Outbound = "Outbound", /** Intraorg */ - Intraorg = "Intraorg" + Intraorg = "Intraorg", } /** @@ -8722,7 +10638,7 @@ export enum KnownRegistryHive { /** HKEY_A */ HkeyA = "HKEY_A", /** HKEY_CURRENT_USER */ - HkeyCurrentUser = "HKEY_CURRENT_USER" + HkeyCurrentUser = "HKEY_CURRENT_USER", } /** @@ -8760,7 +10676,7 @@ export enum KnownRegistryValueKind { /** MultiString value type */ MultiString = "MultiString", /** QWord value type */ - QWord = "QWord" + QWord = "QWord", } /** @@ -8925,6 +10841,55 @@ export interface AutomationRulesListNextOptionalParams /** Contains response data for the listNext operation. */ export type AutomationRulesListNextResponse = AutomationRulesList; +/** Optional parameters. */ +export interface EntitiesRunPlaybookOptionalParams + extends coreClient.OperationOptions { + /** Describes the request body for triggering a playbook on an entity. */ + requestBody?: EntityManualTriggerRequestBody; +} + +/** Optional parameters. */ +export interface EntitiesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type EntitiesListResponse = EntityList; + +/** Optional parameters. */ +export interface EntitiesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type EntitiesGetResponse = EntityUnion; + +/** Optional parameters. */ +export interface EntitiesExpandOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the expand operation. */ +export type EntitiesExpandResponse = EntityExpandResponse; + +/** Optional parameters. */ +export interface EntitiesQueriesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the queries operation. */ +export type EntitiesQueriesResponse = GetQueriesResponse; + +/** Optional parameters. */ +export interface EntitiesGetInsightsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getInsights operation. */ +export type EntitiesGetInsightsResponse = EntityGetInsightsResponse; + +/** Optional parameters. */ +export interface EntitiesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EntitiesListNextResponse = EntityList; + /** Optional parameters. */ export interface IncidentsRunPlaybookOptionalParams extends coreClient.OperationOptions { @@ -9003,6 +10968,27 @@ export interface IncidentsListNextOptionalParams /** Contains response data for the listNext operation. */ export type IncidentsListNextResponse = IncidentList; +/** Optional parameters. */ +export interface BillingStatisticsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type BillingStatisticsListResponse = BillingStatisticList; + +/** Optional parameters. */ +export interface BillingStatisticsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type BillingStatisticsGetResponse = BillingStatisticUnion; + +/** Optional parameters. */ +export interface BillingStatisticsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type BillingStatisticsListNextResponse = BillingStatisticList; + /** Optional parameters. */ export interface BookmarksListOptionalParams extends coreClient.OperationOptions {} @@ -9084,60 +11070,194 @@ export interface BookmarkExpandOptionalParams export type BookmarkExpandOperationResponse = BookmarkExpandResponse; /** Optional parameters. */ -export interface IPGeodataGetOptionalParams +export interface ContentPackagesListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; + /** Searches for a substring in the response. Optional. */ + search?: string; + /** Instructs the server to return only object count without actual body. Optional. */ + count?: boolean; + /** Used to skip n elements in the OData query (offset). Returns a nextLink to the next page of results if there are any left. */ + skip?: number; +} + +/** Contains response data for the list operation. */ +export type ContentPackagesListResponse = PackageList; + +/** Optional parameters. */ +export interface ContentPackagesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type IPGeodataGetResponse = EnrichmentIpGeodata; +export type ContentPackagesGetResponse = PackageModel; /** Optional parameters. */ -export interface DomainWhoisGetOptionalParams +export interface ContentPackagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ContentPackagesListNextResponse = PackageList; + +/** Optional parameters. */ +export interface ContentPackageInstallOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the install operation. */ +export type ContentPackageInstallResponse = PackageModel; + +/** Optional parameters. */ +export interface ContentPackageUninstallOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ProductPackagesListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type ProductPackagesListResponse = ProductPackageList; + +/** Optional parameters. */ +export interface ProductPackagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ProductPackagesListNextResponse = ProductPackageList; + +/** Optional parameters. */ +export interface ProductPackageGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DomainWhoisGetResponse = EnrichmentDomainWhois; +export type ProductPackageGetResponse = ProductPackageModel; /** Optional parameters. */ -export interface EntitiesListOptionalParams +export interface ProductTemplatesListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; + /** Searches for a substring in the response. Optional. */ + search?: string; + /** Instructs the server to return only object count without actual body. Optional. */ + count?: boolean; + /** Used to skip n elements in the OData query (offset). Returns a nextLink to the next page of results if there are any left. */ + skip?: number; +} + +/** Contains response data for the list operation. */ +export type ProductTemplatesListResponse = ProductTemplateList; + +/** Optional parameters. */ +export interface ProductTemplatesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ProductTemplatesListNextResponse = ProductTemplateList; + +/** Optional parameters. */ +export interface ProductTemplateGetOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the get operation. */ +export type ProductTemplateGetResponse = ProductTemplateModel; + +/** Optional parameters. */ +export interface ContentTemplatesListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; + /** Searches for a substring in the response. Optional. */ + search?: string; + /** Instructs the server to return only object count without actual body. Optional. */ + count?: boolean; + /** Used to skip n elements in the OData query (offset). Returns a nextLink to the next page of results if there are any left. */ + skip?: number; + /** Expands the object with optional fiends that are not included by default. Optional. */ + expand?: string; +} + /** Contains response data for the list operation. */ -export type EntitiesListResponse = EntityList; +export type ContentTemplatesListResponse = TemplateList; /** Optional parameters. */ -export interface EntitiesGetOptionalParams +export interface ContentTemplatesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ContentTemplatesListNextResponse = TemplateList; + +/** Optional parameters. */ +export interface ContentTemplateInstallOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the install operation. */ +export type ContentTemplateInstallResponse = TemplateModel; + +/** Optional parameters. */ +export interface ContentTemplateGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EntitiesGetResponse = EntityUnion; +export type ContentTemplateGetResponse = TemplateModel; /** Optional parameters. */ -export interface EntitiesExpandOptionalParams +export interface ContentTemplateDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the expand operation. */ -export type EntitiesExpandResponse = EntityExpandResponse; +/** Optional parameters. */ +export interface IPGeodataGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type IPGeodataGetResponse = EnrichmentIpGeodata; /** Optional parameters. */ -export interface EntitiesQueriesOptionalParams +export interface DomainWhoisGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the queries operation. */ -export type EntitiesQueriesResponse = GetQueriesResponse; +/** Contains response data for the get operation. */ +export type DomainWhoisGetResponse = EnrichmentDomainWhois; /** Optional parameters. */ -export interface EntitiesGetInsightsOptionalParams +export interface ListGeodataByIpOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getInsights operation. */ -export type EntitiesGetInsightsResponse = EntityGetInsightsResponse; +/** Contains response data for the listGeodataByIp operation. */ +export type ListGeodataByIpResponse = EnrichmentIpGeodataAutoGenerated; /** Optional parameters. */ -export interface EntitiesListNextOptionalParams +export interface ListWhoisByDomainOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type EntitiesListNextResponse = EntityList; +/** Contains response data for the listWhoisByDomain operation. */ +export type ListWhoisByDomainResponse = EnrichmentDomainWhois; /** Optional parameters. */ export interface EntitiesGetTimelineListOptionalParams @@ -9180,7 +11300,7 @@ export type EntityRelationsGetRelationResponse = Relation; export interface EntityQueriesListOptionalParams extends coreClient.OperationOptions { /** The entity query kind we want to fetch */ - kind?: Enum13; + kind?: Enum21; } /** Contains response data for the list operation. */ @@ -9271,15 +11391,136 @@ export interface FileImportsDeleteOptionalParams resumeFrom?: string; } -/** Contains response data for the delete operation. */ -export type FileImportsDeleteResponse = FileImport; +/** Contains response data for the delete operation. */ +export type FileImportsDeleteResponse = FileImport; + +/** Optional parameters. */ +export interface FileImportsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FileImportsListNextResponse = FileImportList; + +/** Optional parameters. */ +export interface HuntsListOptionalParams extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type HuntsListResponse = HuntList; + +/** Optional parameters. */ +export interface HuntsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type HuntsGetResponse = Hunt; + +/** Optional parameters. */ +export interface HuntsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface HuntsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type HuntsCreateOrUpdateResponse = Hunt; + +/** Optional parameters. */ +export interface HuntsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type HuntsListNextResponse = HuntList; + +/** Optional parameters. */ +export interface HuntRelationsListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type HuntRelationsListResponse = HuntRelationList; + +/** Optional parameters. */ +export interface HuntRelationsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type HuntRelationsGetResponse = HuntRelation; + +/** Optional parameters. */ +export interface HuntRelationsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface HuntRelationsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type HuntRelationsCreateOrUpdateResponse = HuntRelation; + +/** Optional parameters. */ +export interface HuntRelationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type HuntRelationsListNextResponse = HuntRelationList; + +/** Optional parameters. */ +export interface HuntCommentsListOptionalParams + extends coreClient.OperationOptions { + /** Filters the results, based on a Boolean condition. Optional. */ + filter?: string; + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type HuntCommentsListResponse = HuntCommentList; + +/** Optional parameters. */ +export interface HuntCommentsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type HuntCommentsGetResponse = HuntComment; + +/** Optional parameters. */ +export interface HuntCommentsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface HuntCommentsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type HuntCommentsCreateOrUpdateResponse = HuntComment; /** Optional parameters. */ -export interface FileImportsListNextOptionalParams +export interface HuntCommentsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FileImportsListNextResponse = FileImportList; +export type HuntCommentsListNextResponse = HuntCommentList; /** Optional parameters. */ export interface IncidentCommentsListOptionalParams @@ -9363,6 +11604,38 @@ export interface IncidentRelationsListNextOptionalParams /** Contains response data for the listNext operation. */ export type IncidentRelationsListNextResponse = RelationList; +/** Optional parameters. */ +export interface IncidentTasksListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type IncidentTasksListResponse = IncidentTaskList; + +/** Optional parameters. */ +export interface IncidentTasksGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type IncidentTasksGetResponse = IncidentTask; + +/** Optional parameters. */ +export interface IncidentTasksCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type IncidentTasksCreateOrUpdateResponse = IncidentTask; + +/** Optional parameters. */ +export interface IncidentTasksDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface IncidentTasksListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type IncidentTasksListNextResponse = IncidentTaskList; + /** Optional parameters. */ export interface MetadataListOptionalParams extends coreClient.OperationOptions { @@ -9464,26 +11737,55 @@ export interface SentinelOnboardingStatesListOptionalParams /** Contains response data for the list operation. */ export type SentinelOnboardingStatesListResponse = SentinelOnboardingStatesList; +/** Optional parameters. */ +export interface GetRecommendationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type GetRecommendationsListResponse = RecommendationList; + +/** Optional parameters. */ +export interface GetSingleRecommendationOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the singleRecommendation operation. */ +export type GetSingleRecommendationResponse = Recommendation; + +/** Optional parameters. */ +export interface UpdateRecommendationOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the recommendation operation. */ +export type UpdateRecommendationResponse = Recommendation; + /** Optional parameters. */ export interface SecurityMLAnalyticsSettingsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type SecurityMLAnalyticsSettingsListResponse = SecurityMLAnalyticsSettingsList; +export type SecurityMLAnalyticsSettingsListResponse = + SecurityMLAnalyticsSettingsList; /** Optional parameters. */ export interface SecurityMLAnalyticsSettingsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SecurityMLAnalyticsSettingsGetResponse = SecurityMLAnalyticsSettingUnion; +export type SecurityMLAnalyticsSettingsGetResponse = + SecurityMLAnalyticsSettingUnion; /** Optional parameters. */ export interface SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type SecurityMLAnalyticsSettingsCreateOrUpdateResponse = SecurityMLAnalyticsSettingUnion; +export type SecurityMLAnalyticsSettingsCreateOrUpdateResponse = + SecurityMLAnalyticsSettingUnion; /** Optional parameters. */ export interface SecurityMLAnalyticsSettingsDeleteOptionalParams @@ -9494,7 +11796,8 @@ export interface SecurityMLAnalyticsSettingsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type SecurityMLAnalyticsSettingsListNextResponse = SecurityMLAnalyticsSettingsList; +export type SecurityMLAnalyticsSettingsListNextResponse = + SecurityMLAnalyticsSettingsList; /** Optional parameters. */ export interface ProductSettingsListOptionalParams @@ -9549,10 +11852,6 @@ export interface SourceControlsGetOptionalParams /** Contains response data for the get operation. */ export type SourceControlsGetResponse = SourceControl; -/** Optional parameters. */ -export interface SourceControlsDeleteOptionalParams - extends coreClient.OperationOptions {} - /** Optional parameters. */ export interface SourceControlsCreateOptionalParams extends coreClient.OperationOptions {} @@ -9560,6 +11859,13 @@ export interface SourceControlsCreateOptionalParams /** Contains response data for the create operation. */ export type SourceControlsCreateResponse = SourceControl; +/** Optional parameters. */ +export interface SourceControlsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the delete operation. */ +export type SourceControlsDeleteResponse = Warning; + /** Optional parameters. */ export interface SourceControlsListNextOptionalParams extends coreClient.OperationOptions {} @@ -9572,21 +11878,24 @@ export interface ThreatIntelligenceIndicatorCreateIndicatorOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createIndicator operation. */ -export type ThreatIntelligenceIndicatorCreateIndicatorResponse = ThreatIntelligenceInformationUnion; +export type ThreatIntelligenceIndicatorCreateIndicatorResponse = + ThreatIntelligenceInformationUnion; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ThreatIntelligenceIndicatorGetResponse = ThreatIntelligenceInformationUnion; +export type ThreatIntelligenceIndicatorGetResponse = + ThreatIntelligenceInformationUnion; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorCreateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the create operation. */ -export type ThreatIntelligenceIndicatorCreateResponse = ThreatIntelligenceInformationUnion; +export type ThreatIntelligenceIndicatorCreateResponse = + ThreatIntelligenceInformationUnion; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorDeleteOptionalParams @@ -9597,7 +11906,8 @@ export interface ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the queryIndicators operation. */ -export type ThreatIntelligenceIndicatorQueryIndicatorsResponse = ThreatIntelligenceInformationList; +export type ThreatIntelligenceIndicatorQueryIndicatorsResponse = + ThreatIntelligenceInformationList; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorAppendTagsOptionalParams @@ -9608,14 +11918,16 @@ export interface ThreatIntelligenceIndicatorReplaceTagsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the replaceTags operation. */ -export type ThreatIntelligenceIndicatorReplaceTagsResponse = ThreatIntelligenceInformationUnion; +export type ThreatIntelligenceIndicatorReplaceTagsResponse = + ThreatIntelligenceInformationUnion; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorQueryIndicatorsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the queryIndicatorsNext operation. */ -export type ThreatIntelligenceIndicatorQueryIndicatorsNextResponse = ThreatIntelligenceInformationList; +export type ThreatIntelligenceIndicatorQueryIndicatorsNextResponse = + ThreatIntelligenceInformationList; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorsListOptionalParams @@ -9631,21 +11943,59 @@ export interface ThreatIntelligenceIndicatorsListOptionalParams } /** Contains response data for the list operation. */ -export type ThreatIntelligenceIndicatorsListResponse = ThreatIntelligenceInformationList; +export type ThreatIntelligenceIndicatorsListResponse = + ThreatIntelligenceInformationList; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ThreatIntelligenceIndicatorsListNextResponse = ThreatIntelligenceInformationList; +export type ThreatIntelligenceIndicatorsListNextResponse = + ThreatIntelligenceInformationList; /** Optional parameters. */ export interface ThreatIntelligenceIndicatorMetricsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type ThreatIntelligenceIndicatorMetricsListResponse = ThreatIntelligenceMetricsList; +export type ThreatIntelligenceIndicatorMetricsListResponse = + ThreatIntelligenceMetricsList; + +/** Optional parameters. */ +export interface TriggeredAnalyticsRuleRunGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type TriggeredAnalyticsRuleRunGetResponse = TriggeredAnalyticsRuleRun; + +/** Optional parameters. */ +export interface GetTriggeredAnalyticsRuleRunsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type GetTriggeredAnalyticsRuleRunsListResponse = + TriggeredAnalyticsRuleRuns; + +/** Optional parameters. */ +export interface GetTriggeredAnalyticsRuleRunsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type GetTriggeredAnalyticsRuleRunsListNextResponse = + TriggeredAnalyticsRuleRuns; + +/** Optional parameters. */ +export interface AlertRuleTriggerRuleRunOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the triggerRuleRun operation. */ +export type AlertRuleTriggerRuleRunResponse = AlertRuleTriggerRuleRunHeaders; /** Optional parameters. */ export interface WatchlistsListOptionalParams @@ -9720,6 +12070,246 @@ export interface WatchlistItemsListNextOptionalParams /** Contains response data for the listNext operation. */ export type WatchlistItemsListNextResponse = WatchlistItemList; +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentsListOptionalParams + extends coreClient.OperationOptions { + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceManagerAssignmentsListResponse = + WorkspaceManagerAssignmentList; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagerAssignmentsGetResponse = WorkspaceManagerAssignment; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type WorkspaceManagerAssignmentsCreateOrUpdateResponse = + WorkspaceManagerAssignment; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagerAssignmentsListNextResponse = + WorkspaceManagerAssignmentList; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentJobsListOptionalParams + extends coreClient.OperationOptions { + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceManagerAssignmentJobsListResponse = JobList; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentJobsCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type WorkspaceManagerAssignmentJobsCreateResponse = Job; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentJobsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagerAssignmentJobsGetResponse = Job; + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentJobsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceManagerAssignmentJobsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagerAssignmentJobsListNextResponse = JobList; + +/** Optional parameters. */ +export interface WorkspaceManagerConfigurationsListOptionalParams + extends coreClient.OperationOptions { + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceManagerConfigurationsListResponse = + WorkspaceManagerConfigurationList; + +/** Optional parameters. */ +export interface WorkspaceManagerConfigurationsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagerConfigurationsGetResponse = + WorkspaceManagerConfiguration; + +/** Optional parameters. */ +export interface WorkspaceManagerConfigurationsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type WorkspaceManagerConfigurationsCreateOrUpdateResponse = + WorkspaceManagerConfiguration; + +/** Optional parameters. */ +export interface WorkspaceManagerConfigurationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagerConfigurationsListNextResponse = + WorkspaceManagerConfigurationList; + +/** Optional parameters. */ +export interface WorkspaceManagerGroupsListOptionalParams + extends coreClient.OperationOptions { + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceManagerGroupsListResponse = WorkspaceManagerGroupList; + +/** Optional parameters. */ +export interface WorkspaceManagerGroupsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagerGroupsGetResponse = WorkspaceManagerGroup; + +/** Optional parameters. */ +export interface WorkspaceManagerGroupsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type WorkspaceManagerGroupsCreateOrUpdateResponse = + WorkspaceManagerGroup; + +/** Optional parameters. */ +export interface WorkspaceManagerGroupsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceManagerGroupsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagerGroupsListNextResponse = WorkspaceManagerGroupList; + +/** Optional parameters. */ +export interface WorkspaceManagerMembersListOptionalParams + extends coreClient.OperationOptions { + /** Sorts the results. Optional. */ + orderby?: string; + /** Returns only the first n results. Optional. */ + top?: number; + /** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceManagerMembersListResponse = WorkspaceManagerMembersList; + +/** Optional parameters. */ +export interface WorkspaceManagerMembersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagerMembersGetResponse = WorkspaceManagerMember; + +/** Optional parameters. */ +export interface WorkspaceManagerMembersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type WorkspaceManagerMembersCreateOrUpdateResponse = + WorkspaceManagerMember; + +/** Optional parameters. */ +export interface WorkspaceManagerMembersDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceManagerMembersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagerMembersListNextResponse = + WorkspaceManagerMembersList; + +/** Optional parameters. */ +export interface DataConnectorDefinitionsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type DataConnectorDefinitionsListResponse = + DataConnectorDefinitionArmCollectionWrapper; + +/** Optional parameters. */ +export interface DataConnectorDefinitionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type DataConnectorDefinitionsGetResponse = DataConnectorDefinitionUnion; + +/** Optional parameters. */ +export interface DataConnectorDefinitionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type DataConnectorDefinitionsCreateOrUpdateResponse = + DataConnectorDefinitionUnion; + +/** Optional parameters. */ +export interface DataConnectorDefinitionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface DataConnectorDefinitionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type DataConnectorDefinitionsListNextResponse = + DataConnectorDefinitionArmCollectionWrapper; + /** Optional parameters. */ export interface DataConnectorsListOptionalParams extends coreClient.OperationOptions {} @@ -9765,7 +12355,8 @@ export interface DataConnectorsCheckRequirementsPostOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the post operation. */ -export type DataConnectorsCheckRequirementsPostResponse = DataConnectorRequirementsState; +export type DataConnectorsCheckRequirementsPostResponse = + DataConnectorRequirementsState; /** Optional parameters. */ export interface OperationsListOptionalParams diff --git a/sdk/securityinsight/arm-securityinsight/src/models/mappers.ts b/sdk/securityinsight/arm-securityinsight/src/models/mappers.ts index 6f5b1105eada..621395869b02 100644 --- a/sdk/securityinsight/arm-securityinsight/src/models/mappers.ts +++ b/sdk/securityinsight/arm-securityinsight/src/models/mappers.ts @@ -17,8 +17,8 @@ export const AlertRulesList: coreClient.CompositeMapper = { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -28,13 +28,13 @@ export const AlertRulesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRule" - } - } - } - } - } - } + className: "AlertRule", + }, + }, + }, + }, + }, + }, }; export const Resource: coreClient.CompositeMapper = { @@ -46,32 +46,32 @@ export const Resource: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, systemData: { serializedName: "systemData", type: { name: "Composite", - className: "SystemData" - } - } - } - } + className: "SystemData", + }, + }, + }, + }, }; export const SystemData: coreClient.CompositeMapper = { @@ -82,41 +82,41 @@ export const SystemData: coreClient.CompositeMapper = { createdBy: { serializedName: "createdBy", type: { - name: "String" - } + name: "String", + }, }, createdByType: { serializedName: "createdByType", type: { - name: "String" - } + name: "String", + }, }, createdAt: { serializedName: "createdAt", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedBy: { serializedName: "lastModifiedBy", type: { - name: "String" - } + name: "String", + }, }, lastModifiedByType: { serializedName: "lastModifiedByType", type: { - name: "String" - } + name: "String", + }, }, lastModifiedAt: { serializedName: "lastModifiedAt", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const CloudError: coreClient.CompositeMapper = { @@ -128,11 +128,11 @@ export const CloudError: coreClient.CompositeMapper = { serializedName: "error", type: { name: "Composite", - className: "CloudErrorBody" - } - } - } - } + className: "CloudErrorBody", + }, + }, + }, + }, }; export const CloudErrorBody: coreClient.CompositeMapper = { @@ -144,18 +144,18 @@ export const CloudErrorBody: coreClient.CompositeMapper = { serializedName: "code", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ActionsList: coreClient.CompositeMapper = { @@ -167,8 +167,8 @@ export const ActionsList: coreClient.CompositeMapper = { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -178,13 +178,13 @@ export const ActionsList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ActionResponse" - } - } - } - } - } - } + className: "ActionResponse", + }, + }, + }, + }, + }, + }, }; export const ActionPropertiesBase: coreClient.CompositeMapper = { @@ -196,11 +196,11 @@ export const ActionPropertiesBase: coreClient.CompositeMapper = { serializedName: "logicAppResourceId", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AlertRuleTemplatesList: coreClient.CompositeMapper = { @@ -212,8 +212,8 @@ export const AlertRuleTemplatesList: coreClient.CompositeMapper = { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -223,13 +223,13 @@ export const AlertRuleTemplatesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRuleTemplate" - } - } - } - } - } - } + className: "AlertRuleTemplate", + }, + }, + }, + }, + }, + }, }; export const AutomationRuleTriggeringLogic: coreClient.CompositeMapper = { @@ -241,32 +241,32 @@ export const AutomationRuleTriggeringLogic: coreClient.CompositeMapper = { serializedName: "isEnabled", required: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, expirationTimeUtc: { serializedName: "expirationTimeUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, }, triggersOn: { serializedName: "triggersOn", required: true, type: { - name: "String" - } + name: "String", + }, }, triggersWhen: { serializedName: "triggersWhen", required: true, type: { - name: "String" - } + name: "String", + }, }, conditions: { constraints: { - MaxItems: 50 + MaxItems: 50, }, serializedName: "conditions", type: { @@ -274,13 +274,13 @@ export const AutomationRuleTriggeringLogic: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AutomationRuleCondition" - } - } - } - } - } - } + className: "AutomationRuleCondition", + }, + }, + }, + }, + }, + }, }; export const AutomationRuleCondition: coreClient.CompositeMapper = { @@ -290,18 +290,18 @@ export const AutomationRuleCondition: coreClient.CompositeMapper = { uberParent: "AutomationRuleCondition", polymorphicDiscriminator: { serializedName: "conditionType", - clientName: "conditionType" + clientName: "conditionType", }, modelProperties: { conditionType: { serializedName: "conditionType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AutomationRuleAction: coreClient.CompositeMapper = { @@ -311,25 +311,25 @@ export const AutomationRuleAction: coreClient.CompositeMapper = { uberParent: "AutomationRuleAction", polymorphicDiscriminator: { serializedName: "actionType", - clientName: "actionType" + clientName: "actionType", }, modelProperties: { order: { serializedName: "order", required: true, type: { - name: "Number" - } + name: "Number", + }, }, actionType: { serializedName: "actionType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ClientInfo: coreClient.CompositeMapper = { @@ -340,29 +340,29 @@ export const ClientInfo: coreClient.CompositeMapper = { email: { serializedName: "email", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, objectId: { serializedName: "objectId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, userPrincipalName: { serializedName: "userPrincipalName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AutomationRulesList: coreClient.CompositeMapper = { @@ -377,19 +377,47 @@ export const AutomationRulesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AutomationRule" - } - } - } + className: "AutomationRule", + }, + }, + }, }, nextLink: { serializedName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, +}; + +export const EntityManualTriggerRequestBody: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityManualTriggerRequestBody", + modelProperties: { + incidentArmId: { + serializedName: "incidentArmId", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "Uuid", + }, + }, + logicAppsResourceId: { + serializedName: "logicAppsResourceId", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; export const ManualTriggerRequestBody: coreClient.CompositeMapper = { @@ -400,18 +428,143 @@ export const ManualTriggerRequestBody: coreClient.CompositeMapper = { tenantId: { serializedName: "tenantId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, logicAppsResourceId: { serializedName: "logicAppsResourceId", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, +}; + +export const BillingStatisticList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BillingStatisticList", + modelProperties: { + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BillingStatistic", + }, + }, + }, + }, + }, + }, +}; + +export const ErrorResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, +}; + +export const ErrorDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorDetail", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + type: { + name: "String", + }, + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String", + }, + }, + target: { + serializedName: "target", + readOnly: true, + type: { + name: "String", + }, + }, + details: { + serializedName: "details", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + }, + }, + }, + }, + }, + }, +}; + +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String", + }, + }, + info: { + serializedName: "info", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const BookmarkList: coreClient.CompositeMapper = { @@ -423,8 +576,8 @@ export const BookmarkList: coreClient.CompositeMapper = { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -434,13 +587,13 @@ export const BookmarkList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Bookmark" - } - } - } - } - } - } + className: "Bookmark", + }, + }, + }, + }, + }, + }, }; export const UserInfo: coreClient.CompositeMapper = { @@ -452,25 +605,25 @@ export const UserInfo: coreClient.CompositeMapper = { serializedName: "email", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, objectId: { serializedName: "objectId", nullable: true, type: { - name: "Uuid" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; export const IncidentInfo: coreClient.CompositeMapper = { @@ -481,29 +634,29 @@ export const IncidentInfo: coreClient.CompositeMapper = { incidentId: { serializedName: "incidentId", type: { - name: "String" - } + name: "String", + }, }, severity: { serializedName: "severity", type: { - name: "String" - } + name: "String", + }, }, title: { serializedName: "title", type: { - name: "String" - } + name: "String", + }, }, relationName: { serializedName: "relationName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const BookmarkEntityMappings: coreClient.CompositeMapper = { @@ -514,8 +667,8 @@ export const BookmarkEntityMappings: coreClient.CompositeMapper = { entityType: { serializedName: "entityType", type: { - name: "String" - } + name: "String", + }, }, fieldMappings: { serializedName: "fieldMappings", @@ -524,13 +677,13 @@ export const BookmarkEntityMappings: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EntityFieldMapping" - } - } - } - } - } - } + className: "EntityFieldMapping", + }, + }, + }, + }, + }, + }, }; export const EntityFieldMapping: coreClient.CompositeMapper = { @@ -541,17 +694,17 @@ export const EntityFieldMapping: coreClient.CompositeMapper = { identifier: { serializedName: "identifier", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RelationList: coreClient.CompositeMapper = { @@ -563,8 +716,8 @@ export const RelationList: coreClient.CompositeMapper = { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -574,13 +727,13 @@ export const RelationList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Relation" - } - } - } - } - } - } + className: "Relation", + }, + }, + }, + }, + }, + }, }; export const BookmarkExpandParameters: coreClient.CompositeMapper = { @@ -591,23 +744,23 @@ export const BookmarkExpandParameters: coreClient.CompositeMapper = { endTime: { serializedName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expansionId: { serializedName: "expansionId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, startTime: { serializedName: "startTime", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const BookmarkExpandResponse: coreClient.CompositeMapper = { @@ -619,18 +772,18 @@ export const BookmarkExpandResponse: coreClient.CompositeMapper = { serializedName: "metaData", type: { name: "Composite", - className: "ExpansionResultsMetadata" - } + className: "ExpansionResultsMetadata", + }, }, value: { serializedName: "value", type: { name: "Composite", - className: "BookmarkExpandResponseValue" - } - } - } - } + className: "BookmarkExpandResponseValue", + }, + }, + }, + }, }; export const ExpansionResultsMetadata: coreClient.CompositeMapper = { @@ -645,13 +798,13 @@ export const ExpansionResultsMetadata: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ExpansionResultAggregation" - } - } - } - } - } - } + className: "ExpansionResultAggregation", + }, + }, + }, + }, + }, + }, }; export const ExpansionResultAggregation: coreClient.CompositeMapper = { @@ -662,31 +815,31 @@ export const ExpansionResultAggregation: coreClient.CompositeMapper = { aggregationType: { serializedName: "aggregationType", type: { - name: "String" - } + name: "String", + }, }, count: { serializedName: "count", required: true, type: { - name: "Number" - } + name: "Number", + }, }, displayName: { serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, entityKind: { serializedName: "entityKind", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const BookmarkExpandResponseValue: coreClient.CompositeMapper = { @@ -701,10 +854,10 @@ export const BookmarkExpandResponseValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Entity" - } - } - } + className: "Entity", + }, + }, + }, }, edges: { serializedName: "edges", @@ -713,13 +866,13 @@ export const BookmarkExpandResponseValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ConnectedEntity" - } - } - } - } - } - } + className: "ConnectedEntity", + }, + }, + }, + }, + }, + }, }; export const ConnectedEntity: coreClient.CompositeMapper = { @@ -730,1168 +883,1260 @@ export const ConnectedEntity: coreClient.CompositeMapper = { targetEntityId: { serializedName: "targetEntityId", type: { - name: "String" - } + name: "String", + }, }, additionalData: { serializedName: "additionalData", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const EnrichmentIpGeodata: coreClient.CompositeMapper = { +export const PackageList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnrichmentIpGeodata", + className: "PackageList", modelProperties: { - asn: { - serializedName: "asn", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - carrier: { - serializedName: "carrier", + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageModel", + }, + }, + }, }, - city: { - serializedName: "city", + }, + }, +}; + +export const PackageBaseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PackageBaseProperties", + modelProperties: { + contentId: { + serializedName: "contentId", type: { - name: "String" - } + name: "String", + }, }, - cityCf: { - serializedName: "cityCf", - type: { - name: "Number" - } - }, - continent: { - serializedName: "continent", + contentProductId: { + serializedName: "contentProductId", type: { - name: "String" - } + name: "String", + }, }, - country: { - serializedName: "country", + contentKind: { + serializedName: "contentKind", type: { - name: "String" - } + name: "String", + }, }, - countryCf: { - serializedName: "countryCf", + contentSchemaVersion: { + serializedName: "contentSchemaVersion", type: { - name: "Number" - } + name: "String", + }, }, - ipAddr: { - serializedName: "ipAddr", + isNew: { + serializedName: "isNew", type: { - name: "String" - } + name: "String", + }, }, - ipRoutingType: { - serializedName: "ipRoutingType", + isPreview: { + serializedName: "isPreview", type: { - name: "String" - } + name: "String", + }, }, - latitude: { - serializedName: "latitude", + isFeatured: { + serializedName: "isFeatured", type: { - name: "String" - } + name: "String", + }, }, - longitude: { - serializedName: "longitude", + isDeprecated: { + serializedName: "isDeprecated", type: { - name: "String" - } + name: "String", + }, }, - organization: { - serializedName: "organization", + version: { + serializedName: "version", type: { - name: "String" - } + name: "String", + }, }, - organizationType: { - serializedName: "organizationType", + displayName: { + serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, - region: { - serializedName: "region", + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - state: { - serializedName: "state", + publisherDisplayName: { + serializedName: "publisherDisplayName", type: { - name: "String" - } + name: "String", + }, }, - stateCf: { - serializedName: "stateCf", + source: { + serializedName: "source", type: { - name: "Number" - } + name: "Composite", + className: "MetadataSource", + }, }, - stateCode: { - serializedName: "stateCode", - type: { - name: "String" - } - } - } - } -}; - -export const EnrichmentDomainWhois: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnrichmentDomainWhois", - modelProperties: { - domain: { - serializedName: "domain", + author: { + serializedName: "author", type: { - name: "String" - } + name: "Composite", + className: "MetadataAuthor", + }, }, - server: { - serializedName: "server", + support: { + serializedName: "support", type: { - name: "String" - } + name: "Composite", + className: "MetadataSupport", + }, }, - created: { - serializedName: "created", + dependencies: { + serializedName: "dependencies", type: { - name: "DateTime" - } + name: "Composite", + className: "MetadataDependencies", + }, }, - updated: { - serializedName: "updated", + providers: { + serializedName: "providers", type: { - name: "DateTime" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - expires: { - serializedName: "expires", + firstPublishDate: { + serializedName: "firstPublishDate", type: { - name: "DateTime" - } + name: "Date", + }, }, - parsedWhois: { - serializedName: "parsedWhois", - type: { - name: "Composite", - className: "EnrichmentDomainWhoisDetails" - } - } - } - } -}; - -export const EnrichmentDomainWhoisDetails: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnrichmentDomainWhoisDetails", - modelProperties: { - registrar: { - serializedName: "registrar", + lastPublishDate: { + serializedName: "lastPublishDate", type: { - name: "Composite", - className: "EnrichmentDomainWhoisRegistrarDetails" - } + name: "Date", + }, }, - contacts: { - serializedName: "contacts", + categories: { + serializedName: "categories", type: { name: "Composite", - className: "EnrichmentDomainWhoisContacts" - } + className: "MetadataCategories", + }, }, - nameServers: { - serializedName: "nameServers", + threatAnalysisTactics: { + serializedName: "threatAnalysisTactics", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - statuses: { - serializedName: "statuses", + threatAnalysisTechniques: { + serializedName: "threatAnalysisTechniques", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + icon: { + serializedName: "icon", + type: { + name: "String", + }, + }, + }, + }, }; -export const EnrichmentDomainWhoisRegistrarDetails: coreClient.CompositeMapper = { +export const MetadataSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnrichmentDomainWhoisRegistrarDetails", + className: "MetadataSource", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - abuseContactEmail: { - serializedName: "abuseContactEmail", - type: { - name: "String" - } - }, - abuseContactPhone: { - serializedName: "abuseContactPhone", + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - ianaId: { - serializedName: "ianaId", + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - url: { - serializedName: "url", + sourceId: { + serializedName: "sourceId", type: { - name: "String" - } + name: "String", + }, }, - whoisServer: { - serializedName: "whoisServer", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const EnrichmentDomainWhoisContacts: coreClient.CompositeMapper = { +export const MetadataAuthor: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnrichmentDomainWhoisContacts", + className: "MetadataAuthor", modelProperties: { - admin: { - serializedName: "admin", + name: { + serializedName: "name", type: { - name: "Composite", - className: "EnrichmentDomainWhoisContact" - } + name: "String", + }, }, - billing: { - serializedName: "billing", + email: { + serializedName: "email", type: { - name: "Composite", - className: "EnrichmentDomainWhoisContact" - } + name: "String", + }, }, - registrant: { - serializedName: "registrant", + link: { + serializedName: "link", type: { - name: "Composite", - className: "EnrichmentDomainWhoisContact" - } + name: "String", + }, }, - tech: { - serializedName: "tech", - type: { - name: "Composite", - className: "EnrichmentDomainWhoisContact" - } - } - } - } + }, + }, }; -export const EnrichmentDomainWhoisContact: coreClient.CompositeMapper = { +export const MetadataSupport: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnrichmentDomainWhoisContact", + className: "MetadataSupport", modelProperties: { + tier: { + serializedName: "tier", + required: true, + type: { + name: "String", + }, + }, name: { serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - org: { - serializedName: "org", + email: { + serializedName: "email", type: { - name: "String" - } + name: "String", + }, }, - street: { - serializedName: "street", + link: { + serializedName: "link", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - city: { - serializedName: "city", + }, + }, +}; + +export const MetadataDependencies: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MetadataDependencies", + modelProperties: { + contentId: { + serializedName: "contentId", type: { - name: "String" - } + name: "String", + }, }, - state: { - serializedName: "state", + kind: { + serializedName: "kind", type: { - name: "String" - } + name: "String", + }, }, - postal: { - serializedName: "postal", + version: { + serializedName: "version", type: { - name: "String" - } + name: "String", + }, }, - country: { - serializedName: "country", + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - phone: { - serializedName: "phone", + operator: { + serializedName: "operator", type: { - name: "String" - } + name: "String", + }, }, - fax: { - serializedName: "fax", + criteria: { + serializedName: "criteria", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + }, }, - email: { - serializedName: "email", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const EntityList: coreClient.CompositeMapper = { +export const MetadataCategories: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityList", + className: "MetadataCategories", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - }, - value: { - serializedName: "value", - required: true, + domains: { + serializedName: "domains", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Entity" - } - } - } - } - } - } -}; - -export const EntityExpandParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EntityExpandParameters", - modelProperties: { - endTime: { - serializedName: "endTime", - type: { - name: "DateTime" - } + name: "String", + }, + }, + }, }, - expansionId: { - serializedName: "expansionId", + verticals: { + serializedName: "verticals", type: { - name: "Uuid" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - } - } - } + }, + }, }; -export const EntityExpandResponse: coreClient.CompositeMapper = { +export const ProductPackageList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityExpandResponse", + className: "ProductPackageList", modelProperties: { - metaData: { - serializedName: "metaData", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "ExpansionResultsMetadata" - } + name: "String", + }, }, value: { serializedName: "value", - type: { - name: "Composite", - className: "EntityExpandResponseValue" - } - } - } - } -}; - -export const EntityExpandResponseValue: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EntityExpandResponseValue", - modelProperties: { - entities: { - serializedName: "entities", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Entity" - } - } - } + className: "ProductPackageModel", + }, + }, + }, }, - edges: { - serializedName: "edges", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityEdges" - } - } - } - } - } - } + }, + }, }; -export const EntityEdges: coreClient.CompositeMapper = { +export const ProductPackageAdditionalProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityEdges", + className: "ProductPackageAdditionalProperties", modelProperties: { - targetEntityId: { - serializedName: "targetEntityId", + installedVersion: { + serializedName: "installedVersion", type: { - name: "String" - } + name: "String", + }, }, - additionalData: { - serializedName: "additionalData", + metadataResourceId: { + serializedName: "metadataResourceId", + type: { + name: "String", + }, + }, + packagedContent: { + serializedName: "packagedContent", type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const EntityTimelineParameters: coreClient.CompositeMapper = { +export const ProductTemplateList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityTimelineParameters", + className: "ProductTemplateList", modelProperties: { - kinds: { - serializedName: "kinds", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - }, - startTime: { - serializedName: "startTime", - required: true, - type: { - name: "DateTime" - } + name: "Composite", + className: "ProductTemplateModel", + }, + }, + }, }, - endTime: { - serializedName: "endTime", - required: true, + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - numberOfBucket: { - serializedName: "numberOfBucket", - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const EntityTimelineResponse: coreClient.CompositeMapper = { +export const TemplateBaseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityTimelineResponse", + className: "TemplateBaseProperties", modelProperties: { - metaData: { - serializedName: "metaData", + contentId: { + serializedName: "contentId", + type: { + name: "String", + }, + }, + contentProductId: { + serializedName: "contentProductId", + type: { + name: "String", + }, + }, + packageVersion: { + serializedName: "packageVersion", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + contentKind: { + serializedName: "contentKind", + type: { + name: "String", + }, + }, + source: { + serializedName: "source", type: { name: "Composite", - className: "TimelineResultsMetadata" - } + className: "MetadataSource", + }, }, - value: { - serializedName: "value", + author: { + serializedName: "author", + type: { + name: "Composite", + className: "MetadataAuthor", + }, + }, + support: { + serializedName: "support", + type: { + name: "Composite", + className: "MetadataSupport", + }, + }, + dependencies: { + serializedName: "dependencies", + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + categories: { + serializedName: "categories", + type: { + name: "Composite", + className: "MetadataCategories", + }, + }, + providers: { + serializedName: "providers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "EntityTimelineItem" - } - } - } - } - } - } -}; - -export const TimelineResultsMetadata: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TimelineResultsMetadata", - modelProperties: { - totalCount: { - serializedName: "totalCount", - required: true, + name: "String", + }, + }, + }, + }, + firstPublishDate: { + serializedName: "firstPublishDate", + type: { + name: "Date", + }, + }, + lastPublishDate: { + serializedName: "lastPublishDate", type: { - name: "Number" - } + name: "Date", + }, }, - aggregations: { - serializedName: "aggregations", - required: true, + customVersion: { + serializedName: "customVersion", + type: { + name: "String", + }, + }, + contentSchemaVersion: { + serializedName: "contentSchemaVersion", + type: { + name: "String", + }, + }, + icon: { + serializedName: "icon", + type: { + name: "String", + }, + }, + threatAnalysisTactics: { + serializedName: "threatAnalysisTactics", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "TimelineAggregation" - } - } - } + name: "String", + }, + }, + }, }, - errors: { - serializedName: "errors", + threatAnalysisTechniques: { + serializedName: "threatAnalysisTechniques", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "TimelineError" - } - } - } - } - } - } -}; - -export const TimelineAggregation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TimelineAggregation", - modelProperties: { - count: { - serializedName: "count", - required: true, + name: "String", + }, + }, + }, + }, + previewImages: { + serializedName: "previewImages", type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - kind: { - serializedName: "kind", - required: true, + previewImagesDark: { + serializedName: "previewImagesDark", type: { - name: "String" - } - } - } - } -}; - -export const TimelineError: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TimelineError", - modelProperties: { - kind: { - serializedName: "kind", - required: true, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + packageId: { + serializedName: "packageId", type: { - name: "String" - } + name: "String", + }, }, - queryId: { - serializedName: "queryId", + packageKind: { + serializedName: "packageKind", type: { - name: "String" - } + name: "String", + }, }, - errorMessage: { - serializedName: "errorMessage", - required: true, + packageName: { + serializedName: "packageName", + type: { + name: "String", + }, + }, + isDeprecated: { + serializedName: "isDeprecated", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const EntityTimelineItem: coreClient.CompositeMapper = { +export const ProductTemplateAdditionalProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityTimelineItem", - uberParent: "EntityTimelineItem", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, + className: "ProductTemplateAdditionalProperties", modelProperties: { - kind: { - serializedName: "kind", - required: true, + packagedContent: { + serializedName: "packagedContent", type: { - name: "String" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const GetQueriesResponse: coreClient.CompositeMapper = { +export const TemplateList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetQueriesResponse", + className: "TemplateList", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "EntityQueryItem" - } - } - } - } - } - } -}; - -export const EntityQueryItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EntityQueryItem", - uberParent: "EntityQueryItem", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } + className: "TemplateModel", + }, + }, + }, }, - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - kind: { - serializedName: "kind", - required: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const EntityGetInsightsParameters: coreClient.CompositeMapper = { +export const TemplateAdditionalProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityGetInsightsParameters", + className: "TemplateAdditionalProperties", modelProperties: { - startTime: { - serializedName: "startTime", - required: true, + mainTemplate: { + serializedName: "mainTemplate", type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", - required: true, - type: { - name: "DateTime" - } - }, - addDefaultExtendedTimeRange: { - serializedName: "addDefaultExtendedTimeRange", - type: { - name: "Boolean" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - insightQueryIds: { - serializedName: "insightQueryIds", + dependantTemplates: { + serializedName: "dependantTemplates", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Uuid" - } - } - } - } - } - } + name: "Composite", + className: "TemplateProperties", + }, + }, + }, + }, + }, + }, }; -export const EntityGetInsightsResponse: coreClient.CompositeMapper = { +export const EnrichmentIpGeodata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityGetInsightsResponse", + className: "EnrichmentIpGeodata", modelProperties: { - metaData: { - serializedName: "metaData", + asn: { + serializedName: "asn", type: { - name: "Composite", - className: "GetInsightsResultsMetadata" - } + name: "String", + }, }, - value: { - serializedName: "value", + carrier: { + serializedName: "carrier", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityInsightItem" - } - } - } - } - } - } -}; - -export const GetInsightsResultsMetadata: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetInsightsResultsMetadata", - modelProperties: { - totalCount: { - serializedName: "totalCount", - required: true, + name: "String", + }, + }, + city: { + serializedName: "city", type: { - name: "Number" - } + name: "String", + }, }, - errors: { - serializedName: "errors", + cityCf: { + serializedName: "cityCf", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GetInsightsErrorKind" - } - } - } - } - } - } -}; - -export const GetInsightsErrorKind: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetInsightsErrorKind", - modelProperties: { - kind: { - serializedName: "kind", - required: true, + name: "Number", + }, + }, + continent: { + serializedName: "continent", type: { - name: "String" - } + name: "String", + }, }, - queryId: { - serializedName: "queryId", + country: { + serializedName: "country", type: { - name: "String" - } + name: "String", + }, }, - errorMessage: { - serializedName: "errorMessage", - required: true, + countryCf: { + serializedName: "countryCf", type: { - name: "String" - } - } - } - } -}; - -export const EntityInsightItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EntityInsightItem", - modelProperties: { - queryId: { - serializedName: "queryId", + name: "Number", + }, + }, + ipAddr: { + serializedName: "ipAddr", type: { - name: "String" - } + name: "String", + }, }, - queryTimeInterval: { - serializedName: "queryTimeInterval", + ipRoutingType: { + serializedName: "ipRoutingType", type: { - name: "Composite", - className: "EntityInsightItemQueryTimeInterval" - } + name: "String", + }, }, - tableQueryResults: { - serializedName: "tableQueryResults", + latitude: { + serializedName: "latitude", type: { - name: "Composite", - className: "InsightsTableResult" - } + name: "String", + }, }, - chartQueryResults: { - serializedName: "chartQueryResults", + longitude: { + serializedName: "longitude", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InsightsTableResult" - } - } - } - } - } - } + name: "String", + }, + }, + organization: { + serializedName: "organization", + type: { + name: "String", + }, + }, + organizationType: { + serializedName: "organizationType", + type: { + name: "String", + }, + }, + region: { + serializedName: "region", + type: { + name: "String", + }, + }, + state: { + serializedName: "state", + type: { + name: "String", + }, + }, + stateCf: { + serializedName: "stateCf", + type: { + name: "Number", + }, + }, + stateCode: { + serializedName: "stateCode", + type: { + name: "String", + }, + }, + }, + }, }; -export const EntityInsightItemQueryTimeInterval: coreClient.CompositeMapper = { +export const EnrichmentDomainWhois: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityInsightItemQueryTimeInterval", + className: "EnrichmentDomainWhois", modelProperties: { - startTime: { - serializedName: "startTime", + domain: { + serializedName: "domain", + type: { + name: "String", + }, + }, + server: { + serializedName: "server", type: { - name: "DateTime" - } + name: "String", + }, }, - endTime: { - serializedName: "endTime", + created: { + serializedName: "created", + type: { + name: "DateTime", + }, + }, + updated: { + serializedName: "updated", + type: { + name: "DateTime", + }, + }, + expires: { + serializedName: "expires", + type: { + name: "DateTime", + }, + }, + parsedWhois: { + serializedName: "parsedWhois", type: { - name: "DateTime" - } - } - } - } + name: "Composite", + className: "EnrichmentDomainWhoisDetails", + }, + }, + }, + }, }; -export const InsightsTableResult: coreClient.CompositeMapper = { +export const EnrichmentDomainWhoisDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightsTableResult", + className: "EnrichmentDomainWhoisDetails", modelProperties: { - columns: { - serializedName: "columns", + registrar: { + serializedName: "registrar", + type: { + name: "Composite", + className: "EnrichmentDomainWhoisRegistrarDetails", + }, + }, + contacts: { + serializedName: "contacts", + type: { + name: "Composite", + className: "EnrichmentDomainWhoisContacts", + }, + }, + nameServers: { + serializedName: "nameServers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "InsightsTableResultColumnsItem" - } - } - } + name: "String", + }, + }, + }, }, - rows: { - serializedName: "rows", + statuses: { + serializedName: "statuses", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } - } - } -}; - -export const InsightsTableResultColumnsItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InsightsTableResultColumnsItem", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const EnrichmentDomainWhoisRegistrarDetails: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnrichmentDomainWhoisRegistrarDetails", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + abuseContactEmail: { + serializedName: "abuseContactEmail", + type: { + name: "String", + }, + }, + abuseContactPhone: { + serializedName: "abuseContactPhone", + type: { + name: "String", + }, + }, + ianaId: { + serializedName: "ianaId", + type: { + name: "String", + }, + }, + url: { + serializedName: "url", + type: { + name: "String", + }, + }, + whoisServer: { + serializedName: "whoisServer", + type: { + name: "String", + }, + }, + }, + }, + }; -export const EntityQueryList: coreClient.CompositeMapper = { +export const EnrichmentDomainWhoisContacts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityQueryList", + className: "EnrichmentDomainWhoisContacts", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, + admin: { + serializedName: "admin", type: { - name: "String" - } + name: "Composite", + className: "EnrichmentDomainWhoisContact", + }, }, - value: { - serializedName: "value", - required: true, + billing: { + serializedName: "billing", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityQuery" - } - } - } - } - } - } + name: "Composite", + className: "EnrichmentDomainWhoisContact", + }, + }, + registrant: { + serializedName: "registrant", + type: { + name: "Composite", + className: "EnrichmentDomainWhoisContact", + }, + }, + tech: { + serializedName: "tech", + type: { + name: "Composite", + className: "EnrichmentDomainWhoisContact", + }, + }, + }, + }, }; -export const EntityQueryTemplateList: coreClient.CompositeMapper = { +export const EnrichmentDomainWhoisContact: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityQueryTemplateList", + className: "EnrichmentDomainWhoisContact", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", - required: true, + org: { + serializedName: "org", + type: { + name: "String", + }, + }, + street: { + serializedName: "street", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "EntityQueryTemplate" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + city: { + serializedName: "city", + type: { + name: "String", + }, + }, + state: { + serializedName: "state", + type: { + name: "String", + }, + }, + postal: { + serializedName: "postal", + type: { + name: "String", + }, + }, + country: { + serializedName: "country", + type: { + name: "String", + }, + }, + phone: { + serializedName: "phone", + type: { + name: "String", + }, + }, + fax: { + serializedName: "fax", + type: { + name: "String", + }, + }, + email: { + serializedName: "email", + type: { + name: "String", + }, + }, + }, + }, }; -export const FileImportList: coreClient.CompositeMapper = { +export const EnrichmentIpAddressBody: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FileImportList", + className: "EnrichmentIpAddressBody", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, + ipAddress: { + serializedName: "ipAddress", type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FileImport" - } - } - } - } - } - } + }, + }, }; -export const FileMetadata: coreClient.CompositeMapper = { +export const EnrichmentIpGeodataAutoGenerated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FileMetadata", + className: "EnrichmentIpGeodataAutoGenerated", modelProperties: { - fileFormat: { - serializedName: "fileFormat", + asn: { + serializedName: "asn", type: { - name: "String" - } + name: "String", + }, }, - fileName: { - serializedName: "fileName", + carrier: { + serializedName: "carrier", type: { - name: "String" - } + name: "String", + }, }, - fileSize: { - serializedName: "fileSize", + city: { + serializedName: "city", + type: { + name: "String", + }, + }, + cityConfidenceFactor: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0, + }, + serializedName: "cityConfidenceFactor", type: { - name: "Number" - } + name: "Number", + }, }, - fileContentUri: { - serializedName: "fileContentUri", - readOnly: true, + continent: { + serializedName: "continent", type: { - name: "String" - } + name: "String", + }, }, - deleteStatus: { - serializedName: "deleteStatus", - readOnly: true, + country: { + serializedName: "country", + type: { + name: "String", + }, + }, + countryConfidenceFactor: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0, + }, + serializedName: "countryConfidenceFactor", + type: { + name: "Number", + }, + }, + ipAddr: { + serializedName: "ipAddr", + type: { + name: "String", + }, + }, + ipRoutingType: { + serializedName: "ipRoutingType", + type: { + name: "String", + }, + }, + latitude: { + serializedName: "latitude", + type: { + name: "String", + }, + }, + longitude: { + serializedName: "longitude", + type: { + name: "String", + }, + }, + organization: { + serializedName: "organization", + type: { + name: "String", + }, + }, + organizationType: { + serializedName: "organizationType", + type: { + name: "String", + }, + }, + region: { + serializedName: "region", + type: { + name: "String", + }, + }, + state: { + serializedName: "state", + type: { + name: "String", + }, + }, + stateConfidenceFactor: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0, + }, + serializedName: "stateConfidenceFactor", + type: { + name: "Number", + }, + }, + stateCode: { + serializedName: "stateCode", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ValidationError: coreClient.CompositeMapper = { +export const EnrichmentDomainBody: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ValidationError", + className: "EnrichmentDomainBody", modelProperties: { - recordIndex: { - serializedName: "recordIndex", + domain: { + serializedName: "domain", type: { - name: "Number" - } + name: "String", + }, }, - errorMessages: { - serializedName: "errorMessages", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + }, + }, }; -export const IncidentList: coreClient.CompositeMapper = { +export const EntityList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentList", + className: "EntityList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -1901,627 +2146,619 @@ export const IncidentList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Incident" - } - } - } - } - } - } + className: "Entity", + }, + }, + }, + }, + }, + }, }; -export const IncidentAdditionalData: coreClient.CompositeMapper = { +export const EntityExpandParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentAdditionalData", + className: "EntityExpandParameters", modelProperties: { - alertsCount: { - serializedName: "alertsCount", - readOnly: true, + endTime: { + serializedName: "endTime", type: { - name: "Number" - } + name: "DateTime", + }, }, - bookmarksCount: { - serializedName: "bookmarksCount", - readOnly: true, + expansionId: { + serializedName: "expansionId", type: { - name: "Number" - } + name: "Uuid", + }, }, - commentsCount: { - serializedName: "commentsCount", - readOnly: true, + startTime: { + serializedName: "startTime", type: { - name: "Number" - } + name: "DateTime", + }, }, - alertProductNames: { - serializedName: "alertProductNames", - readOnly: true, + }, + }, +}; + +export const EntityExpandResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityExpandResponse", + modelProperties: { + metaData: { + serializedName: "metaData", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "Composite", + className: "ExpansionResultsMetadata", + }, }, - providerIncidentUrl: { - serializedName: "providerIncidentUrl", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String" - } + name: "Composite", + className: "EntityExpandResponseValue", + }, }, - tactics: { - serializedName: "tactics", - readOnly: true, + }, + }, +}; + +export const EntityExpandResponseValue: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityExpandResponseValue", + modelProperties: { + entities: { + serializedName: "entities", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "Entity", + }, + }, + }, }, - techniques: { - serializedName: "techniques", - readOnly: true, + edges: { + serializedName: "edges", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "EntityEdges", + }, + }, + }, + }, + }, + }, }; -export const IncidentLabel: coreClient.CompositeMapper = { +export const EntityEdges: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentLabel", + className: "EntityEdges", modelProperties: { - labelName: { - serializedName: "labelName", - required: true, + targetEntityId: { + serializedName: "targetEntityId", type: { - name: "String" - } + name: "String", + }, }, - labelType: { - serializedName: "labelType", - readOnly: true, + additionalData: { + serializedName: "additionalData", type: { - name: "String" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const IncidentOwnerInfo: coreClient.CompositeMapper = { +export const EntityTimelineParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentOwnerInfo", + className: "EntityTimelineParameters", modelProperties: { - email: { - serializedName: "email", + kinds: { + serializedName: "kinds", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - assignedTo: { - serializedName: "assignedTo", + startTime: { + serializedName: "startTime", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - objectId: { - serializedName: "objectId", + endTime: { + serializedName: "endTime", + required: true, type: { - name: "Uuid" - } + name: "DateTime", + }, }, - userPrincipalName: { - serializedName: "userPrincipalName", + numberOfBucket: { + serializedName: "numberOfBucket", type: { - name: "String" - } + name: "Number", + }, }, - ownerType: { - serializedName: "ownerType", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const TeamInformation: coreClient.CompositeMapper = { +export const EntityTimelineResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TeamInformation", + className: "EntityTimelineResponse", modelProperties: { - teamId: { - serializedName: "teamId", - readOnly: true, - type: { - name: "String" - } - }, - primaryChannelUrl: { - serializedName: "primaryChannelUrl", - readOnly: true, - type: { - name: "String" - } - }, - teamCreationTimeUtc: { - serializedName: "teamCreationTimeUtc", - readOnly: true, + metaData: { + serializedName: "metaData", type: { - name: "DateTime" - } + name: "Composite", + className: "TimelineResultsMetadata", + }, }, - name: { - serializedName: "name", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EntityTimelineItem", + }, + }, + }, }, - description: { - serializedName: "description", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const TeamProperties: coreClient.CompositeMapper = { +export const TimelineResultsMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TeamProperties", + className: "TimelineResultsMetadata", modelProperties: { - teamName: { - serializedName: "teamName", + totalCount: { + serializedName: "totalCount", required: true, type: { - name: "String" - } - }, - teamDescription: { - serializedName: "teamDescription", - type: { - name: "String" - } + name: "Number", + }, }, - memberIds: { - serializedName: "memberIds", + aggregations: { + serializedName: "aggregations", + required: true, type: { name: "Sequence", element: { type: { - name: "Uuid" - } - } - } + name: "Composite", + className: "TimelineAggregation", + }, + }, + }, }, - groupIds: { - serializedName: "groupIds", + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { - name: "Uuid" - } - } - } - } - } - } + name: "Composite", + className: "TimelineError", + }, + }, + }, + }, + }, + }, }; -export const IncidentAlertList: coreClient.CompositeMapper = { +export const TimelineAggregation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentAlertList", + className: "TimelineAggregation", modelProperties: { - value: { - serializedName: "value", + count: { + serializedName: "count", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SecurityAlert" - } - } - } - } - } - } + name: "Number", + }, + }, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const SecurityAlertPropertiesConfidenceReasonsItem: coreClient.CompositeMapper = { +export const TimelineError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityAlertPropertiesConfidenceReasonsItem", + className: "TimelineError", modelProperties: { - reason: { - serializedName: "reason", - readOnly: true, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, + queryId: { + serializedName: "queryId", type: { - name: "String" - } + name: "String", + }, }, - reasonType: { - serializedName: "reasonType", - readOnly: true, + errorMessage: { + serializedName: "errorMessage", + required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const EntityCommonProperties: coreClient.CompositeMapper = { +export const EntityTimelineItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityCommonProperties", + className: "EntityTimelineItem", + uberParent: "EntityTimelineItem", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, modelProperties: { - additionalData: { - serializedName: "additionalData", - readOnly: true, + kind: { + serializedName: "kind", + required: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + name: "String", + }, }, - friendlyName: { - serializedName: "friendlyName", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const IncidentBookmarkList: coreClient.CompositeMapper = { +export const GetQueriesResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentBookmarkList", + className: "GetQueriesResponse", modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "HuntingBookmark" - } - } - } - } - } - } + className: "EntityQueryItem", + }, + }, + }, + }, + }, + }, }; -export const IncidentCommentList: coreClient.CompositeMapper = { +export const EntityQueryItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentCommentList", + className: "EntityQueryItem", + uberParent: "EntityQueryItem", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, modelProperties: { - nextLink: { - serializedName: "nextLink", + id: { + serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + type: { + name: "String", + }, + }, + kind: { + serializedName: "kind", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IncidentComment" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const IncidentEntitiesResponse: coreClient.CompositeMapper = { +export const EntityGetInsightsParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentEntitiesResponse", + className: "EntityGetInsightsParameters", modelProperties: { - entities: { - serializedName: "entities", + startTime: { + serializedName: "startTime", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Entity" - } - } - } + name: "DateTime", + }, }, - metaData: { - serializedName: "metaData", + endTime: { + serializedName: "endTime", + required: true, + type: { + name: "DateTime", + }, + }, + addDefaultExtendedTimeRange: { + serializedName: "addDefaultExtendedTimeRange", + type: { + name: "Boolean", + }, + }, + insightQueryIds: { + serializedName: "insightQueryIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IncidentEntitiesResultsMetadata" - } - } - } - } - } - } + name: "Uuid", + }, + }, + }, + }, + }, + }, }; -export const IncidentEntitiesResultsMetadata: coreClient.CompositeMapper = { +export const EntityGetInsightsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentEntitiesResultsMetadata", + className: "EntityGetInsightsResponse", modelProperties: { - count: { - serializedName: "count", - required: true, + metaData: { + serializedName: "metaData", type: { - name: "Number" - } + name: "Composite", + className: "GetInsightsResultsMetadata", + }, }, - entityKind: { - serializedName: "entityKind", - required: true, + value: { + serializedName: "value", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EntityInsightItem", + }, + }, + }, + }, + }, + }, }; -export const MetadataList: coreClient.CompositeMapper = { +export const GetInsightsResultsMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataList", + className: "GetInsightsResultsMetadata", modelProperties: { - value: { - serializedName: "value", + totalCount: { + serializedName: "totalCount", required: true, + type: { + name: "Number", + }, + }, + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MetadataModel" - } - } - } + className: "GetInsightsErrorKind", + }, + }, + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const MetadataSource: coreClient.CompositeMapper = { +export const GetInsightsErrorKind: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataSource", + className: "GetInsightsErrorKind", modelProperties: { kind: { serializedName: "kind", required: true, type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + queryId: { + serializedName: "queryId", type: { - name: "String" - } + name: "String", + }, }, - sourceId: { - serializedName: "sourceId", + errorMessage: { + serializedName: "errorMessage", + required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const MetadataAuthor: coreClient.CompositeMapper = { +export const EntityInsightItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataAuthor", + className: "EntityInsightItem", modelProperties: { - name: { - serializedName: "name", + queryId: { + serializedName: "queryId", type: { - name: "String" - } + name: "String", + }, }, - email: { - serializedName: "email", + queryTimeInterval: { + serializedName: "queryTimeInterval", + type: { + name: "Composite", + className: "EntityInsightItemQueryTimeInterval", + }, + }, + tableQueryResults: { + serializedName: "tableQueryResults", type: { - name: "String" - } + name: "Composite", + className: "InsightsTableResult", + }, }, - link: { - serializedName: "link", + chartQueryResults: { + serializedName: "chartQueryResults", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InsightsTableResult", + }, + }, + }, + }, + }, + }, }; -export const MetadataSupport: coreClient.CompositeMapper = { +export const EntityInsightItemQueryTimeInterval: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataSupport", + className: "EntityInsightItemQueryTimeInterval", modelProperties: { - tier: { - serializedName: "tier", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", + startTime: { + serializedName: "startTime", type: { - name: "String" - } + name: "DateTime", + }, }, - email: { - serializedName: "email", + endTime: { + serializedName: "endTime", type: { - name: "String" - } + name: "DateTime", + }, }, - link: { - serializedName: "link", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const MetadataDependencies: coreClient.CompositeMapper = { +export const InsightsTableResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataDependencies", + className: "InsightsTableResult", modelProperties: { - contentId: { - serializedName: "contentId", - type: { - name: "String" - } - }, - kind: { - serializedName: "kind", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - operator: { - serializedName: "operator", + columns: { + serializedName: "columns", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InsightsTableResultColumnsItem", + }, + }, + }, }, - criteria: { - serializedName: "criteria", + rows: { + serializedName: "rows", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "MetadataDependencies" - } - } - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }, + }, }; -export const MetadataCategories: coreClient.CompositeMapper = { +export const InsightsTableResultColumnsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetadataCategories", + className: "InsightsTableResultColumnsItem", modelProperties: { - domains: { - serializedName: "domains", + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - verticals: { - serializedName: "verticals", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const OfficeConsentList: coreClient.CompositeMapper = { +export const EntityQueryList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficeConsentList", + className: "EntityQueryList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -2531,20 +2768,27 @@ export const OfficeConsentList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "OfficeConsent" - } - } - } - } - } - } + className: "EntityQuery", + }, + }, + }, + }, + }, + }, }; -export const SentinelOnboardingStatesList: coreClient.CompositeMapper = { +export const EntityQueryTemplateList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SentinelOnboardingStatesList", + className: "EntityQueryTemplateList", modelProperties: { + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, value: { serializedName: "value", required: true, @@ -2553,26 +2797,26 @@ export const SentinelOnboardingStatesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SentinelOnboardingState" - } - } - } - } - } - } + className: "EntityQueryTemplate", + }, + }, + }, + }, + }, + }, }; -export const SecurityMLAnalyticsSettingsList: coreClient.CompositeMapper = { +export const FileImportList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityMLAnalyticsSettingsList", + className: "FileImportList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -2582,48 +2826,94 @@ export const SecurityMLAnalyticsSettingsList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityMLAnalyticsSetting" - } - } - } - } - } - } + className: "FileImport", + }, + }, + }, + }, + }, + }, }; -export const SettingList: coreClient.CompositeMapper = { +export const FileMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SettingList", + className: "FileMetadata", modelProperties: { - value: { - serializedName: "value", - required: true, + fileFormat: { + serializedName: "fileFormat", + type: { + name: "String", + }, + }, + fileName: { + serializedName: "fileName", + type: { + name: "String", + }, + }, + fileSize: { + serializedName: "fileSize", + type: { + name: "Number", + }, + }, + fileContentUri: { + serializedName: "fileContentUri", + readOnly: true, + type: { + name: "String", + }, + }, + deleteStatus: { + serializedName: "deleteStatus", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ValidationError: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidationError", + modelProperties: { + recordIndex: { + serializedName: "recordIndex", + type: { + name: "Number", + }, + }, + errorMessages: { + serializedName: "errorMessages", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Settings" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; -export const RepoList: coreClient.CompositeMapper = { +export const HuntList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RepoList", + className: "HuntList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -2633,58 +2923,66 @@ export const RepoList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Repo" - } - } - } - } - } - } + className: "Hunt", + }, + }, + }, + }, + }, + }, }; -export const Repo: coreClient.CompositeMapper = { +export const HuntOwner: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Repo", + className: "HuntOwner", modelProperties: { - url: { - serializedName: "url", + email: { + serializedName: "email", type: { - name: "String" - } + name: "String", + }, }, - fullName: { - serializedName: "fullName", + assignedTo: { + serializedName: "assignedTo", type: { - name: "String" - } + name: "String", + }, }, - branches: { - serializedName: "branches", + objectId: { + serializedName: "objectId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "Uuid", + }, + }, + userPrincipalName: { + serializedName: "userPrincipalName", + type: { + name: "String", + }, + }, + ownerType: { + serializedName: "ownerType", + type: { + name: "String", + }, + }, + }, + }, }; -export const SourceControlList: coreClient.CompositeMapper = { +export const HuntRelationList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlList", + className: "HuntRelationList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -2694,400 +2992,327 @@ export const SourceControlList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControl" - } - } - } - } - } - } + className: "HuntRelation", + }, + }, + }, + }, + }, + }, }; -export const Repository: coreClient.CompositeMapper = { +export const HuntCommentList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Repository", + className: "HuntCommentList", modelProperties: { - url: { - serializedName: "url", - type: { - name: "String" - } - }, - branch: { - serializedName: "branch", - type: { - name: "String" - } - }, - displayUrl: { - serializedName: "displayUrl", - type: { - name: "String" - } - }, - deploymentLogsUrl: { - serializedName: "deploymentLogsUrl", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - pathMapping: { - serializedName: "pathMapping", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContentPathMap" - } - } - } - } - } - } -}; - -export const ContentPathMap: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContentPathMap", - modelProperties: { - contentType: { - serializedName: "contentType", - type: { - name: "String" - } + className: "HuntComment", + }, + }, + }, }, - path: { - serializedName: "path", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const RepositoryResourceInfo: coreClient.CompositeMapper = { +export const IncidentList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RepositoryResourceInfo", + className: "IncidentList", modelProperties: { - webhook: { - serializedName: "webhook", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "Webhook" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Incident", + }, + }, + }, }, - gitHubResourceInfo: { - serializedName: "gitHubResourceInfo", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "GitHubResourceInfo" - } + name: "String", + }, }, - azureDevOpsResourceInfo: { - serializedName: "azureDevOpsResourceInfo", - type: { - name: "Composite", - className: "AzureDevOpsResourceInfo" - } - } - } - } + }, + }, }; -export const Webhook: coreClient.CompositeMapper = { +export const IncidentOwnerInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", + className: "IncidentOwnerInfo", modelProperties: { - webhookId: { - serializedName: "webhookId", + email: { + serializedName: "email", type: { - name: "String" - } + name: "String", + }, }, - webhookUrl: { - serializedName: "webhookUrl", + assignedTo: { + serializedName: "assignedTo", type: { - name: "String" - } + name: "String", + }, }, - webhookSecretUpdateTime: { - serializedName: "webhookSecretUpdateTime", + objectId: { + serializedName: "objectId", type: { - name: "String" - } + name: "Uuid", + }, }, - rotateWebhookSecret: { - serializedName: "rotateWebhookSecret", - type: { - name: "Boolean" - } - } - } - } -}; - -export const GitHubResourceInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GitHubResourceInfo", - modelProperties: { - appInstallationId: { - serializedName: "appInstallationId", - type: { - name: "String" - } - } - } - } -}; - -export const AzureDevOpsResourceInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureDevOpsResourceInfo", - modelProperties: { - pipelineId: { - serializedName: "pipelineId", + userPrincipalName: { + serializedName: "userPrincipalName", type: { - name: "String" - } + name: "String", + }, }, - serviceConnectionId: { - serializedName: "serviceConnectionId", + ownerType: { + serializedName: "ownerType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DeploymentInfo: coreClient.CompositeMapper = { +export const IncidentLabel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentInfo", + className: "IncidentLabel", modelProperties: { - deploymentFetchStatus: { - serializedName: "deploymentFetchStatus", + labelName: { + serializedName: "labelName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - deployment: { - serializedName: "deployment", + labelType: { + serializedName: "labelType", + readOnly: true, type: { - name: "Composite", - className: "Deployment" - } + name: "String", + }, }, - message: { - serializedName: "message", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const Deployment: coreClient.CompositeMapper = { +export const IncidentAdditionalData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Deployment", + className: "IncidentAdditionalData", modelProperties: { - deploymentId: { - serializedName: "deploymentId", + alertsCount: { + serializedName: "alertsCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - deploymentState: { - serializedName: "deploymentState", + bookmarksCount: { + serializedName: "bookmarksCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - deploymentResult: { - serializedName: "deploymentResult", + commentsCount: { + serializedName: "commentsCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - deploymentTime: { - serializedName: "deploymentTime", - type: { - name: "DateTime" - } - }, - deploymentLogsUrl: { - serializedName: "deploymentLogsUrl", - type: { - name: "String" - } - } - } - } -}; - -export const ThreatIntelligenceKillChainPhase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceKillChainPhase", - modelProperties: { - killChainName: { - serializedName: "killChainName", + alertProductNames: { + serializedName: "alertProductNames", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - phaseName: { - serializedName: "phaseName", - type: { - name: "String" - } - } - } - } -}; - -export const ThreatIntelligenceParsedPattern: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceParsedPattern", - modelProperties: { - patternTypeKey: { - serializedName: "patternTypeKey", + tactics: { + serializedName: "tactics", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - patternTypeValues: { - serializedName: "patternTypeValues", + techniques: { + serializedName: "techniques", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ThreatIntelligenceParsedPatternTypeValue" - } - } - } - } - } - } -}; - -export const ThreatIntelligenceParsedPatternTypeValue: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceParsedPatternTypeValue", - modelProperties: { - valueType: { - serializedName: "valueType", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - value: { - serializedName: "value", + providerIncidentUrl: { + serializedName: "providerIncidentUrl", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ThreatIntelligenceExternalReference: coreClient.CompositeMapper = { +export const TeamInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceExternalReference", + className: "TeamInformation", modelProperties: { - description: { - serializedName: "description", + teamId: { + serializedName: "teamId", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - externalId: { - serializedName: "externalId", + primaryChannelUrl: { + serializedName: "primaryChannelUrl", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - sourceName: { - serializedName: "sourceName", + teamCreationTimeUtc: { + serializedName: "teamCreationTimeUtc", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - url: { - serializedName: "url", + name: { + serializedName: "name", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - hashes: { - serializedName: "hashes", + description: { + serializedName: "description", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ThreatIntelligenceGranularMarkingModel: coreClient.CompositeMapper = { +export const IncidentAlertList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceGranularMarkingModel", + className: "IncidentAlertList", modelProperties: { - language: { - serializedName: "language", - type: { - name: "String" - } - }, - markingRef: { - serializedName: "markingRef", - type: { - name: "Number" - } - }, - selectors: { - serializedName: "selectors", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } -}; + name: "Composite", + className: "SecurityAlert", + }, + }, + }, + }, + }, + }, +}; + +export const SecurityAlertPropertiesConfidenceReasonsItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "SecurityAlertPropertiesConfidenceReasonsItem", + modelProperties: { + reason: { + serializedName: "reason", + readOnly: true, + type: { + name: "String", + }, + }, + reasonType: { + serializedName: "reasonType", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, + }; -export const ThreatIntelligenceInformationList: coreClient.CompositeMapper = { +export const EntityCommonProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceInformationList", + className: "EntityCommonProperties", modelProperties: { - nextLink: { - serializedName: "nextLink", + additionalData: { + serializedName: "additionalData", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + friendlyName: { + serializedName: "friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, + }, + }, +}; + +export const IncidentBookmarkList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IncidentBookmarkList", + modelProperties: { value: { serializedName: "value", required: true, @@ -3096,295 +3321,167 @@ export const ThreatIntelligenceInformationList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligenceInformation" - } - } - } - } - } - } + className: "HuntingBookmark", + }, + }, + }, + }, + }, + }, }; -export const ThreatIntelligenceFilteringCriteria: coreClient.CompositeMapper = { +export const IncidentCommentList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceFilteringCriteria", + className: "IncidentCommentList", modelProperties: { - pageSize: { - serializedName: "pageSize", - type: { - name: "Number" - } - }, - minConfidence: { - serializedName: "minConfidence", - type: { - name: "Number" - } - }, - maxConfidence: { - serializedName: "maxConfidence", - type: { - name: "Number" - } - }, - minValidUntil: { - serializedName: "minValidUntil", - type: { - name: "String" - } - }, - maxValidUntil: { - serializedName: "maxValidUntil", - type: { - name: "String" - } - }, - includeDisabled: { - serializedName: "includeDisabled", - type: { - name: "Boolean" - } - }, - sortBy: { - serializedName: "sortBy", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceSortingCriteria" - } - } - } - }, - sources: { - serializedName: "sources", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - patternTypes: { - serializedName: "patternTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + className: "IncidentComment", + }, + }, + }, }, - threatTypes: { - serializedName: "threatTypes", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - ids: { - serializedName: "ids", + }, + }, +}; + +export const IncidentEntitiesResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IncidentEntitiesResponse", + modelProperties: { + entities: { + serializedName: "entities", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "Entity", + }, + }, + }, }, - keywords: { - serializedName: "keywords", + metaData: { + serializedName: "metaData", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "IncidentEntitiesResultsMetadata", + }, + }, + }, }, - skipToken: { - serializedName: "skipToken", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ThreatIntelligenceSortingCriteria: coreClient.CompositeMapper = { +export const IncidentEntitiesResultsMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceSortingCriteria", + className: "IncidentEntitiesResultsMetadata", modelProperties: { - itemKey: { - serializedName: "itemKey", + entityKind: { + serializedName: "entityKind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - sortOrder: { - serializedName: "sortOrder", + count: { + serializedName: "count", + required: true, type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const ThreatIntelligenceMetricsList: coreClient.CompositeMapper = { +export const IncidentTaskList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceMetricsList", + className: "IncidentTaskList", modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceMetrics" - } - } - } - } - } - } -}; - -export const ThreatIntelligenceMetrics: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceMetrics", - modelProperties: { - properties: { - serializedName: "properties", + className: "IncidentTask", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ThreatIntelligenceMetric" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ThreatIntelligenceMetric: coreClient.CompositeMapper = { +export const MetadataList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceMetric", + className: "MetadataList", modelProperties: { - lastUpdatedTimeUtc: { - serializedName: "lastUpdatedTimeUtc", - type: { - name: "String" - } - }, - threatTypeMetrics: { - serializedName: "threatTypeMetrics", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThreatIntelligenceMetricEntity" - } - } - } - }, - patternTypeMetrics: { - serializedName: "patternTypeMetrics", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceMetricEntity" - } - } - } + className: "MetadataModel", + }, + }, + }, }, - sourceMetrics: { - serializedName: "sourceMetrics", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThreatIntelligenceMetricEntity" - } - } - } - } - } - } -}; - -export const ThreatIntelligenceMetricEntity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceMetricEntity", - modelProperties: { - metricName: { - serializedName: "metricName", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - metricValue: { - serializedName: "metricValue", - type: { - name: "Number" - } - } - } - } -}; - -export const ThreatIntelligenceAppendTags: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceAppendTags", - modelProperties: { - threatIntelligenceTags: { - serializedName: "threatIntelligenceTags", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + }, + }, }; -export const WatchlistList: coreClient.CompositeMapper = { +export const OfficeConsentList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WatchlistList", + className: "OfficeConsentList", modelProperties: { nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -3394,27 +3491,20 @@ export const WatchlistList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Watchlist" - } - } - } - } - } - } + className: "OfficeConsent", + }, + }, + }, + }, + }, + }, }; -export const WatchlistItemList: coreClient.CompositeMapper = { +export const SentinelOnboardingStatesList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WatchlistItemList", + className: "SentinelOnboardingStatesList", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - }, value: { serializedName: "value", required: true, @@ -3423,6819 +3513,10337 @@ export const WatchlistItemList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WatchlistItem" - } - } - } - } - } - } + className: "SentinelOnboardingState", + }, + }, + }, + }, + }, + }, }; -export const DataConnectorList: coreClient.CompositeMapper = { +export const RecommendationList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataConnectorList", + className: "RecommendationList", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - }, value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataConnector" - } - } - } - } - } - } + className: "Recommendation", + }, + }, + }, + }, + }, + }, }; -export const DataConnectorConnectBody: coreClient.CompositeMapper = { +export const Recommendation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataConnectorConnectBody", + className: "Recommendation", modelProperties: { - kind: { - serializedName: "kind", + id: { + serializedName: "id", + required: true, type: { - name: "String" - } + name: "Uuid", + }, }, - apiKey: { - serializedName: "apiKey", + instructions: { + serializedName: "instructions", type: { - name: "String" - } + name: "Composite", + className: "Instructions", + }, }, - dataCollectionEndpoint: { - serializedName: "dataCollectionEndpoint", + content: { + serializedName: "content", type: { - name: "String" - } + name: "Composite", + className: "Content", + }, }, - dataCollectionRuleImmutableId: { - serializedName: "dataCollectionRuleImmutableId", + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + additionalProperties: { + serializedName: "additionalProperties", + nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - outputStream: { - serializedName: "outputStream", + title: { + serializedName: "title", + required: true, type: { - name: "String" - } + name: "String", + }, }, - clientSecret: { - serializedName: "clientSecret", + description: { + serializedName: "description", + required: true, type: { - name: "String" - } + name: "String", + }, }, - clientId: { - serializedName: "clientId", + recommendationTypeTitle: { + serializedName: "recommendationTypeTitle", + required: true, type: { - name: "String" - } + name: "String", + }, }, - authorizationCode: { - serializedName: "authorizationCode", + recommendationTypeId: { + serializedName: "recommendationTypeId", + required: true, type: { - name: "String" - } + name: "String", + }, }, - userName: { - serializedName: "userName", + category: { + serializedName: "category", + required: true, type: { - name: "String" - } + name: "String", + }, }, - password: { - serializedName: "password", + context: { + serializedName: "context", + required: true, type: { - name: "String" - } + name: "String", + }, }, - requestConfigUserInputValues: { - serializedName: "requestConfigUserInputValues", + workspaceId: { + serializedName: "workspaceId", + required: true, + type: { + name: "Uuid", + }, + }, + actions: { + serializedName: "actions", + required: true, type: { name: "Sequence", element: { type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } - } - } -}; - -export const DataConnectorsCheckRequirements: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataConnectorsCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - modelProperties: { - kind: { - serializedName: "kind", + name: "Composite", + className: "RecommendedAction", + }, + }, + }, + }, + state: { + serializedName: "state", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + priority: { + serializedName: "priority", + required: true, + type: { + name: "String", + }, + }, + lastEvaluatedTimeUtc: { + serializedName: "lastEvaluatedTimeUtc", + required: true, + type: { + name: "DateTime", + }, + }, + hideUntilTimeUtc: { + serializedName: "hideUntilTimeUtc", + nullable: true, + type: { + name: "DateTime", + }, + }, + displayUntilTimeUtc: { + serializedName: "displayUntilTimeUtc", + nullable: true, + type: { + name: "DateTime", + }, + }, + visible: { + serializedName: "visible", + type: { + name: "Boolean", + }, + }, + }, + }, }; -export const DataConnectorRequirementsState: coreClient.CompositeMapper = { +export const Instructions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataConnectorRequirementsState", + className: "Instructions", modelProperties: { - authorizationState: { - serializedName: "authorizationState", + actionsToBePerformed: { + serializedName: "actionsToBePerformed", + required: true, type: { - name: "String" - } + name: "String", + }, }, - licenseState: { - serializedName: "licenseState", + recommendationImportance: { + serializedName: "recommendationImportance", + required: true, + type: { + name: "String", + }, + }, + howToPerformActionDetails: { + serializedName: "howToPerformActionDetails", + nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const OperationsList: coreClient.CompositeMapper = { +export const Content: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationsList", + className: "Content", modelProperties: { - nextLink: { - serializedName: "nextLink", - readOnly: true, + title: { + serializedName: "title", + required: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + description: { + serializedName: "description", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const Operation: coreClient.CompositeMapper = { +export const RecommendedAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "RecommendedAction", modelProperties: { - display: { - serializedName: "display", + linkText: { + serializedName: "linkText", + required: true, type: { - name: "Composite", - className: "OperationDisplay" - } + name: "String", + }, }, - name: { - serializedName: "name", + linkUrl: { + serializedName: "linkUrl", + required: true, type: { - name: "String" - } + name: "String", + }, }, - origin: { - serializedName: "origin", + state: { + serializedName: "state", type: { - name: "String" - } + name: "String", + }, }, - isDataAction: { - serializedName: "isDataAction", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const RecommendationPatch: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "RecommendationPatch", modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", + state: { + serializedName: "state", type: { - name: "String" - } + name: "String", + }, }, - provider: { - serializedName: "provider", + hideUntilTimeUtc: { + serializedName: "hideUntilTimeUtc", type: { - name: "String" - } + name: "DateTime", + }, }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AlertRuleTemplateDataSource: coreClient.CompositeMapper = { +export const SecurityMLAnalyticsSettingsList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AlertRuleTemplateDataSource", + className: "SecurityMLAnalyticsSettingsList", modelProperties: { - connectorId: { - serializedName: "connectorId", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - dataTypes: { - serializedName: "dataTypes", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "SecurityMLAnalyticsSetting", + }, + }, + }, + }, + }, + }, }; -export const AlertRuleTemplatePropertiesBase: coreClient.CompositeMapper = { +export const SettingList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AlertRuleTemplatePropertiesBase", + className: "SettingList", modelProperties: { - alertRulesCreatedByTemplateCount: { - serializedName: "alertRulesCreatedByTemplateCount", + value: { + serializedName: "value", + required: true, type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Settings", + }, + }, + }, }, - lastUpdatedDateUTC: { - serializedName: "lastUpdatedDateUTC", - readOnly: true, + }, + }, +}; + +export const RepositoryAccessProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RepositoryAccessProperties", + modelProperties: { + kind: { + serializedName: "properties.repositoryAccess.kind", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - createdDateUTC: { - serializedName: "createdDateUTC", - readOnly: true, + code: { + serializedName: "properties.repositoryAccess.code", type: { - name: "DateTime" - } + name: "String", + }, }, - description: { - serializedName: "description", + state: { + serializedName: "properties.repositoryAccess.state", type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", + clientId: { + serializedName: "properties.repositoryAccess.clientId", type: { - name: "String" - } + name: "String", + }, }, - requiredDataConnectors: { - serializedName: "requiredDataConnectors", + token: { + serializedName: "properties.repositoryAccess.token", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + name: "String", + }, }, - status: { - serializedName: "status", + installationId: { + serializedName: "properties.repositoryAccess.installationId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const QueryBasedAlertRuleTemplateProperties: coreClient.CompositeMapper = { +export const RepositoryAccess: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueryBasedAlertRuleTemplateProperties", + className: "RepositoryAccess", modelProperties: { - query: { - serializedName: "query", + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - severity: { - serializedName: "severity", + code: { + serializedName: "code", type: { - name: "String" - } + name: "String", + }, }, - version: { - serializedName: "version", + state: { + serializedName: "state", type: { - name: "String" - } + name: "String", + }, }, - customDetails: { - serializedName: "customDetails", + clientId: { + serializedName: "clientId", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - entityMappings: { - serializedName: "entityMappings", + token: { + serializedName: "token", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityMapping" - } - } - } + name: "String", + }, }, - alertDetailsOverride: { - serializedName: "alertDetailsOverride", + installationId: { + serializedName: "installationId", type: { - name: "Composite", - className: "AlertDetailsOverride" - } + name: "String", + }, }, - eventGroupingSettings: { - serializedName: "eventGroupingSettings", - type: { - name: "Composite", - className: "EventGroupingSettings" - } - } - } - } + }, + }, }; -export const EntityMapping: coreClient.CompositeMapper = { +export const RepoList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityMapping", + className: "RepoList", modelProperties: { - entityType: { - serializedName: "entityType", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - fieldMappings: { - serializedName: "fieldMappings", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "FieldMapping" - } - } - } - } - } - } -}; - -export const FieldMapping: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FieldMapping", - modelProperties: { - identifier: { - serializedName: "identifier", - type: { - name: "String" - } + className: "Repo", + }, + }, + }, }, - columnName: { - serializedName: "columnName", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AlertDetailsOverride: coreClient.CompositeMapper = { +export const Repo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AlertDetailsOverride", + className: "Repo", modelProperties: { - alertDisplayNameFormat: { - serializedName: "alertDisplayNameFormat", + url: { + serializedName: "url", type: { - name: "String" - } + name: "String", + }, }, - alertDescriptionFormat: { - serializedName: "alertDescriptionFormat", + fullName: { + serializedName: "fullName", type: { - name: "String" - } + name: "String", + }, }, - alertTacticsColumnName: { - serializedName: "alertTacticsColumnName", + installationId: { + serializedName: "installationId", type: { - name: "String" - } + name: "Number", + }, }, - alertSeverityColumnName: { - serializedName: "alertSeverityColumnName", - type: { - name: "String" - } - } - } - } -}; - -export const EventGroupingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EventGroupingSettings", - modelProperties: { - aggregationKind: { - serializedName: "aggregationKind", + branches: { + serializedName: "branches", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const FusionSourceSettings: coreClient.CompositeMapper = { +export const SourceControlList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionSourceSettings", + className: "SourceControlList", modelProperties: { - enabled: { - serializedName: "enabled", - required: true, + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - sourceName: { - serializedName: "sourceName", + value: { + serializedName: "value", required: true, - type: { - name: "String" - } - }, - sourceSubTypes: { - serializedName: "sourceSubTypes", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FusionSourceSubTypeSetting" - } - } - } - } - } - } + className: "SourceControl", + }, + }, + }, + }, + }, + }, }; -export const FusionSourceSubTypeSetting: coreClient.CompositeMapper = { +export const Repository: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionSourceSubTypeSetting", + className: "Repository", modelProperties: { - enabled: { - serializedName: "enabled", + url: { + serializedName: "url", required: true, type: { - name: "Boolean" - } + name: "String", + }, }, - sourceSubTypeName: { - serializedName: "sourceSubTypeName", + branch: { + serializedName: "branch", required: true, type: { - name: "String" - } + name: "String", + }, }, - sourceSubTypeDisplayName: { - serializedName: "sourceSubTypeDisplayName", - readOnly: true, + displayUrl: { + serializedName: "displayUrl", type: { - name: "String" - } + name: "String", + }, }, - severityFilters: { - serializedName: "severityFilters", + deploymentLogsUrl: { + serializedName: "deploymentLogsUrl", + readOnly: true, type: { - name: "Composite", - className: "FusionSubTypeSeverityFilter" - } - } - } - } -}; + name: "String", + }, + }, + }, + }, +}; -export const FusionSubTypeSeverityFilter: coreClient.CompositeMapper = { +export const ServicePrincipal: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionSubTypeSeverityFilter", + className: "ServicePrincipal", modelProperties: { - isSupported: { - serializedName: "isSupported", + id: { + serializedName: "id", readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - filters: { - serializedName: "filters", + tenantId: { + serializedName: "tenantId", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FusionSubTypeSeverityFiltersItem" - } - } - } - } - } - } + name: "String", + }, + }, + appId: { + serializedName: "appId", + readOnly: true, + type: { + name: "String", + }, + }, + credentialsExpireOn: { + serializedName: "credentialsExpireOn", + type: { + name: "DateTime", + }, + }, + }, + }, }; -export const FusionSubTypeSeverityFiltersItem: coreClient.CompositeMapper = { +export const RepositoryResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionSubTypeSeverityFiltersItem", + className: "RepositoryResourceInfo", modelProperties: { - severity: { - serializedName: "severity", - required: true, + webhook: { + serializedName: "webhook", type: { - name: "String" - } + name: "Composite", + className: "Webhook", + }, }, - enabled: { - serializedName: "enabled", - required: true, + gitHubResourceInfo: { + serializedName: "gitHubResourceInfo", type: { - name: "Boolean" - } - } - } - } + name: "Composite", + className: "GitHubResourceInfo", + }, + }, + azureDevOpsResourceInfo: { + serializedName: "azureDevOpsResourceInfo", + type: { + name: "Composite", + className: "AzureDevOpsResourceInfo", + }, + }, + }, + }, }; -export const FusionScenarioExclusionPattern: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionScenarioExclusionPattern", + className: "Webhook", modelProperties: { - exclusionPattern: { - serializedName: "exclusionPattern", - required: true, + webhookId: { + serializedName: "webhookId", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - dateAddedInUTC: { - serializedName: "dateAddedInUTC", - required: true, + webhookUrl: { + serializedName: "webhookUrl", + readOnly: true, + type: { + name: "String", + }, + }, + webhookSecretUpdateTime: { + serializedName: "webhookSecretUpdateTime", + readOnly: true, + type: { + name: "DateTime", + }, + }, + rotateWebhookSecret: { + serializedName: "rotateWebhookSecret", type: { - name: "String" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; -export const FusionTemplateSourceSetting: coreClient.CompositeMapper = { +export const GitHubResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionTemplateSourceSetting", + className: "GitHubResourceInfo", modelProperties: { - sourceName: { - serializedName: "sourceName", - required: true, + appInstallationId: { + serializedName: "appInstallationId", type: { - name: "String" - } + name: "String", + }, }, - sourceSubTypes: { - serializedName: "sourceSubTypes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FusionTemplateSourceSubType" - } - } - } - } - } - } + }, + }, }; -export const FusionTemplateSourceSubType: coreClient.CompositeMapper = { +export const AzureDevOpsResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionTemplateSourceSubType", + className: "AzureDevOpsResourceInfo", modelProperties: { - sourceSubTypeName: { - serializedName: "sourceSubTypeName", - required: true, + pipelineId: { + serializedName: "pipelineId", type: { - name: "String" - } + name: "String", + }, }, - sourceSubTypeDisplayName: { - serializedName: "sourceSubTypeDisplayName", - readOnly: true, + serviceConnectionId: { + serializedName: "serviceConnectionId", type: { - name: "String" - } + name: "String", + }, }, - severityFilter: { - serializedName: "severityFilter", - type: { - name: "Composite", - className: "FusionTemplateSubTypeSeverityFilter" - } - } - } - } + }, + }, }; -export const FusionTemplateSubTypeSeverityFilter: coreClient.CompositeMapper = { +export const DeploymentInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FusionTemplateSubTypeSeverityFilter", + className: "DeploymentInfo", modelProperties: { - isSupported: { - serializedName: "isSupported", - required: true, + deploymentFetchStatus: { + serializedName: "deploymentFetchStatus", type: { - name: "Boolean" - } + name: "String", + }, }, - severityFilters: { - serializedName: "severityFilters", + deployment: { + serializedName: "deployment", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "Deployment", + }, + }, + message: { + serializedName: "message", + type: { + name: "String", + }, + }, + }, + }, }; -export const MicrosoftSecurityIncidentCreationAlertRuleCommonProperties: coreClient.CompositeMapper = { +export const Deployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MicrosoftSecurityIncidentCreationAlertRuleCommonProperties", + className: "Deployment", modelProperties: { - displayNamesFilter: { - serializedName: "displayNamesFilter", + deploymentId: { + serializedName: "deploymentId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - displayNamesExcludeFilter: { - serializedName: "displayNamesExcludeFilter", + deploymentState: { + serializedName: "deploymentState", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - productFilter: { - serializedName: "productFilter", - required: true, + deploymentResult: { + serializedName: "deploymentResult", type: { - name: "String" - } + name: "String", + }, }, - severitiesFilter: { - serializedName: "severitiesFilter", + deploymentTime: { + serializedName: "deploymentTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "DateTime", + }, + }, + deploymentLogsUrl: { + serializedName: "deploymentLogsUrl", + type: { + name: "String", + }, + }, + }, + }, }; -export const IncidentConfiguration: coreClient.CompositeMapper = { +export const PullRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentConfiguration", + className: "PullRequest", modelProperties: { - createIncident: { - serializedName: "createIncident", - required: true, + url: { + serializedName: "url", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - groupingConfiguration: { - serializedName: "groupingConfiguration", + state: { + serializedName: "state", + readOnly: true, type: { - name: "Composite", - className: "GroupingConfiguration" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const GroupingConfiguration: coreClient.CompositeMapper = { +export const Warning: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GroupingConfiguration", + className: "Warning", modelProperties: { - enabled: { - serializedName: "enabled", - required: true, + warning: { + serializedName: "warning", type: { - name: "Boolean" - } - }, - reopenClosedIncident: { - serializedName: "reopenClosedIncident", - required: true, - type: { - name: "Boolean" - } - }, - lookbackDuration: { - serializedName: "lookbackDuration", - required: true, - type: { - name: "TimeSpan" - } + name: "Composite", + className: "WarningBody", + }, }, - matchingMethod: { - serializedName: "matchingMethod", - required: true, + }, + }, +}; + +export const WarningBody: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WarningBody", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - groupByEntities: { - serializedName: "groupByEntities", + message: { + serializedName: "message", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - groupByAlertDetails: { - serializedName: "groupByAlertDetails", + details: { + serializedName: "details", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "WarningBody", + }, + }, + }, }, - groupByCustomDetails: { - serializedName: "groupByCustomDetails", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + }, + }, }; -export const ScheduledAlertRuleCommonProperties: coreClient.CompositeMapper = { +export const ThreatIntelligenceKillChainPhase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduledAlertRuleCommonProperties", + className: "ThreatIntelligenceKillChainPhase", modelProperties: { - query: { - serializedName: "query", + killChainName: { + serializedName: "killChainName", type: { - name: "String" - } + name: "String", + }, }, - queryFrequency: { - serializedName: "queryFrequency", + phaseName: { + serializedName: "phaseName", type: { - name: "TimeSpan" - } + name: "String", + }, }, - queryPeriod: { - serializedName: "queryPeriod", + }, + }, +}; + +export const ThreatIntelligenceParsedPattern: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ThreatIntelligenceParsedPattern", + modelProperties: { + patternTypeKey: { + serializedName: "patternTypeKey", type: { - name: "TimeSpan" - } + name: "String", + }, }, - severity: { - serializedName: "severity", + patternTypeValues: { + serializedName: "patternTypeValues", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceParsedPatternTypeValue", + }, + }, + }, }, - triggerOperator: { - serializedName: "triggerOperator", - type: { - name: "Enum", - allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"] - } + }, + }, +}; + +export const ThreatIntelligenceParsedPatternTypeValue: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ThreatIntelligenceParsedPatternTypeValue", + modelProperties: { + valueType: { + serializedName: "valueType", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "String", + }, + }, }, - triggerThreshold: { - serializedName: "triggerThreshold", + }, + }; + +export const ThreatIntelligenceExternalReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ThreatIntelligenceExternalReference", + modelProperties: { + description: { + serializedName: "description", type: { - name: "Number" - } + name: "String", + }, }, - eventGroupingSettings: { - serializedName: "eventGroupingSettings", + externalId: { + serializedName: "externalId", type: { - name: "Composite", - className: "EventGroupingSettings" - } + name: "String", + }, }, - customDetails: { - serializedName: "customDetails", + sourceName: { + serializedName: "sourceName", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - entityMappings: { - serializedName: "entityMappings", + url: { + serializedName: "url", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityMapping" - } - } - } + name: "String", + }, }, - alertDetailsOverride: { - serializedName: "alertDetailsOverride", + hashes: { + serializedName: "hashes", type: { - name: "Composite", - className: "AlertDetailsOverride" - } - } - } - } -}; + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const ThreatIntelligenceGranularMarkingModel: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ThreatIntelligenceGranularMarkingModel", + modelProperties: { + language: { + serializedName: "language", + type: { + name: "String", + }, + }, + markingRef: { + serializedName: "markingRef", + type: { + name: "Number", + }, + }, + selectors: { + serializedName: "selectors", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; -export const AutomationRuleBooleanCondition: coreClient.CompositeMapper = { +export const ThreatIntelligenceInformationList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomationRuleBooleanCondition", + className: "ThreatIntelligenceInformationList", modelProperties: { - operator: { - serializedName: "operator", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - }, - innerConditions: { - constraints: { - MinItems: 2, - MaxItems: 10 + name: "String", }, - serializedName: "innerConditions", + }, + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AutomationRuleCondition" - } - } - } - } - } - } + className: "ThreatIntelligenceInformation", + }, + }, + }, + }, + }, + }, }; -export const IncidentPropertiesAction: coreClient.CompositeMapper = { +export const ThreatIntelligenceFilteringCriteria: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IncidentPropertiesAction", + className: "ThreatIntelligenceFilteringCriteria", modelProperties: { - severity: { - serializedName: "severity", + pageSize: { + serializedName: "pageSize", type: { - name: "String" - } + name: "Number", + }, }, - status: { - serializedName: "status", + minConfidence: { + serializedName: "minConfidence", type: { - name: "String" - } + name: "Number", + }, }, - classification: { - serializedName: "classification", + maxConfidence: { + serializedName: "maxConfidence", type: { - name: "String" - } + name: "Number", + }, }, - classificationReason: { - serializedName: "classificationReason", + minValidUntil: { + serializedName: "minValidUntil", type: { - name: "String" - } + name: "String", + }, }, - classificationComment: { - serializedName: "classificationComment", + maxValidUntil: { + serializedName: "maxValidUntil", type: { - name: "String" - } + name: "String", + }, }, - owner: { - serializedName: "owner", + includeDisabled: { + serializedName: "includeDisabled", type: { - name: "Composite", - className: "IncidentOwnerInfo" - } + name: "Boolean", + }, }, - labels: { - serializedName: "labels", + sortBy: { + serializedName: "sortBy", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IncidentLabel" - } - } - } - } - } - } -}; - -export const AutomationRulePropertyArrayChangedValuesCondition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutomationRulePropertyArrayChangedValuesCondition", - modelProperties: { - arrayType: { - serializedName: "arrayType", - type: { - name: "String" - } - }, - changeType: { - serializedName: "changeType", - type: { - name: "String" - } - } - } - } -}; - -export const AutomationRulePropertyArrayValuesCondition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutomationRulePropertyArrayValuesCondition", - modelProperties: { - arrayType: { - serializedName: "arrayType", - type: { - name: "String" - } + className: "ThreatIntelligenceSortingCriteria", + }, + }, + }, }, - arrayConditionType: { - serializedName: "arrayConditionType", + sources: { + serializedName: "sources", type: { - name: "String" - } - }, - itemConditions: { - constraints: { - MaxItems: 10 + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, - serializedName: "itemConditions", + }, + patternTypes: { + serializedName: "patternTypes", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "AutomationRuleCondition" - } - } - } - } - } - } -}; - -export const AutomationRulePropertyValuesChangedCondition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutomationRulePropertyValuesChangedCondition", - modelProperties: { - propertyName: { - serializedName: "propertyName", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - changeType: { - serializedName: "changeType", + threatTypes: { + serializedName: "threatTypes", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - operator: { - serializedName: "operator", + ids: { + serializedName: "ids", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - propertyValues: { - serializedName: "propertyValues", + keywords: { + serializedName: "keywords", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + skipToken: { + serializedName: "skipToken", + type: { + name: "String", + }, + }, + }, + }, }; -export const AutomationRulePropertyValuesCondition: coreClient.CompositeMapper = { +export const ThreatIntelligenceSortingCriteria: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomationRulePropertyValuesCondition", + className: "ThreatIntelligenceSortingCriteria", modelProperties: { - propertyName: { - serializedName: "propertyName", + itemKey: { + serializedName: "itemKey", type: { - name: "String" - } + name: "String", + }, }, - operator: { - serializedName: "operator", + sortOrder: { + serializedName: "sortOrder", type: { - name: "String" - } + name: "String", + }, }, - propertyValues: { - serializedName: "propertyValues", + }, + }, +}; + +export const ThreatIntelligenceMetricsList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ThreatIntelligenceMetricsList", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "ThreatIntelligenceMetrics", + }, + }, + }, + }, + }, + }, }; -export const PlaybookActionProperties: coreClient.CompositeMapper = { +export const ThreatIntelligenceMetrics: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PlaybookActionProperties", + className: "ThreatIntelligenceMetrics", modelProperties: { - logicAppResourceId: { - serializedName: "logicAppResourceId", + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "ThreatIntelligenceMetric", + }, }, - tenantId: { - serializedName: "tenantId", - type: { - name: "Uuid" - } - } - } - } + }, + }, }; -export const EntityQueryItemProperties: coreClient.CompositeMapper = { +export const ThreatIntelligenceMetric: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityQueryItemProperties", + className: "ThreatIntelligenceMetric", modelProperties: { - dataTypes: { - serializedName: "dataTypes", + lastUpdatedTimeUtc: { + serializedName: "lastUpdatedTimeUtc", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityQueryItemPropertiesDataTypesItem" - } - } - } + name: "String", + }, }, - inputEntityType: { - serializedName: "inputEntityType", + threatTypeMetrics: { + serializedName: "threatTypeMetrics", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceMetricEntity", + }, + }, + }, }, - requiredInputFieldsSets: { - serializedName: "requiredInputFieldsSets", + patternTypeMetrics: { + serializedName: "patternTypeMetrics", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } + name: "Composite", + className: "ThreatIntelligenceMetricEntity", + }, + }, + }, }, - entitiesFilter: { - serializedName: "entitiesFilter", + sourceMetrics: { + serializedName: "sourceMetrics", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceMetricEntity", + }, + }, + }, + }, + }, + }, }; -export const EntityQueryItemPropertiesDataTypesItem: coreClient.CompositeMapper = { +export const ThreatIntelligenceMetricEntity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityQueryItemPropertiesDataTypesItem", + className: "ThreatIntelligenceMetricEntity", modelProperties: { - dataType: { - serializedName: "dataType", + metricName: { + serializedName: "metricName", + type: { + name: "String", + }, + }, + metricValue: { + serializedName: "metricValue", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const InsightQueryItemPropertiesTableQuery: coreClient.CompositeMapper = { +export const ThreatIntelligenceAppendTags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesTableQuery", + className: "ThreatIntelligenceAppendTags", modelProperties: { - columnsDefinitions: { - serializedName: "columnsDefinitions", + threatIntelligenceTags: { + serializedName: "threatIntelligenceTags", type: { name: "Sequence", element: { type: { - name: "Composite", - className: - "InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem" - } - } - } + name: "String", + }, + }, + }, }, - queriesDefinitions: { - serializedName: "queriesDefinitions", + }, + }, +}; + +export const TriggeredAnalyticsRuleRuns: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggeredAnalyticsRuleRuns", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: - "InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem" - } - } - } - } - } - } + className: "TriggeredAnalyticsRuleRun", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem: coreClient.CompositeMapper = { +export const AnalyticsRuleRunTrigger: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem", + className: "AnalyticsRuleRunTrigger", modelProperties: { - header: { - serializedName: "header", - type: { - name: "String" - } - }, - outputType: { - serializedName: "outputType", + executionTimeUtc: { + serializedName: "properties.executionTimeUtc", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - supportDeepLink: { - serializedName: "supportDeepLink", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem: coreClient.CompositeMapper = { +export const WatchlistList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem", + className: "WatchlistList", modelProperties: { - filter: { - serializedName: "filter", - type: { - name: "String" - } - }, - summarize: { - serializedName: "summarize", - type: { - name: "String" - } - }, - project: { - serializedName: "project", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - linkColumnsDefinitions: { - serializedName: "linkColumnsDefinitions", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: - "InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem" - } - } - } - } - } - } + className: "Watchlist", + }, + }, + }, + }, + }, + }, }; -export const InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem: coreClient.CompositeMapper = { +export const WatchlistItemList: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem", + className: "WatchlistItemList", modelProperties: { - projectedName: { - serializedName: "projectedName", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - query: { - serializedName: "Query", + value: { + serializedName: "value", + required: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WatchlistItem", + }, + }, + }, + }, + }, + }, }; -export const InsightQueryItemPropertiesAdditionalQuery: coreClient.CompositeMapper = { +export const WorkspaceManagerAssignmentList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesAdditionalQuery", + className: "WorkspaceManagerAssignmentList", modelProperties: { - query: { - serializedName: "query", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - text: { - serializedName: "text", + value: { + serializedName: "value", + required: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceManagerAssignment", + }, + }, + }, + }, + }, + }, }; -export const InsightQueryItemPropertiesDefaultTimeRange: coreClient.CompositeMapper = { +export const AssignmentItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesDefaultTimeRange", + className: "AssignmentItem", modelProperties: { - beforeRange: { - serializedName: "beforeRange", + resourceId: { + serializedName: "resourceId", type: { - name: "String" - } + name: "String", + }, }, - afterRange: { - serializedName: "afterRange", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const InsightQueryItemPropertiesReferenceTimeRange: coreClient.CompositeMapper = { +export const JobList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItemPropertiesReferenceTimeRange", + className: "JobList", modelProperties: { - beforeRange: { - serializedName: "beforeRange", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Job", + }, + }, + }, + }, + }, + }, }; -export const ActivityEntityQueriesPropertiesQueryDefinitions: coreClient.CompositeMapper = { +export const JobItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityEntityQueriesPropertiesQueryDefinitions", + className: "JobItem", modelProperties: { - query: { - serializedName: "query", + resourceId: { + serializedName: "resourceId", + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + executionTime: { + serializedName: "executionTime", + readOnly: true, + type: { + name: "DateTime", + }, + }, + errors: { + serializedName: "errors", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorModel", + }, + }, + }, + }, + }, + }, }; -export const ActivityEntityQueryTemplatePropertiesQueryDefinitions: coreClient.CompositeMapper = { +export const ErrorModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityEntityQueryTemplatePropertiesQueryDefinitions", + className: "ErrorModel", modelProperties: { - query: { - serializedName: "query", + memberResourceName: { + serializedName: "memberResourceName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - summarizeBy: { - serializedName: "summarizeBy", + errorMessage: { + serializedName: "errorMessage", + required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DataTypeDefinitions: coreClient.CompositeMapper = { +export const WorkspaceManagerConfigurationList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataTypeDefinitions", + className: "WorkspaceManagerConfigurationList", modelProperties: { - dataType: { - serializedName: "dataType", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceManagerConfiguration", + }, + }, + }, + }, + }, + }, }; -export const SecurityMLAnalyticsSettingsDataSource: coreClient.CompositeMapper = { +export const WorkspaceManagerGroupList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityMLAnalyticsSettingsDataSource", + className: "WorkspaceManagerGroupList", modelProperties: { - connectorId: { - serializedName: "connectorId", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - dataTypes: { - serializedName: "dataTypes", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "WorkspaceManagerGroup", + }, + }, + }, + }, + }, + }, }; -export const DataConnectorTenantId: coreClient.CompositeMapper = { +export const WorkspaceManagerMembersList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataConnectorTenantId", + className: "WorkspaceManagerMembersList", modelProperties: { - tenantId: { - serializedName: "tenantId", + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + value: { + serializedName: "value", required: true, type: { - name: "String" - } - } - } - } -}; + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceManagerMember", + }, + }, + }, + }, + }, + }, +}; + +export const DataConnectorDefinitionArmCollectionWrapper: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataConnectorDefinitionArmCollectionWrapper", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataConnectorDefinition", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; -export const DataConnectorWithAlertsProperties: coreClient.CompositeMapper = { +export const DataConnectorList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataConnectorWithAlertsProperties", + className: "DataConnectorList", modelProperties: { - dataTypes: { - serializedName: "dataTypes", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } -}; - -export const AlertsDataTypeOfDataConnector: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AlertsDataTypeOfDataConnector", - modelProperties: { - alerts: { - serializedName: "alerts", - type: { - name: "Composite", - className: "DataConnectorDataTypeCommon" - } - } - } - } -}; - -export const DataConnectorDataTypeCommon: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataConnectorDataTypeCommon", - modelProperties: { - state: { - serializedName: "state", + name: "String", + }, + }, + value: { + serializedName: "value", required: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataConnector", + }, + }, + }, + }, + }, + }, }; -export const MstiDataConnectorDataTypes: coreClient.CompositeMapper = { +export const DataConnectorConnectBody: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MstiDataConnectorDataTypes", + className: "DataConnectorConnectBody", modelProperties: { - bingSafetyPhishingURL: { - serializedName: "bingSafetyPhishingURL", + kind: { + serializedName: "kind", type: { - name: "Composite", - className: "MstiDataConnectorDataTypesBingSafetyPhishingURL" - } + name: "String", + }, }, - microsoftEmergingThreatFeed: { - serializedName: "microsoftEmergingThreatFeed", + apiKey: { + serializedName: "apiKey", type: { - name: "Composite", - className: "MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed" - } - } - } - } -}; - -export const MTPDataConnectorDataTypes: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MTPDataConnectorDataTypes", - modelProperties: { - incidents: { - serializedName: "incidents", + name: "String", + }, + }, + dataCollectionEndpoint: { + serializedName: "dataCollectionEndpoint", type: { - name: "Composite", - className: "MTPDataConnectorDataTypesIncidents" - } - } - } - } -}; - -export const AwsCloudTrailDataConnectorDataTypes: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AwsCloudTrailDataConnectorDataTypes", - modelProperties: { - logs: { - serializedName: "logs", + name: "String", + }, + }, + dataCollectionRuleImmutableId: { + serializedName: "dataCollectionRuleImmutableId", type: { - name: "Composite", - className: "AwsCloudTrailDataConnectorDataTypesLogs" - } - } - } - } + name: "String", + }, + }, + outputStream: { + serializedName: "outputStream", + type: { + name: "String", + }, + }, + clientSecret: { + serializedName: "clientSecret", + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + type: { + name: "String", + }, + }, + authorizationCode: { + serializedName: "authorizationCode", + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + requestConfigUserInputValues: { + serializedName: "requestConfigUserInputValues", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, + }, + }, }; -export const AwsS3DataConnectorDataTypes: coreClient.CompositeMapper = { +export const DataConnectorsCheckRequirements: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AwsS3DataConnectorDataTypes", + className: "DataConnectorsCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, modelProperties: { - logs: { - serializedName: "logs", + kind: { + serializedName: "kind", + required: true, type: { - name: "Composite", - className: "AwsS3DataConnectorDataTypesLogs" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const Dynamics365DataConnectorDataTypes: coreClient.CompositeMapper = { +export const DataConnectorRequirementsState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Dynamics365DataConnectorDataTypes", + className: "DataConnectorRequirementsState", modelProperties: { - dynamics365CdsActivities: { - serializedName: "dynamics365CdsActivities", + authorizationState: { + serializedName: "authorizationState", type: { - name: "Composite", - className: "Dynamics365DataConnectorDataTypesDynamics365CdsActivities" - } - } - } - } + name: "String", + }, + }, + licenseState: { + serializedName: "licenseState", + type: { + name: "String", + }, + }, + }, + }, }; -export const Office365ProjectConnectorDataTypes: coreClient.CompositeMapper = { +export const OperationsList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Office365ProjectConnectorDataTypes", + className: "OperationsList", modelProperties: { - logs: { - serializedName: "logs", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "Office365ProjectConnectorDataTypesLogs" - } - } - } - } + name: "String", + }, + }, + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation", + }, + }, + }, + }, + }, + }, }; -export const OfficePowerBIConnectorDataTypes: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficePowerBIConnectorDataTypes", + className: "Operation", modelProperties: { - logs: { - serializedName: "logs", + display: { + serializedName: "display", type: { name: "Composite", - className: "OfficePowerBIConnectorDataTypesLogs" - } - } - } - } + className: "OperationDisplay", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + origin: { + serializedName: "origin", + type: { + name: "String", + }, + }, + isDataAction: { + serializedName: "isDataAction", + type: { + name: "Boolean", + }, + }, + }, + }, }; -export const OfficeDataConnectorDataTypes: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficeDataConnectorDataTypes", + className: "OperationDisplay", modelProperties: { - exchange: { - serializedName: "exchange", + description: { + serializedName: "description", type: { - name: "Composite", - className: "OfficeDataConnectorDataTypesExchange" - } + name: "String", + }, }, - sharePoint: { - serializedName: "sharePoint", + operation: { + serializedName: "operation", type: { - name: "Composite", - className: "OfficeDataConnectorDataTypesSharePoint" - } + name: "String", + }, }, - teams: { - serializedName: "teams", + provider: { + serializedName: "provider", type: { - name: "Composite", - className: "OfficeDataConnectorDataTypesTeams" - } - } - } - } + name: "String", + }, + }, + resource: { + serializedName: "resource", + type: { + name: "String", + }, + }, + }, + }, }; -export const TIDataConnectorDataTypes: coreClient.CompositeMapper = { +export const AlertRuleTemplateDataSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TIDataConnectorDataTypes", + className: "AlertRuleTemplateDataSource", modelProperties: { - indicators: { - serializedName: "indicators", + connectorId: { + serializedName: "connectorId", type: { - name: "Composite", - className: "TIDataConnectorDataTypesIndicators" - } - } - } - } + name: "String", + }, + }, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const TiTaxiiDataConnectorDataTypes: coreClient.CompositeMapper = { +export const AlertRuleTemplatePropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TiTaxiiDataConnectorDataTypes", + className: "AlertRuleTemplatePropertiesBase", modelProperties: { - taxiiClient: { - serializedName: "taxiiClient", + alertRulesCreatedByTemplateCount: { + serializedName: "alertRulesCreatedByTemplateCount", type: { - name: "Composite", - className: "TiTaxiiDataConnectorDataTypesTaxiiClient" - } - } - } - } -}; - -export const CodelessUiConnectorConfigProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodelessUiConnectorConfigProperties", - modelProperties: { - title: { - serializedName: "title", - required: true, - type: { - name: "String" - } + name: "Number", + }, }, - publisher: { - serializedName: "publisher", - required: true, + lastUpdatedDateUTC: { + serializedName: "lastUpdatedDateUTC", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - descriptionMarkdown: { - serializedName: "descriptionMarkdown", - required: true, + createdDateUTC: { + serializedName: "createdDateUTC", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - customImage: { - serializedName: "customImage", + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - graphQueriesTableName: { - serializedName: "graphQueriesTableName", - required: true, + displayName: { + serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, - graphQueries: { - serializedName: "graphQueries", - required: true, + requiredDataConnectors: { + serializedName: "requiredDataConnectors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesGraphQueriesItem" - } - } - } + className: "AlertRuleTemplateDataSource", + }, + }, + }, }, - sampleQueries: { - serializedName: "sampleQueries", - required: true, + status: { + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodelessUiConnectorConfigPropertiesSampleQueriesItem" - } - } - } + name: "String", + }, }, - dataTypes: { - serializedName: "dataTypes", - required: true, + }, + }, +}; + +export const QueryBasedAlertRuleTemplateProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "QueryBasedAlertRuleTemplateProperties", + modelProperties: { + query: { + serializedName: "query", + type: { + name: "String", + }, + }, + severity: { + serializedName: "severity", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", + }, + }, + customDetails: { + serializedName: "customDetails", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + entityMappings: { + serializedName: "entityMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EntityMapping", + }, + }, + }, + }, + alertDetailsOverride: { + serializedName: "alertDetailsOverride", + type: { + name: "Composite", + className: "AlertDetailsOverride", + }, + }, + eventGroupingSettings: { + serializedName: "eventGroupingSettings", + type: { + name: "Composite", + className: "EventGroupingSettings", + }, + }, + sentinelEntitiesMappings: { + serializedName: "sentinelEntitiesMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, + }, + }, + }, + }; + +export const EntityMapping: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityMapping", + modelProperties: { + entityType: { + serializedName: "entityType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodelessUiConnectorConfigPropertiesDataTypesItem" - } - } - } + name: "String", + }, }, - connectivityCriteria: { - serializedName: "connectivityCriteria", - required: true, + fieldMappings: { + serializedName: "fieldMappings", type: { name: "Sequence", element: { type: { name: "Composite", - className: - "CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem" - } - } - } + className: "FieldMapping", + }, + }, + }, }, - availability: { - serializedName: "availability", + }, + }, +}; + +export const FieldMapping: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FieldMapping", + modelProperties: { + identifier: { + serializedName: "identifier", type: { - name: "Composite", - className: "Availability" - } + name: "String", + }, }, - permissions: { - serializedName: "permissions", + columnName: { + serializedName: "columnName", type: { - name: "Composite", - className: "Permissions" - } + name: "String", + }, }, - instructionSteps: { - serializedName: "instructionSteps", - required: true, + }, + }, +}; + +export const AlertDetailsOverride: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AlertDetailsOverride", + modelProperties: { + alertDisplayNameFormat: { + serializedName: "alertDisplayNameFormat", + type: { + name: "String", + }, + }, + alertDescriptionFormat: { + serializedName: "alertDescriptionFormat", + type: { + name: "String", + }, + }, + alertTacticsColumnName: { + serializedName: "alertTacticsColumnName", + type: { + name: "String", + }, + }, + alertSeverityColumnName: { + serializedName: "alertSeverityColumnName", + type: { + name: "String", + }, + }, + alertDynamicProperties: { + serializedName: "alertDynamicProperties", type: { name: "Sequence", element: { type: { name: "Composite", - className: - "CodelessUiConnectorConfigPropertiesInstructionStepsItem" - } - } - } - } - } - } + className: "AlertPropertyMapping", + }, + }, + }, + }, + }, + }, }; -export const GraphQueries: coreClient.CompositeMapper = { +export const AlertPropertyMapping: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GraphQueries", + className: "AlertPropertyMapping", modelProperties: { - metricName: { - serializedName: "metricName", + alertProperty: { + serializedName: "alertProperty", type: { - name: "String" - } + name: "String", + }, }, - legend: { - serializedName: "legend", + value: { + serializedName: "value", type: { - name: "String" - } + name: "String", + }, }, - baseQuery: { - serializedName: "baseQuery", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const SampleQueries: coreClient.CompositeMapper = { +export const EventGroupingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SampleQueries", + className: "EventGroupingSettings", modelProperties: { - description: { - serializedName: "description", + aggregationKind: { + serializedName: "aggregationKind", type: { - name: "String" - } + name: "String", + }, }, - query: { - serializedName: "query", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const LastDataReceivedDataType: coreClient.CompositeMapper = { +export const SentinelEntityMapping: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LastDataReceivedDataType", + className: "SentinelEntityMapping", modelProperties: { - name: { - serializedName: "name", + columnName: { + serializedName: "columnName", type: { - name: "String" - } + name: "String", + }, }, - lastDataReceivedQuery: { - serializedName: "lastDataReceivedQuery", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ConnectivityCriteria: coreClient.CompositeMapper = { +export const FusionSourceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityCriteria", + className: "FusionSourceSettings", modelProperties: { - type: { - serializedName: "type", + enabled: { + serializedName: "enabled", + required: true, type: { - name: "String" - } + name: "Boolean", + }, }, - value: { - serializedName: "value", + sourceName: { + serializedName: "sourceName", + required: true, + type: { + name: "String", + }, + }, + sourceSubTypes: { + serializedName: "sourceSubTypes", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "FusionSourceSubTypeSetting", + }, + }, + }, + }, + }, + }, }; -export const Availability: coreClient.CompositeMapper = { +export const FusionSourceSubTypeSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Availability", + className: "FusionSourceSubTypeSetting", modelProperties: { - status: { - defaultValue: 1, - isConstant: true, - serializedName: "status", + enabled: { + serializedName: "enabled", + required: true, type: { - name: "Number" - } + name: "Boolean", + }, }, - isPreview: { - serializedName: "isPreview", + sourceSubTypeName: { + serializedName: "sourceSubTypeName", + required: true, + type: { + name: "String", + }, + }, + sourceSubTypeDisplayName: { + serializedName: "sourceSubTypeDisplayName", + readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "String", + }, + }, + severityFilters: { + serializedName: "severityFilters", + type: { + name: "Composite", + className: "FusionSubTypeSeverityFilter", + }, + }, + }, + }, }; -export const Permissions: coreClient.CompositeMapper = { +export const FusionSubTypeSeverityFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Permissions", + className: "FusionSubTypeSeverityFilter", modelProperties: { - resourceProvider: { - serializedName: "resourceProvider", + isSupported: { + serializedName: "isSupported", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PermissionsResourceProviderItem" - } - } - } + name: "Boolean", + }, }, - customs: { - serializedName: "customs", + filters: { + serializedName: "filters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PermissionsCustomsItem" - } - } - } - } - } - } + className: "FusionSubTypeSeverityFiltersItem", + }, + }, + }, + }, + }, + }, }; -export const ResourceProvider: coreClient.CompositeMapper = { +export const FusionSubTypeSeverityFiltersItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceProvider", + className: "FusionSubTypeSeverityFiltersItem", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - permissionsDisplayText: { - serializedName: "permissionsDisplayText", - type: { - name: "String" - } - }, - providerDisplayName: { - serializedName: "providerDisplayName", + severity: { + serializedName: "severity", + required: true, type: { - name: "String" - } + name: "String", + }, }, - scope: { - serializedName: "scope", + enabled: { + serializedName: "enabled", + required: true, type: { - name: "String" - } + name: "Boolean", + }, }, - requiredPermissions: { - serializedName: "requiredPermissions", - type: { - name: "Composite", - className: "RequiredPermissions" - } - } - } - } + }, + }, }; -export const RequiredPermissions: coreClient.CompositeMapper = { +export const FusionScenarioExclusionPattern: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequiredPermissions", + className: "FusionScenarioExclusionPattern", modelProperties: { - action: { - serializedName: "action", - type: { - name: "Boolean" - } - }, - write: { - serializedName: "write", + exclusionPattern: { + serializedName: "exclusionPattern", + required: true, type: { - name: "Boolean" - } + name: "String", + }, }, - read: { - serializedName: "read", + dateAddedInUTC: { + serializedName: "dateAddedInUTC", + required: true, type: { - name: "Boolean" - } + name: "String", + }, }, - delete: { - serializedName: "delete", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const CustomsPermission: coreClient.CompositeMapper = { +export const FusionTemplateSourceSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomsPermission", + className: "FusionTemplateSourceSetting", modelProperties: { - name: { - serializedName: "name", + sourceName: { + serializedName: "sourceName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", + sourceSubTypes: { + serializedName: "sourceSubTypes", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FusionTemplateSourceSubType", + }, + }, + }, + }, + }, + }, }; -export const InstructionSteps: coreClient.CompositeMapper = { +export const FusionTemplateSourceSubType: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstructionSteps", + className: "FusionTemplateSourceSubType", modelProperties: { - title: { - serializedName: "title", + sourceSubTypeName: { + serializedName: "sourceSubTypeName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", + sourceSubTypeDisplayName: { + serializedName: "sourceSubTypeDisplayName", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - instructions: { - serializedName: "instructions", + severityFilter: { + serializedName: "severityFilter", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstructionStepsInstructionsItem" - } - } - } - } - } - } + name: "Composite", + className: "FusionTemplateSubTypeSeverityFilter", + }, + }, + }, + }, }; -export const ConnectorInstructionModelBase: coreClient.CompositeMapper = { +export const FusionTemplateSubTypeSeverityFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectorInstructionModelBase", + className: "FusionTemplateSubTypeSeverityFilter", modelProperties: { - parameters: { - serializedName: "parameters", + isSupported: { + serializedName: "isSupported", + required: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Boolean", + }, }, - type: { - serializedName: "type", - required: true, + severityFilters: { + serializedName: "severityFilters", type: { - name: "String" - } - } - } - } -}; + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const MicrosoftSecurityIncidentCreationAlertRuleCommonProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftSecurityIncidentCreationAlertRuleCommonProperties", + modelProperties: { + displayNamesFilter: { + serializedName: "displayNamesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + displayNamesExcludeFilter: { + serializedName: "displayNamesExcludeFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + productFilter: { + serializedName: "productFilter", + required: true, + type: { + name: "String", + }, + }, + severitiesFilter: { + serializedName: "severitiesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; -export const CodelessConnectorPollingConfigProperties: coreClient.CompositeMapper = { +export const IncidentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessConnectorPollingConfigProperties", + className: "IncidentConfiguration", modelProperties: { - isActive: { - serializedName: "isActive", - type: { - name: "Boolean" - } - }, - auth: { - serializedName: "auth", - type: { - name: "Composite", - className: "CodelessConnectorPollingAuthProperties" - } - }, - request: { - serializedName: "request", + createIncident: { + serializedName: "createIncident", + required: true, type: { - name: "Composite", - className: "CodelessConnectorPollingRequestProperties" - } + name: "Boolean", + }, }, - paging: { - serializedName: "paging", + groupingConfiguration: { + serializedName: "groupingConfiguration", type: { name: "Composite", - className: "CodelessConnectorPollingPagingProperties" - } + className: "GroupingConfiguration", + }, }, - response: { - serializedName: "response", - type: { - name: "Composite", - className: "CodelessConnectorPollingResponseProperties" - } - } - } - } + }, + }, }; -export const CodelessConnectorPollingAuthProperties: coreClient.CompositeMapper = { +export const GroupingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessConnectorPollingAuthProperties", + className: "GroupingConfiguration", modelProperties: { - authType: { - serializedName: "authType", + enabled: { + serializedName: "enabled", required: true, type: { - name: "String" - } - }, - apiKeyName: { - serializedName: "apiKeyName", - type: { - name: "String" - } - }, - apiKeyIdentifier: { - serializedName: "apiKeyIdentifier", - type: { - name: "String" - } - }, - isApiKeyInPostPayload: { - serializedName: "isApiKeyInPostPayload", - type: { - name: "String" - } - }, - flowName: { - serializedName: "flowName", - type: { - name: "String" - } - }, - tokenEndpoint: { - serializedName: "tokenEndpoint", - type: { - name: "String" - } + name: "Boolean", + }, }, - authorizationEndpoint: { - serializedName: "authorizationEndpoint", + reopenClosedIncident: { + serializedName: "reopenClosedIncident", + required: true, type: { - name: "String" - } + name: "Boolean", + }, }, - authorizationEndpointQueryParameters: { - serializedName: "authorizationEndpointQueryParameters", + lookbackDuration: { + serializedName: "lookbackDuration", + required: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "TimeSpan", + }, }, - redirectionEndpoint: { - serializedName: "redirectionEndpoint", + matchingMethod: { + serializedName: "matchingMethod", + required: true, type: { - name: "String" - } + name: "String", + }, }, - tokenEndpointHeaders: { - serializedName: "tokenEndpointHeaders", + groupByEntities: { + serializedName: "groupByEntities", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - tokenEndpointQueryParameters: { - serializedName: "tokenEndpointQueryParameters", + groupByAlertDetails: { + serializedName: "groupByAlertDetails", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - isClientSecretInHeader: { - serializedName: "isClientSecretInHeader", + groupByCustomDetails: { + serializedName: "groupByCustomDetails", type: { - name: "Boolean" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - scope: { - serializedName: "scope", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const CodelessConnectorPollingRequestProperties: coreClient.CompositeMapper = { +export const ScheduledAlertRuleCommonProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessConnectorPollingRequestProperties", + className: "ScheduledAlertRuleCommonProperties", modelProperties: { - apiEndpoint: { - serializedName: "apiEndpoint", - required: true, + query: { + serializedName: "query", type: { - name: "String" - } + name: "String", + }, }, - rateLimitQps: { - serializedName: "rateLimitQps", + queryFrequency: { + serializedName: "queryFrequency", type: { - name: "Number" - } + name: "TimeSpan", + }, }, - queryWindowInMin: { - serializedName: "queryWindowInMin", - required: true, + queryPeriod: { + serializedName: "queryPeriod", type: { - name: "Number" - } + name: "TimeSpan", + }, }, - httpMethod: { - serializedName: "httpMethod", - required: true, + severity: { + serializedName: "severity", type: { - name: "String" - } + name: "String", + }, }, - queryTimeFormat: { - serializedName: "queryTimeFormat", - required: true, + triggerOperator: { + serializedName: "triggerOperator", type: { - name: "String" - } + name: "Enum", + allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"], + }, }, - retryCount: { - serializedName: "retryCount", + triggerThreshold: { + serializedName: "triggerThreshold", type: { - name: "Number" - } + name: "Number", + }, }, - timeoutInSeconds: { - serializedName: "timeoutInSeconds", + eventGroupingSettings: { + serializedName: "eventGroupingSettings", type: { - name: "Number" - } + name: "Composite", + className: "EventGroupingSettings", + }, }, - headers: { - serializedName: "headers", + customDetails: { + serializedName: "customDetails", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "String" } }, + }, }, - queryParameters: { - serializedName: "queryParameters", + entityMappings: { + serializedName: "entityMappings", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EntityMapping", + }, + }, + }, }, - queryParametersTemplate: { - serializedName: "queryParametersTemplate", + alertDetailsOverride: { + serializedName: "alertDetailsOverride", type: { - name: "String" - } + name: "Composite", + className: "AlertDetailsOverride", + }, }, - startTimeAttributeName: { - serializedName: "startTimeAttributeName", + sentinelEntitiesMappings: { + serializedName: "sentinelEntitiesMappings", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, }, - endTimeAttributeName: { - serializedName: "endTimeAttributeName", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const CodelessConnectorPollingPagingProperties: coreClient.CompositeMapper = { +export const AddIncidentTaskActionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessConnectorPollingPagingProperties", + className: "AddIncidentTaskActionProperties", modelProperties: { - pagingType: { - serializedName: "pagingType", + title: { + serializedName: "title", required: true, type: { - name: "String" - } + name: "String", + }, }, - nextPageParaName: { - serializedName: "nextPageParaName", - type: { - name: "String" - } - }, - nextPageTokenJsonPath: { - serializedName: "nextPageTokenJsonPath", - type: { - name: "String" - } - }, - pageCountAttributePath: { - serializedName: "pageCountAttributePath", - type: { - name: "String" - } - }, - pageTotalCountAttributePath: { - serializedName: "pageTotalCountAttributePath", - type: { - name: "String" - } - }, - pageTimeStampAttributePath: { - serializedName: "pageTimeStampAttributePath", - type: { - name: "String" - } - }, - searchTheLatestTimeStampFromEventsList: { - serializedName: "searchTheLatestTimeStampFromEventsList", - type: { - name: "String" - } - }, - pageSizeParaName: { - serializedName: "pageSizeParaName", + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - pageSize: { - serializedName: "pageSize", - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const CodelessConnectorPollingResponseProperties: coreClient.CompositeMapper = { +export const AutomationRuleBooleanCondition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessConnectorPollingResponseProperties", + className: "AutomationRuleBooleanCondition", modelProperties: { - eventsJsonPaths: { - serializedName: "eventsJsonPaths", - required: true, + operator: { + serializedName: "operator", + type: { + name: "String", + }, + }, + innerConditions: { + constraints: { + MinItems: 2, + MaxItems: 10, + }, + serializedName: "innerConditions", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - }, - successStatusJsonPath: { - serializedName: "successStatusJsonPath", - type: { - name: "String" - } - }, - successStatusValue: { - serializedName: "successStatusValue", - type: { - name: "String" - } + name: "Composite", + className: "AutomationRuleCondition", + }, + }, + }, }, - isGzipCompressed: { - serializedName: "isGzipCompressed", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const ThreatIntelligence: coreClient.CompositeMapper = { +export const IncidentPropertiesAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligence", + className: "IncidentPropertiesAction", modelProperties: { - confidence: { - serializedName: "confidence", - readOnly: true, + severity: { + serializedName: "severity", type: { - name: "Number" - } + name: "String", + }, }, - providerName: { - serializedName: "providerName", - readOnly: true, + status: { + serializedName: "status", type: { - name: "String" - } + name: "String", + }, }, - reportLink: { - serializedName: "reportLink", - readOnly: true, + classification: { + serializedName: "classification", type: { - name: "String" - } + name: "String", + }, }, - threatDescription: { - serializedName: "threatDescription", - readOnly: true, + classificationReason: { + serializedName: "classificationReason", type: { - name: "String" - } + name: "String", + }, }, - threatName: { - serializedName: "threatName", - readOnly: true, + classificationComment: { + serializedName: "classificationComment", type: { - name: "String" - } + name: "String", + }, }, - threatType: { - serializedName: "threatType", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const GeoLocation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GeoLocation", - modelProperties: { - asn: { - serializedName: "asn", - readOnly: true, + owner: { + serializedName: "owner", type: { - name: "Number" - } + name: "Composite", + className: "IncidentOwnerInfo", + }, }, - city: { - serializedName: "city", - readOnly: true, + labels: { + serializedName: "labels", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IncidentLabel", + }, + }, + }, }, - countryCode: { - serializedName: "countryCode", - readOnly: true, - type: { - name: "String" - } + }, + }, +}; + +export const AutomationRulePropertyArrayChangedValuesCondition: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AutomationRulePropertyArrayChangedValuesCondition", + modelProperties: { + arrayType: { + serializedName: "arrayType", + type: { + name: "String", + }, + }, + changeType: { + serializedName: "changeType", + type: { + name: "String", + }, + }, }, - countryName: { - serializedName: "countryName", - readOnly: true, - type: { - name: "String" - } + }, + }; + +export const AutomationRulePropertyArrayValuesCondition: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AutomationRulePropertyArrayValuesCondition", + modelProperties: { + arrayType: { + serializedName: "arrayType", + type: { + name: "String", + }, + }, + arrayConditionType: { + serializedName: "arrayConditionType", + type: { + name: "String", + }, + }, + itemConditions: { + constraints: { + MaxItems: 10, + }, + serializedName: "itemConditions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationRuleCondition", + }, + }, + }, + }, }, - latitude: { - serializedName: "latitude", - readOnly: true, - type: { - name: "Number" - } + }, + }; + +export const AutomationRulePropertyValuesChangedCondition: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AutomationRulePropertyValuesChangedCondition", + modelProperties: { + propertyName: { + serializedName: "propertyName", + type: { + name: "String", + }, + }, + changeType: { + serializedName: "changeType", + type: { + name: "String", + }, + }, + operator: { + serializedName: "operator", + type: { + name: "String", + }, + }, + propertyValues: { + serializedName: "propertyValues", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, - longitude: { - serializedName: "longitude", - readOnly: true, - type: { - name: "Number" - } + }, + }; + +export const AutomationRulePropertyValuesCondition: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AutomationRulePropertyValuesCondition", + modelProperties: { + propertyName: { + serializedName: "propertyName", + type: { + name: "String", + }, + }, + operator: { + serializedName: "operator", + type: { + name: "String", + }, + }, + propertyValues: { + serializedName: "propertyValues", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, - state: { - serializedName: "state", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const ResourceWithEtag: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceWithEtag", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - -export const AlertRuleTemplate: coreClient.CompositeMapper = { - serializedName: "AlertRuleTemplate", - type: { - name: "Composite", - className: "AlertRuleTemplate", - uberParent: "Resource", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" }, - modelProperties: { - ...Resource.type.modelProperties, - kind: { - serializedName: "kind", - required: true, - type: { - name: "String" - } - } - } - } -}; + }; -export const Entity: coreClient.CompositeMapper = { - serializedName: "Entity", +export const PlaybookActionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Entity", - uberParent: "Resource", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, + className: "PlaybookActionProperties", modelProperties: { - ...Resource.type.modelProperties, - kind: { - serializedName: "kind", + logicAppResourceId: { + serializedName: "logicAppResourceId", required: true, type: { - name: "String" - } - } - } - } -}; - -export const EntityQueryTemplate: coreClient.CompositeMapper = { - serializedName: "EntityQueryTemplate", - type: { - name: "Composite", - className: "EntityQueryTemplate", - uberParent: "Resource", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - modelProperties: { - ...Resource.type.modelProperties, - kind: { - serializedName: "kind", - required: true, + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", type: { - name: "String" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; -export const FileImport: coreClient.CompositeMapper = { +export const EntityQueryItemProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FileImport", + className: "EntityQueryItemProperties", modelProperties: { - ...Resource.type.modelProperties, - ingestionMode: { - serializedName: "properties.ingestionMode", - type: { - name: "String" - } - }, - contentType: { - serializedName: "properties.contentType", - type: { - name: "String" - } - }, - createdTimeUTC: { - serializedName: "properties.createdTimeUTC", - readOnly: true, - type: { - name: "DateTime" - } - }, - errorFile: { - serializedName: "properties.errorFile", - type: { - name: "Composite", - className: "FileMetadata" - } - }, - errorsPreview: { - serializedName: "properties.errorsPreview", - readOnly: true, + dataTypes: { + serializedName: "dataTypes", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ValidationError" - } - } - } + className: "EntityQueryItemPropertiesDataTypesItem", + }, + }, + }, }, - importFile: { - serializedName: "properties.importFile", + inputEntityType: { + serializedName: "inputEntityType", type: { - name: "Composite", - className: "FileMetadata" - } + name: "String", + }, }, - ingestedRecordCount: { - serializedName: "properties.ingestedRecordCount", - readOnly: true, + requiredInputFieldsSets: { + serializedName: "requiredInputFieldsSets", type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, }, - source: { - serializedName: "properties.source", + entitiesFilter: { + serializedName: "entitiesFilter", type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - state: { - serializedName: "properties.state", - readOnly: true, - type: { - name: "String" - } + }, + }, +}; + +export const EntityQueryItemPropertiesDataTypesItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EntityQueryItemPropertiesDataTypesItem", + modelProperties: { + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, }, - totalRecordCount: { - serializedName: "properties.totalRecordCount", - readOnly: true, - type: { - name: "Number" - } + }, + }; + +export const InsightQueryItemPropertiesTableQuery: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesTableQuery", + modelProperties: { + columnsDefinitions: { + serializedName: "columnsDefinitions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem", + }, + }, + }, + }, + queriesDefinitions: { + serializedName: "queriesDefinitions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem", + }, + }, + }, + }, }, - validRecordCount: { - serializedName: "properties.validRecordCount", - readOnly: true, - type: { - name: "Number" - } + }, + }; + +export const InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesTableQueryColumnsDefinitionsItem", + modelProperties: { + header: { + serializedName: "header", + type: { + name: "String", + }, + }, + outputType: { + serializedName: "outputType", + type: { + name: "String", + }, + }, + supportDeepLink: { + serializedName: "supportDeepLink", + type: { + name: "Boolean", + }, + }, }, - filesValidUntilTimeUTC: { - serializedName: "properties.filesValidUntilTimeUTC", - readOnly: true, - type: { - name: "DateTime" - } + }, + }; + +export const InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesTableQueryQueriesDefinitionsItem", + modelProperties: { + filter: { + serializedName: "filter", + type: { + name: "String", + }, + }, + summarize: { + serializedName: "summarize", + type: { + name: "String", + }, + }, + project: { + serializedName: "project", + type: { + name: "String", + }, + }, + linkColumnsDefinitions: { + serializedName: "linkColumnsDefinitions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem", + }, + }, + }, + }, }, - importValidUntilTimeUTC: { - serializedName: "properties.importValidUntilTimeUTC", - readOnly: true, - type: { - name: "DateTime" - } - } - } - } -}; - -export const OfficeConsent: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeConsent", - modelProperties: { - ...Resource.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } + }, + }; + +export const InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "InsightQueryItemPropertiesTableQueryQueriesDefinitionsPropertiesItemsItem", + modelProperties: { + projectedName: { + serializedName: "projectedName", + type: { + name: "String", + }, + }, + query: { + serializedName: "Query", + type: { + name: "String", + }, + }, }, - consentId: { - serializedName: "properties.consentId", - type: { - name: "String" - } - } - } - } -}; + }, + }; + +export const InsightQueryItemPropertiesAdditionalQuery: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesAdditionalQuery", + modelProperties: { + query: { + serializedName: "query", + type: { + name: "String", + }, + }, + text: { + serializedName: "text", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const InsightQueryItemPropertiesDefaultTimeRange: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesDefaultTimeRange", + modelProperties: { + beforeRange: { + serializedName: "beforeRange", + type: { + name: "String", + }, + }, + afterRange: { + serializedName: "afterRange", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const InsightQueryItemPropertiesReferenceTimeRange: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InsightQueryItemPropertiesReferenceTimeRange", + modelProperties: { + beforeRange: { + serializedName: "beforeRange", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ActivityEntityQueriesPropertiesQueryDefinitions: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ActivityEntityQueriesPropertiesQueryDefinitions", + modelProperties: { + query: { + serializedName: "query", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ActivityEntityQueryTemplatePropertiesQueryDefinitions: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ActivityEntityQueryTemplatePropertiesQueryDefinitions", + modelProperties: { + query: { + serializedName: "query", + type: { + name: "String", + }, + }, + summarizeBy: { + serializedName: "summarizeBy", + type: { + name: "String", + }, + }, + }, + }, + }; -export const ActionResponseProperties: coreClient.CompositeMapper = { +export const DataTypeDefinitions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActionResponseProperties", + className: "DataTypeDefinitions", modelProperties: { - ...ActionPropertiesBase.type.modelProperties, - workflowId: { - serializedName: "workflowId", + dataType: { + serializedName: "dataType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ActionRequestProperties: coreClient.CompositeMapper = { +export const TeamProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActionRequestProperties", + className: "TeamProperties", modelProperties: { - ...ActionPropertiesBase.type.modelProperties, - triggerUri: { - serializedName: "triggerUri", + teamName: { + serializedName: "teamName", required: true, type: { - name: "String" - } - } - } - } -}; - -export const BooleanConditionProperties: coreClient.CompositeMapper = { - serializedName: "Boolean", - type: { - name: "Composite", - className: "BooleanConditionProperties", - uberParent: "AutomationRuleCondition", - polymorphicDiscriminator: - AutomationRuleCondition.type.polymorphicDiscriminator, - modelProperties: { - ...AutomationRuleCondition.type.modelProperties, - conditionProperties: { - serializedName: "conditionProperties", + name: "String", + }, + }, + teamDescription: { + serializedName: "teamDescription", type: { - name: "Composite", - className: "AutomationRuleBooleanCondition" - } - } - } - } -}; - -export const PropertyArrayChangedConditionProperties: coreClient.CompositeMapper = { - serializedName: "PropertyArrayChanged", - type: { - name: "Composite", - className: "PropertyArrayChangedConditionProperties", - uberParent: "AutomationRuleCondition", - polymorphicDiscriminator: - AutomationRuleCondition.type.polymorphicDiscriminator, - modelProperties: { - ...AutomationRuleCondition.type.modelProperties, - conditionProperties: { - serializedName: "conditionProperties", + name: "String", + }, + }, + groupIds: { + serializedName: "groupIds", type: { - name: "Composite", - className: "AutomationRulePropertyArrayChangedValuesCondition" - } - } - } - } -}; - -export const PropertyArrayConditionProperties: coreClient.CompositeMapper = { - serializedName: "PropertyArray", - type: { - name: "Composite", - className: "PropertyArrayConditionProperties", - uberParent: "AutomationRuleCondition", - polymorphicDiscriminator: - AutomationRuleCondition.type.polymorphicDiscriminator, - modelProperties: { - ...AutomationRuleCondition.type.modelProperties, - conditionProperties: { - serializedName: "conditionProperties", + name: "Sequence", + element: { + type: { + name: "Uuid", + }, + }, + }, + }, + memberIds: { + serializedName: "memberIds", type: { - name: "Composite", - className: "AutomationRulePropertyArrayValuesCondition" - } - } - } - } -}; + name: "Sequence", + element: { + type: { + name: "Uuid", + }, + }, + }, + }, + }, + }, +}; + +export const SecurityMLAnalyticsSettingsDataSource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "SecurityMLAnalyticsSettingsDataSource", + modelProperties: { + connectorId: { + serializedName: "connectorId", + type: { + name: "String", + }, + }, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; -export const PropertyChangedConditionProperties: coreClient.CompositeMapper = { - serializedName: "PropertyChanged", +export const ConnectorDefinitionsAvailability: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PropertyChangedConditionProperties", - uberParent: "AutomationRuleCondition", - polymorphicDiscriminator: - AutomationRuleCondition.type.polymorphicDiscriminator, + className: "ConnectorDefinitionsAvailability", modelProperties: { - ...AutomationRuleCondition.type.modelProperties, - conditionProperties: { - serializedName: "conditionProperties", + status: { + serializedName: "status", type: { - name: "Composite", - className: "AutomationRulePropertyValuesChangedCondition" - } - } - } - } -}; - -export const PropertyConditionProperties: coreClient.CompositeMapper = { - serializedName: "Property", - type: { - name: "Composite", - className: "PropertyConditionProperties", - uberParent: "AutomationRuleCondition", - polymorphicDiscriminator: - AutomationRuleCondition.type.polymorphicDiscriminator, - modelProperties: { - ...AutomationRuleCondition.type.modelProperties, - conditionProperties: { - serializedName: "conditionProperties", + name: "Number", + }, + }, + isPreview: { + serializedName: "isPreview", type: { - name: "Composite", - className: "AutomationRulePropertyValuesCondition" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; -export const AutomationRuleModifyPropertiesAction: coreClient.CompositeMapper = { - serializedName: "ModifyProperties", +export const ConnectivityCriterion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomationRuleModifyPropertiesAction", - uberParent: "AutomationRuleAction", - polymorphicDiscriminator: - AutomationRuleAction.type.polymorphicDiscriminator, + className: "ConnectivityCriterion", modelProperties: { - ...AutomationRuleAction.type.modelProperties, - actionConfiguration: { - serializedName: "actionConfiguration", + type: { + serializedName: "type", + required: true, type: { - name: "Composite", - className: "IncidentPropertiesAction" - } - } - } - } + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const AutomationRuleRunPlaybookAction: coreClient.CompositeMapper = { - serializedName: "RunPlaybook", +export const ConnectorDataType: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomationRuleRunPlaybookAction", - uberParent: "AutomationRuleAction", - polymorphicDiscriminator: - AutomationRuleAction.type.polymorphicDiscriminator, + className: "ConnectorDataType", modelProperties: { - ...AutomationRuleAction.type.modelProperties, - actionConfiguration: { - serializedName: "actionConfiguration", + name: { + serializedName: "name", + required: true, type: { - name: "Composite", - className: "PlaybookActionProperties" - } - } - } - } + name: "String", + }, + }, + lastDataReceivedQuery: { + serializedName: "lastDataReceivedQuery", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const ActivityTimelineItem: coreClient.CompositeMapper = { - serializedName: "Activity", +export const CustomizableConnectorUiConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityTimelineItem", - uberParent: "EntityTimelineItem", - polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + className: "CustomizableConnectorUiConfig", modelProperties: { - ...EntityTimelineItem.type.modelProperties, - queryId: { - serializedName: "queryId", - required: true, + id: { + serializedName: "id", type: { - name: "String" - } + name: "String", + }, }, - bucketStartTimeUTC: { - serializedName: "bucketStartTimeUTC", + title: { + serializedName: "title", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - bucketEndTimeUTC: { - serializedName: "bucketEndTimeUTC", - required: true, + publisher: { + serializedName: "publisher", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - firstActivityTimeUTC: { - serializedName: "firstActivityTimeUTC", + descriptionMarkdown: { + serializedName: "descriptionMarkdown", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - lastActivityTimeUTC: { - serializedName: "lastActivityTimeUTC", - required: true, + graphQueriesTableName: { + serializedName: "graphQueriesTableName", type: { - name: "DateTime" - } + name: "String", + }, }, - content: { - serializedName: "content", + graphQueries: { + serializedName: "graphQueries", required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GraphQuery", + }, + }, + }, }, - title: { - serializedName: "title", + sampleQueries: { + serializedName: "sampleQueries", required: true, type: { - name: "String" - } - } - } - } -}; - -export const BookmarkTimelineItem: coreClient.CompositeMapper = { - serializedName: "Bookmark", - type: { - name: "Composite", - className: "BookmarkTimelineItem", - uberParent: "EntityTimelineItem", - polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, - modelProperties: { - ...EntityTimelineItem.type.modelProperties, - azureResourceId: { - serializedName: "azureResourceId", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SampleQuery", + }, + }, + }, + }, + dataTypes: { + serializedName: "dataTypes", required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectorDataType", + }, + }, + }, }, - displayName: { - serializedName: "displayName", + connectivityCriteria: { + serializedName: "connectivityCriteria", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityCriterion", + }, + }, + }, }, - notes: { - serializedName: "notes", + availability: { + serializedName: "availability", type: { - name: "String" - } + name: "Composite", + className: "ConnectorDefinitionsAvailability", + }, }, - endTimeUtc: { - serializedName: "endTimeUtc", + permissions: { + serializedName: "permissions", type: { - name: "DateTime" - } + name: "Composite", + className: "ConnectorDefinitionsPermissions", + }, }, - startTimeUtc: { - serializedName: "startTimeUtc", + instructionSteps: { + serializedName: "instructionSteps", + required: true, type: { - name: "DateTime" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstructionStep", + }, + }, + }, }, - eventTime: { - serializedName: "eventTime", + logo: { + serializedName: "logo", type: { - name: "DateTime" - } + name: "String", + }, }, - createdBy: { - serializedName: "createdBy", + isConnectivityCriteriasMatchSome: { + serializedName: "isConnectivityCriteriasMatchSome", type: { - name: "Composite", - className: "UserInfo" - } + name: "Boolean", + }, }, - labels: { - serializedName: "labels", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + }, + }, }; -export const AnomalyTimelineItem: coreClient.CompositeMapper = { - serializedName: "Anomaly", +export const GraphQuery: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnomalyTimelineItem", - uberParent: "EntityTimelineItem", - polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + className: "GraphQuery", modelProperties: { - ...EntityTimelineItem.type.modelProperties, - azureResourceId: { - serializedName: "azureResourceId", + metricName: { + serializedName: "metricName", required: true, type: { - name: "String" - } - }, - productName: { - serializedName: "productName", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", + legend: { + serializedName: "legend", required: true, type: { - name: "String" - } + name: "String", + }, }, - endTimeUtc: { - serializedName: "endTimeUtc", + baseQuery: { + serializedName: "baseQuery", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - startTimeUtc: { - serializedName: "startTimeUtc", + }, + }, +}; + +export const SampleQuery: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SampleQuery", + modelProperties: { + description: { + serializedName: "description", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - timeGenerated: { - serializedName: "timeGenerated", + query: { + serializedName: "query", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - vendor: { - serializedName: "vendor", + }, + }, +}; + +export const ConnectorDefinitionsPermissions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectorDefinitionsPermissions", + modelProperties: { + tenant: { + serializedName: "tenant", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - intent: { - serializedName: "intent", + licenses: { + serializedName: "licenses", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - techniques: { - serializedName: "techniques", + resourceProvider: { + serializedName: "resourceProvider", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "ConnectorDefinitionsResourceProvider", + }, + }, + }, }, - reasons: { - serializedName: "reasons", + customs: { + serializedName: "customs", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } -}; + name: "Composite", + className: "CustomPermissionDetails", + }, + }, + }, + }, + }, + }, +}; + +export const ConnectorDefinitionsResourceProvider: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectorDefinitionsResourceProvider", + modelProperties: { + provider: { + serializedName: "provider", + required: true, + type: { + name: "String", + }, + }, + permissionsDisplayText: { + serializedName: "permissionsDisplayText", + required: true, + type: { + name: "String", + }, + }, + providerDisplayName: { + serializedName: "providerDisplayName", + required: true, + type: { + name: "String", + }, + }, + scope: { + serializedName: "scope", + required: true, + type: { + name: "String", + }, + }, + requiredPermissions: { + serializedName: "requiredPermissions", + type: { + name: "Composite", + className: "ResourceProviderRequiredPermissions", + }, + }, + }, + }, + }; -export const SecurityAlertTimelineItem: coreClient.CompositeMapper = { - serializedName: "SecurityAlert", +export const ResourceProviderRequiredPermissions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityAlertTimelineItem", - uberParent: "EntityTimelineItem", - polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + className: "ResourceProviderRequiredPermissions", modelProperties: { - ...EntityTimelineItem.type.modelProperties, - azureResourceId: { - serializedName: "azureResourceId", - required: true, - type: { - name: "String" - } - }, - productName: { - serializedName: "productName", - type: { - name: "String" - } - }, - description: { - serializedName: "description", + read: { + serializedName: "read", type: { - name: "String" - } + name: "Boolean", + }, }, - displayName: { - serializedName: "displayName", - required: true, + write: { + serializedName: "write", type: { - name: "String" - } + name: "Boolean", + }, }, - severity: { - serializedName: "severity", - required: true, + delete: { + serializedName: "delete", type: { - name: "String" - } + name: "Boolean", + }, }, - endTimeUtc: { - serializedName: "endTimeUtc", - required: true, + action: { + serializedName: "action", type: { - name: "DateTime" - } + name: "Boolean", + }, }, - startTimeUtc: { - serializedName: "startTimeUtc", + }, + }, +}; + +export const CustomPermissionDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomPermissionDetails", + modelProperties: { + name: { + serializedName: "name", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - timeGenerated: { - serializedName: "timeGenerated", + description: { + serializedName: "description", required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - alertType: { - serializedName: "alertType", - required: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const InsightQueryItem: coreClient.CompositeMapper = { - serializedName: "Insight", +export const InstructionStep: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InsightQueryItem", - uberParent: "EntityQueryItem", - polymorphicDiscriminator: EntityQueryItem.type.polymorphicDiscriminator, + className: "InstructionStep", modelProperties: { - ...EntityQueryItem.type.modelProperties, - properties: { - serializedName: "properties", + title: { + serializedName: "title", type: { - name: "Composite", - className: "InsightQueryItemProperties" - } - } - } - } -}; - -export const SecurityAlertProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityAlertProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - alertDisplayName: { - serializedName: "alertDisplayName", - readOnly: true, - type: { - name: "String" - } - }, - alertType: { - serializedName: "alertType", - readOnly: true, - type: { - name: "String" - } + name: "String", + }, }, - compromisedEntity: { - serializedName: "compromisedEntity", - readOnly: true, + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - confidenceLevel: { - serializedName: "confidenceLevel", - readOnly: true, + instructions: { + serializedName: "instructions", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstructionStepDetails", + }, + }, + }, }, - confidenceReasons: { - serializedName: "confidenceReasons", - readOnly: true, + innerSteps: { + serializedName: "innerSteps", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityAlertPropertiesConfidenceReasonsItem" - } - } - } + className: "InstructionStep", + }, + }, + }, }, - confidenceScore: { - serializedName: "confidenceScore", - readOnly: true, + }, + }, +}; + +export const InstructionStepDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InstructionStepDetails", + modelProperties: { + parameters: { + serializedName: "parameters", + required: true, type: { - name: "Number" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - confidenceScoreStatus: { - serializedName: "confidenceScoreStatus", - readOnly: true, + type: { + serializedName: "type", + required: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", - readOnly: true, + }, + }, +}; + +export const CustomizableConnectionsConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomizableConnectionsConfig", + modelProperties: { + templateSpecName: { + serializedName: "templateSpecName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - endTimeUtc: { - serializedName: "endTimeUtc", - readOnly: true, + templateSpecVersion: { + serializedName: "templateSpecVersion", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - intent: { - serializedName: "intent", - readOnly: true, + }, + }, +}; + +export const DataConnectorTenantId: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataConnectorTenantId", + modelProperties: { + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "String" - } + name: "String", + }, }, - providerAlertId: { - serializedName: "providerAlertId", - readOnly: true, + }, + }, +}; + +export const DataConnectorWithAlertsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataConnectorWithAlertsProperties", + modelProperties: { + dataTypes: { + serializedName: "dataTypes", type: { - name: "String" - } + name: "Composite", + className: "AlertsDataTypeOfDataConnector", + }, }, - processingEndTime: { - serializedName: "processingEndTime", - readOnly: true, + }, + }, +}; + +export const AlertsDataTypeOfDataConnector: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AlertsDataTypeOfDataConnector", + modelProperties: { + alerts: { + serializedName: "alerts", type: { - name: "DateTime" - } + name: "Composite", + className: "DataConnectorDataTypeCommon", + }, }, - productComponentName: { - serializedName: "productComponentName", - readOnly: true, + }, + }, +}; + +export const DataConnectorDataTypeCommon: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataConnectorDataTypeCommon", + modelProperties: { + state: { + serializedName: "state", + required: true, type: { - name: "String" - } + name: "String", + }, }, - productName: { - serializedName: "productName", - readOnly: true, + }, + }, +}; + +export const MstiDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MstiDataConnectorDataTypes", + modelProperties: { + microsoftEmergingThreatFeed: { + serializedName: "microsoftEmergingThreatFeed", type: { - name: "String" - } + name: "Composite", + className: "MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed", + }, }, - productVersion: { - serializedName: "productVersion", - readOnly: true, + }, + }, +}; + +export const MTPDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MTPDataConnectorDataTypes", + modelProperties: { + incidents: { + serializedName: "incidents", type: { - name: "String" - } + name: "Composite", + className: "MTPDataConnectorDataTypesIncidents", + }, }, - remediationSteps: { - serializedName: "remediationSteps", - readOnly: true, + alerts: { + serializedName: "alerts", + type: { + name: "Composite", + className: "MTPDataConnectorDataTypesAlerts", + }, + }, + }, + }, +}; + +export const MtpFilteredProviders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MtpFilteredProviders", + modelProperties: { + alerts: { + serializedName: "alerts", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - severity: { - serializedName: "severity", + }, + }, +}; + +export const AwsCloudTrailDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AwsCloudTrailDataConnectorDataTypes", + modelProperties: { + logs: { + serializedName: "logs", type: { - name: "String" - } + name: "Composite", + className: "AwsCloudTrailDataConnectorDataTypesLogs", + }, }, - startTimeUtc: { - serializedName: "startTimeUtc", - readOnly: true, + }, + }, +}; + +export const AwsS3DataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AwsS3DataConnectorDataTypes", + modelProperties: { + logs: { + serializedName: "logs", type: { - name: "DateTime" - } + name: "Composite", + className: "AwsS3DataConnectorDataTypesLogs", + }, }, - status: { - serializedName: "status", - readOnly: true, + }, + }, +}; + +export const GCPAuthProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GCPAuthProperties", + modelProperties: { + serviceAccountEmail: { + serializedName: "serviceAccountEmail", + required: true, type: { - name: "String" - } + name: "String", + }, }, - systemAlertId: { - serializedName: "systemAlertId", - readOnly: true, + projectNumber: { + serializedName: "projectNumber", + required: true, type: { - name: "String" - } + name: "String", + }, }, - tactics: { - serializedName: "tactics", - readOnly: true, + workloadIdentityProviderId: { + serializedName: "workloadIdentityProviderId", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - timeGenerated: { - serializedName: "timeGenerated", - readOnly: true, + }, + }, +}; + +export const GCPRequestProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GCPRequestProperties", + modelProperties: { + projectId: { + serializedName: "projectId", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - vendorName: { - serializedName: "vendorName", - readOnly: true, + subscriptionNames: { + serializedName: "subscriptionNames", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - alertLink: { - serializedName: "alertLink", - readOnly: true, - type: { - name: "String" - } - }, - resourceIdentifiers: { - serializedName: "resourceIdentifiers", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } - } - } + }, + }, }; -export const HuntingBookmarkProperties: coreClient.CompositeMapper = { +export const DCRConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HuntingBookmarkProperties", + className: "DCRConfiguration", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - created: { - serializedName: "created", - type: { - name: "DateTime" - } - }, - createdBy: { - serializedName: "createdBy", - type: { - name: "Composite", - className: "UserInfo" - } - }, - displayName: { - serializedName: "displayName", + dataCollectionEndpoint: { + serializedName: "dataCollectionEndpoint", required: true, type: { - name: "String" - } - }, - eventTime: { - serializedName: "eventTime", - type: { - name: "DateTime" - } - }, - labels: { - serializedName: "labels", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - notes: { - serializedName: "notes", + dataCollectionRuleImmutableId: { + serializedName: "dataCollectionRuleImmutableId", + required: true, type: { - name: "String" - } + name: "String", + }, }, - query: { - serializedName: "query", + streamName: { + serializedName: "streamName", required: true, type: { - name: "String" - } + name: "String", + }, }, - queryResult: { - serializedName: "queryResult", + }, + }, +}; + +export const Dynamics365DataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Dynamics365DataConnectorDataTypes", + modelProperties: { + dynamics365CdsActivities: { + serializedName: "dynamics365CdsActivities", type: { - name: "String" - } + name: "Composite", + className: + "Dynamics365DataConnectorDataTypesDynamics365CdsActivities", + }, }, - updated: { - serializedName: "updated", - type: { - name: "DateTime" - } + }, + }, +}; + +export const MicrosoftPurviewInformationProtectionConnectorDataTypes: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftPurviewInformationProtectionConnectorDataTypes", + modelProperties: { + logs: { + serializedName: "logs", + type: { + name: "Composite", + className: + "MicrosoftPurviewInformationProtectionConnectorDataTypesLogs", + }, + }, }, - updatedBy: { - serializedName: "updatedBy", + }, + }; + +export const Office365ProjectConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Office365ProjectConnectorDataTypes", + modelProperties: { + logs: { + serializedName: "logs", type: { name: "Composite", - className: "UserInfo" - } + className: "Office365ProjectConnectorDataTypesLogs", + }, }, - incidentInfo: { - serializedName: "incidentInfo", + }, + }, +}; + +export const OfficePowerBIConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficePowerBIConnectorDataTypes", + modelProperties: { + logs: { + serializedName: "logs", type: { name: "Composite", - className: "IncidentInfo" - } - } - } - } + className: "OfficePowerBIConnectorDataTypesLogs", + }, + }, + }, + }, }; -export const ThreatIntelligenceIndicatorProperties: coreClient.CompositeMapper = { +export const OfficeDataConnectorDataTypes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ThreatIntelligenceIndicatorProperties", + className: "OfficeDataConnectorDataTypes", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - threatIntelligenceTags: { - serializedName: "threatIntelligenceTags", + exchange: { + serializedName: "exchange", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "Composite", + className: "OfficeDataConnectorDataTypesExchange", + }, }, - lastUpdatedTimeUtc: { - serializedName: "lastUpdatedTimeUtc", + sharePoint: { + serializedName: "sharePoint", type: { - name: "String" - } + name: "Composite", + className: "OfficeDataConnectorDataTypesSharePoint", + }, }, - source: { - serializedName: "source", + teams: { + serializedName: "teams", type: { - name: "String" - } + name: "Composite", + className: "OfficeDataConnectorDataTypesTeams", + }, }, - displayName: { - serializedName: "displayName", + }, + }, +}; + +export const TIDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TIDataConnectorDataTypes", + modelProperties: { + indicators: { + serializedName: "indicators", type: { - name: "String" - } + name: "Composite", + className: "TIDataConnectorDataTypesIndicators", + }, }, - description: { - serializedName: "description", + }, + }, +}; + +export const TiTaxiiDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TiTaxiiDataConnectorDataTypes", + modelProperties: { + taxiiClient: { + serializedName: "taxiiClient", type: { - name: "String" - } + name: "Composite", + className: "TiTaxiiDataConnectorDataTypesTaxiiClient", + }, }, - indicatorTypes: { - serializedName: "indicatorTypes", + }, + }, +}; + +export const CodelessUiConnectorConfigProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigProperties", + modelProperties: { + title: { + serializedName: "title", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - pattern: { - serializedName: "pattern", + publisher: { + serializedName: "publisher", + required: true, type: { - name: "String" - } + name: "String", + }, }, - patternType: { - serializedName: "patternType", + descriptionMarkdown: { + serializedName: "descriptionMarkdown", + required: true, type: { - name: "String" - } + name: "String", + }, }, - patternVersion: { - serializedName: "patternVersion", + customImage: { + serializedName: "customImage", type: { - name: "String" - } + name: "String", + }, }, - killChainPhases: { - serializedName: "killChainPhases", + graphQueriesTableName: { + serializedName: "graphQueriesTableName", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThreatIntelligenceKillChainPhase" - } - } - } + name: "String", + }, }, - parsedPattern: { - serializedName: "parsedPattern", + graphQueries: { + serializedName: "graphQueries", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceParsedPattern" - } - } - } - }, - externalId: { - serializedName: "externalId", - type: { - name: "String" - } - }, - createdByRef: { - serializedName: "createdByRef", - type: { - name: "String" - } - }, - defanged: { - serializedName: "defanged", - type: { - name: "Boolean" - } - }, - externalLastUpdatedTimeUtc: { - serializedName: "externalLastUpdatedTimeUtc", - type: { - name: "String" - } + className: "CodelessUiConnectorConfigPropertiesGraphQueriesItem", + }, + }, + }, }, - externalReferences: { - serializedName: "externalReferences", + sampleQueries: { + serializedName: "sampleQueries", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceExternalReference" - } - } - } + className: "CodelessUiConnectorConfigPropertiesSampleQueriesItem", + }, + }, + }, }, - granularMarkings: { - serializedName: "granularMarkings", + dataTypes: { + serializedName: "dataTypes", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ThreatIntelligenceGranularMarkingModel" - } - } - } + className: "CodelessUiConnectorConfigPropertiesDataTypesItem", + }, + }, + }, }, - labels: { - serializedName: "labels", + connectivityCriteria: { + serializedName: "connectivityCriteria", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: + "CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem", + }, + }, + }, }, - revoked: { - serializedName: "revoked", + availability: { + serializedName: "availability", type: { - name: "Boolean" - } + name: "Composite", + className: "Availability", + }, }, - confidence: { - serializedName: "confidence", + permissions: { + serializedName: "permissions", type: { - name: "Number" - } + name: "Composite", + className: "Permissions", + }, }, - objectMarkingRefs: { - serializedName: "objectMarkingRefs", + instructionSteps: { + serializedName: "instructionSteps", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: + "CodelessUiConnectorConfigPropertiesInstructionStepsItem", + }, + }, + }, }, - language: { - serializedName: "language", + }, + }, +}; + +export const GraphQueries: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GraphQueries", + modelProperties: { + metricName: { + serializedName: "metricName", type: { - name: "String" - } + name: "String", + }, }, - threatTypes: { - serializedName: "threatTypes", + legend: { + serializedName: "legend", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - validFrom: { - serializedName: "validFrom", + baseQuery: { + serializedName: "baseQuery", type: { - name: "String" - } + name: "String", + }, }, - validUntil: { - serializedName: "validUntil", + }, + }, +}; + +export const SampleQueries: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SampleQueries", + modelProperties: { + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - created: { - serializedName: "created", + query: { + serializedName: "query", type: { - name: "String" - } + name: "String", + }, }, - modified: { - serializedName: "modified", + }, + }, +}; + +export const LastDataReceivedDataType: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LastDataReceivedDataType", + modelProperties: { + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - extensions: { - serializedName: "extensions", + lastDataReceivedQuery: { + serializedName: "lastDataReceivedQuery", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AccountEntityProperties: coreClient.CompositeMapper = { +export const ConnectivityCriteria: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountEntityProperties", + className: "ConnectivityCriteria", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - aadTenantId: { - serializedName: "aadTenantId", - readOnly: true, + type: { + serializedName: "type", type: { - name: "String" - } + name: "String", + }, }, - aadUserId: { - serializedName: "aadUserId", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - accountName: { - serializedName: "accountName", - readOnly: true, + }, + }, +}; + +export const Availability: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Availability", + modelProperties: { + status: { + defaultValue: 1, + isConstant: true, + serializedName: "status", type: { - name: "String" - } + name: "Number", + }, }, - displayName: { - serializedName: "displayName", - readOnly: true, + isPreview: { + serializedName: "isPreview", type: { - name: "String" - } + name: "Boolean", + }, }, - hostEntityId: { - serializedName: "hostEntityId", - readOnly: true, + }, + }, +}; + +export const Permissions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Permissions", + modelProperties: { + resourceProvider: { + serializedName: "resourceProvider", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PermissionsResourceProviderItem", + }, + }, + }, }, - isDomainJoined: { - serializedName: "isDomainJoined", - readOnly: true, + customs: { + serializedName: "customs", type: { - name: "Boolean" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PermissionsCustomsItem", + }, + }, + }, }, - ntDomain: { - serializedName: "ntDomain", - readOnly: true, + }, + }, +}; + +export const ResourceProvider: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceProvider", + modelProperties: { + provider: { + serializedName: "provider", type: { - name: "String" - } + name: "String", + }, }, - objectGuid: { - serializedName: "objectGuid", - readOnly: true, + permissionsDisplayText: { + serializedName: "permissionsDisplayText", type: { - name: "Uuid" - } + name: "String", + }, }, - puid: { - serializedName: "puid", - readOnly: true, + providerDisplayName: { + serializedName: "providerDisplayName", type: { - name: "String" - } + name: "String", + }, }, - sid: { - serializedName: "sid", - readOnly: true, + scope: { + serializedName: "scope", type: { - name: "String" - } + name: "String", + }, }, - upnSuffix: { - serializedName: "upnSuffix", - readOnly: true, + requiredPermissions: { + serializedName: "requiredPermissions", type: { - name: "String" - } + name: "Composite", + className: "RequiredPermissions", + }, }, - dnsDomain: { - serializedName: "dnsDomain", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AzureResourceEntityProperties: coreClient.CompositeMapper = { +export const RequiredPermissions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureResourceEntityProperties", + className: "RequiredPermissions", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - resourceId: { - serializedName: "resourceId", - readOnly: true, + action: { + serializedName: "action", type: { - name: "String" - } + name: "Boolean", + }, }, - subscriptionId: { - serializedName: "subscriptionId", - readOnly: true, + write: { + serializedName: "write", type: { - name: "String" - } - } - } - } + name: "Boolean", + }, + }, + read: { + serializedName: "read", + type: { + name: "Boolean", + }, + }, + delete: { + serializedName: "delete", + type: { + name: "Boolean", + }, + }, + }, + }, }; -export const CloudApplicationEntityProperties: coreClient.CompositeMapper = { +export const CustomsPermission: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CloudApplicationEntityProperties", + className: "CustomsPermission", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - appId: { - serializedName: "appId", - readOnly: true, + name: { + serializedName: "name", type: { - name: "Number" - } + name: "String", + }, }, - appName: { - serializedName: "appName", - readOnly: true, + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - instanceName: { - serializedName: "instanceName", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const DnsEntityProperties: coreClient.CompositeMapper = { +export const InstructionSteps: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DnsEntityProperties", + className: "InstructionSteps", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - dnsServerIpEntityId: { - serializedName: "dnsServerIpEntityId", - readOnly: true, - type: { - name: "String" - } - }, - domainName: { - serializedName: "domainName", - readOnly: true, + title: { + serializedName: "title", type: { - name: "String" - } + name: "String", + }, }, - hostIpAddressEntityId: { - serializedName: "hostIpAddressEntityId", - readOnly: true, + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - ipAddressEntityIds: { - serializedName: "ipAddressEntityIds", - readOnly: true, + instructions: { + serializedName: "instructions", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "Composite", + className: "InstructionStepsInstructionsItem", + }, + }, + }, + }, + }, + }, }; -export const FileEntityProperties: coreClient.CompositeMapper = { +export const ConnectorInstructionModelBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FileEntityProperties", + className: "ConnectorInstructionModelBase", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - directory: { - serializedName: "directory", - readOnly: true, + parameters: { + serializedName: "parameters", type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - fileHashEntityIds: { - serializedName: "fileHashEntityIds", - readOnly: true, + type: { + serializedName: "type", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - fileName: { - serializedName: "fileName", - readOnly: true, - type: { - name: "String" - } + }, + }, +}; + +export const CodelessConnectorPollingConfigProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessConnectorPollingConfigProperties", + modelProperties: { + isActive: { + serializedName: "isActive", + type: { + name: "Boolean", + }, + }, + auth: { + serializedName: "auth", + type: { + name: "Composite", + className: "CodelessConnectorPollingAuthProperties", + }, + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "CodelessConnectorPollingRequestProperties", + }, + }, + paging: { + serializedName: "paging", + type: { + name: "Composite", + className: "CodelessConnectorPollingPagingProperties", + }, + }, + response: { + serializedName: "response", + type: { + name: "Composite", + className: "CodelessConnectorPollingResponseProperties", + }, + }, }, - hostEntityId: { - serializedName: "hostEntityId", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const FileHashEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FileHashEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - algorithm: { - serializedName: "algorithm", - readOnly: true, - type: { - name: "String" - } + }, + }; + +export const CodelessConnectorPollingAuthProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessConnectorPollingAuthProperties", + modelProperties: { + authType: { + serializedName: "authType", + required: true, + type: { + name: "String", + }, + }, + apiKeyName: { + serializedName: "apiKeyName", + type: { + name: "String", + }, + }, + apiKeyIdentifier: { + serializedName: "apiKeyIdentifier", + type: { + name: "String", + }, + }, + isApiKeyInPostPayload: { + serializedName: "isApiKeyInPostPayload", + type: { + name: "String", + }, + }, + flowName: { + serializedName: "flowName", + type: { + name: "String", + }, + }, + tokenEndpoint: { + serializedName: "tokenEndpoint", + type: { + name: "String", + }, + }, + authorizationEndpoint: { + serializedName: "authorizationEndpoint", + type: { + name: "String", + }, + }, + authorizationEndpointQueryParameters: { + serializedName: "authorizationEndpointQueryParameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + redirectionEndpoint: { + serializedName: "redirectionEndpoint", + type: { + name: "String", + }, + }, + tokenEndpointHeaders: { + serializedName: "tokenEndpointHeaders", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + tokenEndpointQueryParameters: { + serializedName: "tokenEndpointQueryParameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + isClientSecretInHeader: { + serializedName: "isClientSecretInHeader", + type: { + name: "Boolean", + }, + }, + scope: { + serializedName: "scope", + type: { + name: "String", + }, + }, }, - hashValue: { - serializedName: "hashValue", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; + }, + }; + +export const CodelessConnectorPollingRequestProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessConnectorPollingRequestProperties", + modelProperties: { + apiEndpoint: { + serializedName: "apiEndpoint", + required: true, + type: { + name: "String", + }, + }, + rateLimitQps: { + serializedName: "rateLimitQps", + type: { + name: "Number", + }, + }, + queryWindowInMin: { + serializedName: "queryWindowInMin", + required: true, + type: { + name: "Number", + }, + }, + httpMethod: { + serializedName: "httpMethod", + required: true, + type: { + name: "String", + }, + }, + queryTimeFormat: { + serializedName: "queryTimeFormat", + required: true, + type: { + name: "String", + }, + }, + retryCount: { + serializedName: "retryCount", + type: { + name: "Number", + }, + }, + timeoutInSeconds: { + serializedName: "timeoutInSeconds", + type: { + name: "Number", + }, + }, + headers: { + serializedName: "headers", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + queryParameters: { + serializedName: "queryParameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + queryParametersTemplate: { + serializedName: "queryParametersTemplate", + type: { + name: "String", + }, + }, + startTimeAttributeName: { + serializedName: "startTimeAttributeName", + type: { + name: "String", + }, + }, + endTimeAttributeName: { + serializedName: "endTimeAttributeName", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const CodelessConnectorPollingPagingProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessConnectorPollingPagingProperties", + modelProperties: { + pagingType: { + serializedName: "pagingType", + required: true, + type: { + name: "String", + }, + }, + nextPageParaName: { + serializedName: "nextPageParaName", + type: { + name: "String", + }, + }, + nextPageTokenJsonPath: { + serializedName: "nextPageTokenJsonPath", + type: { + name: "String", + }, + }, + pageCountAttributePath: { + serializedName: "pageCountAttributePath", + type: { + name: "String", + }, + }, + pageTotalCountAttributePath: { + serializedName: "pageTotalCountAttributePath", + type: { + name: "String", + }, + }, + pageTimeStampAttributePath: { + serializedName: "pageTimeStampAttributePath", + type: { + name: "String", + }, + }, + searchTheLatestTimeStampFromEventsList: { + serializedName: "searchTheLatestTimeStampFromEventsList", + type: { + name: "String", + }, + }, + pageSizeParaName: { + serializedName: "pageSizeParaName", + type: { + name: "String", + }, + }, + pageSize: { + serializedName: "pageSize", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const CodelessConnectorPollingResponseProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessConnectorPollingResponseProperties", + modelProperties: { + eventsJsonPaths: { + serializedName: "eventsJsonPaths", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + successStatusJsonPath: { + serializedName: "successStatusJsonPath", + type: { + name: "String", + }, + }, + successStatusValue: { + serializedName: "successStatusValue", + type: { + name: "String", + }, + }, + isGzipCompressed: { + serializedName: "isGzipCompressed", + type: { + name: "Boolean", + }, + }, + }, + }, + }; -export const HostEntityProperties: coreClient.CompositeMapper = { +export const ThreatIntelligence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HostEntityProperties", + className: "ThreatIntelligence", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - azureID: { - serializedName: "azureID", - readOnly: true, - type: { - name: "String" - } - }, - dnsDomain: { - serializedName: "dnsDomain", + confidence: { + serializedName: "confidence", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - hostName: { - serializedName: "hostName", + providerName: { + serializedName: "providerName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - isDomainJoined: { - serializedName: "isDomainJoined", + reportLink: { + serializedName: "reportLink", readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - netBiosName: { - serializedName: "netBiosName", + threatDescription: { + serializedName: "threatDescription", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - ntDomain: { - serializedName: "ntDomain", + threatName: { + serializedName: "threatName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - omsAgentID: { - serializedName: "omsAgentID", + threatType: { + serializedName: "threatType", readOnly: true, type: { - name: "String" - } - }, - osFamily: { - serializedName: "osFamily", - type: { - name: "Enum", - allowedValues: ["Linux", "Windows", "Android", "IOS", "Unknown"] - } + name: "String", + }, }, - osVersion: { - serializedName: "osVersion", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const IoTDeviceEntityProperties: coreClient.CompositeMapper = { +export const GeoLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IoTDeviceEntityProperties", + className: "GeoLocation", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - deviceId: { - serializedName: "deviceId", - readOnly: true, - type: { - name: "String" - } - }, - deviceName: { - serializedName: "deviceName", - readOnly: true, - type: { - name: "String" - } - }, - source: { - serializedName: "source", + asn: { + serializedName: "asn", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - iotSecurityAgentId: { - serializedName: "iotSecurityAgentId", + city: { + serializedName: "city", readOnly: true, type: { - name: "Uuid" - } + name: "String", + }, }, - deviceType: { - serializedName: "deviceType", + countryCode: { + serializedName: "countryCode", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - vendor: { - serializedName: "vendor", + countryName: { + serializedName: "countryName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - edgeId: { - serializedName: "edgeId", + latitude: { + serializedName: "latitude", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - macAddress: { - serializedName: "macAddress", + longitude: { + serializedName: "longitude", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - model: { - serializedName: "model", + state: { + serializedName: "state", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - serialNumber: { - serializedName: "serialNumber", - readOnly: true, + }, + }, +}; + +export const ResourceWithEtag: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceWithEtag", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", type: { - name: "String" - } + name: "String", + }, }, - firmwareVersion: { - serializedName: "firmwareVersion", - readOnly: true, + }, + }, +}; + +export const AlertRuleTemplate: coreClient.CompositeMapper = { + serializedName: "AlertRuleTemplate", + type: { + name: "Composite", + className: "AlertRuleTemplate", + uberParent: "Resource", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...Resource.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - operatingSystem: { - serializedName: "operatingSystem", + }, + }, +}; + +export const AzureEntityResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureEntityResource", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - iotHubEntityId: { - serializedName: "iotHubEntityId", - readOnly: true, + }, + }, +}; + +export const Entity: coreClient.CompositeMapper = { + serializedName: "Entity", + type: { + name: "Composite", + className: "Entity", + uberParent: "Resource", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...Resource.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - hostEntityId: { - serializedName: "hostEntityId", - readOnly: true, + }, + }, +}; + +export const EntityQueryTemplate: coreClient.CompositeMapper = { + serializedName: "EntityQueryTemplate", + type: { + name: "Composite", + className: "EntityQueryTemplate", + uberParent: "Resource", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...Resource.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - ipAddressEntityId: { - serializedName: "ipAddressEntityId", - readOnly: true, + }, + }, +}; + +export const FileImport: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FileImport", + modelProperties: { + ...Resource.type.modelProperties, + ingestionMode: { + serializedName: "properties.ingestionMode", type: { - name: "String" - } + name: "String", + }, }, - threatIntelligence: { - serializedName: "threatIntelligence", - readOnly: true, + contentType: { + serializedName: "properties.contentType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThreatIntelligence" - } - } - } + name: "String", + }, }, - protocols: { - serializedName: "protocols", + createdTimeUTC: { + serializedName: "properties.createdTimeUTC", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "DateTime", + }, }, - owners: { - serializedName: "owners", - readOnly: true, + errorFile: { + serializedName: "properties.errorFile", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "Composite", + className: "FileMetadata", + }, }, - nicEntityIds: { - serializedName: "nicEntityIds", + errorsPreview: { + serializedName: "properties.errorsPreview", readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "ValidationError", + }, + }, + }, }, - site: { - serializedName: "site", - readOnly: true, + importFile: { + serializedName: "properties.importFile", type: { - name: "String" - } + name: "Composite", + className: "FileMetadata", + }, }, - zone: { - serializedName: "zone", + ingestedRecordCount: { + serializedName: "properties.ingestedRecordCount", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - sensor: { - serializedName: "sensor", - readOnly: true, + source: { + serializedName: "properties.source", type: { - name: "String" - } + name: "String", + }, }, - deviceSubType: { - serializedName: "deviceSubType", + state: { + serializedName: "properties.state", readOnly: true, type: { - name: "String" - } - }, - importance: { - serializedName: "importance", - type: { - name: "String" - } + name: "String", + }, }, - purdueLayer: { - serializedName: "purdueLayer", + totalRecordCount: { + serializedName: "properties.totalRecordCount", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - isAuthorized: { - serializedName: "isAuthorized", + validRecordCount: { + serializedName: "properties.validRecordCount", readOnly: true, type: { - name: "Boolean" - } + name: "Number", + }, }, - isProgramming: { - serializedName: "isProgramming", + filesValidUntilTimeUTC: { + serializedName: "properties.filesValidUntilTimeUTC", readOnly: true, type: { - name: "Boolean" - } + name: "DateTime", + }, }, - isScanner: { - serializedName: "isScanner", + importValidUntilTimeUTC: { + serializedName: "properties.importValidUntilTimeUTC", readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; -export const IpEntityProperties: coreClient.CompositeMapper = { +export const OfficeConsent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IpEntityProperties", + className: "OfficeConsent", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - address: { - serializedName: "address", - readOnly: true, + ...Resource.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, - location: { - serializedName: "location", + consentId: { + serializedName: "properties.consentId", type: { - name: "Composite", - className: "GeoLocation" - } + name: "String", + }, }, - threatIntelligence: { - serializedName: "threatIntelligence", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThreatIntelligence" - } - } - } - } - } - } + }, + }, }; -export const MailboxEntityProperties: coreClient.CompositeMapper = { +export const ActionResponseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MailboxEntityProperties", + className: "ActionResponseProperties", modelProperties: { - ...EntityCommonProperties.type.modelProperties, - mailboxPrimaryAddress: { - serializedName: "mailboxPrimaryAddress", - readOnly: true, - type: { - name: "String" - } - }, - displayName: { - serializedName: "displayName", - readOnly: true, + ...ActionPropertiesBase.type.modelProperties, + workflowId: { + serializedName: "workflowId", type: { - name: "String" - } + name: "String", + }, }, - upn: { - serializedName: "upn", - readOnly: true, + }, + }, +}; + +export const ActionRequestProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActionRequestProperties", + modelProperties: { + ...ActionPropertiesBase.type.modelProperties, + triggerUri: { + serializedName: "triggerUri", + required: true, type: { - name: "String" - } + name: "String", + }, }, - externalDirectoryObjectId: { - serializedName: "externalDirectoryObjectId", - readOnly: true, - type: { - name: "Uuid" - } - } - } - } + }, + }, }; -export const MailClusterEntityProperties: coreClient.CompositeMapper = { +export const BooleanConditionProperties: coreClient.CompositeMapper = { + serializedName: "Boolean", type: { name: "Composite", - className: "MailClusterEntityProperties", + className: "BooleanConditionProperties", + uberParent: "AutomationRuleCondition", + polymorphicDiscriminator: + AutomationRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...EntityCommonProperties.type.modelProperties, - networkMessageIds: { - serializedName: "networkMessageIds", - readOnly: true, + ...AutomationRuleCondition.type.modelProperties, + conditionProperties: { + serializedName: "conditionProperties", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "Composite", + className: "AutomationRuleBooleanCondition", + }, }, - countByDeliveryStatus: { - serializedName: "countByDeliveryStatus", - readOnly: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + }, + }, +}; + +export const PropertyArrayChangedConditionProperties: coreClient.CompositeMapper = + { + serializedName: "PropertyArrayChanged", + type: { + name: "Composite", + className: "PropertyArrayChangedConditionProperties", + uberParent: "AutomationRuleCondition", + polymorphicDiscriminator: + AutomationRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleCondition.type.modelProperties, + conditionProperties: { + serializedName: "conditionProperties", + type: { + name: "Composite", + className: "AutomationRulePropertyArrayChangedValuesCondition", + }, + }, }, - countByThreatType: { - serializedName: "countByThreatType", - readOnly: true, + }, + }; + +export const PropertyArrayConditionProperties: coreClient.CompositeMapper = { + serializedName: "PropertyArray", + type: { + name: "Composite", + className: "PropertyArrayConditionProperties", + uberParent: "AutomationRuleCondition", + polymorphicDiscriminator: + AutomationRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleCondition.type.modelProperties, + conditionProperties: { + serializedName: "conditionProperties", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Composite", + className: "AutomationRulePropertyArrayValuesCondition", + }, }, - countByProtectionStatus: { - serializedName: "countByProtectionStatus", - readOnly: true, + }, + }, +}; + +export const PropertyChangedConditionProperties: coreClient.CompositeMapper = { + serializedName: "PropertyChanged", + type: { + name: "Composite", + className: "PropertyChangedConditionProperties", + uberParent: "AutomationRuleCondition", + polymorphicDiscriminator: + AutomationRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleCondition.type.modelProperties, + conditionProperties: { + serializedName: "conditionProperties", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Composite", + className: "AutomationRulePropertyValuesChangedCondition", + }, }, - threats: { - serializedName: "threats", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - query: { - serializedName: "query", - readOnly: true, + }, + }, +}; + +export const PropertyConditionProperties: coreClient.CompositeMapper = { + serializedName: "Property", + type: { + name: "Composite", + className: "PropertyConditionProperties", + uberParent: "AutomationRuleCondition", + polymorphicDiscriminator: + AutomationRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleCondition.type.modelProperties, + conditionProperties: { + serializedName: "conditionProperties", type: { - name: "String" - } + name: "Composite", + className: "AutomationRulePropertyValuesCondition", + }, }, - queryTime: { - serializedName: "queryTime", - readOnly: true, + }, + }, +}; + +export const AutomationRuleAddIncidentTaskAction: coreClient.CompositeMapper = { + serializedName: "AddIncidentTask", + type: { + name: "Composite", + className: "AutomationRuleAddIncidentTaskAction", + uberParent: "AutomationRuleAction", + polymorphicDiscriminator: + AutomationRuleAction.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleAction.type.modelProperties, + actionConfiguration: { + serializedName: "actionConfiguration", type: { - name: "DateTime" - } + name: "Composite", + className: "AddIncidentTaskActionProperties", + }, }, - mailCount: { - serializedName: "mailCount", - readOnly: true, + }, + }, +}; + +export const AutomationRuleModifyPropertiesAction: coreClient.CompositeMapper = + { + serializedName: "ModifyProperties", + type: { + name: "Composite", + className: "AutomationRuleModifyPropertiesAction", + uberParent: "AutomationRuleAction", + polymorphicDiscriminator: + AutomationRuleAction.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleAction.type.modelProperties, + actionConfiguration: { + serializedName: "actionConfiguration", + type: { + name: "Composite", + className: "IncidentPropertiesAction", + }, + }, + }, + }, + }; + +export const AutomationRuleRunPlaybookAction: coreClient.CompositeMapper = { + serializedName: "RunPlaybook", + type: { + name: "Composite", + className: "AutomationRuleRunPlaybookAction", + uberParent: "AutomationRuleAction", + polymorphicDiscriminator: + AutomationRuleAction.type.polymorphicDiscriminator, + modelProperties: { + ...AutomationRuleAction.type.modelProperties, + actionConfiguration: { + serializedName: "actionConfiguration", type: { - name: "Number" - } + name: "Composite", + className: "PlaybookActionProperties", + }, }, - isVolumeAnomaly: { - serializedName: "isVolumeAnomaly", - readOnly: true, + }, + }, +}; + +export const PackageProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PackageProperties", + modelProperties: { + ...PackageBaseProperties.type.modelProperties, + }, + }, +}; + +export const ProductPackageProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProductPackageProperties", + modelProperties: { + ...PackageBaseProperties.type.modelProperties, + ...ProductPackageAdditionalProperties.type.modelProperties, + }, + }, +}; + +export const ProductTemplateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProductTemplateProperties", + modelProperties: { + ...TemplateBaseProperties.type.modelProperties, + ...ProductTemplateAdditionalProperties.type.modelProperties, + }, + }, +}; + +export const TemplateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TemplateProperties", + modelProperties: { + ...TemplateBaseProperties.type.modelProperties, + ...TemplateAdditionalProperties.type.modelProperties, + }, + }, +}; + +export const ActivityTimelineItem: coreClient.CompositeMapper = { + serializedName: "Activity", + type: { + name: "Composite", + className: "ActivityTimelineItem", + uberParent: "EntityTimelineItem", + polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + modelProperties: { + ...EntityTimelineItem.type.modelProperties, + queryId: { + serializedName: "queryId", + required: true, type: { - name: "Boolean" - } + name: "String", + }, }, - source: { - serializedName: "source", - readOnly: true, + bucketStartTimeUTC: { + serializedName: "bucketStartTimeUTC", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - clusterSourceIdentifier: { - serializedName: "clusterSourceIdentifier", - readOnly: true, + bucketEndTimeUTC: { + serializedName: "bucketEndTimeUTC", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - clusterSourceType: { - serializedName: "clusterSourceType", - readOnly: true, + firstActivityTimeUTC: { + serializedName: "firstActivityTimeUTC", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - clusterQueryStartTime: { - serializedName: "clusterQueryStartTime", - readOnly: true, + lastActivityTimeUTC: { + serializedName: "lastActivityTimeUTC", + required: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, - clusterQueryEndTime: { - serializedName: "clusterQueryEndTime", - readOnly: true, + content: { + serializedName: "content", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - clusterGroup: { - serializedName: "clusterGroup", - readOnly: true, + title: { + serializedName: "title", + required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const MailMessageEntityProperties: coreClient.CompositeMapper = { +export const BookmarkTimelineItem: coreClient.CompositeMapper = { + serializedName: "Bookmark", type: { name: "Composite", - className: "MailMessageEntityProperties", + className: "BookmarkTimelineItem", + uberParent: "EntityTimelineItem", + polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, modelProperties: { - ...EntityCommonProperties.type.modelProperties, - fileEntityIds: { - serializedName: "fileEntityIds", - readOnly: true, + ...EntityTimelineItem.type.modelProperties, + azureResourceId: { + serializedName: "azureResourceId", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - recipient: { - serializedName: "recipient", - readOnly: true, + displayName: { + serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, - urls: { - serializedName: "urls", - readOnly: true, + notes: { + serializedName: "notes", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - threats: { - serializedName: "threats", - readOnly: true, + endTimeUtc: { + serializedName: "endTimeUtc", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "DateTime", + }, }, - p1Sender: { - serializedName: "p1Sender", - readOnly: true, + startTimeUtc: { + serializedName: "startTimeUtc", type: { - name: "String" - } + name: "DateTime", + }, }, - p1SenderDisplayName: { - serializedName: "p1SenderDisplayName", - readOnly: true, + eventTime: { + serializedName: "eventTime", type: { - name: "String" - } + name: "DateTime", + }, }, - p1SenderDomain: { - serializedName: "p1SenderDomain", - readOnly: true, + createdBy: { + serializedName: "createdBy", type: { - name: "String" - } + name: "Composite", + className: "UserInfo", + }, }, - senderIP: { - serializedName: "senderIP", - readOnly: true, + labels: { + serializedName: "labels", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - p2Sender: { - serializedName: "p2Sender", - readOnly: true, + }, + }, +}; + +export const AnomalyTimelineItem: coreClient.CompositeMapper = { + serializedName: "Anomaly", + type: { + name: "Composite", + className: "AnomalyTimelineItem", + uberParent: "EntityTimelineItem", + polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + modelProperties: { + ...EntityTimelineItem.type.modelProperties, + azureResourceId: { + serializedName: "azureResourceId", + required: true, type: { - name: "String" - } + name: "String", + }, }, - p2SenderDisplayName: { - serializedName: "p2SenderDisplayName", - readOnly: true, + productName: { + serializedName: "productName", type: { - name: "String" - } + name: "String", + }, }, - p2SenderDomain: { - serializedName: "p2SenderDomain", - readOnly: true, + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - receiveDate: { - serializedName: "receiveDate", - readOnly: true, + displayName: { + serializedName: "displayName", + required: true, type: { - name: "DateTime" - } + name: "String", + }, }, - networkMessageId: { - serializedName: "networkMessageId", - readOnly: true, + endTimeUtc: { + serializedName: "endTimeUtc", + required: true, type: { - name: "Uuid" - } + name: "DateTime", + }, }, - internetMessageId: { - serializedName: "internetMessageId", - readOnly: true, + startTimeUtc: { + serializedName: "startTimeUtc", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - subject: { - serializedName: "subject", - readOnly: true, + timeGenerated: { + serializedName: "timeGenerated", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - language: { - serializedName: "language", - readOnly: true, + vendor: { + serializedName: "vendor", type: { - name: "String" - } + name: "String", + }, }, - threatDetectionMethods: { - serializedName: "threatDetectionMethods", - readOnly: true, + intent: { + serializedName: "intent", + type: { + name: "String", + }, + }, + techniques: { + serializedName: "techniques", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - bodyFingerprintBin1: { - serializedName: "bodyFingerprintBin1", + reasons: { + serializedName: "reasons", type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - bodyFingerprintBin2: { - serializedName: "bodyFingerprintBin2", + }, + }, +}; + +export const SecurityAlertTimelineItem: coreClient.CompositeMapper = { + serializedName: "SecurityAlert", + type: { + name: "Composite", + className: "SecurityAlertTimelineItem", + uberParent: "EntityTimelineItem", + polymorphicDiscriminator: EntityTimelineItem.type.polymorphicDiscriminator, + modelProperties: { + ...EntityTimelineItem.type.modelProperties, + azureResourceId: { + serializedName: "azureResourceId", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - bodyFingerprintBin3: { - serializedName: "bodyFingerprintBin3", + productName: { + serializedName: "productName", type: { - name: "Number" - } + name: "String", + }, }, - bodyFingerprintBin4: { - serializedName: "bodyFingerprintBin4", + description: { + serializedName: "description", type: { - name: "Number" - } + name: "String", + }, }, - bodyFingerprintBin5: { - serializedName: "bodyFingerprintBin5", + displayName: { + serializedName: "displayName", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - antispamDirection: { - serializedName: "antispamDirection", + severity: { + serializedName: "severity", + required: true, type: { - name: "String" - } + name: "String", + }, }, - deliveryAction: { - serializedName: "deliveryAction", + endTimeUtc: { + serializedName: "endTimeUtc", + required: true, type: { - name: "Enum", - allowedValues: [ - "Unknown", - "DeliveredAsSpam", - "Delivered", - "Blocked", - "Replaced" - ] - } + name: "DateTime", + }, }, - deliveryLocation: { - serializedName: "deliveryLocation", + startTimeUtc: { + serializedName: "startTimeUtc", + required: true, type: { - name: "Enum", - allowedValues: [ - "Unknown", - "Inbox", - "JunkFolder", - "DeletedFolder", - "Quarantine", - "External", - "Failed", - "Dropped", - "Forwarded" - ] - } - } - } - } -}; - -export const MalwareEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MalwareEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - category: { - serializedName: "category", - readOnly: true, + name: "DateTime", + }, + }, + timeGenerated: { + serializedName: "timeGenerated", + required: true, type: { - name: "String" - } + name: "DateTime", + }, }, - fileEntityIds: { - serializedName: "fileEntityIds", - readOnly: true, + alertType: { + serializedName: "alertType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - malwareName: { - serializedName: "malwareName", + intent: { + serializedName: "intent", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - processEntityIds: { - serializedName: "processEntityIds", - readOnly: true, + techniques: { + serializedName: "techniques", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; -export const ProcessEntityProperties: coreClient.CompositeMapper = { +export const InsightQueryItem: coreClient.CompositeMapper = { + serializedName: "Insight", type: { name: "Composite", - className: "ProcessEntityProperties", + className: "InsightQueryItem", + uberParent: "EntityQueryItem", + polymorphicDiscriminator: EntityQueryItem.type.polymorphicDiscriminator, + modelProperties: { + ...EntityQueryItem.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "InsightQueryItemProperties", + }, + }, + }, + }, +}; + +export const SecurityAlertProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityAlertProperties", modelProperties: { ...EntityCommonProperties.type.modelProperties, - accountEntityId: { - serializedName: "accountEntityId", + alertDisplayName: { + serializedName: "alertDisplayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - commandLine: { - serializedName: "commandLine", + alertType: { + serializedName: "alertType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - creationTimeUtc: { - serializedName: "creationTimeUtc", + compromisedEntity: { + serializedName: "compromisedEntity", readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - elevationToken: { - serializedName: "elevationToken", + confidenceLevel: { + serializedName: "confidenceLevel", + readOnly: true, type: { - name: "Enum", - allowedValues: ["Default", "Full", "Limited"] - } + name: "String", + }, }, - hostEntityId: { - serializedName: "hostEntityId", + confidenceReasons: { + serializedName: "confidenceReasons", readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecurityAlertPropertiesConfidenceReasonsItem", + }, + }, + }, }, - hostLogonSessionEntityId: { - serializedName: "hostLogonSessionEntityId", + confidenceScore: { + serializedName: "confidenceScore", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - imageFileEntityId: { - serializedName: "imageFileEntityId", + confidenceScoreStatus: { + serializedName: "confidenceScoreStatus", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - parentProcessEntityId: { - serializedName: "parentProcessEntityId", + description: { + serializedName: "description", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - processId: { - serializedName: "processId", + endTimeUtc: { + serializedName: "endTimeUtc", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const RegistryKeyEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistryKeyEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - hive: { - serializedName: "hive", + name: "DateTime", + }, + }, + intent: { + serializedName: "intent", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - key: { - serializedName: "key", + providerAlertId: { + serializedName: "providerAlertId", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const RegistryValueEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistryValueEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - keyEntityId: { - serializedName: "keyEntityId", - readOnly: true, - type: { - name: "String" - } + name: "String", + }, }, - valueData: { - serializedName: "valueData", + processingEndTime: { + serializedName: "processingEndTime", readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - valueName: { - serializedName: "valueName", + productComponentName: { + serializedName: "productComponentName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - valueType: { - serializedName: "valueType", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const SecurityGroupEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityGroupEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - distinguishedName: { - serializedName: "distinguishedName", + productName: { + serializedName: "productName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - objectGuid: { - serializedName: "objectGuid", + productVersion: { + serializedName: "productVersion", readOnly: true, type: { - name: "Uuid" - } + name: "String", + }, }, - sid: { - serializedName: "sid", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const SubmissionMailEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SubmissionMailEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - networkMessageId: { - serializedName: "networkMessageId", + remediationSteps: { + serializedName: "remediationSteps", readOnly: true, type: { - name: "Uuid" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - submissionId: { - serializedName: "submissionId", - readOnly: true, + severity: { + serializedName: "severity", type: { - name: "Uuid" - } + name: "String", + }, }, - submitter: { - serializedName: "submitter", + startTimeUtc: { + serializedName: "startTimeUtc", readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - submissionDate: { - serializedName: "submissionDate", + status: { + serializedName: "status", readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - timestamp: { - serializedName: "timestamp", + systemAlertId: { + serializedName: "systemAlertId", readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - recipient: { - serializedName: "recipient", + tactics: { + serializedName: "tactics", readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - sender: { - serializedName: "sender", + timeGenerated: { + serializedName: "timeGenerated", readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - senderIp: { - serializedName: "senderIp", + vendorName: { + serializedName: "vendorName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - subject: { - serializedName: "subject", + alertLink: { + serializedName: "alertLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - reportType: { - serializedName: "reportType", + resourceIdentifiers: { + serializedName: "resourceIdentifiers", readOnly: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, + }, + }, }; -export const UrlEntityProperties: coreClient.CompositeMapper = { +export const HuntingBookmarkProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlEntityProperties", + className: "HuntingBookmarkProperties", modelProperties: { ...EntityCommonProperties.type.modelProperties, - url: { - serializedName: "url", - readOnly: true, + created: { + serializedName: "created", type: { - name: "String" - } - } - } - } -}; - -export const NicEntityProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NicEntityProperties", - modelProperties: { - ...EntityCommonProperties.type.modelProperties, - macAddress: { - serializedName: "macAddress", - readOnly: true, + name: "DateTime", + }, + }, + createdBy: { + serializedName: "createdBy", type: { - name: "String" - } + name: "Composite", + className: "UserInfo", + }, }, - ipAddressEntityId: { - serializedName: "ipAddressEntityId", - readOnly: true, + displayName: { + serializedName: "displayName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - vlans: { - serializedName: "vlans", - readOnly: true, + eventTime: { + serializedName: "eventTime", + type: { + name: "DateTime", + }, + }, + labels: { + serializedName: "labels", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } -}; - -export const AADCheckRequirements: coreClient.CompositeMapper = { - serializedName: "AzureActiveDirectory", - type: { - name: "Composite", - className: "AADCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + name: "String", + }, + }, + }, + }, + notes: { + serializedName: "notes", type: { - name: "String" - } - } - } - } -}; - -export const AatpCheckRequirements: coreClient.CompositeMapper = { - serializedName: "AzureAdvancedThreatProtection", - type: { - name: "Composite", - className: "AatpCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + name: "String", + }, + }, + query: { + serializedName: "query", + required: true, type: { - name: "String" - } - } - } - } -}; + name: "String", + }, + }, + queryResult: { + serializedName: "queryResult", + type: { + name: "String", + }, + }, + updated: { + serializedName: "updated", + type: { + name: "DateTime", + }, + }, + updatedBy: { + serializedName: "updatedBy", + type: { + name: "Composite", + className: "UserInfo", + }, + }, + incidentInfo: { + serializedName: "incidentInfo", + type: { + name: "Composite", + className: "IncidentInfo", + }, + }, + }, + }, +}; + +export const ThreatIntelligenceIndicatorProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ThreatIntelligenceIndicatorProperties", + modelProperties: { + ...EntityCommonProperties.type.modelProperties, + threatIntelligenceTags: { + serializedName: "threatIntelligenceTags", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + lastUpdatedTimeUtc: { + serializedName: "lastUpdatedTimeUtc", + type: { + name: "String", + }, + }, + source: { + serializedName: "source", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + indicatorTypes: { + serializedName: "indicatorTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + pattern: { + serializedName: "pattern", + type: { + name: "String", + }, + }, + patternType: { + serializedName: "patternType", + type: { + name: "String", + }, + }, + patternVersion: { + serializedName: "patternVersion", + type: { + name: "String", + }, + }, + killChainPhases: { + serializedName: "killChainPhases", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceKillChainPhase", + }, + }, + }, + }, + parsedPattern: { + serializedName: "parsedPattern", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceParsedPattern", + }, + }, + }, + }, + externalId: { + serializedName: "externalId", + type: { + name: "String", + }, + }, + createdByRef: { + serializedName: "createdByRef", + type: { + name: "String", + }, + }, + defanged: { + serializedName: "defanged", + type: { + name: "Boolean", + }, + }, + externalLastUpdatedTimeUtc: { + serializedName: "externalLastUpdatedTimeUtc", + type: { + name: "String", + }, + }, + externalReferences: { + serializedName: "externalReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceExternalReference", + }, + }, + }, + }, + granularMarkings: { + serializedName: "granularMarkings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligenceGranularMarkingModel", + }, + }, + }, + }, + labels: { + serializedName: "labels", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + revoked: { + serializedName: "revoked", + type: { + name: "Boolean", + }, + }, + confidence: { + serializedName: "confidence", + type: { + name: "Number", + }, + }, + objectMarkingRefs: { + serializedName: "objectMarkingRefs", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + language: { + serializedName: "language", + type: { + name: "String", + }, + }, + threatTypes: { + serializedName: "threatTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + validFrom: { + serializedName: "validFrom", + type: { + name: "String", + }, + }, + validUntil: { + serializedName: "validUntil", + type: { + name: "String", + }, + }, + created: { + serializedName: "created", + type: { + name: "String", + }, + }, + modified: { + serializedName: "modified", + type: { + name: "String", + }, + }, + extensions: { + serializedName: "extensions", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, + }; -export const ASCCheckRequirements: coreClient.CompositeMapper = { - serializedName: "AzureSecurityCenter", +export const AccountEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ASCCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "AccountEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - subscriptionId: { - serializedName: "properties.subscriptionId", + ...EntityCommonProperties.type.modelProperties, + aadTenantId: { + serializedName: "aadTenantId", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const AwsCloudTrailCheckRequirements: coreClient.CompositeMapper = { - serializedName: "AmazonWebServicesCloudTrail", - type: { - name: "Composite", - className: "AwsCloudTrailCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties - } - } + name: "String", + }, + }, + aadUserId: { + serializedName: "aadUserId", + readOnly: true, + type: { + name: "String", + }, + }, + accountName: { + serializedName: "accountName", + readOnly: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + readOnly: true, + type: { + name: "String", + }, + }, + hostEntityId: { + serializedName: "hostEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + isDomainJoined: { + serializedName: "isDomainJoined", + readOnly: true, + type: { + name: "Boolean", + }, + }, + ntDomain: { + serializedName: "ntDomain", + readOnly: true, + type: { + name: "String", + }, + }, + objectGuid: { + serializedName: "objectGuid", + readOnly: true, + type: { + name: "Uuid", + }, + }, + puid: { + serializedName: "puid", + readOnly: true, + type: { + name: "String", + }, + }, + sid: { + serializedName: "sid", + readOnly: true, + type: { + name: "String", + }, + }, + upnSuffix: { + serializedName: "upnSuffix", + readOnly: true, + type: { + name: "String", + }, + }, + dnsDomain: { + serializedName: "dnsDomain", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const AwsS3CheckRequirements: coreClient.CompositeMapper = { - serializedName: "AmazonWebServicesS3", +export const AzureResourceEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AwsS3CheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "AzureResourceEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + resourceId: { + serializedName: "resourceId", + readOnly: true, + type: { + name: "String", + }, + }, + subscriptionId: { + serializedName: "subscriptionId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const Dynamics365CheckRequirements: coreClient.CompositeMapper = { - serializedName: "Dynamics365", +export const CloudApplicationEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Dynamics365CheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "CloudApplicationEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + ...EntityCommonProperties.type.modelProperties, + appId: { + serializedName: "appId", + readOnly: true, + type: { + name: "Number", + }, + }, + appName: { + serializedName: "appName", + readOnly: true, + type: { + name: "String", + }, + }, + instanceName: { + serializedName: "instanceName", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const McasCheckRequirements: coreClient.CompositeMapper = { - serializedName: "MicrosoftCloudAppSecurity", +export const DnsEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "McasCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "DnsEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + ...EntityCommonProperties.type.modelProperties, + dnsServerIpEntityId: { + serializedName: "dnsServerIpEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + domainName: { + serializedName: "domainName", + readOnly: true, + type: { + name: "String", + }, + }, + hostIpAddressEntityId: { + serializedName: "hostIpAddressEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + ipAddressEntityIds: { + serializedName: "ipAddressEntityIds", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const MdatpCheckRequirements: coreClient.CompositeMapper = { - serializedName: "MicrosoftDefenderAdvancedThreatProtection", +export const FileEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MdatpCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "FileEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + ...EntityCommonProperties.type.modelProperties, + directory: { + serializedName: "directory", + readOnly: true, + type: { + name: "String", + }, + }, + fileHashEntityIds: { + serializedName: "fileHashEntityIds", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + fileName: { + serializedName: "fileName", + readOnly: true, + type: { + name: "String", + }, + }, + hostEntityId: { + serializedName: "hostEntityId", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const MstiCheckRequirements: coreClient.CompositeMapper = { - serializedName: "MicrosoftThreatIntelligence", +export const FileHashEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MstiCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "FileHashEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + ...EntityCommonProperties.type.modelProperties, + algorithm: { + serializedName: "algorithm", + readOnly: true, + type: { + name: "String", + }, + }, + hashValue: { + serializedName: "hashValue", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const MtpCheckRequirements: coreClient.CompositeMapper = { - serializedName: "MicrosoftThreatProtection", +export const HostEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MtpCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + className: "HostEntityProperties", modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", + ...EntityCommonProperties.type.modelProperties, + azureID: { + serializedName: "azureID", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const OfficeATPCheckRequirements: coreClient.CompositeMapper = { - serializedName: "OfficeATP", - type: { - name: "Composite", - className: "OfficeATPCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const OfficeIRMCheckRequirements: coreClient.CompositeMapper = { - serializedName: "OfficeIRM", - type: { - name: "Composite", - className: "OfficeIRMCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const Office365ProjectCheckRequirements: coreClient.CompositeMapper = { - serializedName: "Office365Project", - type: { - name: "Composite", - className: "Office365ProjectCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const OfficePowerBICheckRequirements: coreClient.CompositeMapper = { - serializedName: "OfficePowerBI", - type: { - name: "Composite", - className: "OfficePowerBICheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const TICheckRequirements: coreClient.CompositeMapper = { - serializedName: "ThreatIntelligence", - type: { - name: "Composite", - className: "TICheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const TiTaxiiCheckRequirements: coreClient.CompositeMapper = { - serializedName: "ThreatIntelligenceTaxii", - type: { - name: "Composite", - className: "TiTaxiiCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - } - } - } -}; - -export const IoTCheckRequirements: coreClient.CompositeMapper = { - serializedName: "IOT", - type: { - name: "Composite", - className: "IoTCheckRequirements", - uberParent: "DataConnectorsCheckRequirements", - polymorphicDiscriminator: - DataConnectorsCheckRequirements.type.polymorphicDiscriminator, - modelProperties: { - ...DataConnectorsCheckRequirements.type.modelProperties, - subscriptionId: { - serializedName: "properties.subscriptionId", - type: { - name: "String" - } - } - } - } -}; - -export const AlertRuleTemplateWithMitreProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AlertRuleTemplateWithMitreProperties", - modelProperties: { - ...AlertRuleTemplatePropertiesBase.type.modelProperties, - tactics: { - serializedName: "tactics", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - techniques: { - serializedName: "techniques", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties", - modelProperties: { - ...AlertRuleTemplatePropertiesBase.type.modelProperties, - displayNamesFilter: { - serializedName: "displayNamesFilter", + dnsDomain: { + serializedName: "dnsDomain", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - displayNamesExcludeFilter: { - serializedName: "displayNamesExcludeFilter", + hostName: { + serializedName: "hostName", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - productFilter: { - serializedName: "productFilter", + isDomainJoined: { + serializedName: "isDomainJoined", + readOnly: true, type: { - name: "String" - } + name: "Boolean", + }, }, - severitiesFilter: { - serializedName: "severitiesFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const NrtAlertRuleTemplateProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NrtAlertRuleTemplateProperties", - modelProperties: { - ...AlertRuleTemplateWithMitreProperties.type.modelProperties, - ...QueryBasedAlertRuleTemplateProperties.type.modelProperties - } - } -}; - -export const MicrosoftSecurityIncidentCreationAlertRuleProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MicrosoftSecurityIncidentCreationAlertRuleProperties", - modelProperties: { - ...MicrosoftSecurityIncidentCreationAlertRuleCommonProperties.type - .modelProperties, - alertRuleTemplateName: { - serializedName: "alertRuleTemplateName", + netBiosName: { + serializedName: "netBiosName", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", + ntDomain: { + serializedName: "ntDomain", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", - required: true, + omsAgentID: { + serializedName: "omsAgentID", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - enabled: { - serializedName: "enabled", - required: true, + osFamily: { + serializedName: "osFamily", type: { - name: "Boolean" - } + name: "Enum", + allowedValues: ["Linux", "Windows", "Android", "IOS", "Unknown"], + }, }, - lastModifiedUtc: { - serializedName: "lastModifiedUtc", + osVersion: { + serializedName: "osVersion", readOnly: true, type: { - name: "DateTime" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ScheduledAlertRuleProperties: coreClient.CompositeMapper = { +export const IoTDeviceEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduledAlertRuleProperties", + className: "IoTDeviceEntityProperties", modelProperties: { - ...ScheduledAlertRuleCommonProperties.type.modelProperties, - alertRuleTemplateName: { - serializedName: "alertRuleTemplateName", + ...EntityCommonProperties.type.modelProperties, + deviceId: { + serializedName: "deviceId", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - templateVersion: { - serializedName: "templateVersion", + deviceName: { + serializedName: "deviceName", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", + source: { + serializedName: "source", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", - required: true, + iotSecurityAgentId: { + serializedName: "iotSecurityAgentId", + readOnly: true, type: { - name: "String" - } + name: "Uuid", + }, }, - enabled: { - serializedName: "enabled", - required: true, + deviceType: { + serializedName: "deviceType", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - lastModifiedUtc: { - serializedName: "lastModifiedUtc", + vendor: { + serializedName: "vendor", readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - suppressionDuration: { - serializedName: "suppressionDuration", - required: true, + edgeId: { + serializedName: "edgeId", + readOnly: true, type: { - name: "TimeSpan" - } + name: "String", + }, }, - suppressionEnabled: { - serializedName: "suppressionEnabled", - required: true, + macAddress: { + serializedName: "macAddress", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - tactics: { - serializedName: "tactics", + model: { + serializedName: "model", + readOnly: true, type: { - name: "Sequence", + name: "String", + }, + }, + serialNumber: { + serializedName: "serialNumber", + readOnly: true, + type: { + name: "String", + }, + }, + firmwareVersion: { + serializedName: "firmwareVersion", + readOnly: true, + type: { + name: "String", + }, + }, + operatingSystem: { + serializedName: "operatingSystem", + readOnly: true, + type: { + name: "String", + }, + }, + iotHubEntityId: { + serializedName: "iotHubEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + hostEntityId: { + serializedName: "hostEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + ipAddressEntityId: { + serializedName: "ipAddressEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + threatIntelligence: { + serializedName: "threatIntelligence", + readOnly: true, + type: { + name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "ThreatIntelligence", + }, + }, + }, }, - techniques: { - serializedName: "techniques", + protocols: { + serializedName: "protocols", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - incidentConfiguration: { - serializedName: "incidentConfiguration", + owners: { + serializedName: "owners", + readOnly: true, type: { - name: "Composite", - className: "IncidentConfiguration" - } - } - } - } -}; - -export const InsightQueryItemProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InsightQueryItemProperties", - modelProperties: { - ...EntityQueryItemProperties.type.modelProperties, - displayName: { - serializedName: "displayName", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + nicEntityIds: { + serializedName: "nicEntityIds", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - description: { - serializedName: "description", + site: { + serializedName: "site", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - baseQuery: { - serializedName: "baseQuery", + zone: { + serializedName: "zone", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - tableQuery: { - serializedName: "tableQuery", + sensor: { + serializedName: "sensor", + readOnly: true, type: { - name: "Composite", - className: "InsightQueryItemPropertiesTableQuery" - } + name: "String", + }, }, - chartQuery: { - serializedName: "chartQuery", + deviceSubType: { + serializedName: "deviceSubType", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "String", + }, }, - additionalQuery: { - serializedName: "additionalQuery", + importance: { + serializedName: "importance", type: { - name: "Composite", - className: "InsightQueryItemPropertiesAdditionalQuery" - } + name: "String", + }, }, - defaultTimeRange: { - serializedName: "defaultTimeRange", + purdueLayer: { + serializedName: "purdueLayer", + readOnly: true, type: { - name: "Composite", - className: "InsightQueryItemPropertiesDefaultTimeRange" - } + name: "String", + }, }, - referenceTimeRange: { - serializedName: "referenceTimeRange", + isAuthorized: { + serializedName: "isAuthorized", + readOnly: true, type: { - name: "Composite", - className: "InsightQueryItemPropertiesReferenceTimeRange" - } - } - } - } -}; - -export const AADCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AADCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const AatpCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AatpCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const Dynamics365CheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Dynamics365CheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const McasCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "McasCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const MdatpCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MdatpCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const MstiCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MstiCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const MTPCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MTPCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const OfficeATPCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeATPCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const OfficeIRMCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeIRMCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } + name: "Boolean", + }, + }, + isProgramming: { + serializedName: "isProgramming", + readOnly: true, + type: { + name: "Boolean", + }, + }, + isScanner: { + serializedName: "isScanner", + readOnly: true, + type: { + name: "Boolean", + }, + }, + }, + }, }; -export const Office365ProjectCheckRequirementsProperties: coreClient.CompositeMapper = { +export const IpEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Office365ProjectCheckRequirementsProperties", + className: "IpEntityProperties", modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + address: { + serializedName: "address", + readOnly: true, + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + type: { + name: "Composite", + className: "GeoLocation", + }, + }, + threatIntelligence: { + serializedName: "threatIntelligence", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThreatIntelligence", + }, + }, + }, + }, + }, + }, }; -export const OfficePowerBICheckRequirementsProperties: coreClient.CompositeMapper = { +export const MailboxEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficePowerBICheckRequirementsProperties", + className: "MailboxEntityProperties", modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + mailboxPrimaryAddress: { + serializedName: "mailboxPrimaryAddress", + readOnly: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + readOnly: true, + type: { + name: "String", + }, + }, + upn: { + serializedName: "upn", + readOnly: true, + type: { + name: "String", + }, + }, + externalDirectoryObjectId: { + serializedName: "externalDirectoryObjectId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + }, + }, }; -export const TICheckRequirementsProperties: coreClient.CompositeMapper = { +export const MailClusterEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TICheckRequirementsProperties", + className: "MailClusterEntityProperties", modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const TiTaxiiCheckRequirementsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TiTaxiiCheckRequirementsProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties - } - } -}; - -export const AADDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AADDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - ...DataConnectorWithAlertsProperties.type.modelProperties - } - } -}; - -export const MstiDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MstiDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", - type: { - name: "Composite", - className: "MstiDataConnectorDataTypes" - } - } - } - } -}; - -export const MTPDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MTPDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", - type: { - name: "Composite", - className: "MTPDataConnectorDataTypes" - } - } - } - } -}; - -export const AatpDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AatpDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - ...DataConnectorWithAlertsProperties.type.modelProperties - } - } -}; - -export const McasDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "McasDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", - type: { - name: "Composite", - className: "McasDataConnectorDataTypes" - } - } - } - } -}; - -export const Dynamics365DataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Dynamics365DataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", + ...EntityCommonProperties.type.modelProperties, + networkMessageIds: { + serializedName: "networkMessageIds", + readOnly: true, type: { - name: "Composite", - className: "Dynamics365DataConnectorDataTypes" - } - } - } - } -}; - -export const OfficeATPDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeATPDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - ...DataConnectorWithAlertsProperties.type.modelProperties - } - } -}; - -export const Office365ProjectDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Office365ProjectDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + countByDeliveryStatus: { + serializedName: "countByDeliveryStatus", + readOnly: true, type: { - name: "Composite", - className: "Office365ProjectConnectorDataTypes" - } - } - } - } -}; - -export const OfficePowerBIDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficePowerBIDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + countByThreatType: { + serializedName: "countByThreatType", + readOnly: true, type: { - name: "Composite", - className: "OfficePowerBIConnectorDataTypes" - } - } - } - } -}; - -export const OfficeIRMDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeIRMDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - ...DataConnectorWithAlertsProperties.type.modelProperties - } - } -}; - -export const MdatpDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MdatpDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - ...DataConnectorWithAlertsProperties.type.modelProperties - } - } -}; - -export const OfficeDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficeDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - dataTypes: { - serializedName: "dataTypes", + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + countByProtectionStatus: { + serializedName: "countByProtectionStatus", + readOnly: true, type: { - name: "Composite", - className: "OfficeDataConnectorDataTypes" - } - } - } - } -}; - -export const TIDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TIDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - tipLookbackPeriod: { - serializedName: "tipLookbackPeriod", - nullable: true, + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + threats: { + serializedName: "threats", + readOnly: true, type: { - name: "DateTime" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - dataTypes: { - serializedName: "dataTypes", + query: { + serializedName: "query", + readOnly: true, type: { - name: "Composite", - className: "TIDataConnectorDataTypes" - } - } - } - } -}; - -export const TiTaxiiDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TiTaxiiDataConnectorProperties", - modelProperties: { - ...DataConnectorTenantId.type.modelProperties, - workspaceId: { - serializedName: "workspaceId", + name: "String", + }, + }, + queryTime: { + serializedName: "queryTime", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - friendlyName: { - serializedName: "friendlyName", + mailCount: { + serializedName: "mailCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - taxiiServer: { - serializedName: "taxiiServer", + isVolumeAnomaly: { + serializedName: "isVolumeAnomaly", + readOnly: true, type: { - name: "String" - } + name: "Boolean", + }, }, - collectionId: { - serializedName: "collectionId", + source: { + serializedName: "source", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - userName: { - serializedName: "userName", + clusterSourceIdentifier: { + serializedName: "clusterSourceIdentifier", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - password: { - serializedName: "password", + clusterSourceType: { + serializedName: "clusterSourceType", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - taxiiLookbackPeriod: { - serializedName: "taxiiLookbackPeriod", - nullable: true, + clusterQueryStartTime: { + serializedName: "clusterQueryStartTime", + readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, - pollingFrequency: { - serializedName: "pollingFrequency", - required: true, - nullable: true, + clusterQueryEndTime: { + serializedName: "clusterQueryEndTime", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - dataTypes: { - serializedName: "dataTypes", + clusterGroup: { + serializedName: "clusterGroup", + readOnly: true, type: { - name: "Composite", - className: "TiTaxiiDataConnectorDataTypes" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ASCDataConnectorProperties: coreClient.CompositeMapper = { +export const MailMessageEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ASCDataConnectorProperties", + className: "MailMessageEntityProperties", modelProperties: { - ...DataConnectorWithAlertsProperties.type.modelProperties, - subscriptionId: { - serializedName: "subscriptionId", + ...EntityCommonProperties.type.modelProperties, + fileEntityIds: { + serializedName: "fileEntityIds", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const IoTDataConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IoTDataConnectorProperties", - modelProperties: { - ...DataConnectorWithAlertsProperties.type.modelProperties, - subscriptionId: { - serializedName: "subscriptionId", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + recipient: { + serializedName: "recipient", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const McasDataConnectorDataTypes: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "McasDataConnectorDataTypes", - modelProperties: { - ...AlertsDataTypeOfDataConnector.type.modelProperties, - discoveryLogs: { - serializedName: "discoveryLogs", + name: "String", + }, + }, + urls: { + serializedName: "urls", + readOnly: true, type: { - name: "Composite", - className: "DataConnectorDataTypeCommon" - } - } - } - } -}; - -export const MstiDataConnectorDataTypesBingSafetyPhishingURL: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MstiDataConnectorDataTypesBingSafetyPhishingURL", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties, - lookbackPeriod: { - serializedName: "lookbackPeriod", - required: true, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + threats: { + serializedName: "threats", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties, - lookbackPeriod: { - serializedName: "lookbackPeriod", - required: true, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + p1Sender: { + serializedName: "p1Sender", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const MTPDataConnectorDataTypesIncidents: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MTPDataConnectorDataTypesIncidents", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } -}; - -export const AwsCloudTrailDataConnectorDataTypesLogs: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AwsCloudTrailDataConnectorDataTypesLogs", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } -}; - -export const AwsS3DataConnectorDataTypesLogs: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AwsS3DataConnectorDataTypesLogs", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + name: "String", + }, + }, + p1SenderDisplayName: { + serializedName: "p1SenderDisplayName", + readOnly: true, + type: { + name: "String", + }, + }, + p1SenderDomain: { + serializedName: "p1SenderDomain", + readOnly: true, + type: { + name: "String", + }, + }, + senderIP: { + serializedName: "senderIP", + readOnly: true, + type: { + name: "String", + }, + }, + p2Sender: { + serializedName: "p2Sender", + readOnly: true, + type: { + name: "String", + }, + }, + p2SenderDisplayName: { + serializedName: "p2SenderDisplayName", + readOnly: true, + type: { + name: "String", + }, + }, + p2SenderDomain: { + serializedName: "p2SenderDomain", + readOnly: true, + type: { + name: "String", + }, + }, + receiveDate: { + serializedName: "receiveDate", + readOnly: true, + type: { + name: "DateTime", + }, + }, + networkMessageId: { + serializedName: "networkMessageId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + internetMessageId: { + serializedName: "internetMessageId", + readOnly: true, + type: { + name: "String", + }, + }, + subject: { + serializedName: "subject", + readOnly: true, + type: { + name: "String", + }, + }, + language: { + serializedName: "language", + readOnly: true, + type: { + name: "String", + }, + }, + threatDetectionMethods: { + serializedName: "threatDetectionMethods", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + bodyFingerprintBin1: { + serializedName: "bodyFingerprintBin1", + type: { + name: "Number", + }, + }, + bodyFingerprintBin2: { + serializedName: "bodyFingerprintBin2", + type: { + name: "Number", + }, + }, + bodyFingerprintBin3: { + serializedName: "bodyFingerprintBin3", + type: { + name: "Number", + }, + }, + bodyFingerprintBin4: { + serializedName: "bodyFingerprintBin4", + type: { + name: "Number", + }, + }, + bodyFingerprintBin5: { + serializedName: "bodyFingerprintBin5", + type: { + name: "Number", + }, + }, + antispamDirection: { + serializedName: "antispamDirection", + type: { + name: "String", + }, + }, + deliveryAction: { + serializedName: "deliveryAction", + type: { + name: "Enum", + allowedValues: [ + "Unknown", + "DeliveredAsSpam", + "Delivered", + "Blocked", + "Replaced", + ], + }, + }, + deliveryLocation: { + serializedName: "deliveryLocation", + type: { + name: "Enum", + allowedValues: [ + "Unknown", + "Inbox", + "JunkFolder", + "DeletedFolder", + "Quarantine", + "External", + "Failed", + "Dropped", + "Forwarded", + ], + }, + }, + }, + }, }; -export const Dynamics365DataConnectorDataTypesDynamics365CdsActivities: coreClient.CompositeMapper = { +export const MalwareEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Dynamics365DataConnectorDataTypesDynamics365CdsActivities", + className: "MalwareEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + category: { + serializedName: "category", + readOnly: true, + type: { + name: "String", + }, + }, + fileEntityIds: { + serializedName: "fileEntityIds", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + malwareName: { + serializedName: "malwareName", + readOnly: true, + type: { + name: "String", + }, + }, + processEntityIds: { + serializedName: "processEntityIds", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const Office365ProjectConnectorDataTypesLogs: coreClient.CompositeMapper = { +export const ProcessEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Office365ProjectConnectorDataTypesLogs", + className: "ProcessEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } -}; - -export const OfficePowerBIConnectorDataTypesLogs: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OfficePowerBIConnectorDataTypesLogs", - modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + accountEntityId: { + serializedName: "accountEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + commandLine: { + serializedName: "commandLine", + readOnly: true, + type: { + name: "String", + }, + }, + creationTimeUtc: { + serializedName: "creationTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + elevationToken: { + serializedName: "elevationToken", + type: { + name: "Enum", + allowedValues: ["Default", "Full", "Limited"], + }, + }, + hostEntityId: { + serializedName: "hostEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + hostLogonSessionEntityId: { + serializedName: "hostLogonSessionEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + imageFileEntityId: { + serializedName: "imageFileEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + parentProcessEntityId: { + serializedName: "parentProcessEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + processId: { + serializedName: "processId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const OfficeDataConnectorDataTypesExchange: coreClient.CompositeMapper = { +export const RegistryKeyEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficeDataConnectorDataTypesExchange", + className: "RegistryKeyEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + hive: { + serializedName: "hive", + readOnly: true, + type: { + name: "String", + }, + }, + key: { + serializedName: "key", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const OfficeDataConnectorDataTypesSharePoint: coreClient.CompositeMapper = { +export const RegistryValueEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficeDataConnectorDataTypesSharePoint", + className: "RegistryValueEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + keyEntityId: { + serializedName: "keyEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + valueData: { + serializedName: "valueData", + readOnly: true, + type: { + name: "String", + }, + }, + valueName: { + serializedName: "valueName", + readOnly: true, + type: { + name: "String", + }, + }, + valueType: { + serializedName: "valueType", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const OfficeDataConnectorDataTypesTeams: coreClient.CompositeMapper = { +export const SecurityGroupEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OfficeDataConnectorDataTypesTeams", + className: "SecurityGroupEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + distinguishedName: { + serializedName: "distinguishedName", + readOnly: true, + type: { + name: "String", + }, + }, + objectGuid: { + serializedName: "objectGuid", + readOnly: true, + type: { + name: "Uuid", + }, + }, + sid: { + serializedName: "sid", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TIDataConnectorDataTypesIndicators: coreClient.CompositeMapper = { +export const SubmissionMailEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TIDataConnectorDataTypesIndicators", + className: "SubmissionMailEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + networkMessageId: { + serializedName: "networkMessageId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + submissionId: { + serializedName: "submissionId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + submitter: { + serializedName: "submitter", + readOnly: true, + type: { + name: "String", + }, + }, + submissionDate: { + serializedName: "submissionDate", + readOnly: true, + type: { + name: "DateTime", + }, + }, + timestamp: { + serializedName: "timestamp", + readOnly: true, + type: { + name: "DateTime", + }, + }, + recipient: { + serializedName: "recipient", + readOnly: true, + type: { + name: "String", + }, + }, + sender: { + serializedName: "sender", + readOnly: true, + type: { + name: "String", + }, + }, + senderIp: { + serializedName: "senderIp", + readOnly: true, + type: { + name: "String", + }, + }, + subject: { + serializedName: "subject", + readOnly: true, + type: { + name: "String", + }, + }, + reportType: { + serializedName: "reportType", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TiTaxiiDataConnectorDataTypesTaxiiClient: coreClient.CompositeMapper = { +export const UrlEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TiTaxiiDataConnectorDataTypesTaxiiClient", + className: "UrlEntityProperties", modelProperties: { - ...DataConnectorDataTypeCommon.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + url: { + serializedName: "url", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const CodelessUiConnectorConfigPropertiesGraphQueriesItem: coreClient.CompositeMapper = { +export const NicEntityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesGraphQueriesItem", + className: "NicEntityProperties", modelProperties: { - ...GraphQueries.type.modelProperties - } - } + ...EntityCommonProperties.type.modelProperties, + macAddress: { + serializedName: "macAddress", + readOnly: true, + type: { + name: "String", + }, + }, + ipAddressEntityId: { + serializedName: "ipAddressEntityId", + readOnly: true, + type: { + name: "String", + }, + }, + vlans: { + serializedName: "vlans", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const CodelessUiConnectorConfigPropertiesSampleQueriesItem: coreClient.CompositeMapper = { +export const AADCheckRequirements: coreClient.CompositeMapper = { + serializedName: "AzureActiveDirectory", type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesSampleQueriesItem", + className: "AADCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...SampleQueries.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, }; -export const CodelessUiConnectorConfigPropertiesDataTypesItem: coreClient.CompositeMapper = { +export const AatpCheckRequirements: coreClient.CompositeMapper = { + serializedName: "AzureAdvancedThreatProtection", type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesDataTypesItem", + className: "AatpCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...LastDataReceivedDataType.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, }; -export const CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem: coreClient.CompositeMapper = { +export const ASCCheckRequirements: coreClient.CompositeMapper = { + serializedName: "AzureSecurityCenter", type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem", - modelProperties: { - ...ConnectivityCriteria.type.modelProperties - } - } -}; + className: "ASCCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + subscriptionId: { + serializedName: "properties.subscriptionId", + type: { + name: "String", + }, + }, + }, + }, +}; -export const PermissionsResourceProviderItem: coreClient.CompositeMapper = { +export const AwsCloudTrailCheckRequirements: coreClient.CompositeMapper = { + serializedName: "AmazonWebServicesCloudTrail", type: { name: "Composite", - className: "PermissionsResourceProviderItem", + className: "AwsCloudTrailCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...ResourceProvider.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + }, + }, }; -export const Customs: coreClient.CompositeMapper = { +export const AwsS3CheckRequirements: coreClient.CompositeMapper = { + serializedName: "AmazonWebServicesS3", type: { name: "Composite", - className: "Customs", + className: "AwsS3CheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...CustomsPermission.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + }, + }, }; -export const CodelessUiConnectorConfigPropertiesInstructionStepsItem: coreClient.CompositeMapper = { +export const Dynamics365CheckRequirements: coreClient.CompositeMapper = { + serializedName: "Dynamics365", type: { name: "Composite", - className: "CodelessUiConnectorConfigPropertiesInstructionStepsItem", + className: "Dynamics365CheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...InstructionSteps.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, }; -export const InstructionStepsInstructionsItem: coreClient.CompositeMapper = { +export const McasCheckRequirements: coreClient.CompositeMapper = { + serializedName: "MicrosoftCloudAppSecurity", type: { name: "Composite", - className: "InstructionStepsInstructionsItem", + className: "McasCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...ConnectorInstructionModelBase.type.modelProperties - } - } + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, }; -export const AlertRule: coreClient.CompositeMapper = { - serializedName: "AlertRule", +export const MdatpCheckRequirements: coreClient.CompositeMapper = { + serializedName: "MicrosoftDefenderAdvancedThreatProtection", type: { name: "Composite", - className: "AlertRule", - uberParent: "ResourceWithEtag", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" + className: "MdatpCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, }, + }, +}; + +export const MstiCheckRequirements: coreClient.CompositeMapper = { + serializedName: "MicrosoftThreatIntelligence", + type: { + name: "Composite", + className: "MstiCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, modelProperties: { - ...ResourceWithEtag.type.modelProperties, - kind: { - serializedName: "kind", - required: true, + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MtpCheckRequirements: coreClient.CompositeMapper = { + serializedName: "MicrosoftThreatProtection", + type: { + name: "Composite", + className: "MtpCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OfficeATPCheckRequirements: coreClient.CompositeMapper = { + serializedName: "OfficeATP", + type: { + name: "Composite", + className: "OfficeATPCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OfficeIRMCheckRequirements: coreClient.CompositeMapper = { + serializedName: "OfficeIRM", + type: { + name: "Composite", + className: "OfficeIRMCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MicrosoftPurviewInformationProtectionCheckRequirements: coreClient.CompositeMapper = + { + serializedName: "MicrosoftPurviewInformationProtection", + type: { + name: "Composite", + className: "MicrosoftPurviewInformationProtectionCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const Office365ProjectCheckRequirements: coreClient.CompositeMapper = { + serializedName: "Office365Project", + type: { + name: "Composite", + className: "Office365ProjectCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OfficePowerBICheckRequirements: coreClient.CompositeMapper = { + serializedName: "OfficePowerBI", + type: { + name: "Composite", + className: "OfficePowerBICheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TICheckRequirements: coreClient.CompositeMapper = { + serializedName: "ThreatIntelligence", + type: { + name: "Composite", + className: "TICheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TiTaxiiCheckRequirements: coreClient.CompositeMapper = { + serializedName: "ThreatIntelligenceTaxii", + type: { + name: "Composite", + className: "TiTaxiiCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const IoTCheckRequirements: coreClient.CompositeMapper = { + serializedName: "IOT", + type: { + name: "Composite", + className: "IoTCheckRequirements", + uberParent: "DataConnectorsCheckRequirements", + polymorphicDiscriminator: + DataConnectorsCheckRequirements.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorsCheckRequirements.type.modelProperties, + subscriptionId: { + serializedName: "properties.subscriptionId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AlertRuleTemplateWithMitreProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AlertRuleTemplateWithMitreProperties", + modelProperties: { + ...AlertRuleTemplatePropertiesBase.type.modelProperties, + tactics: { + serializedName: "tactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + techniques: { + serializedName: "techniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; + +export const MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties", + modelProperties: { + ...AlertRuleTemplatePropertiesBase.type.modelProperties, + displayNamesFilter: { + serializedName: "displayNamesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + displayNamesExcludeFilter: { + serializedName: "displayNamesExcludeFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + productFilter: { + serializedName: "productFilter", + type: { + name: "String", + }, + }, + severitiesFilter: { + serializedName: "severitiesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; + +export const NrtAlertRuleTemplateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NrtAlertRuleTemplateProperties", + modelProperties: { + ...AlertRuleTemplateWithMitreProperties.type.modelProperties, + ...QueryBasedAlertRuleTemplateProperties.type.modelProperties, + }, + }, +}; + +export const MicrosoftSecurityIncidentCreationAlertRuleProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftSecurityIncidentCreationAlertRuleProperties", + modelProperties: { + ...MicrosoftSecurityIncidentCreationAlertRuleCommonProperties.type + .modelProperties, + alertRuleTemplateName: { + serializedName: "alertRuleTemplateName", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + required: true, + type: { + name: "String", + }, + }, + enabled: { + serializedName: "enabled", + required: true, + type: { + name: "Boolean", + }, + }, + lastModifiedUtc: { + serializedName: "lastModifiedUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + }, + }, + }; + +export const ScheduledAlertRuleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduledAlertRuleProperties", + modelProperties: { + ...ScheduledAlertRuleCommonProperties.type.modelProperties, + alertRuleTemplateName: { + serializedName: "alertRuleTemplateName", + type: { + name: "String", + }, + }, + templateVersion: { + serializedName: "templateVersion", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + required: true, + type: { + name: "String", + }, + }, + enabled: { + serializedName: "enabled", + required: true, + type: { + name: "Boolean", + }, + }, + lastModifiedUtc: { + serializedName: "lastModifiedUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + suppressionDuration: { + serializedName: "suppressionDuration", + required: true, + type: { + name: "TimeSpan", + }, + }, + suppressionEnabled: { + serializedName: "suppressionEnabled", + required: true, + type: { + name: "Boolean", + }, + }, + tactics: { + serializedName: "tactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + techniques: { + serializedName: "techniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "subTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + incidentConfiguration: { + serializedName: "incidentConfiguration", + type: { + name: "Composite", + className: "IncidentConfiguration", + }, + }, + }, + }, +}; + +export const InsightQueryItemProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InsightQueryItemProperties", + modelProperties: { + ...EntityQueryItemProperties.type.modelProperties, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + baseQuery: { + serializedName: "baseQuery", + type: { + name: "String", + }, + }, + tableQuery: { + serializedName: "tableQuery", + type: { + name: "Composite", + className: "InsightQueryItemPropertiesTableQuery", + }, + }, + chartQuery: { + serializedName: "chartQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + additionalQuery: { + serializedName: "additionalQuery", + type: { + name: "Composite", + className: "InsightQueryItemPropertiesAdditionalQuery", + }, + }, + defaultTimeRange: { + serializedName: "defaultTimeRange", + type: { + name: "Composite", + className: "InsightQueryItemPropertiesDefaultTimeRange", + }, + }, + referenceTimeRange: { + serializedName: "referenceTimeRange", + type: { + name: "Composite", + className: "InsightQueryItemPropertiesReferenceTimeRange", + }, + }, + }, + }, +}; + +export const AADCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AADCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const AatpCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AatpCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const Dynamics365CheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "Dynamics365CheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const McasCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "McasCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const MdatpCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MdatpCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const MstiCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MstiCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const MTPCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MTPCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const OfficeATPCheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficeATPCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const OfficeIRMCheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficeIRMCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const MicrosoftPurviewInformationProtectionCheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "MicrosoftPurviewInformationProtectionCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const Office365ProjectCheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "Office365ProjectCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const OfficePowerBICheckRequirementsProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficePowerBICheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, + }; + +export const TICheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TICheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const TiTaxiiCheckRequirementsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TiTaxiiCheckRequirementsProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + }, + }, +}; + +export const AADDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AADDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + ...DataConnectorWithAlertsProperties.type.modelProperties, + }, + }, +}; + +export const MstiDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MstiDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "MstiDataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const MTPDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MTPDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "MTPDataConnectorDataTypes", + }, + }, + filteredProviders: { + serializedName: "filteredProviders", + type: { + name: "Composite", + className: "MtpFilteredProviders", + }, + }, + }, + }, +}; + +export const AatpDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AatpDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + ...DataConnectorWithAlertsProperties.type.modelProperties, + }, + }, +}; + +export const McasDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "McasDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "McasDataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const Dynamics365DataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Dynamics365DataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "Dynamics365DataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const OfficeATPDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficeATPDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + ...DataConnectorWithAlertsProperties.type.modelProperties, + }, + }, +}; + +export const MicrosoftPurviewInformationProtectionDataConnectorProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftPurviewInformationProtectionDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: + "MicrosoftPurviewInformationProtectionConnectorDataTypes", + }, + }, + }, + }, + }; + +export const Office365ProjectDataConnectorProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "Office365ProjectDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "Office365ProjectConnectorDataTypes", + }, + }, + }, + }, + }; + +export const OfficePowerBIDataConnectorProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficePowerBIDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "OfficePowerBIConnectorDataTypes", + }, + }, + }, + }, + }; + +export const OfficeIRMDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficeIRMDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + ...DataConnectorWithAlertsProperties.type.modelProperties, + }, + }, +}; + +export const MdatpDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MdatpDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + ...DataConnectorWithAlertsProperties.type.modelProperties, + }, + }, +}; + +export const OfficeDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficeDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "OfficeDataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const TIDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TIDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + tipLookbackPeriod: { + serializedName: "tipLookbackPeriod", + nullable: true, + type: { + name: "DateTime", + }, + }, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "TIDataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const TiTaxiiDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TiTaxiiDataConnectorProperties", + modelProperties: { + ...DataConnectorTenantId.type.modelProperties, + workspaceId: { + serializedName: "workspaceId", + type: { + name: "String", + }, + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String", + }, + }, + taxiiServer: { + serializedName: "taxiiServer", + type: { + name: "String", + }, + }, + collectionId: { + serializedName: "collectionId", + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + taxiiLookbackPeriod: { + serializedName: "taxiiLookbackPeriod", + nullable: true, + type: { + name: "DateTime", + }, + }, + pollingFrequency: { + serializedName: "pollingFrequency", + required: true, + nullable: true, + type: { + name: "String", + }, + }, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Composite", + className: "TiTaxiiDataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const ASCDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ASCDataConnectorProperties", + modelProperties: { + ...DataConnectorWithAlertsProperties.type.modelProperties, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const IoTDataConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IoTDataConnectorProperties", + modelProperties: { + ...DataConnectorWithAlertsProperties.type.modelProperties, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const McasDataConnectorDataTypes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "McasDataConnectorDataTypes", + modelProperties: { + ...AlertsDataTypeOfDataConnector.type.modelProperties, + discoveryLogs: { + serializedName: "discoveryLogs", + type: { + name: "Composite", + className: "DataConnectorDataTypeCommon", + }, + }, + }, + }, +}; + +export const MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + lookbackPeriod: { + serializedName: "lookbackPeriod", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const MTPDataConnectorDataTypesIncidents: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MTPDataConnectorDataTypesIncidents", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const MTPDataConnectorDataTypesAlerts: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MTPDataConnectorDataTypesAlerts", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const AwsCloudTrailDataConnectorDataTypesLogs: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AwsCloudTrailDataConnectorDataTypesLogs", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const AwsS3DataConnectorDataTypesLogs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AwsS3DataConnectorDataTypesLogs", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const Dynamics365DataConnectorDataTypesDynamics365CdsActivities: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "Dynamics365DataConnectorDataTypesDynamics365CdsActivities", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const MicrosoftPurviewInformationProtectionConnectorDataTypesLogs: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MicrosoftPurviewInformationProtectionConnectorDataTypesLogs", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const Office365ProjectConnectorDataTypesLogs: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "Office365ProjectConnectorDataTypesLogs", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const OfficePowerBIConnectorDataTypesLogs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficePowerBIConnectorDataTypesLogs", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const OfficeDataConnectorDataTypesExchange: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficeDataConnectorDataTypesExchange", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const OfficeDataConnectorDataTypesSharePoint: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OfficeDataConnectorDataTypesSharePoint", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const OfficeDataConnectorDataTypesTeams: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OfficeDataConnectorDataTypesTeams", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const TIDataConnectorDataTypesIndicators: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TIDataConnectorDataTypesIndicators", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, +}; + +export const TiTaxiiDataConnectorDataTypesTaxiiClient: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "TiTaxiiDataConnectorDataTypesTaxiiClient", + modelProperties: { + ...DataConnectorDataTypeCommon.type.modelProperties, + }, + }, + }; + +export const CodelessUiConnectorConfigPropertiesGraphQueriesItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigPropertiesGraphQueriesItem", + modelProperties: { + ...GraphQueries.type.modelProperties, + }, + }, + }; + +export const CodelessUiConnectorConfigPropertiesSampleQueriesItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigPropertiesSampleQueriesItem", + modelProperties: { + ...SampleQueries.type.modelProperties, + }, + }, + }; + +export const CodelessUiConnectorConfigPropertiesDataTypesItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigPropertiesDataTypesItem", + modelProperties: { + ...LastDataReceivedDataType.type.modelProperties, + }, + }, + }; + +export const CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem", + modelProperties: { + ...ConnectivityCriteria.type.modelProperties, + }, + }, + }; + +export const PermissionsResourceProviderItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PermissionsResourceProviderItem", + modelProperties: { + ...ResourceProvider.type.modelProperties, + }, + }, +}; + +export const Customs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Customs", + modelProperties: { + ...CustomsPermission.type.modelProperties, + }, + }, +}; + +export const CodelessUiConnectorConfigPropertiesInstructionStepsItem: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodelessUiConnectorConfigPropertiesInstructionStepsItem", + modelProperties: { + ...InstructionSteps.type.modelProperties, + }, + }, + }; + +export const InstructionStepsInstructionsItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InstructionStepsInstructionsItem", + modelProperties: { + ...ConnectorInstructionModelBase.type.modelProperties, + }, + }, +}; + +export const AlertRule: coreClient.CompositeMapper = { + serializedName: "AlertRule", + type: { + name: "Composite", + className: "AlertRule", + uberParent: "ResourceWithEtag", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ActionResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActionResponse", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + logicAppResourceId: { + serializedName: "properties.logicAppResourceId", + type: { + name: "String", + }, + }, + workflowId: { + serializedName: "properties.workflowId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ActionRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActionRequest", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + logicAppResourceId: { + serializedName: "properties.logicAppResourceId", + type: { + name: "String", + }, + }, + triggerUri: { + serializedName: "properties.triggerUri", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AutomationRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutomationRule", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + displayName: { + constraints: { + MaxLength: 500, + }, + serializedName: "properties.displayName", + required: true, + type: { + name: "String", + }, + }, + order: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 1, + }, + serializedName: "properties.order", + required: true, + type: { + name: "Number", + }, + }, + triggeringLogic: { + serializedName: "properties.triggeringLogic", + type: { + name: "Composite", + className: "AutomationRuleTriggeringLogic", + }, + }, + actions: { + constraints: { + MaxItems: 20, + }, + serializedName: "properties.actions", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationRuleAction", + }, + }, + }, + }, + lastModifiedTimeUtc: { + serializedName: "properties.lastModifiedTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + createdTimeUtc: { + serializedName: "properties.createdTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", + type: { + name: "Composite", + className: "ClientInfo", + }, + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "ClientInfo", + }, + }, + }, + }, +}; + +export const Bookmark: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Bookmark", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + created: { + serializedName: "properties.created", + type: { + name: "DateTime", + }, + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "UserInfo", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + labels: { + serializedName: "properties.labels", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + notes: { + serializedName: "properties.notes", + type: { + name: "String", + }, + }, + query: { + serializedName: "properties.query", + type: { + name: "String", + }, + }, + queryResult: { + serializedName: "properties.queryResult", + type: { + name: "String", + }, + }, + updated: { + serializedName: "properties.updated", + type: { + name: "DateTime", + }, + }, + updatedBy: { + serializedName: "properties.updatedBy", + type: { + name: "Composite", + className: "UserInfo", + }, + }, + eventTime: { + serializedName: "properties.eventTime", + type: { + name: "DateTime", + }, + }, + queryStartTime: { + serializedName: "properties.queryStartTime", + type: { + name: "DateTime", + }, + }, + queryEndTime: { + serializedName: "properties.queryEndTime", + type: { + name: "DateTime", + }, + }, + incidentInfo: { + serializedName: "properties.incidentInfo", + type: { + name: "Composite", + className: "IncidentInfo", + }, + }, + entityMappings: { + serializedName: "properties.entityMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BookmarkEntityMappings", + }, + }, + }, + }, + tactics: { + serializedName: "properties.tactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + techniques: { + serializedName: "properties.techniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const Relation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Relation", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + relatedResourceId: { + serializedName: "properties.relatedResourceId", + type: { + name: "String", + }, + }, + relatedResourceName: { + serializedName: "properties.relatedResourceName", + readOnly: true, + type: { + name: "String", + }, + }, + relatedResourceType: { + serializedName: "properties.relatedResourceType", + readOnly: true, + type: { + name: "String", + }, + }, + relatedResourceKind: { + serializedName: "properties.relatedResourceKind", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PackageModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PackageModel", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + contentId: { + serializedName: "properties.contentId", + type: { + name: "String", + }, + }, + contentProductId: { + serializedName: "properties.contentProductId", + type: { + name: "String", + }, + }, + contentKind: { + serializedName: "properties.contentKind", + type: { + name: "String", + }, + }, + contentSchemaVersion: { + serializedName: "properties.contentSchemaVersion", + type: { + name: "String", + }, + }, + isNew: { + serializedName: "properties.isNew", + type: { + name: "String", + }, + }, + isPreview: { + serializedName: "properties.isPreview", + type: { + name: "String", + }, + }, + isFeatured: { + serializedName: "properties.isFeatured", + type: { + name: "String", + }, + }, + isDeprecated: { + serializedName: "properties.isDeprecated", + type: { + name: "String", + }, + }, + version: { + serializedName: "properties.version", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + publisherDisplayName: { + serializedName: "properties.publisherDisplayName", + type: { + name: "String", + }, + }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "MetadataSource", + }, + }, + author: { + serializedName: "properties.author", + type: { + name: "Composite", + className: "MetadataAuthor", + }, + }, + support: { + serializedName: "properties.support", + type: { + name: "Composite", + className: "MetadataSupport", + }, + }, + dependencies: { + serializedName: "properties.dependencies", + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + providers: { + serializedName: "properties.providers", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + firstPublishDate: { + serializedName: "properties.firstPublishDate", + type: { + name: "Date", + }, + }, + lastPublishDate: { + serializedName: "properties.lastPublishDate", + type: { + name: "Date", + }, + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Composite", + className: "MetadataCategories", + }, + }, + threatAnalysisTactics: { + serializedName: "properties.threatAnalysisTactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + threatAnalysisTechniques: { + serializedName: "properties.threatAnalysisTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + icon: { + serializedName: "properties.icon", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ProductPackageModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProductPackageModel", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + contentId: { + serializedName: "properties.contentId", + type: { + name: "String", + }, + }, + contentProductId: { + serializedName: "properties.contentProductId", + type: { + name: "String", + }, + }, + contentKind: { + serializedName: "properties.contentKind", + type: { + name: "String", + }, + }, + contentSchemaVersion: { + serializedName: "properties.contentSchemaVersion", + type: { + name: "String", + }, + }, + isNew: { + serializedName: "properties.isNew", + type: { + name: "String", + }, + }, + isPreview: { + serializedName: "properties.isPreview", + type: { + name: "String", + }, + }, + isFeatured: { + serializedName: "properties.isFeatured", + type: { + name: "String", + }, + }, + isDeprecated: { + serializedName: "properties.isDeprecated", + type: { + name: "String", + }, + }, + version: { + serializedName: "properties.version", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + publisherDisplayName: { + serializedName: "properties.publisherDisplayName", + type: { + name: "String", + }, + }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "MetadataSource", + }, + }, + author: { + serializedName: "properties.author", + type: { + name: "Composite", + className: "MetadataAuthor", + }, + }, + support: { + serializedName: "properties.support", + type: { + name: "Composite", + className: "MetadataSupport", + }, + }, + dependencies: { + serializedName: "properties.dependencies", + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + providers: { + serializedName: "properties.providers", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + firstPublishDate: { + serializedName: "properties.firstPublishDate", + type: { + name: "Date", + }, + }, + lastPublishDate: { + serializedName: "properties.lastPublishDate", + type: { + name: "Date", + }, + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Composite", + className: "MetadataCategories", + }, + }, + threatAnalysisTactics: { + serializedName: "properties.threatAnalysisTactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + threatAnalysisTechniques: { + serializedName: "properties.threatAnalysisTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + icon: { + serializedName: "properties.icon", + type: { + name: "String", + }, + }, + installedVersion: { + serializedName: "properties.installedVersion", + type: { + name: "String", + }, + }, + metadataResourceId: { + serializedName: "properties.metadataResourceId", + type: { + name: "String", + }, + }, + packagedContent: { + serializedName: "properties.packagedContent", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const ProductTemplateModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProductTemplateModel", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + contentId: { + serializedName: "properties.contentId", + type: { + name: "String", + }, + }, + contentProductId: { + serializedName: "properties.contentProductId", + type: { + name: "String", + }, + }, + packageVersion: { + serializedName: "properties.packageVersion", + type: { + name: "String", + }, + }, + version: { + serializedName: "properties.version", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + contentKind: { + serializedName: "properties.contentKind", + type: { + name: "String", + }, + }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "MetadataSource", + }, + }, + author: { + serializedName: "properties.author", + type: { + name: "Composite", + className: "MetadataAuthor", + }, + }, + support: { + serializedName: "properties.support", + type: { + name: "Composite", + className: "MetadataSupport", + }, + }, + dependencies: { + serializedName: "properties.dependencies", + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Composite", + className: "MetadataCategories", + }, + }, + providers: { + serializedName: "properties.providers", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + firstPublishDate: { + serializedName: "properties.firstPublishDate", + type: { + name: "Date", + }, + }, + lastPublishDate: { + serializedName: "properties.lastPublishDate", + type: { + name: "Date", + }, + }, + customVersion: { + serializedName: "properties.customVersion", + type: { + name: "String", + }, + }, + contentSchemaVersion: { + serializedName: "properties.contentSchemaVersion", + type: { + name: "String", + }, + }, + icon: { + serializedName: "properties.icon", + type: { + name: "String", + }, + }, + threatAnalysisTactics: { + serializedName: "properties.threatAnalysisTactics", type: { - name: "String" - } - } - } - } -}; - -export const ActionResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ActionResponse", - modelProperties: { - ...ResourceWithEtag.type.modelProperties, - logicAppResourceId: { - serializedName: "properties.logicAppResourceId", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + threatAnalysisTechniques: { + serializedName: "properties.threatAnalysisTechniques", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - workflowId: { - serializedName: "properties.workflowId", + previewImages: { + serializedName: "properties.previewImages", type: { - name: "String" - } - } - } - } -}; - -export const ActionRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ActionRequest", - modelProperties: { - ...ResourceWithEtag.type.modelProperties, - logicAppResourceId: { - serializedName: "properties.logicAppResourceId", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + previewImagesDark: { + serializedName: "properties.previewImagesDark", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + packageId: { + serializedName: "properties.packageId", type: { - name: "String" - } + name: "String", + }, }, - triggerUri: { - serializedName: "properties.triggerUri", + packageKind: { + serializedName: "properties.packageKind", + type: { + name: "String", + }, + }, + packageName: { + serializedName: "properties.packageName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + isDeprecated: { + serializedName: "properties.isDeprecated", + readOnly: true, + type: { + name: "String", + }, + }, + packagedContent: { + serializedName: "properties.packagedContent", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const AutomationRule: coreClient.CompositeMapper = { +export const TemplateModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomationRule", + className: "TemplateModel", modelProperties: { ...ResourceWithEtag.type.modelProperties, - displayName: { - constraints: { - MaxLength: 500 + contentId: { + serializedName: "properties.contentId", + type: { + name: "String", + }, + }, + contentProductId: { + serializedName: "properties.contentProductId", + type: { + name: "String", + }, + }, + packageVersion: { + serializedName: "properties.packageVersion", + type: { + name: "String", }, + }, + version: { + serializedName: "properties.version", + type: { + name: "String", + }, + }, + displayName: { serializedName: "properties.displayName", - required: true, type: { - name: "String" - } + name: "String", + }, }, - order: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 + contentKind: { + serializedName: "properties.contentKind", + type: { + name: "String", }, - serializedName: "properties.order", - required: true, + }, + source: { + serializedName: "properties.source", type: { - name: "Number" - } + name: "Composite", + className: "MetadataSource", + }, }, - triggeringLogic: { - serializedName: "properties.triggeringLogic", + author: { + serializedName: "properties.author", type: { name: "Composite", - className: "AutomationRuleTriggeringLogic" - } + className: "MetadataAuthor", + }, }, - actions: { - constraints: { - MaxItems: 20 + support: { + serializedName: "properties.support", + type: { + name: "Composite", + className: "MetadataSupport", }, - serializedName: "properties.actions", - required: true, + }, + dependencies: { + serializedName: "properties.dependencies", + type: { + name: "Composite", + className: "MetadataDependencies", + }, + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Composite", + className: "MetadataCategories", + }, + }, + providers: { + serializedName: "properties.providers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "AutomationRuleAction" - } - } - } + name: "String", + }, + }, + }, }, - lastModifiedTimeUtc: { - serializedName: "properties.lastModifiedTimeUtc", - readOnly: true, + firstPublishDate: { + serializedName: "properties.firstPublishDate", type: { - name: "DateTime" - } + name: "Date", + }, }, - createdTimeUtc: { - serializedName: "properties.createdTimeUtc", - readOnly: true, + lastPublishDate: { + serializedName: "properties.lastPublishDate", type: { - name: "DateTime" - } + name: "Date", + }, }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", + customVersion: { + serializedName: "properties.customVersion", type: { - name: "Composite", - className: "ClientInfo" - } + name: "String", + }, }, - createdBy: { - serializedName: "properties.createdBy", + contentSchemaVersion: { + serializedName: "properties.contentSchemaVersion", type: { - name: "Composite", - className: "ClientInfo" - } - } - } - } -}; - -export const Bookmark: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Bookmark", - modelProperties: { - ...ResourceWithEtag.type.modelProperties, - created: { - serializedName: "properties.created", + name: "String", + }, + }, + icon: { + serializedName: "properties.icon", type: { - name: "DateTime" - } + name: "String", + }, }, - createdBy: { - serializedName: "properties.createdBy", + threatAnalysisTactics: { + serializedName: "properties.threatAnalysisTactics", type: { - name: "Composite", - className: "UserInfo" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - displayName: { - serializedName: "properties.displayName", + threatAnalysisTechniques: { + serializedName: "properties.threatAnalysisTechniques", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - labels: { - serializedName: "properties.labels", + previewImages: { + serializedName: "properties.previewImages", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - notes: { - serializedName: "properties.notes", + previewImagesDark: { + serializedName: "properties.previewImagesDark", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - query: { - serializedName: "properties.query", + packageId: { + serializedName: "properties.packageId", type: { - name: "String" - } + name: "String", + }, }, - queryResult: { - serializedName: "properties.queryResult", + packageKind: { + serializedName: "properties.packageKind", type: { - name: "String" - } + name: "String", + }, }, - updated: { - serializedName: "properties.updated", + packageName: { + serializedName: "properties.packageName", type: { - name: "DateTime" - } + name: "String", + }, }, - updatedBy: { - serializedName: "properties.updatedBy", + isDeprecated: { + serializedName: "properties.isDeprecated", + readOnly: true, + type: { + name: "String", + }, + }, + mainTemplate: { + serializedName: "properties.mainTemplate", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + dependantTemplates: { + serializedName: "properties.dependantTemplates", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TemplateProperties", + }, + }, + }, + }, + }, + }, +}; + +export const EntityQuery: coreClient.CompositeMapper = { + serializedName: "EntityQuery", + type: { + name: "Composite", + className: "EntityQuery", + uberParent: "ResourceWithEtag", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CustomEntityQuery: coreClient.CompositeMapper = { + serializedName: "CustomEntityQuery", + type: { + name: "Composite", + className: "CustomEntityQuery", + uberParent: "ResourceWithEtag", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "Composite", - className: "UserInfo" - } + name: "String", + }, }, - eventTime: { - serializedName: "properties.eventTime", + }, + }, +}; + +export const Hunt: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Hunt", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + displayName: { + serializedName: "properties.displayName", type: { - name: "DateTime" - } + name: "String", + }, }, - queryStartTime: { - serializedName: "properties.queryStartTime", + description: { + serializedName: "properties.description", type: { - name: "DateTime" - } + name: "String", + }, }, - queryEndTime: { - serializedName: "properties.queryEndTime", + status: { + serializedName: "properties.status", type: { - name: "DateTime" - } + name: "String", + }, }, - incidentInfo: { - serializedName: "properties.incidentInfo", + hypothesisStatus: { + defaultValue: "Unknown", + serializedName: "properties.hypothesisStatus", type: { - name: "Composite", - className: "IncidentInfo" - } + name: "String", + }, }, - entityMappings: { - serializedName: "properties.entityMappings", + attackTactics: { + serializedName: "properties.attackTactics", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "BookmarkEntityMappings" - } - } - } + name: "String", + }, + }, + }, }, - tactics: { - serializedName: "properties.tactics", + attackTechniques: { + serializedName: "properties.attackTechniques", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - techniques: { - serializedName: "properties.techniques", + labels: { + serializedName: "properties.labels", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + owner: { + serializedName: "properties.owner", + type: { + name: "Composite", + className: "HuntOwner", + }, + }, + }, + }, }; -export const Relation: coreClient.CompositeMapper = { +export const HuntRelation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Relation", + className: "HuntRelation", modelProperties: { ...ResourceWithEtag.type.modelProperties, relatedResourceId: { serializedName: "properties.relatedResourceId", type: { - name: "String" - } + name: "String", + }, }, relatedResourceName: { serializedName: "properties.relatedResourceName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - relatedResourceType: { - serializedName: "properties.relatedResourceType", + relationType: { + serializedName: "properties.relationType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, relatedResourceKind: { serializedName: "properties.relatedResourceKind", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const EntityQuery: coreClient.CompositeMapper = { - serializedName: "EntityQuery", - type: { - name: "Composite", - className: "EntityQuery", - uberParent: "ResourceWithEtag", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - modelProperties: { - ...ResourceWithEtag.type.modelProperties, - kind: { - serializedName: "kind", - required: true, + name: "String", + }, + }, + labels: { + serializedName: "properties.labels", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const CustomEntityQuery: coreClient.CompositeMapper = { - serializedName: "CustomEntityQuery", +export const HuntComment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomEntityQuery", - uberParent: "ResourceWithEtag", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, + className: "HuntComment", modelProperties: { ...ResourceWithEtag.type.modelProperties, - kind: { - serializedName: "kind", - required: true, + message: { + serializedName: "properties.message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Incident: coreClient.CompositeMapper = { @@ -10244,63 +13852,54 @@ export const Incident: coreClient.CompositeMapper = { className: "Incident", modelProperties: { ...ResourceWithEtag.type.modelProperties, - additionalData: { - serializedName: "properties.additionalData", - type: { - name: "Composite", - className: "IncidentAdditionalData" - } - }, - classification: { - serializedName: "properties.classification", + title: { + serializedName: "properties.title", type: { - name: "String" - } + name: "String", + }, }, - classificationComment: { - serializedName: "properties.classificationComment", + description: { + serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, - classificationReason: { - serializedName: "properties.classificationReason", + severity: { + serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, - createdTimeUtc: { - serializedName: "properties.createdTimeUtc", - readOnly: true, + status: { + serializedName: "properties.status", type: { - name: "DateTime" - } + name: "String", + }, }, - description: { - serializedName: "properties.description", + classification: { + serializedName: "properties.classification", type: { - name: "String" - } + name: "String", + }, }, - firstActivityTimeUtc: { - serializedName: "properties.firstActivityTimeUtc", + classificationReason: { + serializedName: "properties.classificationReason", type: { - name: "DateTime" - } + name: "String", + }, }, - incidentUrl: { - serializedName: "properties.incidentUrl", - readOnly: true, + classificationComment: { + serializedName: "properties.classificationComment", type: { - name: "String" - } + name: "String", + }, }, - incidentNumber: { - serializedName: "properties.incidentNumber", - readOnly: true, + owner: { + serializedName: "properties.owner", type: { - name: "Number" - } + name: "Composite", + className: "IncidentOwnerInfo", + }, }, labels: { serializedName: "properties.labels", @@ -10309,42 +13908,50 @@ export const Incident: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IncidentLabel" - } - } - } - }, - providerName: { - serializedName: "properties.providerName", - type: { - name: "String" - } + className: "IncidentLabel", + }, + }, + }, }, - providerIncidentId: { - serializedName: "properties.providerIncidentId", + firstActivityTimeUtc: { + serializedName: "properties.firstActivityTimeUtc", type: { - name: "String" - } + name: "DateTime", + }, }, lastActivityTimeUtc: { serializedName: "properties.lastActivityTimeUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, - owner: { - serializedName: "properties.owner", + createdTimeUtc: { + serializedName: "properties.createdTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + incidentNumber: { + serializedName: "properties.incidentNumber", + readOnly: true, + type: { + name: "Number", + }, + }, + additionalData: { + serializedName: "properties.additionalData", type: { name: "Composite", - className: "IncidentOwnerInfo" - } + className: "IncidentAdditionalData", + }, }, relatedAnalyticRuleIds: { serializedName: "properties.relatedAnalyticRuleIds", @@ -10353,38 +13960,41 @@ export const Incident: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - severity: { - serializedName: "properties.severity", + incidentUrl: { + serializedName: "properties.incidentUrl", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - status: { - serializedName: "properties.status", + providerName: { + serializedName: "properties.providerName", + readOnly: true, type: { - name: "String" - } + name: "String", + }, + }, + providerIncidentId: { + serializedName: "properties.providerIncidentId", + readOnly: true, + type: { + name: "String", + }, }, teamInformation: { serializedName: "properties.teamInformation", type: { name: "Composite", - className: "TeamInformation" - } + className: "TeamInformation", + }, }, - title: { - serializedName: "properties.title", - type: { - name: "String" - } - } - } - } + }, + }, }; export const IncidentComment: coreClient.CompositeMapper = { @@ -10393,35 +14003,93 @@ export const IncidentComment: coreClient.CompositeMapper = { className: "IncidentComment", modelProperties: { ...ResourceWithEtag.type.modelProperties, + message: { + serializedName: "properties.message", + type: { + name: "String", + }, + }, createdTimeUtc: { serializedName: "properties.createdTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, - message: { - serializedName: "properties.message", + author: { + serializedName: "properties.author", + type: { + name: "Composite", + className: "ClientInfo", + }, + }, + }, + }, +}; + +export const IncidentTask: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IncidentTask", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + title: { + serializedName: "properties.title", + required: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + status: { + serializedName: "properties.status", + required: true, + type: { + name: "String", + }, + }, + createdTimeUtc: { + serializedName: "properties.createdTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + lastModifiedTimeUtc: { + serializedName: "properties.lastModifiedTimeUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, + createdBy: { + serializedName: "properties.createdBy", type: { - name: "String" - } + name: "Composite", + className: "ClientInfo", + }, }, - author: { - serializedName: "properties.author", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", type: { name: "Composite", - className: "ClientInfo" - } - } - } - } + className: "ClientInfo", + }, + }, + }, + }, }; export const MetadataModel: coreClient.CompositeMapper = { @@ -10433,61 +14101,61 @@ export const MetadataModel: coreClient.CompositeMapper = { contentId: { serializedName: "properties.contentId", type: { - name: "String" - } + name: "String", + }, }, parentId: { serializedName: "properties.parentId", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, kind: { serializedName: "properties.kind", type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "properties.source", type: { name: "Composite", - className: "MetadataSource" - } + className: "MetadataSource", + }, }, author: { serializedName: "properties.author", type: { name: "Composite", - className: "MetadataAuthor" - } + className: "MetadataAuthor", + }, }, support: { serializedName: "properties.support", type: { name: "Composite", - className: "MetadataSupport" - } + className: "MetadataSupport", + }, }, dependencies: { serializedName: "properties.dependencies", type: { name: "Composite", - className: "MetadataDependencies" - } + className: "MetadataDependencies", + }, }, categories: { serializedName: "properties.categories", type: { name: "Composite", - className: "MetadataCategories" - } + className: "MetadataCategories", + }, }, providers: { serializedName: "properties.providers", @@ -10495,40 +14163,40 @@ export const MetadataModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, firstPublishDate: { serializedName: "properties.firstPublishDate", type: { - name: "Date" - } + name: "Date", + }, }, lastPublishDate: { serializedName: "properties.lastPublishDate", type: { - name: "Date" - } + name: "Date", + }, }, customVersion: { serializedName: "properties.customVersion", type: { - name: "String" - } + name: "String", + }, }, contentSchemaVersion: { serializedName: "properties.contentSchemaVersion", type: { - name: "String" - } + name: "String", + }, }, icon: { serializedName: "properties.icon", type: { - name: "String" - } + name: "String", + }, }, threatAnalysisTactics: { serializedName: "properties.threatAnalysisTactics", @@ -10536,10 +14204,10 @@ export const MetadataModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, threatAnalysisTechniques: { serializedName: "properties.threatAnalysisTechniques", @@ -10547,10 +14215,10 @@ export const MetadataModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, previewImages: { serializedName: "properties.previewImages", @@ -10558,10 +14226,10 @@ export const MetadataModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, previewImagesDark: { serializedName: "properties.previewImagesDark", @@ -10569,13 +14237,13 @@ export const MetadataModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const MetadataPatch: coreClient.CompositeMapper = { @@ -10587,61 +14255,61 @@ export const MetadataPatch: coreClient.CompositeMapper = { contentId: { serializedName: "properties.contentId", type: { - name: "String" - } + name: "String", + }, }, parentId: { serializedName: "properties.parentId", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, kind: { serializedName: "properties.kind", type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "properties.source", type: { name: "Composite", - className: "MetadataSource" - } + className: "MetadataSource", + }, }, author: { serializedName: "properties.author", type: { name: "Composite", - className: "MetadataAuthor" - } + className: "MetadataAuthor", + }, }, support: { serializedName: "properties.support", type: { name: "Composite", - className: "MetadataSupport" - } + className: "MetadataSupport", + }, }, dependencies: { serializedName: "properties.dependencies", type: { name: "Composite", - className: "MetadataDependencies" - } + className: "MetadataDependencies", + }, }, categories: { serializedName: "properties.categories", type: { name: "Composite", - className: "MetadataCategories" - } + className: "MetadataCategories", + }, }, providers: { serializedName: "properties.providers", @@ -10649,40 +14317,40 @@ export const MetadataPatch: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, firstPublishDate: { serializedName: "properties.firstPublishDate", type: { - name: "Date" - } + name: "Date", + }, }, lastPublishDate: { serializedName: "properties.lastPublishDate", type: { - name: "Date" - } + name: "Date", + }, }, customVersion: { serializedName: "properties.customVersion", type: { - name: "String" - } + name: "String", + }, }, contentSchemaVersion: { serializedName: "properties.contentSchemaVersion", type: { - name: "String" - } + name: "String", + }, }, icon: { serializedName: "properties.icon", type: { - name: "String" - } + name: "String", + }, }, threatAnalysisTactics: { serializedName: "properties.threatAnalysisTactics", @@ -10690,10 +14358,10 @@ export const MetadataPatch: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, threatAnalysisTechniques: { serializedName: "properties.threatAnalysisTechniques", @@ -10701,10 +14369,10 @@ export const MetadataPatch: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, previewImages: { serializedName: "properties.previewImages", @@ -10712,10 +14380,10 @@ export const MetadataPatch: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, previewImagesDark: { serializedName: "properties.previewImagesDark", @@ -10723,13 +14391,13 @@ export const MetadataPatch: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const SentinelOnboardingState: coreClient.CompositeMapper = { @@ -10741,11 +14409,11 @@ export const SentinelOnboardingState: coreClient.CompositeMapper = { customerManagedKey: { serializedName: "properties.customerManagedKey", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const SecurityMLAnalyticsSetting: coreClient.CompositeMapper = { @@ -10756,7 +14424,7 @@ export const SecurityMLAnalyticsSetting: coreClient.CompositeMapper = { uberParent: "ResourceWithEtag", polymorphicDiscriminator: { serializedName: "kind", - clientName: "kind" + clientName: "kind", }, modelProperties: { ...ResourceWithEtag.type.modelProperties, @@ -10764,11 +14432,11 @@ export const SecurityMLAnalyticsSetting: coreClient.CompositeMapper = { serializedName: "kind", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Settings: coreClient.CompositeMapper = { @@ -10779,7 +14447,7 @@ export const Settings: coreClient.CompositeMapper = { uberParent: "ResourceWithEtag", polymorphicDiscriminator: { serializedName: "kind", - clientName: "kind" + clientName: "kind", }, modelProperties: { ...ResourceWithEtag.type.modelProperties, @@ -10787,11 +14455,11 @@ export const Settings: coreClient.CompositeMapper = { serializedName: "kind", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SourceControl: coreClient.CompositeMapper = { @@ -10802,68 +14470,94 @@ export const SourceControl: coreClient.CompositeMapper = { ...ResourceWithEtag.type.modelProperties, idPropertiesId: { serializedName: "properties.id", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", + required: true, type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, repoType: { serializedName: "properties.repoType", + required: true, type: { - name: "String" - } + name: "String", + }, }, contentTypes: { serializedName: "properties.contentTypes", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, repository: { serializedName: "properties.repository", type: { name: "Composite", - className: "Repository" - } + className: "Repository", + }, + }, + servicePrincipal: { + serializedName: "properties.servicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipal", + }, + }, + repositoryAccess: { + serializedName: "properties.repositoryAccess", + type: { + name: "Composite", + className: "RepositoryAccess", + }, }, repositoryResourceInfo: { serializedName: "properties.repositoryResourceInfo", type: { name: "Composite", - className: "RepositoryResourceInfo" - } + className: "RepositoryResourceInfo", + }, }, lastDeploymentInfo: { serializedName: "properties.lastDeploymentInfo", type: { name: "Composite", - className: "DeploymentInfo" - } - } - } - } + className: "DeploymentInfo", + }, + }, + pullRequest: { + serializedName: "properties.pullRequest", + type: { + name: "Composite", + className: "PullRequest", + }, + }, + }, + }, }; export const ThreatIntelligenceInformation: coreClient.CompositeMapper = { @@ -10874,7 +14568,7 @@ export const ThreatIntelligenceInformation: coreClient.CompositeMapper = { uberParent: "ResourceWithEtag", polymorphicDiscriminator: { serializedName: "kind", - clientName: "kind" + clientName: "kind", }, modelProperties: { ...ResourceWithEtag.type.modelProperties, @@ -10882,11 +14576,56 @@ export const ThreatIntelligenceInformation: coreClient.CompositeMapper = { serializedName: "kind", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, +}; + +export const TriggeredAnalyticsRuleRun: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggeredAnalyticsRuleRun", + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + executionTimeUtc: { + serializedName: "properties.executionTimeUtc", + required: true, + type: { + name: "DateTime", + }, + }, + ruleId: { + serializedName: "properties.ruleId", + required: true, + type: { + name: "String", + }, + }, + triggeredAnalyticsRuleRunId: { + serializedName: "properties.triggeredAnalyticsRuleRunId", + required: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + required: true, + type: { + name: "String", + }, + }, + ruleRunAdditionalData: { + serializedName: "properties.ruleRunAdditionalData", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const Watchlist: coreClient.CompositeMapper = { @@ -10898,82 +14637,82 @@ export const Watchlist: coreClient.CompositeMapper = { watchlistId: { serializedName: "properties.watchlistId", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, provider: { serializedName: "properties.provider", type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "properties.source", type: { - name: "String" - } + name: "String", + }, }, sourceType: { serializedName: "properties.sourceType", type: { - name: "String" - } + name: "String", + }, }, created: { serializedName: "properties.created", type: { - name: "DateTime" - } + name: "DateTime", + }, }, updated: { serializedName: "properties.updated", type: { - name: "DateTime" - } + name: "DateTime", + }, }, createdBy: { serializedName: "properties.createdBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, updatedBy: { serializedName: "properties.updatedBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, watchlistType: { serializedName: "properties.watchlistType", type: { - name: "String" - } + name: "String", + }, }, watchlistAlias: { serializedName: "properties.watchlistAlias", type: { - name: "String" - } + name: "String", + }, }, isDeleted: { serializedName: "properties.isDeleted", type: { - name: "Boolean" - } + name: "Boolean", + }, }, labels: { serializedName: "properties.labels", @@ -10981,55 +14720,55 @@ export const Watchlist: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, defaultDuration: { serializedName: "properties.defaultDuration", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, numberOfLinesToSkip: { serializedName: "properties.numberOfLinesToSkip", type: { - name: "Number" - } + name: "Number", + }, }, rawContent: { serializedName: "properties.rawContent", type: { - name: "String" - } + name: "String", + }, }, itemsSearchKey: { serializedName: "properties.itemsSearchKey", type: { - name: "String" - } + name: "String", + }, }, contentType: { serializedName: "properties.contentType", type: { - name: "String" - } + name: "String", + }, }, uploadStatus: { serializedName: "properties.uploadStatus", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WatchlistItem: coreClient.CompositeMapper = { @@ -11041,184 +14780,258 @@ export const WatchlistItem: coreClient.CompositeMapper = { watchlistItemType: { serializedName: "properties.watchlistItemType", type: { - name: "String" - } + name: "String", + }, }, watchlistItemId: { serializedName: "properties.watchlistItemId", type: { - name: "String" - } + name: "String", + }, }, tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, isDeleted: { serializedName: "properties.isDeleted", type: { - name: "Boolean" - } + name: "Boolean", + }, }, created: { serializedName: "properties.created", type: { - name: "DateTime" - } + name: "DateTime", + }, }, updated: { serializedName: "properties.updated", type: { - name: "DateTime" - } + name: "DateTime", + }, }, createdBy: { serializedName: "properties.createdBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, updatedBy: { serializedName: "properties.updatedBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, itemsKeyValue: { serializedName: "properties.itemsKeyValue", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, entityMapping: { serializedName: "properties.entityMapping", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const DataConnector: coreClient.CompositeMapper = { - serializedName: "DataConnector", - type: { - name: "Composite", - className: "DataConnector", - uberParent: "ResourceWithEtag", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" + value: { type: { name: "any" } }, + }, + }, }, - modelProperties: { - ...ResourceWithEtag.type.modelProperties, - kind: { - serializedName: "kind", - required: true, - type: { - name: "String" - } - } - } - } + }, }; -export const MLBehaviorAnalyticsAlertRuleTemplate: coreClient.CompositeMapper = { - serializedName: "MLBehaviorAnalytics", +export const Job: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLBehaviorAnalyticsAlertRuleTemplate", - uberParent: "AlertRuleTemplate", - polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator, + className: "Job", modelProperties: { - ...AlertRuleTemplate.type.modelProperties, - alertRulesCreatedByTemplateCount: { - serializedName: "properties.alertRulesCreatedByTemplateCount", - type: { - name: "Number" - } - }, - lastUpdatedDateUTC: { - serializedName: "properties.lastUpdatedDateUTC", + ...ResourceWithEtag.type.modelProperties, + endTime: { + serializedName: "properties.endTime", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, - createdDateUTC: { - serializedName: "properties.createdDateUTC", - readOnly: true, + items: { + serializedName: "properties.items", type: { - name: "DateTime" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobItem", + }, + }, + }, }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "properties.displayName", + startTime: { + serializedName: "properties.startTime", + readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - requiredDataConnectors: { - serializedName: "properties.requiredDataConnectors", + errorMessage: { + serializedName: "properties.errorMessage", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + name: "String", + }, }, - status: { - serializedName: "properties.status", + }, + }, +}; + +export const DataConnectorDefinition: coreClient.CompositeMapper = { + serializedName: "DataConnectorDefinition", + type: { + name: "Composite", + className: "DataConnectorDefinition", + uberParent: "ResourceWithEtag", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "String" - } + name: "String", + }, }, - tactics: { - serializedName: "properties.tactics", + }, + }, +}; + +export const DataConnector: coreClient.CompositeMapper = { + serializedName: "DataConnector", + type: { + name: "Composite", + className: "DataConnector", + uberParent: "ResourceWithEtag", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...ResourceWithEtag.type.modelProperties, + kind: { + serializedName: "kind", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - techniques: { - serializedName: "properties.techniques", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + }, + }, +}; + +export const MLBehaviorAnalyticsAlertRuleTemplate: coreClient.CompositeMapper = + { + serializedName: "MLBehaviorAnalytics", + type: { + name: "Composite", + className: "MLBehaviorAnalyticsAlertRuleTemplate", + uberParent: "AlertRuleTemplate", + polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator, + modelProperties: { + ...AlertRuleTemplate.type.modelProperties, + alertRulesCreatedByTemplateCount: { + serializedName: "properties.alertRulesCreatedByTemplateCount", + type: { + name: "Number", + }, + }, + lastUpdatedDateUTC: { + serializedName: "properties.lastUpdatedDateUTC", + readOnly: true, + type: { + name: "DateTime", + }, + }, + createdDateUTC: { + serializedName: "properties.createdDateUTC", + readOnly: true, + type: { + name: "DateTime", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + requiredDataConnectors: { + serializedName: "properties.requiredDataConnectors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AlertRuleTemplateDataSource", + }, + }, + }, + }, + status: { + serializedName: "properties.status", + type: { + name: "String", + }, + }, + tactics: { + serializedName: "properties.tactics", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + techniques: { + serializedName: "properties.techniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + severity: { + serializedName: "properties.severity", + type: { + name: "String", + }, + }, }, - severity: { - serializedName: "properties.severity", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { serializedName: "Fusion", @@ -11232,34 +15045,34 @@ export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { alertRulesCreatedByTemplateCount: { serializedName: "properties.alertRulesCreatedByTemplateCount", type: { - name: "Number" - } + name: "Number", + }, }, createdDateUTC: { serializedName: "properties.createdDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastUpdatedDateUTC: { serializedName: "properties.lastUpdatedDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, requiredDataConnectors: { serializedName: "properties.requiredDataConnectors", @@ -11268,22 +15081,22 @@ export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + className: "AlertRuleTemplateDataSource", + }, + }, + }, }, status: { serializedName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -11291,10 +15104,10 @@ export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -11302,10 +15115,21 @@ export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, sourceSettings: { serializedName: "properties.sourceSettings", @@ -11314,13 +15138,13 @@ export const FusionAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FusionTemplateSourceSetting" - } - } - } - } - } - } + className: "FusionTemplateSourceSetting", + }, + }, + }, + }, + }, + }, }; export const ThreatIntelligenceAlertRuleTemplate: coreClient.CompositeMapper = { @@ -11335,34 +15159,34 @@ export const ThreatIntelligenceAlertRuleTemplate: coreClient.CompositeMapper = { alertRulesCreatedByTemplateCount: { serializedName: "properties.alertRulesCreatedByTemplateCount", type: { - name: "Number" - } + name: "Number", + }, }, lastUpdatedDateUTC: { serializedName: "properties.lastUpdatedDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, createdDateUTC: { serializedName: "properties.createdDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, requiredDataConnectors: { serializedName: "properties.requiredDataConnectors", @@ -11371,16 +15195,16 @@ export const ThreatIntelligenceAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + className: "AlertRuleTemplateDataSource", + }, + }, + }, }, status: { serializedName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -11388,10 +15212,10 @@ export const ThreatIntelligenceAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -11399,122 +15223,123 @@ export const ThreatIntelligenceAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } - } - } - } -}; - -export const MicrosoftSecurityIncidentCreationAlertRuleTemplate: coreClient.CompositeMapper = { - serializedName: "MicrosoftSecurityIncidentCreation", - type: { - name: "Composite", - className: "MicrosoftSecurityIncidentCreationAlertRuleTemplate", - uberParent: "AlertRuleTemplate", - polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator, - modelProperties: { - ...AlertRuleTemplate.type.modelProperties, - alertRulesCreatedByTemplateCount: { - serializedName: "properties.alertRulesCreatedByTemplateCount", - type: { - name: "Number" - } - }, - lastUpdatedDateUTC: { - serializedName: "properties.lastUpdatedDateUTC", - readOnly: true, - type: { - name: "DateTime" - } - }, - createdDateUTC: { - serializedName: "properties.createdDateUTC", - readOnly: true, - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - requiredDataConnectors: { - serializedName: "properties.requiredDataConnectors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - displayNamesFilter: { - serializedName: "properties.displayNamesFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - displayNamesExcludeFilter: { - serializedName: "properties.displayNamesExcludeFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - productFilter: { - serializedName: "properties.productFilter", - type: { - name: "String" - } + }, + }, +}; + +export const MicrosoftSecurityIncidentCreationAlertRuleTemplate: coreClient.CompositeMapper = + { + serializedName: "MicrosoftSecurityIncidentCreation", + type: { + name: "Composite", + className: "MicrosoftSecurityIncidentCreationAlertRuleTemplate", + uberParent: "AlertRuleTemplate", + polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator, + modelProperties: { + ...AlertRuleTemplate.type.modelProperties, + alertRulesCreatedByTemplateCount: { + serializedName: "properties.alertRulesCreatedByTemplateCount", + type: { + name: "Number", + }, + }, + lastUpdatedDateUTC: { + serializedName: "properties.lastUpdatedDateUTC", + readOnly: true, + type: { + name: "DateTime", + }, + }, + createdDateUTC: { + serializedName: "properties.createdDateUTC", + readOnly: true, + type: { + name: "DateTime", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + requiredDataConnectors: { + serializedName: "properties.requiredDataConnectors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AlertRuleTemplateDataSource", + }, + }, + }, + }, + status: { + serializedName: "properties.status", + type: { + name: "String", + }, + }, + displayNamesFilter: { + serializedName: "properties.displayNamesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + displayNamesExcludeFilter: { + serializedName: "properties.displayNamesExcludeFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + productFilter: { + serializedName: "properties.productFilter", + type: { + name: "String", + }, + }, + severitiesFilter: { + serializedName: "properties.severitiesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, - severitiesFilter: { - serializedName: "properties.severitiesFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; + }, + }; export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { serializedName: "Scheduled", @@ -11528,34 +15353,34 @@ export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { alertRulesCreatedByTemplateCount: { serializedName: "properties.alertRulesCreatedByTemplateCount", type: { - name: "Number" - } + name: "Number", + }, }, createdDateUTC: { serializedName: "properties.createdDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastUpdatedDateUTC: { serializedName: "properties.lastUpdatedDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, requiredDataConnectors: { serializedName: "properties.requiredDataConnectors", @@ -11564,53 +15389,53 @@ export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + className: "AlertRuleTemplateDataSource", + }, + }, + }, }, status: { serializedName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, query: { serializedName: "properties.query", type: { - name: "String" - } + name: "String", + }, }, queryFrequency: { serializedName: "properties.queryFrequency", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, queryPeriod: { serializedName: "properties.queryPeriod", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, triggerOperator: { serializedName: "properties.triggerOperator", type: { name: "Enum", - allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"] - } + allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"], + }, }, triggerThreshold: { serializedName: "properties.triggerThreshold", type: { - name: "Number" - } + name: "Number", + }, }, tactics: { serializedName: "properties.tactics", @@ -11618,10 +15443,10 @@ export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -11629,30 +15454,41 @@ export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, version: { serializedName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, eventGroupingSettings: { serializedName: "properties.eventGroupingSettings", type: { name: "Composite", - className: "EventGroupingSettings" - } + className: "EventGroupingSettings", + }, }, customDetails: { serializedName: "properties.customDetails", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, entityMappings: { serializedName: "properties.entityMappings", @@ -11661,20 +15497,32 @@ export const ScheduledAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EntityMapping" - } - } - } + className: "EntityMapping", + }, + }, + }, }, alertDetailsOverride: { serializedName: "properties.alertDetailsOverride", type: { name: "Composite", - className: "AlertDetailsOverride" - } - } - } - } + className: "AlertDetailsOverride", + }, + }, + sentinelEntitiesMappings: { + serializedName: "properties.sentinelEntitiesMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, + }, + }, + }, }; export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { @@ -11689,34 +15537,34 @@ export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { alertRulesCreatedByTemplateCount: { serializedName: "properties.alertRulesCreatedByTemplateCount", type: { - name: "Number" - } + name: "Number", + }, }, lastUpdatedDateUTC: { serializedName: "properties.lastUpdatedDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, createdDateUTC: { serializedName: "properties.createdDateUTC", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, requiredDataConnectors: { serializedName: "properties.requiredDataConnectors", @@ -11725,16 +15573,16 @@ export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AlertRuleTemplateDataSource" - } - } - } + className: "AlertRuleTemplateDataSource", + }, + }, + }, }, status: { serializedName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -11742,10 +15590,10 @@ export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -11753,35 +15601,35 @@ export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, query: { serializedName: "properties.query", type: { - name: "String" - } + name: "String", + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, customDetails: { serializedName: "properties.customDetails", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, entityMappings: { serializedName: "properties.entityMappings", @@ -11790,27 +15638,175 @@ export const NrtAlertRuleTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EntityMapping" - } - } - } + className: "EntityMapping", + }, + }, + }, }, alertDetailsOverride: { serializedName: "properties.alertDetailsOverride", type: { name: "Composite", - className: "AlertDetailsOverride" - } + className: "AlertDetailsOverride", + }, }, eventGroupingSettings: { serializedName: "properties.eventGroupingSettings", type: { name: "Composite", - className: "EventGroupingSettings" - } - } - } - } + className: "EventGroupingSettings", + }, + }, + sentinelEntitiesMappings: { + serializedName: "properties.sentinelEntitiesMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, + }, + }, + }, +}; + +export const BillingStatistic: coreClient.CompositeMapper = { + serializedName: "BillingStatistic", + type: { + name: "Composite", + className: "BillingStatistic", + uberParent: "AzureEntityResource", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind", + }, + modelProperties: { + ...AzureEntityResource.type.modelProperties, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceManagerAssignment: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceManagerAssignment", + modelProperties: { + ...AzureEntityResource.type.modelProperties, + targetResourceName: { + serializedName: "properties.targetResourceName", + type: { + name: "String", + }, + }, + lastJobEndTime: { + serializedName: "properties.lastJobEndTime", + readOnly: true, + type: { + name: "DateTime", + }, + }, + lastJobProvisioningState: { + serializedName: "properties.lastJobProvisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + items: { + serializedName: "properties.items", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AssignmentItem", + }, + }, + }, + }, + }, + }, +}; + +export const WorkspaceManagerConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceManagerConfiguration", + modelProperties: { + ...AzureEntityResource.type.modelProperties, + mode: { + serializedName: "properties.mode", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceManagerGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceManagerGroup", + modelProperties: { + ...AzureEntityResource.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + memberResourceNames: { + serializedName: "properties.memberResourceNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const WorkspaceManagerMember: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceManagerMember", + modelProperties: { + ...AzureEntityResource.type.modelProperties, + targetWorkspaceResourceId: { + serializedName: "properties.targetWorkspaceResourceId", + type: { + name: "String", + }, + }, + targetWorkspaceTenantId: { + serializedName: "properties.targetWorkspaceTenantId", + type: { + name: "String", + }, + }, + }, + }, }; export const SecurityAlert: coreClient.CompositeMapper = { @@ -11827,45 +15823,43 @@ export const SecurityAlert: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, alertDisplayName: { serializedName: "properties.alertDisplayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, alertType: { serializedName: "properties.alertType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, compromisedEntity: { serializedName: "properties.compromisedEntity", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, confidenceLevel: { serializedName: "properties.confidenceLevel", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, confidenceReasons: { serializedName: "properties.confidenceReasons", @@ -11875,80 +15869,80 @@ export const SecurityAlert: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityAlertPropertiesConfidenceReasonsItem" - } - } - } + className: "SecurityAlertPropertiesConfidenceReasonsItem", + }, + }, + }, }, confidenceScore: { serializedName: "properties.confidenceScore", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, confidenceScoreStatus: { serializedName: "properties.confidenceScoreStatus", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, endTimeUtc: { serializedName: "properties.endTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, intent: { serializedName: "properties.intent", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, providerAlertId: { serializedName: "properties.providerAlertId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, processingEndTime: { serializedName: "properties.processingEndTime", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, productComponentName: { serializedName: "properties.productComponentName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, productName: { serializedName: "properties.productName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, productVersion: { serializedName: "properties.productVersion", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, remediationSteps: { serializedName: "properties.remediationSteps", @@ -11957,37 +15951,37 @@ export const SecurityAlert: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, startTimeUtc: { serializedName: "properties.startTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, status: { serializedName: "properties.status", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, systemAlertId: { serializedName: "properties.systemAlertId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -11996,31 +15990,31 @@ export const SecurityAlert: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, timeGenerated: { serializedName: "properties.timeGenerated", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, vendorName: { serializedName: "properties.vendorName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, alertLink: { serializedName: "properties.alertLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, resourceIdentifiers: { serializedName: "properties.resourceIdentifiers", @@ -12030,13 +16024,13 @@ export const SecurityAlert: coreClient.CompositeMapper = { element: { type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, + }, + }, }; export const HuntingBookmark: coreClient.CompositeMapper = { @@ -12053,42 +16047,40 @@ export const HuntingBookmark: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, created: { serializedName: "properties.created", type: { - name: "DateTime" - } + name: "DateTime", + }, }, createdBy: { serializedName: "properties.createdBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, eventTime: { serializedName: "properties.eventTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, labels: { serializedName: "properties.labels", @@ -12096,51 +16088,51 @@ export const HuntingBookmark: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, notes: { serializedName: "properties.notes", type: { - name: "String" - } + name: "String", + }, }, query: { serializedName: "properties.query", type: { - name: "String" - } + name: "String", + }, }, queryResult: { serializedName: "properties.queryResult", type: { - name: "String" - } + name: "String", + }, }, updated: { serializedName: "properties.updated", type: { - name: "DateTime" - } + name: "DateTime", + }, }, updatedBy: { serializedName: "properties.updatedBy", type: { name: "Composite", - className: "UserInfo" - } + className: "UserInfo", + }, }, incidentInfo: { serializedName: "properties.incidentInfo", type: { name: "Composite", - className: "IncidentInfo" - } - } - } - } + className: "IncidentInfo", + }, + }, + }, + }, }; export const AccountEntity: coreClient.CompositeMapper = { @@ -12157,104 +16149,102 @@ export const AccountEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, aadTenantId: { serializedName: "properties.aadTenantId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, aadUserId: { serializedName: "properties.aadUserId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, accountName: { serializedName: "properties.accountName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostEntityId: { serializedName: "properties.hostEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, isDomainJoined: { serializedName: "properties.isDomainJoined", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, ntDomain: { serializedName: "properties.ntDomain", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, objectGuid: { serializedName: "properties.objectGuid", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, puid: { serializedName: "properties.puid", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, sid: { serializedName: "properties.sid", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, upnSuffix: { serializedName: "properties.upnSuffix", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, dnsDomain: { serializedName: "properties.dnsDomain", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AzureResourceEntity: coreClient.CompositeMapper = { @@ -12271,34 +16261,32 @@ export const AzureResourceEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, resourceId: { serializedName: "properties.resourceId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, subscriptionId: { serializedName: "properties.subscriptionId", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CloudApplicationEntity: coreClient.CompositeMapper = { @@ -12315,41 +16303,39 @@ export const CloudApplicationEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, appId: { serializedName: "properties.appId", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, appName: { serializedName: "properties.appName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, instanceName: { serializedName: "properties.instanceName", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DnsEntity: coreClient.CompositeMapper = { @@ -12366,38 +16352,36 @@ export const DnsEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, dnsServerIpEntityId: { serializedName: "properties.dnsServerIpEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, domainName: { serializedName: "properties.domainName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostIpAddressEntityId: { serializedName: "properties.hostIpAddressEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, ipAddressEntityIds: { serializedName: "properties.ipAddressEntityIds", @@ -12406,13 +16390,13 @@ export const DnsEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const FileEntity: coreClient.CompositeMapper = { @@ -12429,24 +16413,22 @@ export const FileEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, directory: { serializedName: "properties.directory", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, fileHashEntityIds: { serializedName: "properties.fileHashEntityIds", @@ -12455,27 +16437,27 @@ export const FileEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, fileName: { serializedName: "properties.fileName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostEntityId: { serializedName: "properties.hostEntityId", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FileHashEntity: coreClient.CompositeMapper = { @@ -12492,34 +16474,32 @@ export const FileHashEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, algorithm: { serializedName: "properties.algorithm", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hashValue: { serializedName: "properties.hashValue", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostEntity: coreClient.CompositeMapper = { @@ -12536,83 +16516,81 @@ export const HostEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, azureID: { serializedName: "properties.azureID", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, dnsDomain: { serializedName: "properties.dnsDomain", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostName: { serializedName: "properties.hostName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, isDomainJoined: { serializedName: "properties.isDomainJoined", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, netBiosName: { serializedName: "properties.netBiosName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, ntDomain: { serializedName: "properties.ntDomain", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, omsAgentID: { serializedName: "properties.omsAgentID", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, osFamily: { serializedName: "properties.osFamily", type: { name: "Enum", - allowedValues: ["Linux", "Windows", "Android", "IOS", "Unknown"] - } + allowedValues: ["Linux", "Windows", "Android", "IOS", "Unknown"], + }, }, osVersion: { serializedName: "properties.osVersion", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const IoTDeviceEntity: coreClient.CompositeMapper = { @@ -12629,122 +16607,120 @@ export const IoTDeviceEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, deviceId: { serializedName: "properties.deviceId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, deviceName: { serializedName: "properties.deviceName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "properties.source", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, iotSecurityAgentId: { serializedName: "properties.iotSecurityAgentId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, deviceType: { serializedName: "properties.deviceType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, vendor: { serializedName: "properties.vendor", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, edgeId: { serializedName: "properties.edgeId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, macAddress: { serializedName: "properties.macAddress", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, model: { serializedName: "properties.model", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, serialNumber: { serializedName: "properties.serialNumber", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, firmwareVersion: { serializedName: "properties.firmwareVersion", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, operatingSystem: { serializedName: "properties.operatingSystem", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, iotHubEntityId: { serializedName: "properties.iotHubEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostEntityId: { serializedName: "properties.hostEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, ipAddressEntityId: { serializedName: "properties.ipAddressEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, threatIntelligence: { serializedName: "properties.threatIntelligence", @@ -12754,10 +16730,10 @@ export const IoTDeviceEntity: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligence" - } - } - } + className: "ThreatIntelligence", + }, + }, + }, }, protocols: { serializedName: "properties.protocols", @@ -12766,10 +16742,10 @@ export const IoTDeviceEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, owners: { serializedName: "properties.owners", @@ -12778,10 +16754,10 @@ export const IoTDeviceEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, nicEntityIds: { serializedName: "properties.nicEntityIds", @@ -12790,75 +16766,75 @@ export const IoTDeviceEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, site: { serializedName: "properties.site", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, zone: { serializedName: "properties.zone", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, sensor: { serializedName: "properties.sensor", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, deviceSubType: { serializedName: "properties.deviceSubType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, importance: { serializedName: "properties.importance", type: { - name: "String" - } + name: "String", + }, }, purdueLayer: { serializedName: "properties.purdueLayer", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, isAuthorized: { serializedName: "properties.isAuthorized", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, isProgramming: { serializedName: "properties.isProgramming", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, isScanner: { serializedName: "properties.isScanner", readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const IpEntity: coreClient.CompositeMapper = { @@ -12875,31 +16851,29 @@ export const IpEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, address: { serializedName: "properties.address", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "properties.location", type: { name: "Composite", - className: "GeoLocation" - } + className: "GeoLocation", + }, }, threatIntelligence: { serializedName: "properties.threatIntelligence", @@ -12909,13 +16883,13 @@ export const IpEntity: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligence" - } - } - } - } - } - } + className: "ThreatIntelligence", + }, + }, + }, + }, + }, + }, }; export const MailboxEntity: coreClient.CompositeMapper = { @@ -12932,48 +16906,46 @@ export const MailboxEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, mailboxPrimaryAddress: { serializedName: "properties.mailboxPrimaryAddress", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, upn: { serializedName: "properties.upn", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, externalDirectoryObjectId: { serializedName: "properties.externalDirectoryObjectId", readOnly: true, type: { - name: "Uuid" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; export const MailClusterEntity: coreClient.CompositeMapper = { @@ -12990,17 +16962,15 @@ export const MailClusterEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, networkMessageIds: { serializedName: "properties.networkMessageIds", @@ -13009,34 +16979,34 @@ export const MailClusterEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, countByDeliveryStatus: { serializedName: "properties.countByDeliveryStatus", readOnly: true, type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, countByThreatType: { serializedName: "properties.countByThreatType", readOnly: true, type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, countByProtectionStatus: { serializedName: "properties.countByProtectionStatus", readOnly: true, type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, threats: { serializedName: "properties.threats", @@ -13045,83 +17015,83 @@ export const MailClusterEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, query: { serializedName: "properties.query", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, queryTime: { serializedName: "properties.queryTime", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, mailCount: { serializedName: "properties.mailCount", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, isVolumeAnomaly: { serializedName: "properties.isVolumeAnomaly", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, source: { serializedName: "properties.source", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, clusterSourceIdentifier: { serializedName: "properties.clusterSourceIdentifier", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, clusterSourceType: { serializedName: "properties.clusterSourceType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, clusterQueryStartTime: { serializedName: "properties.clusterQueryStartTime", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, clusterQueryEndTime: { serializedName: "properties.clusterQueryEndTime", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, clusterGroup: { serializedName: "properties.clusterGroup", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const MailMessageEntity: coreClient.CompositeMapper = { @@ -13138,17 +17108,15 @@ export const MailMessageEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, fileEntityIds: { serializedName: "properties.fileEntityIds", @@ -13157,17 +17125,17 @@ export const MailMessageEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, recipient: { serializedName: "properties.recipient", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, urls: { serializedName: "properties.urls", @@ -13176,10 +17144,10 @@ export const MailMessageEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, threats: { serializedName: "properties.threats", @@ -13188,94 +17156,94 @@ export const MailMessageEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, p1Sender: { serializedName: "properties.p1Sender", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, p1SenderDisplayName: { serializedName: "properties.p1SenderDisplayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, p1SenderDomain: { serializedName: "properties.p1SenderDomain", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, senderIP: { serializedName: "properties.senderIP", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, p2Sender: { serializedName: "properties.p2Sender", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, p2SenderDisplayName: { serializedName: "properties.p2SenderDisplayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, p2SenderDomain: { serializedName: "properties.p2SenderDomain", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, receiveDate: { serializedName: "properties.receiveDate", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, networkMessageId: { serializedName: "properties.networkMessageId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, internetMessageId: { serializedName: "properties.internetMessageId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, subject: { serializedName: "properties.subject", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, language: { serializedName: "properties.language", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, threatDetectionMethods: { serializedName: "properties.threatDetectionMethods", @@ -13284,46 +17252,46 @@ export const MailMessageEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, bodyFingerprintBin1: { serializedName: "properties.bodyFingerprintBin1", type: { - name: "Number" - } + name: "Number", + }, }, bodyFingerprintBin2: { serializedName: "properties.bodyFingerprintBin2", type: { - name: "Number" - } + name: "Number", + }, }, bodyFingerprintBin3: { serializedName: "properties.bodyFingerprintBin3", type: { - name: "Number" - } + name: "Number", + }, }, bodyFingerprintBin4: { serializedName: "properties.bodyFingerprintBin4", type: { - name: "Number" - } + name: "Number", + }, }, bodyFingerprintBin5: { serializedName: "properties.bodyFingerprintBin5", type: { - name: "Number" - } + name: "Number", + }, }, antispamDirection: { serializedName: "properties.antispamDirection", type: { - name: "String" - } + name: "String", + }, }, deliveryAction: { serializedName: "properties.deliveryAction", @@ -13334,9 +17302,9 @@ export const MailMessageEntity: coreClient.CompositeMapper = { "DeliveredAsSpam", "Delivered", "Blocked", - "Replaced" - ] - } + "Replaced", + ], + }, }, deliveryLocation: { serializedName: "properties.deliveryLocation", @@ -13351,12 +17319,12 @@ export const MailMessageEntity: coreClient.CompositeMapper = { "External", "Failed", "Dropped", - "Forwarded" - ] - } - } - } - } + "Forwarded", + ], + }, + }, + }, + }, }; export const MalwareEntity: coreClient.CompositeMapper = { @@ -13373,24 +17341,22 @@ export const MalwareEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, category: { serializedName: "properties.category", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, fileEntityIds: { serializedName: "properties.fileEntityIds", @@ -13399,17 +17365,17 @@ export const MalwareEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, malwareName: { serializedName: "properties.malwareName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, processEntityIds: { serializedName: "properties.processEntityIds", @@ -13418,13 +17384,13 @@ export const MalwareEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const ProcessEntity: coreClient.CompositeMapper = { @@ -13441,83 +17407,81 @@ export const ProcessEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, accountEntityId: { serializedName: "properties.accountEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, commandLine: { serializedName: "properties.commandLine", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, creationTimeUtc: { serializedName: "properties.creationTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, elevationToken: { serializedName: "properties.elevationToken", type: { name: "Enum", - allowedValues: ["Default", "Full", "Limited"] - } + allowedValues: ["Default", "Full", "Limited"], + }, }, hostEntityId: { serializedName: "properties.hostEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostLogonSessionEntityId: { serializedName: "properties.hostLogonSessionEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, imageFileEntityId: { serializedName: "properties.imageFileEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, parentProcessEntityId: { serializedName: "properties.parentProcessEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, processId: { serializedName: "properties.processId", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RegistryKeyEntity: coreClient.CompositeMapper = { @@ -13534,34 +17498,32 @@ export const RegistryKeyEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hive: { serializedName: "properties.hive", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, key: { serializedName: "properties.key", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RegistryValueEntity: coreClient.CompositeMapper = { @@ -13578,48 +17540,46 @@ export const RegistryValueEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, keyEntityId: { serializedName: "properties.keyEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, valueData: { serializedName: "properties.valueData", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, valueName: { serializedName: "properties.valueName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, valueType: { serializedName: "properties.valueType", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SecurityGroupEntity: coreClient.CompositeMapper = { @@ -13636,41 +17596,39 @@ export const SecurityGroupEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, distinguishedName: { serializedName: "properties.distinguishedName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, objectGuid: { serializedName: "properties.objectGuid", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, sid: { serializedName: "properties.sid", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SubmissionMailEntity: coreClient.CompositeMapper = { @@ -13687,90 +17645,88 @@ export const SubmissionMailEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, networkMessageId: { serializedName: "properties.networkMessageId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, submissionId: { serializedName: "properties.submissionId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, submitter: { serializedName: "properties.submitter", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, submissionDate: { serializedName: "properties.submissionDate", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, timestamp: { serializedName: "properties.timestamp", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, recipient: { serializedName: "properties.recipient", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, sender: { serializedName: "properties.sender", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, senderIp: { serializedName: "properties.senderIp", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, subject: { serializedName: "properties.subject", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, reportType: { serializedName: "properties.reportType", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const UrlEntity: coreClient.CompositeMapper = { @@ -13787,27 +17743,25 @@ export const UrlEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "properties.url", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NicEntity: coreClient.CompositeMapper = { @@ -13824,31 +17778,29 @@ export const NicEntity: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, macAddress: { serializedName: "properties.macAddress", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, ipAddressEntityId: { serializedName: "properties.ipAddressEntityId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, vlans: { serializedName: "properties.vlans", @@ -13857,13 +17809,13 @@ export const NicEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const ActivityEntityQueryTemplate: coreClient.CompositeMapper = { @@ -13878,27 +17830,27 @@ export const ActivityEntityQueryTemplate: coreClient.CompositeMapper = { title: { serializedName: "properties.title", type: { - name: "String" - } + name: "String", + }, }, content: { serializedName: "properties.content", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, queryDefinitions: { serializedName: "properties.queryDefinitions", type: { name: "Composite", - className: "ActivityEntityQueryTemplatePropertiesQueryDefinitions" - } + className: "ActivityEntityQueryTemplatePropertiesQueryDefinitions", + }, }, dataTypes: { serializedName: "properties.dataTypes", @@ -13907,16 +17859,16 @@ export const ActivityEntityQueryTemplate: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DataTypeDefinitions" - } - } - } + className: "DataTypeDefinitions", + }, + }, + }, }, inputEntityType: { serializedName: "properties.inputEntityType", type: { - name: "String" - } + name: "String", + }, }, requiredInputFieldsSets: { serializedName: "properties.requiredInputFieldsSets", @@ -13927,68 +17879,70 @@ export const ActivityEntityQueryTemplate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, }, entitiesFilter: { serializedName: "properties.entitiesFilter", type: { name: "Dictionary", value: { - type: { name: "Sequence", element: { type: { name: "String" } } } - } - } - } - } - } -}; - -export const MLBehaviorAnalyticsAlertRuleTemplateProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MLBehaviorAnalyticsAlertRuleTemplateProperties", - modelProperties: { - ...AlertRuleTemplateWithMitreProperties.type.modelProperties, - severity: { - serializedName: "severity", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const ThreatIntelligenceAlertRuleTemplateProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ThreatIntelligenceAlertRuleTemplateProperties", - modelProperties: { - ...AlertRuleTemplateWithMitreProperties.type.modelProperties, - severity: { - serializedName: "severity", - required: true, - type: { - name: "String" - } - } - } - } -}; + type: { name: "Sequence", element: { type: { name: "String" } } }, + }, + }, + }, + }, + }, +}; + +export const MLBehaviorAnalyticsAlertRuleTemplateProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MLBehaviorAnalyticsAlertRuleTemplateProperties", + modelProperties: { + ...AlertRuleTemplateWithMitreProperties.type.modelProperties, + severity: { + serializedName: "severity", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ThreatIntelligenceAlertRuleTemplateProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ThreatIntelligenceAlertRuleTemplateProperties", + modelProperties: { + ...AlertRuleTemplateWithMitreProperties.type.modelProperties, + severity: { + serializedName: "severity", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; export const PermissionsCustomsItem: coreClient.CompositeMapper = { type: { name: "Composite", className: "PermissionsCustomsItem", modelProperties: { - ...Customs.type.modelProperties - } - } + ...Customs.type.modelProperties, + }, + }, }; export const MLBehaviorAnalyticsAlertRule: coreClient.CompositeMapper = { @@ -14003,42 +17957,42 @@ export const MLBehaviorAnalyticsAlertRule: coreClient.CompositeMapper = { alertRuleTemplateName: { serializedName: "properties.alertRuleTemplateName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, severity: { serializedName: "properties.severity", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -14047,10 +18001,10 @@ export const MLBehaviorAnalyticsAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14059,13 +18013,25 @@ export const MLBehaviorAnalyticsAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; export const FusionAlertRule: coreClient.CompositeMapper = { @@ -14080,28 +18046,28 @@ export const FusionAlertRule: coreClient.CompositeMapper = { alertRuleTemplateName: { serializedName: "properties.alertRuleTemplateName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, sourceSettings: { serializedName: "properties.sourceSettings", @@ -14110,10 +18076,10 @@ export const FusionAlertRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FusionSourceSettings" - } - } - } + className: "FusionSourceSettings", + }, + }, + }, }, scenarioExclusionPatterns: { serializedName: "properties.scenarioExclusionPatterns", @@ -14122,24 +18088,24 @@ export const FusionAlertRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FusionScenarioExclusionPattern" - } - } - } + className: "FusionScenarioExclusionPattern", + }, + }, + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, severity: { serializedName: "properties.severity", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -14148,10 +18114,10 @@ export const FusionAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14160,13 +18126,25 @@ export const FusionAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; export const ThreatIntelligenceAlertRule: coreClient.CompositeMapper = { @@ -14181,42 +18159,42 @@ export const ThreatIntelligenceAlertRule: coreClient.CompositeMapper = { alertRuleTemplateName: { serializedName: "properties.alertRuleTemplateName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, severity: { serializedName: "properties.severity", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -14225,10 +18203,10 @@ export const ThreatIntelligenceAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14237,97 +18215,110 @@ export const ThreatIntelligenceAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } -}; - -export const MicrosoftSecurityIncidentCreationAlertRule: coreClient.CompositeMapper = { - serializedName: "MicrosoftSecurityIncidentCreation", - type: { - name: "Composite", - className: "MicrosoftSecurityIncidentCreationAlertRule", - uberParent: "AlertRule", - polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator, - modelProperties: { - ...AlertRule.type.modelProperties, - displayNamesFilter: { - serializedName: "properties.displayNamesFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - displayNamesExcludeFilter: { - serializedName: "properties.displayNamesExcludeFilter", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - productFilter: { - serializedName: "properties.productFilter", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - severitiesFilter: { - serializedName: "properties.severitiesFilter", + subTechniques: { + serializedName: "properties.subTechniques", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - }, - alertRuleTemplateName: { - serializedName: "properties.alertRuleTemplateName", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - enabled: { - serializedName: "properties.enabled", - type: { - name: "Boolean" - } + }, + }, +}; + +export const MicrosoftSecurityIncidentCreationAlertRule: coreClient.CompositeMapper = + { + serializedName: "MicrosoftSecurityIncidentCreation", + type: { + name: "Composite", + className: "MicrosoftSecurityIncidentCreationAlertRule", + uberParent: "AlertRule", + polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator, + modelProperties: { + ...AlertRule.type.modelProperties, + displayNamesFilter: { + serializedName: "properties.displayNamesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + displayNamesExcludeFilter: { + serializedName: "properties.displayNamesExcludeFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + productFilter: { + serializedName: "properties.productFilter", + type: { + name: "String", + }, + }, + severitiesFilter: { + serializedName: "properties.severitiesFilter", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + alertRuleTemplateName: { + serializedName: "properties.alertRuleTemplateName", + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String", + }, + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean", + }, + }, + lastModifiedUtc: { + serializedName: "properties.lastModifiedUtc", + readOnly: true, + type: { + name: "DateTime", + }, + }, }, - lastModifiedUtc: { - serializedName: "properties.lastModifiedUtc", - readOnly: true, - type: { - name: "DateTime" - } - } - } - } -}; + }, + }; export const ScheduledAlertRule: coreClient.CompositeMapper = { serializedName: "Scheduled", @@ -14341,53 +18332,53 @@ export const ScheduledAlertRule: coreClient.CompositeMapper = { query: { serializedName: "properties.query", type: { - name: "String" - } + name: "String", + }, }, queryFrequency: { serializedName: "properties.queryFrequency", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, queryPeriod: { serializedName: "properties.queryPeriod", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, triggerOperator: { serializedName: "properties.triggerOperator", type: { name: "Enum", - allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"] - } + allowedValues: ["GreaterThan", "LessThan", "Equal", "NotEqual"], + }, }, triggerThreshold: { serializedName: "properties.triggerThreshold", type: { - name: "Number" - } + name: "Number", + }, }, eventGroupingSettings: { serializedName: "properties.eventGroupingSettings", type: { name: "Composite", - className: "EventGroupingSettings" - } + className: "EventGroupingSettings", + }, }, customDetails: { serializedName: "properties.customDetails", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, entityMappings: { serializedName: "properties.entityMappings", @@ -14396,66 +18387,78 @@ export const ScheduledAlertRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EntityMapping" - } - } - } + className: "EntityMapping", + }, + }, + }, }, alertDetailsOverride: { serializedName: "properties.alertDetailsOverride", type: { name: "Composite", - className: "AlertDetailsOverride" - } + className: "AlertDetailsOverride", + }, + }, + sentinelEntitiesMappings: { + serializedName: "properties.sentinelEntitiesMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, }, alertRuleTemplateName: { serializedName: "properties.alertRuleTemplateName", type: { - name: "String" - } + name: "String", + }, }, templateVersion: { serializedName: "properties.templateVersion", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, suppressionDuration: { serializedName: "properties.suppressionDuration", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, suppressionEnabled: { serializedName: "properties.suppressionEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, tactics: { serializedName: "properties.tactics", @@ -14463,10 +18466,10 @@ export const ScheduledAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14474,20 +18477,31 @@ export const ScheduledAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, incidentConfiguration: { serializedName: "properties.incidentConfiguration", type: { name: "Composite", - className: "IncidentConfiguration" - } - } - } - } + className: "IncidentConfiguration", + }, + }, + }, + }, }; export const NrtAlertRule: coreClient.CompositeMapper = { @@ -14502,26 +18516,26 @@ export const NrtAlertRule: coreClient.CompositeMapper = { alertRuleTemplateName: { serializedName: "properties.alertRuleTemplateName", type: { - name: "String" - } + name: "String", + }, }, templateVersion: { serializedName: "properties.templateVersion", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, query: { serializedName: "properties.query", type: { - name: "String" - } + name: "String", + }, }, tactics: { serializedName: "properties.tactics", @@ -14529,10 +18543,10 @@ export const NrtAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14540,61 +18554,72 @@ export const NrtAlertRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, + }, + subTechniques: { + serializedName: "properties.subTechniques", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, suppressionDuration: { serializedName: "properties.suppressionDuration", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, suppressionEnabled: { serializedName: "properties.suppressionEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, severity: { serializedName: "properties.severity", type: { - name: "String" - } + name: "String", + }, }, incidentConfiguration: { serializedName: "properties.incidentConfiguration", type: { name: "Composite", - className: "IncidentConfiguration" - } + className: "IncidentConfiguration", + }, }, customDetails: { serializedName: "properties.customDetails", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, entityMappings: { serializedName: "properties.entityMappings", @@ -14603,27 +18628,39 @@ export const NrtAlertRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EntityMapping" - } - } - } + className: "EntityMapping", + }, + }, + }, }, alertDetailsOverride: { serializedName: "properties.alertDetailsOverride", type: { name: "Composite", - className: "AlertDetailsOverride" - } + className: "AlertDetailsOverride", + }, }, eventGroupingSettings: { serializedName: "properties.eventGroupingSettings", type: { name: "Composite", - className: "EventGroupingSettings" - } - } - } - } + className: "EventGroupingSettings", + }, + }, + sentinelEntitiesMappings: { + serializedName: "properties.sentinelEntitiesMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SentinelEntityMapping", + }, + }, + }, + }, + }, + }, }; export const ExpansionEntityQuery: coreClient.CompositeMapper = { @@ -14641,22 +18678,22 @@ export const ExpansionEntityQuery: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, inputEntityType: { serializedName: "properties.inputEntityType", type: { - name: "String" - } + name: "String", + }, }, inputFields: { serializedName: "properties.inputFields", @@ -14664,10 +18701,10 @@ export const ExpansionEntityQuery: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, outputEntityTypes: { serializedName: "properties.outputEntityTypes", @@ -14675,19 +18712,19 @@ export const ExpansionEntityQuery: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, queryTemplate: { serializedName: "properties.queryTemplate", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ActivityEntityQuery: coreClient.CompositeMapper = { @@ -14702,33 +18739,33 @@ export const ActivityEntityQuery: coreClient.CompositeMapper = { title: { serializedName: "properties.title", type: { - name: "String" - } + name: "String", + }, }, content: { serializedName: "properties.content", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, queryDefinitions: { serializedName: "properties.queryDefinitions", type: { name: "Composite", - className: "ActivityEntityQueriesPropertiesQueryDefinitions" - } + className: "ActivityEntityQueriesPropertiesQueryDefinitions", + }, }, inputEntityType: { serializedName: "properties.inputEntityType", type: { - name: "String" - } + name: "String", + }, }, requiredInputFieldsSets: { serializedName: "properties.requiredInputFieldsSets", @@ -14739,50 +18776,50 @@ export const ActivityEntityQuery: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, }, entitiesFilter: { serializedName: "properties.entitiesFilter", type: { name: "Dictionary", value: { - type: { name: "Sequence", element: { type: { name: "String" } } } - } - } + type: { name: "Sequence", element: { type: { name: "String" } } }, + }, + }, }, templateName: { serializedName: "properties.templateName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, createdTimeUtc: { serializedName: "properties.createdTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const ActivityCustomEntityQuery: coreClient.CompositeMapper = { @@ -14797,33 +18834,33 @@ export const ActivityCustomEntityQuery: coreClient.CompositeMapper = { title: { serializedName: "properties.title", type: { - name: "String" - } + name: "String", + }, }, content: { serializedName: "properties.content", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, queryDefinitions: { serializedName: "properties.queryDefinitions", type: { name: "Composite", - className: "ActivityEntityQueriesPropertiesQueryDefinitions" - } + className: "ActivityEntityQueriesPropertiesQueryDefinitions", + }, }, inputEntityType: { serializedName: "properties.inputEntityType", type: { - name: "String" - } + name: "String", + }, }, requiredInputFieldsSets: { serializedName: "properties.requiredInputFieldsSets", @@ -14834,50 +18871,50 @@ export const ActivityCustomEntityQuery: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, }, entitiesFilter: { serializedName: "properties.entitiesFilter", type: { name: "Dictionary", value: { - type: { name: "Sequence", element: { type: { name: "String" } } } - } - } + type: { name: "Sequence", element: { type: { name: "String" } } }, + }, + }, }, templateName: { serializedName: "properties.templateName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, createdTimeUtc: { serializedName: "properties.createdTimeUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const AnomalySecurityMLAnalyticsSettings: coreClient.CompositeMapper = { @@ -14893,27 +18930,27 @@ export const AnomalySecurityMLAnalyticsSettings: coreClient.CompositeMapper = { description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedUtc: { serializedName: "properties.lastModifiedUtc", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, requiredDataConnectors: { serializedName: "properties.requiredDataConnectors", @@ -14922,10 +18959,10 @@ export const AnomalySecurityMLAnalyticsSettings: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityMLAnalyticsSettingsDataSource" - } - } - } + className: "SecurityMLAnalyticsSettingsDataSource", + }, + }, + }, }, tactics: { serializedName: "properties.tactics", @@ -14933,10 +18970,10 @@ export const AnomalySecurityMLAnalyticsSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, techniques: { serializedName: "properties.techniques", @@ -14944,56 +18981,56 @@ export const AnomalySecurityMLAnalyticsSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, anomalyVersion: { serializedName: "properties.anomalyVersion", type: { - name: "String" - } + name: "String", + }, }, customizableObservations: { serializedName: "properties.customizableObservations", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, frequency: { serializedName: "properties.frequency", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, settingsStatus: { serializedName: "properties.settingsStatus", type: { - name: "String" - } + name: "String", + }, }, isDefaultSettings: { serializedName: "properties.isDefaultSettings", type: { - name: "Boolean" - } + name: "Boolean", + }, }, anomalySettingsVersion: { serializedName: "properties.anomalySettingsVersion", type: { - name: "Number" - } + name: "Number", + }, }, settingsDefinitionId: { serializedName: "properties.settingsDefinitionId", type: { - name: "Uuid" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; export const Anomalies: coreClient.CompositeMapper = { @@ -15009,11 +19046,11 @@ export const Anomalies: coreClient.CompositeMapper = { serializedName: "properties.isEnabled", readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const EyesOn: coreClient.CompositeMapper = { @@ -15029,11 +19066,11 @@ export const EyesOn: coreClient.CompositeMapper = { serializedName: "properties.isEnabled", readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const EntityAnalytics: coreClient.CompositeMapper = { @@ -15051,13 +19088,13 @@ export const EntityAnalytics: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const Ueba: coreClient.CompositeMapper = { @@ -15075,13 +19112,13 @@ export const Ueba: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { @@ -15099,17 +19136,15 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { readOnly: true, type: { name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + value: { type: { name: "any" } }, + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, threatIntelligenceTags: { serializedName: "properties.threatIntelligenceTags", @@ -15117,34 +19152,34 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, lastUpdatedTimeUtc: { serializedName: "properties.lastUpdatedTimeUtc", type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "properties.source", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, indicatorTypes: { serializedName: "properties.indicatorTypes", @@ -15152,28 +19187,28 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, pattern: { serializedName: "properties.pattern", type: { - name: "String" - } + name: "String", + }, }, patternType: { serializedName: "properties.patternType", type: { - name: "String" - } + name: "String", + }, }, patternVersion: { serializedName: "properties.patternVersion", type: { - name: "String" - } + name: "String", + }, }, killChainPhases: { serializedName: "properties.killChainPhases", @@ -15182,10 +19217,10 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligenceKillChainPhase" - } - } - } + className: "ThreatIntelligenceKillChainPhase", + }, + }, + }, }, parsedPattern: { serializedName: "properties.parsedPattern", @@ -15194,34 +19229,34 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligenceParsedPattern" - } - } - } + className: "ThreatIntelligenceParsedPattern", + }, + }, + }, }, externalId: { serializedName: "properties.externalId", type: { - name: "String" - } + name: "String", + }, }, createdByRef: { serializedName: "properties.createdByRef", type: { - name: "String" - } + name: "String", + }, }, defanged: { serializedName: "properties.defanged", type: { - name: "Boolean" - } + name: "Boolean", + }, }, externalLastUpdatedTimeUtc: { serializedName: "properties.externalLastUpdatedTimeUtc", type: { - name: "String" - } + name: "String", + }, }, externalReferences: { serializedName: "properties.externalReferences", @@ -15230,10 +19265,10 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligenceExternalReference" - } - } - } + className: "ThreatIntelligenceExternalReference", + }, + }, + }, }, granularMarkings: { serializedName: "properties.granularMarkings", @@ -15242,10 +19277,10 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ThreatIntelligenceGranularMarkingModel" - } - } - } + className: "ThreatIntelligenceGranularMarkingModel", + }, + }, + }, }, labels: { serializedName: "properties.labels", @@ -15253,22 +19288,22 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, revoked: { serializedName: "properties.revoked", type: { - name: "Boolean" - } + name: "Boolean", + }, }, confidence: { serializedName: "properties.confidence", type: { - name: "Number" - } + name: "Number", + }, }, objectMarkingRefs: { serializedName: "properties.objectMarkingRefs", @@ -15276,16 +19311,16 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, language: { serializedName: "properties.language", type: { - name: "String" - } + name: "String", + }, }, threatTypes: { serializedName: "properties.threatTypes", @@ -15293,44 +19328,84 @@ export const ThreatIntelligenceIndicatorModel: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, validFrom: { serializedName: "properties.validFrom", type: { - name: "String" - } + name: "String", + }, }, validUntil: { serializedName: "properties.validUntil", type: { - name: "String" - } + name: "String", + }, }, created: { serializedName: "properties.created", type: { - name: "String" - } + name: "String", + }, }, modified: { serializedName: "properties.modified", type: { - name: "String" - } + name: "String", + }, }, extensions: { serializedName: "properties.extensions", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const CustomizableConnectorDefinition: coreClient.CompositeMapper = { + serializedName: "Customizable", + type: { + name: "Composite", + className: "CustomizableConnectorDefinition", + uberParent: "DataConnectorDefinition", + polymorphicDiscriminator: + DataConnectorDefinition.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnectorDefinition.type.modelProperties, + createdTimeUtc: { + serializedName: "properties.createdTimeUtc", + type: { + name: "DateTime", + }, + }, + lastModifiedUtc: { + serializedName: "properties.lastModifiedUtc", + type: { + name: "DateTime", + }, + }, + connectorUiConfig: { + serializedName: "properties.connectorUiConfig", + type: { + name: "Composite", + className: "CustomizableConnectorUiConfig", + }, + }, + connectionsConfig: { + serializedName: "properties.connectionsConfig", + type: { + name: "Composite", + className: "CustomizableConnectionsConfig", + }, + }, + }, + }, }; export const AADDataConnector: coreClient.CompositeMapper = { @@ -15345,18 +19420,18 @@ export const AADDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } + className: "AlertsDataTypeOfDataConnector", + }, + }, + }, + }, }; export const MstiDataConnector: coreClient.CompositeMapper = { @@ -15371,18 +19446,18 @@ export const MstiDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "MstiDataConnectorDataTypes" - } - } - } - } + className: "MstiDataConnectorDataTypes", + }, + }, + }, + }, }; export const MTPDataConnector: coreClient.CompositeMapper = { @@ -15397,18 +19472,25 @@ export const MTPDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "MTPDataConnectorDataTypes" - } - } - } - } + className: "MTPDataConnectorDataTypes", + }, + }, + filteredProviders: { + serializedName: "properties.filteredProviders", + type: { + name: "Composite", + className: "MtpFilteredProviders", + }, + }, + }, + }, }; export const AatpDataConnector: coreClient.CompositeMapper = { @@ -15423,18 +19505,18 @@ export const AatpDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } + className: "AlertsDataTypeOfDataConnector", + }, + }, + }, + }, }; export const ASCDataConnector: coreClient.CompositeMapper = { @@ -15450,17 +19532,17 @@ export const ASCDataConnector: coreClient.CompositeMapper = { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } + className: "AlertsDataTypeOfDataConnector", + }, }, subscriptionId: { serializedName: "properties.subscriptionId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AwsCloudTrailDataConnector: coreClient.CompositeMapper = { @@ -15475,18 +19557,18 @@ export const AwsCloudTrailDataConnector: coreClient.CompositeMapper = { awsRoleArn: { serializedName: "properties.awsRoleArn", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AwsCloudTrailDataConnectorDataTypes" - } - } - } - } + className: "AwsCloudTrailDataConnectorDataTypes", + }, + }, + }, + }, }; export const AwsS3DataConnector: coreClient.CompositeMapper = { @@ -15501,8 +19583,8 @@ export const AwsS3DataConnector: coreClient.CompositeMapper = { destinationTable: { serializedName: "properties.destinationTable", type: { - name: "String" - } + name: "String", + }, }, sqsUrls: { serializedName: "properties.sqsUrls", @@ -15510,26 +19592,66 @@ export const AwsS3DataConnector: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, roleArn: { serializedName: "properties.roleArn", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AwsS3DataConnectorDataTypes" - } - } - } - } + className: "AwsS3DataConnectorDataTypes", + }, + }, + }, + }, +}; + +export const GCPDataConnector: coreClient.CompositeMapper = { + serializedName: "GCP", + type: { + name: "Composite", + className: "GCPDataConnector", + uberParent: "DataConnector", + polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnector.type.modelProperties, + connectorDefinitionName: { + serializedName: "properties.connectorDefinitionName", + type: { + name: "String", + }, + }, + auth: { + serializedName: "properties.auth", + type: { + name: "Composite", + className: "GCPAuthProperties", + }, + }, + request: { + serializedName: "properties.request", + type: { + name: "Composite", + className: "GCPRequestProperties", + }, + }, + dcrConfig: { + serializedName: "properties.dcrConfig", + type: { + name: "Composite", + className: "DCRConfiguration", + }, + }, + }, + }, }; export const McasDataConnector: coreClient.CompositeMapper = { @@ -15544,18 +19666,18 @@ export const McasDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "McasDataConnectorDataTypes" - } - } - } - } + className: "McasDataConnectorDataTypes", + }, + }, + }, + }, }; export const Dynamics365DataConnector: coreClient.CompositeMapper = { @@ -15570,18 +19692,18 @@ export const Dynamics365DataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "Dynamics365DataConnectorDataTypes" - } - } - } - } + className: "Dynamics365DataConnectorDataTypes", + }, + }, + }, + }, }; export const OfficeATPDataConnector: coreClient.CompositeMapper = { @@ -15596,19 +19718,47 @@ export const OfficeATPDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } -}; + className: "AlertsDataTypeOfDataConnector", + }, + }, + }, + }, +}; + +export const MicrosoftPurviewInformationProtectionDataConnector: coreClient.CompositeMapper = + { + serializedName: "MicrosoftPurviewInformationProtection", + type: { + name: "Composite", + className: "MicrosoftPurviewInformationProtectionDataConnector", + uberParent: "DataConnector", + polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator, + modelProperties: { + ...DataConnector.type.modelProperties, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "String", + }, + }, + dataTypes: { + serializedName: "properties.dataTypes", + type: { + name: "Composite", + className: + "MicrosoftPurviewInformationProtectionConnectorDataTypes", + }, + }, + }, + }, + }; export const Office365ProjectDataConnector: coreClient.CompositeMapper = { serializedName: "Office365Project", @@ -15622,18 +19772,18 @@ export const Office365ProjectDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "Office365ProjectConnectorDataTypes" - } - } - } - } + className: "Office365ProjectConnectorDataTypes", + }, + }, + }, + }, }; export const OfficePowerBIDataConnector: coreClient.CompositeMapper = { @@ -15648,18 +19798,18 @@ export const OfficePowerBIDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "OfficePowerBIConnectorDataTypes" - } - } - } - } + className: "OfficePowerBIConnectorDataTypes", + }, + }, + }, + }, }; export const OfficeIRMDataConnector: coreClient.CompositeMapper = { @@ -15674,18 +19824,18 @@ export const OfficeIRMDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } + className: "AlertsDataTypeOfDataConnector", + }, + }, + }, + }, }; export const MdatpDataConnector: coreClient.CompositeMapper = { @@ -15700,18 +19850,18 @@ export const MdatpDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } - } - } - } + className: "AlertsDataTypeOfDataConnector", + }, + }, + }, + }, }; export const OfficeDataConnector: coreClient.CompositeMapper = { @@ -15726,18 +19876,18 @@ export const OfficeDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "OfficeDataConnectorDataTypes" - } - } - } - } + className: "OfficeDataConnectorDataTypes", + }, + }, + }, + }, }; export const TIDataConnector: coreClient.CompositeMapper = { @@ -15752,25 +19902,25 @@ export const TIDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, tipLookbackPeriod: { serializedName: "properties.tipLookbackPeriod", nullable: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "TIDataConnectorDataTypes" - } - } - } - } + className: "TIDataConnectorDataTypes", + }, + }, + }, + }, }; export const TiTaxiiDataConnector: coreClient.CompositeMapper = { @@ -15785,68 +19935,68 @@ export const TiTaxiiDataConnector: coreClient.CompositeMapper = { tenantId: { serializedName: "properties.tenantId", type: { - name: "String" - } + name: "String", + }, }, workspaceId: { serializedName: "properties.workspaceId", type: { - name: "String" - } + name: "String", + }, }, friendlyName: { serializedName: "properties.friendlyName", type: { - name: "String" - } + name: "String", + }, }, taxiiServer: { serializedName: "properties.taxiiServer", type: { - name: "String" - } + name: "String", + }, }, collectionId: { serializedName: "properties.collectionId", type: { - name: "String" - } + name: "String", + }, }, userName: { serializedName: "properties.userName", type: { - name: "String" - } + name: "String", + }, }, password: { serializedName: "properties.password", type: { - name: "String" - } + name: "String", + }, }, taxiiLookbackPeriod: { serializedName: "properties.taxiiLookbackPeriod", nullable: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, pollingFrequency: { serializedName: "properties.pollingFrequency", nullable: true, type: { - name: "String" - } + name: "String", + }, }, dataTypes: { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "TiTaxiiDataConnectorDataTypes" - } - } - } - } + className: "TiTaxiiDataConnectorDataTypes", + }, + }, + }, + }, }; export const IoTDataConnector: coreClient.CompositeMapper = { @@ -15862,17 +20012,17 @@ export const IoTDataConnector: coreClient.CompositeMapper = { serializedName: "properties.dataTypes", type: { name: "Composite", - className: "AlertsDataTypeOfDataConnector" - } + className: "AlertsDataTypeOfDataConnector", + }, }, subscriptionId: { serializedName: "properties.subscriptionId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CodelessUiDataConnector: coreClient.CompositeMapper = { @@ -15888,11 +20038,11 @@ export const CodelessUiDataConnector: coreClient.CompositeMapper = { serializedName: "properties.connectorUiConfig", type: { name: "Composite", - className: "CodelessUiConnectorConfigProperties" - } - } - } - } + className: "CodelessUiConnectorConfigProperties", + }, + }, + }, + }, }; export const CodelessApiPollingDataConnector: coreClient.CompositeMapper = { @@ -15908,18 +20058,53 @@ export const CodelessApiPollingDataConnector: coreClient.CompositeMapper = { serializedName: "properties.connectorUiConfig", type: { name: "Composite", - className: "CodelessUiConnectorConfigProperties" - } + className: "CodelessUiConnectorConfigProperties", + }, }, pollingConfig: { serializedName: "properties.pollingConfig", type: { name: "Composite", - className: "CodelessConnectorPollingConfigProperties" - } - } - } - } + className: "CodelessConnectorPollingConfigProperties", + }, + }, + }, + }, +}; + +export const SapSolutionUsageStatistic: coreClient.CompositeMapper = { + serializedName: "SapSolutionUsage", + type: { + name: "Composite", + className: "SapSolutionUsageStatistic", + uberParent: "BillingStatistic", + polymorphicDiscriminator: BillingStatistic.type.polymorphicDiscriminator, + modelProperties: { + ...BillingStatistic.type.modelProperties, + activeSystemIdCount: { + serializedName: "properties.activeSystemIdCount", + readOnly: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AlertRuleTriggerRuleRunHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AlertRuleTriggerRuleRunHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + }, + }, }; export const WatchlistsDeleteHeaders: coreClient.CompositeMapper = { @@ -15930,11 +20115,11 @@ export const WatchlistsDeleteHeaders: coreClient.CompositeMapper = { azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WatchlistsCreateOrUpdateHeaders: coreClient.CompositeMapper = { @@ -15945,11 +20130,11 @@ export const WatchlistsCreateOrUpdateHeaders: coreClient.CompositeMapper = { azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export let discriminators = { @@ -15962,10 +20147,12 @@ export let discriminators = { "Resource.Entity": Entity, "Resource.EntityQueryTemplate": EntityQueryTemplate, "AutomationRuleCondition.Boolean": BooleanConditionProperties, - "AutomationRuleCondition.PropertyArrayChanged": PropertyArrayChangedConditionProperties, + "AutomationRuleCondition.PropertyArrayChanged": + PropertyArrayChangedConditionProperties, "AutomationRuleCondition.PropertyArray": PropertyArrayConditionProperties, "AutomationRuleCondition.PropertyChanged": PropertyChangedConditionProperties, "AutomationRuleCondition.Property": PropertyConditionProperties, + "AutomationRuleAction.AddIncidentTask": AutomationRuleAddIncidentTaskAction, "AutomationRuleAction.ModifyProperties": AutomationRuleModifyPropertiesAction, "AutomationRuleAction.RunPlaybook": AutomationRuleRunPlaybookAction, "EntityTimelineItem.Activity": ActivityTimelineItem, @@ -15974,35 +20161,50 @@ export let discriminators = { "EntityTimelineItem.SecurityAlert": SecurityAlertTimelineItem, "EntityQueryItem.Insight": InsightQueryItem, "DataConnectorsCheckRequirements.AzureActiveDirectory": AADCheckRequirements, - "DataConnectorsCheckRequirements.AzureAdvancedThreatProtection": AatpCheckRequirements, + "DataConnectorsCheckRequirements.AzureAdvancedThreatProtection": + AatpCheckRequirements, "DataConnectorsCheckRequirements.AzureSecurityCenter": ASCCheckRequirements, - "DataConnectorsCheckRequirements.AmazonWebServicesCloudTrail": AwsCloudTrailCheckRequirements, + "DataConnectorsCheckRequirements.AmazonWebServicesCloudTrail": + AwsCloudTrailCheckRequirements, "DataConnectorsCheckRequirements.AmazonWebServicesS3": AwsS3CheckRequirements, "DataConnectorsCheckRequirements.Dynamics365": Dynamics365CheckRequirements, - "DataConnectorsCheckRequirements.MicrosoftCloudAppSecurity": McasCheckRequirements, - "DataConnectorsCheckRequirements.MicrosoftDefenderAdvancedThreatProtection": MdatpCheckRequirements, - "DataConnectorsCheckRequirements.MicrosoftThreatIntelligence": MstiCheckRequirements, - "DataConnectorsCheckRequirements.MicrosoftThreatProtection": MtpCheckRequirements, + "DataConnectorsCheckRequirements.MicrosoftCloudAppSecurity": + McasCheckRequirements, + "DataConnectorsCheckRequirements.MicrosoftDefenderAdvancedThreatProtection": + MdatpCheckRequirements, + "DataConnectorsCheckRequirements.MicrosoftThreatIntelligence": + MstiCheckRequirements, + "DataConnectorsCheckRequirements.MicrosoftThreatProtection": + MtpCheckRequirements, "DataConnectorsCheckRequirements.OfficeATP": OfficeATPCheckRequirements, "DataConnectorsCheckRequirements.OfficeIRM": OfficeIRMCheckRequirements, - "DataConnectorsCheckRequirements.Office365Project": Office365ProjectCheckRequirements, - "DataConnectorsCheckRequirements.OfficePowerBI": OfficePowerBICheckRequirements, + "DataConnectorsCheckRequirements.MicrosoftPurviewInformationProtection": + MicrosoftPurviewInformationProtectionCheckRequirements, + "DataConnectorsCheckRequirements.Office365Project": + Office365ProjectCheckRequirements, + "DataConnectorsCheckRequirements.OfficePowerBI": + OfficePowerBICheckRequirements, "DataConnectorsCheckRequirements.ThreatIntelligence": TICheckRequirements, - "DataConnectorsCheckRequirements.ThreatIntelligenceTaxii": TiTaxiiCheckRequirements, + "DataConnectorsCheckRequirements.ThreatIntelligenceTaxii": + TiTaxiiCheckRequirements, "DataConnectorsCheckRequirements.IOT": IoTCheckRequirements, "ResourceWithEtag.AlertRule": AlertRule, "ResourceWithEtag.EntityQuery": EntityQuery, "ResourceWithEtag.CustomEntityQuery": CustomEntityQuery, "ResourceWithEtag.SecurityMLAnalyticsSetting": SecurityMLAnalyticsSetting, "ResourceWithEtag.Settings": Settings, - "ResourceWithEtag.ThreatIntelligenceInformation": ThreatIntelligenceInformation, + "ResourceWithEtag.ThreatIntelligenceInformation": + ThreatIntelligenceInformation, + "ResourceWithEtag.DataConnectorDefinition": DataConnectorDefinition, "ResourceWithEtag.DataConnector": DataConnector, "AlertRuleTemplate.MLBehaviorAnalytics": MLBehaviorAnalyticsAlertRuleTemplate, "AlertRuleTemplate.Fusion": FusionAlertRuleTemplate, "AlertRuleTemplate.ThreatIntelligence": ThreatIntelligenceAlertRuleTemplate, - "AlertRuleTemplate.MicrosoftSecurityIncidentCreation": MicrosoftSecurityIncidentCreationAlertRuleTemplate, + "AlertRuleTemplate.MicrosoftSecurityIncidentCreation": + MicrosoftSecurityIncidentCreationAlertRuleTemplate, "AlertRuleTemplate.Scheduled": ScheduledAlertRuleTemplate, "AlertRuleTemplate.NRT": NrtAlertRuleTemplate, + "AzureEntityResource.BillingStatistic": BillingStatistic, "Entity.SecurityAlert": SecurityAlert, "Entity.Bookmark": HuntingBookmark, "Entity.Account": AccountEntity, @@ -16029,7 +20231,8 @@ export let discriminators = { "AlertRule.MLBehaviorAnalytics": MLBehaviorAnalyticsAlertRule, "AlertRule.Fusion": FusionAlertRule, "AlertRule.ThreatIntelligence": ThreatIntelligenceAlertRule, - "AlertRule.MicrosoftSecurityIncidentCreation": MicrosoftSecurityIncidentCreationAlertRule, + "AlertRule.MicrosoftSecurityIncidentCreation": + MicrosoftSecurityIncidentCreationAlertRule, "AlertRule.Scheduled": ScheduledAlertRule, "AlertRule.NRT": NrtAlertRule, "EntityQuery.Expansion": ExpansionEntityQuery, @@ -16041,6 +20244,7 @@ export let discriminators = { "Settings.EntityAnalytics": EntityAnalytics, "Settings.Ueba": Ueba, "ThreatIntelligenceInformation.indicator": ThreatIntelligenceIndicatorModel, + "DataConnectorDefinition.Customizable": CustomizableConnectorDefinition, "DataConnector.AzureActiveDirectory": AADDataConnector, "DataConnector.MicrosoftThreatIntelligence": MstiDataConnector, "DataConnector.MicrosoftThreatProtection": MTPDataConnector, @@ -16048,9 +20252,12 @@ export let discriminators = { "DataConnector.AzureSecurityCenter": ASCDataConnector, "DataConnector.AmazonWebServicesCloudTrail": AwsCloudTrailDataConnector, "DataConnector.AmazonWebServicesS3": AwsS3DataConnector, + "DataConnector.GCP": GCPDataConnector, "DataConnector.MicrosoftCloudAppSecurity": McasDataConnector, "DataConnector.Dynamics365": Dynamics365DataConnector, "DataConnector.OfficeATP": OfficeATPDataConnector, + "DataConnector.MicrosoftPurviewInformationProtection": + MicrosoftPurviewInformationProtectionDataConnector, "DataConnector.Office365Project": Office365ProjectDataConnector, "DataConnector.OfficePowerBI": OfficePowerBIDataConnector, "DataConnector.OfficeIRM": OfficeIRMDataConnector, @@ -16060,5 +20267,6 @@ export let discriminators = { "DataConnector.ThreatIntelligenceTaxii": TiTaxiiDataConnector, "DataConnector.IOT": IoTDataConnector, "DataConnector.GenericUI": CodelessUiDataConnector, - "DataConnector.APIPolling": CodelessApiPollingDataConnector + "DataConnector.APIPolling": CodelessApiPollingDataConnector, + "BillingStatistic.SapSolutionUsage": SapSolutionUsageStatistic, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/models/parameters.ts b/sdk/securityinsight/arm-securityinsight/src/models/parameters.ts index dd3bcead9d0b..71d931e01568 100644 --- a/sdk/securityinsight/arm-securityinsight/src/models/parameters.ts +++ b/sdk/securityinsight/arm-securityinsight/src/models/parameters.ts @@ -9,38 +9,54 @@ import { OperationParameter, OperationURLParameter, - OperationQueryParameter + OperationQueryParameter, } from "@azure/core-client"; import { AlertRule as AlertRuleMapper, ActionRequest as ActionRequestMapper, AutomationRule as AutomationRuleMapper, + EntityManualTriggerRequestBody as EntityManualTriggerRequestBodyMapper, + EntityExpandParameters as EntityExpandParametersMapper, + EntityGetInsightsParameters as EntityGetInsightsParametersMapper, ManualTriggerRequestBody as ManualTriggerRequestBodyMapper, Incident as IncidentMapper, - TeamProperties as TeamPropertiesMapper, + TeamInformation as TeamInformationMapper, Bookmark as BookmarkMapper, Relation as RelationMapper, BookmarkExpandParameters as BookmarkExpandParametersMapper, - EntityExpandParameters as EntityExpandParametersMapper, - EntityGetInsightsParameters as EntityGetInsightsParametersMapper, + PackageModel as PackageModelMapper, + TemplateModel as TemplateModelMapper, + EnrichmentIpAddressBody as EnrichmentIpAddressBodyMapper, + EnrichmentDomainBody as EnrichmentDomainBodyMapper, EntityTimelineParameters as EntityTimelineParametersMapper, CustomEntityQuery as CustomEntityQueryMapper, FileImport as FileImportMapper, + Hunt as HuntMapper, + HuntRelation as HuntRelationMapper, + HuntComment as HuntCommentMapper, IncidentComment as IncidentCommentMapper, + IncidentTask as IncidentTaskMapper, MetadataModel as MetadataModelMapper, MetadataPatch as MetadataPatchMapper, SentinelOnboardingState as SentinelOnboardingStateMapper, SecurityMLAnalyticsSetting as SecurityMLAnalyticsSettingMapper, Settings as SettingsMapper, + RepositoryAccessProperties as RepositoryAccessPropertiesMapper, SourceControl as SourceControlMapper, ThreatIntelligenceIndicatorModel as ThreatIntelligenceIndicatorModelMapper, ThreatIntelligenceFilteringCriteria as ThreatIntelligenceFilteringCriteriaMapper, ThreatIntelligenceAppendTags as ThreatIntelligenceAppendTagsMapper, + AnalyticsRuleRunTrigger as AnalyticsRuleRunTriggerMapper, Watchlist as WatchlistMapper, WatchlistItem as WatchlistItemMapper, + WorkspaceManagerAssignment as WorkspaceManagerAssignmentMapper, + WorkspaceManagerConfiguration as WorkspaceManagerConfigurationMapper, + WorkspaceManagerGroup as WorkspaceManagerGroupMapper, + WorkspaceManagerMember as WorkspaceManagerMemberMapper, + DataConnectorDefinition as DataConnectorDefinitionMapper, DataConnector as DataConnectorMapper, DataConnectorConnectBody as DataConnectorConnectBodyMapper, - DataConnectorsCheckRequirements as DataConnectorsCheckRequirementsMapper + DataConnectorsCheckRequirements as DataConnectorsCheckRequirementsMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -50,9 +66,9 @@ export const accept: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const $host: OperationURLParameter = { @@ -61,36 +77,36 @@ export const $host: OperationURLParameter = { serializedName: "$host", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-09-01-preview", + defaultValue: "2024-01-01-preview", isConstant: true, serializedName: "api-version", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const subscriptionId: OperationURLParameter = { parameterPath: "subscriptionId", mapper: { constraints: { - MinLength: 1 + MinLength: 1, }, serializedName: "subscriptionId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const resourceGroupName: OperationURLParameter = { @@ -98,29 +114,30 @@ export const resourceGroupName: OperationURLParameter = { mapper: { constraints: { MaxLength: 90, - MinLength: 1 + MinLength: 1, }, serializedName: "resourceGroupName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const workspaceName: OperationURLParameter = { parameterPath: "workspaceName", mapper: { constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), MaxLength: 90, - MinLength: 1 + MinLength: 1, }, serializedName: "workspaceName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const ruleId: OperationURLParameter = { @@ -129,9 +146,9 @@ export const ruleId: OperationURLParameter = { serializedName: "ruleId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const contentType: OperationParameter = { @@ -141,14 +158,14 @@ export const contentType: OperationParameter = { isConstant: true, serializedName: "Content-Type", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const alertRule: OperationParameter = { parameterPath: "alertRule", - mapper: AlertRuleMapper + mapper: AlertRuleMapper, }; export const nextLink: OperationURLParameter = { @@ -157,10 +174,10 @@ export const nextLink: OperationURLParameter = { serializedName: "nextLink", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const actionId: OperationURLParameter = { @@ -169,14 +186,14 @@ export const actionId: OperationURLParameter = { serializedName: "actionId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const action: OperationParameter = { parameterPath: "action", - mapper: ActionRequestMapper + mapper: ActionRequestMapper, }; export const alertRuleTemplateId: OperationURLParameter = { @@ -185,9 +202,9 @@ export const alertRuleTemplateId: OperationURLParameter = { serializedName: "alertRuleTemplateId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const automationRuleId: OperationURLParameter = { @@ -196,19 +213,67 @@ export const automationRuleId: OperationURLParameter = { serializedName: "automationRuleId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const automationRuleToUpsert: OperationParameter = { parameterPath: ["options", "automationRuleToUpsert"], - mapper: AutomationRuleMapper + mapper: AutomationRuleMapper, }; export const requestBody: OperationParameter = { parameterPath: ["options", "requestBody"], - mapper: ManualTriggerRequestBodyMapper + mapper: EntityManualTriggerRequestBodyMapper, +}; + +export const entityIdentifier: OperationURLParameter = { + parameterPath: "entityIdentifier", + mapper: { + serializedName: "entityIdentifier", + required: true, + type: { + name: "String", + }, + }, +}; + +export const entityId: OperationURLParameter = { + parameterPath: "entityId", + mapper: { + serializedName: "entityId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const parameters: OperationParameter = { + parameterPath: "parameters", + mapper: EntityExpandParametersMapper, +}; + +export const kind: OperationQueryParameter = { + parameterPath: "kind", + mapper: { + serializedName: "kind", + required: true, + type: { + name: "String", + }, + }, +}; + +export const parameters1: OperationParameter = { + parameterPath: "parameters", + mapper: EntityGetInsightsParametersMapper, +}; + +export const requestBody1: OperationParameter = { + parameterPath: ["options", "requestBody"], + mapper: ManualTriggerRequestBodyMapper, }; export const incidentIdentifier: OperationURLParameter = { @@ -217,9 +282,9 @@ export const incidentIdentifier: OperationURLParameter = { serializedName: "incidentIdentifier", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const filter: OperationQueryParameter = { @@ -227,9 +292,9 @@ export const filter: OperationQueryParameter = { mapper: { serializedName: "$filter", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const orderby: OperationQueryParameter = { @@ -237,9 +302,9 @@ export const orderby: OperationQueryParameter = { mapper: { serializedName: "$orderby", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const top: OperationQueryParameter = { @@ -247,9 +312,9 @@ export const top: OperationQueryParameter = { mapper: { serializedName: "$top", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; export const skipToken: OperationQueryParameter = { @@ -257,9 +322,9 @@ export const skipToken: OperationQueryParameter = { mapper: { serializedName: "$skipToken", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const incidentId: OperationURLParameter = { @@ -268,19 +333,33 @@ export const incidentId: OperationURLParameter = { serializedName: "incidentId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const incident: OperationParameter = { parameterPath: "incident", - mapper: IncidentMapper + mapper: IncidentMapper, }; export const teamProperties: OperationParameter = { parameterPath: "teamProperties", - mapper: TeamPropertiesMapper + mapper: TeamInformationMapper, +}; + +export const billingStatisticName: OperationURLParameter = { + parameterPath: "billingStatisticName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "billingStatisticName", + required: true, + type: { + name: "String", + }, + }, }; export const bookmarkId: OperationURLParameter = { @@ -289,14 +368,14 @@ export const bookmarkId: OperationURLParameter = { serializedName: "bookmarkId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const bookmark: OperationParameter = { parameterPath: "bookmark", - mapper: BookmarkMapper + mapper: BookmarkMapper, }; export const relationName: OperationURLParameter = { @@ -305,19 +384,91 @@ export const relationName: OperationURLParameter = { serializedName: "relationName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const relation: OperationParameter = { parameterPath: "relation", - mapper: RelationMapper + mapper: RelationMapper, }; -export const parameters: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", - mapper: BookmarkExpandParametersMapper + mapper: BookmarkExpandParametersMapper, +}; + +export const search: OperationQueryParameter = { + parameterPath: ["options", "search"], + mapper: { + serializedName: "$search", + type: { + name: "String", + }, + }, +}; + +export const count: OperationQueryParameter = { + parameterPath: ["options", "count"], + mapper: { + serializedName: "$count", + type: { + name: "Boolean", + }, + }, +}; + +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], + mapper: { + serializedName: "$skip", + type: { + name: "Number", + }, + }, +}; + +export const packageId: OperationURLParameter = { + parameterPath: "packageId", + mapper: { + serializedName: "packageId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const packageInstallationProperties: OperationParameter = { + parameterPath: "packageInstallationProperties", + mapper: PackageModelMapper, +}; + +export const templateId: OperationURLParameter = { + parameterPath: "templateId", + mapper: { + serializedName: "templateId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const expand: OperationQueryParameter = { + parameterPath: ["options", "expand"], + mapper: { + serializedName: "$expand", + type: { + name: "String", + }, + }, +}; + +export const templateInstallationProperties: OperationParameter = { + parameterPath: "templateInstallationProperties", + mapper: TemplateModelMapper, }; export const ipAddress: OperationQueryParameter = { @@ -326,9 +477,9 @@ export const ipAddress: OperationQueryParameter = { serializedName: "ipAddress", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const domain: OperationQueryParameter = { @@ -337,46 +488,35 @@ export const domain: OperationQueryParameter = { serializedName: "domain", required: true, type: { - name: "String" - } - } -}; - -export const entityId: OperationURLParameter = { - parameterPath: "entityId", - mapper: { - serializedName: "entityId", - required: true, - type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: EntityExpandParametersMapper +export const ipAddressBody: OperationParameter = { + parameterPath: "ipAddressBody", + mapper: EnrichmentIpAddressBodyMapper, }; -export const kind: OperationQueryParameter = { - parameterPath: "kind", +export const enrichmentType: OperationURLParameter = { + parameterPath: "enrichmentType", mapper: { - serializedName: "kind", + serializedName: "enrichmentType", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const parameters2: OperationParameter = { - parameterPath: "parameters", - mapper: EntityGetInsightsParametersMapper +export const domainBody: OperationParameter = { + parameterPath: "domainBody", + mapper: EnrichmentDomainBodyMapper, }; export const parameters3: OperationParameter = { parameterPath: "parameters", - mapper: EntityTimelineParametersMapper + mapper: EntityTimelineParametersMapper, }; export const kind1: OperationQueryParameter = { @@ -384,9 +524,9 @@ export const kind1: OperationQueryParameter = { mapper: { serializedName: "kind", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const entityQueryId: OperationURLParameter = { @@ -395,14 +535,14 @@ export const entityQueryId: OperationURLParameter = { serializedName: "entityQueryId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const entityQuery: OperationParameter = { parameterPath: "entityQuery", - mapper: CustomEntityQueryMapper + mapper: CustomEntityQueryMapper, }; export const kind2: OperationQueryParameter = { @@ -412,9 +552,9 @@ export const kind2: OperationQueryParameter = { isConstant: true, serializedName: "kind", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const entityQueryTemplateId: OperationURLParameter = { @@ -423,9 +563,9 @@ export const entityQueryTemplateId: OperationURLParameter = { serializedName: "entityQueryTemplateId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const fileImportId: OperationURLParameter = { @@ -434,14 +574,62 @@ export const fileImportId: OperationURLParameter = { serializedName: "fileImportId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const fileImport: OperationParameter = { parameterPath: "fileImport", - mapper: FileImportMapper + mapper: FileImportMapper, +}; + +export const huntId: OperationURLParameter = { + parameterPath: "huntId", + mapper: { + serializedName: "huntId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const hunt: OperationParameter = { + parameterPath: "hunt", + mapper: HuntMapper, +}; + +export const huntRelationId: OperationURLParameter = { + parameterPath: "huntRelationId", + mapper: { + serializedName: "huntRelationId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const huntRelation: OperationParameter = { + parameterPath: "huntRelation", + mapper: HuntRelationMapper, +}; + +export const huntCommentId: OperationURLParameter = { + parameterPath: "huntCommentId", + mapper: { + serializedName: "huntCommentId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const huntComment: OperationParameter = { + parameterPath: "huntComment", + mapper: HuntCommentMapper, }; export const incidentCommentId: OperationURLParameter = { @@ -450,45 +638,54 @@ export const incidentCommentId: OperationURLParameter = { serializedName: "incidentCommentId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const incidentComment: OperationParameter = { parameterPath: "incidentComment", - mapper: IncidentCommentMapper + mapper: IncidentCommentMapper, }; -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], +export const incidentTaskId: OperationURLParameter = { + parameterPath: "incidentTaskId", mapper: { - serializedName: "$skip", + serializedName: "incidentTaskId", + required: true, type: { - name: "Number" - } - } + name: "String", + }, + }, +}; + +export const incidentTask: OperationParameter = { + parameterPath: "incidentTask", + mapper: IncidentTaskMapper, }; export const metadataName: OperationURLParameter = { parameterPath: "metadataName", mapper: { + constraints: { + Pattern: new RegExp("^\\S+$"), + }, serializedName: "metadataName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const metadata: OperationParameter = { parameterPath: "metadata", - mapper: MetadataModelMapper + mapper: MetadataModelMapper, }; export const metadataPatch: OperationParameter = { parameterPath: "metadataPatch", - mapper: MetadataPatchMapper + mapper: MetadataPatchMapper, }; export const consentId: OperationURLParameter = { @@ -497,9 +694,9 @@ export const consentId: OperationURLParameter = { serializedName: "consentId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const sentinelOnboardingStateName: OperationURLParameter = { @@ -508,14 +705,42 @@ export const sentinelOnboardingStateName: OperationURLParameter = { serializedName: "sentinelOnboardingStateName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const sentinelOnboardingStateParameter: OperationParameter = { parameterPath: ["options", "sentinelOnboardingStateParameter"], - mapper: SentinelOnboardingStateMapper + mapper: SentinelOnboardingStateMapper, +}; + +export const recommendationId: OperationURLParameter = { + parameterPath: "recommendationId", + mapper: { + serializedName: "recommendationId", + required: true, + type: { + name: "Uuid", + }, + }, +}; + +export const recommendationPatch: OperationParameter = { + parameterPath: "recommendationPatch", + mapper: { + serializedName: "recommendationPatch", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendationPatch", + }, + }, + }, + }, }; export const settingsResourceName: OperationURLParameter = { @@ -524,14 +749,14 @@ export const settingsResourceName: OperationURLParameter = { serializedName: "settingsResourceName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const securityMLAnalyticsSetting: OperationParameter = { parameterPath: "securityMLAnalyticsSetting", - mapper: SecurityMLAnalyticsSettingMapper + mapper: SecurityMLAnalyticsSettingMapper, }; export const settingsName: OperationURLParameter = { @@ -540,25 +765,19 @@ export const settingsName: OperationURLParameter = { serializedName: "settingsName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const settings: OperationParameter = { parameterPath: "settings", - mapper: SettingsMapper + mapper: SettingsMapper, }; -export const repoType: OperationParameter = { - parameterPath: "repoType", - mapper: { - serializedName: "repoType", - required: true, - type: { - name: "String" - } - } +export const repositoryAccess: OperationParameter = { + parameterPath: "repositoryAccess", + mapper: RepositoryAccessPropertiesMapper, }; export const sourceControlId: OperationURLParameter = { @@ -567,19 +786,19 @@ export const sourceControlId: OperationURLParameter = { serializedName: "sourceControlId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const sourceControl: OperationParameter = { parameterPath: "sourceControl", - mapper: SourceControlMapper + mapper: SourceControlMapper, }; export const threatIntelligenceProperties: OperationParameter = { parameterPath: "threatIntelligenceProperties", - mapper: ThreatIntelligenceIndicatorModelMapper + mapper: ThreatIntelligenceIndicatorModelMapper, }; export const name: OperationURLParameter = { @@ -588,24 +807,40 @@ export const name: OperationURLParameter = { serializedName: "name", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const threatIntelligenceFilteringCriteria: OperationParameter = { parameterPath: "threatIntelligenceFilteringCriteria", - mapper: ThreatIntelligenceFilteringCriteriaMapper + mapper: ThreatIntelligenceFilteringCriteriaMapper, }; export const threatIntelligenceAppendTags: OperationParameter = { parameterPath: "threatIntelligenceAppendTags", - mapper: ThreatIntelligenceAppendTagsMapper + mapper: ThreatIntelligenceAppendTagsMapper, }; export const threatIntelligenceReplaceTags: OperationParameter = { parameterPath: "threatIntelligenceReplaceTags", - mapper: ThreatIntelligenceIndicatorModelMapper + mapper: ThreatIntelligenceIndicatorModelMapper, +}; + +export const ruleRunId: OperationURLParameter = { + parameterPath: "ruleRunId", + mapper: { + serializedName: "ruleRunId", + required: true, + type: { + name: "String", + }, + }, +}; + +export const analyticsRuleRunTriggerParameter: OperationParameter = { + parameterPath: "analyticsRuleRunTriggerParameter", + mapper: AnalyticsRuleRunTriggerMapper, }; export const watchlistAlias: OperationURLParameter = { @@ -614,14 +849,14 @@ export const watchlistAlias: OperationURLParameter = { serializedName: "watchlistAlias", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const watchlist: OperationParameter = { parameterPath: "watchlist", - mapper: WatchlistMapper + mapper: WatchlistMapper, }; export const watchlistItemId: OperationURLParameter = { @@ -630,14 +865,123 @@ export const watchlistItemId: OperationURLParameter = { serializedName: "watchlistItemId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const watchlistItem: OperationParameter = { parameterPath: "watchlistItem", - mapper: WatchlistItemMapper + mapper: WatchlistItemMapper, +}; + +export const workspaceManagerAssignmentName: OperationURLParameter = { + parameterPath: "workspaceManagerAssignmentName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "workspaceManagerAssignmentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const workspaceManagerAssignment: OperationParameter = { + parameterPath: "workspaceManagerAssignment", + mapper: WorkspaceManagerAssignmentMapper, +}; + +export const jobName: OperationURLParameter = { + parameterPath: "jobName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "jobName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const workspaceManagerConfigurationName: OperationURLParameter = { + parameterPath: "workspaceManagerConfigurationName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "workspaceManagerConfigurationName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const workspaceManagerConfiguration: OperationParameter = { + parameterPath: "workspaceManagerConfiguration", + mapper: WorkspaceManagerConfigurationMapper, +}; + +export const workspaceManagerGroupName: OperationURLParameter = { + parameterPath: "workspaceManagerGroupName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "workspaceManagerGroupName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const workspaceManagerGroup: OperationParameter = { + parameterPath: "workspaceManagerGroup", + mapper: WorkspaceManagerGroupMapper, +}; + +export const workspaceManagerMemberName: OperationURLParameter = { + parameterPath: "workspaceManagerMemberName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$"), + }, + serializedName: "workspaceManagerMemberName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const workspaceManagerMember: OperationParameter = { + parameterPath: "workspaceManagerMember", + mapper: WorkspaceManagerMemberMapper, +}; + +export const dataConnectorDefinitionName: OperationURLParameter = { + parameterPath: "dataConnectorDefinitionName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-z0-9A-Z-_]*$"), + }, + serializedName: "dataConnectorDefinitionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const connectorDefinitionInput: OperationParameter = { + parameterPath: "connectorDefinitionInput", + mapper: DataConnectorDefinitionMapper, }; export const dataConnectorId: OperationURLParameter = { @@ -646,22 +990,22 @@ export const dataConnectorId: OperationURLParameter = { serializedName: "dataConnectorId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const dataConnector: OperationParameter = { parameterPath: "dataConnector", - mapper: DataConnectorMapper + mapper: DataConnectorMapper, }; export const connectBody: OperationParameter = { parameterPath: "connectBody", - mapper: DataConnectorConnectBodyMapper + mapper: DataConnectorConnectBodyMapper, }; export const dataConnectorsCheckRequirements: OperationParameter = { parameterPath: "dataConnectorsCheckRequirements", - mapper: DataConnectorsCheckRequirementsMapper + mapper: DataConnectorsCheckRequirementsMapper, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/actions.ts b/sdk/securityinsight/arm-securityinsight/src/operations/actions.ts index e06f4de90aa9..1ef5f6e4c62b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/actions.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/actions.ts @@ -24,7 +24,7 @@ import { ActionsCreateOrUpdateOptionalParams, ActionsCreateOrUpdateResponse, ActionsDeleteOptionalParams, - ActionsListByAlertRuleNextResponse + ActionsListByAlertRuleNextResponse, } from "../models"; /// @@ -51,13 +51,13 @@ export class ActionsImpl implements Actions { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: ActionsListByAlertRuleOptionalParams + options?: ActionsListByAlertRuleOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByAlertRulePagingAll( resourceGroupName, workspaceName, ruleId, - options + options, ); return { next() { @@ -75,9 +75,9 @@ export class ActionsImpl implements Actions { workspaceName, ruleId, options, - settings + settings, ); - } + }, }; } @@ -86,7 +86,7 @@ export class ActionsImpl implements Actions { workspaceName: string, ruleId: string, options?: ActionsListByAlertRuleOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ActionsListByAlertRuleResponse; let continuationToken = settings?.continuationToken; @@ -95,7 +95,7 @@ export class ActionsImpl implements Actions { resourceGroupName, workspaceName, ruleId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -108,7 +108,7 @@ export class ActionsImpl implements Actions { workspaceName, ruleId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -121,13 +121,13 @@ export class ActionsImpl implements Actions { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: ActionsListByAlertRuleOptionalParams + options?: ActionsListByAlertRuleOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByAlertRulePagingPage( resourceGroupName, workspaceName, ruleId, - options + options, )) { yield* page; } @@ -144,11 +144,11 @@ export class ActionsImpl implements Actions { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: ActionsListByAlertRuleOptionalParams + options?: ActionsListByAlertRuleOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, options }, - listByAlertRuleOperationSpec + listByAlertRuleOperationSpec, ); } @@ -165,11 +165,11 @@ export class ActionsImpl implements Actions { workspaceName: string, ruleId: string, actionId: string, - options?: ActionsGetOptionalParams + options?: ActionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, actionId, options }, - getOperationSpec + getOperationSpec, ); } @@ -188,11 +188,11 @@ export class ActionsImpl implements Actions { ruleId: string, actionId: string, action: ActionRequest, - options?: ActionsCreateOrUpdateOptionalParams + options?: ActionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, actionId, action, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -209,11 +209,11 @@ export class ActionsImpl implements Actions { workspaceName: string, ruleId: string, actionId: string, - options?: ActionsDeleteOptionalParams + options?: ActionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, actionId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -230,11 +230,11 @@ export class ActionsImpl implements Actions { workspaceName: string, ruleId: string, nextLink: string, - options?: ActionsListByAlertRuleNextOptionalParams + options?: ActionsListByAlertRuleNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, nextLink, options }, - listByAlertRuleNextOperationSpec + listByAlertRuleNextOperationSpec, ); } } @@ -242,16 +242,15 @@ export class ActionsImpl implements Actions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listByAlertRuleOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ActionsList + bodyMapper: Mappers.ActionsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -259,22 +258,21 @@ const listByAlertRuleOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.ruleId + Parameters.ruleId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ActionResponse + bodyMapper: Mappers.ActionResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -283,25 +281,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.ruleId, - Parameters.actionId + Parameters.actionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ActionResponse + bodyMapper: Mappers.ActionResponse, }, 201: { - bodyMapper: Mappers.ActionResponse + bodyMapper: Mappers.ActionResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.action, queryParameters: [Parameters.apiVersion], @@ -311,22 +308,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.ruleId, - Parameters.actionId + Parameters.actionId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -335,21 +331,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.ruleId, - Parameters.actionId + Parameters.actionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByAlertRuleNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ActionsList + bodyMapper: Mappers.ActionsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -357,8 +353,8 @@ const listByAlertRuleNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.ruleId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleOperations.ts new file mode 100644 index 000000000000..7760938b38c8 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleOperations.ts @@ -0,0 +1,179 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { AlertRuleOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + AnalyticsRuleRunTrigger, + AlertRuleTriggerRuleRunOptionalParams, + AlertRuleTriggerRuleRunResponse, +} from "../models"; + +/** Class containing AlertRuleOperations operations. */ +export class AlertRuleOperationsImpl implements AlertRuleOperations { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class AlertRuleOperations class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * triggers analytics rule run + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleId Alert rule ID + * @param analyticsRuleRunTriggerParameter The Analytics Rule Run Trigger parameter + * @param options The options parameters. + */ + async beginTriggerRuleRun( + resourceGroupName: string, + workspaceName: string, + ruleId: string, + analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, + options?: AlertRuleTriggerRuleRunOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + AlertRuleTriggerRuleRunResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + ruleId, + analyticsRuleRunTriggerParameter, + options, + }, + spec: triggerRuleRunOperationSpec, + }); + const poller = await createHttpPoller< + AlertRuleTriggerRuleRunResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * triggers analytics rule run + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleId Alert rule ID + * @param analyticsRuleRunTriggerParameter The Analytics Rule Run Trigger parameter + * @param options The options parameters. + */ + async beginTriggerRuleRunAndWait( + resourceGroupName: string, + workspaceName: string, + ruleId: string, + analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, + options?: AlertRuleTriggerRuleRunOptionalParams, + ): Promise { + const poller = await this.beginTriggerRuleRun( + resourceGroupName, + workspaceName, + ruleId, + analyticsRuleRunTriggerParameter, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const triggerRuleRunOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/triggerRuleRun", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.AlertRuleTriggerRuleRunHeaders, + }, + 201: { + headersMapper: Mappers.AlertRuleTriggerRuleRunHeaders, + }, + 202: { + headersMapper: Mappers.AlertRuleTriggerRuleRunHeaders, + }, + 204: { + headersMapper: Mappers.AlertRuleTriggerRuleRunHeaders, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.analyticsRuleRunTriggerParameter, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleTemplates.ts index 1f75b5557ce4..a2b3e8ef88c4 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleTemplates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/alertRuleTemplates.ts @@ -20,7 +20,7 @@ import { AlertRuleTemplatesListResponse, AlertRuleTemplatesGetOptionalParams, AlertRuleTemplatesGetResponse, - AlertRuleTemplatesListNextResponse + AlertRuleTemplatesListNextResponse, } from "../models"; /// @@ -45,7 +45,7 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { public list( resourceGroupName: string, workspaceName: string, - options?: AlertRuleTemplatesListOptionalParams + options?: AlertRuleTemplatesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -63,9 +63,9 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -73,7 +73,7 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { resourceGroupName: string, workspaceName: string, options?: AlertRuleTemplatesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AlertRuleTemplatesListResponse; let continuationToken = settings?.continuationToken; @@ -89,7 +89,7 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -101,12 +101,12 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: AlertRuleTemplatesListOptionalParams + options?: AlertRuleTemplatesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -121,11 +121,11 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { private _list( resourceGroupName: string, workspaceName: string, - options?: AlertRuleTemplatesListOptionalParams + options?: AlertRuleTemplatesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -140,11 +140,11 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { resourceGroupName: string, workspaceName: string, alertRuleTemplateId: string, - options?: AlertRuleTemplatesGetOptionalParams + options?: AlertRuleTemplatesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, alertRuleTemplateId, options }, - getOperationSpec + getOperationSpec, ); } @@ -159,11 +159,11 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: AlertRuleTemplatesListNextOptionalParams + options?: AlertRuleTemplatesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -171,38 +171,36 @@ export class AlertRuleTemplatesImpl implements AlertRuleTemplates { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRuleTemplatesList + bodyMapper: Mappers.AlertRuleTemplatesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRuleTemplate + bodyMapper: Mappers.AlertRuleTemplate, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -210,29 +208,29 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.alertRuleTemplateId + Parameters.alertRuleTemplateId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRuleTemplatesList + bodyMapper: Mappers.AlertRuleTemplatesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/alertRules.ts b/sdk/securityinsight/arm-securityinsight/src/operations/alertRules.ts index d13d035b61df..ff853f940047 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/alertRules.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/alertRules.ts @@ -23,7 +23,7 @@ import { AlertRulesCreateOrUpdateOptionalParams, AlertRulesCreateOrUpdateResponse, AlertRulesDeleteOptionalParams, - AlertRulesListNextResponse + AlertRulesListNextResponse, } from "../models"; /// @@ -48,7 +48,7 @@ export class AlertRulesImpl implements AlertRules { public list( resourceGroupName: string, workspaceName: string, - options?: AlertRulesListOptionalParams + options?: AlertRulesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName: string, workspaceName: string, options?: AlertRulesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AlertRulesListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class AlertRulesImpl implements AlertRules { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: AlertRulesListOptionalParams + options?: AlertRulesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class AlertRulesImpl implements AlertRules { private _list( resourceGroupName: string, workspaceName: string, - options?: AlertRulesListOptionalParams + options?: AlertRulesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: AlertRulesGetOptionalParams + options?: AlertRulesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, options }, - getOperationSpec + getOperationSpec, ); } @@ -164,11 +164,11 @@ export class AlertRulesImpl implements AlertRules { workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, - options?: AlertRulesCreateOrUpdateOptionalParams + options?: AlertRulesCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, alertRule, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -183,11 +183,11 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: AlertRulesDeleteOptionalParams + options?: AlertRulesDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, ruleId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -202,11 +202,11 @@ export class AlertRulesImpl implements AlertRules { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: AlertRulesListNextOptionalParams + options?: AlertRulesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,38 +214,36 @@ export class AlertRulesImpl implements AlertRules { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRulesList + bodyMapper: Mappers.AlertRulesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRule + bodyMapper: Mappers.AlertRule, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -253,25 +251,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.ruleId + Parameters.ruleId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AlertRule + bodyMapper: Mappers.AlertRule, }, 201: { - bodyMapper: Mappers.AlertRule + bodyMapper: Mappers.AlertRule, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.alertRule, queryParameters: [Parameters.apiVersion], @@ -280,22 +277,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.ruleId + Parameters.ruleId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -303,29 +299,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.ruleId + Parameters.ruleId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AlertRulesList + bodyMapper: Mappers.AlertRulesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/automationRules.ts b/sdk/securityinsight/arm-securityinsight/src/operations/automationRules.ts index 19ea8f48732e..8e41af8186dc 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/automationRules.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/automationRules.ts @@ -24,7 +24,7 @@ import { AutomationRulesCreateOrUpdateResponse, AutomationRulesDeleteOptionalParams, AutomationRulesDeleteResponse, - AutomationRulesListNextResponse + AutomationRulesListNextResponse, } from "../models"; /// @@ -49,7 +49,7 @@ export class AutomationRulesImpl implements AutomationRules { public list( resourceGroupName: string, workspaceName: string, - options?: AutomationRulesListOptionalParams + options?: AutomationRulesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -67,9 +67,9 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -77,7 +77,7 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName: string, workspaceName: string, options?: AutomationRulesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AutomationRulesListResponse; let continuationToken = settings?.continuationToken; @@ -93,7 +93,7 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -105,12 +105,12 @@ export class AutomationRulesImpl implements AutomationRules { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: AutomationRulesListOptionalParams + options?: AutomationRulesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -127,11 +127,11 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesGetOptionalParams + options?: AutomationRulesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, automationRuleId, options }, - getOperationSpec + getOperationSpec, ); } @@ -146,11 +146,11 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesCreateOrUpdateOptionalParams + options?: AutomationRulesCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, automationRuleId, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -165,11 +165,11 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesDeleteOptionalParams + options?: AutomationRulesDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, automationRuleId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -182,11 +182,11 @@ export class AutomationRulesImpl implements AutomationRules { private _list( resourceGroupName: string, workspaceName: string, - options?: AutomationRulesListOptionalParams + options?: AutomationRulesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -201,11 +201,11 @@ export class AutomationRulesImpl implements AutomationRules { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: AutomationRulesListNextOptionalParams + options?: AutomationRulesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -213,16 +213,15 @@ export class AutomationRulesImpl implements AutomationRules { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AutomationRule + bodyMapper: Mappers.AutomationRule, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -230,25 +229,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.automationRuleId + Parameters.automationRuleId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AutomationRule + bodyMapper: Mappers.AutomationRule, }, 201: { - bodyMapper: Mappers.AutomationRule + bodyMapper: Mappers.AutomationRule, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.automationRuleToUpsert, queryParameters: [Parameters.apiVersion], @@ -257,30 +255,29 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.automationRuleId + Parameters.automationRuleId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", httpMethod: "DELETE", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 204: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -288,51 +285,50 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.automationRuleId + Parameters.automationRuleId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AutomationRulesList + bodyMapper: Mappers.AutomationRulesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AutomationRulesList + bodyMapper: Mappers.AutomationRulesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/billingStatistics.ts b/sdk/securityinsight/arm-securityinsight/src/operations/billingStatistics.ts new file mode 100644 index 000000000000..5bf2ef685e4a --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/billingStatistics.ts @@ -0,0 +1,236 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { BillingStatistics } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + BillingStatisticUnion, + BillingStatisticsListNextOptionalParams, + BillingStatisticsListOptionalParams, + BillingStatisticsListResponse, + BillingStatisticsGetOptionalParams, + BillingStatisticsGetResponse, + BillingStatisticsListNextResponse, +} from "../models"; + +/// +/** Class containing BillingStatistics operations. */ +export class BillingStatisticsImpl implements BillingStatistics { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class BillingStatistics class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all Microsoft Sentinel billing statistics. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: BillingStatisticsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: BillingStatisticsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: BillingStatisticsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: BillingStatisticsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all Microsoft Sentinel billing statistics. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: BillingStatisticsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a billing statistic + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param billingStatisticName The name of the billing statistic + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + billingStatisticName: string, + options?: BillingStatisticsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, billingStatisticName, options }, + getOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: BillingStatisticsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/billingStatistics", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.BillingStatisticList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/billingStatistics/{billingStatisticName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.BillingStatistic, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.billingStatisticName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.BillingStatisticList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkOperations.ts index cd0a944ecdca..ad21ceb7e3ee 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkOperations.ts @@ -14,7 +14,7 @@ import { SecurityInsights } from "../securityInsights"; import { BookmarkExpandParameters, BookmarkExpandOptionalParams, - BookmarkExpandOperationResponse + BookmarkExpandOperationResponse, } from "../models"; /** Class containing BookmarkOperations operations. */ @@ -42,11 +42,11 @@ export class BookmarkOperationsImpl implements BookmarkOperations { workspaceName: string, bookmarkId: string, parameters: BookmarkExpandParameters, - options?: BookmarkExpandOptionalParams + options?: BookmarkExpandOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, parameters, options }, - expandOperationSpec + expandOperationSpec, ); } } @@ -54,27 +54,26 @@ export class BookmarkOperationsImpl implements BookmarkOperations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const expandOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BookmarkExpandResponse + bodyMapper: Mappers.BookmarkExpandResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.parameters, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkRelations.ts index d9aa94d1350d..759326231af3 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarkRelations.ts @@ -23,7 +23,7 @@ import { BookmarkRelationsCreateOrUpdateOptionalParams, BookmarkRelationsCreateOrUpdateResponse, BookmarkRelationsDeleteOptionalParams, - BookmarkRelationsListNextResponse + BookmarkRelationsListNextResponse, } from "../models"; /// @@ -50,13 +50,13 @@ export class BookmarkRelationsImpl implements BookmarkRelations { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarkRelationsListOptionalParams + options?: BookmarkRelationsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, bookmarkId, - options + options, ); return { next() { @@ -74,9 +74,9 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName, bookmarkId, options, - settings + settings, ); - } + }, }; } @@ -85,7 +85,7 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName: string, bookmarkId: string, options?: BookmarkRelationsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: BookmarkRelationsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +94,7 @@ export class BookmarkRelationsImpl implements BookmarkRelations { resourceGroupName, workspaceName, bookmarkId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +107,7 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName, bookmarkId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +120,13 @@ export class BookmarkRelationsImpl implements BookmarkRelations { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarkRelationsListOptionalParams + options?: BookmarkRelationsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, bookmarkId, - options + options, )) { yield* page; } @@ -143,11 +143,11 @@ export class BookmarkRelationsImpl implements BookmarkRelations { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarkRelationsListOptionalParams + options?: BookmarkRelationsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +164,11 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName: string, bookmarkId: string, relationName: string, - options?: BookmarkRelationsGetOptionalParams + options?: BookmarkRelationsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, relationName, options }, - getOperationSpec + getOperationSpec, ); } @@ -187,7 +187,7 @@ export class BookmarkRelationsImpl implements BookmarkRelations { bookmarkId: string, relationName: string, relation: Relation, - options?: BookmarkRelationsCreateOrUpdateOptionalParams + options?: BookmarkRelationsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -196,9 +196,9 @@ export class BookmarkRelationsImpl implements BookmarkRelations { bookmarkId, relationName, relation, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -215,11 +215,11 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName: string, bookmarkId: string, relationName: string, - options?: BookmarkRelationsDeleteOptionalParams + options?: BookmarkRelationsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, relationName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -236,11 +236,11 @@ export class BookmarkRelationsImpl implements BookmarkRelations { workspaceName: string, bookmarkId: string, nextLink: string, - options?: BookmarkRelationsListNextOptionalParams + options?: BookmarkRelationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -248,45 +248,43 @@ export class BookmarkRelationsImpl implements BookmarkRelations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -295,25 +293,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.bookmarkId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, 201: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.relation, queryParameters: [Parameters.apiVersion], @@ -323,22 +320,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.bookmarkId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -347,21 +343,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.bookmarkId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -369,8 +365,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarks.ts b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarks.ts index e8d43303da5b..b03c74109c8d 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/bookmarks.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/bookmarks.ts @@ -23,7 +23,7 @@ import { BookmarksCreateOrUpdateOptionalParams, BookmarksCreateOrUpdateResponse, BookmarksDeleteOptionalParams, - BookmarksListNextResponse + BookmarksListNextResponse, } from "../models"; /// @@ -48,7 +48,7 @@ export class BookmarksImpl implements Bookmarks { public list( resourceGroupName: string, workspaceName: string, - options?: BookmarksListOptionalParams + options?: BookmarksListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName: string, workspaceName: string, options?: BookmarksListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: BookmarksListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class BookmarksImpl implements Bookmarks { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: BookmarksListOptionalParams + options?: BookmarksListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class BookmarksImpl implements Bookmarks { private _list( resourceGroupName: string, workspaceName: string, - options?: BookmarksListOptionalParams + options?: BookmarksListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarksGetOptionalParams + options?: BookmarksGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, options }, - getOperationSpec + getOperationSpec, ); } @@ -164,11 +164,11 @@ export class BookmarksImpl implements Bookmarks { workspaceName: string, bookmarkId: string, bookmark: Bookmark, - options?: BookmarksCreateOrUpdateOptionalParams + options?: BookmarksCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, bookmark, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -183,11 +183,11 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarksDeleteOptionalParams + options?: BookmarksDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, bookmarkId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -202,11 +202,11 @@ export class BookmarksImpl implements Bookmarks { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: BookmarksListNextOptionalParams + options?: BookmarksListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,38 +214,36 @@ export class BookmarksImpl implements Bookmarks { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BookmarkList + bodyMapper: Mappers.BookmarkList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Bookmark + bodyMapper: Mappers.Bookmark, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -253,25 +251,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Bookmark + bodyMapper: Mappers.Bookmark, }, 201: { - bodyMapper: Mappers.Bookmark + bodyMapper: Mappers.Bookmark, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.bookmark, queryParameters: [Parameters.apiVersion], @@ -280,22 +277,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -303,29 +299,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.bookmarkId + Parameters.bookmarkId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BookmarkList + bodyMapper: Mappers.BookmarkList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/contentPackage.ts b/sdk/securityinsight/arm-securityinsight/src/operations/contentPackage.ts new file mode 100644 index 000000000000..d03cf18cdf2f --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/contentPackage.ts @@ -0,0 +1,129 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ContentPackage } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + PackageModel, + ContentPackageInstallOptionalParams, + ContentPackageInstallResponse, + ContentPackageUninstallOptionalParams, +} from "../models"; + +/** Class containing ContentPackage operations. */ +export class ContentPackageImpl implements ContentPackage { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ContentPackage class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Install a package to the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param packageInstallationProperties Package installation properties + * @param options The options parameters. + */ + install( + resourceGroupName: string, + workspaceName: string, + packageId: string, + packageInstallationProperties: PackageModel, + options?: ContentPackageInstallOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + packageId, + packageInstallationProperties, + options, + }, + installOperationSpec, + ); + } + + /** + * Uninstall a package from the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + uninstall( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ContentPackageUninstallOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, packageId, options }, + uninstallOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const installOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.PackageModel, + }, + 201: { + bodyMapper: Mappers.PackageModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.packageInstallationProperties, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.packageId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const uninstallOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.packageId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/contentPackages.ts b/sdk/securityinsight/arm-securityinsight/src/operations/contentPackages.ts new file mode 100644 index 000000000000..3c0786a4143d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/contentPackages.ts @@ -0,0 +1,245 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ContentPackages } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + PackageModel, + ContentPackagesListNextOptionalParams, + ContentPackagesListOptionalParams, + ContentPackagesListResponse, + ContentPackagesGetOptionalParams, + ContentPackagesGetResponse, + ContentPackagesListNextResponse, +} from "../models"; + +/// +/** Class containing ContentPackages operations. */ +export class ContentPackagesImpl implements ContentPackages { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ContentPackages class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all installed packages. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ContentPackagesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: ContentPackagesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ContentPackagesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: ContentPackagesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all installed packages. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ContentPackagesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets an installed packages by its id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ContentPackagesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, packageId, options }, + getOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: ContentPackagesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PackageList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + Parameters.search, + Parameters.count, + Parameters.skip, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PackageModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.packageId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PackageList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplate.ts b/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplate.ts new file mode 100644 index 000000000000..3e98a1d6bde6 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplate.ts @@ -0,0 +1,175 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ContentTemplate } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + TemplateModel, + ContentTemplateInstallOptionalParams, + ContentTemplateInstallResponse, + ContentTemplateGetOptionalParams, + ContentTemplateGetResponse, + ContentTemplateDeleteOptionalParams, +} from "../models"; + +/** Class containing ContentTemplate operations. */ +export class ContentTemplateImpl implements ContentTemplate { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ContentTemplate class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Install a template. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param templateInstallationProperties Template installation properties + * @param options The options parameters. + */ + install( + resourceGroupName: string, + workspaceName: string, + templateId: string, + templateInstallationProperties: TemplateModel, + options?: ContentTemplateInstallOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + templateId, + templateInstallationProperties, + options, + }, + installOperationSpec, + ); + } + + /** + * Gets a template byt its identifier. + * Expandable properties: + * - properties/mainTemplate + * - properties/dependantTemplates + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ContentTemplateGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, templateId, options }, + getOperationSpec, + ); + } + + /** + * Delete an installed template. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ContentTemplateDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, templateId, options }, + deleteOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const installOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.TemplateModel, + }, + 201: { + bodyMapper: Mappers.TemplateModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.templateInstallationProperties, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.templateId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TemplateModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.templateId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.templateId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplates.ts new file mode 100644 index 000000000000..0eb38701ef1d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/contentTemplates.ts @@ -0,0 +1,209 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ContentTemplates } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + TemplateModel, + ContentTemplatesListNextOptionalParams, + ContentTemplatesListOptionalParams, + ContentTemplatesListResponse, + ContentTemplatesListNextResponse, +} from "../models"; + +/// +/** Class containing ContentTemplates operations. */ +export class ContentTemplatesImpl implements ContentTemplates { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ContentTemplates class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all installed templates. + * Expandable properties: + * - properties/mainTemplate + * - properties/dependantTemplates + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ContentTemplatesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: ContentTemplatesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ContentTemplatesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: ContentTemplatesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all installed templates. + * Expandable properties: + * - properties/mainTemplate + * - properties/dependantTemplates + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ContentTemplatesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: ContentTemplatesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TemplateList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + Parameters.search, + Parameters.count, + Parameters.skip, + Parameters.expand, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TemplateList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorDefinitions.ts b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorDefinitions.ts new file mode 100644 index 000000000000..4dbcda70fe02 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorDefinitions.ts @@ -0,0 +1,343 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { DataConnectorDefinitions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + DataConnectorDefinitionUnion, + DataConnectorDefinitionsListNextOptionalParams, + DataConnectorDefinitionsListOptionalParams, + DataConnectorDefinitionsListResponse, + DataConnectorDefinitionsGetOptionalParams, + DataConnectorDefinitionsGetResponse, + DataConnectorDefinitionsCreateOrUpdateOptionalParams, + DataConnectorDefinitionsCreateOrUpdateResponse, + DataConnectorDefinitionsDeleteOptionalParams, + DataConnectorDefinitionsListNextResponse, +} from "../models"; + +/// +/** Class containing DataConnectorDefinitions operations. */ +export class DataConnectorDefinitionsImpl implements DataConnectorDefinitions { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class DataConnectorDefinitions class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all data connector definitions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: DataConnectorDefinitionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: DataConnectorDefinitionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: DataConnectorDefinitionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: DataConnectorDefinitionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all data connector definitions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: DataConnectorDefinitionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + options?: DataConnectorDefinitionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + dataConnectorDefinitionName, + options, + }, + getOperationSpec, + ); + } + + /** + * Creates or updates the data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param connectorDefinitionInput The data connector definition + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + connectorDefinitionInput: DataConnectorDefinitionUnion, + options?: DataConnectorDefinitionsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + dataConnectorDefinitionName, + connectorDefinitionInput, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * Delete the data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + options?: DataConnectorDefinitionsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + dataConnectorDefinitionName, + options, + }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: DataConnectorDefinitionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataConnectorDefinitionArmCollectionWrapper, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataConnectorDefinition, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.dataConnectorDefinitionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DataConnectorDefinition, + }, + 201: { + bodyMapper: Mappers.DataConnectorDefinition, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.connectorDefinitionInput, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.dataConnectorDefinitionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.dataConnectorDefinitionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataConnectorDefinitionArmCollectionWrapper, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectors.ts b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectors.ts index 05e5122394ec..8b9db23ee19f 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectors.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectors.ts @@ -26,7 +26,7 @@ import { DataConnectorConnectBody, DataConnectorsConnectOptionalParams, DataConnectorsDisconnectOptionalParams, - DataConnectorsListNextResponse + DataConnectorsListNextResponse, } from "../models"; /// @@ -51,7 +51,7 @@ export class DataConnectorsImpl implements DataConnectors { public list( resourceGroupName: string, workspaceName: string, - options?: DataConnectorsListOptionalParams + options?: DataConnectorsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -69,9 +69,9 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -79,7 +79,7 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName: string, workspaceName: string, options?: DataConnectorsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DataConnectorsListResponse; let continuationToken = settings?.continuationToken; @@ -95,7 +95,7 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -107,12 +107,12 @@ export class DataConnectorsImpl implements DataConnectors { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: DataConnectorsListOptionalParams + options?: DataConnectorsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -127,11 +127,11 @@ export class DataConnectorsImpl implements DataConnectors { private _list( resourceGroupName: string, workspaceName: string, - options?: DataConnectorsListOptionalParams + options?: DataConnectorsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -146,11 +146,11 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsGetOptionalParams + options?: DataConnectorsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, dataConnectorId, options }, - getOperationSpec + getOperationSpec, ); } @@ -167,7 +167,7 @@ export class DataConnectorsImpl implements DataConnectors { workspaceName: string, dataConnectorId: string, dataConnector: DataConnectorUnion, - options?: DataConnectorsCreateOrUpdateOptionalParams + options?: DataConnectorsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -175,9 +175,9 @@ export class DataConnectorsImpl implements DataConnectors { workspaceName, dataConnectorId, dataConnector, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -192,11 +192,11 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsDeleteOptionalParams + options?: DataConnectorsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, dataConnectorId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -213,7 +213,7 @@ export class DataConnectorsImpl implements DataConnectors { workspaceName: string, dataConnectorId: string, connectBody: DataConnectorConnectBody, - options?: DataConnectorsConnectOptionalParams + options?: DataConnectorsConnectOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -221,9 +221,9 @@ export class DataConnectorsImpl implements DataConnectors { workspaceName, dataConnectorId, connectBody, - options + options, }, - connectOperationSpec + connectOperationSpec, ); } @@ -238,11 +238,11 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsDisconnectOptionalParams + options?: DataConnectorsDisconnectOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, dataConnectorId, options }, - disconnectOperationSpec + disconnectOperationSpec, ); } @@ -257,11 +257,11 @@ export class DataConnectorsImpl implements DataConnectors { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: DataConnectorsListNextOptionalParams + options?: DataConnectorsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -269,38 +269,36 @@ export class DataConnectorsImpl implements DataConnectors { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataConnectorList + bodyMapper: Mappers.DataConnectorList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataConnector + bodyMapper: Mappers.DataConnector, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -308,25 +306,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.dataConnectorId + Parameters.dataConnectorId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.DataConnector + bodyMapper: Mappers.DataConnector, }, 201: { - bodyMapper: Mappers.DataConnector + bodyMapper: Mappers.DataConnector, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.dataConnector, queryParameters: [Parameters.apiVersion], @@ -335,22 +332,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.dataConnectorId + Parameters.dataConnectorId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -358,20 +354,19 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.dataConnectorId + Parameters.dataConnectorId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const connectOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/connect", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/connect", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.connectBody, queryParameters: [Parameters.apiVersion], @@ -380,21 +375,20 @@ const connectOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.dataConnectorId + Parameters.dataConnectorId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const disconnectOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/disconnect", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/disconnect", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -402,29 +396,29 @@ const disconnectOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.dataConnectorId + Parameters.dataConnectorId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataConnectorList + bodyMapper: Mappers.DataConnectorList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorsCheckRequirementsOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorsCheckRequirementsOperations.ts index 06ee89237293..f6bc05867812 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorsCheckRequirementsOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/dataConnectorsCheckRequirementsOperations.ts @@ -14,12 +14,13 @@ import { SecurityInsights } from "../securityInsights"; import { DataConnectorsCheckRequirementsUnion, DataConnectorsCheckRequirementsPostOptionalParams, - DataConnectorsCheckRequirementsPostResponse + DataConnectorsCheckRequirementsPostResponse, } from "../models"; /** Class containing DataConnectorsCheckRequirementsOperations operations. */ export class DataConnectorsCheckRequirementsOperationsImpl - implements DataConnectorsCheckRequirementsOperations { + implements DataConnectorsCheckRequirementsOperations +{ private readonly client: SecurityInsights; /** @@ -41,16 +42,16 @@ export class DataConnectorsCheckRequirementsOperationsImpl resourceGroupName: string, workspaceName: string, dataConnectorsCheckRequirements: DataConnectorsCheckRequirementsUnion, - options?: DataConnectorsCheckRequirementsPostOptionalParams + options?: DataConnectorsCheckRequirementsPostOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, dataConnectorsCheckRequirements, - options + options, }, - postOperationSpec + postOperationSpec, ); } } @@ -58,16 +59,15 @@ export class DataConnectorsCheckRequirementsOperationsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const postOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorsCheckRequirements", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorsCheckRequirements", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DataConnectorRequirementsState + bodyMapper: Mappers.DataConnectorRequirementsState, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.dataConnectorsCheckRequirements, queryParameters: [Parameters.apiVersion], @@ -75,9 +75,9 @@ const postOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/domainWhois.ts b/sdk/securityinsight/arm-securityinsight/src/operations/domainWhois.ts index adc8023e0349..3e4af7892bd2 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/domainWhois.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/domainWhois.ts @@ -13,7 +13,7 @@ import * as Parameters from "../models/parameters"; import { SecurityInsights } from "../securityInsights"; import { DomainWhoisGetOptionalParams, - DomainWhoisGetResponse + DomainWhoisGetResponse, } from "../models"; /** Class containing DomainWhois operations. */ @@ -37,11 +37,11 @@ export class DomainWhoisImpl implements DomainWhois { get( resourceGroupName: string, domain: string, - options?: DomainWhoisGetOptionalParams + options?: DomainWhoisGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domain, options }, - getOperationSpec + getOperationSpec, ); } } @@ -49,23 +49,22 @@ export class DomainWhoisImpl implements DomainWhois { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/domain/whois/", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/domain/whois/", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnrichmentDomainWhois + bodyMapper: Mappers.EnrichmentDomainWhois, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.domain], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entities.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entities.ts index bb7626cae02f..3b9569c82313 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entities.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entities.ts @@ -18,6 +18,7 @@ import { EntitiesListNextOptionalParams, EntitiesListOptionalParams, EntitiesListResponse, + EntitiesRunPlaybookOptionalParams, EntitiesGetOptionalParams, EntitiesGetResponse, EntityExpandParameters, @@ -29,7 +30,7 @@ import { EntityGetInsightsParameters, EntitiesGetInsightsOptionalParams, EntitiesGetInsightsResponse, - EntitiesListNextResponse + EntitiesListNextResponse, } from "../models"; /// @@ -54,7 +55,7 @@ export class EntitiesImpl implements Entities { public list( resourceGroupName: string, workspaceName: string, - options?: EntitiesListOptionalParams + options?: EntitiesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -72,9 +73,9 @@ export class EntitiesImpl implements Entities { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -82,7 +83,7 @@ export class EntitiesImpl implements Entities { resourceGroupName: string, workspaceName: string, options?: EntitiesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EntitiesListResponse; let continuationToken = settings?.continuationToken; @@ -98,7 +99,7 @@ export class EntitiesImpl implements Entities { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -110,17 +111,36 @@ export class EntitiesImpl implements Entities { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: EntitiesListOptionalParams + options?: EntitiesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } } + /** + * Triggers playbook on a specific entity. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param entityIdentifier Entity identifier. + * @param options The options parameters. + */ + runPlaybook( + resourceGroupName: string, + workspaceName: string, + entityIdentifier: string, + options?: EntitiesRunPlaybookOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, entityIdentifier, options }, + runPlaybookOperationSpec, + ); + } + /** * Gets all entities. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -130,11 +150,11 @@ export class EntitiesImpl implements Entities { private _list( resourceGroupName: string, workspaceName: string, - options?: EntitiesListOptionalParams + options?: EntitiesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -149,11 +169,11 @@ export class EntitiesImpl implements Entities { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesGetOptionalParams + options?: EntitiesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, options }, - getOperationSpec + getOperationSpec, ); } @@ -170,11 +190,11 @@ export class EntitiesImpl implements Entities { workspaceName: string, entityId: string, parameters: EntityExpandParameters, - options?: EntitiesExpandOptionalParams + options?: EntitiesExpandOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, parameters, options }, - expandOperationSpec + expandOperationSpec, ); } @@ -191,11 +211,11 @@ export class EntitiesImpl implements Entities { workspaceName: string, entityId: string, kind: EntityItemQueryKind, - options?: EntitiesQueriesOptionalParams + options?: EntitiesQueriesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, kind, options }, - queriesOperationSpec + queriesOperationSpec, ); } @@ -212,11 +232,11 @@ export class EntitiesImpl implements Entities { workspaceName: string, entityId: string, parameters: EntityGetInsightsParameters, - options?: EntitiesGetInsightsOptionalParams + options?: EntitiesGetInsightsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, parameters, options }, - getInsightsOperationSpec + getInsightsOperationSpec, ); } @@ -231,50 +251,70 @@ export class EntitiesImpl implements Entities { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: EntitiesListNextOptionalParams + options?: EntitiesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const runPlaybookOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityIdentifier}/runPlaybook", + httpMethod: "POST", + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.requestBody, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.entityIdentifier, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityList + bodyMapper: Mappers.EntityList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Entity + bodyMapper: Mappers.Entity, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -282,47 +322,45 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const expandOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EntityExpandResponse + bodyMapper: Mappers.EntityExpandResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const queriesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.GetQueriesResponse + bodyMapper: Mappers.GetQueriesResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.kind], urlParameters: [ @@ -330,54 +368,53 @@ const queriesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInsightsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getInsights", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getInsights", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EntityGetInsightsResponse + bodyMapper: Mappers.EntityGetInsightsResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityList + bodyMapper: Mappers.EntityList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entitiesGetTimeline.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entitiesGetTimeline.ts index 52ccbd95b39b..91e057abd43f 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entitiesGetTimeline.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entitiesGetTimeline.ts @@ -14,7 +14,7 @@ import { SecurityInsights } from "../securityInsights"; import { EntityTimelineParameters, EntitiesGetTimelineListOptionalParams, - EntitiesGetTimelineListResponse + EntitiesGetTimelineListResponse, } from "../models"; /** Class containing EntitiesGetTimeline operations. */ @@ -42,11 +42,11 @@ export class EntitiesGetTimelineImpl implements EntitiesGetTimeline { workspaceName: string, entityId: string, parameters: EntityTimelineParameters, - options?: EntitiesGetTimelineListOptionalParams + options?: EntitiesGetTimelineListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, parameters, options }, - listOperationSpec + listOperationSpec, ); } } @@ -54,16 +54,15 @@ export class EntitiesGetTimelineImpl implements EntitiesGetTimeline { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getTimeline", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getTimeline", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EntityTimelineResponse + bodyMapper: Mappers.EntityTimelineResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], @@ -72,9 +71,9 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entitiesRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entitiesRelations.ts index 7c7e7118b214..c45a3a37aa62 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entitiesRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entitiesRelations.ts @@ -18,7 +18,7 @@ import { EntitiesRelationsListNextOptionalParams, EntitiesRelationsListOptionalParams, EntitiesRelationsListResponse, - EntitiesRelationsListNextResponse + EntitiesRelationsListNextResponse, } from "../models"; /// @@ -45,13 +45,13 @@ export class EntitiesRelationsImpl implements EntitiesRelations { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesRelationsListOptionalParams + options?: EntitiesRelationsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, entityId, - options + options, ); return { next() { @@ -69,9 +69,9 @@ export class EntitiesRelationsImpl implements EntitiesRelations { workspaceName, entityId, options, - settings + settings, ); - } + }, }; } @@ -80,7 +80,7 @@ export class EntitiesRelationsImpl implements EntitiesRelations { workspaceName: string, entityId: string, options?: EntitiesRelationsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EntitiesRelationsListResponse; let continuationToken = settings?.continuationToken; @@ -89,7 +89,7 @@ export class EntitiesRelationsImpl implements EntitiesRelations { resourceGroupName, workspaceName, entityId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -102,7 +102,7 @@ export class EntitiesRelationsImpl implements EntitiesRelations { workspaceName, entityId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -115,13 +115,13 @@ export class EntitiesRelationsImpl implements EntitiesRelations { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesRelationsListOptionalParams + options?: EntitiesRelationsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, entityId, - options + options, )) { yield* page; } @@ -138,11 +138,11 @@ export class EntitiesRelationsImpl implements EntitiesRelations { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesRelationsListOptionalParams + options?: EntitiesRelationsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, options }, - listOperationSpec + listOperationSpec, ); } @@ -159,11 +159,11 @@ export class EntitiesRelationsImpl implements EntitiesRelations { workspaceName: string, entityId: string, nextLink: string, - options?: EntitiesRelationsListNextOptionalParams + options?: EntitiesRelationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -171,44 +171,43 @@ export class EntitiesRelationsImpl implements EntitiesRelations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -216,8 +215,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.entityId + Parameters.entityId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entityQueries.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entityQueries.ts index 795fdb6ece7a..2b9f932381eb 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entityQueries.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entityQueries.ts @@ -24,7 +24,7 @@ import { EntityQueriesCreateOrUpdateOptionalParams, EntityQueriesCreateOrUpdateResponse, EntityQueriesDeleteOptionalParams, - EntityQueriesListNextResponse + EntityQueriesListNextResponse, } from "../models"; /// @@ -49,7 +49,7 @@ export class EntityQueriesImpl implements EntityQueries { public list( resourceGroupName: string, workspaceName: string, - options?: EntityQueriesListOptionalParams + options?: EntityQueriesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -67,9 +67,9 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -77,7 +77,7 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName: string, workspaceName: string, options?: EntityQueriesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EntityQueriesListResponse; let continuationToken = settings?.continuationToken; @@ -93,7 +93,7 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -105,12 +105,12 @@ export class EntityQueriesImpl implements EntityQueries { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: EntityQueriesListOptionalParams + options?: EntityQueriesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -125,11 +125,11 @@ export class EntityQueriesImpl implements EntityQueries { private _list( resourceGroupName: string, workspaceName: string, - options?: EntityQueriesListOptionalParams + options?: EntityQueriesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -144,11 +144,11 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName: string, workspaceName: string, entityQueryId: string, - options?: EntityQueriesGetOptionalParams + options?: EntityQueriesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityQueryId, options }, - getOperationSpec + getOperationSpec, ); } @@ -165,11 +165,11 @@ export class EntityQueriesImpl implements EntityQueries { workspaceName: string, entityQueryId: string, entityQuery: CustomEntityQueryUnion, - options?: EntityQueriesCreateOrUpdateOptionalParams + options?: EntityQueriesCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityQueryId, entityQuery, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -184,11 +184,11 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName: string, workspaceName: string, entityQueryId: string, - options?: EntityQueriesDeleteOptionalParams + options?: EntityQueriesDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityQueryId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -203,11 +203,11 @@ export class EntityQueriesImpl implements EntityQueries { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: EntityQueriesListNextOptionalParams + options?: EntityQueriesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -215,38 +215,36 @@ export class EntityQueriesImpl implements EntityQueries { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQueryList + bodyMapper: Mappers.EntityQueryList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.kind1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQuery + bodyMapper: Mappers.EntityQuery, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -254,25 +252,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityQueryId + Parameters.entityQueryId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.EntityQuery + bodyMapper: Mappers.EntityQuery, }, 201: { - bodyMapper: Mappers.EntityQuery + bodyMapper: Mappers.EntityQuery, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.entityQuery, queryParameters: [Parameters.apiVersion], @@ -281,22 +278,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityQueryId + Parameters.entityQueryId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -304,29 +300,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityQueryId + Parameters.entityQueryId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQueryList + bodyMapper: Mappers.EntityQueryList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entityQueryTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entityQueryTemplates.ts index e0eef1bd7e04..686aade4d61a 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entityQueryTemplates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entityQueryTemplates.ts @@ -20,7 +20,7 @@ import { EntityQueryTemplatesListResponse, EntityQueryTemplatesGetOptionalParams, EntityQueryTemplatesGetResponse, - EntityQueryTemplatesListNextResponse + EntityQueryTemplatesListNextResponse, } from "../models"; /// @@ -45,7 +45,7 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { public list( resourceGroupName: string, workspaceName: string, - options?: EntityQueryTemplatesListOptionalParams + options?: EntityQueryTemplatesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -63,9 +63,9 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -73,7 +73,7 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { resourceGroupName: string, workspaceName: string, options?: EntityQueryTemplatesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EntityQueryTemplatesListResponse; let continuationToken = settings?.continuationToken; @@ -89,7 +89,7 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -101,12 +101,12 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: EntityQueryTemplatesListOptionalParams + options?: EntityQueryTemplatesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -121,11 +121,11 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { private _list( resourceGroupName: string, workspaceName: string, - options?: EntityQueryTemplatesListOptionalParams + options?: EntityQueryTemplatesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -140,11 +140,11 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { resourceGroupName: string, workspaceName: string, entityQueryTemplateId: string, - options?: EntityQueryTemplatesGetOptionalParams + options?: EntityQueryTemplatesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityQueryTemplateId, options }, - getOperationSpec + getOperationSpec, ); } @@ -159,11 +159,11 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: EntityQueryTemplatesListNextOptionalParams + options?: EntityQueryTemplatesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -171,38 +171,36 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQueryTemplateList + bodyMapper: Mappers.EntityQueryTemplateList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.kind2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQueryTemplate + bodyMapper: Mappers.EntityQueryTemplate, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -210,29 +208,29 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.entityQueryTemplateId + Parameters.entityQueryTemplateId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EntityQueryTemplateList + bodyMapper: Mappers.EntityQueryTemplateList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/entityRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/entityRelations.ts index e76d8ca12d13..4978e139358a 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/entityRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/entityRelations.ts @@ -13,7 +13,7 @@ import * as Parameters from "../models/parameters"; import { SecurityInsights } from "../securityInsights"; import { EntityRelationsGetRelationOptionalParams, - EntityRelationsGetRelationResponse + EntityRelationsGetRelationResponse, } from "../models"; /** Class containing EntityRelations operations. */ @@ -41,11 +41,11 @@ export class EntityRelationsImpl implements EntityRelations { workspaceName: string, entityId: string, relationName: string, - options?: EntityRelationsGetRelationOptionalParams + options?: EntityRelationsGetRelationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, entityId, relationName, options }, - getRelationOperationSpec + getRelationOperationSpec, ); } } @@ -53,16 +53,15 @@ export class EntityRelationsImpl implements EntityRelations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getRelationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations/{relationName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -70,9 +69,9 @@ const getRelationOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.entityId, Parameters.relationName, - Parameters.entityId ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/fileImports.ts b/sdk/securityinsight/arm-securityinsight/src/operations/fileImports.ts index 2c61c29c476c..cfa036498666 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/fileImports.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/fileImports.ts @@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { SecurityInsights } from "../securityInsights"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { FileImport, FileImportsListNextOptionalParams, @@ -26,7 +30,7 @@ import { FileImportsCreateResponse, FileImportsDeleteOptionalParams, FileImportsDeleteResponse, - FileImportsListNextResponse + FileImportsListNextResponse, } from "../models"; /// @@ -51,7 +55,7 @@ export class FileImportsImpl implements FileImports { public list( resourceGroupName: string, workspaceName: string, - options?: FileImportsListOptionalParams + options?: FileImportsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -69,9 +73,9 @@ export class FileImportsImpl implements FileImports { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -79,7 +83,7 @@ export class FileImportsImpl implements FileImports { resourceGroupName: string, workspaceName: string, options?: FileImportsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: FileImportsListResponse; let continuationToken = settings?.continuationToken; @@ -95,7 +99,7 @@ export class FileImportsImpl implements FileImports { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -107,12 +111,12 @@ export class FileImportsImpl implements FileImports { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: FileImportsListOptionalParams + options?: FileImportsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -127,11 +131,11 @@ export class FileImportsImpl implements FileImports { private _list( resourceGroupName: string, workspaceName: string, - options?: FileImportsListOptionalParams + options?: FileImportsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -146,11 +150,11 @@ export class FileImportsImpl implements FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsGetOptionalParams + options?: FileImportsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, fileImportId, options }, - getOperationSpec + getOperationSpec, ); } @@ -167,11 +171,11 @@ export class FileImportsImpl implements FileImports { workspaceName: string, fileImportId: string, fileImport: FileImport, - options?: FileImportsCreateOptionalParams + options?: FileImportsCreateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, fileImportId, fileImport, options }, - createOperationSpec + createOperationSpec, ); } @@ -186,30 +190,29 @@ export class FileImportsImpl implements FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsDeleteOptionalParams + options?: FileImportsDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, FileImportsDeleteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -218,8 +221,8 @@ export class FileImportsImpl implements FileImports { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -227,20 +230,23 @@ export class FileImportsImpl implements FileImports { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, fileImportId, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, fileImportId, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + FileImportsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "location" + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -257,13 +263,13 @@ export class FileImportsImpl implements FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsDeleteOptionalParams + options?: FileImportsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, fileImportId, - options + options, ); return poller.pollUntilDone(); } @@ -279,11 +285,11 @@ export class FileImportsImpl implements FileImports { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: FileImportsListNextOptionalParams + options?: FileImportsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -291,44 +297,42 @@ export class FileImportsImpl implements FileImports { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FileImportList + bodyMapper: Mappers.FileImportList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -336,22 +340,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.fileImportId + Parameters.fileImportId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", httpMethod: "PUT", responses: { 201: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.fileImport, queryParameters: [Parameters.apiVersion], @@ -360,32 +363,31 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.fileImportId + Parameters.fileImportId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}", httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, 201: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, 202: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, 204: { - bodyMapper: Mappers.FileImport + bodyMapper: Mappers.FileImport, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -393,29 +395,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.fileImportId + Parameters.fileImportId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FileImportList + bodyMapper: Mappers.FileImportList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/get.ts b/sdk/securityinsight/arm-securityinsight/src/operations/get.ts new file mode 100644 index 000000000000..a12d136efe53 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/get.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { Get } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + GetSingleRecommendationOptionalParams, + GetSingleRecommendationResponse, +} from "../models"; + +/** Class containing Get operations. */ +export class GetImpl implements Get { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class Get class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets a recommendation by its id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param options The options parameters. + */ + singleRecommendation( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + options?: GetSingleRecommendationOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, recommendationId, options }, + singleRecommendationOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const singleRecommendationOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Recommendation, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.recommendationId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/getRecommendations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/getRecommendations.ts new file mode 100644 index 000000000000..c2a061f5731d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/getRecommendations.ts @@ -0,0 +1,71 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { GetRecommendations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + GetRecommendationsListOptionalParams, + GetRecommendationsListResponse, +} from "../models"; + +/** Class containing GetRecommendations operations. */ +export class GetRecommendationsImpl implements GetRecommendations { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class GetRecommendations class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets a list of all recommendations. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: GetRecommendationsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/getTriggeredAnalyticsRuleRuns.ts b/sdk/securityinsight/arm-securityinsight/src/operations/getTriggeredAnalyticsRuleRuns.ts new file mode 100644 index 000000000000..00ff2e36f613 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/getTriggeredAnalyticsRuleRuns.ts @@ -0,0 +1,195 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { GetTriggeredAnalyticsRuleRuns } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + TriggeredAnalyticsRuleRun, + GetTriggeredAnalyticsRuleRunsListNextOptionalParams, + GetTriggeredAnalyticsRuleRunsListOptionalParams, + GetTriggeredAnalyticsRuleRunsListResponse, + GetTriggeredAnalyticsRuleRunsListNextResponse, +} from "../models"; + +/// +/** Class containing GetTriggeredAnalyticsRuleRuns operations. */ +export class GetTriggeredAnalyticsRuleRunsImpl + implements GetTriggeredAnalyticsRuleRuns +{ + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class GetTriggeredAnalyticsRuleRuns class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets the triggered analytics rule runs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: GetTriggeredAnalyticsRuleRunsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: GetTriggeredAnalyticsRuleRunsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: GetTriggeredAnalyticsRuleRunsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: GetTriggeredAnalyticsRuleRunsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets the triggered analytics rule runs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: GetTriggeredAnalyticsRuleRunsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: GetTriggeredAnalyticsRuleRunsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/triggeredAnalyticsRuleRuns", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TriggeredAnalyticsRuleRuns, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TriggeredAnalyticsRuleRuns, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/huntComments.ts b/sdk/securityinsight/arm-securityinsight/src/operations/huntComments.ts new file mode 100644 index 000000000000..1f1ed2392b0d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/huntComments.ts @@ -0,0 +1,372 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { HuntComments } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + HuntComment, + HuntCommentsListNextOptionalParams, + HuntCommentsListOptionalParams, + HuntCommentsListResponse, + HuntCommentsGetOptionalParams, + HuntCommentsGetResponse, + HuntCommentsDeleteOptionalParams, + HuntCommentsCreateOrUpdateOptionalParams, + HuntCommentsCreateOrUpdateResponse, + HuntCommentsListNextResponse, +} from "../models"; + +/// +/** Class containing HuntComments operations. */ +export class HuntCommentsImpl implements HuntComments { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class HuntComments class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all hunt comments + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntCommentsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + huntId, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + huntId, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntCommentsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: HuntCommentsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + huntId, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + huntId, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntCommentsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + huntId, + options, + )) { + yield* page; + } + } + + /** + * Gets all hunt comments + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntCommentsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, options }, + listOperationSpec, + ); + } + + /** + * Gets a hunt comment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + options?: HuntCommentsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, huntCommentId, options }, + getOperationSpec, + ); + } + + /** + * Delete a hunt comment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + options?: HuntCommentsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, huntCommentId, options }, + deleteOperationSpec, + ); + } + + /** + * Creates or updates a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param huntComment The hunt comment + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + huntComment: HuntComment, + options?: HuntCommentsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + huntId, + huntCommentId, + huntComment, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + huntId: string, + nextLink: string, + options?: HuntCommentsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntCommentList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntComment, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntCommentId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntCommentId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.HuntComment, + }, + 201: { + bodyMapper: Mappers.HuntComment, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.huntComment, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntCommentId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntCommentList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/huntRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/huntRelations.ts new file mode 100644 index 000000000000..841679dba06f --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/huntRelations.ts @@ -0,0 +1,372 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { HuntRelations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + HuntRelation, + HuntRelationsListNextOptionalParams, + HuntRelationsListOptionalParams, + HuntRelationsListResponse, + HuntRelationsGetOptionalParams, + HuntRelationsGetResponse, + HuntRelationsDeleteOptionalParams, + HuntRelationsCreateOrUpdateOptionalParams, + HuntRelationsCreateOrUpdateResponse, + HuntRelationsListNextResponse, +} from "../models"; + +/// +/** Class containing HuntRelations operations. */ +export class HuntRelationsImpl implements HuntRelations { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class HuntRelations class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all hunt relations + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntRelationsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + huntId, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + huntId, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntRelationsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: HuntRelationsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + huntId, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + huntId, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntRelationsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + huntId, + options, + )) { + yield* page; + } + } + + /** + * Gets all hunt relations + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntRelationsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, options }, + listOperationSpec, + ); + } + + /** + * Gets a hunt relation + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + options?: HuntRelationsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, huntRelationId, options }, + getOperationSpec, + ); + } + + /** + * Delete a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + options?: HuntRelationsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, huntRelationId, options }, + deleteOperationSpec, + ); + } + + /** + * Creates or updates a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param huntRelation The hunt relation + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + huntRelation: HuntRelation, + options?: HuntRelationsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + huntId, + huntRelationId, + huntRelation, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + huntId: string, + nextLink: string, + options?: HuntRelationsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntRelationList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations/{huntRelationId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntRelation, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntRelationId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations/{huntRelationId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntRelationId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations/{huntRelationId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.HuntRelation, + }, + 201: { + bodyMapper: Mappers.HuntRelation, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.huntRelation, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + Parameters.huntRelationId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntRelationList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/hunts.ts b/sdk/securityinsight/arm-securityinsight/src/operations/hunts.ts new file mode 100644 index 000000000000..aab930d6e79c --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/hunts.ts @@ -0,0 +1,333 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Hunts } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + Hunt, + HuntsListNextOptionalParams, + HuntsListOptionalParams, + HuntsListResponse, + HuntsGetOptionalParams, + HuntsGetResponse, + HuntsDeleteOptionalParams, + HuntsCreateOrUpdateOptionalParams, + HuntsCreateOrUpdateResponse, + HuntsListNextResponse, +} from "../models"; + +/// +/** Class containing Hunts operations. */ +export class HuntsImpl implements Hunts { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class Hunts class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all hunts, without relations and comments. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: HuntsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: HuntsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: HuntsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: HuntsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all hunts, without relations and comments. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: HuntsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a hunt, without relations and comments. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, options }, + getOperationSpec, + ); + } + + /** + * Delete a hunt. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, options }, + deleteOperationSpec, + ); + } + + /** + * Create or update a hunt + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param hunt The hunt + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + hunt: Hunt, + options?: HuntsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, huntId, hunt, options }, + createOrUpdateOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: HuntsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Hunt, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Hunt, + }, + 201: { + bodyMapper: Mappers.Hunt, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.hunt, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.huntId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.HuntList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/iPGeodata.ts b/sdk/securityinsight/arm-securityinsight/src/operations/iPGeodata.ts index 9219973e7167..458c2246c312 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/iPGeodata.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/iPGeodata.ts @@ -34,11 +34,11 @@ export class IPGeodataImpl implements IPGeodata { get( resourceGroupName: string, ipAddress: string, - options?: IPGeodataGetOptionalParams + options?: IPGeodataGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, ipAddress, options }, - getOperationSpec + getOperationSpec, ); } } @@ -46,23 +46,22 @@ export class IPGeodataImpl implements IPGeodata { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/ip/geodata/", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/ip/geodata/", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnrichmentIpGeodata + bodyMapper: Mappers.EnrichmentIpGeodata, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.ipAddress], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/incidentComments.ts b/sdk/securityinsight/arm-securityinsight/src/operations/incidentComments.ts index 739ad280e2d9..5b4b5ae29b88 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/incidentComments.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/incidentComments.ts @@ -23,7 +23,7 @@ import { IncidentCommentsCreateOrUpdateOptionalParams, IncidentCommentsCreateOrUpdateResponse, IncidentCommentsDeleteOptionalParams, - IncidentCommentsListNextResponse + IncidentCommentsListNextResponse, } from "../models"; /// @@ -50,13 +50,13 @@ export class IncidentCommentsImpl implements IncidentComments { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentCommentsListOptionalParams + options?: IncidentCommentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, incidentId, - options + options, ); return { next() { @@ -74,9 +74,9 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName, incidentId, options, - settings + settings, ); - } + }, }; } @@ -85,7 +85,7 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: IncidentCommentsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +94,7 @@ export class IncidentCommentsImpl implements IncidentComments { resourceGroupName, workspaceName, incidentId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +107,7 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName, incidentId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +120,13 @@ export class IncidentCommentsImpl implements IncidentComments { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentCommentsListOptionalParams + options?: IncidentCommentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, incidentId, - options + options, )) { yield* page; } @@ -143,11 +143,11 @@ export class IncidentCommentsImpl implements IncidentComments { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentCommentsListOptionalParams + options?: IncidentCommentsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,7 +164,7 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName: string, incidentId: string, incidentCommentId: string, - options?: IncidentCommentsGetOptionalParams + options?: IncidentCommentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -172,9 +172,9 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName, incidentId, incidentCommentId, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -193,7 +193,7 @@ export class IncidentCommentsImpl implements IncidentComments { incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, - options?: IncidentCommentsCreateOrUpdateOptionalParams + options?: IncidentCommentsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -202,9 +202,9 @@ export class IncidentCommentsImpl implements IncidentComments { incidentId, incidentCommentId, incidentComment, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -221,7 +221,7 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName: string, incidentId: string, incidentCommentId: string, - options?: IncidentCommentsDeleteOptionalParams + options?: IncidentCommentsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -229,9 +229,9 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName, incidentId, incidentCommentId, - options + options, }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -248,11 +248,11 @@ export class IncidentCommentsImpl implements IncidentComments { workspaceName: string, incidentId: string, nextLink: string, - options?: IncidentCommentsListNextOptionalParams + options?: IncidentCommentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -260,45 +260,43 @@ export class IncidentCommentsImpl implements IncidentComments { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IncidentCommentList + bodyMapper: Mappers.IncidentCommentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IncidentComment + bodyMapper: Mappers.IncidentComment, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -307,25 +305,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.incidentCommentId + Parameters.incidentCommentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.IncidentComment + bodyMapper: Mappers.IncidentComment, }, 201: { - bodyMapper: Mappers.IncidentComment + bodyMapper: Mappers.IncidentComment, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.incidentComment, queryParameters: [Parameters.apiVersion], @@ -335,22 +332,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.incidentCommentId + Parameters.incidentCommentId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -359,21 +355,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.incidentCommentId + Parameters.incidentCommentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IncidentCommentList + bodyMapper: Mappers.IncidentCommentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -381,8 +377,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/incidentRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/incidentRelations.ts index 280b5a260cd4..f28a8afc49e1 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/incidentRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/incidentRelations.ts @@ -23,7 +23,7 @@ import { IncidentRelationsCreateOrUpdateOptionalParams, IncidentRelationsCreateOrUpdateResponse, IncidentRelationsDeleteOptionalParams, - IncidentRelationsListNextResponse + IncidentRelationsListNextResponse, } from "../models"; /// @@ -50,13 +50,13 @@ export class IncidentRelationsImpl implements IncidentRelations { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentRelationsListOptionalParams + options?: IncidentRelationsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, incidentId, - options + options, ); return { next() { @@ -74,9 +74,9 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName, incidentId, options, - settings + settings, ); - } + }, }; } @@ -85,7 +85,7 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName: string, incidentId: string, options?: IncidentRelationsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: IncidentRelationsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +94,7 @@ export class IncidentRelationsImpl implements IncidentRelations { resourceGroupName, workspaceName, incidentId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +107,7 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName, incidentId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +120,13 @@ export class IncidentRelationsImpl implements IncidentRelations { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentRelationsListOptionalParams + options?: IncidentRelationsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, incidentId, - options + options, )) { yield* page; } @@ -143,11 +143,11 @@ export class IncidentRelationsImpl implements IncidentRelations { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentRelationsListOptionalParams + options?: IncidentRelationsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +164,11 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName: string, incidentId: string, relationName: string, - options?: IncidentRelationsGetOptionalParams + options?: IncidentRelationsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, relationName, options }, - getOperationSpec + getOperationSpec, ); } @@ -187,7 +187,7 @@ export class IncidentRelationsImpl implements IncidentRelations { incidentId: string, relationName: string, relation: Relation, - options?: IncidentRelationsCreateOrUpdateOptionalParams + options?: IncidentRelationsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -196,9 +196,9 @@ export class IncidentRelationsImpl implements IncidentRelations { incidentId, relationName, relation, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -215,11 +215,11 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName: string, incidentId: string, relationName: string, - options?: IncidentRelationsDeleteOptionalParams + options?: IncidentRelationsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, relationName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -236,11 +236,11 @@ export class IncidentRelationsImpl implements IncidentRelations { workspaceName: string, incidentId: string, nextLink: string, - options?: IncidentRelationsListNextOptionalParams + options?: IncidentRelationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -248,45 +248,43 @@ export class IncidentRelationsImpl implements IncidentRelations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -295,25 +293,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, 201: { - bodyMapper: Mappers.Relation + bodyMapper: Mappers.Relation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.relation, queryParameters: [Parameters.apiVersion], @@ -323,22 +320,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -347,21 +343,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.incidentId, - Parameters.relationName + Parameters.relationName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelationList + bodyMapper: Mappers.RelationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -369,8 +365,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/incidentTasks.ts b/sdk/securityinsight/arm-securityinsight/src/operations/incidentTasks.ts new file mode 100644 index 000000000000..897f3c159a0d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/incidentTasks.ts @@ -0,0 +1,366 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { IncidentTasks } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + IncidentTask, + IncidentTasksListNextOptionalParams, + IncidentTasksListOptionalParams, + IncidentTasksListResponse, + IncidentTasksGetOptionalParams, + IncidentTasksGetResponse, + IncidentTasksCreateOrUpdateOptionalParams, + IncidentTasksCreateOrUpdateResponse, + IncidentTasksDeleteOptionalParams, + IncidentTasksListNextResponse, +} from "../models"; + +/// +/** Class containing IncidentTasks operations. */ +export class IncidentTasksImpl implements IncidentTasks { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class IncidentTasks class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all incident tasks. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + options?: IncidentTasksListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + incidentId, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + incidentId, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + options?: IncidentTasksListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: IncidentTasksListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + incidentId, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + incidentId, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + options?: IncidentTasksListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + incidentId, + options, + )) { + yield* page; + } + } + + /** + * Gets all incident tasks. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + options?: IncidentTasksListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, incidentId, options }, + listOperationSpec, + ); + } + + /** + * Gets an incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + options?: IncidentTasksGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, incidentId, incidentTaskId, options }, + getOperationSpec, + ); + } + + /** + * Creates or updates the incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param incidentTask The incident task + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + incidentTask: IncidentTask, + options?: IncidentTasksCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + incidentId, + incidentTaskId, + incidentTask, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * Delete the incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + options?: IncidentTasksDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, incidentId, incidentTaskId, options }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + nextLink: string, + options?: IncidentTasksListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, incidentId, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IncidentTaskList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.incidentId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IncidentTask, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.incidentId, + Parameters.incidentTaskId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.IncidentTask, + }, + 201: { + bodyMapper: Mappers.IncidentTask, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.incidentTask, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.incidentId, + Parameters.incidentTaskId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.incidentId, + Parameters.incidentTaskId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IncidentTaskList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.incidentId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/incidents.ts b/sdk/securityinsight/arm-securityinsight/src/operations/incidents.ts index f4ed7f0e348b..3de76823951c 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/incidents.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/incidents.ts @@ -25,7 +25,7 @@ import { IncidentsCreateOrUpdateOptionalParams, IncidentsCreateOrUpdateResponse, IncidentsDeleteOptionalParams, - TeamProperties, + TeamInformation, IncidentsCreateTeamOptionalParams, IncidentsCreateTeamResponse, IncidentsListAlertsOptionalParams, @@ -34,7 +34,7 @@ import { IncidentsListBookmarksResponse, IncidentsListEntitiesOptionalParams, IncidentsListEntitiesResponse, - IncidentsListNextResponse + IncidentsListNextResponse, } from "../models"; /// @@ -59,7 +59,7 @@ export class IncidentsImpl implements Incidents { public list( resourceGroupName: string, workspaceName: string, - options?: IncidentsListOptionalParams + options?: IncidentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -77,9 +77,9 @@ export class IncidentsImpl implements Incidents { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -87,7 +87,7 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, options?: IncidentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: IncidentsListResponse; let continuationToken = settings?.continuationToken; @@ -103,7 +103,7 @@ export class IncidentsImpl implements Incidents { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -115,12 +115,12 @@ export class IncidentsImpl implements Incidents { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: IncidentsListOptionalParams + options?: IncidentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -137,11 +137,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentIdentifier: string, - options?: IncidentsRunPlaybookOptionalParams + options?: IncidentsRunPlaybookOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentIdentifier, options }, - runPlaybookOperationSpec + runPlaybookOperationSpec, ); } @@ -154,11 +154,11 @@ export class IncidentsImpl implements Incidents { private _list( resourceGroupName: string, workspaceName: string, - options?: IncidentsListOptionalParams + options?: IncidentsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -173,11 +173,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsGetOptionalParams + options?: IncidentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - getOperationSpec + getOperationSpec, ); } @@ -194,11 +194,11 @@ export class IncidentsImpl implements Incidents { workspaceName: string, incidentId: string, incident: Incident, - options?: IncidentsCreateOrUpdateOptionalParams + options?: IncidentsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, incident, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -213,11 +213,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsDeleteOptionalParams + options?: IncidentsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -234,12 +234,12 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - teamProperties: TeamProperties, - options?: IncidentsCreateTeamOptionalParams + teamProperties: TeamInformation, + options?: IncidentsCreateTeamOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, teamProperties, options }, - createTeamOperationSpec + createTeamOperationSpec, ); } @@ -254,11 +254,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListAlertsOptionalParams + options?: IncidentsListAlertsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - listAlertsOperationSpec + listAlertsOperationSpec, ); } @@ -273,11 +273,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListBookmarksOptionalParams + options?: IncidentsListBookmarksOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - listBookmarksOperationSpec + listBookmarksOperationSpec, ); } @@ -292,11 +292,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListEntitiesOptionalParams + options?: IncidentsListEntitiesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, incidentId, options }, - listEntitiesOperationSpec + listEntitiesOperationSpec, ); } @@ -311,11 +311,11 @@ export class IncidentsImpl implements Incidents { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: IncidentsListNextOptionalParams + options?: IncidentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -323,71 +323,68 @@ export class IncidentsImpl implements Incidents { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const runPlaybookOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentIdentifier}/runPlaybook", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentIdentifier}/runPlaybook", httpMethod: "POST", responses: { 204: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.requestBody, + requestBody: Parameters.requestBody1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentIdentifier + Parameters.incidentIdentifier, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IncidentList + bodyMapper: Mappers.IncidentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Incident + bodyMapper: Mappers.Incident, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -395,25 +392,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Incident + bodyMapper: Mappers.Incident, }, 201: { - bodyMapper: Mappers.Incident + bodyMapper: Mappers.Incident, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.incident, queryParameters: [Parameters.apiVersion], @@ -422,22 +418,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -445,22 +440,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createTeamOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.TeamInformation + bodyMapper: Mappers.TeamInformation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.teamProperties, queryParameters: [Parameters.apiVersion], @@ -469,23 +463,22 @@ const createTeamOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listAlertsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IncidentAlertList + bodyMapper: Mappers.IncidentAlertList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -493,22 +486,21 @@ const listAlertsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBookmarksOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IncidentBookmarkList + bodyMapper: Mappers.IncidentBookmarkList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -516,22 +508,21 @@ const listBookmarksOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listEntitiesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IncidentEntitiesResponse + bodyMapper: Mappers.IncidentEntitiesResponse, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -539,29 +530,29 @@ const listEntitiesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.incidentId + Parameters.incidentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IncidentList + bodyMapper: Mappers.IncidentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/index.ts b/sdk/securityinsight/arm-securityinsight/src/operations/index.ts index 6f66d834535e..4dce772f54bd 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/index.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/index.ts @@ -10,24 +10,40 @@ export * from "./alertRules"; export * from "./actions"; export * from "./alertRuleTemplates"; export * from "./automationRules"; +export * from "./entities"; export * from "./incidents"; +export * from "./billingStatistics"; export * from "./bookmarks"; export * from "./bookmarkRelations"; export * from "./bookmarkOperations"; +export * from "./contentPackages"; +export * from "./contentPackage"; +export * from "./productPackages"; +export * from "./productPackage"; +export * from "./productTemplates"; +export * from "./productTemplate"; +export * from "./contentTemplates"; +export * from "./contentTemplate"; export * from "./iPGeodata"; export * from "./domainWhois"; -export * from "./entities"; export * from "./entitiesGetTimeline"; export * from "./entitiesRelations"; export * from "./entityRelations"; export * from "./entityQueries"; export * from "./entityQueryTemplates"; export * from "./fileImports"; +export * from "./hunts"; +export * from "./huntRelations"; +export * from "./huntComments"; export * from "./incidentComments"; export * from "./incidentRelations"; +export * from "./incidentTasks"; export * from "./metadata"; export * from "./officeConsents"; export * from "./sentinelOnboardingStates"; +export * from "./getRecommendations"; +export * from "./get"; +export * from "./update"; export * from "./securityMLAnalyticsSettings"; export * from "./productSettings"; export * from "./sourceControlOperations"; @@ -35,8 +51,17 @@ export * from "./sourceControls"; export * from "./threatIntelligenceIndicator"; export * from "./threatIntelligenceIndicators"; export * from "./threatIntelligenceIndicatorMetrics"; +export * from "./triggeredAnalyticsRuleRunOperations"; +export * from "./getTriggeredAnalyticsRuleRuns"; +export * from "./alertRuleOperations"; export * from "./watchlists"; export * from "./watchlistItems"; +export * from "./workspaceManagerAssignments"; +export * from "./workspaceManagerAssignmentJobs"; +export * from "./workspaceManagerConfigurations"; +export * from "./workspaceManagerGroups"; +export * from "./workspaceManagerMembers"; +export * from "./dataConnectorDefinitions"; export * from "./dataConnectors"; export * from "./dataConnectorsCheckRequirementsOperations"; export * from "./operations"; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/metadata.ts b/sdk/securityinsight/arm-securityinsight/src/operations/metadata.ts index 13eb2ca4e7df..d35cd4ca1294 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/metadata.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/metadata.ts @@ -26,7 +26,7 @@ import { MetadataPatch, MetadataUpdateOptionalParams, MetadataUpdateResponse, - MetadataListNextResponse + MetadataListNextResponse, } from "../models"; /// @@ -51,7 +51,7 @@ export class MetadataImpl implements Metadata { public list( resourceGroupName: string, workspaceName: string, - options?: MetadataListOptionalParams + options?: MetadataListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -69,9 +69,9 @@ export class MetadataImpl implements Metadata { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -79,7 +79,7 @@ export class MetadataImpl implements Metadata { resourceGroupName: string, workspaceName: string, options?: MetadataListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: MetadataListResponse; let continuationToken = settings?.continuationToken; @@ -95,7 +95,7 @@ export class MetadataImpl implements Metadata { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -107,12 +107,12 @@ export class MetadataImpl implements Metadata { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: MetadataListOptionalParams + options?: MetadataListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -127,11 +127,11 @@ export class MetadataImpl implements Metadata { private _list( resourceGroupName: string, workspaceName: string, - options?: MetadataListOptionalParams + options?: MetadataListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -146,11 +146,11 @@ export class MetadataImpl implements Metadata { resourceGroupName: string, workspaceName: string, metadataName: string, - options?: MetadataGetOptionalParams + options?: MetadataGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, metadataName, options }, - getOperationSpec + getOperationSpec, ); } @@ -165,11 +165,11 @@ export class MetadataImpl implements Metadata { resourceGroupName: string, workspaceName: string, metadataName: string, - options?: MetadataDeleteOptionalParams + options?: MetadataDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, metadataName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -186,11 +186,11 @@ export class MetadataImpl implements Metadata { workspaceName: string, metadataName: string, metadata: MetadataModel, - options?: MetadataCreateOptionalParams + options?: MetadataCreateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, metadataName, metadata, options }, - createOperationSpec + createOperationSpec, ); } @@ -207,7 +207,7 @@ export class MetadataImpl implements Metadata { workspaceName: string, metadataName: string, metadataPatch: MetadataPatch, - options?: MetadataUpdateOptionalParams + options?: MetadataUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -215,9 +215,9 @@ export class MetadataImpl implements Metadata { workspaceName, metadataName, metadataPatch, - options + options, }, - updateOperationSpec + updateOperationSpec, ); } @@ -232,11 +232,11 @@ export class MetadataImpl implements Metadata { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: MetadataListNextOptionalParams + options?: MetadataListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -244,44 +244,42 @@ export class MetadataImpl implements Metadata { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MetadataList + bodyMapper: Mappers.MetadataList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skip + Parameters.skip, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MetadataModel + bodyMapper: Mappers.MetadataModel, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -289,21 +287,20 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.metadataName + Parameters.metadataName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -311,25 +308,24 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.metadataName + Parameters.metadataName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.MetadataModel + bodyMapper: Mappers.MetadataModel, }, 201: { - bodyMapper: Mappers.MetadataModel + bodyMapper: Mappers.MetadataModel, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.metadata, queryParameters: [Parameters.apiVersion], @@ -338,23 +334,22 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.metadataName + Parameters.metadataName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.MetadataModel + bodyMapper: Mappers.MetadataModel, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.metadataPatch, queryParameters: [Parameters.apiVersion], @@ -363,30 +358,30 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.metadataName + Parameters.metadataName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MetadataList + bodyMapper: Mappers.MetadataList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/officeConsents.ts b/sdk/securityinsight/arm-securityinsight/src/operations/officeConsents.ts index ee7a70418524..3913e3c984e7 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/officeConsents.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/officeConsents.ts @@ -21,7 +21,7 @@ import { OfficeConsentsGetOptionalParams, OfficeConsentsGetResponse, OfficeConsentsDeleteOptionalParams, - OfficeConsentsListNextResponse + OfficeConsentsListNextResponse, } from "../models"; /// @@ -46,7 +46,7 @@ export class OfficeConsentsImpl implements OfficeConsents { public list( resourceGroupName: string, workspaceName: string, - options?: OfficeConsentsListOptionalParams + options?: OfficeConsentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -64,9 +64,9 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -74,7 +74,7 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName: string, workspaceName: string, options?: OfficeConsentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: OfficeConsentsListResponse; let continuationToken = settings?.continuationToken; @@ -90,7 +90,7 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -102,12 +102,12 @@ export class OfficeConsentsImpl implements OfficeConsents { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: OfficeConsentsListOptionalParams + options?: OfficeConsentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -122,11 +122,11 @@ export class OfficeConsentsImpl implements OfficeConsents { private _list( resourceGroupName: string, workspaceName: string, - options?: OfficeConsentsListOptionalParams + options?: OfficeConsentsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -141,11 +141,11 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName: string, workspaceName: string, consentId: string, - options?: OfficeConsentsGetOptionalParams + options?: OfficeConsentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, consentId, options }, - getOperationSpec + getOperationSpec, ); } @@ -160,11 +160,11 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName: string, workspaceName: string, consentId: string, - options?: OfficeConsentsDeleteOptionalParams + options?: OfficeConsentsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, consentId, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -179,11 +179,11 @@ export class OfficeConsentsImpl implements OfficeConsents { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: OfficeConsentsListNextOptionalParams + options?: OfficeConsentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -191,38 +191,36 @@ export class OfficeConsentsImpl implements OfficeConsents { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OfficeConsentList + bodyMapper: Mappers.OfficeConsentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OfficeConsent + bodyMapper: Mappers.OfficeConsent, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -230,21 +228,20 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.consentId + Parameters.consentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -252,29 +249,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.consentId + Parameters.consentId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OfficeConsentList + bodyMapper: Mappers.OfficeConsentList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/operations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/operations.ts index bb5947816a4f..c73d381a5e68 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/operations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/operations.ts @@ -18,7 +18,7 @@ import { OperationsListNextOptionalParams, OperationsListOptionalParams, OperationsListResponse, - OperationsListNextResponse + OperationsListNextResponse, } from "../models"; /// @@ -39,7 +39,7 @@ export class OperationsImpl implements Operations { * @param options The options parameters. */ public list( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -54,13 +54,13 @@ export class OperationsImpl implements Operations { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: OperationsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: OperationsListResponse; let continuationToken = settings?.continuationToken; @@ -81,7 +81,7 @@ export class OperationsImpl implements Operations { } private async *listPagingAll( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -93,7 +93,7 @@ export class OperationsImpl implements Operations { * @param options The options parameters. */ private _list( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -105,11 +105,11 @@ export class OperationsImpl implements Operations { */ private _listNext( nextLink: string, - options?: OperationsListNextOptionalParams + options?: OperationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -121,29 +121,29 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OperationsList + bodyMapper: Mappers.OperationsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OperationsList + bodyMapper: Mappers.OperationsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/productPackage.ts b/sdk/securityinsight/arm-securityinsight/src/operations/productPackage.ts new file mode 100644 index 000000000000..d273eced3564 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/productPackage.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ProductPackage } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + ProductPackageGetOptionalParams, + ProductPackageGetResponse, +} from "../models"; + +/** Class containing ProductPackage operations. */ +export class ProductPackageImpl implements ProductPackage { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ProductPackage class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets a package by its identifier from the catalog. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ProductPackageGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, packageId, options }, + getOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages/{packageId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductPackageModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.packageId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/productPackages.ts b/sdk/securityinsight/arm-securityinsight/src/operations/productPackages.ts new file mode 100644 index 000000000000..b8e757373f89 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/productPackages.ts @@ -0,0 +1,205 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ProductPackages } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + ProductPackageModel, + ProductPackagesListNextOptionalParams, + ProductPackagesListOptionalParams, + ProductPackagesListResponse, + ProductPackagesListNextResponse, +} from "../models"; + +/// +/** Class containing ProductPackages operations. */ +export class ProductPackagesImpl implements ProductPackages { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ProductPackages class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all packages from the catalog. + * Expandable properties: + * - properties/installed + * - properties/packagedContent + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ProductPackagesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: ProductPackagesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ProductPackagesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: ProductPackagesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all packages from the catalog. + * Expandable properties: + * - properties/installed + * - properties/packagedContent + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ProductPackagesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: ProductPackagesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductPackageList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductPackageList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/productSettings.ts b/sdk/securityinsight/arm-securityinsight/src/operations/productSettings.ts index b28a78dde724..1ba72f9f8abe 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/productSettings.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/productSettings.ts @@ -19,7 +19,7 @@ import { ProductSettingsDeleteOptionalParams, SettingsUnion, ProductSettingsUpdateOptionalParams, - ProductSettingsUpdateResponse + ProductSettingsUpdateResponse, } from "../models"; /** Class containing ProductSettings operations. */ @@ -43,11 +43,11 @@ export class ProductSettingsImpl implements ProductSettings { list( resourceGroupName: string, workspaceName: string, - options?: ProductSettingsListOptionalParams + options?: ProductSettingsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -62,11 +62,11 @@ export class ProductSettingsImpl implements ProductSettings { resourceGroupName: string, workspaceName: string, settingsName: string, - options?: ProductSettingsGetOptionalParams + options?: ProductSettingsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, settingsName, options }, - getOperationSpec + getOperationSpec, ); } @@ -81,11 +81,11 @@ export class ProductSettingsImpl implements ProductSettings { resourceGroupName: string, workspaceName: string, settingsName: string, - options?: ProductSettingsDeleteOptionalParams + options?: ProductSettingsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, settingsName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -102,11 +102,11 @@ export class ProductSettingsImpl implements ProductSettings { workspaceName: string, settingsName: string, settings: SettingsUnion, - options?: ProductSettingsUpdateOptionalParams + options?: ProductSettingsUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, settingsName, settings, options }, - updateOperationSpec + updateOperationSpec, ); } } @@ -114,38 +114,36 @@ export class ProductSettingsImpl implements ProductSettings { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SettingList + bodyMapper: Mappers.SettingList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Settings + bodyMapper: Mappers.Settings, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -153,21 +151,20 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsName + Parameters.settingsName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -175,22 +172,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsName + Parameters.settingsName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Settings + bodyMapper: Mappers.Settings, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.settings, queryParameters: [Parameters.apiVersion], @@ -199,9 +195,9 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsName + Parameters.settingsName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/productTemplate.ts b/sdk/securityinsight/arm-securityinsight/src/operations/productTemplate.ts new file mode 100644 index 000000000000..671adbb2d77d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/productTemplate.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ProductTemplate } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + ProductTemplateGetOptionalParams, + ProductTemplateGetResponse, +} from "../models"; + +/** Class containing ProductTemplate operations. */ +export class ProductTemplateImpl implements ProductTemplate { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ProductTemplate class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets a template by its identifier. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ProductTemplateGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, templateId, options }, + getOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentproducttemplates/{templateId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductTemplateModel, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.templateId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/productTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operations/productTemplates.ts new file mode 100644 index 000000000000..630c215c951d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/productTemplates.ts @@ -0,0 +1,202 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ProductTemplates } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + ProductTemplateModel, + ProductTemplatesListNextOptionalParams, + ProductTemplatesListOptionalParams, + ProductTemplatesListResponse, + ProductTemplatesListNextResponse, +} from "../models"; + +/// +/** Class containing ProductTemplates operations. */ +export class ProductTemplatesImpl implements ProductTemplates { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class ProductTemplates class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all templates in the catalog. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ProductTemplatesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: ProductTemplatesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ProductTemplatesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: ProductTemplatesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all templates in the catalog. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ProductTemplatesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: ProductTemplatesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductTemplates", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductTemplateList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + Parameters.search, + Parameters.count, + Parameters.skip, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProductTemplateList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/securityMLAnalyticsSettings.ts b/sdk/securityinsight/arm-securityinsight/src/operations/securityMLAnalyticsSettings.ts index e44c11eda5e4..d9b3eeb353b4 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/securityMLAnalyticsSettings.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/securityMLAnalyticsSettings.ts @@ -23,13 +23,14 @@ import { SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams, SecurityMLAnalyticsSettingsCreateOrUpdateResponse, SecurityMLAnalyticsSettingsDeleteOptionalParams, - SecurityMLAnalyticsSettingsListNextResponse + SecurityMLAnalyticsSettingsListNextResponse, } from "../models"; /// /** Class containing SecurityMLAnalyticsSettings operations. */ export class SecurityMLAnalyticsSettingsImpl - implements SecurityMLAnalyticsSettings { + implements SecurityMLAnalyticsSettings +{ private readonly client: SecurityInsights; /** @@ -49,7 +50,7 @@ export class SecurityMLAnalyticsSettingsImpl public list( resourceGroupName: string, workspaceName: string, - options?: SecurityMLAnalyticsSettingsListOptionalParams + options?: SecurityMLAnalyticsSettingsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -67,9 +68,9 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -77,7 +78,7 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName: string, workspaceName: string, options?: SecurityMLAnalyticsSettingsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: SecurityMLAnalyticsSettingsListResponse; let continuationToken = settings?.continuationToken; @@ -93,7 +94,7 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -105,12 +106,12 @@ export class SecurityMLAnalyticsSettingsImpl private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: SecurityMLAnalyticsSettingsListOptionalParams + options?: SecurityMLAnalyticsSettingsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -125,11 +126,11 @@ export class SecurityMLAnalyticsSettingsImpl private _list( resourceGroupName: string, workspaceName: string, - options?: SecurityMLAnalyticsSettingsListOptionalParams + options?: SecurityMLAnalyticsSettingsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -144,11 +145,11 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName: string, workspaceName: string, settingsResourceName: string, - options?: SecurityMLAnalyticsSettingsGetOptionalParams + options?: SecurityMLAnalyticsSettingsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, settingsResourceName, options }, - getOperationSpec + getOperationSpec, ); } @@ -165,7 +166,7 @@ export class SecurityMLAnalyticsSettingsImpl workspaceName: string, settingsResourceName: string, securityMLAnalyticsSetting: SecurityMLAnalyticsSettingUnion, - options?: SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams + options?: SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -173,9 +174,9 @@ export class SecurityMLAnalyticsSettingsImpl workspaceName, settingsResourceName, securityMLAnalyticsSetting, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -190,11 +191,11 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName: string, workspaceName: string, settingsResourceName: string, - options?: SecurityMLAnalyticsSettingsDeleteOptionalParams + options?: SecurityMLAnalyticsSettingsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, settingsResourceName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -209,11 +210,11 @@ export class SecurityMLAnalyticsSettingsImpl resourceGroupName: string, workspaceName: string, nextLink: string, - options?: SecurityMLAnalyticsSettingsListNextOptionalParams + options?: SecurityMLAnalyticsSettingsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -221,38 +222,36 @@ export class SecurityMLAnalyticsSettingsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SecurityMLAnalyticsSettingsList + bodyMapper: Mappers.SecurityMLAnalyticsSettingsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SecurityMLAnalyticsSetting + bodyMapper: Mappers.SecurityMLAnalyticsSetting, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -260,25 +259,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsResourceName + Parameters.settingsResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SecurityMLAnalyticsSetting + bodyMapper: Mappers.SecurityMLAnalyticsSetting, }, 201: { - bodyMapper: Mappers.SecurityMLAnalyticsSetting + bodyMapper: Mappers.SecurityMLAnalyticsSetting, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.securityMLAnalyticsSetting, queryParameters: [Parameters.apiVersion], @@ -287,22 +285,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsResourceName + Parameters.settingsResourceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -310,29 +307,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.settingsResourceName + Parameters.settingsResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SecurityMLAnalyticsSettingsList + bodyMapper: Mappers.SecurityMLAnalyticsSettingsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/sentinelOnboardingStates.ts b/sdk/securityinsight/arm-securityinsight/src/operations/sentinelOnboardingStates.ts index 3694465b4a4e..f7ff525d575d 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/sentinelOnboardingStates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/sentinelOnboardingStates.ts @@ -18,7 +18,7 @@ import { SentinelOnboardingStatesCreateResponse, SentinelOnboardingStatesDeleteOptionalParams, SentinelOnboardingStatesListOptionalParams, - SentinelOnboardingStatesListResponse + SentinelOnboardingStatesListResponse, } from "../models"; /** Class containing SentinelOnboardingStates operations. */ @@ -44,16 +44,16 @@ export class SentinelOnboardingStatesImpl implements SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesGetOptionalParams + options?: SentinelOnboardingStatesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, sentinelOnboardingStateName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -68,16 +68,16 @@ export class SentinelOnboardingStatesImpl implements SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesCreateOptionalParams + options?: SentinelOnboardingStatesCreateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, sentinelOnboardingStateName, - options + options, }, - createOperationSpec + createOperationSpec, ); } @@ -92,16 +92,16 @@ export class SentinelOnboardingStatesImpl implements SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesDeleteOptionalParams + options?: SentinelOnboardingStatesDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, sentinelOnboardingStateName, - options + options, }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -114,11 +114,11 @@ export class SentinelOnboardingStatesImpl implements SentinelOnboardingStates { list( resourceGroupName: string, workspaceName: string, - options?: SentinelOnboardingStatesListOptionalParams + options?: SentinelOnboardingStatesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } } @@ -126,16 +126,15 @@ export class SentinelOnboardingStatesImpl implements SentinelOnboardingStates { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SentinelOnboardingState + bodyMapper: Mappers.SentinelOnboardingState, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -143,25 +142,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sentinelOnboardingStateName + Parameters.sentinelOnboardingStateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SentinelOnboardingState + bodyMapper: Mappers.SentinelOnboardingState, }, 201: { - bodyMapper: Mappers.SentinelOnboardingState + bodyMapper: Mappers.SentinelOnboardingState, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.sentinelOnboardingStateParameter, queryParameters: [Parameters.apiVersion], @@ -170,22 +168,21 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sentinelOnboardingStateName + Parameters.sentinelOnboardingStateName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -193,30 +190,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sentinelOnboardingStateName + Parameters.sentinelOnboardingStateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SentinelOnboardingStatesList + bodyMapper: Mappers.SentinelOnboardingStatesList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/sourceControlOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/sourceControlOperations.ts index 3ec1025708df..66e4c499a99b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/sourceControlOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/sourceControlOperations.ts @@ -15,11 +15,11 @@ import * as Parameters from "../models/parameters"; import { SecurityInsights } from "../securityInsights"; import { Repo, - RepoType, + RepositoryAccessProperties, SourceControlListRepositoriesNextOptionalParams, SourceControlListRepositoriesOptionalParams, SourceControlListRepositoriesResponse, - SourceControlListRepositoriesNextResponse + SourceControlListRepositoriesNextResponse, } from "../models"; /// @@ -39,20 +39,20 @@ export class SourceControlOperationsImpl implements SourceControlOperations { * Gets a list of repositories metadata. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. - * @param repoType The repo type. + * @param repositoryAccess The repository access credentials. * @param options The options parameters. */ public listRepositories( resourceGroupName: string, workspaceName: string, - repoType: RepoType, - options?: SourceControlListRepositoriesOptionalParams + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlListRepositoriesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listRepositoriesPagingAll( resourceGroupName, workspaceName, - repoType, - options + repositoryAccess, + options, ); return { next() { @@ -68,20 +68,20 @@ export class SourceControlOperationsImpl implements SourceControlOperations { return this.listRepositoriesPagingPage( resourceGroupName, workspaceName, - repoType, + repositoryAccess, options, - settings + settings, ); - } + }, }; } private async *listRepositoriesPagingPage( resourceGroupName: string, workspaceName: string, - repoType: RepoType, + repositoryAccess: RepositoryAccessProperties, options?: SourceControlListRepositoriesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: SourceControlListRepositoriesResponse; let continuationToken = settings?.continuationToken; @@ -89,8 +89,8 @@ export class SourceControlOperationsImpl implements SourceControlOperations { result = await this._listRepositories( resourceGroupName, workspaceName, - repoType, - options + repositoryAccess, + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -101,9 +101,9 @@ export class SourceControlOperationsImpl implements SourceControlOperations { result = await this._listRepositoriesNext( resourceGroupName, workspaceName, - repoType, + repositoryAccess, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -115,14 +115,14 @@ export class SourceControlOperationsImpl implements SourceControlOperations { private async *listRepositoriesPagingAll( resourceGroupName: string, workspaceName: string, - repoType: RepoType, - options?: SourceControlListRepositoriesOptionalParams + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlListRepositoriesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listRepositoriesPagingPage( resourceGroupName, workspaceName, - repoType, - options + repositoryAccess, + options, )) { yield* page; } @@ -132,18 +132,18 @@ export class SourceControlOperationsImpl implements SourceControlOperations { * Gets a list of repositories metadata. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. - * @param repoType The repo type. + * @param repositoryAccess The repository access credentials. * @param options The options parameters. */ private _listRepositories( resourceGroupName: string, workspaceName: string, - repoType: RepoType, - options?: SourceControlListRepositoriesOptionalParams + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlListRepositoriesOptionalParams, ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, repoType, options }, - listRepositoriesOperationSpec + { resourceGroupName, workspaceName, repositoryAccess, options }, + listRepositoriesOperationSpec, ); } @@ -151,20 +151,20 @@ export class SourceControlOperationsImpl implements SourceControlOperations { * ListRepositoriesNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. - * @param repoType The repo type. + * @param repositoryAccess The repository access credentials. * @param nextLink The nextLink from the previous successful call to the ListRepositories method. * @param options The options parameters. */ private _listRepositoriesNext( resourceGroupName: string, workspaceName: string, - repoType: RepoType, + repositoryAccess: RepositoryAccessProperties, nextLink: string, - options?: SourceControlListRepositoriesNextOptionalParams + options?: SourceControlListRepositoriesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, repoType, nextLink, options }, - listRepositoriesNextOperationSpec + { resourceGroupName, workspaceName, repositoryAccess, nextLink, options }, + listRepositoriesNextOperationSpec, ); } } @@ -172,48 +172,47 @@ export class SourceControlOperationsImpl implements SourceControlOperations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listRepositoriesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.RepoList + bodyMapper: Mappers.RepoList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.repoType, + requestBody: Parameters.repositoryAccess, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listRepositoriesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RepoList + bodyMapper: Mappers.RepoList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/sourceControls.ts b/sdk/securityinsight/arm-securityinsight/src/operations/sourceControls.ts index ca0870585015..1e118e8026a3 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/sourceControls.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/sourceControls.ts @@ -20,10 +20,12 @@ import { SourceControlsListResponse, SourceControlsGetOptionalParams, SourceControlsGetResponse, - SourceControlsDeleteOptionalParams, SourceControlsCreateOptionalParams, SourceControlsCreateResponse, - SourceControlsListNextResponse + RepositoryAccessProperties, + SourceControlsDeleteOptionalParams, + SourceControlsDeleteResponse, + SourceControlsListNextResponse, } from "../models"; /// @@ -48,7 +50,7 @@ export class SourceControlsImpl implements SourceControls { public list( resourceGroupName: string, workspaceName: string, - options?: SourceControlsListOptionalParams + options?: SourceControlsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +68,9 @@ export class SourceControlsImpl implements SourceControls { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +78,7 @@ export class SourceControlsImpl implements SourceControls { resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: SourceControlsListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +94,7 @@ export class SourceControlsImpl implements SourceControls { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +106,12 @@ export class SourceControlsImpl implements SourceControls { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: SourceControlsListOptionalParams + options?: SourceControlsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +126,11 @@ export class SourceControlsImpl implements SourceControls { private _list( resourceGroupName: string, workspaceName: string, - options?: SourceControlsListOptionalParams + options?: SourceControlsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,57 +145,65 @@ export class SourceControlsImpl implements SourceControls { resourceGroupName: string, workspaceName: string, sourceControlId: string, - options?: SourceControlsGetOptionalParams + options?: SourceControlsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, sourceControlId, options }, - getOperationSpec + getOperationSpec, ); } /** - * Delete a source control. + * Creates a source control. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param sourceControlId Source control Id + * @param sourceControl The SourceControl * @param options The options parameters. */ - delete( + create( resourceGroupName: string, workspaceName: string, sourceControlId: string, - options?: SourceControlsDeleteOptionalParams - ): Promise { + sourceControl: SourceControl, + options?: SourceControlsCreateOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, sourceControlId, options }, - deleteOperationSpec + { + resourceGroupName, + workspaceName, + sourceControlId, + sourceControl, + options, + }, + createOperationSpec, ); } /** - * Creates a source control. + * Delete a source control. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param sourceControlId Source control Id - * @param sourceControl The SourceControl + * @param repositoryAccess The repository access credentials. * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, sourceControlId: string, - sourceControl: SourceControl, - options?: SourceControlsCreateOptionalParams - ): Promise { + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, sourceControlId, - sourceControl, - options + repositoryAccess, + options, }, - createOperationSpec + deleteOperationSpec, ); } @@ -208,11 +218,11 @@ export class SourceControlsImpl implements SourceControls { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: SourceControlsListNextOptionalParams + options?: SourceControlsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -220,38 +230,36 @@ export class SourceControlsImpl implements SourceControls { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControlList + bodyMapper: Mappers.SourceControlList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControl + bodyMapper: Mappers.SourceControl, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -259,79 +267,80 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sourceControlId + Parameters.sourceControlId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", - httpMethod: "DELETE", +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", + httpMethod: "PUT", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.SourceControl, + }, + 201: { + bodyMapper: Mappers.SourceControl, + }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, + requestBody: Parameters.sourceControl, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sourceControlId + Parameters.sourceControlId, ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", - httpMethod: "PUT", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}/delete", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SourceControl - }, - 201: { - bodyMapper: Mappers.SourceControl + bodyMapper: Mappers.Warning, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, - requestBody: Parameters.sourceControl, + requestBody: Parameters.repositoryAccess, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.sourceControlId + Parameters.sourceControlId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControlList + bodyMapper: Mappers.SourceControlList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicator.ts b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicator.ts index e753b93e1b87..4d69a0f8fe3b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicator.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicator.ts @@ -31,13 +31,14 @@ import { ThreatIntelligenceIndicatorAppendTagsOptionalParams, ThreatIntelligenceIndicatorReplaceTagsOptionalParams, ThreatIntelligenceIndicatorReplaceTagsResponse, - ThreatIntelligenceIndicatorQueryIndicatorsNextResponse + ThreatIntelligenceIndicatorQueryIndicatorsNextResponse, } from "../models"; /// /** Class containing ThreatIntelligenceIndicator operations. */ export class ThreatIntelligenceIndicatorImpl - implements ThreatIntelligenceIndicator { + implements ThreatIntelligenceIndicator +{ private readonly client: SecurityInsights; /** @@ -60,13 +61,13 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, - options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams + options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.queryIndicatorsPagingAll( resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, - options + options, ); return { next() { @@ -84,9 +85,9 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, threatIntelligenceFilteringCriteria, options, - settings + settings, ); - } + }, }; } @@ -95,7 +96,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ThreatIntelligenceIndicatorQueryIndicatorsResponse; let continuationToken = settings?.continuationToken; @@ -104,7 +105,7 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -117,7 +118,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, threatIntelligenceFilteringCriteria, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -130,13 +131,13 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, - options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams + options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, ): AsyncIterableIterator { for await (const page of this.queryIndicatorsPagingPage( resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, - options + options, )) { yield* page; } @@ -154,16 +155,16 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams + options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, threatIntelligenceProperties, - options + options, }, - createIndicatorOperationSpec + createIndicatorOperationSpec, ); } @@ -178,11 +179,11 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, name: string, - options?: ThreatIntelligenceIndicatorGetOptionalParams + options?: ThreatIntelligenceIndicatorGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -200,7 +201,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName: string, name: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorCreateOptionalParams + options?: ThreatIntelligenceIndicatorCreateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -208,9 +209,9 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, name, threatIntelligenceProperties, - options + options, }, - createOperationSpec + createOperationSpec, ); } @@ -225,11 +226,11 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, name: string, - options?: ThreatIntelligenceIndicatorDeleteOptionalParams + options?: ThreatIntelligenceIndicatorDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -245,16 +246,16 @@ export class ThreatIntelligenceIndicatorImpl resourceGroupName: string, workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, - options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams + options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, - options + options, }, - queryIndicatorsOperationSpec + queryIndicatorsOperationSpec, ); } @@ -271,7 +272,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName: string, name: string, threatIntelligenceAppendTags: ThreatIntelligenceAppendTags, - options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams + options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -279,9 +280,9 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, name, threatIntelligenceAppendTags, - options + options, }, - appendTagsOperationSpec + appendTagsOperationSpec, ); } @@ -298,7 +299,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName: string, name: string, threatIntelligenceReplaceTags: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams + options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -306,9 +307,9 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, name, threatIntelligenceReplaceTags, - options + options, }, - replaceTagsOperationSpec + replaceTagsOperationSpec, ); } @@ -326,7 +327,7 @@ export class ThreatIntelligenceIndicatorImpl workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, nextLink: string, - options?: ThreatIntelligenceIndicatorQueryIndicatorsNextOptionalParams + options?: ThreatIntelligenceIndicatorQueryIndicatorsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -334,9 +335,9 @@ export class ThreatIntelligenceIndicatorImpl workspaceName, threatIntelligenceFilteringCriteria, nextLink, - options + options, }, - queryIndicatorsNextOperationSpec + queryIndicatorsNextOperationSpec, ); } } @@ -344,19 +345,18 @@ export class ThreatIntelligenceIndicatorImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const createIndicatorOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, 201: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.threatIntelligenceProperties, queryParameters: [Parameters.apiVersion], @@ -364,23 +364,22 @@ const createIndicatorOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -388,25 +387,24 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, 201: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.threatIntelligenceProperties, queryParameters: [Parameters.apiVersion], @@ -415,22 +413,21 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -438,22 +435,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const queryIndicatorsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformationList + bodyMapper: Mappers.ThreatIntelligenceInformationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.threatIntelligenceFilteringCriteria, queryParameters: [Parameters.apiVersion], @@ -461,21 +457,20 @@ const queryIndicatorsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const appendTagsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.threatIntelligenceAppendTags, queryParameters: [Parameters.apiVersion], @@ -484,23 +479,22 @@ const appendTagsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const replaceTagsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformation + bodyMapper: Mappers.ThreatIntelligenceInformation, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.threatIntelligenceReplaceTags, queryParameters: [Parameters.apiVersion], @@ -509,31 +503,31 @@ const replaceTagsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const queryIndicatorsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformationList + bodyMapper: Mappers.ThreatIntelligenceInformationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicatorMetrics.ts b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicatorMetrics.ts index fa1a50561ed1..b044af825aa2 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicatorMetrics.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicatorMetrics.ts @@ -13,12 +13,13 @@ import * as Parameters from "../models/parameters"; import { SecurityInsights } from "../securityInsights"; import { ThreatIntelligenceIndicatorMetricsListOptionalParams, - ThreatIntelligenceIndicatorMetricsListResponse + ThreatIntelligenceIndicatorMetricsListResponse, } from "../models"; /** Class containing ThreatIntelligenceIndicatorMetrics operations. */ export class ThreatIntelligenceIndicatorMetricsImpl - implements ThreatIntelligenceIndicatorMetrics { + implements ThreatIntelligenceIndicatorMetrics +{ private readonly client: SecurityInsights; /** @@ -38,11 +39,11 @@ export class ThreatIntelligenceIndicatorMetricsImpl list( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorMetricsListOptionalParams + options?: ThreatIntelligenceIndicatorMetricsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } } @@ -50,24 +51,23 @@ export class ThreatIntelligenceIndicatorMetricsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceMetricsList + bodyMapper: Mappers.ThreatIntelligenceMetricsList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicators.ts b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicators.ts index e91f2583c13f..9f9be4076f2c 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicators.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/threatIntelligenceIndicators.ts @@ -18,13 +18,14 @@ import { ThreatIntelligenceIndicatorsListNextOptionalParams, ThreatIntelligenceIndicatorsListOptionalParams, ThreatIntelligenceIndicatorsListResponse, - ThreatIntelligenceIndicatorsListNextResponse + ThreatIntelligenceIndicatorsListNextResponse, } from "../models"; /// /** Class containing ThreatIntelligenceIndicators operations. */ export class ThreatIntelligenceIndicatorsImpl - implements ThreatIntelligenceIndicators { + implements ThreatIntelligenceIndicators +{ private readonly client: SecurityInsights; /** @@ -44,7 +45,7 @@ export class ThreatIntelligenceIndicatorsImpl public list( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorsListOptionalParams + options?: ThreatIntelligenceIndicatorsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -62,9 +63,9 @@ export class ThreatIntelligenceIndicatorsImpl resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -72,7 +73,7 @@ export class ThreatIntelligenceIndicatorsImpl resourceGroupName: string, workspaceName: string, options?: ThreatIntelligenceIndicatorsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ThreatIntelligenceIndicatorsListResponse; let continuationToken = settings?.continuationToken; @@ -88,7 +89,7 @@ export class ThreatIntelligenceIndicatorsImpl resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -100,12 +101,12 @@ export class ThreatIntelligenceIndicatorsImpl private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorsListOptionalParams + options?: ThreatIntelligenceIndicatorsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -120,11 +121,11 @@ export class ThreatIntelligenceIndicatorsImpl private _list( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorsListOptionalParams + options?: ThreatIntelligenceIndicatorsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -139,11 +140,11 @@ export class ThreatIntelligenceIndicatorsImpl resourceGroupName: string, workspaceName: string, nextLink: string, - options?: ThreatIntelligenceIndicatorsListNextOptionalParams + options?: ThreatIntelligenceIndicatorsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -151,51 +152,50 @@ export class ThreatIntelligenceIndicatorsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformationList + bodyMapper: Mappers.ThreatIntelligenceInformationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.top, - Parameters.skipToken + Parameters.skipToken, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ThreatIntelligenceInformationList + bodyMapper: Mappers.ThreatIntelligenceInformationList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/triggeredAnalyticsRuleRunOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/triggeredAnalyticsRuleRunOperations.ts new file mode 100644 index 000000000000..843c675c54fa --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/triggeredAnalyticsRuleRunOperations.ts @@ -0,0 +1,76 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { TriggeredAnalyticsRuleRunOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + TriggeredAnalyticsRuleRunGetOptionalParams, + TriggeredAnalyticsRuleRunGetResponse, +} from "../models"; + +/** Class containing TriggeredAnalyticsRuleRunOperations operations. */ +export class TriggeredAnalyticsRuleRunOperationsImpl + implements TriggeredAnalyticsRuleRunOperations +{ + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class TriggeredAnalyticsRuleRunOperations class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets the triggered analytics rule run. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleRunId the triggered rule id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + ruleRunId: string, + options?: TriggeredAnalyticsRuleRunGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, ruleRunId, options }, + getOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/triggeredAnalyticsRuleRuns/{ruleRunId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TriggeredAnalyticsRuleRun, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleRunId, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/update.ts b/sdk/securityinsight/arm-securityinsight/src/operations/update.ts new file mode 100644 index 000000000000..aaec3d401c5c --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/update.ts @@ -0,0 +1,178 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { Update } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RecommendationPatch, + UpdateRecommendationOptionalParams, + UpdateRecommendationResponse, +} from "../models"; + +/** Class containing Update operations. */ +export class UpdateImpl implements Update { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class Update class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Patch a recommendation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param recommendationPatch Recommendation Fields to Update. + * @param options The options parameters. + */ + async beginRecommendation( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + recommendationPatch: RecommendationPatch[], + options?: UpdateRecommendationOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + UpdateRecommendationResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + recommendationId, + recommendationPatch, + options, + }, + spec: recommendationOperationSpec, + }); + const poller = await createHttpPoller< + UpdateRecommendationResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Patch a recommendation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param recommendationPatch Recommendation Fields to Update. + * @param options The options parameters. + */ + async beginRecommendationAndWait( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + recommendationPatch: RecommendationPatch[], + options?: UpdateRecommendationOptionalParams, + ): Promise { + const poller = await this.beginRecommendation( + resourceGroupName, + workspaceName, + recommendationId, + recommendationPatch, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const recommendationOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Recommendation, + }, + 201: { + bodyMapper: Mappers.Recommendation, + }, + 202: { + bodyMapper: Mappers.Recommendation, + }, + 204: { + bodyMapper: Mappers.Recommendation, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.recommendationPatch, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.recommendationId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/watchlistItems.ts b/sdk/securityinsight/arm-securityinsight/src/operations/watchlistItems.ts index 666a4319eeb6..0a1c289e5db1 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/watchlistItems.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/watchlistItems.ts @@ -23,7 +23,7 @@ import { WatchlistItemsDeleteOptionalParams, WatchlistItemsCreateOrUpdateOptionalParams, WatchlistItemsCreateOrUpdateResponse, - WatchlistItemsListNextResponse + WatchlistItemsListNextResponse, } from "../models"; /// @@ -50,13 +50,13 @@ export class WatchlistItemsImpl implements WatchlistItems { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistItemsListOptionalParams + options?: WatchlistItemsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, watchlistAlias, - options + options, ); return { next() { @@ -74,9 +74,9 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName, watchlistAlias, options, - settings + settings, ); - } + }, }; } @@ -85,7 +85,7 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName: string, watchlistAlias: string, options?: WatchlistItemsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WatchlistItemsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +94,7 @@ export class WatchlistItemsImpl implements WatchlistItems { resourceGroupName, workspaceName, watchlistAlias, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +107,7 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName, watchlistAlias, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +120,13 @@ export class WatchlistItemsImpl implements WatchlistItems { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistItemsListOptionalParams + options?: WatchlistItemsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, watchlistAlias, - options + options, )) { yield* page; } @@ -143,11 +143,11 @@ export class WatchlistItemsImpl implements WatchlistItems { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistItemsListOptionalParams + options?: WatchlistItemsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, watchlistAlias, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,7 +164,7 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName: string, watchlistAlias: string, watchlistItemId: string, - options?: WatchlistItemsGetOptionalParams + options?: WatchlistItemsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -172,9 +172,9 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName, watchlistAlias, watchlistItemId, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -191,7 +191,7 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName: string, watchlistAlias: string, watchlistItemId: string, - options?: WatchlistItemsDeleteOptionalParams + options?: WatchlistItemsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -199,9 +199,9 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName, watchlistAlias, watchlistItemId, - options + options, }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -220,7 +220,7 @@ export class WatchlistItemsImpl implements WatchlistItems { watchlistAlias: string, watchlistItemId: string, watchlistItem: WatchlistItem, - options?: WatchlistItemsCreateOrUpdateOptionalParams + options?: WatchlistItemsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -229,9 +229,9 @@ export class WatchlistItemsImpl implements WatchlistItems { watchlistAlias, watchlistItemId, watchlistItem, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -248,11 +248,11 @@ export class WatchlistItemsImpl implements WatchlistItems { workspaceName: string, watchlistAlias: string, nextLink: string, - options?: WatchlistItemsListNextOptionalParams + options?: WatchlistItemsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, watchlistAlias, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -260,16 +260,15 @@ export class WatchlistItemsImpl implements WatchlistItems { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WatchlistItemList + bodyMapper: Mappers.WatchlistItemList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skipToken], urlParameters: [ @@ -277,22 +276,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.watchlistAlias + Parameters.watchlistAlias, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WatchlistItem + bodyMapper: Mappers.WatchlistItem, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -301,21 +299,20 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.watchlistAlias, - Parameters.watchlistItemId + Parameters.watchlistItemId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -324,25 +321,24 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.watchlistAlias, - Parameters.watchlistItemId + Parameters.watchlistItemId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WatchlistItem + bodyMapper: Mappers.WatchlistItem, }, 201: { - bodyMapper: Mappers.WatchlistItem + bodyMapper: Mappers.WatchlistItem, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.watchlistItem, queryParameters: [Parameters.apiVersion], @@ -352,22 +348,22 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.watchlistAlias, - Parameters.watchlistItemId + Parameters.watchlistItemId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WatchlistItemList + bodyMapper: Mappers.WatchlistItemList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, @@ -375,8 +371,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.watchlistAlias + Parameters.watchlistAlias, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/watchlists.ts b/sdk/securityinsight/arm-securityinsight/src/operations/watchlists.ts index 3a83914f06c7..41788af16378 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operations/watchlists.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operations/watchlists.ts @@ -24,7 +24,7 @@ import { WatchlistsDeleteResponse, WatchlistsCreateOrUpdateOptionalParams, WatchlistsCreateOrUpdateResponse, - WatchlistsListNextResponse + WatchlistsListNextResponse, } from "../models"; /// @@ -49,7 +49,7 @@ export class WatchlistsImpl implements Watchlists { public list( resourceGroupName: string, workspaceName: string, - options?: WatchlistsListOptionalParams + options?: WatchlistsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -67,9 +67,9 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -77,7 +77,7 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName: string, workspaceName: string, options?: WatchlistsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WatchlistsListResponse; let continuationToken = settings?.continuationToken; @@ -93,7 +93,7 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -105,12 +105,12 @@ export class WatchlistsImpl implements Watchlists { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: WatchlistsListOptionalParams + options?: WatchlistsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -125,11 +125,11 @@ export class WatchlistsImpl implements Watchlists { private _list( resourceGroupName: string, workspaceName: string, - options?: WatchlistsListOptionalParams + options?: WatchlistsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -144,11 +144,11 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistsGetOptionalParams + options?: WatchlistsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, watchlistAlias, options }, - getOperationSpec + getOperationSpec, ); } @@ -163,11 +163,11 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistsDeleteOptionalParams + options?: WatchlistsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, watchlistAlias, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -189,11 +189,11 @@ export class WatchlistsImpl implements Watchlists { workspaceName: string, watchlistAlias: string, watchlist: Watchlist, - options?: WatchlistsCreateOrUpdateOptionalParams + options?: WatchlistsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, watchlistAlias, watchlist, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -208,11 +208,11 @@ export class WatchlistsImpl implements Watchlists { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: WatchlistsListNextOptionalParams + options?: WatchlistsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -220,38 +220,36 @@ export class WatchlistsImpl implements Watchlists { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WatchlistList + bodyMapper: Mappers.WatchlistList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skipToken], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Watchlist + bodyMapper: Mappers.Watchlist, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -259,23 +257,22 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.watchlistAlias + Parameters.watchlistAlias, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", httpMethod: "DELETE", responses: { 200: { - headersMapper: Mappers.WatchlistsDeleteHeaders + headersMapper: Mappers.WatchlistsDeleteHeaders, }, 204: {}, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -283,26 +280,25 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.watchlistAlias + Parameters.watchlistAlias, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Watchlist + bodyMapper: Mappers.Watchlist, }, 201: { bodyMapper: Mappers.Watchlist, - headersMapper: Mappers.WatchlistsCreateOrUpdateHeaders + headersMapper: Mappers.WatchlistsCreateOrUpdateHeaders, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, requestBody: Parameters.watchlist, queryParameters: [Parameters.apiVersion], @@ -311,30 +307,30 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.watchlistAlias + Parameters.watchlistAlias, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WatchlistList + bodyMapper: Mappers.WatchlistList, }, default: { - bodyMapper: Mappers.CloudError - } + bodyMapper: Mappers.CloudError, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignmentJobs.ts b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignmentJobs.ts new file mode 100644 index 000000000000..04f2e35a36d2 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignmentJobs.ts @@ -0,0 +1,384 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { WorkspaceManagerAssignmentJobs } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + Job, + WorkspaceManagerAssignmentJobsListNextOptionalParams, + WorkspaceManagerAssignmentJobsListOptionalParams, + WorkspaceManagerAssignmentJobsListResponse, + WorkspaceManagerAssignmentJobsCreateOptionalParams, + WorkspaceManagerAssignmentJobsCreateResponse, + WorkspaceManagerAssignmentJobsGetOptionalParams, + WorkspaceManagerAssignmentJobsGetResponse, + WorkspaceManagerAssignmentJobsDeleteOptionalParams, + WorkspaceManagerAssignmentJobsListNextResponse, +} from "../models"; + +/// +/** Class containing WorkspaceManagerAssignmentJobs operations. */ +export class WorkspaceManagerAssignmentJobsImpl + implements WorkspaceManagerAssignmentJobs +{ + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class WorkspaceManagerAssignmentJobs class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Get all jobs for the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WorkspaceManagerAssignmentJobsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + )) { + yield* page; + } + } + + /** + * Get all jobs for the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + }, + listOperationSpec, + ); + } + + /** + * Create a job for the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + create( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsCreateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + }, + createOperationSpec, + ); + } + + /** + * Gets a job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param jobName The job name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + jobName: string, + options?: WorkspaceManagerAssignmentJobsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + jobName, + options, + }, + getOperationSpec, + ); + } + + /** + * Deletes the specified job from the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param jobName The job name + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + jobName: string, + options?: WorkspaceManagerAssignmentJobsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + jobName, + options, + }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + nextLink: string, + options?: WorkspaceManagerAssignmentJobsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}/jobs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}/jobs", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.Job, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}/jobs/{jobName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Job, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + Parameters.jobName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}/jobs/{jobName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + Parameters.jobName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignments.ts b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignments.ts new file mode 100644 index 000000000000..7e8e9834f607 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerAssignments.ts @@ -0,0 +1,350 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { WorkspaceManagerAssignments } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + WorkspaceManagerAssignment, + WorkspaceManagerAssignmentsListNextOptionalParams, + WorkspaceManagerAssignmentsListOptionalParams, + WorkspaceManagerAssignmentsListResponse, + WorkspaceManagerAssignmentsGetOptionalParams, + WorkspaceManagerAssignmentsGetResponse, + WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams, + WorkspaceManagerAssignmentsCreateOrUpdateResponse, + WorkspaceManagerAssignmentsDeleteOptionalParams, + WorkspaceManagerAssignmentsListNextResponse, +} from "../models"; + +/// +/** Class containing WorkspaceManagerAssignments operations. */ +export class WorkspaceManagerAssignmentsImpl + implements WorkspaceManagerAssignments +{ + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class WorkspaceManagerAssignments class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Get all workspace manager assignments for the Sentinel workspace manager. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerAssignmentsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerAssignmentsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WorkspaceManagerAssignmentsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerAssignmentsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get all workspace manager assignments for the Sentinel workspace manager. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerAssignmentsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + }, + getOperationSpec, + ); + } + + /** + * Creates or updates a workspace manager assignment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param workspaceManagerAssignment The workspace manager assignment + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + workspaceManagerAssignment: WorkspaceManagerAssignment, + options?: WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + workspaceManagerAssignment, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * Deletes a workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerAssignmentName, + options, + }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: WorkspaceManagerAssignmentsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerAssignmentList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerAssignment, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerAssignment, + }, + 201: { + bodyMapper: Mappers.WorkspaceManagerAssignment, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.workspaceManagerAssignment, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/{workspaceManagerAssignmentName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerAssignmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerAssignmentList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerConfigurations.ts b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerConfigurations.ts new file mode 100644 index 000000000000..a090869895a3 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerConfigurations.ts @@ -0,0 +1,350 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { WorkspaceManagerConfigurations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + WorkspaceManagerConfiguration, + WorkspaceManagerConfigurationsListNextOptionalParams, + WorkspaceManagerConfigurationsListOptionalParams, + WorkspaceManagerConfigurationsListResponse, + WorkspaceManagerConfigurationsGetOptionalParams, + WorkspaceManagerConfigurationsGetResponse, + WorkspaceManagerConfigurationsDeleteOptionalParams, + WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams, + WorkspaceManagerConfigurationsCreateOrUpdateResponse, + WorkspaceManagerConfigurationsListNextResponse, +} from "../models"; + +/// +/** Class containing WorkspaceManagerConfigurations operations. */ +export class WorkspaceManagerConfigurationsImpl + implements WorkspaceManagerConfigurations +{ + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class WorkspaceManagerConfigurations class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all workspace manager configurations for a Sentinel workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerConfigurationsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerConfigurationsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WorkspaceManagerConfigurationsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerConfigurationsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all workspace manager configurations for a Sentinel workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerConfigurationsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a workspace manager configuration + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + options?: WorkspaceManagerConfigurationsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerConfigurationName, + options, + }, + getOperationSpec, + ); + } + + /** + * Deletes a workspace manager configuration + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + options?: WorkspaceManagerConfigurationsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerConfigurationName, + options, + }, + deleteOperationSpec, + ); + } + + /** + * Creates or updates a workspace manager configuration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param workspaceManagerConfiguration The workspace manager configuration + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + workspaceManagerConfiguration: WorkspaceManagerConfiguration, + options?: WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerConfigurationName, + workspaceManagerConfiguration, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: WorkspaceManagerConfigurationsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerConfigurations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerConfigurationList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerConfigurations/{workspaceManagerConfigurationName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerConfiguration, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerConfigurationName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerConfigurations/{workspaceManagerConfigurationName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerConfigurationName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerConfigurations/{workspaceManagerConfigurationName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerConfiguration, + }, + 201: { + bodyMapper: Mappers.WorkspaceManagerConfiguration, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.workspaceManagerConfiguration, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerConfigurationName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerConfigurationList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerGroups.ts b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerGroups.ts new file mode 100644 index 000000000000..edd3a21d9890 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerGroups.ts @@ -0,0 +1,338 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { WorkspaceManagerGroups } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + WorkspaceManagerGroup, + WorkspaceManagerGroupsListNextOptionalParams, + WorkspaceManagerGroupsListOptionalParams, + WorkspaceManagerGroupsListResponse, + WorkspaceManagerGroupsGetOptionalParams, + WorkspaceManagerGroupsGetResponse, + WorkspaceManagerGroupsCreateOrUpdateOptionalParams, + WorkspaceManagerGroupsCreateOrUpdateResponse, + WorkspaceManagerGroupsDeleteOptionalParams, + WorkspaceManagerGroupsListNextResponse, +} from "../models"; + +/// +/** Class containing WorkspaceManagerGroups operations. */ +export class WorkspaceManagerGroupsImpl implements WorkspaceManagerGroups { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class WorkspaceManagerGroups class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all workspace manager groups in the Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerGroupsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerGroupsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WorkspaceManagerGroupsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerGroupsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all workspace manager groups in the Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerGroupsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a workspace manager group + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + options?: WorkspaceManagerGroupsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, workspaceManagerGroupName, options }, + getOperationSpec, + ); + } + + /** + * Creates or updates a workspace manager group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param workspaceManagerGroup The workspace manager group object + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + workspaceManagerGroup: WorkspaceManagerGroup, + options?: WorkspaceManagerGroupsCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerGroupName, + workspaceManagerGroup, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * Deletes a workspace manager group + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + options?: WorkspaceManagerGroupsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, workspaceManagerGroupName, options }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: WorkspaceManagerGroupsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerGroups", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerGroupList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerGroups/{workspaceManagerGroupName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerGroup, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerGroups/{workspaceManagerGroupName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerGroup, + }, + 201: { + bodyMapper: Mappers.WorkspaceManagerGroup, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.workspaceManagerGroup, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerGroupName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerGroups/{workspaceManagerGroupName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerGroupList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerMembers.ts b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerMembers.ts new file mode 100644 index 000000000000..d3a95bd9c3cd --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operations/workspaceManagerMembers.ts @@ -0,0 +1,338 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { WorkspaceManagerMembers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SecurityInsights } from "../securityInsights"; +import { + WorkspaceManagerMember, + WorkspaceManagerMembersListNextOptionalParams, + WorkspaceManagerMembersListOptionalParams, + WorkspaceManagerMembersListResponse, + WorkspaceManagerMembersGetOptionalParams, + WorkspaceManagerMembersGetResponse, + WorkspaceManagerMembersCreateOrUpdateOptionalParams, + WorkspaceManagerMembersCreateOrUpdateResponse, + WorkspaceManagerMembersDeleteOptionalParams, + WorkspaceManagerMembersListNextResponse, +} from "../models"; + +/// +/** Class containing WorkspaceManagerMembers operations. */ +export class WorkspaceManagerMembersImpl implements WorkspaceManagerMembers { + private readonly client: SecurityInsights; + + /** + * Initialize a new instance of the class WorkspaceManagerMembers class. + * @param client Reference to the service client + */ + constructor(client: SecurityInsights) { + this.client = client; + } + + /** + * Gets all workspace manager members that exist for the given Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerMembersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerMembersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WorkspaceManagerMembersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerMembersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Gets all workspace manager members that exist for the given Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerMembersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + options?: WorkspaceManagerMembersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, workspaceManagerMemberName, options }, + getOperationSpec, + ); + } + + /** + * Creates or updates a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param workspaceManagerMember The workspace manager member object + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + workspaceManagerMember: WorkspaceManagerMember, + options?: WorkspaceManagerMembersCreateOrUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + workspaceManagerMemberName, + workspaceManagerMember, + options, + }, + createOrUpdateOperationSpec, + ); + } + + /** + * Deletes a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + options?: WorkspaceManagerMembersDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, workspaceManagerMemberName, options }, + deleteOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: WorkspaceManagerMembersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerMembersList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.orderby, + Parameters.top, + Parameters.skipToken, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/{workspaceManagerMemberName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerMember, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerMemberName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/{workspaceManagerMemberName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerMember, + }, + 201: { + bodyMapper: Mappers.WorkspaceManagerMember, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.workspaceManagerMember, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerMemberName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/{workspaceManagerMemberName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.workspaceManagerMemberName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceManagerMembersList, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/actions.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/actions.ts index 72dfe1476baa..ebded5069e81 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/actions.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/actions.ts @@ -15,7 +15,7 @@ import { ActionRequest, ActionsCreateOrUpdateOptionalParams, ActionsCreateOrUpdateResponse, - ActionsDeleteOptionalParams + ActionsDeleteOptionalParams, } from "../models"; /// @@ -32,7 +32,7 @@ export interface Actions { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: ActionsListByAlertRuleOptionalParams + options?: ActionsListByAlertRuleOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the action of alert rule. @@ -47,7 +47,7 @@ export interface Actions { workspaceName: string, ruleId: string, actionId: string, - options?: ActionsGetOptionalParams + options?: ActionsGetOptionalParams, ): Promise; /** * Creates or updates the action of alert rule. @@ -64,7 +64,7 @@ export interface Actions { ruleId: string, actionId: string, action: ActionRequest, - options?: ActionsCreateOrUpdateOptionalParams + options?: ActionsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the action of alert rule. @@ -79,6 +79,6 @@ export interface Actions { workspaceName: string, ruleId: string, actionId: string, - options?: ActionsDeleteOptionalParams + options?: ActionsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleOperations.ts new file mode 100644 index 000000000000..76f2b66522ad --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleOperations.ts @@ -0,0 +1,53 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + AnalyticsRuleRunTrigger, + AlertRuleTriggerRuleRunOptionalParams, + AlertRuleTriggerRuleRunResponse, +} from "../models"; + +/** Interface representing a AlertRuleOperations. */ +export interface AlertRuleOperations { + /** + * triggers analytics rule run + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleId Alert rule ID + * @param analyticsRuleRunTriggerParameter The Analytics Rule Run Trigger parameter + * @param options The options parameters. + */ + beginTriggerRuleRun( + resourceGroupName: string, + workspaceName: string, + ruleId: string, + analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, + options?: AlertRuleTriggerRuleRunOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + AlertRuleTriggerRuleRunResponse + > + >; + /** + * triggers analytics rule run + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleId Alert rule ID + * @param analyticsRuleRunTriggerParameter The Analytics Rule Run Trigger parameter + * @param options The options parameters. + */ + beginTriggerRuleRunAndWait( + resourceGroupName: string, + workspaceName: string, + ruleId: string, + analyticsRuleRunTriggerParameter: AnalyticsRuleRunTrigger, + options?: AlertRuleTriggerRuleRunOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleTemplates.ts index de75b2a3cda3..c57c04780769 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleTemplates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRuleTemplates.ts @@ -11,7 +11,7 @@ import { AlertRuleTemplateUnion, AlertRuleTemplatesListOptionalParams, AlertRuleTemplatesGetOptionalParams, - AlertRuleTemplatesGetResponse + AlertRuleTemplatesGetResponse, } from "../models"; /// @@ -26,7 +26,7 @@ export interface AlertRuleTemplates { list( resourceGroupName: string, workspaceName: string, - options?: AlertRuleTemplatesListOptionalParams + options?: AlertRuleTemplatesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the alert rule template. @@ -39,6 +39,6 @@ export interface AlertRuleTemplates { resourceGroupName: string, workspaceName: string, alertRuleTemplateId: string, - options?: AlertRuleTemplatesGetOptionalParams + options?: AlertRuleTemplatesGetOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRules.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRules.ts index 2c4f2da816f5..0a4e4cd87f12 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRules.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/alertRules.ts @@ -14,7 +14,7 @@ import { AlertRulesGetResponse, AlertRulesCreateOrUpdateOptionalParams, AlertRulesCreateOrUpdateResponse, - AlertRulesDeleteOptionalParams + AlertRulesDeleteOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface AlertRules { list( resourceGroupName: string, workspaceName: string, - options?: AlertRulesListOptionalParams + options?: AlertRulesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the alert rule. @@ -42,7 +42,7 @@ export interface AlertRules { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: AlertRulesGetOptionalParams + options?: AlertRulesGetOptionalParams, ): Promise; /** * Creates or updates the alert rule. @@ -57,7 +57,7 @@ export interface AlertRules { workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, - options?: AlertRulesCreateOrUpdateOptionalParams + options?: AlertRulesCreateOrUpdateOptionalParams, ): Promise; /** * Delete the alert rule. @@ -70,6 +70,6 @@ export interface AlertRules { resourceGroupName: string, workspaceName: string, ruleId: string, - options?: AlertRulesDeleteOptionalParams + options?: AlertRulesDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/automationRules.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/automationRules.ts index 4a1dbaad4bcb..d0177b5a392c 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/automationRules.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/automationRules.ts @@ -15,7 +15,7 @@ import { AutomationRulesCreateOrUpdateOptionalParams, AutomationRulesCreateOrUpdateResponse, AutomationRulesDeleteOptionalParams, - AutomationRulesDeleteResponse + AutomationRulesDeleteResponse, } from "../models"; /// @@ -30,7 +30,7 @@ export interface AutomationRules { list( resourceGroupName: string, workspaceName: string, - options?: AutomationRulesListOptionalParams + options?: AutomationRulesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the automation rule. @@ -43,7 +43,7 @@ export interface AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesGetOptionalParams + options?: AutomationRulesGetOptionalParams, ): Promise; /** * Creates or updates the automation rule. @@ -56,7 +56,7 @@ export interface AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesCreateOrUpdateOptionalParams + options?: AutomationRulesCreateOrUpdateOptionalParams, ): Promise; /** * Delete the automation rule. @@ -69,6 +69,6 @@ export interface AutomationRules { resourceGroupName: string, workspaceName: string, automationRuleId: string, - options?: AutomationRulesDeleteOptionalParams + options?: AutomationRulesDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/billingStatistics.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/billingStatistics.ts new file mode 100644 index 000000000000..77ca22459ecc --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/billingStatistics.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + BillingStatisticUnion, + BillingStatisticsListOptionalParams, + BillingStatisticsGetOptionalParams, + BillingStatisticsGetResponse, +} from "../models"; + +/// +/** Interface representing a BillingStatistics. */ +export interface BillingStatistics { + /** + * Gets all Microsoft Sentinel billing statistics. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: BillingStatisticsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a billing statistic + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param billingStatisticName The name of the billing statistic + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + billingStatisticName: string, + options?: BillingStatisticsGetOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkOperations.ts index 99a1802aa35a..136e544fef50 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkOperations.ts @@ -9,7 +9,7 @@ import { BookmarkExpandParameters, BookmarkExpandOptionalParams, - BookmarkExpandOperationResponse + BookmarkExpandOperationResponse, } from "../models"; /** Interface representing a BookmarkOperations. */ @@ -27,6 +27,6 @@ export interface BookmarkOperations { workspaceName: string, bookmarkId: string, parameters: BookmarkExpandParameters, - options?: BookmarkExpandOptionalParams + options?: BookmarkExpandOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkRelations.ts index f2100626e2a9..9045007961da 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarkRelations.ts @@ -14,7 +14,7 @@ import { BookmarkRelationsGetResponse, BookmarkRelationsCreateOrUpdateOptionalParams, BookmarkRelationsCreateOrUpdateResponse, - BookmarkRelationsDeleteOptionalParams + BookmarkRelationsDeleteOptionalParams, } from "../models"; /// @@ -31,7 +31,7 @@ export interface BookmarkRelations { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarkRelationsListOptionalParams + options?: BookmarkRelationsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a bookmark relation. @@ -46,7 +46,7 @@ export interface BookmarkRelations { workspaceName: string, bookmarkId: string, relationName: string, - options?: BookmarkRelationsGetOptionalParams + options?: BookmarkRelationsGetOptionalParams, ): Promise; /** * Creates the bookmark relation. @@ -63,7 +63,7 @@ export interface BookmarkRelations { bookmarkId: string, relationName: string, relation: Relation, - options?: BookmarkRelationsCreateOrUpdateOptionalParams + options?: BookmarkRelationsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the bookmark relation. @@ -78,6 +78,6 @@ export interface BookmarkRelations { workspaceName: string, bookmarkId: string, relationName: string, - options?: BookmarkRelationsDeleteOptionalParams + options?: BookmarkRelationsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarks.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarks.ts index 0cf11ccd2d18..78e0b9c2f23e 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarks.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/bookmarks.ts @@ -14,7 +14,7 @@ import { BookmarksGetResponse, BookmarksCreateOrUpdateOptionalParams, BookmarksCreateOrUpdateResponse, - BookmarksDeleteOptionalParams + BookmarksDeleteOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface Bookmarks { list( resourceGroupName: string, workspaceName: string, - options?: BookmarksListOptionalParams + options?: BookmarksListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a bookmark. @@ -42,7 +42,7 @@ export interface Bookmarks { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarksGetOptionalParams + options?: BookmarksGetOptionalParams, ): Promise; /** * Creates or updates the bookmark. @@ -57,7 +57,7 @@ export interface Bookmarks { workspaceName: string, bookmarkId: string, bookmark: Bookmark, - options?: BookmarksCreateOrUpdateOptionalParams + options?: BookmarksCreateOrUpdateOptionalParams, ): Promise; /** * Delete the bookmark. @@ -70,6 +70,6 @@ export interface Bookmarks { resourceGroupName: string, workspaceName: string, bookmarkId: string, - options?: BookmarksDeleteOptionalParams + options?: BookmarksDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackage.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackage.ts new file mode 100644 index 000000000000..6b55c5563f33 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackage.ts @@ -0,0 +1,46 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + PackageModel, + ContentPackageInstallOptionalParams, + ContentPackageInstallResponse, + ContentPackageUninstallOptionalParams, +} from "../models"; + +/** Interface representing a ContentPackage. */ +export interface ContentPackage { + /** + * Install a package to the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param packageInstallationProperties Package installation properties + * @param options The options parameters. + */ + install( + resourceGroupName: string, + workspaceName: string, + packageId: string, + packageInstallationProperties: PackageModel, + options?: ContentPackageInstallOptionalParams, + ): Promise; + /** + * Uninstall a package from the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + uninstall( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ContentPackageUninstallOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackages.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackages.ts new file mode 100644 index 000000000000..030cc7833f27 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentPackages.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + PackageModel, + ContentPackagesListOptionalParams, + ContentPackagesGetOptionalParams, + ContentPackagesGetResponse, +} from "../models"; + +/// +/** Interface representing a ContentPackages. */ +export interface ContentPackages { + /** + * Gets all installed packages. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ContentPackagesListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets an installed packages by its id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ContentPackagesGetOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplate.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplate.ts new file mode 100644 index 000000000000..36927fe9e6ba --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplate.ts @@ -0,0 +1,64 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + TemplateModel, + ContentTemplateInstallOptionalParams, + ContentTemplateInstallResponse, + ContentTemplateGetOptionalParams, + ContentTemplateGetResponse, + ContentTemplateDeleteOptionalParams, +} from "../models"; + +/** Interface representing a ContentTemplate. */ +export interface ContentTemplate { + /** + * Install a template. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param templateInstallationProperties Template installation properties + * @param options The options parameters. + */ + install( + resourceGroupName: string, + workspaceName: string, + templateId: string, + templateInstallationProperties: TemplateModel, + options?: ContentTemplateInstallOptionalParams, + ): Promise; + /** + * Gets a template byt its identifier. + * Expandable properties: + * - properties/mainTemplate + * - properties/dependantTemplates + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ContentTemplateGetOptionalParams, + ): Promise; + /** + * Delete an installed template. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ContentTemplateDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplates.ts new file mode 100644 index 000000000000..23d29ea5909f --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/contentTemplates.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { TemplateModel, ContentTemplatesListOptionalParams } from "../models"; + +/// +/** Interface representing a ContentTemplates. */ +export interface ContentTemplates { + /** + * Gets all installed templates. + * Expandable properties: + * - properties/mainTemplate + * - properties/dependantTemplates + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ContentTemplatesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorDefinitions.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorDefinitions.ts new file mode 100644 index 000000000000..5f2ada6185a6 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorDefinitions.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + DataConnectorDefinitionUnion, + DataConnectorDefinitionsListOptionalParams, + DataConnectorDefinitionsGetOptionalParams, + DataConnectorDefinitionsGetResponse, + DataConnectorDefinitionsCreateOrUpdateOptionalParams, + DataConnectorDefinitionsCreateOrUpdateResponse, + DataConnectorDefinitionsDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a DataConnectorDefinitions. */ +export interface DataConnectorDefinitions { + /** + * Gets all data connector definitions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: DataConnectorDefinitionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + options?: DataConnectorDefinitionsGetOptionalParams, + ): Promise; + /** + * Creates or updates the data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param connectorDefinitionInput The data connector definition + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + connectorDefinitionInput: DataConnectorDefinitionUnion, + options?: DataConnectorDefinitionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Delete the data connector definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dataConnectorDefinitionName The data connector definition name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + dataConnectorDefinitionName: string, + options?: DataConnectorDefinitionsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectors.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectors.ts index e9cb04512c91..0a3b535e266e 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectors.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectors.ts @@ -17,7 +17,7 @@ import { DataConnectorsDeleteOptionalParams, DataConnectorConnectBody, DataConnectorsConnectOptionalParams, - DataConnectorsDisconnectOptionalParams + DataConnectorsDisconnectOptionalParams, } from "../models"; /// @@ -32,7 +32,7 @@ export interface DataConnectors { list( resourceGroupName: string, workspaceName: string, - options?: DataConnectorsListOptionalParams + options?: DataConnectorsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a data connector. @@ -45,7 +45,7 @@ export interface DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsGetOptionalParams + options?: DataConnectorsGetOptionalParams, ): Promise; /** * Creates or updates the data connector. @@ -60,7 +60,7 @@ export interface DataConnectors { workspaceName: string, dataConnectorId: string, dataConnector: DataConnectorUnion, - options?: DataConnectorsCreateOrUpdateOptionalParams + options?: DataConnectorsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the data connector. @@ -73,7 +73,7 @@ export interface DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsDeleteOptionalParams + options?: DataConnectorsDeleteOptionalParams, ): Promise; /** * Connects a data connector. @@ -88,7 +88,7 @@ export interface DataConnectors { workspaceName: string, dataConnectorId: string, connectBody: DataConnectorConnectBody, - options?: DataConnectorsConnectOptionalParams + options?: DataConnectorsConnectOptionalParams, ): Promise; /** * Disconnect a data connector. @@ -101,6 +101,6 @@ export interface DataConnectors { resourceGroupName: string, workspaceName: string, dataConnectorId: string, - options?: DataConnectorsDisconnectOptionalParams + options?: DataConnectorsDisconnectOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts index bcb6e67df617..de4a6c5d3e1b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts @@ -9,7 +9,7 @@ import { DataConnectorsCheckRequirementsUnion, DataConnectorsCheckRequirementsPostOptionalParams, - DataConnectorsCheckRequirementsPostResponse + DataConnectorsCheckRequirementsPostResponse, } from "../models"; /** Interface representing a DataConnectorsCheckRequirementsOperations. */ @@ -25,6 +25,6 @@ export interface DataConnectorsCheckRequirementsOperations { resourceGroupName: string, workspaceName: string, dataConnectorsCheckRequirements: DataConnectorsCheckRequirementsUnion, - options?: DataConnectorsCheckRequirementsPostOptionalParams + options?: DataConnectorsCheckRequirementsPostOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/domainWhois.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/domainWhois.ts index d10705b58b73..fc399dbcab16 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/domainWhois.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/domainWhois.ts @@ -8,7 +8,7 @@ import { DomainWhoisGetOptionalParams, - DomainWhoisGetResponse + DomainWhoisGetResponse, } from "../models"; /** Interface representing a DomainWhois. */ @@ -22,6 +22,6 @@ export interface DomainWhois { get( resourceGroupName: string, domain: string, - options?: DomainWhoisGetOptionalParams + options?: DomainWhoisGetOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entities.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entities.ts index ac24d1939afa..22ee84295631 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entities.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entities.ts @@ -10,6 +10,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { EntityUnion, EntitiesListOptionalParams, + EntitiesRunPlaybookOptionalParams, EntitiesGetOptionalParams, EntitiesGetResponse, EntityExpandParameters, @@ -20,7 +21,7 @@ import { EntitiesQueriesResponse, EntityGetInsightsParameters, EntitiesGetInsightsOptionalParams, - EntitiesGetInsightsResponse + EntitiesGetInsightsResponse, } from "../models"; /// @@ -35,8 +36,21 @@ export interface Entities { list( resourceGroupName: string, workspaceName: string, - options?: EntitiesListOptionalParams + options?: EntitiesListOptionalParams, ): PagedAsyncIterableIterator; + /** + * Triggers playbook on a specific entity. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param entityIdentifier Entity identifier. + * @param options The options parameters. + */ + runPlaybook( + resourceGroupName: string, + workspaceName: string, + entityIdentifier: string, + options?: EntitiesRunPlaybookOptionalParams, + ): Promise; /** * Gets an entity. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -48,7 +62,7 @@ export interface Entities { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesGetOptionalParams + options?: EntitiesGetOptionalParams, ): Promise; /** * Expands an entity. @@ -63,7 +77,7 @@ export interface Entities { workspaceName: string, entityId: string, parameters: EntityExpandParameters, - options?: EntitiesExpandOptionalParams + options?: EntitiesExpandOptionalParams, ): Promise; /** * Get Insights and Activities for an entity. @@ -78,7 +92,7 @@ export interface Entities { workspaceName: string, entityId: string, kind: EntityItemQueryKind, - options?: EntitiesQueriesOptionalParams + options?: EntitiesQueriesOptionalParams, ): Promise; /** * Execute Insights for an entity. @@ -93,6 +107,6 @@ export interface Entities { workspaceName: string, entityId: string, parameters: EntityGetInsightsParameters, - options?: EntitiesGetInsightsOptionalParams + options?: EntitiesGetInsightsOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesGetTimeline.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesGetTimeline.ts index 996a01b8049f..35f4390620a6 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesGetTimeline.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesGetTimeline.ts @@ -9,7 +9,7 @@ import { EntityTimelineParameters, EntitiesGetTimelineListOptionalParams, - EntitiesGetTimelineListResponse + EntitiesGetTimelineListResponse, } from "../models"; /** Interface representing a EntitiesGetTimeline. */ @@ -27,6 +27,6 @@ export interface EntitiesGetTimeline { workspaceName: string, entityId: string, parameters: EntityTimelineParameters, - options?: EntitiesGetTimelineListOptionalParams + options?: EntitiesGetTimelineListOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesRelations.ts index 3c16852eab43..a53431468e4f 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entitiesRelations.ts @@ -23,6 +23,6 @@ export interface EntitiesRelations { resourceGroupName: string, workspaceName: string, entityId: string, - options?: EntitiesRelationsListOptionalParams + options?: EntitiesRelationsListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueries.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueries.ts index 33ad4415d960..56c9d03d9a77 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueries.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueries.ts @@ -15,7 +15,7 @@ import { CustomEntityQueryUnion, EntityQueriesCreateOrUpdateOptionalParams, EntityQueriesCreateOrUpdateResponse, - EntityQueriesDeleteOptionalParams + EntityQueriesDeleteOptionalParams, } from "../models"; /// @@ -30,7 +30,7 @@ export interface EntityQueries { list( resourceGroupName: string, workspaceName: string, - options?: EntityQueriesListOptionalParams + options?: EntityQueriesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets an entity query. @@ -43,7 +43,7 @@ export interface EntityQueries { resourceGroupName: string, workspaceName: string, entityQueryId: string, - options?: EntityQueriesGetOptionalParams + options?: EntityQueriesGetOptionalParams, ): Promise; /** * Creates or updates the entity query. @@ -58,7 +58,7 @@ export interface EntityQueries { workspaceName: string, entityQueryId: string, entityQuery: CustomEntityQueryUnion, - options?: EntityQueriesCreateOrUpdateOptionalParams + options?: EntityQueriesCreateOrUpdateOptionalParams, ): Promise; /** * Delete the entity query. @@ -71,6 +71,6 @@ export interface EntityQueries { resourceGroupName: string, workspaceName: string, entityQueryId: string, - options?: EntityQueriesDeleteOptionalParams + options?: EntityQueriesDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueryTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueryTemplates.ts index a3a023d1c5b8..11382c9c0ecc 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueryTemplates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityQueryTemplates.ts @@ -11,7 +11,7 @@ import { EntityQueryTemplateUnion, EntityQueryTemplatesListOptionalParams, EntityQueryTemplatesGetOptionalParams, - EntityQueryTemplatesGetResponse + EntityQueryTemplatesGetResponse, } from "../models"; /// @@ -26,7 +26,7 @@ export interface EntityQueryTemplates { list( resourceGroupName: string, workspaceName: string, - options?: EntityQueryTemplatesListOptionalParams + options?: EntityQueryTemplatesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets an entity query. @@ -39,6 +39,6 @@ export interface EntityQueryTemplates { resourceGroupName: string, workspaceName: string, entityQueryTemplateId: string, - options?: EntityQueryTemplatesGetOptionalParams + options?: EntityQueryTemplatesGetOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityRelations.ts index 5416a8543a30..f33b2579c3ec 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/entityRelations.ts @@ -8,7 +8,7 @@ import { EntityRelationsGetRelationOptionalParams, - EntityRelationsGetRelationResponse + EntityRelationsGetRelationResponse, } from "../models"; /** Interface representing a EntityRelations. */ @@ -26,6 +26,6 @@ export interface EntityRelations { workspaceName: string, entityId: string, relationName: string, - options?: EntityRelationsGetRelationOptionalParams + options?: EntityRelationsGetRelationOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/fileImports.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/fileImports.ts index 4cd0209b551b..f1fc28bd6caf 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/fileImports.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/fileImports.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { FileImport, FileImportsListOptionalParams, @@ -16,7 +16,7 @@ import { FileImportsCreateOptionalParams, FileImportsCreateResponse, FileImportsDeleteOptionalParams, - FileImportsDeleteResponse + FileImportsDeleteResponse, } from "../models"; /// @@ -31,7 +31,7 @@ export interface FileImports { list( resourceGroupName: string, workspaceName: string, - options?: FileImportsListOptionalParams + options?: FileImportsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a file import. @@ -44,7 +44,7 @@ export interface FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsGetOptionalParams + options?: FileImportsGetOptionalParams, ): Promise; /** * Creates the file import. @@ -59,7 +59,7 @@ export interface FileImports { workspaceName: string, fileImportId: string, fileImport: FileImport, - options?: FileImportsCreateOptionalParams + options?: FileImportsCreateOptionalParams, ): Promise; /** * Delete the file import. @@ -72,10 +72,10 @@ export interface FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsDeleteOptionalParams + options?: FileImportsDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, FileImportsDeleteResponse > >; @@ -90,6 +90,6 @@ export interface FileImports { resourceGroupName: string, workspaceName: string, fileImportId: string, - options?: FileImportsDeleteOptionalParams + options?: FileImportsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/get.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/get.ts new file mode 100644 index 000000000000..e8cee248d81d --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/get.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + GetSingleRecommendationOptionalParams, + GetSingleRecommendationResponse, +} from "../models"; + +/** Interface representing a Get. */ +export interface Get { + /** + * Gets a recommendation by its id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param options The options parameters. + */ + singleRecommendation( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + options?: GetSingleRecommendationOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getRecommendations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getRecommendations.ts new file mode 100644 index 000000000000..f3ba3a9bdac8 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getRecommendations.ts @@ -0,0 +1,27 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + GetRecommendationsListOptionalParams, + GetRecommendationsListResponse, +} from "../models"; + +/** Interface representing a GetRecommendations. */ +export interface GetRecommendations { + /** + * Gets a list of all recommendations. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: GetRecommendationsListOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getTriggeredAnalyticsRuleRuns.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getTriggeredAnalyticsRuleRuns.ts new file mode 100644 index 000000000000..89e695cbf8ec --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/getTriggeredAnalyticsRuleRuns.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + TriggeredAnalyticsRuleRun, + GetTriggeredAnalyticsRuleRunsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a GetTriggeredAnalyticsRuleRuns. */ +export interface GetTriggeredAnalyticsRuleRuns { + /** + * Gets the triggered analytics rule runs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: GetTriggeredAnalyticsRuleRunsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntComments.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntComments.ts new file mode 100644 index 000000000000..ad6da2c7c65c --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntComments.ts @@ -0,0 +1,83 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + HuntComment, + HuntCommentsListOptionalParams, + HuntCommentsGetOptionalParams, + HuntCommentsGetResponse, + HuntCommentsDeleteOptionalParams, + HuntCommentsCreateOrUpdateOptionalParams, + HuntCommentsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a HuntComments. */ +export interface HuntComments { + /** + * Gets all hunt comments + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntCommentsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a hunt comment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + options?: HuntCommentsGetOptionalParams, + ): Promise; + /** + * Delete a hunt comment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + options?: HuntCommentsDeleteOptionalParams, + ): Promise; + /** + * Creates or updates a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntCommentId The hunt comment id (GUID) + * @param huntComment The hunt comment + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntCommentId: string, + huntComment: HuntComment, + options?: HuntCommentsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntRelations.ts new file mode 100644 index 000000000000..d6fab559d650 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/huntRelations.ts @@ -0,0 +1,83 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + HuntRelation, + HuntRelationsListOptionalParams, + HuntRelationsGetOptionalParams, + HuntRelationsGetResponse, + HuntRelationsDeleteOptionalParams, + HuntRelationsCreateOrUpdateOptionalParams, + HuntRelationsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a HuntRelations. */ +export interface HuntRelations { + /** + * Gets all hunt relations + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntRelationsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a hunt relation + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + options?: HuntRelationsGetOptionalParams, + ): Promise; + /** + * Delete a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + options?: HuntRelationsDeleteOptionalParams, + ): Promise; + /** + * Creates or updates a hunt relation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param huntRelationId The hunt relation id (GUID) + * @param huntRelation The hunt relation + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + huntRelationId: string, + huntRelation: HuntRelation, + options?: HuntRelationsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/hunts.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/hunts.ts new file mode 100644 index 000000000000..437859cb47dd --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/hunts.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + Hunt, + HuntsListOptionalParams, + HuntsGetOptionalParams, + HuntsGetResponse, + HuntsDeleteOptionalParams, + HuntsCreateOrUpdateOptionalParams, + HuntsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a Hunts. */ +export interface Hunts { + /** + * Gets all hunts, without relations and comments. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: HuntsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a hunt, without relations and comments. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntsGetOptionalParams, + ): Promise; + /** + * Delete a hunt. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + huntId: string, + options?: HuntsDeleteOptionalParams, + ): Promise; + /** + * Create or update a hunt + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param huntId The hunt id (GUID) + * @param hunt The hunt + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + huntId: string, + hunt: Hunt, + options?: HuntsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/iPGeodata.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/iPGeodata.ts index b6060c5c6e20..1be12dd19af1 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/iPGeodata.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/iPGeodata.ts @@ -19,6 +19,6 @@ export interface IPGeodata { get( resourceGroupName: string, ipAddress: string, - options?: IPGeodataGetOptionalParams + options?: IPGeodataGetOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentComments.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentComments.ts index 3bce6e5213cf..9112bd875e13 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentComments.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentComments.ts @@ -14,7 +14,7 @@ import { IncidentCommentsGetResponse, IncidentCommentsCreateOrUpdateOptionalParams, IncidentCommentsCreateOrUpdateResponse, - IncidentCommentsDeleteOptionalParams + IncidentCommentsDeleteOptionalParams, } from "../models"; /// @@ -31,7 +31,7 @@ export interface IncidentComments { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentCommentsListOptionalParams + options?: IncidentCommentsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets an incident comment. @@ -46,7 +46,7 @@ export interface IncidentComments { workspaceName: string, incidentId: string, incidentCommentId: string, - options?: IncidentCommentsGetOptionalParams + options?: IncidentCommentsGetOptionalParams, ): Promise; /** * Creates or updates the incident comment. @@ -63,7 +63,7 @@ export interface IncidentComments { incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, - options?: IncidentCommentsCreateOrUpdateOptionalParams + options?: IncidentCommentsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the incident comment. @@ -78,6 +78,6 @@ export interface IncidentComments { workspaceName: string, incidentId: string, incidentCommentId: string, - options?: IncidentCommentsDeleteOptionalParams + options?: IncidentCommentsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentRelations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentRelations.ts index 6e4d50d7995e..639bcccd88b3 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentRelations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentRelations.ts @@ -14,7 +14,7 @@ import { IncidentRelationsGetResponse, IncidentRelationsCreateOrUpdateOptionalParams, IncidentRelationsCreateOrUpdateResponse, - IncidentRelationsDeleteOptionalParams + IncidentRelationsDeleteOptionalParams, } from "../models"; /// @@ -31,7 +31,7 @@ export interface IncidentRelations { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentRelationsListOptionalParams + options?: IncidentRelationsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets an incident relation. @@ -46,7 +46,7 @@ export interface IncidentRelations { workspaceName: string, incidentId: string, relationName: string, - options?: IncidentRelationsGetOptionalParams + options?: IncidentRelationsGetOptionalParams, ): Promise; /** * Creates or updates the incident relation. @@ -63,7 +63,7 @@ export interface IncidentRelations { incidentId: string, relationName: string, relation: Relation, - options?: IncidentRelationsCreateOrUpdateOptionalParams + options?: IncidentRelationsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the incident relation. @@ -78,6 +78,6 @@ export interface IncidentRelations { workspaceName: string, incidentId: string, relationName: string, - options?: IncidentRelationsDeleteOptionalParams + options?: IncidentRelationsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentTasks.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentTasks.ts new file mode 100644 index 000000000000..6031ea0d56d1 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidentTasks.ts @@ -0,0 +1,83 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + IncidentTask, + IncidentTasksListOptionalParams, + IncidentTasksGetOptionalParams, + IncidentTasksGetResponse, + IncidentTasksCreateOrUpdateOptionalParams, + IncidentTasksCreateOrUpdateResponse, + IncidentTasksDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a IncidentTasks. */ +export interface IncidentTasks { + /** + * Gets all incident tasks. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + options?: IncidentTasksListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets an incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + options?: IncidentTasksGetOptionalParams, + ): Promise; + /** + * Creates or updates the incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param incidentTask The incident task + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + incidentTask: IncidentTask, + options?: IncidentTasksCreateOrUpdateOptionalParams, + ): Promise; + /** + * Delete the incident task. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param incidentId Incident ID + * @param incidentTaskId Incident task ID + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + incidentId: string, + incidentTaskId: string, + options?: IncidentTasksDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidents.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidents.ts index 18695a4f8cc7..ca0c6f8acfb3 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidents.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/incidents.ts @@ -17,7 +17,7 @@ import { IncidentsCreateOrUpdateOptionalParams, IncidentsCreateOrUpdateResponse, IncidentsDeleteOptionalParams, - TeamProperties, + TeamInformation, IncidentsCreateTeamOptionalParams, IncidentsCreateTeamResponse, IncidentsListAlertsOptionalParams, @@ -25,7 +25,7 @@ import { IncidentsListBookmarksOptionalParams, IncidentsListBookmarksResponse, IncidentsListEntitiesOptionalParams, - IncidentsListEntitiesResponse + IncidentsListEntitiesResponse, } from "../models"; /// @@ -40,7 +40,7 @@ export interface Incidents { list( resourceGroupName: string, workspaceName: string, - options?: IncidentsListOptionalParams + options?: IncidentsListOptionalParams, ): PagedAsyncIterableIterator; /** * Triggers playbook on a specific incident @@ -53,7 +53,7 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentIdentifier: string, - options?: IncidentsRunPlaybookOptionalParams + options?: IncidentsRunPlaybookOptionalParams, ): Promise; /** * Gets an incident. @@ -66,7 +66,7 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsGetOptionalParams + options?: IncidentsGetOptionalParams, ): Promise; /** * Creates or updates the incident. @@ -81,7 +81,7 @@ export interface Incidents { workspaceName: string, incidentId: string, incident: Incident, - options?: IncidentsCreateOrUpdateOptionalParams + options?: IncidentsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the incident. @@ -94,7 +94,7 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsDeleteOptionalParams + options?: IncidentsDeleteOptionalParams, ): Promise; /** * Creates a Microsoft team to investigate the incident by sharing information and insights between @@ -109,8 +109,8 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - teamProperties: TeamProperties, - options?: IncidentsCreateTeamOptionalParams + teamProperties: TeamInformation, + options?: IncidentsCreateTeamOptionalParams, ): Promise; /** * Gets all incident alerts. @@ -123,7 +123,7 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListAlertsOptionalParams + options?: IncidentsListAlertsOptionalParams, ): Promise; /** * Gets all incident bookmarks. @@ -136,7 +136,7 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListBookmarksOptionalParams + options?: IncidentsListBookmarksOptionalParams, ): Promise; /** * Gets all incident related entities. @@ -149,6 +149,6 @@ export interface Incidents { resourceGroupName: string, workspaceName: string, incidentId: string, - options?: IncidentsListEntitiesOptionalParams + options?: IncidentsListEntitiesOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/index.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/index.ts index 6f66d834535e..4dce772f54bd 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/index.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/index.ts @@ -10,24 +10,40 @@ export * from "./alertRules"; export * from "./actions"; export * from "./alertRuleTemplates"; export * from "./automationRules"; +export * from "./entities"; export * from "./incidents"; +export * from "./billingStatistics"; export * from "./bookmarks"; export * from "./bookmarkRelations"; export * from "./bookmarkOperations"; +export * from "./contentPackages"; +export * from "./contentPackage"; +export * from "./productPackages"; +export * from "./productPackage"; +export * from "./productTemplates"; +export * from "./productTemplate"; +export * from "./contentTemplates"; +export * from "./contentTemplate"; export * from "./iPGeodata"; export * from "./domainWhois"; -export * from "./entities"; export * from "./entitiesGetTimeline"; export * from "./entitiesRelations"; export * from "./entityRelations"; export * from "./entityQueries"; export * from "./entityQueryTemplates"; export * from "./fileImports"; +export * from "./hunts"; +export * from "./huntRelations"; +export * from "./huntComments"; export * from "./incidentComments"; export * from "./incidentRelations"; +export * from "./incidentTasks"; export * from "./metadata"; export * from "./officeConsents"; export * from "./sentinelOnboardingStates"; +export * from "./getRecommendations"; +export * from "./get"; +export * from "./update"; export * from "./securityMLAnalyticsSettings"; export * from "./productSettings"; export * from "./sourceControlOperations"; @@ -35,8 +51,17 @@ export * from "./sourceControls"; export * from "./threatIntelligenceIndicator"; export * from "./threatIntelligenceIndicators"; export * from "./threatIntelligenceIndicatorMetrics"; +export * from "./triggeredAnalyticsRuleRunOperations"; +export * from "./getTriggeredAnalyticsRuleRuns"; +export * from "./alertRuleOperations"; export * from "./watchlists"; export * from "./watchlistItems"; +export * from "./workspaceManagerAssignments"; +export * from "./workspaceManagerAssignmentJobs"; +export * from "./workspaceManagerConfigurations"; +export * from "./workspaceManagerGroups"; +export * from "./workspaceManagerMembers"; +export * from "./dataConnectorDefinitions"; export * from "./dataConnectors"; export * from "./dataConnectorsCheckRequirementsOperations"; export * from "./operations"; diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/metadata.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/metadata.ts index c0ea5a0cfd97..38609ae5f46b 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/metadata.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/metadata.ts @@ -17,7 +17,7 @@ import { MetadataCreateResponse, MetadataPatch, MetadataUpdateOptionalParams, - MetadataUpdateResponse + MetadataUpdateResponse, } from "../models"; /// @@ -32,7 +32,7 @@ export interface Metadata { list( resourceGroupName: string, workspaceName: string, - options?: MetadataListOptionalParams + options?: MetadataListOptionalParams, ): PagedAsyncIterableIterator; /** * Get a Metadata. @@ -45,7 +45,7 @@ export interface Metadata { resourceGroupName: string, workspaceName: string, metadataName: string, - options?: MetadataGetOptionalParams + options?: MetadataGetOptionalParams, ): Promise; /** * Delete a Metadata. @@ -58,7 +58,7 @@ export interface Metadata { resourceGroupName: string, workspaceName: string, metadataName: string, - options?: MetadataDeleteOptionalParams + options?: MetadataDeleteOptionalParams, ): Promise; /** * Create a Metadata. @@ -73,7 +73,7 @@ export interface Metadata { workspaceName: string, metadataName: string, metadata: MetadataModel, - options?: MetadataCreateOptionalParams + options?: MetadataCreateOptionalParams, ): Promise; /** * Update an existing Metadata. @@ -88,6 +88,6 @@ export interface Metadata { workspaceName: string, metadataName: string, metadataPatch: MetadataPatch, - options?: MetadataUpdateOptionalParams + options?: MetadataUpdateOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/officeConsents.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/officeConsents.ts index 6a5cdc6c10db..43f6185d1243 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/officeConsents.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/officeConsents.ts @@ -12,7 +12,7 @@ import { OfficeConsentsListOptionalParams, OfficeConsentsGetOptionalParams, OfficeConsentsGetResponse, - OfficeConsentsDeleteOptionalParams + OfficeConsentsDeleteOptionalParams, } from "../models"; /// @@ -27,7 +27,7 @@ export interface OfficeConsents { list( resourceGroupName: string, workspaceName: string, - options?: OfficeConsentsListOptionalParams + options?: OfficeConsentsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets an office365 consent. @@ -40,7 +40,7 @@ export interface OfficeConsents { resourceGroupName: string, workspaceName: string, consentId: string, - options?: OfficeConsentsGetOptionalParams + options?: OfficeConsentsGetOptionalParams, ): Promise; /** * Delete the office365 consent. @@ -53,6 +53,6 @@ export interface OfficeConsents { resourceGroupName: string, workspaceName: string, consentId: string, - options?: OfficeConsentsDeleteOptionalParams + options?: OfficeConsentsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/operations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/operations.ts index 5a0c43c0248c..10516e0fc046 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/operations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/operations.ts @@ -17,6 +17,6 @@ export interface Operations { * @param options The options parameters. */ list( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackage.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackage.ts new file mode 100644 index 000000000000..e383fea3063f --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackage.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + ProductPackageGetOptionalParams, + ProductPackageGetResponse, +} from "../models"; + +/** Interface representing a ProductPackage. */ +export interface ProductPackage { + /** + * Gets a package by its identifier from the catalog. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param packageId package Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + packageId: string, + options?: ProductPackageGetOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackages.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackages.ts new file mode 100644 index 000000000000..733825799eec --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productPackages.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ProductPackageModel, + ProductPackagesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ProductPackages. */ +export interface ProductPackages { + /** + * Gets all packages from the catalog. + * Expandable properties: + * - properties/installed + * - properties/packagedContent + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ProductPackagesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productSettings.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productSettings.ts index e88280b71695..84ff6c84e4b2 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productSettings.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productSettings.ts @@ -14,7 +14,7 @@ import { ProductSettingsDeleteOptionalParams, SettingsUnion, ProductSettingsUpdateOptionalParams, - ProductSettingsUpdateResponse + ProductSettingsUpdateResponse, } from "../models"; /** Interface representing a ProductSettings. */ @@ -28,7 +28,7 @@ export interface ProductSettings { list( resourceGroupName: string, workspaceName: string, - options?: ProductSettingsListOptionalParams + options?: ProductSettingsListOptionalParams, ): Promise; /** * Gets a setting. @@ -41,7 +41,7 @@ export interface ProductSettings { resourceGroupName: string, workspaceName: string, settingsName: string, - options?: ProductSettingsGetOptionalParams + options?: ProductSettingsGetOptionalParams, ): Promise; /** * Delete setting of the product. @@ -54,7 +54,7 @@ export interface ProductSettings { resourceGroupName: string, workspaceName: string, settingsName: string, - options?: ProductSettingsDeleteOptionalParams + options?: ProductSettingsDeleteOptionalParams, ): Promise; /** * Updates setting. @@ -69,6 +69,6 @@ export interface ProductSettings { workspaceName: string, settingsName: string, settings: SettingsUnion, - options?: ProductSettingsUpdateOptionalParams + options?: ProductSettingsUpdateOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplate.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplate.ts new file mode 100644 index 000000000000..f66b5f2d08fb --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplate.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + ProductTemplateGetOptionalParams, + ProductTemplateGetResponse, +} from "../models"; + +/** Interface representing a ProductTemplate. */ +export interface ProductTemplate { + /** + * Gets a template by its identifier. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param templateId template Id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + templateId: string, + options?: ProductTemplateGetOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplates.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplates.ts new file mode 100644 index 000000000000..9ad38c3735ac --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/productTemplates.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ProductTemplateModel, + ProductTemplatesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ProductTemplates. */ +export interface ProductTemplates { + /** + * Gets all templates in the catalog. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ProductTemplatesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/securityMLAnalyticsSettings.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/securityMLAnalyticsSettings.ts index 603ae1b2c8fb..9c7166834006 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/securityMLAnalyticsSettings.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/securityMLAnalyticsSettings.ts @@ -14,7 +14,7 @@ import { SecurityMLAnalyticsSettingsGetResponse, SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams, SecurityMLAnalyticsSettingsCreateOrUpdateResponse, - SecurityMLAnalyticsSettingsDeleteOptionalParams + SecurityMLAnalyticsSettingsDeleteOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface SecurityMLAnalyticsSettings { list( resourceGroupName: string, workspaceName: string, - options?: SecurityMLAnalyticsSettingsListOptionalParams + options?: SecurityMLAnalyticsSettingsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the Security ML Analytics Settings. @@ -42,7 +42,7 @@ export interface SecurityMLAnalyticsSettings { resourceGroupName: string, workspaceName: string, settingsResourceName: string, - options?: SecurityMLAnalyticsSettingsGetOptionalParams + options?: SecurityMLAnalyticsSettingsGetOptionalParams, ): Promise; /** * Creates or updates the Security ML Analytics Settings. @@ -57,7 +57,7 @@ export interface SecurityMLAnalyticsSettings { workspaceName: string, settingsResourceName: string, securityMLAnalyticsSetting: SecurityMLAnalyticsSettingUnion, - options?: SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams + options?: SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams, ): Promise; /** * Delete the Security ML Analytics Settings. @@ -70,6 +70,6 @@ export interface SecurityMLAnalyticsSettings { resourceGroupName: string, workspaceName: string, settingsResourceName: string, - options?: SecurityMLAnalyticsSettingsDeleteOptionalParams + options?: SecurityMLAnalyticsSettingsDeleteOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sentinelOnboardingStates.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sentinelOnboardingStates.ts index 1c092cb668d2..40603cd29abd 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sentinelOnboardingStates.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sentinelOnboardingStates.ts @@ -13,7 +13,7 @@ import { SentinelOnboardingStatesCreateResponse, SentinelOnboardingStatesDeleteOptionalParams, SentinelOnboardingStatesListOptionalParams, - SentinelOnboardingStatesListResponse + SentinelOnboardingStatesListResponse, } from "../models"; /** Interface representing a SentinelOnboardingStates. */ @@ -29,7 +29,7 @@ export interface SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesGetOptionalParams + options?: SentinelOnboardingStatesGetOptionalParams, ): Promise; /** * Create Sentinel onboarding state @@ -42,7 +42,7 @@ export interface SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesCreateOptionalParams + options?: SentinelOnboardingStatesCreateOptionalParams, ): Promise; /** * Delete Sentinel onboarding state @@ -55,7 +55,7 @@ export interface SentinelOnboardingStates { resourceGroupName: string, workspaceName: string, sentinelOnboardingStateName: string, - options?: SentinelOnboardingStatesDeleteOptionalParams + options?: SentinelOnboardingStatesDeleteOptionalParams, ): Promise; /** * Gets all Sentinel onboarding states @@ -66,6 +66,6 @@ export interface SentinelOnboardingStates { list( resourceGroupName: string, workspaceName: string, - options?: SentinelOnboardingStatesListOptionalParams + options?: SentinelOnboardingStatesListOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControlOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControlOperations.ts index 75cb1cd61a83..7f9dd9165a06 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControlOperations.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControlOperations.ts @@ -9,8 +9,8 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Repo, - RepoType, - SourceControlListRepositoriesOptionalParams + RepositoryAccessProperties, + SourceControlListRepositoriesOptionalParams, } from "../models"; /// @@ -20,13 +20,13 @@ export interface SourceControlOperations { * Gets a list of repositories metadata. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. - * @param repoType The repo type. + * @param repositoryAccess The repository access credentials. * @param options The options parameters. */ listRepositories( resourceGroupName: string, workspaceName: string, - repoType: RepoType, - options?: SourceControlListRepositoriesOptionalParams + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlListRepositoriesOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControls.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControls.ts index 2e675d5f49a7..1b74acf34094 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControls.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/sourceControls.ts @@ -12,9 +12,11 @@ import { SourceControlsListOptionalParams, SourceControlsGetOptionalParams, SourceControlsGetResponse, - SourceControlsDeleteOptionalParams, SourceControlsCreateOptionalParams, - SourceControlsCreateResponse + SourceControlsCreateResponse, + RepositoryAccessProperties, + SourceControlsDeleteOptionalParams, + SourceControlsDeleteResponse, } from "../models"; /// @@ -29,7 +31,7 @@ export interface SourceControls { list( resourceGroupName: string, workspaceName: string, - options?: SourceControlsListOptionalParams + options?: SourceControlsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a source control byt its identifier. @@ -42,34 +44,36 @@ export interface SourceControls { resourceGroupName: string, workspaceName: string, sourceControlId: string, - options?: SourceControlsGetOptionalParams + options?: SourceControlsGetOptionalParams, ): Promise; /** - * Delete a source control. + * Creates a source control. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param sourceControlId Source control Id + * @param sourceControl The SourceControl * @param options The options parameters. */ - delete( + create( resourceGroupName: string, workspaceName: string, sourceControlId: string, - options?: SourceControlsDeleteOptionalParams - ): Promise; + sourceControl: SourceControl, + options?: SourceControlsCreateOptionalParams, + ): Promise; /** - * Creates a source control. + * Delete a source control. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param sourceControlId Source control Id - * @param sourceControl The SourceControl + * @param repositoryAccess The repository access credentials. * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, sourceControlId: string, - sourceControl: SourceControl, - options?: SourceControlsCreateOptionalParams - ): Promise; + repositoryAccess: RepositoryAccessProperties, + options?: SourceControlsDeleteOptionalParams, + ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicator.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicator.ts index 78a5af505029..43c5cc81db03 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicator.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicator.ts @@ -22,7 +22,7 @@ import { ThreatIntelligenceAppendTags, ThreatIntelligenceIndicatorAppendTagsOptionalParams, ThreatIntelligenceIndicatorReplaceTagsOptionalParams, - ThreatIntelligenceIndicatorReplaceTagsResponse + ThreatIntelligenceIndicatorReplaceTagsResponse, } from "../models"; /// @@ -40,7 +40,7 @@ export interface ThreatIntelligenceIndicator { resourceGroupName: string, workspaceName: string, threatIntelligenceFilteringCriteria: ThreatIntelligenceFilteringCriteria, - options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams + options?: ThreatIntelligenceIndicatorQueryIndicatorsOptionalParams, ): PagedAsyncIterableIterator; /** * Create a new threat intelligence indicator. @@ -54,7 +54,7 @@ export interface ThreatIntelligenceIndicator { resourceGroupName: string, workspaceName: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams + options?: ThreatIntelligenceIndicatorCreateIndicatorOptionalParams, ): Promise; /** * View a threat intelligence indicator by name. @@ -67,7 +67,7 @@ export interface ThreatIntelligenceIndicator { resourceGroupName: string, workspaceName: string, name: string, - options?: ThreatIntelligenceIndicatorGetOptionalParams + options?: ThreatIntelligenceIndicatorGetOptionalParams, ): Promise; /** * Update a threat Intelligence indicator. @@ -83,7 +83,7 @@ export interface ThreatIntelligenceIndicator { workspaceName: string, name: string, threatIntelligenceProperties: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorCreateOptionalParams + options?: ThreatIntelligenceIndicatorCreateOptionalParams, ): Promise; /** * Delete a threat intelligence indicator. @@ -96,7 +96,7 @@ export interface ThreatIntelligenceIndicator { resourceGroupName: string, workspaceName: string, name: string, - options?: ThreatIntelligenceIndicatorDeleteOptionalParams + options?: ThreatIntelligenceIndicatorDeleteOptionalParams, ): Promise; /** * Append tags to a threat intelligence indicator. @@ -111,7 +111,7 @@ export interface ThreatIntelligenceIndicator { workspaceName: string, name: string, threatIntelligenceAppendTags: ThreatIntelligenceAppendTags, - options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams + options?: ThreatIntelligenceIndicatorAppendTagsOptionalParams, ): Promise; /** * Replace tags added to a threat intelligence indicator. @@ -126,6 +126,6 @@ export interface ThreatIntelligenceIndicator { workspaceName: string, name: string, threatIntelligenceReplaceTags: ThreatIntelligenceIndicatorModel, - options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams + options?: ThreatIntelligenceIndicatorReplaceTagsOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts index 980e0ccabd6f..f0568d653a54 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts @@ -8,7 +8,7 @@ import { ThreatIntelligenceIndicatorMetricsListOptionalParams, - ThreatIntelligenceIndicatorMetricsListResponse + ThreatIntelligenceIndicatorMetricsListResponse, } from "../models"; /** Interface representing a ThreatIntelligenceIndicatorMetrics. */ @@ -22,6 +22,6 @@ export interface ThreatIntelligenceIndicatorMetrics { list( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorMetricsListOptionalParams + options?: ThreatIntelligenceIndicatorMetricsListOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicators.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicators.ts index 0048743735b8..87360fbaf494 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicators.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/threatIntelligenceIndicators.ts @@ -9,7 +9,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ThreatIntelligenceInformationUnion, - ThreatIntelligenceIndicatorsListOptionalParams + ThreatIntelligenceIndicatorsListOptionalParams, } from "../models"; /// @@ -24,6 +24,6 @@ export interface ThreatIntelligenceIndicators { list( resourceGroupName: string, workspaceName: string, - options?: ThreatIntelligenceIndicatorsListOptionalParams + options?: ThreatIntelligenceIndicatorsListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/triggeredAnalyticsRuleRunOperations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/triggeredAnalyticsRuleRunOperations.ts new file mode 100644 index 000000000000..ddc858c1b10c --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/triggeredAnalyticsRuleRunOperations.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + TriggeredAnalyticsRuleRunGetOptionalParams, + TriggeredAnalyticsRuleRunGetResponse, +} from "../models"; + +/** Interface representing a TriggeredAnalyticsRuleRunOperations. */ +export interface TriggeredAnalyticsRuleRunOperations { + /** + * Gets the triggered analytics rule run. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param ruleRunId the triggered rule id + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + ruleRunId: string, + options?: TriggeredAnalyticsRuleRunGetOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/update.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/update.ts new file mode 100644 index 000000000000..7066219f00d0 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/update.ts @@ -0,0 +1,53 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RecommendationPatch, + UpdateRecommendationOptionalParams, + UpdateRecommendationResponse, +} from "../models"; + +/** Interface representing a Update. */ +export interface Update { + /** + * Patch a recommendation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param recommendationPatch Recommendation Fields to Update. + * @param options The options parameters. + */ + beginRecommendation( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + recommendationPatch: RecommendationPatch[], + options?: UpdateRecommendationOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + UpdateRecommendationResponse + > + >; + /** + * Patch a recommendation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param recommendationId Recommendation Id. + * @param recommendationPatch Recommendation Fields to Update. + * @param options The options parameters. + */ + beginRecommendationAndWait( + resourceGroupName: string, + workspaceName: string, + recommendationId: string, + recommendationPatch: RecommendationPatch[], + options?: UpdateRecommendationOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlistItems.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlistItems.ts index d5713dbc41a7..1ac6955f9aaf 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlistItems.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlistItems.ts @@ -14,7 +14,7 @@ import { WatchlistItemsGetResponse, WatchlistItemsDeleteOptionalParams, WatchlistItemsCreateOrUpdateOptionalParams, - WatchlistItemsCreateOrUpdateResponse + WatchlistItemsCreateOrUpdateResponse, } from "../models"; /// @@ -31,7 +31,7 @@ export interface WatchlistItems { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistItemsListOptionalParams + options?: WatchlistItemsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a watchlist, without its watchlist items. @@ -46,7 +46,7 @@ export interface WatchlistItems { workspaceName: string, watchlistAlias: string, watchlistItemId: string, - options?: WatchlistItemsGetOptionalParams + options?: WatchlistItemsGetOptionalParams, ): Promise; /** * Delete a watchlist item. @@ -61,7 +61,7 @@ export interface WatchlistItems { workspaceName: string, watchlistAlias: string, watchlistItemId: string, - options?: WatchlistItemsDeleteOptionalParams + options?: WatchlistItemsDeleteOptionalParams, ): Promise; /** * Creates or updates a watchlist item. @@ -78,6 +78,6 @@ export interface WatchlistItems { watchlistAlias: string, watchlistItemId: string, watchlistItem: WatchlistItem, - options?: WatchlistItemsCreateOrUpdateOptionalParams + options?: WatchlistItemsCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlists.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlists.ts index 77f2dc227d5d..23bde44718d6 100644 --- a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlists.ts +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/watchlists.ts @@ -15,7 +15,7 @@ import { WatchlistsDeleteOptionalParams, WatchlistsDeleteResponse, WatchlistsCreateOrUpdateOptionalParams, - WatchlistsCreateOrUpdateResponse + WatchlistsCreateOrUpdateResponse, } from "../models"; /// @@ -30,7 +30,7 @@ export interface Watchlists { list( resourceGroupName: string, workspaceName: string, - options?: WatchlistsListOptionalParams + options?: WatchlistsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a watchlist, without its watchlist items. @@ -43,7 +43,7 @@ export interface Watchlists { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistsGetOptionalParams + options?: WatchlistsGetOptionalParams, ): Promise; /** * Delete a watchlist. @@ -56,7 +56,7 @@ export interface Watchlists { resourceGroupName: string, workspaceName: string, watchlistAlias: string, - options?: WatchlistsDeleteOptionalParams + options?: WatchlistsDeleteOptionalParams, ): Promise; /** * Create or update a Watchlist and its Watchlist Items (bulk creation, e.g. through text/csv content @@ -76,6 +76,6 @@ export interface Watchlists { workspaceName: string, watchlistAlias: string, watchlist: Watchlist, - options?: WatchlistsCreateOrUpdateOptionalParams + options?: WatchlistsCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignmentJobs.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignmentJobs.ts new file mode 100644 index 000000000000..315f56c099bb --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignmentJobs.ts @@ -0,0 +1,79 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + Job, + WorkspaceManagerAssignmentJobsListOptionalParams, + WorkspaceManagerAssignmentJobsCreateOptionalParams, + WorkspaceManagerAssignmentJobsCreateResponse, + WorkspaceManagerAssignmentJobsGetOptionalParams, + WorkspaceManagerAssignmentJobsGetResponse, + WorkspaceManagerAssignmentJobsDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a WorkspaceManagerAssignmentJobs. */ +export interface WorkspaceManagerAssignmentJobs { + /** + * Get all jobs for the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Create a job for the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + create( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentJobsCreateOptionalParams, + ): Promise; + /** + * Gets a job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param jobName The job name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + jobName: string, + options?: WorkspaceManagerAssignmentJobsGetOptionalParams, + ): Promise; + /** + * Deletes the specified job from the specified workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param jobName The job name + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + jobName: string, + options?: WorkspaceManagerAssignmentJobsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignments.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignments.ts new file mode 100644 index 000000000000..1a64ef28e1e5 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerAssignments.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + WorkspaceManagerAssignment, + WorkspaceManagerAssignmentsListOptionalParams, + WorkspaceManagerAssignmentsGetOptionalParams, + WorkspaceManagerAssignmentsGetResponse, + WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams, + WorkspaceManagerAssignmentsCreateOrUpdateResponse, + WorkspaceManagerAssignmentsDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a WorkspaceManagerAssignments. */ +export interface WorkspaceManagerAssignments { + /** + * Get all workspace manager assignments for the Sentinel workspace manager. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerAssignmentsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentsGetOptionalParams, + ): Promise; + /** + * Creates or updates a workspace manager assignment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param workspaceManagerAssignment The workspace manager assignment + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + workspaceManagerAssignment: WorkspaceManagerAssignment, + options?: WorkspaceManagerAssignmentsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Deletes a workspace manager assignment + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerAssignmentName The name of the workspace manager assignment + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerAssignmentName: string, + options?: WorkspaceManagerAssignmentsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerConfigurations.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerConfigurations.ts new file mode 100644 index 000000000000..5e3d538b3993 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerConfigurations.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + WorkspaceManagerConfiguration, + WorkspaceManagerConfigurationsListOptionalParams, + WorkspaceManagerConfigurationsGetOptionalParams, + WorkspaceManagerConfigurationsGetResponse, + WorkspaceManagerConfigurationsDeleteOptionalParams, + WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams, + WorkspaceManagerConfigurationsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a WorkspaceManagerConfigurations. */ +export interface WorkspaceManagerConfigurations { + /** + * Gets all workspace manager configurations for a Sentinel workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerConfigurationsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a workspace manager configuration + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + options?: WorkspaceManagerConfigurationsGetOptionalParams, + ): Promise; + /** + * Deletes a workspace manager configuration + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + options?: WorkspaceManagerConfigurationsDeleteOptionalParams, + ): Promise; + /** + * Creates or updates a workspace manager configuration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerConfigurationName The name of the workspace manager configuration + * @param workspaceManagerConfiguration The workspace manager configuration + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerConfigurationName: string, + workspaceManagerConfiguration: WorkspaceManagerConfiguration, + options?: WorkspaceManagerConfigurationsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerGroups.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerGroups.ts new file mode 100644 index 000000000000..52d3447c5014 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerGroups.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + WorkspaceManagerGroup, + WorkspaceManagerGroupsListOptionalParams, + WorkspaceManagerGroupsGetOptionalParams, + WorkspaceManagerGroupsGetResponse, + WorkspaceManagerGroupsCreateOrUpdateOptionalParams, + WorkspaceManagerGroupsCreateOrUpdateResponse, + WorkspaceManagerGroupsDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a WorkspaceManagerGroups. */ +export interface WorkspaceManagerGroups { + /** + * Gets all workspace manager groups in the Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerGroupsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a workspace manager group + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + options?: WorkspaceManagerGroupsGetOptionalParams, + ): Promise; + /** + * Creates or updates a workspace manager group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param workspaceManagerGroup The workspace manager group object + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + workspaceManagerGroup: WorkspaceManagerGroup, + options?: WorkspaceManagerGroupsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Deletes a workspace manager group + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerGroupName The name of the workspace manager group + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerGroupName: string, + options?: WorkspaceManagerGroupsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerMembers.ts b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerMembers.ts new file mode 100644 index 000000000000..ededca28e944 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/src/operationsInterfaces/workspaceManagerMembers.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + WorkspaceManagerMember, + WorkspaceManagerMembersListOptionalParams, + WorkspaceManagerMembersGetOptionalParams, + WorkspaceManagerMembersGetResponse, + WorkspaceManagerMembersCreateOrUpdateOptionalParams, + WorkspaceManagerMembersCreateOrUpdateResponse, + WorkspaceManagerMembersDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a WorkspaceManagerMembers. */ +export interface WorkspaceManagerMembers { + /** + * Gets all workspace manager members that exist for the given Sentinel workspace manager + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagerMembersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + options?: WorkspaceManagerMembersGetOptionalParams, + ): Promise; + /** + * Creates or updates a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param workspaceManagerMember The workspace manager member object + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + workspaceManagerMember: WorkspaceManagerMember, + options?: WorkspaceManagerMembersCreateOrUpdateOptionalParams, + ): Promise; + /** + * Deletes a workspace manager member + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param workspaceManagerMemberName The name of the workspace manager member + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + workspaceManagerMemberName: string, + options?: WorkspaceManagerMembersDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/securityinsight/arm-securityinsight/src/pagingHelper.ts b/sdk/securityinsight/arm-securityinsight/src/pagingHelper.ts index 269a2b9814b5..205cccc26592 100644 --- a/sdk/securityinsight/arm-securityinsight/src/pagingHelper.ts +++ b/sdk/securityinsight/arm-securityinsight/src/pagingHelper.ts @@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined { export function setContinuationToken( page: unknown, - continuationToken: string | undefined + continuationToken: string | undefined, ): void { if (typeof page !== "object" || page === null || !continuationToken) { return; diff --git a/sdk/securityinsight/arm-securityinsight/src/securityInsights.ts b/sdk/securityinsight/arm-securityinsight/src/securityInsights.ts index 20a358af6b03..fdabbac9a1e0 100644 --- a/sdk/securityinsight/arm-securityinsight/src/securityInsights.ts +++ b/sdk/securityinsight/arm-securityinsight/src/securityInsights.ts @@ -11,7 +11,7 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline"; import { PipelineRequest, PipelineResponse, - SendRequest + SendRequest, } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { @@ -19,24 +19,40 @@ import { ActionsImpl, AlertRuleTemplatesImpl, AutomationRulesImpl, + EntitiesImpl, IncidentsImpl, + BillingStatisticsImpl, BookmarksImpl, BookmarkRelationsImpl, BookmarkOperationsImpl, + ContentPackagesImpl, + ContentPackageImpl, + ProductPackagesImpl, + ProductPackageImpl, + ProductTemplatesImpl, + ProductTemplateImpl, + ContentTemplatesImpl, + ContentTemplateImpl, IPGeodataImpl, DomainWhoisImpl, - EntitiesImpl, EntitiesGetTimelineImpl, EntitiesRelationsImpl, EntityRelationsImpl, EntityQueriesImpl, EntityQueryTemplatesImpl, FileImportsImpl, + HuntsImpl, + HuntRelationsImpl, + HuntCommentsImpl, IncidentCommentsImpl, IncidentRelationsImpl, + IncidentTasksImpl, MetadataImpl, OfficeConsentsImpl, SentinelOnboardingStatesImpl, + GetRecommendationsImpl, + GetImpl, + UpdateImpl, SecurityMLAnalyticsSettingsImpl, ProductSettingsImpl, SourceControlOperationsImpl, @@ -44,35 +60,60 @@ import { ThreatIntelligenceIndicatorImpl, ThreatIntelligenceIndicatorsImpl, ThreatIntelligenceIndicatorMetricsImpl, + TriggeredAnalyticsRuleRunOperationsImpl, + GetTriggeredAnalyticsRuleRunsImpl, + AlertRuleOperationsImpl, WatchlistsImpl, WatchlistItemsImpl, + WorkspaceManagerAssignmentsImpl, + WorkspaceManagerAssignmentJobsImpl, + WorkspaceManagerConfigurationsImpl, + WorkspaceManagerGroupsImpl, + WorkspaceManagerMembersImpl, + DataConnectorDefinitionsImpl, DataConnectorsImpl, DataConnectorsCheckRequirementsOperationsImpl, - OperationsImpl + OperationsImpl, } from "./operations"; import { AlertRules, Actions, AlertRuleTemplates, AutomationRules, + Entities, Incidents, + BillingStatistics, Bookmarks, BookmarkRelations, BookmarkOperations, + ContentPackages, + ContentPackage, + ProductPackages, + ProductPackage, + ProductTemplates, + ProductTemplate, + ContentTemplates, + ContentTemplate, IPGeodata, DomainWhois, - Entities, EntitiesGetTimeline, EntitiesRelations, EntityRelations, EntityQueries, EntityQueryTemplates, FileImports, + Hunts, + HuntRelations, + HuntComments, IncidentComments, IncidentRelations, + IncidentTasks, Metadata, OfficeConsents, SentinelOnboardingStates, + GetRecommendations, + Get, + Update, SecurityMLAnalyticsSettings, ProductSettings, SourceControlOperations, @@ -80,13 +121,33 @@ import { ThreatIntelligenceIndicator, ThreatIntelligenceIndicators, ThreatIntelligenceIndicatorMetrics, + TriggeredAnalyticsRuleRunOperations, + GetTriggeredAnalyticsRuleRuns, + AlertRuleOperations, Watchlists, WatchlistItems, + WorkspaceManagerAssignments, + WorkspaceManagerAssignmentJobs, + WorkspaceManagerConfigurations, + WorkspaceManagerGroups, + WorkspaceManagerMembers, + DataConnectorDefinitions, DataConnectors, DataConnectorsCheckRequirementsOperations, - Operations + Operations, } from "./operationsInterfaces"; -import { SecurityInsightsOptionalParams } from "./models"; +import * as Parameters from "./models/parameters"; +import * as Mappers from "./models/mappers"; +import { + SecurityInsightsOptionalParams, + EnrichmentIpAddressBody, + EnrichmentType, + ListGeodataByIpOptionalParams, + ListGeodataByIpResponse, + EnrichmentDomainBody, + ListWhoisByDomainOptionalParams, + ListWhoisByDomainResponse, +} from "./models"; export class SecurityInsights extends coreClient.ServiceClient { $host: string; @@ -102,7 +163,7 @@ export class SecurityInsights extends coreClient.ServiceClient { constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: SecurityInsightsOptionalParams + options?: SecurityInsightsOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -117,7 +178,7 @@ export class SecurityInsights extends coreClient.ServiceClient { } const defaults: SecurityInsightsOptionalParams = { requestContentType: "application/json; charset=utf-8", - credential: credentials + credential: credentials, }; const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.7`; @@ -130,20 +191,21 @@ export class SecurityInsights extends coreClient.ServiceClient { ...defaults, ...options, userAgentOptions: { - userAgentPrefix + userAgentPrefix, }, endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com" + options.endpoint ?? options.baseUri ?? "https://management.azure.com", }; super(optionsWithDefaults); let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { - const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = + options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName + coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -153,7 +215,7 @@ export class SecurityInsights extends coreClient.ServiceClient { !bearerTokenAuthenticationPolicyFound ) { this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName + name: coreRestPipeline.bearerTokenAuthenticationPolicyName, }); this.pipeline.addPolicy( coreRestPipeline.bearerTokenAuthenticationPolicy({ @@ -163,9 +225,9 @@ export class SecurityInsights extends coreClient.ServiceClient { `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) + coreClient.authorizeRequestOnClaimChallenge, + }, + }), ); } // Parameter assignments @@ -173,50 +235,80 @@ export class SecurityInsights extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-09-01-preview"; + this.apiVersion = options.apiVersion || "2024-01-01-preview"; this.alertRules = new AlertRulesImpl(this); this.actions = new ActionsImpl(this); this.alertRuleTemplates = new AlertRuleTemplatesImpl(this); this.automationRules = new AutomationRulesImpl(this); + this.entities = new EntitiesImpl(this); this.incidents = new IncidentsImpl(this); + this.billingStatistics = new BillingStatisticsImpl(this); this.bookmarks = new BookmarksImpl(this); this.bookmarkRelations = new BookmarkRelationsImpl(this); this.bookmarkOperations = new BookmarkOperationsImpl(this); + this.contentPackages = new ContentPackagesImpl(this); + this.contentPackage = new ContentPackageImpl(this); + this.productPackages = new ProductPackagesImpl(this); + this.productPackage = new ProductPackageImpl(this); + this.productTemplates = new ProductTemplatesImpl(this); + this.productTemplate = new ProductTemplateImpl(this); + this.contentTemplates = new ContentTemplatesImpl(this); + this.contentTemplate = new ContentTemplateImpl(this); this.iPGeodata = new IPGeodataImpl(this); this.domainWhois = new DomainWhoisImpl(this); - this.entities = new EntitiesImpl(this); this.entitiesGetTimeline = new EntitiesGetTimelineImpl(this); this.entitiesRelations = new EntitiesRelationsImpl(this); this.entityRelations = new EntityRelationsImpl(this); this.entityQueries = new EntityQueriesImpl(this); this.entityQueryTemplates = new EntityQueryTemplatesImpl(this); this.fileImports = new FileImportsImpl(this); + this.hunts = new HuntsImpl(this); + this.huntRelations = new HuntRelationsImpl(this); + this.huntComments = new HuntCommentsImpl(this); this.incidentComments = new IncidentCommentsImpl(this); this.incidentRelations = new IncidentRelationsImpl(this); + this.incidentTasks = new IncidentTasksImpl(this); this.metadata = new MetadataImpl(this); this.officeConsents = new OfficeConsentsImpl(this); this.sentinelOnboardingStates = new SentinelOnboardingStatesImpl(this); + this.getRecommendations = new GetRecommendationsImpl(this); + this.get = new GetImpl(this); + this.update = new UpdateImpl(this); this.securityMLAnalyticsSettings = new SecurityMLAnalyticsSettingsImpl( - this + this, ); this.productSettings = new ProductSettingsImpl(this); this.sourceControlOperations = new SourceControlOperationsImpl(this); this.sourceControls = new SourceControlsImpl(this); this.threatIntelligenceIndicator = new ThreatIntelligenceIndicatorImpl( - this + this, ); this.threatIntelligenceIndicators = new ThreatIntelligenceIndicatorsImpl( - this + this, ); - this.threatIntelligenceIndicatorMetrics = new ThreatIntelligenceIndicatorMetricsImpl( - this + this.threatIntelligenceIndicatorMetrics = + new ThreatIntelligenceIndicatorMetricsImpl(this); + this.triggeredAnalyticsRuleRunOperations = + new TriggeredAnalyticsRuleRunOperationsImpl(this); + this.getTriggeredAnalyticsRuleRuns = new GetTriggeredAnalyticsRuleRunsImpl( + this, ); + this.alertRuleOperations = new AlertRuleOperationsImpl(this); this.watchlists = new WatchlistsImpl(this); this.watchlistItems = new WatchlistItemsImpl(this); - this.dataConnectors = new DataConnectorsImpl(this); - this.dataConnectorsCheckRequirementsOperations = new DataConnectorsCheckRequirementsOperationsImpl( - this + this.workspaceManagerAssignments = new WorkspaceManagerAssignmentsImpl( + this, ); + this.workspaceManagerAssignmentJobs = + new WorkspaceManagerAssignmentJobsImpl(this); + this.workspaceManagerConfigurations = + new WorkspaceManagerConfigurationsImpl(this); + this.workspaceManagerGroups = new WorkspaceManagerGroupsImpl(this); + this.workspaceManagerMembers = new WorkspaceManagerMembersImpl(this); + this.dataConnectorDefinitions = new DataConnectorDefinitionsImpl(this); + this.dataConnectors = new DataConnectorsImpl(this); + this.dataConnectorsCheckRequirementsOperations = + new DataConnectorsCheckRequirementsOperationsImpl(this); this.operations = new OperationsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -230,7 +322,7 @@ export class SecurityInsights extends coreClient.ServiceClient { name: "CustomApiVersionPolicy", async sendRequest( request: PipelineRequest, - next: SendRequest + next: SendRequest, ): Promise { const param = request.url.split("?"); if (param.length > 1) { @@ -244,33 +336,97 @@ export class SecurityInsights extends coreClient.ServiceClient { request.url = param[0] + "?" + newParams.join("&"); } return next(request); - } + }, }; this.pipeline.addPolicy(apiVersionPolicy); } + /** + * Get geodata for a single IP address + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param enrichmentType Enrichment type + * @param ipAddressBody IP address (v4 or v6) to be enriched + * @param options The options parameters. + */ + listGeodataByIp( + resourceGroupName: string, + workspaceName: string, + enrichmentType: EnrichmentType, + ipAddressBody: EnrichmentIpAddressBody, + options?: ListGeodataByIpOptionalParams, + ): Promise { + return this.sendOperationRequest( + { + resourceGroupName, + workspaceName, + enrichmentType, + ipAddressBody, + options, + }, + listGeodataByIpOperationSpec, + ); + } + + /** + * Get whois information for a single domain name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param enrichmentType Enrichment type + * @param domainBody Domain name to be enriched. Only domain name is accepted + * @param options The options parameters. + */ + listWhoisByDomain( + resourceGroupName: string, + workspaceName: string, + enrichmentType: EnrichmentType, + domainBody: EnrichmentDomainBody, + options?: ListWhoisByDomainOptionalParams, + ): Promise { + return this.sendOperationRequest( + { resourceGroupName, workspaceName, enrichmentType, domainBody, options }, + listWhoisByDomainOperationSpec, + ); + } + alertRules: AlertRules; actions: Actions; alertRuleTemplates: AlertRuleTemplates; automationRules: AutomationRules; + entities: Entities; incidents: Incidents; + billingStatistics: BillingStatistics; bookmarks: Bookmarks; bookmarkRelations: BookmarkRelations; bookmarkOperations: BookmarkOperations; + contentPackages: ContentPackages; + contentPackage: ContentPackage; + productPackages: ProductPackages; + productPackage: ProductPackage; + productTemplates: ProductTemplates; + productTemplate: ProductTemplate; + contentTemplates: ContentTemplates; + contentTemplate: ContentTemplate; iPGeodata: IPGeodata; domainWhois: DomainWhois; - entities: Entities; entitiesGetTimeline: EntitiesGetTimeline; entitiesRelations: EntitiesRelations; entityRelations: EntityRelations; entityQueries: EntityQueries; entityQueryTemplates: EntityQueryTemplates; fileImports: FileImports; + hunts: Hunts; + huntRelations: HuntRelations; + huntComments: HuntComments; incidentComments: IncidentComments; incidentRelations: IncidentRelations; + incidentTasks: IncidentTasks; metadata: Metadata; officeConsents: OfficeConsents; sentinelOnboardingStates: SentinelOnboardingStates; + getRecommendations: GetRecommendations; + get: Get; + update: Update; securityMLAnalyticsSettings: SecurityMLAnalyticsSettings; productSettings: ProductSettings; sourceControlOperations: SourceControlOperations; @@ -278,9 +434,69 @@ export class SecurityInsights extends coreClient.ServiceClient { threatIntelligenceIndicator: ThreatIntelligenceIndicator; threatIntelligenceIndicators: ThreatIntelligenceIndicators; threatIntelligenceIndicatorMetrics: ThreatIntelligenceIndicatorMetrics; + triggeredAnalyticsRuleRunOperations: TriggeredAnalyticsRuleRunOperations; + getTriggeredAnalyticsRuleRuns: GetTriggeredAnalyticsRuleRuns; + alertRuleOperations: AlertRuleOperations; watchlists: Watchlists; watchlistItems: WatchlistItems; + workspaceManagerAssignments: WorkspaceManagerAssignments; + workspaceManagerAssignmentJobs: WorkspaceManagerAssignmentJobs; + workspaceManagerConfigurations: WorkspaceManagerConfigurations; + workspaceManagerGroups: WorkspaceManagerGroups; + workspaceManagerMembers: WorkspaceManagerMembers; + dataConnectorDefinitions: DataConnectorDefinitions; dataConnectors: DataConnectors; dataConnectorsCheckRequirementsOperations: DataConnectorsCheckRequirementsOperations; operations: Operations; } +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listGeodataByIpOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/enrichment/{enrichmentType}/listGeodataByIp", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EnrichmentIpGeodataAutoGenerated, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.ipAddressBody, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.enrichmentType, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listWhoisByDomainOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/enrichment/{enrichmentType}/listWhoisByDomain", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EnrichmentDomainWhois, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.domainBody, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.enrichmentType, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/securityinsight/arm-securityinsight/test/sampleTest.ts b/sdk/securityinsight/arm-securityinsight/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/securityinsight/arm-securityinsight/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/securityinsight/arm-securityinsight/tsconfig.json b/sdk/securityinsight/arm-securityinsight/tsconfig.json index 6c7875caddba..3e6ae96443f3 100644 --- a/sdk/securityinsight/arm-securityinsight/tsconfig.json +++ b/sdk/securityinsight/arm-securityinsight/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-securityinsight": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"