Skip to content

Commit

Permalink
CodeGen from PR 19903 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge a27312ff73ac3925ff20ead55504bf9b474b97b1 into 405811c51aa09803caedfe17fd305e110db1ca5e
  • Loading branch information
SDKAuto committed Jul 22, 2022
1 parent 52c3377 commit bc90c53
Show file tree
Hide file tree
Showing 9 changed files with 1,508 additions and 1,427 deletions.
211 changes: 211 additions & 0 deletions sdk/securityinsight/arm-securityinsight/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,216 @@
# Release History

## 1.0.0-beta.5 (2022-07-22)

**Features**

- Added Type Alias AADCheckRequirements
- Added Type Alias AADCheckRequirementsProperties
- Added Type Alias AADDataConnector
- Added Type Alias AADDataConnectorProperties
- Added Type Alias AatpCheckRequirements
- Added Type Alias AatpCheckRequirementsProperties
- Added Type Alias AatpDataConnector
- Added Type Alias AatpDataConnectorProperties
- Added Type Alias AccountEntity
- Added Type Alias AccountEntityProperties
- Added Type Alias ActionRequest
- Added Type Alias ActionRequestProperties
- Added Type Alias ActionResponse
- Added Type Alias ActionResponseProperties
- Added Type Alias ActivityCustomEntityQuery
- Added Type Alias ActivityEntityQuery
- Added Type Alias ActivityEntityQueryTemplate
- Added Type Alias ActivityTimelineItem
- Added Type Alias AlertRule
- Added Type Alias AlertRuleTemplate
- Added Type Alias AlertRuleTemplateWithMitreProperties
- Added Type Alias Anomalies
- Added Type Alias AnomalySecurityMLAnalyticsSettings
- Added Type Alias AnomalyTimelineItem
- Added Type Alias ASCCheckRequirements
- Added Type Alias ASCDataConnector
- Added Type Alias ASCDataConnectorProperties
- Added Type Alias AutomationRule
- Added Type Alias AutomationRuleModifyPropertiesAction
- Added Type Alias AutomationRuleRunPlaybookAction
- Added Type Alias AwsCloudTrailCheckRequirements
- Added Type Alias AwsCloudTrailDataConnector
- Added Type Alias AwsCloudTrailDataConnectorDataTypesLogs
- Added Type Alias AwsS3CheckRequirements
- Added Type Alias AwsS3DataConnector
- Added Type Alias AwsS3DataConnectorDataTypesLogs
- Added Type Alias AzureResourceEntity
- Added Type Alias AzureResourceEntityProperties
- Added Type Alias Bookmark
- Added Type Alias BookmarkTimelineItem
- Added Type Alias CloudApplicationEntity
- Added Type Alias CloudApplicationEntityProperties
- Added Type Alias CodelessApiPollingDataConnector
- Added Type Alias CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem
- Added Type Alias CodelessUiConnectorConfigPropertiesDataTypesItem
- Added Type Alias CodelessUiConnectorConfigPropertiesGraphQueriesItem
- Added Type Alias CodelessUiConnectorConfigPropertiesInstructionStepsItem
- Added Type Alias CodelessUiConnectorConfigPropertiesSampleQueriesItem
- Added Type Alias CodelessUiDataConnector
- Added Type Alias CustomEntityQuery
- Added Type Alias Customs
- Added Type Alias DataConnector
- Added Type Alias DnsEntity
- Added Type Alias DnsEntityProperties
- Added Type Alias Dynamics365CheckRequirements
- Added Type Alias Dynamics365CheckRequirementsProperties
- Added Type Alias Dynamics365DataConnector
- Added Type Alias Dynamics365DataConnectorDataTypesDynamics365CdsActivities
- Added Type Alias Dynamics365DataConnectorProperties
- Added Type Alias Entity
- Added Type Alias EntityAnalytics
- Added Type Alias EntityQuery
- Added Type Alias EntityQueryTemplate
- Added Type Alias ExpansionEntityQuery
- Added Type Alias EyesOn
- Added Type Alias FileEntity
- Added Type Alias FileEntityProperties
- Added Type Alias FileHashEntity
- Added Type Alias FileHashEntityProperties
- Added Type Alias FusionAlertRule
- Added Type Alias FusionAlertRuleTemplate
- Added Type Alias HostEntity
- Added Type Alias HostEntityProperties
- Added Type Alias HuntingBookmark
- Added Type Alias HuntingBookmarkProperties
- Added Type Alias Incident
- Added Type Alias IncidentComment
- Added Type Alias InsightQueryItem
- Added Type Alias InsightQueryItemProperties
- Added Type Alias InstructionStepsInstructionsItem
- Added Type Alias IoTCheckRequirements
- Added Type Alias IoTDataConnector
- Added Type Alias IoTDataConnectorProperties
- Added Type Alias IoTDeviceEntity
- Added Type Alias IoTDeviceEntityProperties
- Added Type Alias IpEntity
- Added Type Alias IpEntityProperties
- Added Type Alias MailboxEntity
- Added Type Alias MailboxEntityProperties
- Added Type Alias MailClusterEntity
- Added Type Alias MailClusterEntityProperties
- Added Type Alias MailMessageEntity
- Added Type Alias MailMessageEntityProperties
- Added Type Alias MalwareEntity
- Added Type Alias MalwareEntityProperties
- Added Type Alias McasCheckRequirements
- Added Type Alias McasCheckRequirementsProperties
- Added Type Alias McasDataConnector
- Added Type Alias McasDataConnectorDataTypes
- Added Type Alias McasDataConnectorProperties
- Added Type Alias MdatpCheckRequirements
- Added Type Alias MdatpCheckRequirementsProperties
- Added Type Alias MdatpDataConnector
- Added Type Alias MdatpDataConnectorProperties
- Added Type Alias MetadataModel
- Added Type Alias MetadataPatch
- Added Type Alias MicrosoftSecurityIncidentCreationAlertRule
- Added Type Alias MicrosoftSecurityIncidentCreationAlertRuleProperties
- Added Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplate
- Added Type Alias MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
- Added Type Alias MLBehaviorAnalyticsAlertRule
- Added Type Alias MLBehaviorAnalyticsAlertRuleTemplate
- Added Type Alias MLBehaviorAnalyticsAlertRuleTemplateProperties
- Added Type Alias MstiCheckRequirements
- Added Type Alias MstiCheckRequirementsProperties
- Added Type Alias MstiDataConnector
- Added Type Alias MstiDataConnectorDataTypesBingSafetyPhishingURL
- Added Type Alias MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed
- Added Type Alias MstiDataConnectorProperties
- Added Type Alias MtpCheckRequirements
- Added Type Alias MTPCheckRequirementsProperties
- Added Type Alias MTPDataConnector
- Added Type Alias MTPDataConnectorDataTypesIncidents
- Added Type Alias MTPDataConnectorProperties
- Added Type Alias NicEntity
- Added Type Alias NicEntityProperties
- Added Type Alias NrtAlertRule
- Added Type Alias NrtAlertRuleTemplate
- Added Type Alias NrtAlertRuleTemplateProperties
- Added Type Alias Office365ProjectCheckRequirements
- Added Type Alias Office365ProjectCheckRequirementsProperties
- Added Type Alias Office365ProjectConnectorDataTypesLogs
- Added Type Alias Office365ProjectDataConnector
- Added Type Alias Office365ProjectDataConnectorProperties
- Added Type Alias OfficeATPCheckRequirements
- Added Type Alias OfficeATPCheckRequirementsProperties
- Added Type Alias OfficeATPDataConnector
- Added Type Alias OfficeATPDataConnectorProperties
- Added Type Alias OfficeConsent
- Added Type Alias OfficeDataConnector
- Added Type Alias OfficeDataConnectorDataTypesExchange
- Added Type Alias OfficeDataConnectorDataTypesSharePoint
- Added Type Alias OfficeDataConnectorDataTypesTeams
- Added Type Alias OfficeDataConnectorProperties
- Added Type Alias OfficeIRMCheckRequirements
- Added Type Alias OfficeIRMCheckRequirementsProperties
- Added Type Alias OfficeIRMDataConnector
- Added Type Alias OfficeIRMDataConnectorProperties
- Added Type Alias OfficePowerBICheckRequirements
- Added Type Alias OfficePowerBICheckRequirementsProperties
- Added Type Alias OfficePowerBIConnectorDataTypesLogs
- Added Type Alias OfficePowerBIDataConnector
- Added Type Alias OfficePowerBIDataConnectorProperties
- Added Type Alias PermissionsCustomsItem
- Added Type Alias PermissionsResourceProviderItem
- Added Type Alias ProcessEntity
- Added Type Alias ProcessEntityProperties
- Added Type Alias PropertyArrayChangedConditionProperties
- Added Type Alias PropertyChangedConditionProperties
- Added Type Alias PropertyConditionProperties
- Added Type Alias RegistryKeyEntity
- Added Type Alias RegistryKeyEntityProperties
- Added Type Alias RegistryValueEntity
- Added Type Alias RegistryValueEntityProperties
- Added Type Alias Relation
- Added Type Alias ResourceWithEtag
- Added Type Alias ScheduledAlertRule
- Added Type Alias ScheduledAlertRuleProperties
- Added Type Alias ScheduledAlertRuleTemplate
- Added Type Alias SecurityAlert
- Added Type Alias SecurityAlertProperties
- Added Type Alias SecurityAlertTimelineItem
- Added Type Alias SecurityGroupEntity
- Added Type Alias SecurityGroupEntityProperties
- Added Type Alias SecurityMLAnalyticsSetting
- Added Type Alias SentinelOnboardingState
- Added Type Alias Settings
- Added Type Alias SourceControl
- Added Type Alias SubmissionMailEntity
- Added Type Alias SubmissionMailEntityProperties
- Added Type Alias ThreatIntelligenceAlertRule
- Added Type Alias ThreatIntelligenceAlertRuleTemplate
- Added Type Alias ThreatIntelligenceAlertRuleTemplateProperties
- Added Type Alias ThreatIntelligenceIndicatorModel
- Added Type Alias ThreatIntelligenceIndicatorProperties
- Added Type Alias ThreatIntelligenceInformation
- Added Type Alias TICheckRequirements
- Added Type Alias TICheckRequirementsProperties
- Added Type Alias TIDataConnector
- Added Type Alias TIDataConnectorDataTypesIndicators
- Added Type Alias TIDataConnectorProperties
- Added Type Alias TiTaxiiCheckRequirements
- Added Type Alias TiTaxiiCheckRequirementsProperties
- Added Type Alias TiTaxiiDataConnector
- Added Type Alias TiTaxiiDataConnectorDataTypesTaxiiClient
- Added Type Alias TiTaxiiDataConnectorProperties
- Added Type Alias Ueba
- Added Type Alias UrlEntity
- Added Type Alias UrlEntityProperties
- Added Type Alias Watchlist
- Added Type Alias WatchlistItem

