Skip to content

Commit 3871d8b

Browse files
authored
security release (Azure#23753)
* security release * update files * update files
1 parent 37bc3c5 commit 3871d8b

File tree

86 files changed

+1879
-892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1879
-892
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/security/arm-security/CHANGELOG.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# Release History
2-
3-
## 6.0.0-beta.2 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 6.0.0-beta.1 (2022-09-14)
2+
3+
## 6.0.0-beta.2 (2022-11-08)
144

155
**Features**
166

@@ -66,7 +56,7 @@
6656
- Added Interface AutoProvisioningSetting
6757
- Added Interface AwAssumeRoleAuthenticationDetailsProperties
6858
- Added Interface AwsCredsAuthenticationDetailsProperties
69-
- Added Interface AWSEnvironmentData
59+
- Added Interface AwsEnvironmentData
7060
- Added Interface AwsOrganizationalData
7161
- Added Interface AwsOrganizationalDataMaster
7262
- Added Interface AwsOrganizationalDataMember
@@ -91,9 +81,13 @@
9181
- Added Interface CustomAssessmentAutomationRequest
9282
- Added Interface CustomEntityStoreAssignment
9383
- Added Interface DataExportSettings
84+
- Added Interface DefenderCspmAwsOffering
85+
- Added Interface DefenderCspmAwsOfferingVmScanners
86+
- Added Interface DefenderCspmAwsOfferingVmScannersConfiguration
87+
- Added Interface DefenderCspmGcpOffering
9488
- Added Interface DefenderFoDatabasesAwsOffering
9589
- Added Interface DefenderFoDatabasesAwsOfferingArcAutoProvisioning
96-
- Added Interface DefenderFoDatabasesAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata
90+
- Added Interface DefenderFoDatabasesAwsOfferingRds
9791
- Added Interface DefenderForContainersAwsOffering
9892
- Added Interface DefenderForContainersAwsOfferingContainerVulnerabilityAssessment
9993
- Added Interface DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
@@ -102,8 +96,9 @@
10296
- Added Interface DefenderForContainersGcpOfferingNativeCloudConnection
10397
- Added Interface DefenderForDatabasesGcpOffering
10498
- Added Interface DefenderForDatabasesGcpOfferingArcAutoProvisioning
105-
- Added Interface DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration
10699
- Added Interface DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning
100+
- Added Interface DefenderForDevOpsAzureDevOpsOffering
101+
- Added Interface DefenderForDevOpsGithubOffering
107102
- Added Interface DefenderForServersAwsOffering
108103
- Added Interface DefenderForServersAwsOfferingMdeAutoProvisioning
109104
- Added Interface DefenderForServersAwsOfferingSubPlan
@@ -113,7 +108,6 @@
113108
- Added Interface DefenderForServersAwsOfferingVmScannersConfiguration
114109
- Added Interface DefenderForServersGcpOffering
115110
- Added Interface DefenderForServersGcpOfferingArcAutoProvisioning
116-
- Added Interface DefenderForServersGcpOfferingArcAutoProvisioningConfiguration
117111
- Added Interface DefenderForServersGcpOfferingDefenderForServers
118112
- Added Interface DefenderForServersGcpOfferingMdeAutoProvisioning
119113
- Added Interface DefenderForServersGcpOfferingSubPlan
@@ -240,6 +234,7 @@
240234
- Added Type Alias ApplicationsListResponse
241235
- Added Type Alias ApplicationSourceResourceType
242236
- Added Type Alias AwsOrganizationalDataUnion
237+
- Added Type Alias ConnectionType
243238
- Added Type Alias EnvironmentDataUnion
244239
- Added Type Alias EnvironmentType
245240
- Added Type Alias GcpOrganizationalDataUnion
@@ -305,16 +300,22 @@
305300
- Enum KnownOfferingType has a new value CspmMonitorAzureDevOps
306301
- Enum KnownOfferingType has a new value CspmMonitorGcp
307302
- Enum KnownOfferingType has a new value CspmMonitorGithub
303+
- Enum KnownOfferingType has a new value DefenderCspmAws
304+
- Enum KnownOfferingType has a new value DefenderCspmGcp
308305
- Enum KnownOfferingType has a new value DefenderForContainersGcp
309306
- Enum KnownOfferingType has a new value DefenderForDatabasesAws
310307
- Enum KnownOfferingType has a new value DefenderForDatabasesGcp
308+
- Enum KnownOfferingType has a new value DefenderForDevOpsAzureDevOps
309+
- Enum KnownOfferingType has a new value DefenderForDevOpsGithub
311310
- Enum KnownOfferingType has a new value DefenderForServersGcp
312311
- Enum KnownSettingName has a new value WdatpUnifiedSolution
313312

314313
**Breaking Changes**
315314

316315
- Removed operation Alerts.simulate
317316
- Removed operation SecurityContacts.update
317+
- Operation AllowedConnections.get has a new signature
318+
- Interface DefenderForServersAwsOfferingArcAutoProvisioning no longer has parameter servicePrincipalSecretMetadata
318319
- Removed Enum KnownAlertNotifications
319320
- Removed Enum KnownAlertsToAdmins
320321

sdk/security/arm-security/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Azure Service client library for JavaScript
1+
# Azure SecurityCenter client library for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client.
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure SecurityCenter client.
44

55
API spec for Microsoft.Security (Azure Security Center) resource provider
66

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

2525
### Install the `@azure/arm-security` package
2626

27-
Install the Azure Service client library for JavaScript with `npm`:
27+
Install the Azure SecurityCenter client library for JavaScript with `npm`:
2828

2929
```bash
3030
npm install @azure/arm-security
3131
```
3232

3333
### Create and authenticate a `SecurityCenter`
3434

35-
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.
36-
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].
35+
To create a client object to access the Azure SecurityCenter API, you will need the `endpoint` of your Azure SecurityCenter resource and a `credential`. The Azure SecurityCenter client can use Azure Active Directory credentials to authenticate.
36+
You can find the endpoint for your Azure SecurityCenter resource in the [Azure Portal][azure_portal].
3737

