last sync: 2021-Nov-26 17:15:01 UTC

Azure Policy definition

Cognitive Services accounts should have local authentication methods disabled

Name Cognitive Services accounts should have local authentication methods disabled
Azure Portal
Id 71ef260a-8f18-47b7-abcb-62d0673d94dc
Version 1.0.0
details on versioning
Category Cognitive Services
Microsoft docs
Description Disabling local authentication methods improves security by ensuring that Cognitive Services accounts require Azure Active Directory identities exclusively for authentication. Learn more at: https://aka.ms/cs/auth.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Deny, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-06-02 22:44:52 add 71ef260a-8f18-47b7-abcb-62d0673d94dc
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State
FedRAMP High d5264498-16f4-418a-b659-fa7ef418175f Regulatory Compliance GA
FedRAMP Moderate e95f5a9f-57ad-4d03-bb0b-b1d16db93693 Regulatory Compliance GA
NIST SP 800-53 Rev. 4 cf25b9c1-bd23-4eb6-bd2c-f4f3ac644a5f Regulatory Compliance GA
NIST SP 800-53 Rev. 5 179d1daa-458f-4e47-8086-2a68d0d6c38f Regulatory Compliance GA
JSON
{
  "displayName": "Cognitive Services accounts should have local authentication methods disabled",
  "policyType": "BuiltIn",
  "mode": "Indexed",
  "description": "Disabling local authentication methods improves security by ensuring that Cognitive Services accounts require Azure Active Directory identities exclusively for authentication. Learn more at: https://aka.ms/cs/auth.",
  "metadata": {
    "version": "1.0.0",
    "category": "Cognitive Services"
  },
  "parameters": {
    "effect": {
      "type": "String",
      "metadata": {
        "displayName": "Effect",
        "description": "Enable or disable the execution of the policy"
      },
      "allowedValues": [
        "Audit",
        "Deny",
        "Disabled"
      ],
      "defaultValue": "Audit"
    }
  },
  "policyRule": {
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.CognitiveServices/accounts"
        },
        {
          "field": "Microsoft.CognitiveServices/accounts/disableLocalAuth",
          "notEquals": true
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
}