**Breaking Changes**

- Parameter logicAppsResourceId of interface ManualTriggerRequestBody is now required


## 1.0.0-beta.4 (2022-07-11)

**Features**
Expand Down
14 changes: 7 additions & 7 deletions sdk/securityinsight/arm-securityinsight/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure SecurityInsights client library for JavaScript
# Azure Service client library for JavaScript

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure SecurityInsights client.
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client.

API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider

Expand All @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP

### Install the `@azure/arm-securityinsight` package

Install the Azure SecurityInsights client library for JavaScript with `npm`:
Install the Azure Service client library for JavaScript with `npm`:

```bash
npm install @azure/arm-securityinsight
```

### Create and authenticate a `SecurityInsights`

To create a client object to access the Azure SecurityInsights API, you will need the `endpoint` of your Azure SecurityInsights resource and a `credential`. The Azure SecurityInsights client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure SecurityInsights resource in the [Azure Portal][azure_portal].
To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].

You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

Expand All @@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure SecurityInsights** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
Expand Down Expand Up @@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For

### SecurityInsights

`SecurityInsights` is the primary interface for developers using the Azure SecurityInsights client library. Explore the methods on this client object to understand the different features of the Azure SecurityInsights service that you can access.
`SecurityInsights` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.

## Troubleshooting

Expand Down
6 changes: 3 additions & 3 deletions sdk/securityinsight/arm-securityinsight/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "64496bd64b0376dc4b45e3193a39f7bcdd4b28da",
"commit": "293adda93b649c857acaca173916e8a98a8308b1",
"readme": "specification/securityinsights/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\securityinsights\\resource-manager\\readme.md --use=@autorest/[email protected]rc.1.20220707.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --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/[email protected]alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]rc.1.20220707.1"
"use": "@autorest/[email protected]alpha.19.20220425.1"
}
17 changes: 4 additions & 13 deletions sdk/securityinsight/arm-securityinsight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SecurityInsights.",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -41,8 +41,6 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
Expand Down Expand Up @@ -96,7 +94,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -107,13 +106,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-securityinsight?view=azure-node-preview"
}
"autoPublish": true
}
Loading

0 comments on commit bc90c53

Please sign in to comment.