Skip to content

Commit 287e366

Browse files
committed
udpate category and add cognitive service policy
1 parent 911a62d commit 287e366

88 files changed

Lines changed: 136 additions & 90 deletions

File tree

Some content is hidden

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

policyDefinitions/azure-sql/pol-audit-deny-sql-server-aad-auth.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Azure SQL Database should have Azure Active Directory Only Authentication enabled",
55
"description": "Disabling local authentication methods and allowing only Azure Active Directory Authentication improves security by ensuring that Azure SQL Databases can exclusively be accessed by Azure Active Directory identities. Learn more at: aka.ms/adonlycreate.",
66
"metadata": {
7-
"category": "Network Security",
7+
"category": "Azure SQL",
88
"version": "1.0.0",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-audit-deny-sql-server-public-endpoint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Public network access on Azure SQL Database should be disabled",
55
"description": "Disabling the public network access property improves security by ensuring your Azure SQL Database can only be accessed from a private endpoint. This configuration denies all logins that match IP or virtual network based firewall rules.",
66
"metadata": {
7-
"category": "Network Security",
7+
"category": "Azure SQL",
88
"version": "1.1.0",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-audit-deny-sql-server-tls-version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Azure SQL Database should be running TLS version 1.2 or newer",
55
"description": "Setting TLS version to 1.2 or newer improves security by ensuring your Azure SQL Database can only be accessed from clients using TLS 1.2 or newer. Using versions of TLS less than 1.2 is not recommended since they have well documented security vulnerabilities.",
66
"metadata": {
7-
"category": "Application and Database security",
7+
"category": "Azure SQL",
88
"version": "2.0.0",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-audit-sql-advanced-data-security.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Azure Defender for SQL should be enabled for unprotected Azure SQL servers",
55
"description": "Audit SQL servers without Advanced Data Security",
66
"metadata": {
7-
"category": "Application and Database security",
7+
"category": "Azure SQL",
88
"version": "2.0.1",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-audit-sql-server-private-endpoint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Private endpoint connections on Azure SQL Database should be enabled",
55
"description": "Private endpoint connections enforce secure communication by enabling private connectivity to Azure SQL Database.",
66
"metadata": {
7-
"category": "Network security",
7+
"category": "Azure SQL",
88
"version": "1.1.0",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-audit-sql-vuln-assessment.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Vulnerability assessment should be enabled on your SQL servers",
55
"description": "Audit Azure SQL servers which do not have recurring vulnerability assessment scans enabled. Vulnerability assessment can discover, track, and help you remediate potential database vulnerabilities.",
66
"metadata": {
7-
"category": "Application and Database security",
7+
"category": "Azure SQL",
88
"version": "2.0.0",
99
"preview": false,
1010
"deprecated": false,

policyDefinitions/azure-sql/pol-deploy-sql-database-auditing-settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Deploy SQL database auditing settings",
55
"description": "Deploy auditing settings to SQL Database when it not exist in the deployment.",
66
"metadata": {
7-
"category": "Application and Database security",
7+
"category": "Azure SQL",
88
"version": "1.0.0",
99
"preview": false,
1010
"deprecated": false

policyDefinitions/azure-sql/pol-deploy-sql-tde.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Deploy SQL Database Transparent Data Encryption",
55
"description": "Deploy the Transparent Data Encryption when it is not enabled in the deployment.",
66
"metadata": {
7-
"category": "Application and Database security",
7+
"category": "Azure SQL",
88
"version": "2.1.0",
99
"preview": false,
1010
"deprecated": false,
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "pol-restrict-cog-local-auth",
3+
"properties": {
4+
"displayName": "Cognitive Services accounts should have local authentication methods disabled",
5+
"description": "Disable local authentication methods so that your Cognitive Services accounts require Azure Active Directory identities exclusively for authentication. Learn more at: https://aka.ms/cs/auth.",
6+
"metadata": {
7+
"category": "Cognitive Services",
8+
"version": "1.0.0",
9+
"preview": false,
10+
"deprecated": false
11+
},
12+
"mode": "Indexed",
13+
"parameters": {
14+
"effect": {
15+
"type": "String",
16+
"metadata": {
17+
"displayName": "Effect",
18+
"description": "Enable or disable the execution of the policy"
19+
},
20+
"allowedValues": [
21+
"Audit",
22+
"Deny",
23+
"Disabled"
24+
],
25+
"defaultValue": "Deny"
26+
}
27+
},
28+
"policyRule": {
29+
"if": {
30+
"allOf": [
31+
{
32+
"field": "type",
33+
"equals": "Microsoft.CognitiveServices/accounts"
34+
},
35+
{
36+
"field": "Microsoft.CognitiveServices/accounts/disableLocalAuth",
37+
"notEquals": true
38+
}
39+
]
40+
},
41+
"then": {
42+
"effect": "[parameters('effect')]"
43+
}
44+
}
45+
}
46+
}

policyDefinitions/container-registry/pol-audit-acr-disable-public-network-access.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Public network access should be disabled for Container registries",
55
"description": "Disabling public network access improves security by ensuring that container registries are not exposed on the public internet. Creating private endpoints can limit exposure of container registry resources.",
66
"metadata": {
7-
"category": "Network Security",
7+
"category": "Container Registry",
88
"version": "1.0.0",
99
"preview": false,
1010
"deprecated": true,

0 commit comments

Comments
 (0)