@azure/arm-securityinsight 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +20426 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7571 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +813 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +437 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +12661 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +68 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +518 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/actions.d.ts +69 -0
- package/dist-esm/src/operations/actions.d.ts.map +1 -0
- package/dist-esm/src/operations/actions.js +249 -0
- package/dist-esm/src/operations/actions.js.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts +46 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.js +169 -0
- package/dist-esm/src/operations/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operations/alertRules.d.ts +63 -0
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRules.js +238 -0
- package/dist-esm/src/operations/alertRules.js.map +1 -0
- package/dist-esm/src/operations/automationRules.d.ts +63 -0
- package/dist-esm/src/operations/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operations/automationRules.js +244 -0
- package/dist-esm/src/operations/automationRules.js.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts +22 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.js +58 -0
- package/dist-esm/src/operations/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts +69 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.js +268 -0
- package/dist-esm/src/operations/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operations/bookmarks.d.ts +63 -0
- package/dist-esm/src/operations/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarks.js +238 -0
- package/dist-esm/src/operations/bookmarks.js.map +1 -0
- package/dist-esm/src/operations/dataConnectors.d.ts +80 -0
- package/dist-esm/src/operations/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectors.js +313 -0
- package/dist-esm/src/operations/dataConnectors.js.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts +21 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js +61 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operations/domainWhois.d.ts +20 -0
- package/dist-esm/src/operations/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operations/domainWhois.js +52 -0
- package/dist-esm/src/operations/domainWhois.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +73 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +272 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts +22 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js +58 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts +41 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.js +154 -0
- package/dist-esm/src/operations/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operations/entityQueries.d.ts +63 -0
- package/dist-esm/src/operations/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueries.js +238 -0
- package/dist-esm/src/operations/entityQueries.js.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts +46 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.js +169 -0
- package/dist-esm/src/operations/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operations/entityRelations.d.ts +22 -0
- package/dist-esm/src/operations/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entityRelations.js +57 -0
- package/dist-esm/src/operations/entityRelations.js.map +1 -0
- package/dist-esm/src/operations/iPGeodata.d.ts +20 -0
- package/dist-esm/src/operations/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operations/iPGeodata.js +52 -0
- package/dist-esm/src/operations/iPGeodata.js.map +1 -0
- package/dist-esm/src/operations/incidentComments.d.ts +69 -0
- package/dist-esm/src/operations/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentComments.js +280 -0
- package/dist-esm/src/operations/incidentComments.js.map +1 -0
- package/dist-esm/src/operations/incidentRelations.d.ts +69 -0
- package/dist-esm/src/operations/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentRelations.js +268 -0
- package/dist-esm/src/operations/incidentRelations.js.map +1 -0
- package/dist-esm/src/operations/incidents.d.ts +97 -0
- package/dist-esm/src/operations/incidents.d.ts.map +1 -0
- package/dist-esm/src/operations/incidents.js +382 -0
- package/dist-esm/src/operations/incidents.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +33 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +40 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/metadata.d.ts +72 -0
- package/dist-esm/src/operations/metadata.d.ts.map +1 -0
- package/dist-esm/src/operations/metadata.js +291 -0
- package/dist-esm/src/operations/metadata.js.map +1 -0
- package/dist-esm/src/operations/officeConsents.d.ts +54 -0
- package/dist-esm/src/operations/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operations/officeConsents.js +200 -0
- package/dist-esm/src/operations/officeConsents.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/productSettings.d.ts +45 -0
- package/dist-esm/src/operations/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/productSettings.js +151 -0
- package/dist-esm/src/operations/productSettings.js.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts +44 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js +168 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts +41 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.js +143 -0
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operations/sourceControls.d.ts +63 -0
- package/dist-esm/src/operations/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControls.js +244 -0
- package/dist-esm/src/operations/sourceControls.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts +97 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js +387 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts +20 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js +53 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts +38 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js +149 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operations/watchlistItems.d.ts +69 -0
- package/dist-esm/src/operations/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlistItems.js +268 -0
- package/dist-esm/src/operations/watchlistItems.js.map +1 -0
- package/dist-esm/src/operations/watchlists.d.ts +65 -0
- package/dist-esm/src/operations/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlists.js +240 -0
- package/dist-esm/src/operations/watchlists.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.js +9 -0
- package/dist-esm/src/operationsInterfaces/actions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js +9 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +40 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js +9 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js.map +1 -0
- package/dist-esm/src/securityInsights.d.ts +49 -0
- package/dist-esm/src/securityInsights.d.ts.map +1 -0
- package/dist-esm/src/securityInsights.js +82 -0
- package/dist-esm/src/securityInsights.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +95 -0
- package/review/arm-securityinsight.api.md +5007 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +8349 -0
- package/src/models/mappers.ts +14311 -0
- package/src/models/parameters.ts +616 -0
- package/src/operations/actions.ts +351 -0
- package/src/operations/alertRuleTemplates.ts +221 -0
- package/src/operations/alertRules.ts +314 -0
- package/src/operations/automationRules.ts +320 -0
- package/src/operations/bookmarkOperations.ts +80 -0
- package/src/operations/bookmarkRelations.ts +369 -0
- package/src/operations/bookmarks.ts +314 -0
- package/src/operations/dataConnectors.ts +413 -0
- package/src/operations/dataConnectorsCheckRequirementsOperations.ts +83 -0
- package/src/operations/domainWhois.ts +71 -0
- package/src/operations/entities.ts +366 -0
- package/src/operations/entitiesGetTimeline.ts +80 -0
- package/src/operations/entitiesRelations.ts +216 -0
- package/src/operations/entityQueries.ts +315 -0
- package/src/operations/entityQueryTemplates.ts +221 -0
- package/src/operations/entityRelations.ts +78 -0
- package/src/operations/iPGeodata.ts +68 -0
- package/src/operations/incidentComments.ts +381 -0
- package/src/operations/incidentRelations.ts +369 -0
- package/src/operations/incidents.ts +508 -0
- package/src/operations/index.ts +40 -0
- package/src/operations/metadata.ts +381 -0
- package/src/operations/officeConsents.ts +263 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/productSettings.ts +207 -0
- package/src/operations/sentinelOnboardingStates.ts +222 -0
- package/src/operations/sourceControlOperations.ts +206 -0
- package/src/operations/sourceControls.ts +320 -0
- package/src/operations/threatIntelligenceIndicator.ts +526 -0
- package/src/operations/threatIntelligenceIndicatorMetrics.ts +73 -0
- package/src/operations/threatIntelligenceIndicators.ts +190 -0
- package/src/operations/watchlistItems.ts +369 -0
- package/src/operations/watchlists.ts +316 -0
- package/src/operationsInterfaces/actions.ts +84 -0
- package/src/operationsInterfaces/alertRuleTemplates.ts +44 -0
- package/src/operationsInterfaces/alertRules.ts +75 -0
- package/src/operationsInterfaces/automationRules.ts +75 -0
- package/src/operationsInterfaces/bookmarkOperations.ts +32 -0
- package/src/operationsInterfaces/bookmarkRelations.ts +83 -0
- package/src/operationsInterfaces/bookmarks.ts +75 -0
- package/src/operationsInterfaces/dataConnectors.ts +106 -0
- package/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts +30 -0
- package/src/operationsInterfaces/domainWhois.ts +27 -0
- package/src/operationsInterfaces/entities.ts +98 -0
- package/src/operationsInterfaces/entitiesGetTimeline.ts +32 -0
- package/src/operationsInterfaces/entitiesRelations.ts +28 -0
- package/src/operationsInterfaces/entityQueries.ts +76 -0
- package/src/operationsInterfaces/entityQueryTemplates.ts +44 -0
- package/src/operationsInterfaces/entityRelations.ts +31 -0
- package/src/operationsInterfaces/iPGeodata.ts +24 -0
- package/src/operationsInterfaces/incidentComments.ts +83 -0
- package/src/operationsInterfaces/incidentRelations.ts +83 -0
- package/src/operationsInterfaces/incidents.ts +139 -0
- package/src/operationsInterfaces/index.ts +40 -0
- package/src/operationsInterfaces/metadata.ts +93 -0
- package/src/operationsInterfaces/officeConsents.ts +58 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/productSettings.ts +74 -0
- package/src/operationsInterfaces/sentinelOnboardingStates.ts +71 -0
- package/src/operationsInterfaces/sourceControlOperations.ts +32 -0
- package/src/operationsInterfaces/sourceControls.ts +75 -0
- package/src/operationsInterfaces/threatIntelligenceIndicator.ts +131 -0
- package/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts +27 -0
- package/src/operationsInterfaces/threatIntelligenceIndicators.ts +29 -0
- package/src/operationsInterfaces/watchlistItems.ts +83 -0
- package/src/operationsInterfaces/watchlists.ts +77 -0
- package/src/securityInsights.ts +211 -0
- package/tsconfig.json +19 -0
- package/types/arm-securityinsight.d.ts +9299 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ThreatIntelligenceIndicator operations. */
|
|
14
|
+
export class ThreatIntelligenceIndicatorImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ThreatIntelligenceIndicator class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Query threat intelligence indicators as per filtering criteria.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
|
|
27
|
+
* indicators.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listQueryIndicators(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
31
|
+
const iter = this.queryIndicatorsPagingAll(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* queryIndicatorsPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._queryIndicators(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._queryIndicatorsNext(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
queryIndicatorsPagingAll(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* queryIndicatorsPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Create a new threat intelligence indicator.
|
|
76
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
+
* @param workspaceName The name of the workspace.
|
|
78
|
+
* @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
|
|
79
|
+
* update.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
createIndicator(resourceGroupName, workspaceName, threatIntelligenceProperties, options) {
|
|
83
|
+
return this.client.sendOperationRequest({
|
|
84
|
+
resourceGroupName,
|
|
85
|
+
workspaceName,
|
|
86
|
+
threatIntelligenceProperties,
|
|
87
|
+
options
|
|
88
|
+
}, createIndicatorOperationSpec);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* View a threat intelligence indicator by name.
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param workspaceName The name of the workspace.
|
|
94
|
+
* @param name Threat intelligence indicator name field.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
get(resourceGroupName, workspaceName, name, options) {
|
|
98
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, name, options }, getOperationSpec);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Update a threat Intelligence indicator.
|
|
102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
+
* @param workspaceName The name of the workspace.
|
|
104
|
+
* @param name Threat intelligence indicator name field.
|
|
105
|
+
* @param threatIntelligenceProperties Properties of threat intelligence indicators to create and
|
|
106
|
+
* update.
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
create(resourceGroupName, workspaceName, name, threatIntelligenceProperties, options) {
|
|
110
|
+
return this.client.sendOperationRequest({
|
|
111
|
+
resourceGroupName,
|
|
112
|
+
workspaceName,
|
|
113
|
+
name,
|
|
114
|
+
threatIntelligenceProperties,
|
|
115
|
+
options
|
|
116
|
+
}, createOperationSpec);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Delete a threat intelligence indicator.
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
+
* @param workspaceName The name of the workspace.
|
|
122
|
+
* @param name Threat intelligence indicator name field.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
delete(resourceGroupName, workspaceName, name, options) {
|
|
126
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, name, options }, deleteOperationSpec);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Query threat intelligence indicators as per filtering criteria.
|
|
130
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
|
+
* @param workspaceName The name of the workspace.
|
|
132
|
+
* @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
|
|
133
|
+
* indicators.
|
|
134
|
+
* @param options The options parameters.
|
|
135
|
+
*/
|
|
136
|
+
_queryIndicators(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
137
|
+
return this.client.sendOperationRequest({
|
|
138
|
+
resourceGroupName,
|
|
139
|
+
workspaceName,
|
|
140
|
+
threatIntelligenceFilteringCriteria,
|
|
141
|
+
options
|
|
142
|
+
}, queryIndicatorsOperationSpec);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Append tags to a threat intelligence indicator.
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
+
* @param workspaceName The name of the workspace.
|
|
148
|
+
* @param name Threat intelligence indicator name field.
|
|
149
|
+
* @param threatIntelligenceAppendTags The threat intelligence append tags request body
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
appendTags(resourceGroupName, workspaceName, name, threatIntelligenceAppendTags, options) {
|
|
153
|
+
return this.client.sendOperationRequest({
|
|
154
|
+
resourceGroupName,
|
|
155
|
+
workspaceName,
|
|
156
|
+
name,
|
|
157
|
+
threatIntelligenceAppendTags,
|
|
158
|
+
options
|
|
159
|
+
}, appendTagsOperationSpec);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Replace tags added to a threat intelligence indicator.
|
|
163
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
|
+
* @param workspaceName The name of the workspace.
|
|
165
|
+
* @param name Threat intelligence indicator name field.
|
|
166
|
+
* @param threatIntelligenceReplaceTags Tags in the threat intelligence indicator to be replaced.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
replaceTags(resourceGroupName, workspaceName, name, threatIntelligenceReplaceTags, options) {
|
|
170
|
+
return this.client.sendOperationRequest({
|
|
171
|
+
resourceGroupName,
|
|
172
|
+
workspaceName,
|
|
173
|
+
name,
|
|
174
|
+
threatIntelligenceReplaceTags,
|
|
175
|
+
options
|
|
176
|
+
}, replaceTagsOperationSpec);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* QueryIndicatorsNext
|
|
180
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
181
|
+
* @param workspaceName The name of the workspace.
|
|
182
|
+
* @param threatIntelligenceFilteringCriteria Filtering criteria for querying threat intelligence
|
|
183
|
+
* indicators.
|
|
184
|
+
* @param nextLink The nextLink from the previous successful call to the QueryIndicators method.
|
|
185
|
+
* @param options The options parameters.
|
|
186
|
+
*/
|
|
187
|
+
_queryIndicatorsNext(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, nextLink, options) {
|
|
188
|
+
return this.client.sendOperationRequest({
|
|
189
|
+
resourceGroupName,
|
|
190
|
+
workspaceName,
|
|
191
|
+
threatIntelligenceFilteringCriteria,
|
|
192
|
+
nextLink,
|
|
193
|
+
options
|
|
194
|
+
}, queryIndicatorsNextOperationSpec);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
// Operation Specifications
|
|
198
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
199
|
+
const createIndicatorOperationSpec = {
|
|
200
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator",
|
|
201
|
+
httpMethod: "POST",
|
|
202
|
+
responses: {
|
|
203
|
+
200: {
|
|
204
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
205
|
+
},
|
|
206
|
+
201: {
|
|
207
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
208
|
+
},
|
|
209
|
+
default: {
|
|
210
|
+
bodyMapper: Mappers.CloudError
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
requestBody: Parameters.threatIntelligenceProperties,
|
|
214
|
+
queryParameters: [Parameters.apiVersion],
|
|
215
|
+
urlParameters: [
|
|
216
|
+
Parameters.$host,
|
|
217
|
+
Parameters.subscriptionId,
|
|
218
|
+
Parameters.resourceGroupName,
|
|
219
|
+
Parameters.workspaceName
|
|
220
|
+
],
|
|
221
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
222
|
+
mediaType: "json",
|
|
223
|
+
serializer
|
|
224
|
+
};
|
|
225
|
+
const getOperationSpec = {
|
|
226
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}",
|
|
227
|
+
httpMethod: "GET",
|
|
228
|
+
responses: {
|
|
229
|
+
200: {
|
|
230
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
231
|
+
},
|
|
232
|
+
default: {
|
|
233
|
+
bodyMapper: Mappers.CloudError
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
queryParameters: [Parameters.apiVersion],
|
|
237
|
+
urlParameters: [
|
|
238
|
+
Parameters.$host,
|
|
239
|
+
Parameters.subscriptionId,
|
|
240
|
+
Parameters.resourceGroupName,
|
|
241
|
+
Parameters.workspaceName,
|
|
242
|
+
Parameters.name
|
|
243
|
+
],
|
|
244
|
+
headerParameters: [Parameters.accept],
|
|
245
|
+
serializer
|
|
246
|
+
};
|
|
247
|
+
const createOperationSpec = {
|
|
248
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}",
|
|
249
|
+
httpMethod: "PUT",
|
|
250
|
+
responses: {
|
|
251
|
+
200: {
|
|
252
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
253
|
+
},
|
|
254
|
+
201: {
|
|
255
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
256
|
+
},
|
|
257
|
+
default: {
|
|
258
|
+
bodyMapper: Mappers.CloudError
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
requestBody: Parameters.threatIntelligenceProperties,
|
|
262
|
+
queryParameters: [Parameters.apiVersion],
|
|
263
|
+
urlParameters: [
|
|
264
|
+
Parameters.$host,
|
|
265
|
+
Parameters.subscriptionId,
|
|
266
|
+
Parameters.resourceGroupName,
|
|
267
|
+
Parameters.workspaceName,
|
|
268
|
+
Parameters.name
|
|
269
|
+
],
|
|
270
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
271
|
+
mediaType: "json",
|
|
272
|
+
serializer
|
|
273
|
+
};
|
|
274
|
+
const deleteOperationSpec = {
|
|
275
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}",
|
|
276
|
+
httpMethod: "DELETE",
|
|
277
|
+
responses: {
|
|
278
|
+
200: {},
|
|
279
|
+
204: {},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.CloudError
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.subscriptionId,
|
|
288
|
+
Parameters.resourceGroupName,
|
|
289
|
+
Parameters.workspaceName,
|
|
290
|
+
Parameters.name
|
|
291
|
+
],
|
|
292
|
+
headerParameters: [Parameters.accept],
|
|
293
|
+
serializer
|
|
294
|
+
};
|
|
295
|
+
const queryIndicatorsOperationSpec = {
|
|
296
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators",
|
|
297
|
+
httpMethod: "POST",
|
|
298
|
+
responses: {
|
|
299
|
+
200: {
|
|
300
|
+
bodyMapper: Mappers.ThreatIntelligenceInformationList
|
|
301
|
+
},
|
|
302
|
+
default: {
|
|
303
|
+
bodyMapper: Mappers.CloudError
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
requestBody: Parameters.threatIntelligenceFilteringCriteria,
|
|
307
|
+
queryParameters: [Parameters.apiVersion],
|
|
308
|
+
urlParameters: [
|
|
309
|
+
Parameters.$host,
|
|
310
|
+
Parameters.subscriptionId,
|
|
311
|
+
Parameters.resourceGroupName,
|
|
312
|
+
Parameters.workspaceName
|
|
313
|
+
],
|
|
314
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
315
|
+
mediaType: "json",
|
|
316
|
+
serializer
|
|
317
|
+
};
|
|
318
|
+
const appendTagsOperationSpec = {
|
|
319
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags",
|
|
320
|
+
httpMethod: "POST",
|
|
321
|
+
responses: {
|
|
322
|
+
200: {},
|
|
323
|
+
default: {
|
|
324
|
+
bodyMapper: Mappers.CloudError
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
requestBody: Parameters.threatIntelligenceAppendTags,
|
|
328
|
+
queryParameters: [Parameters.apiVersion],
|
|
329
|
+
urlParameters: [
|
|
330
|
+
Parameters.$host,
|
|
331
|
+
Parameters.subscriptionId,
|
|
332
|
+
Parameters.resourceGroupName,
|
|
333
|
+
Parameters.workspaceName,
|
|
334
|
+
Parameters.name
|
|
335
|
+
],
|
|
336
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
337
|
+
mediaType: "json",
|
|
338
|
+
serializer
|
|
339
|
+
};
|
|
340
|
+
const replaceTagsOperationSpec = {
|
|
341
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags",
|
|
342
|
+
httpMethod: "POST",
|
|
343
|
+
responses: {
|
|
344
|
+
200: {
|
|
345
|
+
bodyMapper: Mappers.ThreatIntelligenceInformation
|
|
346
|
+
},
|
|
347
|
+
default: {
|
|
348
|
+
bodyMapper: Mappers.CloudError
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
requestBody: Parameters.threatIntelligenceReplaceTags,
|
|
352
|
+
queryParameters: [Parameters.apiVersion],
|
|
353
|
+
urlParameters: [
|
|
354
|
+
Parameters.$host,
|
|
355
|
+
Parameters.subscriptionId,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.workspaceName,
|
|
358
|
+
Parameters.name
|
|
359
|
+
],
|
|
360
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
361
|
+
mediaType: "json",
|
|
362
|
+
serializer
|
|
363
|
+
};
|
|
364
|
+
const queryIndicatorsNextOperationSpec = {
|
|
365
|
+
path: "{nextLink}",
|
|
366
|
+
httpMethod: "GET",
|
|
367
|
+
responses: {
|
|
368
|
+
200: {
|
|
369
|
+
bodyMapper: Mappers.ThreatIntelligenceInformationList
|
|
370
|
+
},
|
|
371
|
+
default: {
|
|
372
|
+
bodyMapper: Mappers.CloudError
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
queryParameters: [Parameters.apiVersion],
|
|
376
|
+
urlParameters: [
|
|
377
|
+
Parameters.$host,
|
|
378
|
+
Parameters.subscriptionId,
|
|
379
|
+
Parameters.resourceGroupName,
|
|
380
|
+
Parameters.workspaceName,
|
|
381
|
+
Parameters.nextLink
|
|
382
|
+
],
|
|
383
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
384
|
+
mediaType: "json",
|
|
385
|
+
serializer
|
|
386
|
+
};
|
|
387
|
+
//# sourceMappingURL=threatIntelligenceIndicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"threatIntelligenceIndicator.js","sourceRoot":"","sources":["../../../src/operations/threatIntelligenceIndicator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAuBn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,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ThreatIntelligenceIndicatorMetrics } from "../operationsInterfaces";
|
|
2
|
+
import { SecurityInsights } from "../securityInsights";
|
|
3
|
+
import { ThreatIntelligenceIndicatorMetricsListOptionalParams, ThreatIntelligenceIndicatorMetricsListResponse } from "../models";
|
|
4
|
+
/** Class containing ThreatIntelligenceIndicatorMetrics operations. */
|
|
5
|
+
export declare class ThreatIntelligenceIndicatorMetricsImpl implements ThreatIntelligenceIndicatorMetrics {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ThreatIntelligenceIndicatorMetrics class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: SecurityInsights);
|
|
12
|
+
/**
|
|
13
|
+
* Get threat intelligence indicators metrics (Indicators counts by Type, Threat Type, Source).
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param workspaceName The name of the workspace.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(resourceGroupName: string, workspaceName: string, options?: ThreatIntelligenceIndicatorMetricsListOptionalParams): Promise<ThreatIntelligenceIndicatorMetricsListResponse>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=threatIntelligenceIndicatorMetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"threatIntelligenceIndicatorMetrics.d.ts","sourceRoot":"","sources":["../../../src/operations/threatIntelligenceIndicatorMetrics.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAI7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAEnB,sEAAsE;AACtE,qBAAa,sCACX,YAAW,kCAAkC;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC;CAM3D"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing ThreatIntelligenceIndicatorMetrics operations. */
|
|
12
|
+
export class ThreatIntelligenceIndicatorMetricsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class ThreatIntelligenceIndicatorMetrics class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get threat intelligence indicators metrics (Indicators counts by Type, Threat Type, Source).
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param workspaceName The name of the workspace.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(resourceGroupName, workspaceName, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
// Operation Specifications
|
|
31
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
32
|
+
const listOperationSpec = {
|
|
33
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics",
|
|
34
|
+
httpMethod: "GET",
|
|
35
|
+
responses: {
|
|
36
|
+
200: {
|
|
37
|
+
bodyMapper: Mappers.ThreatIntelligenceMetricsList
|
|
38
|
+
},
|
|
39
|
+
default: {
|
|
40
|
+
bodyMapper: Mappers.CloudError
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
queryParameters: [Parameters.apiVersion],
|
|
44
|
+
urlParameters: [
|
|
45
|
+
Parameters.$host,
|
|
46
|
+
Parameters.subscriptionId,
|
|
47
|
+
Parameters.resourceGroupName,
|
|
48
|
+
Parameters.workspaceName
|
|
49
|
+
],
|
|
50
|
+
headerParameters: [Parameters.accept],
|
|
51
|
+
serializer
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=threatIntelligenceIndicatorMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"threatIntelligenceIndicatorMetrics.js","sourceRoot":"","sources":["../../../src/operations/threatIntelligenceIndicatorMetrics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,sEAAsE;AACtE,MAAM,OAAO,sCAAsC;IAIjD;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,aAAqB,EACrB,OAA8D;QAE9D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,EAC7C,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EACF,4MAA4M;IAC9M,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ThreatIntelligenceIndicators } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityInsights } from "../securityInsights";
|
|
4
|
+
import { ThreatIntelligenceInformationUnion, ThreatIntelligenceIndicatorsListOptionalParams } from "../models";
|
|
5
|
+
/** Class containing ThreatIntelligenceIndicators operations. */
|
|
6
|
+
export declare class ThreatIntelligenceIndicatorsImpl implements ThreatIntelligenceIndicators {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ThreatIntelligenceIndicators class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityInsights);
|
|
13
|
+
/**
|
|
14
|
+
* Get all threat intelligence indicators.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the workspace.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, workspaceName: string, options?: ThreatIntelligenceIndicatorsListOptionalParams): PagedAsyncIterableIterator<ThreatIntelligenceInformationUnion>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Get all threat intelligence indicators.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* ListNext
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param workspaceName The name of the workspace.
|
|
33
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listNext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=threatIntelligenceIndicators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"threatIntelligenceIndicators.d.ts","sourceRoot":"","sources":["../../../src/operations/threatIntelligenceIndicators.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,kCAAkC,EAElC,8CAA8C,EAG/C,MAAM,WAAW,CAAC;AAGnB,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,kCAAkC,CAAC;YAelD,cAAc;YAoBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ThreatIntelligenceIndicators operations. */
|
|
14
|
+
export class ThreatIntelligenceIndicatorsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ThreatIntelligenceIndicators class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get all threat intelligence indicators.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroupName, workspaceName, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get all threat intelligence indicators.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param workspaceName The name of the workspace.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* ListNext
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param workspaceName The name of the workspace.
|
|
85
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// Operation Specifications
|
|
93
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
94
|
+
const listOperationSpec = {
|
|
95
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators",
|
|
96
|
+
httpMethod: "GET",
|
|
97
|
+
responses: {
|
|
98
|
+
200: {
|
|
99
|
+
bodyMapper: Mappers.ThreatIntelligenceInformationList
|
|
100
|
+
},
|
|
101
|
+
default: {
|
|
102
|
+
bodyMapper: Mappers.CloudError
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
queryParameters: [
|
|
106
|
+
Parameters.apiVersion,
|
|
107
|
+
Parameters.filter,
|
|
108
|
+
Parameters.orderby,
|
|
109
|
+
Parameters.top,
|
|
110
|
+
Parameters.skipToken
|
|
111
|
+
],
|
|
112
|
+
urlParameters: [
|
|
113
|
+
Parameters.$host,
|
|
114
|
+
Parameters.subscriptionId,
|
|
115
|
+
Parameters.resourceGroupName,
|
|
116
|
+
Parameters.workspaceName
|
|
117
|
+
],
|
|
118
|
+
headerParameters: [Parameters.accept],
|
|
119
|
+
serializer
|
|
120
|
+
};
|
|
121
|
+
const listNextOperationSpec = {
|
|
122
|
+
path: "{nextLink}",
|
|
123
|
+
httpMethod: "GET",
|
|
124
|
+
responses: {
|
|
125
|
+
200: {
|
|
126
|
+
bodyMapper: Mappers.ThreatIntelligenceInformationList
|
|
127
|
+
},
|
|
128
|
+
default: {
|
|
129
|
+
bodyMapper: Mappers.CloudError
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
queryParameters: [
|
|
133
|
+
Parameters.apiVersion,
|
|
134
|
+
Parameters.filter,
|
|
135
|
+
Parameters.orderby,
|
|
136
|
+
Parameters.top,
|
|
137
|
+
Parameters.skipToken
|
|
138
|
+
],
|
|
139
|
+
urlParameters: [
|
|
140
|
+
Parameters.$host,
|
|
141
|
+
Parameters.subscriptionId,
|
|
142
|
+
Parameters.resourceGroupName,
|
|
143
|
+
Parameters.workspaceName,
|
|
144
|
+
Parameters.nextLink
|
|
145
|
+
],
|
|
146
|
+
headerParameters: [Parameters.accept],
|
|
147
|
+
serializer
|
|
148
|
+
};
|
|
149
|
+
//# sourceMappingURL=threatIntelligenceIndicators.js.map
|