Releases: Azure/PSRule.Rules.Azure
Releases · Azure/PSRule.Rules.Azure
v1.34.0
What's changed since v1.33.2:
- New rules:
- Azure Kubernetes Service:
- Check that user mode pools have a minimum number of nodes by @BernieWhite.
#2683- Added configuration to support changing the minimum number of node and to exclude node pools.
- Set
AZURE_AKS_CLUSTER_USER_POOL_MINIMUM_NODES
to set the minimum number of user nodes. - Set
AZURE_AKS_CLUSTER_USER_POOL_EXCLUDED_FROM_MINIMUM_NODES
to exclude a specific node pool by name.
- Check that user mode pools have a minimum number of nodes by @BernieWhite.
- Azure Kubernetes Service:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.MinNodeCount
the count nodes system node pools by @BernieWhite.
#2683- Improved guidance and examples specifically for system node pools.
- Added configuration to support changing the minimum number of node.
- Set
AZURE_AKS_CLUSTER_MINIMUM_SYSTEM_NODES
to set the minimum number of system nodes.
- Updated
- Front Door:
- Updated
Azure.FrontDoor.Logs
to cover premium and standard profiles instead of just classic by @BernieWhite.
#2704- Added a selector for premium and standard profiles
Azure.FrontDoor.IsStandardOrPremium
. - Added a selector for classic profiles
Azure.FrontDoor.IsClassic
. - Updated rule set to
2024_03
.
- Added a selector for premium and standard profiles
- Updated
- Microsoft Defender for Cloud:
- Renamed rules to align with recommended naming length by @BernieWhite.
#2718- Renamed
Azure.Defender.Storage.SensitiveData
toAzure.Defender.Storage.DataScan
.
- Renamed
- Promoted
Azure.Defender.Storage.MalwareScan
to GA rule set by @BernieWhite.
#2590
- Renamed rules to align with recommended naming length by @BernieWhite.
- Storage Account:
- Renamed rules to align with recommended naming length by @BernieWhite.
#2718- Renamed
Azure.Storage.DefenderCloud.MalwareScan
toAzure.Storage.Defender.MalwareScan
. - Renamed
Azure.Storage.DefenderCloud.SensitiveData
toAzure.Storage.Defender.DataScan
.
- Renamed
- Promoted
Azure.Storage.Defender.MalwareScan
to GA rule set by @BernieWhite.
#2590
- Renamed rules to align with recommended naming length by @BernieWhite.
- Azure Kubernetes Service:
- General improvements:
- Moved
.bicepparam
file support to stable by @BernieWhite.
#2682- Bicep param files are now automatically expanded when found.
- To disable expansion, set the configuration option
AZURE_BICEP_PARAMS_FILE_EXPANSION
tofalse
.
- Added support for type/ variable/ and function imports from Bicep files by @BernieWhite.
#2537 - Added duplicate policies to default ignore list by @BernieWhite.
#1731 - Documentation and metadata improvements by @BernieWhite.
#1772
#2570
- Moved
- Engineering:
- Updated resource providers and policy aliases.
#2717 - Improved debugging experience by providing symbols for .NET code by @BernieWhite.
#2712 - Bump Microsoft.NET.Test.Sdk to v17.9.0.
#2680 - Bump xunit to v2.7.0.
#2688 - Bump xunit.runner.visualstudio to v2.5.7.
#2689 - Bump coverlet.collector to v6.0.1.
#2699
- Updated resource providers and policy aliases.
- Bug fixes:
- Fixed missing zones property for public IP addresses by @BernieWhite.
#2698 - Fixes for policy as rules by @BernieWhite.
#181
#1323
- Fixed missing zones property for public IP addresses by @BernieWhite.
What's changed since pre-release v1.34.0-B0077:
- No additional changes.
See change log.
v1.34.0-B0077
What's changed since pre-release v1.34.0-B0047:
- Updated rules:
- Microsoft Defender for Cloud:
- Renamed rules to align with recommended naming length by @BernieWhite.
#2718- Renamed
Azure.Defender.Storage.SensitiveData
toAzure.Defender.Storage.DataScan
.
- Renamed
- Promoted
Azure.Defender.Storage.MalwareScan
to GA rule set by @BernieWhite.
#2590
- Renamed rules to align with recommended naming length by @BernieWhite.
- Storage Account:
- Renamed rules to align with recommended naming length by @BernieWhite.
#2718- Renamed
Azure.Storage.DefenderCloud.MalwareScan
toAzure.Storage.Defender.MalwareScan
. - Renamed
Azure.Storage.DefenderCloud.SensitiveData
toAzure.Storage.Defender.DataScan
.
- Renamed
- Promoted
Azure.Storage.Defender.MalwareScan
to GA rule set by @BernieWhite.
#2590
- Renamed rules to align with recommended naming length by @BernieWhite.
- Microsoft Defender for Cloud:
- General improvements:
- Added duplicate policies to default ignore list by @BernieWhite.
#1731
- Added duplicate policies to default ignore list by @BernieWhite.
- Engineering:
- Updated resource providers and policy aliases.
#2717
- Updated resource providers and policy aliases.
- Bug fixes:
- Fixes for policy as rules by @BernieWhite.
#181
#1323
- Fixes for policy as rules by @BernieWhite.
See change log.
v1.34.0-B0047
What's changed since pre-release v1.34.0-B0022:
- General improvements:
- Added support for type/ variable/ and function imports from Bicep files by @BernieWhite.
#2537
- Added support for type/ variable/ and function imports from Bicep files by @BernieWhite.
- Engineering:
- Improved debugging experience by providing symbols for .NET code by @BernieWhite.
#2712
- Improved debugging experience by providing symbols for .NET code by @BernieWhite.
See change log.
v1.34.0-B0022
What's changed since v1.33.2:
- New rules:
- Azure Kubernetes Service:
- Check that user mode pools have a minimum number of nodes by @BernieWhite.
#2683- Added configuration to support changing the minimum number of node and to exclude node pools.
- Set
AZURE_AKS_CLUSTER_USER_POOL_MINIMUM_NODES
to set the minimum number of user nodes. - Set
AZURE_AKS_CLUSTER_USER_POOL_EXCLUDED_FROM_MINIMUM_NODES
to exclude a specific node pool by name.
- Check that user mode pools have a minimum number of nodes by @BernieWhite.
- Azure Kubernetes Service:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.MinNodeCount
the count nodes system node pools by @BernieWhite.
#2683- Improved guidance and examples specifically for system node pools.
- Added configuration to support changing the minimum number of node.
- Set
AZURE_AKS_CLUSTER_MINIMUM_SYSTEM_NODES
to set the minimum number of system nodes.
- Updated
- Front Door:
- Updated
Azure.FrontDoor.Logs
to cover premium and standard profiles instead of just classic by @BernieWhite.
#2704- Added a selector for premium and standard profiles
Azure.FrontDoor.IsStandardOrPremium
. - Added a selector for classic profiles
Azure.FrontDoor.IsClassic
. - Updated rule set to
2024_03
.
- Added a selector for premium and standard profiles
- Updated
- Azure Kubernetes Service:
- General improvements:
- Moved
.bicepparam
file support to stable by @BernieWhite.
#2682- Bicep param files are now automatically expanded when found.
- To disable expansion, set the configuration option
AZURE_BICEP_PARAMS_FILE_EXPANSION
tofalse
.
- Documentation and metadata improvements by @BernieWhite.
#1772
#2570
- Moved
- Engineering:
- Bug fixes:
- Fixed missing zones property for public IP addresses by @BernieWhite.
#2698
- Fixed missing zones property for public IP addresses by @BernieWhite.
See change log.
v1.33.2
What's changed since v1.33.1:
- Bug fixes:
- Fixed false positive of
Azure.Resource.AllowedRegions
raised during assertion call by @BernieWhite.
#2687
- Fixed false positive of
See change log.
v1.33.1
What's changed since v1.33.0:
- Bug fixes:
- Fixed
Azure.AKS.AuthorizedIPs
is not valid for a private cluster by @BernieWhite.
#2677 - Fixed generating rule for VM extensions from policy is incorrect by @BernieWhite.
#2608
- Fixed
See change log.
v1.33.0
What's changed since v1.32.1:
- New features:
- Exporting policy as rules also generates a baseline by @BernieWhite.
#2482- A baseline is automatically generated that includes for all rules exported.
If a policy rule has been replaced by a built-in rule, the baseline will include the built-in rule instead. - The baseline is named
<Prefix>.PolicyBaseline.All
. i.e.Azure.PolicyBaseline.All
by default. - For details see Policy as rules.
- A baseline is automatically generated that includes for all rules exported.
- Exporting policy as rules also generates a baseline by @BernieWhite.
- New rules:
- Databricks:
- Check that Databricks workspaces use a non-trial SKU by @batemansogq.
#2646 - Check that Databricks workspaces require use of private endpoints by @batemansogq.
#2646
- Check that Databricks workspaces use a non-trial SKU by @batemansogq.
- Dev Box:
- Check that projects limit the number of Dev Boxes per user by @BernieWhite.
#2654
- Check that projects limit the number of Dev Boxes per user by @BernieWhite.
- Databricks:
- Updated rules:
- Application Gateway:
- Updated
Azure.AppGwWAF.RuleGroups
to use the rule sets by @BenjaminEngeset.
#2629- The latest Bot Manager rule set is now
1.0
. - The latest OWASP rule set is now
3.2
.
- The latest Bot Manager rule set is now
- Updated
- Cognitive Services:
- Relaxed
Azure.Cognitive.ManagedIdentity
to configurations that require managed identities by @BernieWhite.
#2559
- Relaxed
- Virtual Machine:
- Checks for Azure Hybrid Benefit
Azure.VM.UseHybridUseBenefit
are not enabled by default by @BernieWhite.
#2493- To enable, set the
AZURE_VM_USE_HYBRID_USE_BENEFIT
option totrue
.
- To enable, set the
- Checks for Azure Hybrid Benefit
- Virtual Network:
- Added option for excluding subnets to
Azure.VNET.UseNSGs
by @BernieWhite.
#2572- To add a subnet exclusion, set the
AZURE_VNET_SUBNET_EXCLUDED_FROM_NSG
option.
- To add a subnet exclusion, set the
- Added option for excluding subnets to
- Application Gateway:
- General improvements:
- Rules that are ignored during exporting policy as rules are now generate a verbose logs by @BernieWhite.
#2482- This is to improve transparency of why rules are not exported.
- To see details on why a rule is ignored, enable verbose logging with
-Verbose
.
- Policies that duplicate built-in rules can now be exported by using the
-KeepDuplicates
parameter by @BernieWhite.
#2482- For details see Policy as rules.
- Quality updates to rules and documentation by @BernieWhite.
#1772
#2570
- Rules that are ignored during exporting policy as rules are now generate a verbose logs by @BernieWhite.
- Engineering:
- Bug fixes:
- Fixed
dateTimeAdd
may fail with different localization by @BernieWhite.
#2631 - Fixed inconclusive result reported for
Azure.ACR.Usage
by @BernieWhite.
#2494 - Fixed export of Front Door resource data is incomplete by @BernieWhite.
#2668 - Fixed
Azure.Template.TemplateFile
to support withlanguageVersion
2.0 template properties by @MrRoundRobin.
#2660 - Fixed
Azure.VM.DiskSizeAlignment
does not handle smaller sizes and ultra disks by @BernieWhite.
#2656
- Fixed
What's changed since pre-release v1.33.0-B0169:
- No additional changes.
See change log.
v1.33.0-B0169
What's changed since pre-release v1.33.0-B0126:
- New features:
- Exporting policy as rules also generates a baseline by @BernieWhite.
#2482- A baseline is automatically generated that includes for all rules exported.
If a policy rule has been replaced by a built-in rule, the baseline will include the built-in rule instead. - The baseline is named
<Prefix>.PolicyBaseline.All
. i.e.Azure.PolicyBaseline.All
by default. - For details see Policy as rules.
- A baseline is automatically generated that includes for all rules exported.
- Exporting policy as rules also generates a baseline by @BernieWhite.
- General improvements:
- Rules that are ignored during exporting policy as rules are now generate a verbose logs by @BernieWhite.
#2482- This is to improve transparency of why rules are not exported.
- To see details on why a rule is ignored, enable verbose logging with
-Verbose
.
- Policies that duplicate built-in rules can now be exported by using the
-KeepDuplicates
parameter by @BernieWhite.
#2482- For details see Policy as rules.
- Rules that are ignored during exporting policy as rules are now generate a verbose logs by @BernieWhite.
- Bug fixes:
- Fixed inconclusive result reported for
Azure.ACR.Usage
by @BernieWhite.
#2494 - Fixed export of Front Door resource data is incomplete by @BernieWhite.
#2668
- Fixed inconclusive result reported for
See change log.
v1.33.0-B0126
What's changed since pre-release v1.33.0-B0088:
- Bug fixes:
- Fixed
Azure.Template.TemplateFile
to support withlanguageVersion
2.0 template properties by @MrRoundRobin.
#2660
- Fixed
See change log.
v1.33.0-B0088
What's changed since pre-release v1.33.0-B0053:
- New rules:
- Dev Box:
- Check that projects limit the number of Dev Boxes per user by @BernieWhite.
#2654
- Check that projects limit the number of Dev Boxes per user by @BernieWhite.
- Dev Box:
- Bug fixes:
- Fixed
Azure.VM.DiskSizeAlignment
does not handle smaller sizes and ultra disks by @BernieWhite.
#2656
- Fixed
See change log.