Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
23 changes: 22 additions & 1 deletion policyAssignments/dev/pa-d-cog-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"COG-005_listOfAllowedFormats": {
"value": [
"xAI",
"OpenAI"
"OpenAI",
"Anthropic",
"Fireworks"
]
},
"COG-006_Effect": {
Expand All @@ -37,7 +39,9 @@
"COG-006_listOfAllowedNames": {
"value": [
"gpt-4.1",
"gpt-5-mini",
"gpt-5.4",
"gpt-5.5",
"gpt-5.3-codex"
]
},
Expand All @@ -49,6 +53,23 @@
"grok-4",
"grok-4-1-fast-reasoning"
]
},
"COG-008_Effect": {
"value": "Deny"
},
"COG-008_listOfAllowedNames": {
"value": [
"claude-opus-4-8",
"claude-opus-5"
]
},
"COG-009_Effect": {
"value": "Deny"
},
"COG-009_listOfAllowedNames": {
"value": [
"FW-Kimi-K3"
]
}
},
"nonComplianceMessages": [
Expand Down
23 changes: 22 additions & 1 deletion policyAssignments/prod/pa-p-cog-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"COG-005_listOfAllowedFormats": {
"value": [
"xAI",
"OpenAI"
"OpenAI",
"Anthropic",
"Fireworks"
]
},
"COG-006_Effect": {
Expand All @@ -37,7 +39,9 @@
"COG-006_listOfAllowedNames": {
"value": [
"gpt-4.1",
"gpt-5-mini",
"gpt-5.4",
"gpt-5.5",
"gpt-5.3-codex"
]
},
Expand All @@ -49,6 +53,23 @@
"grok-4",
"grok-4-1-fast-reasoning"
]
},
"COG-008_Effect": {
"value": "Deny"
},
"COG-008_listOfAllowedNames": {
"value": [
"claude-opus-4-8",
"claude-opus-5"
]
},
"COG-009_Effect": {
"value": "Deny"
},
"COG-009_listOfAllowedNames": {
"value": [
"FW-Kimi-K3"
]
}
},
"nonComplianceMessages": [
Expand Down
80 changes: 80 additions & 0 deletions policyInitiatives/polset-cognitive-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,48 @@
"displayName": "COG-007 Allowed Model Names for xAI format",
"description": "List of Model Names that are allowed to be deployed."
}
},
"COG-008_Effect": {
"type": "String",
"metadata": {
"displayName": "COG-008 Effect: Cognitive Services Deployments should only use approved Models from Anthropic",
"description": "'Audit' allows a non-compliant resource to be created, but flags it as non-compliant. 'Deny' blocks the resource creation. 'Disable' turns off the policy."
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Deny"
},
"COG-008_listOfAllowedNames": {
"type": "Array",
"defaultValue": [],
"metadata": {
"displayName": "COG-008 Allowed Model Names for Anthropic format",
"description": "List of Model Names that are allowed to be deployed."
}
},
"COG-009_Effect": {
"type": "String",
"metadata": {
"displayName": "COG-009 Effect: Cognitive Services Deployments should only use approved Models from Fireworks",
"description": "'Audit' allows a non-compliant resource to be created, but flags it as non-compliant. 'Deny' blocks the resource creation. 'Disable' turns off the policy."
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Deny"
},
"COG-009_listOfAllowedNames": {
"type": "Array",
"defaultValue": [],
"metadata": {
"displayName": "COG-009 Allowed Model Names for Fireworks format",
"description": "List of Model Names that are allowed to be deployed."
}
}
},
"policyDefinitionGroups": [
Expand Down Expand Up @@ -261,6 +303,44 @@
"ISO27001-2013_A.12.5.1",
"ISO27001-2013_A.14.2.4"
]
},
{
"policyDefinitionReferenceId": "COG-008",
"policyDefinitionId": "{policyLocationResourceId}/providers/Microsoft.Authorization/policyDefinitions/pol-restrict-cog-model-names",
"parameters": {
"effect": {
"value": "[parameters('COG-008_Effect')]"
},
"modelFormat": {
"value": "Anthropic"
},
"listOfAllowedNames": {
"value": "[parameters('COG-008_listOfAllowedNames')]"
}
},
"groupNames": [
"ISO27001-2013_A.12.5.1",
"ISO27001-2013_A.14.2.4"
]
},
{
"policyDefinitionReferenceId": "COG-009",
"policyDefinitionId": "{policyLocationResourceId}/providers/Microsoft.Authorization/policyDefinitions/pol-restrict-cog-model-names",
"parameters": {
"effect": {
"value": "[parameters('COG-009_Effect')]"
},
"modelFormat": {
"value": "Fireworks"
},
"listOfAllowedNames": {
"value": "[parameters('COG-009_listOfAllowedNames')]"
}
},
"groupNames": [
"ISO27001-2013_A.12.5.1",
"ISO27001-2013_A.14.2.4"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource gpt41 'Microsoft.CognitiveServices/accounts/deployments@2025-12-01' = {
}
properties: {
model: {
name: 'gpt-4.1'
name: 'gpt-5.4'
format: 'OpenAI'
}
}
Expand Down