Gallery › Regulatory Compliance › Azure built-in policies
Motion Picture Association of America (MPAA)
Converted Initiative Version 4.7.0
This initiative includes audit and virtual machine extension deployment policies that address a subset of Motion Picture Association of America (MPAA) security and guidelines controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/mpaa-init.
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONMedia_audit.json · 1137 lines
{
"properties": {
"displayName": "Motion Picture Association of America (MPAA)",
"policyType": "BuiltIn",
"description": "This initiative includes audit and virtual machine extension deployment policies that address a subset of Motion Picture Association of America (MPAA) security and guidelines controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/mpaa-init.",
"metadata": {
"version": "4.7.0",
"category": "Regulatory Compliance"
},
"version": "4.7.0",
"parameters": {
"IncludeArcMachines": {
"type": "string",
"metadata": {
"displayName": "Include Arc connected servers for Guest Configuration policies",
"description": "Optionally choose to audit settings inside Arc connected servers using Guest Configuration policies. By selecting this option, you agree to be charged monthly per Arc connected machine."
},
"allowedValues": [
"true",
"false"
],
"defaultValue": "false"
},
"certificateThumbprints": {
"type": "string",
"metadata": {
"displayName": "Certificate thumbprints that should exist under the Trusted Root",
"description": "A semicolon-separated list of certificate thumbprints that should exist under the Trusted Root certificate store (Cert:\\LocalMachine\\Root). e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3",
"deprecated": true
},
"defaultValue": ""
},
"applicationName": {
"type": "string",
"metadata": {
"displayName": "Application names to be installed on VMs",
"description": "A semicolon-separated list of the names of the applications that should be installed. e.g. 'python; powershell'",
"deprecated": true
},
"defaultValue": ""
},
"storagePrefix": {
"type": "string",
"metadata": {
"displayName": "Storage Account Prefix for Regional Storage Account to deploy diagnostic settings for Network Security Groups",
"description": "This prefix will be combined with the network security group location to form the created storage account name.",
"deprecated": true
},
"defaultValue": ""
},
"rgName": {
"type": "string",
"metadata": {
"displayName": "Resource Group Name for Storage Account (must exist) to deploy diagnostic settings for Network Security Groups",
"description": "The resource group that the storage account will be created in. This resource group must already exist.",
"strongType": "ExistingResourceGroups",
"deprecated": true
},
"defaultValue": ""
},
"diskEncryptionMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Virtual machines should encrypt temp disks, caches, and data flows between Compute and Storage resources",
"description": "Enable or disable the monitoring for VM disk encryption",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"previewMonitorUnencryptedSQLDatabaseInAzureSecurityCenterEffect": {
"type": "string",
"metadata": {
"displayName": "Monitor unencrypted SQL database in Azure Security Center",
"description": "Enable or disable monitoring of unencrypted SQL databases in Azure Security Center"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"metricName": {
"type": "string",
"metadata": {
"displayName": "Metric name on which alert rules should be configured in Batch accounts",
"description": "The metric name that an alert rule must be enabled on",
"deprecated": true
},
"defaultValue": ""
},
"metricAlertsInBatchAccountPoolDeleteStartEffect": {
"type": "string",
"metadata": {
"displayName": "Metric alert rules should be configured on Batch accounts",
"description": "Enable or disable monitoring of metric alert rules on Batch account to enable the required metric",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"disableUnrestrictedNetworkToStorageAccountMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Audit unrestricted network access to storage accounts",
"description": "Enable or disable the monitoring of network access to storage account"
},
"allowedValues": [
"Audit",
"Disabled"
],
"defaultValue": "Audit"
},
"diagnosticsLogsInLogicAppsMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Resource logs in Logic Apps should be enabled",
"description": "Enable or disable the monitoring of resource logs in Logic Apps workflows"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"requiredRetentionDays": {
"type": "string",
"metadata": {
"displayName": "Required retention (in days) of resource logs in Logic Apps workflows",
"description": "The required resource logs retention period in days"
},
"defaultValue": "365"
},
"vmssOsVulnerabilitiesMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Vulnerabilities in security configuration on your virtual machine scale sets should be remediated",
"description": "Enable or disable monitoring of virtual machine scale sets OS vulnerabilities ",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"systemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies": {
"type": "string",
"metadata": {
"displayName": "System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies",
"description": "Specifies whether digital certificates are processed when software restriction policies are enabled and a user or process attempts to run software with an .exe file name extension. It enables or disables certificate rules (a type of software restriction policies rule). For certificate rules to take effect in software restriction policies, you must enable this policy setting."
},
"defaultValue": "1"
},
"vulnerabilityAssessmentMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Vulnerabilities should be remediated by a Vulnerability Assessment solution",
"description": "Enable or disable the detection of VM vulnerabilities by a vulnerability assessment solution",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"serverVulnerabilityAssessmentEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "A vulnerability assessment solution should be enabled on your virtual machines",
"description": "Enable or disable the detection of virtual machine vulnerabilities by Azure Security Center vulnerability assessment"
}
},
"usersOrGroupsThatMayAccessThisComputerFromTheNetwork": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may access this computer from the network",
"description": "Specifies which remote users on the network are permitted to connect to the computer. This does not include Remote Desktop Connection."
},
"defaultValue": "Administrators, Authenticated Users"
},
"usersOrGroupsThatMayLogOnLocally": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may log on locally",
"description": "Specifies which users or groups can interactively log on to the computer. Users who attempt to log on via Remote Desktop Connection or IIS also require this user right."
},
"defaultValue": "Administrators"
},
"usersOrGroupsThatMayLogOnThroughRemoteDesktopServices": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may log on through Remote Desktop Services",
"description": "Specifies which users or groups are permitted to log on as a Terminal Services client, Remote Desktop, or for Remote Assistance."
},
"defaultValue": "Administrators, Remote Desktop Users"
},
"usersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork": {
"type": "string",
"metadata": {
"displayName": "Users and groups that are denied access from the network",
"description": "Specifies which users or groups are explicitly prohibited from connecting across the network."
},
"defaultValue": "Guests"
},
"usersOrGroupsThatMayManageAuditingAndSecurityLog": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may manage auditing and security log",
"description": "Specifies users and groups permitted to change the auditing options for files and directories and clear the Security log."
},
"defaultValue": "Administrators"
},
"usersOrGroupsThatMayBackUpFilesAndDirectories": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may back up files and directories",
"description": "Specifies users and groups allowed to circumvent file and directory permissions to back up the system."
},
"defaultValue": "Administrators, Backup Operators"
},
"usersOrGroupsThatMayChangeTheSystemTime": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may change the system time",
"description": "Specifies which users and groups are permitted to change the time and date on the internal clock of the computer."
},
"defaultValue": "Administrators, LOCAL SERVICE"
},
"usersOrGroupsThatMayChangeTheTimeZone": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may change the time zone",
"description": "Specifies which users and groups are permitted to change the time zone of the computer."
},
"defaultValue": "Administrators, LOCAL SERVICE"
},
"usersOrGroupsThatMayCreateATokenObject": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may create a token object",
"description": "Specifies which users and groups are permitted to create an access token, which may provide elevated rights to access sensitive data."
},
"defaultValue": "No One"
},
"usersAndGroupsThatAreDeniedLoggingOnAsABatchJob": {
"type": "string",
"metadata": {
"displayName": "Users and groups that are denied logging on as a batch job",
"description": "Specifies which users and groups are explicitly not permitted to log on to the computer as a batch job (i.e. scheduled task)."
},
"defaultValue": "Guests"
},
"usersAndGroupsThatAreDeniedLoggingOnAsAService": {
"type": "string",
"metadata": {
"displayName": "Users and groups that are denied logging on as a service",
"description": "Specifies which service accounts are explicitly not permitted to register a process as a service."
},
"defaultValue": "Guests"
},
"usersAndGroupsThatAreDeniedLocalLogon": {
"type": "string",
"metadata": {
"displayName": "Users and groups that are denied local logon",
"description": "Specifies which users and groups are explicitly not permitted to log on to the computer."
},
"defaultValue": "Guests"
},
"usersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices": {
"type": "string",
"metadata": {
"displayName": "Users and groups that are denied log on through Remote Desktop Services",
"description": "Specifies which users and groups are explicitly not permitted to log on to the computer via Terminal Services/Remote Desktop Client."
},
"defaultValue": "Guests"
},
"userAndGroupsThatMayForceShutdownFromARemoteSystem": {
"type": "string",
"metadata": {
"displayName": "User and groups that may force shutdown from a remote system",
"description": "Specifies which users and groups are permitted to shut down the computer from a remote location on the network."
},
"defaultValue": "Administrators"
},
"usersAndGroupsThatMayRestoreFilesAndDirectories": {
"type": "string",
"metadata": {
"displayName": "Users and groups that may restore files and directories",
"description": "Specifies which users and groups are permitted to bypass file, directory, registry, and other persistent object permissions when restoring backed up files and directories."
},
"defaultValue": "Administrators, Backup Operators"
},
"usersAndGroupsThatMayShutDownTheSystem": {
"type": "string",
"metadata": {
"displayName": "Users and groups that may shut down the system",
"description": "Specifies which users and groups who are logged on locally to the computers in your environment are permitted to shut down the operating system with the Shut Down command."
},
"defaultValue": "Administrators"
},
"usersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects": {
"type": "string",
"metadata": {
"displayName": "Users or groups that may take ownership of files or other objects",
"description": "Specifies which users and groups are permitted to take ownership of files, folders, registry keys, processes, or threads. This user right bypasses any permissions that are in place to protect objects to give ownership to the specified user."
},
"defaultValue": "Administrators"
},
"systemUpdatesMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "System updates should be installed on your machines",
"description": "Enable or disable reporting of system updates",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"sqlServerAuditingRetentionDaysMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "SQL servers should be configured with auditing retention days greater than 90 days",
"description": "Enable or disable the monitoring of SQL servers with auditing retention period less than 90"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"windowsFirewallDomainUseProfileSettings": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Domain): Use profile settings",
"description": "Specifies whether Windows Firewall with Advanced Security uses the settings for the Domain profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile."
},
"defaultValue": "1"
},
"windowsFirewallDomainBehaviorForOutboundConnections": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Domain): Behavior for outbound connections",
"description": "Specifies the behavior for outbound connections for the Domain profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections."
},
"defaultValue": "0"
},
"windowsFirewallDomainApplyLocalConnectionSecurityRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Domain): Apply local connection security rules",
"description": "Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Domain profile."
},
"defaultValue": "1"
},
"windowsFirewallDomainApplyLocalFirewallRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Domain): Apply local firewall rules",
"description": "Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Domain profile."
},
"defaultValue": "1"
},
"windowsFirewallDomainDisplayNotifications": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Domain): Display notifications",
"description": "Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Domain profile."
},
"defaultValue": "1"
},
"windowsFirewallPrivateUseProfileSettings": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Private): Use profile settings",
"description": "Specifies whether Windows Firewall with Advanced Security uses the settings for the Private profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile."
},
"defaultValue": "1"
},
"windowsFirewallPrivateBehaviorForOutboundConnections": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Private): Behavior for outbound connections",
"description": "Specifies the behavior for outbound connections for the Private profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections."
},
"defaultValue": "0"
},
"windowsFirewallPrivateApplyLocalConnectionSecurityRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Private): Apply local connection security rules",
"description": "Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Private profile."
},
"defaultValue": "1"
},
"windowsFirewallPrivateApplyLocalFirewallRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Private): Apply local firewall rules",
"description": "Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Private profile."
},
"defaultValue": "1"
},
"windowsFirewallPrivateDisplayNotifications": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Private): Display notifications",
"description": "Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Private profile."
},
"defaultValue": "1"
},
"windowsFirewallPublicUseProfileSettings": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Public): Use profile settings",
"description": "Specifies whether Windows Firewall with Advanced Security uses the settings for the Public profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile."
},
"defaultValue": "1"
},
"windowsFirewallPublicBehaviorForOutboundConnections": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Public): Behavior for outbound connections",
"description": "Specifies the behavior for outbound connections for the Public profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections."
},
"defaultValue": "0"
},
"windowsFirewallPublicApplyLocalConnectionSecurityRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Public): Apply local connection security rules",
"description": "Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Public profile."
},
"defaultValue": "1"
},
"windowsFirewallPublicApplyLocalFirewallRules": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Public): Apply local firewall rules",
"description": "Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Public profile."
},
"defaultValue": "1"
},
"windowsFirewallPublicDisplayNotifications": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall (Public): Display notifications",
"description": "Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Public profile."
},
"defaultValue": "1"
},
"windowsFirewallDomainAllowUnicastResponse": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall: Domain: Allow unicast response",
"description": "Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Domain profile."
},
"defaultValue": "0"
},
"windowsFirewallPrivateAllowUnicastResponse": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall: Private: Allow unicast response",
"description": "Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Private profile."
},
"defaultValue": "0"
},
"windowsFirewallPublicAllowUnicastResponse": {
"type": "string",
"metadata": {
"displayName": "Windows Firewall: Public: Allow unicast response",
"description": "Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Public profile."
},
"defaultValue": "1"
},
"identityEnableMFAForWritePermissionsMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "MFA should be enabled on accounts with write permissions in your subscription",
"description": "Enable or disable the monitoring of MFA for accounts with write permissions in subscription",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"namespaceAuthorizationRulesInServiceBusMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "All authorization rules except RootManageSharedAccessKey should be removed from Service Bus namespace",
"description": "Enable or disable the monitoring of Service Bus namespace authorization rules"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Audit"
},
"kubernetesServiceRbacEnabledMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Role-Based Access Control (RBAC) should be used on Kubernetes Services",
"description": "Enable or disable the monitoring of Kubernetes Services without RBAC enabled"
},
"allowedValues": [
"Audit",
"Disabled"
],
"defaultValue": "Audit"
},
"diagnosticsLogsInSearchServiceMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Resource logs in Search services should be enabled",
"description": "Enable or disable the monitoring of resource logs in Azure Search service"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"microsoftNetworkClientDigitallySignCommunicationsAlways": {
"type": "string",
"metadata": {
"displayName": "Microsoft network client: Digitally sign communications (always)",
"description": "Specifies whether packet signing is required by the SMB client component."
},
"defaultValue": "1"
},
"microsoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers": {
"type": "string",
"metadata": {
"displayName": "Microsoft network client: Send unencrypted password to third-party SMB servers",
"description": "Specifies whether the SMB redirector will send plaintext passwords during authentication to third-party SMB servers that do not support password encryption. It is recommended that you disable this policy setting unless there is a strong business case to enable it."
},
"defaultValue": "0"
},
"microsoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession": {
"type": "string",
"metadata": {
"displayName": "Microsoft network server: Amount of idle time required before suspending session",
"description": "Specifies the amount of continuous idle time that must pass in an SMB session before the session is suspended because of inactivity. The format of the value is two integers separated by a comma, denoting an inclusive range."
},
"defaultValue": "1,15"
},
"microsoftNetworkServerDigitallySignCommunicationsAlways": {
"type": "string",
"metadata": {
"displayName": "Microsoft network server: Digitally sign communications (always)",
"description": "Specifies whether packet signing is required by the SMB server component."
},
"defaultValue": "1"
},
"microsoftNetworkServerDisconnectClientsWhenLogonHoursExpire": {
"type": "string",
"metadata": {
"displayName": "Microsoft network server: Disconnect clients when logon hours expire",
"description": "Specifies whether to disconnect users who are connected to the local computer outside their user account's valid logon hours. This setting affects the Server Message Block (SMB) component. If you enable this policy setting you should also enable 'Network security: Force logoff when logon hours expire'"
},
"defaultValue": "1"
},
"disableIPForwardingMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "IP Forwarding on your virtual machine should be disabled",
"description": "Enable or disable the monitoring of IP forwarding on virtual machines"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"threatDetectionTypesOnManagedInstanceMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "Advanced Threat Protection types should be set to 'All' in SQL Managed Instance advanced data security settings",
"description": "It's recommended to enable all Advanced Threat Protection types on your SQL Managed Instance. Enabling all types protects against SQL injection, database vulnerabilities, and any other anomalous activities.",
"deprecated": true
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "Disabled"
},
"certificateStorePath": {
"type": "string",
"metadata": {
"displayName": "Certificate store path containing the certificates to be checked for expiration",
"description": "The path to the certificate store containing the certificates to check the expiration dates of. Default value is 'Cert:' which is the root certificate store path, so all certificates on the machine will be checked. Other example paths: 'Cert:\\LocalMachine', 'Cert:\\LocalMachine\\TrustedPublisher', 'Cert:\\CurrentUser'"
},
"defaultValue": "Cert:"
},
"expirationLimitInDays": {
"type": "string",
"metadata": {
"displayName": "Expiration limit in days for certificates that are expiring under specified certificate store path",
"description": "An integer indicating the number of days within which to check for certificates that are expiring. For example, if this value is 30, any certificate expiring within the next 30 days will cause this policy to be non-compliant."
},
"defaultValue": "30"
},
"certificateThumbprintsToInclude": {
"type": "string",
"metadata": {
"displayName": "Certificate thumbprints to include while checking for expired certificates under specified certificate store path",
"description": "A semicolon-separated list of certificate thumbprints to check under the specified path. If a value is not specified, all certificates under the certificate store path will be checked. If a value is specified, no certificates other than those with the thumbprints specified will be checked. e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3"
},
"defaultValue": ""
},
"certificateThumbprintsToExclude": {
"type": "string",
"metadata": {
"displayName": "Certificate thumbprints to exclude while checking for expired certificates under specified certificate store path",
"description": "A semicolon-separated list of certificate thumbprints to ignore while checking expired certificates. e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3"
},
"defaultValue": ""
},
"includeExpiredCertificates": {
"type": "string",
"metadata": {
"displayName": "Include already expired certificates while checking for expired certificates under specified certificate store path",
"description": "Must be 'true' or 'false'. True indicates that any found certificates that have already expired will also make this policy non-compliant. False indicates that certificates that have expired will be be ignored under specified certificate store path."
},
"allowedValues": [
"true",
"false"
],
"defaultValue": "false"
},
"recoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders": {
"type": "string",
"metadata": {
"displayName": "Recovery console: Allow floppy copy and access to all drives and all folders",
"description": "Specifies whether to make the Recovery Console SET command available, which allows setting of recovery console environment variables."
},
"defaultValue": "0"
},
"accountsGuestAccountStatus": {
"type": "string",
"metadata": {
"displayName": "Accounts: Guest account status",
"description": "Specifies whether the local Guest account is disabled."
},
"defaultValue": "0"
},
"networkAccessRemotelyAccessibleRegistryPaths": {
"type": "string",
"metadata": {
"displayName": "Network access: Remotely accessible registry paths",
"description": "Specifies which registry paths will be accessible over the network, regardless of the users or groups listed in the access control list (ACL) of the `winreg` registry key."
},
"defaultValue": "System\\CurrentControlSet\\Control\\ProductOptions|#|System\\CurrentControlSet\\Control\\Server Applications|#|Software\\Microsoft\\Windows NT\\CurrentVersion"
},
"networkAccessRemotelyAccessibleRegistryPathsAndSubpaths": {
"type": "string",
"metadata": {
"displayName": "Network access: Remotely accessible registry paths and sub-paths",
"description": "Specifies which registry paths and sub-paths will be accessible over the network, regardless of the users or groups listed in the access control list (ACL) of the `winreg` registry key."
},
"defaultValue": "System\\CurrentControlSet\\Control\\Print\\Printers|#|System\\CurrentControlSet\\Services\\Eventlog|#|Software\\Microsoft\\OLAP Server|#|Software\\Microsoft\\Windows NT\\CurrentVersion\\Print|#|Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows|#|System\\CurrentControlSet\\Control\\ContentIndex|#|System\\CurrentControlSet\\Control\\Terminal Server|#|System\\CurrentControlSet\\Control\\Terminal Server\\UserConfig|#|System\\CurrentControlSet\\Control\\Terminal Server\\DefaultUserConfiguration|#|Software\\Microsoft\\Windows NT\\CurrentVersion\\Perflib|#|System\\CurrentControlSet\\Services\\SysmonLog"
},
"networkAccessSharesThatCanBeAccessedAnonymously": {
"type": "string",
"metadata": {
"displayName": "Network access: Shares that can be accessed anonymously",
"description": "Specifies which network shares can be accessed by anonymous users. The default configuration for this policy setting has little effect because all users have to be authenticated before they can access shared resources on the server."
},
"defaultValue": "0"
},
"externalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscriptionEffect": {
"type": "string",
"metadata": {
"displayName": "External accounts with owner permissions should be removed from your subscription",
"description": "Enable or disable the monitoring of external acounts with owner permissions in subscription"
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
},
"sqlDbVulnerabilityAssesmentMonitoringEffect": {
"type": "string",
"metadata": {
"displayName": "SQL databases should have vulnerability findings resolved",
"description": "Enable or disable the monitoring of Vulnerability Assessment scan results and recommendations for how to remediate database vulnerabilities."
},
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"defaultValue": "AuditIfNotExists"
}
},
"policyDefinitions": [
{
"policyDefinitionReferenceId": "previewMonitorUnencryptedSQLDatabaseInAzureSecurityCenter",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/17k78e20-9358-41c9-923c-fb736d382a12",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('previewMonitorUnencryptedSQLDatabaseInAzureSecurityCenterEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "previewAuditWindowsVMsThatDoNotRestrictTheMinimumPasswordLengthTo14Characters",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a2d0e922-65d0-40c4-8f87-ea6da2d307a2",
"definitionVersion": "2.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionReferenceId": "deploydefaultMicrosoftIaaSAntimalwareextensionforWindowsServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/2835b622-407b-4114-9198-6f7064cbe0dc",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "Prerequisite_AddSystemIdentityWhenNone",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/3cf2ab00-13f1-4d0c-8971-2ac904541a7e",
"definitionVersion": "4.*.*"
},
{
"policyDefinitionReferenceId": "Prerequisite_AddSystemIdentityWhenUser",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/497dff13-db2a-4c0f-8603-28fa3b331ab6",
"definitionVersion": "4.*.*"
},
{
"policyDefinitionReferenceId": "Prerequisite_DeployExtensionWindows",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/385f5831-96d4-41db-9a3c-cd3af78aaae6",
"definitionVersion": "1.*.*"
},
{
"policyDefinitionReferenceId": "Prerequisite_DeployExtensionLinux",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/331e8ea8-378a-410f-a2e5-ae22f38bb0da",
"definitionVersion": "3.*.*"
},
{
"policyDefinitionReferenceId": "disableUnrestrictedNetworkToStorageAccountMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/34c877ad-507e-4c82-993e-3452a6e0ad3c",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('disableUnrestrictedNetworkToStorageAccountMonitoringEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "diagnosticsLogsInLogicAppsMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/34f95f76-5386-4de7-b824-0d8478470c9d",
"definitionVersion": "5.*.*",
"parameters": {
"effect": {
"value": "[parameters('diagnosticsLogsInLogicAppsMonitoringEffect')]"
},
"requiredRetentionDays": {
"value": "[parameters('RequiredRetentionDays')]"
}
}
},
{
"policyDefinitionReferenceId": "deployThreatDetectionOnSqlServers",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/36d49e87-48c4-4f2e-beed-ba4ed02b71f5",
"definitionVersion": "2.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "AzureBaselineSecurityOptionsSystemsettings",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/12017595-5a75-4bb1-9d97-4c2c939ea3c3",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"systemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies": {
"value": "[parameters('SystemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies')]"
}
}
},
{
"policyDefinitionReferenceId": "serverVulnerabilityAssessment",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/501541f7-f7e7-4cd6-868c-4190fdad3ac9",
"definitionVersion": "3.*.*",
"parameters": {
"effect": {
"value": "[parameters('serverVulnerabilityAssessmentEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineUserRightsAssignment",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e068b215-0026-4354-b347-8fb2766f73a2",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"usersOrGroupsThatMayAccessThisComputerFromTheNetwork": {
"value": "[parameters('UsersOrGroupsThatMayAccessThisComputerFromTheNetwork')]"
},
"usersOrGroupsThatMayLogOnLocally": {
"value": "[parameters('UsersOrGroupsThatMayLogOnLocally')]"
},
"usersOrGroupsThatMayLogOnThroughRemoteDesktopServices": {
"value": "[parameters('UsersOrGroupsThatMayLogOnThroughRemoteDesktopServices')]"
},
"usersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork": {
"value": "[parameters('UsersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork')]"
},
"usersOrGroupsThatMayManageAuditingAndSecurityLog": {
"value": "[parameters('UsersOrGroupsThatMayManageAuditingAndSecurityLog')]"
},
"usersOrGroupsThatMayBackUpFilesAndDirectories": {
"value": "[parameters('UsersOrGroupsThatMayBackUpFilesAndDirectories')]"
},
"usersOrGroupsThatMayChangeTheSystemTime": {
"value": "[parameters('UsersOrGroupsThatMayChangeTheSystemTime')]"
},
"usersOrGroupsThatMayChangeTheTimeZone": {
"value": "[parameters('UsersOrGroupsThatMayChangeTheTimeZone')]"
},
"usersOrGroupsThatMayCreateATokenObject": {
"value": "[parameters('UsersOrGroupsThatMayCreateATokenObject')]"
},
"usersAndGroupsThatAreDeniedLoggingOnAsABatchJob": {
"value": "[parameters('UsersAndGroupsThatAreDeniedLoggingOnAsABatchJob')]"
},
"usersAndGroupsThatAreDeniedLoggingOnAsAService": {
"value": "[parameters('UsersAndGroupsThatAreDeniedLoggingOnAsAService')]"
},
"usersAndGroupsThatAreDeniedLocalLogon": {
"value": "[parameters('UsersAndGroupsThatAreDeniedLocalLogon')]"
},
"usersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices": {
"value": "[parameters('UsersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices')]"
},
"userAndGroupsThatMayForceShutdownFromARemoteSystem": {
"value": "[parameters('UserAndGroupsThatMayForceShutdownFromARemoteSystem')]"
},
"usersAndGroupsThatMayRestoreFilesAndDirectories": {
"value": "[parameters('UsersAndGroupsThatMayRestoreFilesAndDirectories')]"
},
"usersAndGroupsThatMayShutDownTheSystem": {
"value": "[parameters('UsersAndGroupsThatMayShutDownTheSystem')]"
},
"usersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects": {
"value": "[parameters('UsersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects')]"
}
}
},
{
"policyDefinitionReferenceId": "disableIPForwardingForNetworkInterfaces",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/88c0b9da-ce96-4b03-9635-f29a937e2900",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "sqlServerAuditingRetentionDaysMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/89099bee-89e0-4b26-a5f4-165451757743",
"definitionVersion": "3.*.*",
"parameters": {
"effect": {
"value": "[parameters('sqlServerAuditingRetentionDaysMonitoringEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineWindowsFirewallProperties",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/35d9882c-993d-44e6-87d2-db66ce21b636",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"windowsFirewallDomainUseProfileSettings": {
"value": "[parameters('WindowsFirewallDomainUseProfileSettings')]"
},
"windowsFirewallDomainBehaviorForOutboundConnections": {
"value": "[parameters('WindowsFirewallDomainBehaviorForOutboundConnections')]"
},
"windowsFirewallDomainApplyLocalConnectionSecurityRules": {
"value": "[parameters('WindowsFirewallDomainApplyLocalConnectionSecurityRules')]"
},
"windowsFirewallDomainApplyLocalFirewallRules": {
"value": "[parameters('WindowsFirewallDomainApplyLocalFirewallRules')]"
},
"windowsFirewallDomainDisplayNotifications": {
"value": "[parameters('WindowsFirewallDomainDisplayNotifications')]"
},
"windowsFirewallPrivateUseProfileSettings": {
"value": "[parameters('WindowsFirewallPrivateUseProfileSettings')]"
},
"windowsFirewallPrivateBehaviorForOutboundConnections": {
"value": "[parameters('WindowsFirewallPrivateBehaviorForOutboundConnections')]"
},
"windowsFirewallPrivateApplyLocalConnectionSecurityRules": {
"value": "[parameters('WindowsFirewallPrivateApplyLocalConnectionSecurityRules')]"
},
"windowsFirewallPrivateApplyLocalFirewallRules": {
"value": "[parameters('WindowsFirewallPrivateApplyLocalFirewallRules')]"
},
"windowsFirewallPrivateDisplayNotifications": {
"value": "[parameters('WindowsFirewallPrivateDisplayNotifications')]"
},
"windowsFirewallPublicUseProfileSettings": {
"value": "[parameters('WindowsFirewallPublicUseProfileSettings')]"
},
"windowsFirewallPublicBehaviorForOutboundConnections": {
"value": "[parameters('WindowsFirewallPublicBehaviorForOutboundConnections')]"
},
"windowsFirewallPublicApplyLocalConnectionSecurityRules": {
"value": "[parameters('WindowsFirewallPublicApplyLocalConnectionSecurityRules')]"
},
"windowsFirewallPublicApplyLocalFirewallRules": {
"value": "[parameters('WindowsFirewallPublicApplyLocalFirewallRules')]"
},
"windowsFirewallPublicDisplayNotifications": {
"value": "[parameters('WindowsFirewallPublicDisplayNotifications')]"
},
"windowsFirewallDomainAllowUnicastResponse": {
"value": "[parameters('WindowsFirewallDomainAllowUnicastResponse')]"
},
"windowsFirewallPrivateAllowUnicastResponse": {
"value": "[parameters('WindowsFirewallPrivateAllowUnicastResponse')]"
},
"windowsFirewallPublicAllowUnicastResponse": {
"value": "[parameters('WindowsFirewallPublicAllowUnicastResponse')]"
}
}
},
{
"policyDefinitionReferenceId": "namespaceAuthorizationRulesInServiceBusMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a1817ec0-a368-432a-8057-8371e17ac6ee",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('namespaceAuthorizationRulesInServiceBusMonitoringEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "kubernetesServiceRbacEnabledMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ac4a19c2-fa67-49b4-8ae5-0b2e78c49457",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('kubernetesServiceRbacEnabledMonitoringEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "diagnosticsLogsInSearchServiceMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b4330a05-a843-4bc8-bf9a-cacce50c67f4",
"definitionVersion": "5.*.*",
"parameters": {
"effect": {
"value": "[parameters('diagnosticsLogsInSearchServiceMonitoringEffect')]"
},
"requiredRetentionDays": {
"value": "[parameters('RequiredRetentionDays')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineSecurityOptionsMicrosoftNetworkClient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/d6c69680-54f0-4349-af10-94dd05f4225e",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"microsoftNetworkClientDigitallySignCommunicationsAlways": {
"value": "[parameters('MicrosoftNetworkClientDigitallySignCommunicationsAlways')]"
},
"microsoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers": {
"value": "[parameters('MicrosoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers')]"
},
"microsoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession": {
"value": "[parameters('MicrosoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession')]"
},
"microsoftNetworkServerDigitallySignCommunicationsAlways": {
"value": "[parameters('MicrosoftNetworkServerDigitallySignCommunicationsAlways')]"
},
"microsoftNetworkServerDisconnectClientsWhenLogonHoursExpire": {
"value": "[parameters('MicrosoftNetworkServerDisconnectClientsWhenLogonHoursExpire')]"
}
}
},
{
"policyDefinitionReferenceId": "disableIPForwardingMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bd352bd5-2853-4985-bf0d-73806b4a5744",
"definitionVersion": "3.*.*",
"parameters": {
"effect": {
"value": "[parameters('disableIPForwardingMonitoringEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "CertificateExpiration",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1417908b-4bff-46ee-a2a6-4acc899320ab",
"definitionVersion": "2.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"certificateStorePath": {
"value": "[parameters('CertificateStorePath')]"
},
"expirationLimitInDays": {
"value": "[parameters('ExpirationLimitInDays')]"
},
"certificateThumbprintsToInclude": {
"value": "[parameters('CertificateThumbprintsToInclude')]"
},
"certificateThumbprintsToExclude": {
"value": "[parameters('CertificateThumbprintsToExclude')]"
},
"includeExpiredCertificates": {
"value": "[parameters('IncludeExpiredCertificates')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineSecurityOptionsRecoveryconsole",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f71be03e-e25b-4d0f-b8bc-9b3e309b66c0",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"recoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders": {
"value": "[parameters('RecoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineSecurityOptionsAccounts",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ee984370-154a-4ee8-9726-19d900e56fc0",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"accountsGuestAccountStatus": {
"value": "[parameters('AccountsGuestAccountStatus')]"
}
}
},
{
"policyDefinitionReferenceId": "previewAuditLinuxVmAllowingRemoteConnectionsFromAccountsWithNoPasswords",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ea53dbee-c6c9-4f0e-9f9e-de0039b78023",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionReferenceId": "AzureBaselineSecurityOptionsNetworkAccess",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/3ff60f98-7fa4-410a-9f7f-0b00f5afdbdd",
"definitionVersion": "3.*.*",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"networkAccessRemotelyAccessibleRegistryPaths": {
"value": "[parameters('NetworkAccessRemotelyAccessibleRegistryPaths')]"
},
"networkAccessRemotelyAccessibleRegistryPathsAndSubpaths": {
"value": "[parameters('NetworkAccessRemotelyAccessibleRegistryPathsAndSubpaths')]"
},
"networkAccessSharesThatCanBeAccessedAnonymously": {
"value": "[parameters('NetworkAccessSharesThatCanBeAccessedAnonymously')]"
}
}
},
{
"policyDefinitionReferenceId": "externalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscription",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/339353f6-2387-4a45-abe4-7f529d121046",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('externalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscriptionEffect')]"
}
}
},
{
"policyDefinitionReferenceId": "sqlDbVulnerabilityAssesmentMonitoring",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/feedbf84-6b99-488c-acc2-71c829aa5ffc",
"definitionVersion": "4.*.*",
"parameters": {
"effect": {
"value": "[parameters('sqlDbVulnerabilityAssesmentMonitoringEffect')]"
}
}
}
],
"versions": [
"4.7.0",
"4.6.1",
"4.6.0-PREVIEW",
"4.5.0-PREVIEW",
"4.4.0-PREVIEW",
"4.3.0-PREVIEW",
"4.2.0-PREVIEW",
"4.1.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/92646f03-e39d-47a9-9e24-58d60ef49af8",
"name": "92646f03-e39d-47a9-9e24-58d60ef49af8"
}Bylaw92646f03-e39d-47a9-9e24-58d60ef49af8.bylaw.ps1 · 785 lines
# Converted from Media_audit.json by ConvertTo-Bylaw.
Initiative '92646f03-e39d-47a9-9e24-58d60ef49af8' {
Properties @{
DisplayName = 'Motion Picture Association of America (MPAA)'
Description = 'This initiative includes audit and virtual machine extension deployment policies that address a subset of Motion Picture Association of America (MPAA) security and guidelines controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/mpaa-init.'
Version = '4.7.0'
Category = 'Regulatory Compliance'
PolicyVersion = '4.7.0'
}
Parameter IncludeArcMachines @{
Type = 'string'
AllowedValues = @('true', 'false')
Default = 'false'
DisplayName = 'Include Arc connected servers for Guest Configuration policies'
Description = 'Optionally choose to audit settings inside Arc connected servers using Guest Configuration policies. By selecting this option, you agree to be charged monthly per Arc connected machine.'
JsonName = 'IncludeArcMachines'
}
Parameter CertificateThumbprints @{
Type = 'string'
Default = ''
DisplayName = 'Certificate thumbprints that should exist under the Trusted Root'
Description = 'A semicolon-separated list of certificate thumbprints that should exist under the Trusted Root certificate store (Cert:\LocalMachine\Root). e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter ApplicationName @{
Type = 'string'
Default = ''
DisplayName = 'Application names to be installed on VMs'
Description = 'A semicolon-separated list of the names of the applications that should be installed. e.g. ''python; powershell'''
Metadata = [ordered]@{ deprecated = $true }
}
Parameter StoragePrefix @{
Type = 'string'
Default = ''
DisplayName = 'Storage Account Prefix for Regional Storage Account to deploy diagnostic settings for Network Security Groups'
Description = 'This prefix will be combined with the network security group location to form the created storage account name.'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter RgName @{
Type = 'string'
Default = ''
DisplayName = 'Resource Group Name for Storage Account (must exist) to deploy diagnostic settings for Network Security Groups'
Description = 'The resource group that the storage account will be created in. This resource group must already exist.'
Metadata = [ordered]@{ strongType = 'ExistingResourceGroups'; deprecated = $true }
}
Parameter DiskEncryptionMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Virtual machines should encrypt temp disks, caches, and data flows between Compute and Storage resources'
Description = 'Enable or disable the monitoring for VM disk encryption'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter PreviewMonitorUnencryptedSQLDatabaseInAzureSecurityCenterEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Monitor unencrypted SQL database in Azure Security Center'
Description = 'Enable or disable monitoring of unencrypted SQL databases in Azure Security Center'
}
Parameter MetricName @{
Type = 'string'
Default = ''
DisplayName = 'Metric name on which alert rules should be configured in Batch accounts'
Description = 'The metric name that an alert rule must be enabled on'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter MetricAlertsInBatchAccountPoolDeleteStartEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Metric alert rules should be configured on Batch accounts'
Description = 'Enable or disable monitoring of metric alert rules on Batch account to enable the required metric'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter DisableUnrestrictedNetworkToStorageAccountMonitoringEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Audit unrestricted network access to storage accounts'
Description = 'Enable or disable the monitoring of network access to storage account'
}
Parameter DiagnosticsLogsInLogicAppsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Resource logs in Logic Apps should be enabled'
Description = 'Enable or disable the monitoring of resource logs in Logic Apps workflows'
}
Parameter RequiredRetentionDays @{
Type = 'string'
Default = '365'
DisplayName = 'Required retention (in days) of resource logs in Logic Apps workflows'
Description = 'The required resource logs retention period in days'
}
Parameter VmssOsVulnerabilitiesMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Vulnerabilities in security configuration on your virtual machine scale sets should be remediated'
Description = 'Enable or disable monitoring of virtual machine scale sets OS vulnerabilities '
Metadata = [ordered]@{ deprecated = $true }
}
Parameter SystemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies @{
Type = 'string'
Default = '1'
DisplayName = 'System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies'
Description = 'Specifies whether digital certificates are processed when software restriction policies are enabled and a user or process attempts to run software with an .exe file name extension. It enables or disables certificate rules (a type of software restriction policies rule). For certificate rules to take effect in software restriction policies, you must enable this policy setting.'
}
Parameter VulnerabilityAssessmentMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Vulnerabilities should be remediated by a Vulnerability Assessment solution'
Description = 'Enable or disable the detection of VM vulnerabilities by a vulnerability assessment solution'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter ServerVulnerabilityAssessmentEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'A vulnerability assessment solution should be enabled on your virtual machines'
Description = 'Enable or disable the detection of virtual machine vulnerabilities by Azure Security Center vulnerability assessment'
}
Parameter UsersOrGroupsThatMayAccessThisComputerFromTheNetwork @{
Type = 'string'
Default = 'Administrators, Authenticated Users'
DisplayName = 'Users or groups that may access this computer from the network'
Description = 'Specifies which remote users on the network are permitted to connect to the computer. This does not include Remote Desktop Connection.'
}
Parameter UsersOrGroupsThatMayLogOnLocally @{
Type = 'string'
Default = 'Administrators'
DisplayName = 'Users or groups that may log on locally'
Description = 'Specifies which users or groups can interactively log on to the computer. Users who attempt to log on via Remote Desktop Connection or IIS also require this user right.'
}
Parameter UsersOrGroupsThatMayLogOnThroughRemoteDesktopServices @{
Type = 'string'
Default = 'Administrators, Remote Desktop Users'
DisplayName = 'Users or groups that may log on through Remote Desktop Services'
Description = 'Specifies which users or groups are permitted to log on as a Terminal Services client, Remote Desktop, or for Remote Assistance.'
}
Parameter UsersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork @{
Type = 'string'
Default = 'Guests'
DisplayName = 'Users and groups that are denied access from the network'
Description = 'Specifies which users or groups are explicitly prohibited from connecting across the network.'
}
Parameter UsersOrGroupsThatMayManageAuditingAndSecurityLog @{
Type = 'string'
Default = 'Administrators'
DisplayName = 'Users or groups that may manage auditing and security log'
Description = 'Specifies users and groups permitted to change the auditing options for files and directories and clear the Security log.'
}
Parameter UsersOrGroupsThatMayBackUpFilesAndDirectories @{
Type = 'string'
Default = 'Administrators, Backup Operators'
DisplayName = 'Users or groups that may back up files and directories'
Description = 'Specifies users and groups allowed to circumvent file and directory permissions to back up the system.'
}
Parameter UsersOrGroupsThatMayChangeTheSystemTime @{
Type = 'string'
Default = 'Administrators, LOCAL SERVICE'
DisplayName = 'Users or groups that may change the system time'
Description = 'Specifies which users and groups are permitted to change the time and date on the internal clock of the computer.'
}
Parameter UsersOrGroupsThatMayChangeTheTimeZone @{
Type = 'string'
Default = 'Administrators, LOCAL SERVICE'
DisplayName = 'Users or groups that may change the time zone'
Description = 'Specifies which users and groups are permitted to change the time zone of the computer.'
}
Parameter UsersOrGroupsThatMayCreateATokenObject @{
Type = 'string'
Default = 'No One'
DisplayName = 'Users or groups that may create a token object'
Description = 'Specifies which users and groups are permitted to create an access token, which may provide elevated rights to access sensitive data.'
}
Parameter UsersAndGroupsThatAreDeniedLoggingOnAsABatchJob @{
Type = 'string'
Default = 'Guests'
DisplayName = 'Users and groups that are denied logging on as a batch job'
Description = 'Specifies which users and groups are explicitly not permitted to log on to the computer as a batch job (i.e. scheduled task).'
}
Parameter UsersAndGroupsThatAreDeniedLoggingOnAsAService @{
Type = 'string'
Default = 'Guests'
DisplayName = 'Users and groups that are denied logging on as a service'
Description = 'Specifies which service accounts are explicitly not permitted to register a process as a service.'
}
Parameter UsersAndGroupsThatAreDeniedLocalLogon @{
Type = 'string'
Default = 'Guests'
DisplayName = 'Users and groups that are denied local logon'
Description = 'Specifies which users and groups are explicitly not permitted to log on to the computer.'
}
Parameter UsersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices @{
Type = 'string'
Default = 'Guests'
DisplayName = 'Users and groups that are denied log on through Remote Desktop Services'
Description = 'Specifies which users and groups are explicitly not permitted to log on to the computer via Terminal Services/Remote Desktop Client.'
}
Parameter UserAndGroupsThatMayForceShutdownFromARemoteSystem @{
Type = 'string'
Default = 'Administrators'
DisplayName = 'User and groups that may force shutdown from a remote system'
Description = 'Specifies which users and groups are permitted to shut down the computer from a remote location on the network.'
}
Parameter UsersAndGroupsThatMayRestoreFilesAndDirectories @{
Type = 'string'
Default = 'Administrators, Backup Operators'
DisplayName = 'Users and groups that may restore files and directories'
Description = 'Specifies which users and groups are permitted to bypass file, directory, registry, and other persistent object permissions when restoring backed up files and directories.'
}
Parameter UsersAndGroupsThatMayShutDownTheSystem @{
Type = 'string'
Default = 'Administrators'
DisplayName = 'Users and groups that may shut down the system'
Description = 'Specifies which users and groups who are logged on locally to the computers in your environment are permitted to shut down the operating system with the Shut Down command.'
}
Parameter UsersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects @{
Type = 'string'
Default = 'Administrators'
DisplayName = 'Users or groups that may take ownership of files or other objects'
Description = 'Specifies which users and groups are permitted to take ownership of files, folders, registry keys, processes, or threads. This user right bypasses any permissions that are in place to protect objects to give ownership to the specified user.'
}
Parameter SystemUpdatesMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'System updates should be installed on your machines'
Description = 'Enable or disable reporting of system updates'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter SqlServerAuditingRetentionDaysMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'SQL servers should be configured with auditing retention days greater than 90 days'
Description = 'Enable or disable the monitoring of SQL servers with auditing retention period less than 90'
}
Parameter WindowsFirewallDomainUseProfileSettings @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Domain): Use profile settings'
Description = 'Specifies whether Windows Firewall with Advanced Security uses the settings for the Domain profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile.'
}
Parameter WindowsFirewallDomainBehaviorForOutboundConnections @{
Type = 'string'
Default = '0'
DisplayName = 'Windows Firewall (Domain): Behavior for outbound connections'
Description = 'Specifies the behavior for outbound connections for the Domain profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections.'
}
Parameter WindowsFirewallDomainApplyLocalConnectionSecurityRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Domain): Apply local connection security rules'
Description = 'Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Domain profile.'
}
Parameter WindowsFirewallDomainApplyLocalFirewallRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Domain): Apply local firewall rules'
Description = 'Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Domain profile.'
}
Parameter WindowsFirewallDomainDisplayNotifications @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Domain): Display notifications'
Description = 'Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Domain profile.'
}
Parameter WindowsFirewallPrivateUseProfileSettings @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Private): Use profile settings'
Description = 'Specifies whether Windows Firewall with Advanced Security uses the settings for the Private profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile.'
}
Parameter WindowsFirewallPrivateBehaviorForOutboundConnections @{
Type = 'string'
Default = '0'
DisplayName = 'Windows Firewall (Private): Behavior for outbound connections'
Description = 'Specifies the behavior for outbound connections for the Private profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections.'
}
Parameter WindowsFirewallPrivateApplyLocalConnectionSecurityRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Private): Apply local connection security rules'
Description = 'Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Private profile.'
}
Parameter WindowsFirewallPrivateApplyLocalFirewallRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Private): Apply local firewall rules'
Description = 'Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Private profile.'
}
Parameter WindowsFirewallPrivateDisplayNotifications @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Private): Display notifications'
Description = 'Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Private profile.'
}
Parameter WindowsFirewallPublicUseProfileSettings @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Public): Use profile settings'
Description = 'Specifies whether Windows Firewall with Advanced Security uses the settings for the Public profile to filter network traffic. If you select Off, Windows Firewall with Advanced Security will not use any of the firewall rules or connection security rules for this profile.'
}
Parameter WindowsFirewallPublicBehaviorForOutboundConnections @{
Type = 'string'
Default = '0'
DisplayName = 'Windows Firewall (Public): Behavior for outbound connections'
Description = 'Specifies the behavior for outbound connections for the Public profile that do not match an outbound firewall rule. The default value of 0 means to allow connections, and a value of 1 means to block connections.'
}
Parameter WindowsFirewallPublicApplyLocalConnectionSecurityRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Public): Apply local connection security rules'
Description = 'Specifies whether local administrators are allowed to create connection security rules that apply together with connection security rules configured by Group Policy for the Public profile.'
}
Parameter WindowsFirewallPublicApplyLocalFirewallRules @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Public): Apply local firewall rules'
Description = 'Specifies whether local administrators are allowed to create local firewall rules that apply together with firewall rules configured by Group Policy for the Public profile.'
}
Parameter WindowsFirewallPublicDisplayNotifications @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall (Public): Display notifications'
Description = 'Specifies whether Windows Firewall with Advanced Security displays notifications to the user when a program is blocked from receiving inbound connections, for the Public profile.'
}
Parameter WindowsFirewallDomainAllowUnicastResponse @{
Type = 'string'
Default = '0'
DisplayName = 'Windows Firewall: Domain: Allow unicast response'
Description = 'Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Domain profile.'
}
Parameter WindowsFirewallPrivateAllowUnicastResponse @{
Type = 'string'
Default = '0'
DisplayName = 'Windows Firewall: Private: Allow unicast response'
Description = 'Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Private profile.'
}
Parameter WindowsFirewallPublicAllowUnicastResponse @{
Type = 'string'
Default = '1'
DisplayName = 'Windows Firewall: Public: Allow unicast response'
Description = 'Specifies whether Windows Firewall with Advanced Security permits the local computer to receive unicast responses to its outgoing multicast or broadcast messages; for the Public profile.'
}
Parameter IdentityEnableMFAForWritePermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'MFA should be enabled on accounts with write permissions in your subscription'
Description = 'Enable or disable the monitoring of MFA for accounts with write permissions in subscription'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter NamespaceAuthorizationRulesInServiceBusMonitoringEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Deny', 'Disabled')
Default = 'Audit'
DisplayName = 'All authorization rules except RootManageSharedAccessKey should be removed from Service Bus namespace'
Description = 'Enable or disable the monitoring of Service Bus namespace authorization rules'
}
Parameter KubernetesServiceRbacEnabledMonitoringEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Role-Based Access Control (RBAC) should be used on Kubernetes Services'
Description = 'Enable or disable the monitoring of Kubernetes Services without RBAC enabled'
}
Parameter DiagnosticsLogsInSearchServiceMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Resource logs in Search services should be enabled'
Description = 'Enable or disable the monitoring of resource logs in Azure Search service'
}
Parameter MicrosoftNetworkClientDigitallySignCommunicationsAlways @{
Type = 'string'
Default = '1'
DisplayName = 'Microsoft network client: Digitally sign communications (always)'
Description = 'Specifies whether packet signing is required by the SMB client component.'
}
Parameter MicrosoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers @{
Type = 'string'
Default = '0'
DisplayName = 'Microsoft network client: Send unencrypted password to third-party SMB servers'
Description = 'Specifies whether the SMB redirector will send plaintext passwords during authentication to third-party SMB servers that do not support password encryption. It is recommended that you disable this policy setting unless there is a strong business case to enable it.'
}
Parameter MicrosoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession @{
Type = 'string'
Default = '1,15'
DisplayName = 'Microsoft network server: Amount of idle time required before suspending session'
Description = 'Specifies the amount of continuous idle time that must pass in an SMB session before the session is suspended because of inactivity. The format of the value is two integers separated by a comma, denoting an inclusive range.'
}
Parameter MicrosoftNetworkServerDigitallySignCommunicationsAlways @{
Type = 'string'
Default = '1'
DisplayName = 'Microsoft network server: Digitally sign communications (always)'
Description = 'Specifies whether packet signing is required by the SMB server component.'
}
Parameter MicrosoftNetworkServerDisconnectClientsWhenLogonHoursExpire @{
Type = 'string'
Default = '1'
DisplayName = 'Microsoft network server: Disconnect clients when logon hours expire'
Description = 'Specifies whether to disconnect users who are connected to the local computer outside their user account''s valid logon hours. This setting affects the Server Message Block (SMB) component. If you enable this policy setting you should also enable ''Network security: Force logoff when logon hours expire'''
}
Parameter DisableIPForwardingMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'IP Forwarding on your virtual machine should be disabled'
Description = 'Enable or disable the monitoring of IP forwarding on virtual machines'
}
Parameter ThreatDetectionTypesOnManagedInstanceMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Advanced Threat Protection types should be set to ''All'' in SQL Managed Instance advanced data security settings'
Description = 'It''s recommended to enable all Advanced Threat Protection types on your SQL Managed Instance. Enabling all types protects against SQL injection, database vulnerabilities, and any other anomalous activities.'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter CertificateStorePath @{
Type = 'string'
Default = 'Cert:'
DisplayName = 'Certificate store path containing the certificates to be checked for expiration'
Description = 'The path to the certificate store containing the certificates to check the expiration dates of. Default value is ''Cert:'' which is the root certificate store path, so all certificates on the machine will be checked. Other example paths: ''Cert:\LocalMachine'', ''Cert:\LocalMachine\TrustedPublisher'', ''Cert:\CurrentUser'''
}
Parameter ExpirationLimitInDays @{
Type = 'string'
Default = '30'
DisplayName = 'Expiration limit in days for certificates that are expiring under specified certificate store path'
Description = 'An integer indicating the number of days within which to check for certificates that are expiring. For example, if this value is 30, any certificate expiring within the next 30 days will cause this policy to be non-compliant.'
}
Parameter CertificateThumbprintsToInclude @{
Type = 'string'
Default = ''
DisplayName = 'Certificate thumbprints to include while checking for expired certificates under specified certificate store path'
Description = 'A semicolon-separated list of certificate thumbprints to check under the specified path. If a value is not specified, all certificates under the certificate store path will be checked. If a value is specified, no certificates other than those with the thumbprints specified will be checked. e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3'
}
Parameter CertificateThumbprintsToExclude @{
Type = 'string'
Default = ''
DisplayName = 'Certificate thumbprints to exclude while checking for expired certificates under specified certificate store path'
Description = 'A semicolon-separated list of certificate thumbprints to ignore while checking expired certificates. e.g. THUMBPRINT1;THUMBPRINT2;THUMBPRINT3'
}
Parameter IncludeExpiredCertificates @{
Type = 'string'
AllowedValues = @('true', 'false')
Default = 'false'
DisplayName = 'Include already expired certificates while checking for expired certificates under specified certificate store path'
Description = 'Must be ''true'' or ''false''. True indicates that any found certificates that have already expired will also make this policy non-compliant. False indicates that certificates that have expired will be be ignored under specified certificate store path.'
}
Parameter RecoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders @{
Type = 'string'
Default = '0'
DisplayName = 'Recovery console: Allow floppy copy and access to all drives and all folders'
Description = 'Specifies whether to make the Recovery Console SET command available, which allows setting of recovery console environment variables.'
}
Parameter AccountsGuestAccountStatus @{
Type = 'string'
Default = '0'
DisplayName = 'Accounts: Guest account status'
Description = 'Specifies whether the local Guest account is disabled.'
}
Parameter NetworkAccessRemotelyAccessibleRegistryPaths @{
Type = 'string'
Default = 'System\CurrentControlSet\Control\ProductOptions|#|System\CurrentControlSet\Control\Server Applications|#|Software\Microsoft\Windows NT\CurrentVersion'
DisplayName = 'Network access: Remotely accessible registry paths'
Description = 'Specifies which registry paths will be accessible over the network, regardless of the users or groups listed in the access control list (ACL) of the `winreg` registry key.'
}
Parameter NetworkAccessRemotelyAccessibleRegistryPathsAndSubpaths @{
Type = 'string'
Default = 'System\CurrentControlSet\Control\Print\Printers|#|System\CurrentControlSet\Services\Eventlog|#|Software\Microsoft\OLAP Server|#|Software\Microsoft\Windows NT\CurrentVersion\Print|#|Software\Microsoft\Windows NT\CurrentVersion\Windows|#|System\CurrentControlSet\Control\ContentIndex|#|System\CurrentControlSet\Control\Terminal Server|#|System\CurrentControlSet\Control\Terminal Server\UserConfig|#|System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration|#|Software\Microsoft\Windows NT\CurrentVersion\Perflib|#|System\CurrentControlSet\Services\SysmonLog'
DisplayName = 'Network access: Remotely accessible registry paths and sub-paths'
Description = 'Specifies which registry paths and sub-paths will be accessible over the network, regardless of the users or groups listed in the access control list (ACL) of the `winreg` registry key.'
}
Parameter NetworkAccessSharesThatCanBeAccessedAnonymously @{
Type = 'string'
Default = '0'
DisplayName = 'Network access: Shares that can be accessed anonymously'
Description = 'Specifies which network shares can be accessed by anonymous users. The default configuration for this policy setting has little effect because all users have to be authenticated before they can access shared resources on the server.'
}
Parameter ExternalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscriptionEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'External accounts with owner permissions should be removed from your subscription'
Description = 'Enable or disable the monitoring of external acounts with owner permissions in subscription'
}
Parameter SqlDbVulnerabilityAssesmentMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'SQL databases should have vulnerability findings resolved'
Description = 'Enable or disable the monitoring of Vulnerability Assessment scan results and recommendations for how to remediate database vulnerabilities.'
}
PolicyDefinition @{
Id = '/providers/Microsoft.Authorization/policyDefinitions/17k78e20-9358-41c9-923c-fb736d382a12'
ReferenceId = 'previewMonitorUnencryptedSQLDatabaseInAzureSecurityCenter'
Version = '2.*.*'
Parameters = @{
effect = (Param PreviewMonitorUnencryptedSQLDatabaseInAzureSecurityCenterEffect)
}
}
PolicyDefinition @{
Id = 'a2d0e922-65d0-40c4-8f87-ea6da2d307a2'
ReferenceId = 'previewAuditWindowsVMsThatDoNotRestrictTheMinimumPasswordLengthTo14Characters'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '2835b622-407b-4114-9198-6f7064cbe0dc'
ReferenceId = 'deploydefaultMicrosoftIaaSAntimalwareextensionforWindowsServer'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '3cf2ab00-13f1-4d0c-8971-2ac904541a7e'
ReferenceId = 'Prerequisite_AddSystemIdentityWhenNone'
Version = '4.*.*'
}
PolicyDefinition @{
Id = '497dff13-db2a-4c0f-8603-28fa3b331ab6'
ReferenceId = 'Prerequisite_AddSystemIdentityWhenUser'
Version = '4.*.*'
}
PolicyDefinition @{
Id = '385f5831-96d4-41db-9a3c-cd3af78aaae6'
ReferenceId = 'Prerequisite_DeployExtensionWindows'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '331e8ea8-378a-410f-a2e5-ae22f38bb0da'
ReferenceId = 'Prerequisite_DeployExtensionLinux'
Version = '3.*.*'
}
PolicyDefinition @{
Id = '34c877ad-507e-4c82-993e-3452a6e0ad3c'
ReferenceId = 'disableUnrestrictedNetworkToStorageAccountMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param DisableUnrestrictedNetworkToStorageAccountMonitoringEffect)
}
}
PolicyDefinition @{
Id = '34f95f76-5386-4de7-b824-0d8478470c9d'
ReferenceId = 'diagnosticsLogsInLogicAppsMonitoring'
Version = '5.*.*'
Parameters = [ordered]@{
effect = (Param DiagnosticsLogsInLogicAppsMonitoringEffect)
requiredRetentionDays = (Arm '[parameters(''RequiredRetentionDays'')]')
}
}
PolicyDefinition @{
Id = '36d49e87-48c4-4f2e-beed-ba4ed02b71f5'
ReferenceId = 'deployThreatDetectionOnSqlServers'
Version = '2.*.*'
}
PolicyDefinition @{
Id = '12017595-5a75-4bb1-9d97-4c2c939ea3c3'
ReferenceId = 'AzureBaselineSecurityOptionsSystemsettings'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
systemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies = (Arm '[parameters(''SystemSettingsUseCertificateRulesOnWindowsExecutablesForSoftwareRestrictionPolicies'')]')
}
}
PolicyDefinition @{
Id = '501541f7-f7e7-4cd6-868c-4190fdad3ac9'
ReferenceId = 'serverVulnerabilityAssessment'
Version = '3.*.*'
Parameters = @{
effect = (Param ServerVulnerabilityAssessmentEffect)
}
}
PolicyDefinition @{
Id = 'e068b215-0026-4354-b347-8fb2766f73a2'
ReferenceId = 'AzureBaselineUserRightsAssignment'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
usersOrGroupsThatMayAccessThisComputerFromTheNetwork = (Arm '[parameters(''UsersOrGroupsThatMayAccessThisComputerFromTheNetwork'')]')
usersOrGroupsThatMayLogOnLocally = (Arm '[parameters(''UsersOrGroupsThatMayLogOnLocally'')]')
usersOrGroupsThatMayLogOnThroughRemoteDesktopServices = (Arm '[parameters(''UsersOrGroupsThatMayLogOnThroughRemoteDesktopServices'')]')
usersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork = (Arm '[parameters(''UsersAndGroupsThatAreDeniedAccessToThisComputerFromTheNetwork'')]')
usersOrGroupsThatMayManageAuditingAndSecurityLog = (Arm '[parameters(''UsersOrGroupsThatMayManageAuditingAndSecurityLog'')]')
usersOrGroupsThatMayBackUpFilesAndDirectories = (Arm '[parameters(''UsersOrGroupsThatMayBackUpFilesAndDirectories'')]')
usersOrGroupsThatMayChangeTheSystemTime = (Arm '[parameters(''UsersOrGroupsThatMayChangeTheSystemTime'')]')
usersOrGroupsThatMayChangeTheTimeZone = (Arm '[parameters(''UsersOrGroupsThatMayChangeTheTimeZone'')]')
usersOrGroupsThatMayCreateATokenObject = (Arm '[parameters(''UsersOrGroupsThatMayCreateATokenObject'')]')
usersAndGroupsThatAreDeniedLoggingOnAsABatchJob = (Arm '[parameters(''UsersAndGroupsThatAreDeniedLoggingOnAsABatchJob'')]')
usersAndGroupsThatAreDeniedLoggingOnAsAService = (Arm '[parameters(''UsersAndGroupsThatAreDeniedLoggingOnAsAService'')]')
usersAndGroupsThatAreDeniedLocalLogon = (Arm '[parameters(''UsersAndGroupsThatAreDeniedLocalLogon'')]')
usersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices = (Arm '[parameters(''UsersAndGroupsThatAreDeniedLogOnThroughRemoteDesktopServices'')]')
userAndGroupsThatMayForceShutdownFromARemoteSystem = (Arm '[parameters(''UserAndGroupsThatMayForceShutdownFromARemoteSystem'')]')
usersAndGroupsThatMayRestoreFilesAndDirectories = (Arm '[parameters(''UsersAndGroupsThatMayRestoreFilesAndDirectories'')]')
usersAndGroupsThatMayShutDownTheSystem = (Arm '[parameters(''UsersAndGroupsThatMayShutDownTheSystem'')]')
usersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects = (Arm '[parameters(''UsersOrGroupsThatMayTakeOwnershipOfFilesOrOtherObjects'')]')
}
}
PolicyDefinition @{
Id = '88c0b9da-ce96-4b03-9635-f29a937e2900'
ReferenceId = 'disableIPForwardingForNetworkInterfaces'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '89099bee-89e0-4b26-a5f4-165451757743'
ReferenceId = 'sqlServerAuditingRetentionDaysMonitoring'
Version = '3.*.*'
Parameters = @{
effect = (Param SqlServerAuditingRetentionDaysMonitoringEffect)
}
}
PolicyDefinition @{
Id = '35d9882c-993d-44e6-87d2-db66ce21b636'
ReferenceId = 'AzureBaselineWindowsFirewallProperties'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
windowsFirewallDomainUseProfileSettings = (Arm '[parameters(''WindowsFirewallDomainUseProfileSettings'')]')
windowsFirewallDomainBehaviorForOutboundConnections = (Arm '[parameters(''WindowsFirewallDomainBehaviorForOutboundConnections'')]')
windowsFirewallDomainApplyLocalConnectionSecurityRules = (Arm '[parameters(''WindowsFirewallDomainApplyLocalConnectionSecurityRules'')]')
windowsFirewallDomainApplyLocalFirewallRules = (Arm '[parameters(''WindowsFirewallDomainApplyLocalFirewallRules'')]')
windowsFirewallDomainDisplayNotifications = (Arm '[parameters(''WindowsFirewallDomainDisplayNotifications'')]')
windowsFirewallPrivateUseProfileSettings = (Arm '[parameters(''WindowsFirewallPrivateUseProfileSettings'')]')
windowsFirewallPrivateBehaviorForOutboundConnections = (Arm '[parameters(''WindowsFirewallPrivateBehaviorForOutboundConnections'')]')
windowsFirewallPrivateApplyLocalConnectionSecurityRules = (Arm '[parameters(''WindowsFirewallPrivateApplyLocalConnectionSecurityRules'')]')
windowsFirewallPrivateApplyLocalFirewallRules = (Arm '[parameters(''WindowsFirewallPrivateApplyLocalFirewallRules'')]')
windowsFirewallPrivateDisplayNotifications = (Arm '[parameters(''WindowsFirewallPrivateDisplayNotifications'')]')
windowsFirewallPublicUseProfileSettings = (Arm '[parameters(''WindowsFirewallPublicUseProfileSettings'')]')
windowsFirewallPublicBehaviorForOutboundConnections = (Arm '[parameters(''WindowsFirewallPublicBehaviorForOutboundConnections'')]')
windowsFirewallPublicApplyLocalConnectionSecurityRules = (Arm '[parameters(''WindowsFirewallPublicApplyLocalConnectionSecurityRules'')]')
windowsFirewallPublicApplyLocalFirewallRules = (Arm '[parameters(''WindowsFirewallPublicApplyLocalFirewallRules'')]')
windowsFirewallPublicDisplayNotifications = (Arm '[parameters(''WindowsFirewallPublicDisplayNotifications'')]')
windowsFirewallDomainAllowUnicastResponse = (Arm '[parameters(''WindowsFirewallDomainAllowUnicastResponse'')]')
windowsFirewallPrivateAllowUnicastResponse = (Arm '[parameters(''WindowsFirewallPrivateAllowUnicastResponse'')]')
windowsFirewallPublicAllowUnicastResponse = (Arm '[parameters(''WindowsFirewallPublicAllowUnicastResponse'')]')
}
}
PolicyDefinition @{
Id = 'a1817ec0-a368-432a-8057-8371e17ac6ee'
ReferenceId = 'namespaceAuthorizationRulesInServiceBusMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param NamespaceAuthorizationRulesInServiceBusMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'ac4a19c2-fa67-49b4-8ae5-0b2e78c49457'
ReferenceId = 'kubernetesServiceRbacEnabledMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param KubernetesServiceRbacEnabledMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'b4330a05-a843-4bc8-bf9a-cacce50c67f4'
ReferenceId = 'diagnosticsLogsInSearchServiceMonitoring'
Version = '5.*.*'
Parameters = [ordered]@{
effect = (Param DiagnosticsLogsInSearchServiceMonitoringEffect)
requiredRetentionDays = (Arm '[parameters(''RequiredRetentionDays'')]')
}
}
PolicyDefinition @{
Id = 'd6c69680-54f0-4349-af10-94dd05f4225e'
ReferenceId = 'AzureBaselineSecurityOptionsMicrosoftNetworkClient'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
microsoftNetworkClientDigitallySignCommunicationsAlways = (Arm '[parameters(''MicrosoftNetworkClientDigitallySignCommunicationsAlways'')]')
microsoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers = (Arm '[parameters(''MicrosoftNetworkClientSendUnencryptedPasswordToThirdpartySMBServers'')]')
microsoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession = (Arm '[parameters(''MicrosoftNetworkServerAmountOfIdleTimeRequiredBeforeSuspendingSession'')]')
microsoftNetworkServerDigitallySignCommunicationsAlways = (Arm '[parameters(''MicrosoftNetworkServerDigitallySignCommunicationsAlways'')]')
microsoftNetworkServerDisconnectClientsWhenLogonHoursExpire = (Arm '[parameters(''MicrosoftNetworkServerDisconnectClientsWhenLogonHoursExpire'')]')
}
}
PolicyDefinition @{
Id = 'bd352bd5-2853-4985-bf0d-73806b4a5744'
ReferenceId = 'disableIPForwardingMonitoring'
Version = '3.*.*'
Parameters = @{
effect = (Param DisableIPForwardingMonitoringEffect)
}
}
PolicyDefinition @{
Id = '1417908b-4bff-46ee-a2a6-4acc899320ab'
ReferenceId = 'CertificateExpiration'
Version = '2.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
certificateStorePath = (Arm '[parameters(''CertificateStorePath'')]')
expirationLimitInDays = (Arm '[parameters(''ExpirationLimitInDays'')]')
certificateThumbprintsToInclude = (Arm '[parameters(''CertificateThumbprintsToInclude'')]')
certificateThumbprintsToExclude = (Arm '[parameters(''CertificateThumbprintsToExclude'')]')
includeExpiredCertificates = (Arm '[parameters(''IncludeExpiredCertificates'')]')
}
}
PolicyDefinition @{
Id = 'f71be03e-e25b-4d0f-b8bc-9b3e309b66c0'
ReferenceId = 'AzureBaselineSecurityOptionsRecoveryconsole'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
recoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders = (Arm '[parameters(''RecoveryConsoleAllowFloppyCopyAndAccessToAllDrivesAndAllFolders'')]')
}
}
PolicyDefinition @{
Id = 'ee984370-154a-4ee8-9726-19d900e56fc0'
ReferenceId = 'AzureBaselineSecurityOptionsAccounts'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
accountsGuestAccountStatus = (Arm '[parameters(''AccountsGuestAccountStatus'')]')
}
}
PolicyDefinition @{
Id = 'ea53dbee-c6c9-4f0e-9f9e-de0039b78023'
ReferenceId = 'previewAuditLinuxVmAllowingRemoteConnectionsFromAccountsWithNoPasswords'
Version = '3.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '3ff60f98-7fa4-410a-9f7f-0b00f5afdbdd'
ReferenceId = 'AzureBaselineSecurityOptionsNetworkAccess'
Version = '3.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
networkAccessRemotelyAccessibleRegistryPaths = (Arm '[parameters(''NetworkAccessRemotelyAccessibleRegistryPaths'')]')
networkAccessRemotelyAccessibleRegistryPathsAndSubpaths = (Arm '[parameters(''NetworkAccessRemotelyAccessibleRegistryPathsAndSubpaths'')]')
networkAccessSharesThatCanBeAccessedAnonymously = (Arm '[parameters(''NetworkAccessSharesThatCanBeAccessedAnonymously'')]')
}
}
PolicyDefinition @{
Id = '339353f6-2387-4a45-abe4-7f529d121046'
ReferenceId = 'externalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscription'
Version = '1.*.*'
Parameters = @{
effect = (Param ExternalAccountsWithOwnerPermissionsShouldBeRemovedFromYourSubscriptionEffect)
}
}
PolicyDefinition @{
Id = 'feedbf84-6b99-488c-acc2-71c829aa5ffc'
ReferenceId = 'sqlDbVulnerabilityAssesmentMonitoring'
Version = '4.*.*'
Parameters = @{
effect = (Param SqlDbVulnerabilityAssesmentMonitoringEffect)
}
}
}Members (28)
- Transparent Data Encryption on SQL databases should be enabled
- Audit Windows machines that do not restrict the minimum password length to specified number of characters
- Deploy default Microsoft IaaSAntimalware extension for Windows Server
- Add system-assigned managed identity to enable Guest Configuration assignments on virtual machines with no identities
- Add system-assigned managed identity to enable Guest Configuration assignments on VMs with a user-assigned identity
- Deploy the Windows Guest Configuration extension to enable Guest Configuration assignments on Windows VMs
- Deploy the Linux Guest Configuration extension to enable Guest Configuration assignments on Linux VMs
- Storage accounts should restrict network access
- Resource logs in Logic Apps should be enabled
- Configure Azure Defender to be enabled on SQL servers
- Windows machines should meet requirements for 'Security Options - System settings'
- A vulnerability assessment solution should be enabled on your virtual machines
- Windows machines should meet requirements for 'User Rights Assignment'
- Network interfaces should disable IP forwarding
- SQL servers with auditing to storage account destination should be configured with 90 days retention or higher
- Windows machines should meet requirements for 'Windows Firewall Properties'
- All authorization rules except RootManageSharedAccessKey should be removed from Service Bus namespace
- Role-Based Access Control (RBAC) should be used on Kubernetes Services
- Resource logs in Search services should be enabled
- Windows machines should meet requirements for 'Security Options - Microsoft Network Client'
- IP Forwarding on your virtual machine should be disabled
- Audit Windows machines that contain certificates expiring within the specified number of days
- Windows machines should meet requirements for 'Security Options - Recovery console'
- Windows machines should meet requirements for 'Security Options - Accounts'
- Audit Linux machines that allow remote connections from accounts without passwords
- Windows machines should meet requirements for 'Security Options - Network Access'
- Guest accounts with owner permissions on Azure resources should be removed
- SQL databases should have vulnerability findings resolved
Source: built-in-policies/policySetDefinitions/Regulatory Compliance/Media_audit.json in Azure/azure-policy, under the MIT licence.
Bylaw