Gallery › Security Center › Azure built-in policies
[Deprecated]: Azure running container images should have vulnerabilities resolved (powered by Qualys)
Converted Policy AuditIfNotExists Disabled Mode Indexed Version 1.1.0-deprecated Deprecated
As outlined in the unified vulnerability assessment solution strategy blog (https://aka.ms/MDCUnifiedVAblog), we have made a strategic decision to unify all vulnerability assessment solutions in Defender for Cloud to use Defender vulnerability management. As part of this change, the built-in Qualys offering is now retired. See https://aka.ms/TransitionToMDVM4Containers for more information and transition guidelines.
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
{
"properties": {
"displayName": "[Deprecated]: Azure running container images should have vulnerabilities resolved (powered by Qualys)",
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "As outlined in the unified vulnerability assessment solution strategy blog (https://aka.ms/MDCUnifiedVAblog), we have made a strategic decision to unify all vulnerability assessment solutions in Defender for Cloud to use Defender vulnerability management. As part of this change, the built-in Qualys offering is now retired. See https://aka.ms/TransitionToMDVM4Containers for more information and transition guidelines.",
"metadata": {
"version": "1.1.0-deprecated",
"category": "Security Center",
"deprecated": true
},
"version": "1.1.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
}
},
"policyRule": {
"if": {
"field": "type",
"in": [
"Microsoft.ContainerService/managedClusters"
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.Security/assessments",
"name": "41503391-efa5-47ee-9282-4eff6131462c",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"1.1.0",
"1.0.3",
"1.0.2"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/0fc39691-5a3f-4e3e-94ee-2e6447309ad9",
"name": "0fc39691-5a3f-4e3e-94ee-2e6447309ad9"
}# Converted from ASC_KuberenetesRuningImagesVulnerabilityAssessment_Audit.json by ConvertTo-Bylaw.
Policy '0fc39691-5a3f-4e3e-94ee-2e6447309ad9' {
Properties @{
DisplayName = '[Deprecated]: Azure running container images should have vulnerabilities resolved (powered by Qualys)'
Description = 'As outlined in the unified vulnerability assessment solution strategy blog (https://aka.ms/MDCUnifiedVAblog), we have made a strategic decision to unify all vulnerability assessment solutions in Defender for Cloud to use Defender vulnerability management. As part of this change, the built-in Qualys offering is now retired. See https://aka.ms/TransitionToMDVM4Containers for more information and transition guidelines.'
Version = '1.1.0-deprecated'
Category = 'Security Center'
Deprecated = $true
PolicyVersion = '1.1.0'
Mode = 'Indexed'
}
Parameter Effect @{
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Effect'
Description = 'Enable or disable the execution of the policy'
}
Resource * {
Require 'type is not one of 1 value' {
Field type | Must -Not -BeIn @('Microsoft.ContainerService/managedClusters') -IfPresent
}
}
AuditIfNotExists 'Microsoft.Security/assessments' -Name '41503391-efa5-47ee-9282-4eff6131462c' -Effect (Param Effect) {
Require 'status.code is one of 2 values' {
Field status.code | Must -BeIn @('NotApplicable', 'Healthy')
}
}
}Source: built-in-policies/policyDefinitions/Security Center/ASC_KuberenetesRuningImagesVulnerabilityAssessment_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw