Skip to content

Commit 0b35502

Browse files
author
SDKAuto
committed
CodeGen from PR 13014 in Azure/azure-rest-api-specs
Merge fafa4d85a138b111bbf384e0a09cbb7c844e4612 into 70db689a2e699ff62550f5d7f62c4709e3b7882c
1 parent e966f38 commit 0b35502

File tree

117 files changed

+18115
-3205
lines changed

Some content is hidden

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

117 files changed

+18115
-3205
lines changed

sdk/security/arm-security/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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: 45 additions & 4 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,92 @@ 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,
42+
ConnectionFromIpNotAllowed,
3643
ConnectionToIpNotAllowed,
44+
ConnectorSetting,
3745
ContainerRegistryVulnerabilityProperties,
3846
CustomAlertRule,
3947
CVE,
4048
CVSS,
4149
DataExportSettings,
4250
DenylistCustomAlertRule,
51+
Device,
4352
DeviceSecurityGroup,
4453
DirectMethodInvokesNotInAllowedRange,
4554
EffectiveNetworkSecurityGroups,
4655
FailedLocalLoginsNotInAllowedRange,
4756
FileUploadsNotInAllowedRange,
57+
Firmware,
58+
GcpCredentialsDetailsProperties,
4859
HttpC2DMessagesNotInAllowedRange,
4960
HttpC2DRejectedMessagesNotInAllowedRange,
5061
HttpD2CMessagesNotInAllowedRange,
62+
HybridComputeSettingsProperties,
5163
InformationProtectionKeyword,
5264
InformationProtectionPolicy,
5365
InformationType,
66+
IotAlert,
67+
IotAlertModel,
68+
IotAlertType,
69+
IotDefenderSettingsModel,
70+
IotRecommendation,
71+
IotRecommendationModel,
72+
IotRecommendationType,
5473
IoTSecurityAlertedDevice,
5574
IoTSecurityDeviceAlert,
5675
IoTSecurityDeviceRecommendation,
5776
IoTSecuritySolutionAnalyticsModel,
5877
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
78+
IotSensorsModel,
5979
IoTSeverityMetrics,
80+
IotSitesModel,
81+
IpAddress,
6082
ListCustomAlertRule,
6183
LocalUserNotAllowed,
84+
LogAnalyticsIdentifier,
85+
MacAddress,
6286
MqttC2DMessagesNotInAllowedRange,
6387
MqttC2DRejectedMessagesNotInAllowedRange,
6488
MqttD2CMessagesNotInAllowedRange,
89+
NetworkInterface,
90+
OnPremiseIotSensor,
6591
OnPremiseResourceDetails,
92+
OnPremiseSqlResourceDetails,
6693
Pricing,
6794
ProcessNotAllowed,
95+
Protocol1,
96+
ProxyServerProperties,
97+
QueryCheck,
6898
QueuePurgesNotInAllowedRange,
6999
RegulatoryComplianceAssessment,
70100
RegulatoryComplianceControl,
71101
RegulatoryComplianceStandard,
102+
Remediation,
72103
Resource,
73104
ResourceDetails,
105+
ResourceIdentifier,
74106
Rule,
107+
RuleResults,
108+
RuleResultsProperties,
109+
Scan,
110+
ScanProperties,
111+
ScanResult,
112+
ScanResultProperties,
75113
ScopeElement,
76114
SecureScoreControlDefinitionItem,
77115
SecureScoreControlDefinitionSource,
@@ -87,17 +125,20 @@ export {
87125
SecurityTask,
88126
SecurityTaskParameters,
89127
SensitivityLabel,
128+
Sensor,
90129
ServerVulnerabilityAssessment,
91130
ServerVulnerabilityProperties,
131+
ServicePrincipalProperties,
92132
Setting,
93-
SettingResource,
133+
Site,
94134
SqlServerVulnerabilityProperties,
95135
SubAssessmentStatus,
96136
SuppressionAlertsScope,
97137
ThresholdCustomAlertRule,
98138
TimeWindowCustomAlertRule,
99139
TwinUpdatesNotInAllowedRange,
100140
UnauthorizedOperationsNotInAllowedRange,
141+
VaRule,
101142
VendorReference,
102143
WorkspaceSetting
103144
} from "../models/mappers";

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

