Skip to content

Commit 77594f1

Browse files
authored
Release release sentinel microsoft.security insights 2023 09 01 preview (#25845)
* Adds base for updating Microsoft.SecurityInsights from version preview/2023-08-01-preview to version 2023-09-01-preview * Updates readme * Updates API version in new specs and examples
1 parent 1e00970 commit 77594f1

File tree

296 files changed

+43925
-2
lines changed

Some content is hidden

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

296 files changed

+43925
-2
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2023-09-01-preview/AlertRules.json

Lines changed: 2543 additions & 0 deletions
Large diffs are not rendered by default.

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2023-09-01-preview/AutomationRules.json

Lines changed: 1495 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "Security Insights",
5+
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
6+
"version": "2023-09-01-preview"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"security": [
19+
{
20+
"azure_auth": [
21+
"user_impersonation"
22+
]
23+
}
24+
],
25+
"securityDefinitions": {
26+
"azure_auth": {
27+
"type": "oauth2",
28+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
29+
"flow": "implicit",
30+
"description": "Azure Active Directory OAuth2 Flow",
31+
"scopes": {
32+
"user_impersonation": "impersonate your user account"
33+
}
34+
}
35+
},
36+
"paths": {
37+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/billingStatistics": {
38+
"get": {
39+
"x-ms-examples": {
40+
"Get all Microsoft Sentinel billing statistics.": {
41+
"$ref": "./examples/billingStatistics/GetAllBillingStatistics.json"
42+
}
43+
},
44+
"tags": [
45+
"billingStatistics"
46+
],
47+
"description": "Gets all Microsoft Sentinel billing statistics.",
48+
"operationId": "BillingStatistics_List",
49+
"parameters": [
50+
{
51+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
52+
},
53+
{
54+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
55+
},
56+
{
57+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
58+
},
59+
{
60+
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
61+
}
62+
],
63+
"responses": {
64+
"200": {
65+
"description": "OK",
66+
"schema": {
67+
"$ref": "#/definitions/BillingStatisticList"
68+
}
69+
},
70+
"default": {
71+
"description": "Error response describing why the operation failed.",
72+
"schema": {
73+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
74+
}
75+
}
76+
},
77+
"x-ms-pageable": {
78+
"nextLinkName": "nextLink"
79+
}
80+
}
81+
},
82+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/billingStatistics/{billingStatisticName}": {
83+
"get": {
84+
"x-ms-examples": {
85+
"Get a billing statistic.": {
86+
"$ref": "./examples/billingStatistics/GetBillingStatistic.json"
87+
}
88+
},
89+
"tags": [
90+
"billingStatistics"
91+
],
92+
"description": "Gets a billing statistic",
93+
"operationId": "BillingStatistics_Get",
94+
"parameters": [
95+
{
96+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
97+
},
98+
{
99+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
100+
},
101+
{
102+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
103+
},
104+
{
105+
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
106+
},
107+
{
108+
"$ref": "#/parameters/BillingStatisticName"
109+
}
110+
],
111+
"responses": {
112+
"200": {
113+
"description": "OK",
114+
"schema": {
115+
"$ref": "#/definitions/BillingStatistic"
116+
}
117+
},
118+
"default": {
119+
"description": "Error response describing why the operation failed.",
120+
"schema": {
121+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
122+
}
123+
}
124+
}
125+
}
126+
}
127+
},
128+
"definitions": {
129+
"BillingStatisticList": {
130+
"description": "List of all Microsoft Sentinel billing statistics.",
131+
"type": "object",
132+
"properties": {
133+
"nextLink": {
134+
"description": "URL to fetch the next set of billing statistics.",
135+
"readOnly": true,
136+
"type": "string"
137+
},
138+
"value": {
139+
"description": "Array of billing statistics.",
140+
"items": {
141+
"$ref": "#/definitions/BillingStatistic"
142+
},
143+
"type": "array"
144+
}
145+
},
146+
"required": [
147+
"value"
148+
]
149+
},
150+
"BillingStatistic": {
151+
"allOf": [
152+
{
153+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/AzureEntityResource"
154+
}
155+
],
156+
"description": "Billing statistic",
157+
"properties": {
158+
"kind": {
159+
"$ref": "#/definitions/BillingStatisticKindEnum",
160+
"description": "The kind of the billing statistic"
161+
}
162+
},
163+
"discriminator": "kind",
164+
"type": "object",
165+
"required": [
166+
"kind"
167+
]
168+
},
169+
"BillingStatisticKindEnum": {
170+
"description": "The kind of the billing statistic",
171+
"enum": [
172+
"SapSolutionUsage"
173+
],
174+
"type": "string",
175+
"x-ms-enum": {
176+
"modelAsString": true,
177+
"name": "BillingStatisticKind",
178+
"values": [
179+
{
180+
"value": "SapSolutionUsage"
181+
}
182+
]
183+
}
184+
},
185+
"SapSolutionUsageStatistic": {
186+
"allOf": [
187+
{
188+
"$ref": "#/definitions/BillingStatistic"
189+
}
190+
],
191+
"description": "Billing statistic about the Microsoft Sentinel solution for SAP Usage",
192+
"properties": {
193+
"properties": {
194+
"$ref": "#/definitions/SapSolutionUsageStatisticProperties",
195+
"description": "The SAP solution usage object",
196+
"x-ms-client-flatten": true
197+
}
198+
},
199+
"type": "object",
200+
"x-ms-discriminator-value": "SapSolutionUsage"
201+
},
202+
"SapSolutionUsageStatisticProperties": {
203+
"description": "Properties of the billing statistic about the Microsoft Sentinel solution for SAP usage",
204+
"properties": {
205+
"activeSystemIdCount": {
206+
"description": "The latest count of active SAP system IDs under the Microsoft Sentinel solution for SAP Usage",
207+
"type": "integer",
208+
"format": "int64",
209+
"readOnly": true
210+
}
211+
},
212+
"type": "object"
213+
}
214+
},
215+
"parameters": {
216+
"BillingStatisticName": {
217+
"description": "The name of the billing statistic",
218+
"in": "path",
219+
"name": "billingStatisticName",
220+
"required": true,
221+
"type": "string",
222+
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$",
223+
"x-ms-parameter-location": "method"
224+
}
225+
}
226+
}

0 commit comments

Comments
 (0)