Skip to content

Commit

Permalink
security release (Azure#23753)
Browse files Browse the repository at this point in the history
* security release

* update files

* update files
  • Loading branch information
kazrael2119 authored Nov 9, 2022
1 parent 37bc3c5 commit 3871d8b
Show file tree
Hide file tree
Showing 86 changed files with 1,879 additions and 892 deletions.
6 changes: 3 additions & 3 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 17 additions & 16 deletions sdk/security/arm-security/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# Release History

## 6.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 6.0.0-beta.1 (2022-09-14)

## 6.0.0-beta.2 (2022-11-08)

**Features**

Expand Down Expand Up @@ -66,7 +56,7 @@
- Added Interface AutoProvisioningSetting
- Added Interface AwAssumeRoleAuthenticationDetailsProperties
- Added Interface AwsCredsAuthenticationDetailsProperties
- Added Interface AWSEnvironmentData
- Added Interface AwsEnvironmentData
- Added Interface AwsOrganizationalData
- Added Interface AwsOrganizationalDataMaster
- Added Interface AwsOrganizationalDataMember
Expand All @@ -91,9 +81,13 @@
- Added Interface CustomAssessmentAutomationRequest
- Added Interface CustomEntityStoreAssignment
- Added Interface DataExportSettings
- Added Interface DefenderCspmAwsOffering
- Added Interface DefenderCspmAwsOfferingVmScanners
- Added Interface DefenderCspmAwsOfferingVmScannersConfiguration
- Added Interface DefenderCspmGcpOffering
- Added Interface DefenderFoDatabasesAwsOffering
- Added Interface DefenderFoDatabasesAwsOfferingArcAutoProvisioning
- Added Interface DefenderFoDatabasesAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata
- Added Interface DefenderFoDatabasesAwsOfferingRds
- Added Interface DefenderForContainersAwsOffering
- Added Interface DefenderForContainersAwsOfferingContainerVulnerabilityAssessment
- Added Interface DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
Expand All @@ -102,8 +96,9 @@
- Added Interface DefenderForContainersGcpOfferingNativeCloudConnection
- Added Interface DefenderForDatabasesGcpOffering
- Added Interface DefenderForDatabasesGcpOfferingArcAutoProvisioning
- Added Interface DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration
- Added Interface DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning
- Added Interface DefenderForDevOpsAzureDevOpsOffering
- Added Interface DefenderForDevOpsGithubOffering
- Added Interface DefenderForServersAwsOffering
- Added Interface DefenderForServersAwsOfferingMdeAutoProvisioning
- Added Interface DefenderForServersAwsOfferingSubPlan
Expand All @@ -113,7 +108,6 @@
- Added Interface DefenderForServersAwsOfferingVmScannersConfiguration
- Added Interface DefenderForServersGcpOffering
- Added Interface DefenderForServersGcpOfferingArcAutoProvisioning
- Added Interface DefenderForServersGcpOfferingArcAutoProvisioningConfiguration
- Added Interface DefenderForServersGcpOfferingDefenderForServers
- Added Interface DefenderForServersGcpOfferingMdeAutoProvisioning
- Added Interface DefenderForServersGcpOfferingSubPlan
Expand Down Expand Up @@ -240,6 +234,7 @@
- Added Type Alias ApplicationsListResponse
- Added Type Alias ApplicationSourceResourceType
- Added Type Alias AwsOrganizationalDataUnion
- Added Type Alias ConnectionType
- Added Type Alias EnvironmentDataUnion
- Added Type Alias EnvironmentType
- Added Type Alias GcpOrganizationalDataUnion
Expand Down Expand Up @@ -305,16 +300,22 @@
- Enum KnownOfferingType has a new value CspmMonitorAzureDevOps
- Enum KnownOfferingType has a new value CspmMonitorGcp
- Enum KnownOfferingType has a new value CspmMonitorGithub
- Enum KnownOfferingType has a new value DefenderCspmAws
- Enum KnownOfferingType has a new value DefenderCspmGcp
- Enum KnownOfferingType has a new value DefenderForContainersGcp
- Enum KnownOfferingType has a new value DefenderForDatabasesAws
- Enum KnownOfferingType has a new value DefenderForDatabasesGcp
- Enum KnownOfferingType has a new value DefenderForDevOpsAzureDevOps
- Enum KnownOfferingType has a new value DefenderForDevOpsGithub
- Enum KnownOfferingType has a new value DefenderForServersGcp
- Enum KnownSettingName has a new value WdatpUnifiedSolution

**Breaking Changes**

- Removed operation Alerts.simulate
- Removed operation SecurityContacts.update
- Operation AllowedConnections.get has a new signature
- Interface DefenderForServersAwsOfferingArcAutoProvisioning no longer has parameter servicePrincipalSecretMetadata
- Removed Enum KnownAlertNotifications
- Removed Enum KnownAlertsToAdmins

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

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

API spec for Microsoft.Security (Azure Security Center) 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-security` package

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

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

### Create and authenticate a `SecurityCenter`

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].
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.
You can find the endpoint for your Azure SecurityCenter 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 Service** 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 SecurityCenter** 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

### SecurityCenter

`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.
`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.

## Troubleshooting

Expand Down
6 changes: 3 additions & 3 deletions sdk/security/arm-security/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "af1be2677e619e483210064ff658e62ec25053aa",
"commit": "ae9cb5a65ff4dba1d626ed0a1bb4e94dd17583e8",
"readme": "specification/security/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected].1.20220727.1"
"use": "@autorest/[email protected].3.20221103.1"
}
5 changes: 3 additions & 2 deletions sdk/security/arm-security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.6.1",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand Down Expand Up @@ -46,6 +46,7 @@
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/security/arm-security",
Expand Down Expand Up @@ -118,4 +119,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-security?view=azure-node-preview"
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3871d8b

Please sign in to comment.