Skip to content

Commit 814ed52

Browse files
author
SDKAuto
committed
CodeGen from PR 11296 in Azure/azure-rest-api-specs
Merge fcdac1cbc0441a5635cc7ac85f807d13a0e2e08f into c72af9b8dca625d3f1429a0bd913bad7b3879645
1 parent 6c6ce54 commit 814ed52

File tree

116 files changed

+17346
-3064
lines changed

Some content is hidden

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

116 files changed

+17346
-3064
lines changed

sdk/security/arm-security/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-security
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list complianceResults as an example written in TypeScript.
18+
#### nodejs - client creation and list complianceResults as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { SecurityCenter, SecurityCenterModels, SecurityCenterMappers } from "@azure/arm-security";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { SecurityCenter } = require("@azure/arm-security");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/security/arm-security/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
1010
discriminators,
11-
AppWhitelistingGroup,
12-
AppWhitelistingGroups,
13-
AppWhitelistingIssueSummary,
11+
AdaptiveApplicationControlGroup,
12+
AdaptiveApplicationControlGroups,
13+
AdaptiveApplicationControlIssueSummary,
1414
CloudError,
1515
PathRecommendation,
1616
ProtectionMode,

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

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -15,7 +15,6 @@ export {
1515
AdditionalData,
1616
AdvancedThreatProtectionSetting,
1717
Alert,
18-
AlertConfidenceReason,
1918
AlertEntity,
2019
AlertsSuppressionRule,
2120
AllowlistCustomAlertRule,
@@ -25,53 +24,89 @@ export {
2524
AscLocation,
2625
AssessmentLinks,
2726
AssessmentStatus,
27+
AuthenticationDetailsProperties,
2828
AutoProvisioningSetting,
29+
AwAssumeRoleAuthenticationDetailsProperties,
30+
AwsCredsAuthenticationDetailsProperties,
2931
AzureResourceDetails,
32+
AzureResourceIdentifier,
3033
AzureResourceLink,
34+
Baseline,
35+
BaselineAdjustedResult,
3136
BaseResource,
37+
BenchmarkReference,
3238
CloudError,
3339
Compliance,
3440
ComplianceResult,
3541
ComplianceSegment,
3642
ConnectionToIpNotAllowed,
43+
ConnectorSetting,
3744
ContainerRegistryVulnerabilityProperties,
3845
CustomAlertRule,
3946
CVE,
4047
CVSS,
4148
DataExportSettings,
4249
DenylistCustomAlertRule,
50+
Device,
4351
DeviceSecurityGroup,
4452
DirectMethodInvokesNotInAllowedRange,
4553
EffectiveNetworkSecurityGroups,
4654
FailedLocalLoginsNotInAllowedRange,
4755
FileUploadsNotInAllowedRange,
56+
Firmware,
57+
GcpCredentialsDetailsProperties,
4858
HttpC2DMessagesNotInAllowedRange,
4959
HttpC2DRejectedMessagesNotInAllowedRange,
5060
HttpD2CMessagesNotInAllowedRange,
61+
HybridComputeSettingsProperties,
5162
InformationProtectionKeyword,
5263
InformationProtectionPolicy,
5364
InformationType,
65+
IotAlertType,
66+
IotDefenderSettingsModel,
67+
IotRecommendation,
68+
IotRecommendationModel,
69+
IotRecommendationType,
5470
IoTSecurityAlertedDevice,
5571
IoTSecurityDeviceAlert,
5672
IoTSecurityDeviceRecommendation,
5773
IoTSecuritySolutionAnalyticsModel,
5874
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
75+
IotSensorsModel,
5976
IoTSeverityMetrics,
77+
IotSitesModel,
78+
IpAddress,
6079
ListCustomAlertRule,
6180
LocalUserNotAllowed,
81+
LogAnalyticsIdentifier,
82+
MacAddress,
6283
MqttC2DMessagesNotInAllowedRange,
6384
MqttC2DRejectedMessagesNotInAllowedRange,
6485
MqttD2CMessagesNotInAllowedRange,
86+
NetworkInterface,
87+
OnPremiseIotSensor,
6588
OnPremiseResourceDetails,
89+
OnPremiseSqlResourceDetails,
6690
Pricing,
6791
ProcessNotAllowed,
92+
Protocol1,
93+
ProxyServerProperties,
94+
QueryCheck,
6895
QueuePurgesNotInAllowedRange,
6996
RegulatoryComplianceAssessment,
7097
RegulatoryComplianceControl,
7198
RegulatoryComplianceStandard,
99+
Remediation,
72100
Resource,
73101
ResourceDetails,
102+
ResourceIdentifier,
74103
Rule,
104+
RuleResults,
105+
RuleResultsProperties,
106+
Scan,
107+
ScanProperties,
108+
ScanResult,
109+
ScanResultProperties,
75110
ScopeElement,
76111
SecureScoreControlDefinitionItem,
77112
SecureScoreControlDefinitionSource,
@@ -87,17 +122,21 @@ export {
87122
SecurityTask,
88123
SecurityTaskParameters,
89124
SensitivityLabel,
125+
Sensor,
90126
ServerVulnerabilityAssessment,
91127
ServerVulnerabilityProperties,
128+
ServicePrincipalProperties,
92129
Setting,
93130
SettingResource,
131+
Site,
94132
SqlServerVulnerabilityProperties,
95133
SubAssessmentStatus,
96134
SuppressionAlertsScope,
97135
ThresholdCustomAlertRule,
98136
TimeWindowCustomAlertRule,
99137
TwinUpdatesNotInAllowedRange,
100138
UnauthorizedOperationsNotInAllowedRange,
139+
VaRule,
101140
VendorReference,
102141
WorkspaceSetting
103142
} from "../models/mappers";

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

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -13,7 +13,6 @@ export {
1313
AdditionalData,
1414
AdvancedThreatProtectionSetting,
1515
Alert,
16-
AlertConfidenceReason,
1716
AlertEntity,
1817
AlertsSuppressionRule,
1918
AllowlistCustomAlertRule,
@@ -23,53 +22,89 @@ export {
2322
AscLocation,
2423
AssessmentLinks,
2524
AssessmentStatus,
25+
AuthenticationDetailsProperties,
2626
AutoProvisioningSetting,
27+
AwAssumeRoleAuthenticationDetailsProperties,
28+
AwsCredsAuthenticationDetailsProperties,
2729
AzureResourceDetails,
30+
AzureResourceIdentifier,
2831
AzureResourceLink,
32+
Baseline,
33+
BaselineAdjustedResult,
2934
BaseResource,
35+
BenchmarkReference,
3036
CloudError,
3137
Compliance,
3238
ComplianceResult,
3339
ComplianceSegment,
3440
ConnectionToIpNotAllowed,
41+
ConnectorSetting,
3542
ContainerRegistryVulnerabilityProperties,
3643
CustomAlertRule,
3744
CVE,
3845
CVSS,
3946
DataExportSettings,
4047
DenylistCustomAlertRule,
48+
Device,
4149
DeviceSecurityGroup,
4250
DirectMethodInvokesNotInAllowedRange,
4351
EffectiveNetworkSecurityGroups,
4452
FailedLocalLoginsNotInAllowedRange,
4553
FileUploadsNotInAllowedRange,
54+
Firmware,
55+
GcpCredentialsDetailsProperties,
4656
HttpC2DMessagesNotInAllowedRange,
4757
HttpC2DRejectedMessagesNotInAllowedRange,
4858
HttpD2CMessagesNotInAllowedRange,
59+
HybridComputeSettingsProperties,
4960
InformationProtectionKeyword,
5061
InformationProtectionPolicy,
5162
InformationType,
63+
IotAlertType,
64+
IotDefenderSettingsModel,
65+
IotRecommendation,
66+
IotRecommendationModel,
67+
IotRecommendationType,
5268
IoTSecurityAlertedDevice,
5369
IoTSecurityDeviceAlert,
5470
IoTSecurityDeviceRecommendation,
5571
IoTSecuritySolutionAnalyticsModel,
5672
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
73+
IotSensorsModel,
5774
IoTSeverityMetrics,
75+
IotSitesModel,
76+
IpAddress,
5877
ListCustomAlertRule,
5978
LocalUserNotAllowed,
79+
LogAnalyticsIdentifier,
80+
MacAddress,
6081
MqttC2DMessagesNotInAllowedRange,
6182
MqttC2DRejectedMessagesNotInAllowedRange,
6283
MqttD2CMessagesNotInAllowedRange,
84+
NetworkInterface,
85+
OnPremiseIotSensor,
6386
OnPremiseResourceDetails,
87+
OnPremiseSqlResourceDetails,
6488
Pricing,
6589
ProcessNotAllowed,
90+
Protocol1,
91+
ProxyServerProperties,
92+
QueryCheck,
6693
QueuePurgesNotInAllowedRange,
6794
RegulatoryComplianceAssessment,
6895
RegulatoryComplianceControl,
6996
RegulatoryComplianceStandard,
97+
Remediation,
7098
Resource,
7199
ResourceDetails,
100+
ResourceIdentifier,
72101
Rule,
102+
RuleResults,
103+
RuleResultsProperties,
104+
Scan,
105+
ScanProperties,
106+
ScanResult,
107+
ScanResultProperties,
73108
ScopeElement,
74109
SecureScoreControlDefinitionItem,
75110
SecureScoreControlDefinitionSource,
@@ -85,17 +120,21 @@ export {
85120
SecurityTask,
86121
SecurityTaskParameters,
87122
SensitivityLabel,
123+
Sensor,
88124
ServerVulnerabilityAssessment,
89125
ServerVulnerabilityProperties,
126+
ServicePrincipalProperties,
90127
Setting,
91128
SettingResource,
129+
Site,
92130
SqlServerVulnerabilityProperties,
93131
SubAssessmentStatus,
94132
SuppressionAlertsScope,
95133
ThresholdCustomAlertRule,
96134
TimeWindowCustomAlertRule,
97135
TwinUpdatesNotInAllowedRange,
98136
UnauthorizedOperationsNotInAllowedRange,
137+
VaRule,
99138
VendorReference,
100139
WorkspaceSetting
101140
} from "../models/mappers";

0 commit comments

Comments
 (0)