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

Added 7 Graph queries to APIM checklist #914

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions checklists/apim_checklist.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"waf": "Reliability",
"guid": "beae759e-4ddb-4326-bf26-47f87d3454b6",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = ( sku.name == "Premium" and isnotnull(properties.additionalLocations)) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/azure/api-management/api-management-howto-deploy-multi-region"
},
{
Expand All @@ -149,6 +150,7 @@
"waf": "Reliability",
"guid": "9c8d1664-dd9a-49d4-bd83-950af0af4044",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = ( sku.name == "Premium" and isnotnull(zones) and sku.capacity >= 2 ) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/azure/api-management/high-availability"
},
{
Expand Down Expand Up @@ -209,6 +211,7 @@
"text": "Configure autoscaling to scale out the number of instances when the load increases",
"guid": "bb5f356b-3daf-47a2-a9ee-867a8100bbd5",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | join kind = leftouter (resources | where type == "microsoft.insights/autoscalesettings" | extend targetResourceUri = tostring(properties.targetResourceUri)) on $left.id == $right.targetResourceUri | extend compliant = (sku.name == "Premium" and isnotempty(targetResourceUri) and properties1.enabled == true) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/azure/api-management/api-management-howto-autoscale"
},
{
Expand Down Expand Up @@ -279,6 +282,7 @@
"text": "Deploy the service within a Virtual Network (VNet)",
"guid": "cd45c90e-7690-4753-930b-bf290c69c074",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = (isnotnull(properties.virtualNetworkConfiguration)) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/security/benchmark/azure/baselines/api-management-security-baseline?toc=%2Fazure%2Fapi-management%2F&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json#virtual-network-integration"
},
{
Expand All @@ -299,6 +303,7 @@
"text": "Deploy Private Endpoints to filter incoming traffic when APIM is not deployed to a VNet.",
"guid": "67437a28-2721-4a2c-becd-caa54c8237a5",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = (properties.virtualNetworkType == "None" and isnotnull(properties.privateEndpointConnections)) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/security/benchmark/azure/baselines/api-management-security-baseline?toc=%2Fazure%2Fapi-management%2F&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json#azure-private-link"
},
{
Expand All @@ -309,6 +314,7 @@
"text": "Disable Public Network Access",
"guid": "d698adbd-3288-44cb-b10a-9b572da395ae",
"severity": "High",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = (properties.virtualNetworkType == "Internal") | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/security/benchmark/azure/baselines/api-management-security-baseline?toc=%2Fazure%2Fapi-management%2F&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json#disable-public-network-access"
},
{
Expand Down Expand Up @@ -419,6 +425,7 @@
"text": "Use managed identities to authenticate to other Azure resources whenever possible",
"guid": "791abd8b-7706-4e31-9569-afefde724be3",
"severity": "Medium",
"graph": "resources | where type == "microsoft.apimanagement/service" | extend compliant = (isnotnull(identity)) | distinct id, compliant",
seenu433 marked this conversation as resolved.
Show resolved Hide resolved
"link": "https://learn.microsoft.com/security/benchmark/azure/baselines/api-management-security-baseline?toc=%2Fazure%2Fapi-management%2F&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json#managed-identities"
},
{
Expand Down
Loading