Skip to content

Commit d561d84

Browse files
author
SDKAuto
committed
CodeGen from PR 14347 in Azure/azure-rest-api-specs
Merge 299ad97d86dbd40efcb18c3c2ba596c0d3de1ccc into 19e140f6f848bf9616735a7bd360edeef25c6c8d
1 parent 3ca024f commit d561d84

File tree

121 files changed

+19679
-2840
lines changed

Some content is hidden

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

121 files changed

+19679
-2840
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: 47 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,93 @@ 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+
IngestionSetting,
67+
IotAlert,
68+
IotAlertModel,
69+
IotAlertType,
70+
IotDefenderSettingsModel,
71+
IotRecommendation,
72+
IotRecommendationModel,
73+
IotRecommendationType,
5474
IoTSecurityAlertedDevice,
5575
IoTSecurityDeviceAlert,
5676
IoTSecurityDeviceRecommendation,
5777
IoTSecuritySolutionAnalyticsModel,
5878
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
79+
IotSensorsModel,
5980
IoTSeverityMetrics,
81+
IotSitesModel,
82+
IpAddress,
6083
ListCustomAlertRule,
6184
LocalUserNotAllowed,
85+
LogAnalyticsIdentifier,
86+
MacAddress,
6287
MqttC2DMessagesNotInAllowedRange,
6388
MqttC2DRejectedMessagesNotInAllowedRange,
6489
MqttD2CMessagesNotInAllowedRange,
90+
NetworkInterface,
91+
OnPremiseIotSensor,
6592
OnPremiseResourceDetails,
93+
OnPremiseSqlResourceDetails,
6694
Pricing,
6795
ProcessNotAllowed,
96+
Protocol1,
97+
ProxyServerProperties,
98+
QueryCheck,
6899
QueuePurgesNotInAllowedRange,
69100
RegulatoryComplianceAssessment,
70101
RegulatoryComplianceControl,
71102
RegulatoryComplianceStandard,
103+
Remediation,
72104
Resource,
73105
ResourceDetails,
106+
ResourceIdentifier,
74107
Rule,
108+
RuleResults,
109+
RuleResultsProperties,
110+
Scan,
111+
ScanProperties,
112+
ScanResult,
113+
ScanResultProperties,
75114
ScopeElement,
76115
SecureScoreControlDefinitionItem,
77116
SecureScoreControlDefinitionSource,
@@ -87,17 +126,21 @@ export {
87126
SecurityTask,
88127
SecurityTaskParameters,
89128
SensitivityLabel,
129+
Sensor,
90130
ServerVulnerabilityAssessment,
91131
ServerVulnerabilityProperties,
132+
ServicePrincipalProperties,
92133
Setting,
93-
SettingResource,
134+
Site,
135+
Software,
94136
SqlServerVulnerabilityProperties,
95137
SubAssessmentStatus,
96138
SuppressionAlertsScope,
97139
ThresholdCustomAlertRule,
98140
TimeWindowCustomAlertRule,
99141
TwinUpdatesNotInAllowedRange,
100142
UnauthorizedOperationsNotInAllowedRange,
143+
VaRule,
101144
VendorReference,
102145
WorkspaceSetting
103146
} from "../models/mappers";

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

Lines changed: 47 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,93 @@ 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+
IngestionSetting,
65+
IotAlert,
66+
IotAlertModel,
67+
IotAlertType,
68+
IotDefenderSettingsModel,
69+
IotRecommendation,
70+
IotRecommendationModel,
71+
IotRecommendationType,
5272
IoTSecurityAlertedDevice,
5373
IoTSecurityDeviceAlert,
5474
IoTSecurityDeviceRecommendation,
5575
IoTSecuritySolutionAnalyticsModel,
5676
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem,
77+
IotSensorsModel,
5778
IoTSeverityMetrics,
79+
IotSitesModel,
80+
IpAddress,
5881
ListCustomAlertRule,
5982
LocalUserNotAllowed,
83+
LogAnalyticsIdentifier,
84+
MacAddress,
6085
MqttC2DMessagesNotInAllowedRange,
6186
MqttC2DRejectedMessagesNotInAllowedRange,
6287
MqttD2CMessagesNotInAllowedRange,
88+
NetworkInterface,
89+
OnPremiseIotSensor,
6390
OnPremiseResourceDetails,
91+
OnPremiseSqlResourceDetails,
6492
Pricing,
6593
ProcessNotAllowed,
94+
Protocol1,
95+
ProxyServerProperties,
96+
QueryCheck,
6697
QueuePurgesNotInAllowedRange,
6798
RegulatoryComplianceAssessment,
6899
RegulatoryComplianceControl,
69100
RegulatoryComplianceStandard,
101+
Remediation,
70102
Resource,
71103
ResourceDetails,
104+
ResourceIdentifier,
72105
Rule,
106+
RuleResults,
107+
RuleResultsProperties,
108+
Scan,
109+
ScanProperties,
110+
ScanResult,
111+
ScanResultProperties,
73112
ScopeElement,
74113
SecureScoreControlDefinitionItem,
75114
SecureScoreControlDefinitionSource,
@@ -85,17 +124,21 @@ export {
85124
SecurityTask,
86125
SecurityTaskParameters,
87126
SensitivityLabel,
127+
Sensor,
88128
ServerVulnerabilityAssessment,
89129
ServerVulnerabilityProperties,
130+
ServicePrincipalProperties,
90131
Setting,
91-
SettingResource,
132+
Site,
133+
Software,
92134
SqlServerVulnerabilityProperties,
93135
SubAssessmentStatus,
94136
SuppressionAlertsScope,
95137
ThresholdCustomAlertRule,
96138
TimeWindowCustomAlertRule,
97139
TwinUpdatesNotInAllowedRange,
98140
UnauthorizedOperationsNotInAllowedRange,
141+
VaRule,
99142
VendorReference,
100143
WorkspaceSetting
101144
} from "../models/mappers";

0 commit comments

Comments
 (0)