Skip to content

Commit

Permalink
CodeGen from PR 17924 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Dev securityinsights microsoft.security insights 2021 10 01 (Azure#17924)

* Adds base for updating Microsoft.SecurityInsights from version stable/2021-04-01 to version 2021-10-01

* Updates readme

* Updates API version in new specs and examples

* Add AlertRules to microsoft.security insights 2021 10 01 (Azure#15657)

* Adds base for updating Microsoft.SecurityInsight's AlertRules from version stable/2020-01-01 to version 2021-10-01

* Updates API version in AlertRules specs and examples

* Use common types in AlertRules.json and remove redundant SecurityInsights

* Add AlertRules to readme

* Copy action examples for alert rules

* Add type:object where missing

* Align CloudError with rest of the resources in this version

* Update readme

Co-authored-by: Anat Gilenson <anatgilenson@microsoft.com>

* Use newest common types to align with rest of Azure (Azure#16130)

* Use newest common types to align with rest of Azure

* Use ErrorResponse instead of CloudError in operations

Co-authored-by: Anat Gilenson <anatgilenson@microsoft.com>

* Add AlertRules Stable version to 2021-10-01 (Azure#16268)

* Add AlertRules Stable version to 2021-10-01

* Fix missing alignment in common types

* prettier fixes

* move tactics and severity to common

* fix common types file extension

* more prettier fixes

* Add template version field

* prettier

* added version to required fields

* dummy change to trigger checks again

* Add onboarding states to new stable version (Azure#16290)

* Add onboarding states to new stable version

* Update readme.md

* cr fix - remove unused params

* Add missing resources 2021 10 01 (Azure#16666)

* Add missing resources and examples from 2020-01-01

* Update version in added resources and examples

* Use existing common types

* Remove unnesessary SecurityInsights.json

* Update readme

* Use sentinel common types in Incidents and Watchlist

* Extract and common IncidentInfo and IncidentSeverity

* Extract EntityTypes

* Correct double allOf in EntityTypes

* update readme

* Remove eventGroupingSettings and entityMappings from GetAlertRuleTemplateById example.

* rename operations.json

Co-authored-by: Anat Gilenson <anatgilenson@microsoft.com>

* Fix analytics templates model (Azure#16689)

* add missing properties to scheduled template

* prettier fixes

* restore templates example after merge

* fix templates example after merge and run prettier

* Use CloudError instead of ErrorResponse to align with preview versions and our back-end. (Azure#17472)

* Automation - Stable Version (Azure#17491)

* First

* readMe

* cloudError

* CloudError

* schema

* prettier

* Fix

* test

* fix identifier

* fix description

* fix lable

* fix lable

* ownerInfo

* Fix

* types

* conditionMaxLength

Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>

* Done (Azure#17728)

Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>

* Correct 2021 10 01 (Azure#17830)

* Remove OperationalInsightsResourceProvider parameter in ThreatIntelligence

* Remove OperationalInsightProviderParameter from Watchlist

* Align stable operation names with preview

* Add missing disciminator property in ThreatIntelligence

* Done (Azure#17844)

Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>

* Align enum names with preview (Azure#17831)

* Fix 2021 10 01 validation errors (Azure#17937)

* Add x-ms-identifiers to all arrays

* Add operations_list example

* Add x-ms-identifier in all arrays

* Run prettier

* Fix spelling error

* Add isDataAction to operation schema (Azure#18018)

Co-authored-by: Anat Gilenson <anatgilenson@microsoft.com>
Co-authored-by: laithhisham <49263932+laithhisham@users.noreply.github.com>
Co-authored-by: royrein <37300636+royrein@users.noreply.github.com>
Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>
Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com>
  • Loading branch information
6 people committed Feb 28, 2022
1 parent 634cd04 commit 4539185
Show file tree
Hide file tree
Showing 21 changed files with 3,518 additions and 2,245 deletions.
107 changes: 107 additions & 0 deletions sdk/securityinsight/arm-securityinsight/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,112 @@
# Release History

## 1.0.0-beta.2 (2022-02-28)

**Features**

- Added operation Incidents.runPlaybook
- Added Interface AutomationRulePropertyValuesCondition
- Added Interface BookmarkEntityMappings
- Added Interface EntityFieldMapping
- Added Interface FusionScenarioExclusionPattern
- Added Interface FusionSourceSettings
- Added Interface FusionSourceSubTypeSetting
- Added Interface FusionSubTypeSeverityFilter
- Added Interface FusionSubTypeSeverityFiltersItem
- Added Interface FusionTemplateSourceSetting
- Added Interface FusionTemplateSourceSubType
- Added Interface FusionTemplateSubTypeSeverityFilter
- Added Interface IncidentPropertiesAction
- Added Interface IncidentsRunPlaybookOptionalParams
- Added Interface ManualTriggerRequestBody
- Added Interface Office365ProjectConnectorDataTypes
- Added Interface OfficePowerBIConnectorDataTypes
- Added Interface PlaybookActionProperties
- Added Type Alias ActionType
- Added Type Alias AlertRuleTemplateWithMitreProperties
- Added Type Alias AutomationRulesDeleteResponse
- Added Type Alias ConditionType
- Added Type Alias Enum12
- Added Type Alias IncidentsRunPlaybookResponse
- Added Type Alias Office365ProjectCheckRequirements
- Added Type Alias Office365ProjectCheckRequirementsProperties
- Added Type Alias Office365ProjectConnectorDataTypesLogs
- Added Type Alias Office365ProjectDataConnector
- Added Type Alias Office365ProjectDataConnectorProperties
- Added Type Alias OfficePowerBICheckRequirements
- Added Type Alias OfficePowerBICheckRequirementsProperties
- Added Type Alias OfficePowerBIConnectorDataTypesLogs
- Added Type Alias OfficePowerBIDataConnector
- Added Type Alias OfficePowerBIDataConnectorProperties
- Added Type Alias PropertyConditionProperties
- Added Type Alias ThreatIntelligenceResourceKindUnion
- Interface AutomationRulesCreateOrUpdateOptionalParams has a new optional parameter automationRuleToUpsert
- Interface IncidentAdditionalData has a new optional parameter providerIncidentUrl
- Interface IncidentAdditionalData has a new optional parameter techniques
- Interface QueryBasedAlertRuleProperties has a new optional parameter techniques
- Add parameters of AlertRuleTemplateWithMitreProperties to TypeAlias FusionAlertRuleTemplateProperties
- Add parameters of AlertRuleTemplateWithMitreProperties to TypeAlias MLBehaviorAnalyticsAlertRuleTemplateProperties
- Add parameters of AlertRuleTemplateWithMitreProperties to TypeAlias NrtAlertRuleTemplateProperties
- Add parameters of AlertRuleTemplateWithMitreProperties to TypeAlias ScheduledAlertRuleTemplateProperties
- Add parameters of AlertRuleTemplateWithMitreProperties to TypeAlias ThreatIntelligenceAlertRuleTemplateProperties
- Type Alias Bookmark has a new parameter entityMappings
- Type Alias Bookmark has a new parameter tactics
- Type Alias Bookmark has a new parameter techniques
- Type Alias FusionAlertRule has a new parameter sourceSettings
- Type Alias FusionAlertRule has a new parameter scenarioExclusionPatterns
- Type Alias FusionAlertRule has a new parameter techniques
- Type Alias FusionAlertRuleTemplate has a new parameter techniques
- Type Alias FusionAlertRuleTemplate has a new parameter sourceSettings
- Type Alias FusionAlertRuleTemplateProperties has a new parameter sourceSettings
- Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties has a new parameter displayNamesFilter
- Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties has a new parameter displayNamesExcludeFilter
- Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties has a new parameter productFilter
- Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties has a new parameter severitiesFilter
- Type Alias MLBehaviorAnalyticsAlertRule has a new parameter techniques
- Type Alias MLBehaviorAnalyticsAlertRuleTemplate has a new parameter techniques
- Type Alias NrtAlertRule has a new parameter techniques
- Type Alias NrtAlertRuleTemplate has a new parameter techniques
- Type Alias ScheduledAlertRule has a new parameter techniques
- Type Alias ScheduledAlertRuleTemplate has a new parameter techniques
- Type Alias ThreatIntelligenceAlertRule has a new parameter techniques
- Type Alias ThreatIntelligenceAlertRuleTemplate has a new parameter techniques
- Added Enum KnownActionType
- Added Enum KnownConditionType
- Added Enum KnownEnum12
- Enum KnownAttackTactic has a new value ImpairProcessControl
- Enum KnownAttackTactic has a new value InhibitResponseFunction
- Enum KnownAttackTactic has a new value Reconnaissance
- Enum KnownAttackTactic has a new value ResourceDevelopment
- Enum KnownAutomationRulePropertyConditionSupportedProperty has a new value AlertProductNames
- Enum KnownAutomationRulePropertyConditionSupportedProperty has a new value IncidentLabel
- Enum KnownDataConnectorKind has a new value Office365Project
- Enum KnownDataConnectorKind has a new value OfficePowerBI

**Breaking Changes**

- Operation AutomationRules.createOrUpdate has a new signature
- Interface QueryBasedAlertRuleTemplateProperties no longer has parameter tactics
- Delete parameters of AlertRuleTemplatePropertiesBase in TypeAlias FusionAlertRuleTemplateProperties
- Delete parameters of MicrosoftSecurityIncidentCreationAlertRuleCommonProperties in TypeAlias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
- Delete parameters of AlertRuleTemplatePropertiesBase in TypeAlias MLBehaviorAnalyticsAlertRuleTemplateProperties
- Delete parameters of AlertRuleTemplatePropertiesBase in TypeAlias NrtAlertRuleTemplateProperties
- Delete parameters of AlertRuleTemplatePropertiesBase in TypeAlias ScheduledAlertRuleTemplateProperties
- Delete parameters of AlertRuleTemplatePropertiesBase in TypeAlias ThreatIntelligenceAlertRuleTemplateProperties
- Type Alias FusionAlertRuleTemplateProperties no longer has parameter tactics
- Type Alias MLBehaviorAnalyticsAlertRuleTemplateProperties no longer has parameter tactics
- Type Alias ThreatIntelligenceAlertRuleTemplateProperties no longer has parameter tactics
- Type Alias ThreatIntelligenceIndicatorModel has a new parameter kind
- Type Alias ThreatIntelligenceIndicatorModelForRequestBody has a new parameter kind
- Type Alias ThreatIntelligenceInformation has a new parameter kind
- Parameter displayName of Type Alias AutomationRule is now required
- Parameter order of Type Alias AutomationRule is now required
- Parameter triggeringLogic of Type Alias AutomationRule is now required
- Parameter actions of Type Alias AutomationRule is now required
- Removed Enum KnownAutomationRuleActionType
- Removed Enum KnownAutomationRuleConditionType
- Removed Enum KnownEnum8


## 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/js-track2-quickstart).
8 changes: 4 additions & 4 deletions sdk/securityinsight/arm-securityinsight/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "1b0a465061c68175898f8f5d27f0301f42ce994c",
"commit": "3284dc9bdbda05f84e0fa0b1a2f7ba5d138c504b",
"readme": "specification/securityinsights/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/iotspaces/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/securityinsights/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20220114.1"
}
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/securityinsight/arm-securityinsight/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-securityinsight.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
23 changes: 14 additions & 9 deletions sdk/securityinsight/arm-securityinsight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@
"author": "Microsoft Corporation",
"description": "A generated SDK for SecurityInsights.",
"version": "1.0.0-beta.1",
"engines": { "node": ">=12.0.0" },
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -39,7 +47,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -86,10 +96,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{ "path": "src/SecurityInsights.ts", "prefix": "packageDetails" }
]
},
"autoPublish": true
}
}
Loading

0 comments on commit 4539185

Please sign in to comment.