Skip to content

Commit b27a047

Browse files
author
SDK Automation
committed
Generated from e40fb021db7713b24d02e2880d139b6570bcd866
1 parent 7e9fcae commit b27a047

File tree

114 files changed

+16461
-3219
lines changed

Some content is hidden

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

114 files changed

+16461
-3219
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: 41 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,88 @@ 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+
IotSensor,
5976
IoTSeverityMetrics,
77+
IpAddress,
6078
ListCustomAlertRule,
6179
LocalUserNotAllowed,
80+
LogAnalyticsIdentifier,
81+
MacAddress,
6282
MqttC2DMessagesNotInAllowedRange,
6383
MqttC2DRejectedMessagesNotInAllowedRange,
6484
MqttD2CMessagesNotInAllowedRange,
85+
NetworkInterface,
86+
OnPremiseIotSensor,
6587
OnPremiseResourceDetails,
88+
OnPremiseSqlResourceDetails,
6689
Pricing,
6790
ProcessNotAllowed,
91+
Protocol1,
92+
ProxyServerProperties,
93+
QueryCheck,
6894
QueuePurgesNotInAllowedRange,
6995
RegulatoryComplianceAssessment,
7096
RegulatoryComplianceControl,
7197
RegulatoryComplianceStandard,
98+
Remediation,
7299
Resource,
73100
ResourceDetails,
101+
ResourceIdentifier,
74102
Rule,
103+
RuleResults,
104+
RuleResultsProperties,
105+
Scan,
106+
ScanProperties,
107+
ScanResult,
108+
ScanResultProperties,
75109
ScopeElement,
76110
SecureScoreControlDefinitionItem,
77111
SecureScoreControlDefinitionSource,
@@ -87,17 +121,20 @@ export {
87121
SecurityTask,
88122
SecurityTaskParameters,
89123
SensitivityLabel,
124+
Sensor,
90125
ServerVulnerabilityAssessment,
91126
ServerVulnerabilityProperties,
127+
ServicePrincipalProperties,
92128
Setting,
93-
SettingResource,
129+
Site,
94130
SqlServerVulnerabilityProperties,
95131
SubAssessmentStatus,
96132
SuppressionAlertsScope,
97133
ThresholdCustomAlertRule,
98134
TimeWindowCustomAlertRule,
99135
TwinUpdatesNotInAllowedRange,
100136
UnauthorizedOperationsNotInAllowedRange,
137+
VaRule,
101138
VendorReference,
102139
WorkspaceSetting
103140
} from "../models/mappers";

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

Lines changed: 41 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,88 @@ 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+
IotSensor,
5774
IoTSeverityMetrics,
75+
IpAddress,
5876
ListCustomAlertRule,
5977
LocalUserNotAllowed,
78+
LogAnalyticsIdentifier,
79+
MacAddress,
6080
MqttC2DMessagesNotInAllowedRange,
6181
MqttC2DRejectedMessagesNotInAllowedRange,
6282
MqttD2CMessagesNotInAllowedRange,
83+
NetworkInterface,
84+
OnPremiseIotSensor,
6385
OnPremiseResourceDetails,
86+
OnPremiseSqlResourceDetails,
6487
Pricing,
6588
ProcessNotAllowed,
89+
Protocol1,
90+
ProxyServerProperties,
91+
QueryCheck,
6692
QueuePurgesNotInAllowedRange,
6793
RegulatoryComplianceAssessment,
6894
RegulatoryComplianceControl,
6995
RegulatoryComplianceStandard,
96+
Remediation,
7097
Resource,
7198
ResourceDetails,
99+
ResourceIdentifier,
72100
Rule,
101+
RuleResults,
102+
RuleResultsProperties,
103+
Scan,
104+
ScanProperties,
105+
ScanResult,
106+
ScanResultProperties,
73107
ScopeElement,
74108
SecureScoreControlDefinitionItem,
75109
SecureScoreControlDefinitionSource,
@@ -85,17 +119,20 @@ export {
85119
SecurityTask,
86120
SecurityTaskParameters,
87121
SensitivityLabel,
122+
Sensor,
88123
ServerVulnerabilityAssessment,
89124
ServerVulnerabilityProperties,
125+
ServicePrincipalProperties,
90126
Setting,
91-
SettingResource,
127+
Site,
92128
SqlServerVulnerabilityProperties,
93129
SubAssessmentStatus,
94130
SuppressionAlertsScope,
95131
ThresholdCustomAlertRule,
96132
TimeWindowCustomAlertRule,
97133
TwinUpdatesNotInAllowedRange,
98134
UnauthorizedOperationsNotInAllowedRange,
135+
VaRule,
99136
VendorReference,
100137
WorkspaceSetting
101138
} from "../models/mappers";

0 commit comments

Comments
 (0)