rules/findings/Azure/Defender/CIS3.0/azure-agentless-container-vulnerability-assessment-disabled.json

{
  "args": [
     
  ],
  "provider": "Azure",
  "serviceType": "Defender for Cloud",
  "serviceName": "Subscription",
  "displayName": "Ensure that 'Agentless container vulnerability assessment' component status is 'On'",
  "description": "Enable automatic vulnerability management for images stored in ACR or running in AKS clusters.",
  "rationale": "Agentless vulnerability scanning will examine container images - whether running or in storage - for vulnerable configurations.",
  "impact": "
        Agentless container vulnerability assessment requires licensing and is included in:<br/>
        * Defender CSPM
        * Defender for Containers plans.
  ",
  "remediation": {
    "text": "###### Audit from Azure Portal
            1. From the Azure Portal Home page, select Microsoft Defender for Cloud
            2. Under Management select Environment Settings
            3. Select a subscription
            4. Under Settings > Defender Plans, click Settings & monitoring
            5. Locate the row for Agentless container vulnerability assessment
            6. Select On
            7. Click Continue in the top left
 
            Repeat the above for any additional subscriptions.
    ",
    "code": {
      "powerShell": null,
      "iac": null,
      "terraform": null,
      "other": null
    }
  },
  "recommendation": null,
  "references": [
        "https://docs.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-introduction",
        "https://docs.microsoft.com/en-us/azure/defender-for-cloud/enable-data-collection?tabs=autoprovision-containers",
        "https://msdn.microsoft.com/en-us/library/mt704062.aspx",
        "https://msdn.microsoft.com/en-us/library/mt704063.aspx",
        "https://docs.microsoft.com/en-us/rest/api/securitycenter/autoprovisioningsettings/list",
        "https://docs.microsoft.com/en-us/rest/api/securitycenter/autoprovisioningsettings/create",
        "https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-incident-response#ir-2-preparation---setup-incident-notification"
  ],
  "compliance": [
    {
      "name": "CIS Microsoft Azure Foundations",
      "version": "3.0.0",
      "reference": "3.1.4.3",
      "profile":"Level 2"
    }
  ],
  "level": "medium",
  "tags": [
     
  ],
  "rule": {
    "path": "",
    "subPath": null,
    "selectCondition": {
       
    },
    "query": [
    ],
    "shouldExist": null,
    "returnObject": null,
    "removeIfNotExists": null
  },
  "output": {
    "html": {
      "data": {
        "expandObject": null
      },
      "table": "asList",
      "decorate": [
         
      ],
      "emphasis": [
      ],
      "actions": {
        "objectData": {
          "properties": [
             
          ],
          "expandObject": null,
          "limit": null
        },
        "showGoToButton": null,
        "showModalButton": null,
        "directLink": null
      }
    },
    "text": {
      "data": {
        "properties": {
           
        },
        "expandObject": null
      },
      "status": {
        "keyName": [
           
        ],
        "message": "",
        "defaultMessage": null
      },
      "properties": {
        "resourceName": null,
        "resourceId": null,
        "resourceType": null
      },
      "onlyStatus": false
    }
  },
  "idSuffix": "azure_defender_missing_agentless_container_vulnerability",
  "notes": [
     
  ],
  "categories": [
     
  ]
}