{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-secure-score-control-profile-schema.json",
  "title": "microsoft.graph.secureScoreControlProfile",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-securescorecontrolprofile-api-openapi.yml#/components/schemas/microsoft.graph.secureScoreControlProfile",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "secureScoreControlProfile",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "actionType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Control action type (Config, Review, Behavior)."
        },
        "actionUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to where the control can be actioned."
        },
        "azureTenantId": {
          "type": "string",
          "description": "GUID string for tenant ID."
        },
        "complianceInformation": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.complianceInformation"
          },
          "description": "The collection of compliance information associated with secure score control. Not implemented. Currently returns null."
        },
        "controlCategory": {
          "type": [
            "string",
            "null"
          ],
          "description": "Control action category (Identity, Data, Device, Apps, Infrastructure)."
        },
        "controlStateUpdates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.secureScoreControlStateUpdate"
          },
          "description": "Flag to indicate where the tenant has marked a control (ignored, thirdParty, reviewed) (supports update)."
        },
        "deprecated": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Flag to indicate if a control is depreciated."
        },
        "implementationCost": {
          "type": [
            "string",
            "null"
          ],
          "description": "Resource cost of implemmentating control (low, moderate, high)."
        },
        "lastModifiedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Time at which the control profile entity was last modified. The Timestamp type represents date and time",
          "format": "date-time"
        },
        "maxScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "max attainable score for the control."
        },
        "rank": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Microsoft's stack ranking of control.",
          "format": "int32"
        },
        "remediation": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of what the control will help remediate."
        },
        "remediationImpact": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the impact on users of the remediation."
        },
        "service": {
          "type": [
            "string",
            "null"
          ],
          "description": "Service that owns the control (Exchange, Sharepoint, Microsoft Entra ID)."
        },
        "threats": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, elevationOfPrivilege, maliciousInsider, passwordCracking, phishingOrWhaling, spoofing)."
        },
        "tier": {
          "type": [
            "string",
            "null"
          ],
          "description": "Control tier (Core, Defense in Depth, Advanced.)"
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "Title of the control."
        },
        "userImpact": {
          "type": [
            "string",
            "null"
          ],
          "description": "User impact of implementing control (low, moderate, high)."
        },
        "vendorInformation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.securityVendorInformation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.secureScoreControlProfile",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.certificationControl": {
      "title": "certificationControl",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Certification control name"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL for the Microsoft Service Trust Portal"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.complianceInformation": {
      "title": "complianceInformation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "certificationControls": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.certificationControl"
          },
          "description": "Collection of the certification controls associated with the certification."
        },
        "certificationName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the compliance certification, for example, ISO 27018:2014, GDPR, FedRAMP, and NIST 800-171."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.secureScoreControlStateUpdate": {
      "title": "secureScoreControlStateUpdate",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "assignedTo": {
          "type": [
            "string",
            "null"
          ],
          "description": "Assigns the control to the user who will take the action."
        },
        "comment": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provides optional comment about the control."
        },
        "state": {
          "type": [
            "string",
            "null"
          ],
          "description": "State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty)."
        },
        "updatedBy": {
          "type": [
            "string",
            "null"
          ],
          "description": "ID of the user who updated tenant state."
        },
        "updatedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Time at which the control state was updated.",
          "format": "date-time"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.securityVendorInformation": {
      "title": "securityVendorInformation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "provider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific provider (product/service - not vendor company); for example, WindowsDefenderATP."
        },
        "providerVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "Version of the provider or subprovider, if it exists, that generated the alert. Required"
        },
        "subProvider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen."
        },
        "vendor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}