Skip to content

Commit 070c57e

Browse files
author
SDKAuto
committed
CodeGen from PR 15856 in Azure/azure-rest-api-specs
Merge 675177cf7cc5f411c87e85c0d4aa19b567c511d9 into cf675c2dcf645a7b79ff0894b2cc9cb43d35a397
1 parent 1459599 commit 070c57e

File tree

3 files changed

+62
-139
lines changed

3 files changed

+62
-139
lines changed

schemas/2021-06-01/Microsoft.Security.json

Lines changed: 0 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -43,53 +43,6 @@
4343
"type"
4444
],
4545
"description": "Microsoft.Security/assessmentMetadata"
46-
},
47-
"settings": {
48-
"type": "object",
49-
"oneOf": [
50-
{
51-
"$ref": "#/definitions/DataExportSettings"
52-
},
53-
{
54-
"$ref": "#/definitions/AlertSyncSettings"
55-
}
56-
],
57-
"properties": {
58-
"apiVersion": {
59-
"type": "string",
60-
"enum": [
61-
"2021-06-01"
62-
]
63-
},
64-
"name": {
65-
"oneOf": [
66-
{
67-
"type": "string",
68-
"enum": [
69-
"MCAS",
70-
"WDATP",
71-
"Sentinel"
72-
]
73-
},
74-
{
75-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
76-
}
77-
],
78-
"description": "The name of the setting."
79-
},
80-
"type": {
81-
"type": "string",
82-
"enum": [
83-
"Microsoft.Security/settings"
84-
]
85-
}
86-
},
87-
"required": [
88-
"apiVersion",
89-
"name",
90-
"type"
91-
],
92-
"description": "Microsoft.Security/settings"
9346
}
9447
},
9548
"unknown_resourceDefinitions": {
@@ -134,52 +87,6 @@
13487
}
13588
},
13689
"definitions": {
137-
"AlertSyncSettingProperties": {
138-
"type": "object",
139-
"properties": {
140-
"enabled": {
141-
"oneOf": [
142-
{
143-
"type": "boolean"
144-
},
145-
{
146-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
147-
}
148-
],
149-
"description": "Is the alert sync setting enabled"
150-
}
151-
},
152-
"required": [
153-
"enabled"
154-
],
155-
"description": "The alert sync setting properties"
156-
},
157-
"AlertSyncSettings": {
158-
"type": "object",
159-
"properties": {
160-
"kind": {
161-
"type": "string",
162-
"enum": [
163-
"AlertSyncSettings"
164-
]
165-
},
166-
"properties": {
167-
"oneOf": [
168-
{
169-
"$ref": "#/definitions/AlertSyncSettingProperties"
170-
},
171-
{
172-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
173-
}
174-
],
175-
"description": "The alert sync setting properties"
176-
}
177-
},
178-
"required": [
179-
"kind"
180-
],
181-
"description": "Represents an alert sync setting"
182-
},
18390
"AssessmentLinks": {
18491
"type": "object",
18592
"properties": {},
@@ -233,52 +140,6 @@
233140
],
234141
"description": "Details of the Azure resource that was assessed"
235142
},
236-
"DataExportSettingProperties": {
237-
"type": "object",
238-
"properties": {
239-
"enabled": {
240-
"oneOf": [
241-
{
242-
"type": "boolean"
243-
},
244-
{
245-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
246-
}
247-
],
248-
"description": "Is the data export setting enabled"
249-
}
250-
},
251-
"required": [
252-
"enabled"
253-
],
254-
"description": "The data export setting properties"
255-
},
256-
"DataExportSettings": {
257-
"type": "object",
258-
"properties": {
259-
"kind": {
260-
"type": "string",
261-
"enum": [
262-
"DataExportSettings"
263-
]
264-
},
265-
"properties": {
266-
"oneOf": [
267-
{
268-
"$ref": "#/definitions/DataExportSettingProperties"
269-
},
270-
{
271-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
272-
}
273-
],
274-
"description": "The data export setting properties"
275-
}
276-
},
277-
"required": [
278-
"kind"
279-
],
280-
"description": "Represents a data export setting"
281-
},
282143
"OnPremiseResourceDetails": {
283144
"type": "object",
284145
"oneOf": [
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Security",
5+
"description": "Microsoft Security Resource Types",
6+
"resourceDefinitions": {
7+
"customEntityStoreAssignments": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2021-07-01-preview"
14+
]
15+
},
16+
"name": {
17+
"type": "string",
18+
"description": "Name of the custom entity store assignment. Generated name is GUID."
19+
},
20+
"properties": {
21+
"oneOf": [
22+
{
23+
"$ref": "#/definitions/CustomEntityStoreAssignmentRequestProperties"
24+
},
25+
{
26+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+
}
28+
],
29+
"description": "describes properties of custom entity store assignment request"
30+
},
31+
"type": {
32+
"type": "string",
33+
"enum": [
34+
"Microsoft.Security/customEntityStoreAssignments"
35+
]
36+
}
37+
},
38+
"required": [
39+
"apiVersion",
40+
"name",
41+
"properties",
42+
"type"
43+
],
44+
"description": "Microsoft.Security/customEntityStoreAssignments"
45+
}
46+
},
47+
"definitions": {
48+
"CustomEntityStoreAssignmentRequestProperties": {
49+
"type": "object",
50+
"properties": {
51+
"principal": {
52+
"type": "string",
53+
"description": "The principal assigned with entity store. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]"
54+
}
55+
},
56+
"description": "describes properties of custom entity store assignment request"
57+
}
58+
}
59+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8680,6 +8680,9 @@
86808680
{
86818681
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments"
86828682
},
8683+
{
8684+
"$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#/resourceDefinitions/customEntityStoreAssignments"
8685+
},
86838686
{
86848687
"$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces"
86858688
},

0 commit comments

Comments
 (0)