Skip to content

Commit 4ca24ac

Browse files
author
SDKAuto
committed
CodeGen from PR 16433 in Azure/azure-rest-api-specs
Merge 194d2f1d8cdd6f10905102c0199e6c5b504db919 into e81093786c17f18d3bf322970a48cb0bf6967dd5
1 parent a596e3c commit 4ca24ac

File tree

108 files changed

+4406
-9512
lines changed

Some content is hidden

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

108 files changed

+4406
-9512
lines changed

sdk/security/arm-security/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/
3636

3737
In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
3838
Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
39-
#### nodejs - Authentication, client creation, and list complianceResults as an example written in JavaScript.
39+
#### nodejs - Authentication, client creation, and list mdeOnboardings as an example written in JavaScript.
4040

4141
##### Sample code
4242

@@ -49,8 +49,7 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
4949
// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
5050
const creds = new DefaultAzureCredential();
5151
const client = new SecurityCenter(creds, subscriptionId);
52-
const scope = "testscope";
53-
client.complianceResults.list(scope).then((result) => {
52+
client.mdeOnboardings.list().then((result) => {
5453
console.log("The result is:");
5554
console.log(result);
5655
}).catch((err) => {
@@ -59,7 +58,7 @@ client.complianceResults.list(scope).then((result) => {
5958
});
6059
```
6160

62-
#### browser - Authentication, client creation, and list complianceResults as an example written in JavaScript.
61+
#### browser - Authentication, client creation, and list mdeOnboardings as an example written in JavaScript.
6362

6463
In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
6564
- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
@@ -87,8 +86,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
8786
tenant: "<optional tenant for your organization>"
8887
});
8988
const client = new Azure.ArmSecurity.SecurityCenter(creds, subscriptionId);
90-
const scope = "testscope";
91-
client.complianceResults.list(scope).then((result) => {
89+
client.mdeOnboardings.list().then((result) => {
9290
console.log("The result is:");
9391
console.log(result);
9492
}).catch((err) => {

sdk/security/arm-security/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/security/arm-security",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/security/arm-security",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export {
2525
AscLocation,
2626
AssessmentLinks,
2727
AssessmentStatus,
28+
AssessmentStatusResponse,
2829
AuthenticationDetailsProperties,
2930
AutoProvisioningSetting,
3031
AwAssumeRoleAuthenticationDetailsProperties,
@@ -45,17 +46,18 @@ export {
4546
ConnectorSetting,
4647
ContainerRegistryVulnerabilityProperties,
4748
CustomAlertRule,
49+
CustomAssessmentAutomation,
50+
CustomAssessmentAutomationRequest,
51+
CustomEntityStoreAssignment,
4852
CVE,
4953
CVSS,
5054
DataExportSettings,
5155
DenylistCustomAlertRule,
52-
Device,
5356
DeviceSecurityGroup,
5457
DirectMethodInvokesNotInAllowedRange,
5558
EffectiveNetworkSecurityGroups,
5659
FailedLocalLoginsNotInAllowedRange,
5760
FileUploadsNotInAllowedRange,
58-
Firmware,
5961
GcpCredentialsDetailsProperties,
6062
HttpC2DMessagesNotInAllowedRange,
6163
HttpC2DRejectedMessagesNotInAllowedRange,
@@ -65,34 +67,23 @@ export {
6567
InformationProtectionPolicy,
6668
InformationType,
6769
IngestionSetting,
68-
IotAlertModel,
69-
IotAlertType,
70-
IotDefenderSettingsModel,
71-
IotRecommendationModel,
72-
IotRecommendationType,
7370
IoTSecurityAlertedDevice,
7471
IoTSecurityDeviceAlert,
7572
IoTSecurityDeviceRecommendation,
7673
IoTSecuritySolutionAnalyticsModel,
7774
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
78-
IotSensorsModel,
7975
IoTSeverityMetrics,
80-
IotSitesModel,
81-
IpAddress,
8276
ListCustomAlertRule,
8377
LocalUserNotAllowed,
8478
LogAnalyticsIdentifier,
85-
MacAddress,
79+
MdeOnboardingData,
8680
MqttC2DMessagesNotInAllowedRange,
8781
MqttC2DRejectedMessagesNotInAllowedRange,
8882
MqttD2CMessagesNotInAllowedRange,
89-
NetworkInterface,
90-
OnPremiseIotSensor,
9183
OnPremiseResourceDetails,
9284
OnPremiseSqlResourceDetails,
9385
Pricing,
9486
ProcessNotAllowed,
95-
Protocol1,
9687
ProxyServerProperties,
9788
QueryCheck,
9889
QueuePurgesNotInAllowedRange,
@@ -119,22 +110,24 @@ export {
119110
SecurityAssessmentMetadata,
120111
SecurityAssessmentMetadataPartnerData,
121112
SecurityAssessmentMetadataProperties,
113+
SecurityAssessmentMetadataPropertiesResponsePublishDates,
114+
SecurityAssessmentMetadataResponse,
122115
SecurityAssessmentPartnerData,
116+
SecurityAssessmentResponse,
123117
SecurityContact,
124118
SecuritySubAssessment,
125119
SecurityTask,
126120
SecurityTaskParameters,
127121
SensitivityLabel,
128-
Sensor,
129122
ServerVulnerabilityAssessment,
130123
ServerVulnerabilityProperties,
131124
ServicePrincipalProperties,
132125
Setting,
133-
Site,
134126
Software,
135127
SqlServerVulnerabilityProperties,
136128
SubAssessmentStatus,
137129
SuppressionAlertsScope,
130+
SystemData,
138131
ThresholdCustomAlertRule,
139132
TimeWindowCustomAlertRule,
140133
TwinUpdatesNotInAllowedRange,

sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export {
2323
AscLocation,
2424
AssessmentLinks,
2525
AssessmentStatus,
26+
AssessmentStatusResponse,
2627
AuthenticationDetailsProperties,
2728
AutoProvisioningSetting,
2829
AwAssumeRoleAuthenticationDetailsProperties,
@@ -43,17 +44,18 @@ export {
4344
ConnectorSetting,
4445
ContainerRegistryVulnerabilityProperties,
4546
CustomAlertRule,
47+
CustomAssessmentAutomation,
48+
CustomAssessmentAutomationRequest,
49+
CustomEntityStoreAssignment,
4650
CVE,
4751
CVSS,
4852
DataExportSettings,
4953
DenylistCustomAlertRule,
50-
Device,
5154
DeviceSecurityGroup,
5255
DirectMethodInvokesNotInAllowedRange,
5356
EffectiveNetworkSecurityGroups,
5457
FailedLocalLoginsNotInAllowedRange,
5558
FileUploadsNotInAllowedRange,
56-
Firmware,
5759
GcpCredentialsDetailsProperties,
5860
HttpC2DMessagesNotInAllowedRange,
5961
HttpC2DRejectedMessagesNotInAllowedRange,
@@ -63,34 +65,23 @@ export {
6365
InformationProtectionPolicy,
6466
InformationType,
6567
IngestionSetting,
66-
IotAlertModel,
67-
IotAlertType,
68-
IotDefenderSettingsModel,
69-
IotRecommendationModel,
70-
IotRecommendationType,
7168
IoTSecurityAlertedDevice,
7269
IoTSecurityDeviceAlert,
7370
IoTSecurityDeviceRecommendation,
7471
IoTSecuritySolutionAnalyticsModel,
7572
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
76-
IotSensorsModel,
7773
IoTSeverityMetrics,
78-
IotSitesModel,
79-
IpAddress,
8074
ListCustomAlertRule,
8175
LocalUserNotAllowed,
8276
LogAnalyticsIdentifier,
83-
MacAddress,
77+
MdeOnboardingData,
8478
MqttC2DMessagesNotInAllowedRange,
8579
MqttC2DRejectedMessagesNotInAllowedRange,
8680
MqttD2CMessagesNotInAllowedRange,
87-
NetworkInterface,
88-
OnPremiseIotSensor,
8981
OnPremiseResourceDetails,
9082
OnPremiseSqlResourceDetails,
9183
Pricing,
9284
ProcessNotAllowed,
93-
Protocol1,
9485
ProxyServerProperties,
9586
QueryCheck,
9687
QueuePurgesNotInAllowedRange,
@@ -117,22 +108,24 @@ export {
117108
SecurityAssessmentMetadata,
118109
SecurityAssessmentMetadataPartnerData,
119110
SecurityAssessmentMetadataProperties,
111+
SecurityAssessmentMetadataPropertiesResponsePublishDates,
112+
SecurityAssessmentMetadataResponse,
120113
SecurityAssessmentPartnerData,
114+
SecurityAssessmentResponse,
121115
SecurityContact,
122116
SecuritySubAssessment,
123117
SecurityTask,
124118
SecurityTaskParameters,
125119
SensitivityLabel,
126-
Sensor,
127120
ServerVulnerabilityAssessment,
128121
ServerVulnerabilityProperties,
129122
ServicePrincipalProperties,
130123
Setting,
131-
Site,
132124
Software,
133125
SqlServerVulnerabilityProperties,
134126
SubAssessmentStatus,
135127
SuppressionAlertsScope,
128+
SystemData,
136129
ThresholdCustomAlertRule,
137130
TimeWindowCustomAlertRule,
138131
TwinUpdatesNotInAllowedRange,

sdk/security/arm-security/src/models/alertsMappers.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export {
2727
AscLocation,
2828
AssessmentLinks,
2929
AssessmentStatus,
30+
AssessmentStatusResponse,
3031
AuthenticationDetailsProperties,
3132
AutoProvisioningSetting,
3233
AwAssumeRoleAuthenticationDetailsProperties,
@@ -47,17 +48,18 @@ export {
4748
ConnectorSetting,
4849
ContainerRegistryVulnerabilityProperties,
4950
CustomAlertRule,
51+
CustomAssessmentAutomation,
52+
CustomAssessmentAutomationRequest,
53+
CustomEntityStoreAssignment,
5054
CVE,
5155
CVSS,
5256
DataExportSettings,
5357
DenylistCustomAlertRule,
54-
Device,
5558
DeviceSecurityGroup,
5659
DirectMethodInvokesNotInAllowedRange,
5760
EffectiveNetworkSecurityGroups,
5861
FailedLocalLoginsNotInAllowedRange,
5962
FileUploadsNotInAllowedRange,
60-
Firmware,
6163
GcpCredentialsDetailsProperties,
6264
HttpC2DMessagesNotInAllowedRange,
6365
HttpC2DRejectedMessagesNotInAllowedRange,
@@ -67,34 +69,23 @@ export {
6769
InformationProtectionPolicy,
6870
InformationType,
6971
IngestionSetting,
70-
IotAlertModel,
71-
IotAlertType,
72-
IotDefenderSettingsModel,
73-
IotRecommendationModel,
74-
IotRecommendationType,
7572
IoTSecurityAlertedDevice,
7673
IoTSecurityDeviceAlert,
7774
IoTSecurityDeviceRecommendation,
7875
IoTSecuritySolutionAnalyticsModel,
7976
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
80-
IotSensorsModel,
8177
IoTSeverityMetrics,
82-
IotSitesModel,
83-
IpAddress,
8478
ListCustomAlertRule,
8579
LocalUserNotAllowed,
8680
LogAnalyticsIdentifier,
87-
MacAddress,
81+
MdeOnboardingData,
8882
MqttC2DMessagesNotInAllowedRange,
8983
MqttC2DRejectedMessagesNotInAllowedRange,
9084
MqttD2CMessagesNotInAllowedRange,
91-
NetworkInterface,
92-
OnPremiseIotSensor,
9385
OnPremiseResourceDetails,
9486
OnPremiseSqlResourceDetails,
9587
Pricing,
9688
ProcessNotAllowed,
97-
Protocol1,
9889
ProxyServerProperties,
9990
QueryCheck,
10091
QueuePurgesNotInAllowedRange,
@@ -121,22 +112,24 @@ export {
121112
SecurityAssessmentMetadata,
122113
SecurityAssessmentMetadataPartnerData,
123114
SecurityAssessmentMetadataProperties,
115+
SecurityAssessmentMetadataPropertiesResponsePublishDates,
116+
SecurityAssessmentMetadataResponse,
124117
SecurityAssessmentPartnerData,
118+
SecurityAssessmentResponse,
125119
SecurityContact,
126120
SecuritySubAssessment,
127121
SecurityTask,
128122
SecurityTaskParameters,
129123
SensitivityLabel,
130-
Sensor,
131124
ServerVulnerabilityAssessment,
132125
ServerVulnerabilityProperties,
133126
ServicePrincipalProperties,
134127
Setting,
135-
Site,
136128
Software,
137129
SqlServerVulnerabilityProperties,
138130
SubAssessmentStatus,
139131
SuppressionAlertsScope,
132+
SystemData,
140133
ThresholdCustomAlertRule,
141134
TimeWindowCustomAlertRule,
142135
TwinUpdatesNotInAllowedRange,

0 commit comments

Comments
 (0)