Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(alz): add policy assignment defaults to maintain compatibility with previous module #38

Merged
merged 8 commits into from
Aug 27, 2024
matt-FFFFFF marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "ama_user_assigned_managed_identity_id",
"policy_assignments": [
{
"policy_assignment_name": "Deploy-VM-ChangeTrack",
"parameter_names": [
"userAssignedIdentityResourceId"
]
},
{
"policy_assignment_name": "Deploy-vmArc-ChangeTrack",
"parameter_names": [
"userAssignedIdentityResourceId"
]
},
{
"policy_assignment_name": "Deploy-VMSS-ChangeTrack",
"parameter_names": [
"userAssignedIdentityResourceId"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "ama_user_assigned_managed_identity_name",
"policy_assignments": [
{
"policy_assignment_name": "DenyAction-DeleteUAMIAMA",
"parameter_names": [
"resourceName"
]
},
{
"policy_assignment_name": "Deploy-VM-ChangeTrack",
"parameter_names": [
"userAssignedIdentityResourceId"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "ama_vm_change_tracking_data_collection_rule_id",
"policy_assignments": [
{
"policy_assignment_name": "Deploy-VM-ChangeTrack",
"parameter_names": [
"dcrResourceId"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "ama_vmarc_change_tracking_data_collection_rule_id",
"policy_assignments": [
{
"policy_assignment_name": "Deploy-vmArc-ChangeTrack",
"parameter_names": [
"dcrResourceId"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "ama_vmss_change_tracking_data_collection_rule_id",
"policy_assignments": [
{
"policy_assignment_name": "Deploy-VMSS-ChangeTrack",
"parameter_names": [
"dcrResourceId"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "log_analytics_workspace_id",
"policy_assignments": [
{
"policy_assignment_name": "Deploy-AzActivity-Log",
"parameter_names": [
"logAnalytics"
]
},
{
"policy_assignment_name": "Deploy-AzSqlDb-Auditing",
"parameter_names": [
"logAnalyticsWorkspaceId"
]
},
{
"policy_assignment_name": "Deploy-Diag-Logs",
"parameter_names": [
"logAnalytics"
]
},
{
"policy_assignment_name": "Deploy-MDFC-Config-H224",
"parameter_names": [
"logAnalytics"
]
},
{
"policy_assignment_name": "Deploy-MDFC-Config",
"parameter_names": [
"logAnalytics"
]
},
{
"policy_assignment_name": "Deploy-MDFC-DefSQL-AMA",
"parameter_names": [
"userWorkspaceResourceId"
]
}
]
}
Loading