Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR security] add security config #1042

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion schemas/2015-06-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -703,4 +703,4 @@
"description": "Represents a machine that is part of a VM/server group"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-08-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1557,4 +1557,4 @@
"description": "Workspace setting data"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-06-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
"description": "Pricing properties for the relevant scope"
}
}
}
}
5 changes: 3 additions & 2 deletions schemas/2019-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@
"SubAssessments",
"Alerts",
"SecureScores",
"SecureScoreControls"
"SecureScoreControls",
"RegulatoryComplianceAssessment"
]
},
{
Expand Down Expand Up @@ -895,4 +896,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@
"description": "Represents a data export setting"
}
}
}
}
76 changes: 75 additions & 1 deletion schemas/2019-08-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,57 @@
],
"description": "Number of active connections is not in allowed range."
},
"AdditionalWorkspacesProperties": {
"type": "object",
"properties": {
"dataTypes": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"Alerts",
"RawEvents"
]
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "List of data types sent to workspace"
},
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"Sentinel"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Workspace type."
},
"workspace": {
"type": "string",
"description": "Workspace resource id"
}
},
"description": "Properties of the additional workspaces."
},
"AllowlistCustomAlertRule": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/ConnectionToIpNotAllowed"
},
{
"$ref": "#/definitions/ConnectionFromIpNotAllowed"
},
{
"$ref": "#/definitions/LocalUserNotAllowed"
},
Expand Down Expand Up @@ -211,6 +256,21 @@
],
"description": "Number of device to cloud messages (AMQP protocol) is not in allowed range."
},
"ConnectionFromIpNotAllowed": {
"type": "object",
"properties": {
"ruleType": {
"type": "string",
"enum": [
"ConnectionFromIpNotAllowed"
]
}
},
"required": [
"ruleType"
],
"description": "Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation."
},
"ConnectionToIpNotAllowed": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -416,6 +476,20 @@
"IoTSecuritySolutionProperties": {
"type": "object",
"properties": {
"additionalWorkspaces": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/AdditionalWorkspacesProperties"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "List of additional workspaces"
},
"disabledDataSources": {
"oneOf": [
{
Expand Down Expand Up @@ -857,4 +931,4 @@
"description": "Properties of the IoT Security solution's user defined resources."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,4 @@
"description": "Details of the service principal."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1236,4 +1236,4 @@
"description": "Represents a machine that is part of a machine group"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-08-06-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@
"description": "IoT sensor properties"
}
}
}
}