3838
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).
3939

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

46-
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).
46+
You will also need to **register a new AAD application and grant access to Azure SecurityCenter** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
4747
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`.
4848

4949
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).
@@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For
7272

7373
### SecurityCenter
7474

75-
`SecurityCenter` 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.
75+
`SecurityCenter` is the primary interface for developers using the Azure SecurityCenter client library. Explore the methods on this client object to understand the different features of the Azure SecurityCenter service that you can access.
7676

7777
## Troubleshooting
7878

sdk/security/arm-security/_meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "af1be2677e619e483210064ff658e62ec25053aa",
2+
"commit": "ae9cb5a65ff4dba1d626ed0a1bb4e94dd17583e8",
33
"readme": "specification/security/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.8.4 --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\\security\\resource-manager\\readme.md --use=@autorest/[email protected].1.20220727.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.8.4 --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\\security\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221103.1 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
66
"release_tool": "@azure-tools/[email protected]",
7-
"use": "@autorest/[email protected].1.20220727.1"
7+
"use": "@autorest/[email protected].3.20221103.1"
88
}

sdk/security/arm-security/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@azure/core-lro": "^2.2.0",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
14-
"@azure/core-client": "^1.5.0",
14+
"@azure/core-client": "^1.6.1",
1515
"@azure/core-auth": "^1.3.0",
1616
"@azure/core-rest-pipeline": "^1.8.0",
1717
"tslib": "^2.2.0"
@@ -46,6 +46,7 @@
4646
"@types/chai": "^4.2.8",
4747
"chai": "^4.2.0",
4848
"cross-env": "^7.0.2",
49+
"@types/node": "^14.0.0",
4950
"@azure/dev-tool": "^1.0.0"
5051
},
5152
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/security/arm-security",
@@ -118,4 +119,4 @@
118119
"disableDocsMs": true,
119120
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-security?view=azure-node-preview"
120121
}
121-
}
122+
}

sdk/security/arm-security/recordings/node/security_test/recording_securitycontact_create_test.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/security/arm-security/recordings/node/security_test/recording_securitycontact_delete_test.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/security/arm-security/recordings/node/security_test/recording_securitycontact_get_test.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)