The assessments/governanceAssignments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Security/assessments/governanceAssignments resource, add the following JSON to your template.
{
"type": "Microsoft.Security/assessments/governanceAssignments",
"apiVersion": "2022-01-01-preview",
"name": "string",
"properties": {
"additionalData": {
"ticketLink": "string",
"ticketNumber": "int",
"ticketStatus": "string"
},
"governanceEmailNotification": {
"disableManagerEmailNotification": "bool",
"disableOwnerEmailNotification": "bool"
},
"isGracePeriod": "bool",
"owner": "string",
"remediationDueDate": "string",
"remediationEta": {
"eta": "string",
"justification": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Security/assessments/governanceAssignments' |
apiVersion | The resource api version | '2022-01-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | The properties of a governance assignment | GovernanceAssignmentProperties |
Name | Description | Value |
---|---|---|
additionalData | The additional data for the governance assignment - e.g. links to ticket (optional), see example | GovernanceAssignmentAdditionalData |
governanceEmailNotification | The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners | GovernanceEmailNotification |
isGracePeriod | Defines whether there is a grace period on the governance assignment | bool |
owner | The Owner for the governance assignment - e.g. user@contoso.com - see example | string |
remediationDueDate | The remediation due-date - after this date Secure Score will be affected (in case of active grace-period) | string (required) |
remediationEta | The ETA (estimated time of arrival) for remediation (optional), see example | RemediationEta |
Name | Description | Value |
---|---|---|
ticketLink | Ticket link associated with this governance assignment - for example: https://snow.com |
string |
ticketNumber | Ticket number associated with this governance assignment | int Constraints: Min value = 0 |
ticketStatus | The ticket status associated with this governance assignment - for example: Active | string |
Name | Description | Value |
---|---|---|
disableManagerEmailNotification | Exclude manager from weekly email notification. | bool |
disableOwnerEmailNotification | Exclude owner from weekly email notification. | bool |
Name | Description | Value |
---|---|---|
eta | ETA for remediation. | string (required) |
justification | Justification for change of Eta. | string (required) |