Bernie White
Bernie White
Emitters will need to read configuration and may be toggled via feature flags so this support should be easy to consume.
A logging interface it required to report errors/ warnings/ debugging info from emitters.
**Description of the issue** When using `$Assert.AnyOf` reasons by child statements are not returned. Example case: https://github.com/Azure/PSRule.Rules.Azure/pull/2872 **To Reproduce** Steps to reproduce the issue: ```powershell $Assert.AnyOf( $Assert.HasFieldValue($firewall, 'properties.publicNetworkAccess', 'Disabled'), $Assert.HasFieldValue($firewall,...
For the case: ```yaml field: properties.grafanaMajorVersion version: '>=10' ``` The outputted reason is `Path properties.grafanaMajorVersion: The version '9.-1.-1' does not match the constraint 'PSRule.Data.SemanticVersion+VersionConstraint'.` This could be improved by: -...
### Existing rule _No response_ ### Suggested rule Azure periodically performs planned maintenance of SQL Database resources. During a maintenance event, databases are fully available but can be subject to...
### Existing rule _No response_ ### Description of the issue Better handling when references are not used. For example, the existing reference could fail with index out of bounds but...
### Existing rule _No response_ ### Suggested rule When running remote scripts in a build process, the remote script could be maliciously modified to execute unintended code. This is a...
Bump schemas/PSRule-options.schema.json
Peak nomenclature and comment indicates that it should return the next event without consuming it. Actual behaviour is to return the current event without consuming it. https://github.com/aaubry/YamlDotNet/blob/2c6d52253cdd8d67256bbac6b26322ffcdeb49f0/YamlDotNet/Core/ParserExtensions.cs#L87-L99 Accept indicates it...
### Your suggestion Currently the documentation for `Azure.AppService.PlanInstanceCount` doesn't mention anything about availability zones, more complete guidance and an up-to-date sample should be added. #2964 already checks for availability zones...