Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 0 additions & 139 deletions schemas/2021-06-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,53 +43,6 @@
"type"
],
"description": "Microsoft.Security/assessmentMetadata"
},
"settings": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/DataExportSettings"
},
{
"$ref": "#/definitions/AlertSyncSettings"
}
],
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01"
]
},
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"MCAS",
"WDATP",
"Sentinel"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the setting."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/settings"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.Security/settings"
}
},
"unknown_resourceDefinitions": {
Expand Down Expand Up @@ -134,52 +87,6 @@
}
},
"definitions": {
"AlertSyncSettingProperties": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Is the alert sync setting enabled"
}
},
"required": [
"enabled"
],
"description": "The alert sync setting properties"
},
"AlertSyncSettings": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"AlertSyncSettings"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AlertSyncSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The alert sync setting properties"
}
},
"required": [
"kind"
],
"description": "Represents an alert sync setting"
},
"AssessmentLinks": {
"type": "object",
"properties": {},
Expand Down Expand Up @@ -233,52 +140,6 @@
],
"description": "Details of the Azure resource that was assessed"
},
"DataExportSettingProperties": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Is the data export setting enabled"
}
},
"required": [
"enabled"
],
"description": "The data export setting properties"
},
"DataExportSettings": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"DataExportSettings"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DataExportSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The data export setting properties"
}
},
"required": [
"kind"
],
"description": "Represents a data export setting"
},
"OnPremiseResourceDetails": {
"type": "object",
"oneOf": [
Expand Down
146 changes: 146 additions & 0 deletions schemas/2021-07-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Security",
"description": "Microsoft Security Resource Types",
"resourceDefinitions": {
"customAssessmentAutomations": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-07-01-preview"
]
},
"name": {
"type": "string",
"description": "Name of the Custom Assessment Automation."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CustomAssessmentAutomationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "describes the Custom Assessment Automation properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/customAssessmentAutomations"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Security/customAssessmentAutomations"
},
"customEntityStoreAssignments": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-07-01-preview"
]
},
"name": {
"type": "string",
"description": "Name of the custom entity store assignment. Generated name is GUID."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CustomEntityStoreAssignmentRequestProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "describes properties of custom entity store assignment request"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/customEntityStoreAssignments"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Security/customEntityStoreAssignments"
}
},
"definitions": {
"CustomAssessmentAutomationProperties": {
"type": "object",
"properties": {
"compressedQuery": {
"type": "string",
"description": "GZip encoded KQL query representing the assessment automation results required."
},
"description": {
"type": "string",
"description": "The description to relate to the assessments generated by this assessment automation."
},
"remediationDescription": {
"type": "string",
"description": "The remediation description to relate to the assessments generated by this assessment automation."
},
"severity": {
"oneOf": [
{
"type": "string",
"enum": [
"High",
"Medium",
"Low"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The severity to relate to the assessments generated by this assessment automation."
},
"supportedCloud": {
"oneOf": [
{
"type": "string",
"enum": [
"AWS"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Relevant cloud for the custom assessment automation."
}
},
"description": "describes the Custom Assessment Automation properties"
},
"CustomEntityStoreAssignmentRequestProperties": {
"type": "object",
"properties": {
"principal": {
"type": "string",
"description": "The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]"
}
},
"description": "describes properties of custom entity store assignment request"
}
}
}
6 changes: 6 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -8986,6 +8986,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#/resourceDefinitions/customAssessmentAutomations"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#/resourceDefinitions/customEntityStoreAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces"
},
Expand Down