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
97 changes: 97 additions & 0 deletions schemas/2021-07-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"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"
}
},
"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"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -8776,6 +8776,9 @@
{
"$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/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces"
},
Expand Down