Set-CmAzSecurityCentre

Deploys Security Centre settings for the current subscription.

Completes the following:

  • Sets security centre to standard pricing for the current subscription.
  • Adds uk and nhs official policies.
  • Turns on auto provisioning and sends logging to a specified workspace.
  • Turns on threat detection integrations MCAS and WDATP.
  • Sets email addresses and phone numbers to be notified for when compromised resources are detected.

This command forms part of the Security Building Block.

Parameters

-SettingsFile

Required. (String) Settings file path for which to into a setting object.

-SettingsObject

Required. (Object) Settings object

-WhatIf

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

-Confirm

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

Examples

Example 1

1
2
3
    Set-CmAzSecurityCentre -SettingsFile "c:/directory/settingsFile.yml"
    
  

Example 2

1
2
3
    Set-CmAzSecurityCentre -SettingsObject $settings