Граф коммитов

414 Коммитов

Автор SHA1 Сообщение Дата
Bernie White ed781c43da
Fix path handling issues #53 #54 (#56)
- Fix Get-PSRule generates exception when no .rule.ps1 scripts exist in path #53
- Fix LocalizedData.PathNotFound warning when no .rule.ps1 scripts exist in path #54
2019-01-11 19:19:03 +10:00
Bernie White a5912cca17
Fix PowerShell logging and add cross platform support #48 #49 (#51)
- Fix propagation of informational messages to host from rule scripts and definitions #48
- Add support for cross-platform environments (Windows, Linux, and macOS) #49
2019-01-03 18:20:00 +10:00
Bernie White 1a641b3862
Support testing pipeline objects #30 #46 (#47)
- Add Test-PSRule command to return an overall $True or $False after evaluating rules for an object #30
- Improve reporting of inconclusive results and objects that are not processed by any rule #46
2018-12-24 20:14:56 +10:00
Bernie White a5ba1ff50f
Add rule suppression and custom TargetName binding #13 #44 (#45)
- Update pipeline for early target name binding and suppression #44 #13
- Allow objects to be suppressed by TargetName for individual rules #13
- Allow binding of TargetName to custom property #44
- Custom functions can be used to bind TargetName #44
- Objects that are unable to bind a TargetName will use a SHA1 object hash for TargetName #44
2018-12-24 12:40:14 +10:00
Bernie White 3f706fd66c
Fix issue verbose logging and handling of hashtable keys #35 #36 (#37)
* Fix verbose logging counter not incrementing #35
* Fix hashtable keys should be handled as fields #36
* Improved unit test cases
* Improved GitHub issue report template
2018-12-15 14:45:42 +10:00
Bernie White e92eaf2a70
Fix Invoke-PSRule summary ignores outcome filter #33 (#34)
* Fix Invoke-PSRule summary ignores outcome filter #33
* Update issue report template
2018-12-13 20:47:11 +10:00
Bernie White 5c7ad63504
Parameter name and rule id refactor (#31)
* Improved error handling of invalid paths
* Realign types and enums for consistency
* Refactor rule types to name properties and parameters consistently
* Improve RuleId and RuleName usage
2018-12-13 15:58:56 +10:00
Bernie White b18afbc280
Add rule summaries #12 (#21)
- Added option to report rule summary using -As parameter of Invoke-PSRule #12
- Added performance benchmarks
2018-12-10 18:34:14 +10:00
Bernie White dfd53c7509
Add tag mapping and tag existance filter (#20)
- Added rule tags to results to enable grouping and sorting
- Added support to check for rule tag existence
2018-12-04 10:19:55 +10:00
Bernie White 9304445c74
Pre-release module update 05 (#10)
- Automatically bind TargetName to TargetName or Name property
- Update fruit example
- Update CI pipeline
2018-12-03 18:27:48 +10:00
Bernie White 3a56e4fce4
PSRule usage examples (#9)
- Add Azure resource example
- Add fruit example
- Update Within keyword
- Update readme and links to examples
2018-12-03 16:40:44 +10:00
Bernie White 28321507ac
Pre-release module update 04 (#6)
- Added logging
- Update to handle rules dependencies
- Quality updates and expanded tests
- Improved build versioning of CI process
2018-12-01 01:31:16 +11:00
Bernie White 656e31aaa2
Pre-release module update 02 (#4)
* Read from file instead of using parser
* Handle multi-condition rules and inconclusive results
* Add additional contextual help
2018-11-30 00:10:02 +11:00
Bernie White 49be453c14
Pre-release module update (#3)
- Major re-factoring to push main engine code into CSharp
- Added use for tags to select rules
- Added support for constrained language mode
- Renamed Invoke-RuleEngine to Invoke-PSRule
- Allow discovery of rule definitions with Get-PSRule
- Updated documentation
- Added quality of life configurations for VSCode
2018-11-29 18:41:36 +11:00