Lines changed: 45 additions & 4 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,92 @@ 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,
40+
ConnectionFromIpNotAllowed,
3441
ConnectionToIpNotAllowed,
42+
ConnectorSetting,
3543
ContainerRegistryVulnerabilityProperties,
3644
CustomAlertRule,
3745
CVE,
3846
CVSS,
3947
DataExportSettings,
4048
DenylistCustomAlertRule,
49+
Device,
4150
DeviceSecurityGroup,
4251
DirectMethodInvokesNotInAllowedRange,
4352
EffectiveNetworkSecurityGroups,
4453
FailedLocalLoginsNotInAllowedRange,
4554
FileUploadsNotInAllowedRange,
55+
Firmware,
56+
GcpCredentialsDetailsProperties,
4657
HttpC2DMessagesNotInAllowedRange,
4758
HttpC2DRejectedMessagesNotInAllowedRange,
4859
HttpD2CMessagesNotInAllowedRange,
60+
HybridComputeSettingsProperties,
4961
InformationProtectionKeyword,
5062
InformationProtectionPolicy,
5163
InformationType,
64+
IotAlert,
65+
IotAlertModel,
66+
IotAlertType,
67+
IotDefenderSettingsModel,
68+
IotRecommendation,
69+
IotRecommendationModel,
70+
IotRecommendationType,
5271
IoTSecurityAlertedDevice,
5372
IoTSecurityDeviceAlert,
5473
IoTSecurityDeviceRecommendation,
5574
IoTSecuritySolutionAnalyticsModel,
5675
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
76+
IotSensorsModel,
5777
IoTSeverityMetrics,
78+
IotSitesModel,
79+
IpAddress,
5880
ListCustomAlertRule,
5981
LocalUserNotAllowed,
82+
LogAnalyticsIdentifier,
83+
MacAddress,
6084
MqttC2DMessagesNotInAllowedRange,
6185
MqttC2DRejectedMessagesNotInAllowedRange,
6286
MqttD2CMessagesNotInAllowedRange,
87+
NetworkInterface,
88+
OnPremiseIotSensor,
6389
OnPremiseResourceDetails,
90+
OnPremiseSqlResourceDetails,
6491
Pricing,
6592
ProcessNotAllowed,
93+
Protocol1,
94+
ProxyServerProperties,
95+
QueryCheck,
6696
QueuePurgesNotInAllowedRange,
6797
RegulatoryComplianceAssessment,
6898
RegulatoryComplianceControl,
6999
RegulatoryComplianceStandard,
100+
Remediation,
70101
Resource,
71102
ResourceDetails,
103+
ResourceIdentifier,
72104
Rule,
105+
RuleResults,
106+
RuleResultsProperties,
107+
Scan,
108+
ScanProperties,
109+
ScanResult,
110+
ScanResultProperties,
73111
ScopeElement,
74112
SecureScoreControlDefinitionItem,
75113
SecureScoreControlDefinitionSource,
@@ -85,17 +123,20 @@ export {
85123
SecurityTask,
86124
SecurityTaskParameters,
87125
SensitivityLabel,
126+
Sensor,
88127
ServerVulnerabilityAssessment,
89128
ServerVulnerabilityProperties,
129+
ServicePrincipalProperties,
90130
Setting,
91-
SettingResource,
131+
Site,
92132
SqlServerVulnerabilityProperties,
93133
SubAssessmentStatus,
94134
SuppressionAlertsScope,
95135
ThresholdCustomAlertRule,
96136
TimeWindowCustomAlertRule,
97137
TwinUpdatesNotInAllowedRange,
98138
UnauthorizedOperationsNotInAllowedRange,
139+
VaRule,
99140
VendorReference,
100141
WorkspaceSetting
101142
} from "../models/mappers";

0 commit comments

Comments
 (0)