diff --git a/.azure-pipelines/azure-pipelines.yaml b/.azure-pipelines/azure-pipelines.yaml index 29b6289c4..27d19942d 100644 --- a/.azure-pipelines/azure-pipelines.yaml +++ b/.azure-pipelines/azure-pipelines.yaml @@ -138,11 +138,9 @@ stages: condition: eq(variables['coverage'], 'true') # Generate artifacts - - task: PublishPipelineArtifact@1 + - publish: out/modules/PSRule displayName: 'Publish module' - inputs: - artifactName: PSRule - targetPath: out/modules/PSRule + artifact: PSRule condition: and(succeeded(), eq(variables['publish'], 'true')) # - task: PublishPipelineArtifact@1 @@ -190,7 +188,7 @@ stages: action: edit tag: '$(Build.SourceBranchName)' releaseNotesSource: inline - releaseNotesInline: 'See [change log](https://github.com/BernieWhite/PSRule/blob/master/CHANGELOG.md)' + releaseNotesInline: 'See [change log](https://github.com/Microsoft/PSRule/blob/master/CHANGELOG.md)' assetUploadMode: replace addChangeLog: false isPreRelease: $(isPreRelease) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0127deae4..a64fff464 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ # https://help.github.com/articles/about-codeowners/ -* @BernieWhite +* @microsoft/psrule diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c24858d4f..12d4ea019 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -11,4 +11,4 @@ - **Code changes** - [ ] Have unit tests created/ updated - [ ] Link to a filed issue - - [ ] [Change log](https://github.com/BernieWhite/PSRule/blob/master/CHANGELOG.md) has been updated with change under unreleased section + - [ ] [Change log](https://github.com/Microsoft/PSRule/blob/master/CHANGELOG.md) has been updated with change under unreleased section diff --git a/CHANGELOG.md b/CHANGELOG.md index aa4d6a23c..6d876ceee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,21 +7,21 @@ What's changed since v0.9.0: - Quality of life improvements: - - Added source note properties to input objects read from disk with `-InputPath`. [#302](https://github.com/BernieWhite/PSRule/issues/302) + - Added source note properties to input objects read from disk with `-InputPath`. [#302](https://github.com/Microsoft/PSRule/issues/302) - Engine features: - - Added assertion helper for checking field default value. [#289](https://github.com/BernieWhite/PSRule/issues/289) - - Added dependency `DependsOn` information to results from `Get-PSRule`. [#210](https://github.com/BernieWhite/PSRule/issues/210) + - Added assertion helper for checking field default value. [#289](https://github.com/Microsoft/PSRule/issues/289) + - Added dependency `DependsOn` information to results from `Get-PSRule`. [#210](https://github.com/Microsoft/PSRule/issues/210) - To include dependencies that would normally be filtered out use `-IncludeDependencies`. - - Added input format for reading markdown front matter. [#301](https://github.com/BernieWhite/PSRule/issues/301) + - Added input format for reading markdown front matter. [#301](https://github.com/Microsoft/PSRule/issues/301) - Markdown front matter is deserialized and evaluated as an object. - - Added `Assert-PSRule` cmdlet to improve integration into CI processes. [#290](https://github.com/BernieWhite/PSRule/issues/290) + - Added `Assert-PSRule` cmdlet to improve integration into CI processes. [#290](https://github.com/Microsoft/PSRule/issues/290) - Added `Output.Style` option to support output in the following styles: - Client/ Plain - Output returns easy to read log of rule pass/ fail. - Azure Pipelines - Report rule failures as errors collected by Azure Pipelines. - GitHub Actions - Reports rule failures as errors collected by GitHub Actions. - Bug fixes: - - Fix `Get-PSRuleHelp` -Online in constrained language mode. [#296](https://github.com/BernieWhite/PSRule/issues/296) -- **Breaking change**: Removed previously deprecated alias `Hint` for `Recommend`. [#165](https://github.com/BernieWhite/PSRule/issues/165) + - Fix `Get-PSRuleHelp` -Online in constrained language mode. [#296](https://github.com/Microsoft/PSRule/issues/296) +- **Breaking change**: Removed previously deprecated alias `Hint` for `Recommend`. [#165](https://github.com/Microsoft/PSRule/issues/165) - Use the `Recommend` keyword instead. What's changed since pre-release v0.10.0-B1910036: @@ -30,18 +30,18 @@ What's changed since pre-release v0.10.0-B1910036: ## v0.10.0-B1910036 (pre-release) -- Added dependency `DependsOn` information to results from `Get-PSRule`. [#210](https://github.com/BernieWhite/PSRule/issues/210) +- Added dependency `DependsOn` information to results from `Get-PSRule`. [#210](https://github.com/Microsoft/PSRule/issues/210) - To include dependencies that would normally be filtered out use `-IncludeDependencies`. -- Added input format for reading markdown front matter. [#301](https://github.com/BernieWhite/PSRule/issues/301) +- Added input format for reading markdown front matter. [#301](https://github.com/Microsoft/PSRule/issues/301) - Markdown front matter is deserialized and evaluated as an object. -- Added source note properties to input objects read from disk with `-InputPath`. [#302](https://github.com/BernieWhite/PSRule/issues/302) -- **Breaking change**: Removed previously deprecated alias `Hint` for `Recommend`. [#165](https://github.com/BernieWhite/PSRule/issues/165) +- Added source note properties to input objects read from disk with `-InputPath`. [#302](https://github.com/Microsoft/PSRule/issues/302) +- **Breaking change**: Removed previously deprecated alias `Hint` for `Recommend`. [#165](https://github.com/Microsoft/PSRule/issues/165) - Use the `Recommend` keyword instead. ## v0.10.0-B1910025 (pre-release) -- Fix `Get-PSRuleHelp` -Online in constrained language mode. [#296](https://github.com/BernieWhite/PSRule/issues/296) -- Added `Assert-PSRule` cmdlet to improve integration into CI processes. [#290](https://github.com/BernieWhite/PSRule/issues/290) +- Fix `Get-PSRuleHelp` -Online in constrained language mode. [#296](https://github.com/Microsoft/PSRule/issues/296) +- Added `Assert-PSRule` cmdlet to improve integration into CI processes. [#290](https://github.com/Microsoft/PSRule/issues/290) - Added `Output.Style` option to support output in the following styles: - Client/ Plain - Output returns easy to read log of rule pass/ fail. - Azure Pipelines - Report rule failures as errors collected by Azure Pipelines. @@ -49,29 +49,29 @@ What's changed since pre-release v0.10.0-B1910036: ## v0.10.0-B1910011 (pre-release) -- Added assertion helper for checking field default value. [#289](https://github.com/BernieWhite/PSRule/issues/289) +- Added assertion helper for checking field default value. [#289](https://github.com/Microsoft/PSRule/issues/289) ## v0.9.0 What's changed since v0.8.0: - Quality of life improvements: - - Improve feedback of parsing errors. [#185](https://github.com/BernieWhite/PSRule/issues/185) - - Updated `Get-PSRuleHelp` to include help within the current path by default. [#197](https://github.com/BernieWhite/PSRule/issues/197) + - Improve feedback of parsing errors. [#185](https://github.com/Microsoft/PSRule/issues/185) + - Updated `Get-PSRuleHelp` to include help within the current path by default. [#197](https://github.com/Microsoft/PSRule/issues/197) - Engine features: - - Added support for a wildcard match using the `Within` keyword. [#272](https://github.com/BernieWhite/PSRule/issues/272) - - Added rule info display name. [#276](https://github.com/BernieWhite/PSRule/issues/276) - - Added support for matching an array of tag values. [#282](https://github.com/BernieWhite/PSRule/issues/282) + - Added support for a wildcard match using the `Within` keyword. [#272](https://github.com/Microsoft/PSRule/issues/272) + - Added rule info display name. [#276](https://github.com/Microsoft/PSRule/issues/276) + - Added support for matching an array of tag values. [#282](https://github.com/Microsoft/PSRule/issues/282) - Added named baselines. Now baselines are a separate resource that can be individually used. - Baselines can be packaged within module. - Modules can specify a default baseline in module manifest. - Target binding options (`Binding`) are now part of baselines. - See [about_PSRule_Baseline](docs/concepts/PSRule/en-US/about_PSRule_Baseline.md) for more information. - Bug fixes: - - Fix can not serialize nested System.IO.DirectoryInfo property. [#281](https://github.com/BernieWhite/PSRule/issues/281) - - Fix ModuleName not displayed in Get-PSRuleHelp list. [#275](https://github.com/BernieWhite/PSRule/issues/275) - - Fix outcome reported when error or exception is raised. [#211](https://github.com/BernieWhite/PSRule/issues/211) -- **Breaking change**: Baseline improvements, fundamentally changes how baselines work. [#274](https://github.com/BernieWhite/PSRule/issues/274) + - Fix can not serialize nested System.IO.DirectoryInfo property. [#281](https://github.com/Microsoft/PSRule/issues/281) + - Fix ModuleName not displayed in Get-PSRuleHelp list. [#275](https://github.com/Microsoft/PSRule/issues/275) + - Fix outcome reported when error or exception is raised. [#211](https://github.com/Microsoft/PSRule/issues/211) +- **Breaking change**: Baseline improvements, fundamentally changes how baselines work. [#274](https://github.com/Microsoft/PSRule/issues/274) - Previously, baselines were specified as workspace options. - The previous `baseline` options property has been renamed to `rule`. - The previous `configuration` property is now a top level option. @@ -82,11 +82,11 @@ What's changed since pre-release v0.9.0-B190905: ## v0.9.0-B190905 (pre-release) -- Added support for matching an array of tag values. [#282](https://github.com/BernieWhite/PSRule/issues/282) -- Updated `Get-PSRuleHelp` to include help within the current path by default. [#197](https://github.com/BernieWhite/PSRule/issues/197) -- Fix can not serialize nested System.IO.DirectoryInfo property. [#281](https://github.com/BernieWhite/PSRule/issues/281) -- Fix export of `Like` parameter for `Within` keyword. [#279](https://github.com/BernieWhite/PSRule/issues/279) -- **Breaking change**: Added named baselines. This changes how baselines work. [#274](https://github.com/BernieWhite/PSRule/issues/274) +- Added support for matching an array of tag values. [#282](https://github.com/Microsoft/PSRule/issues/282) +- Updated `Get-PSRuleHelp` to include help within the current path by default. [#197](https://github.com/Microsoft/PSRule/issues/197) +- Fix can not serialize nested System.IO.DirectoryInfo property. [#281](https://github.com/Microsoft/PSRule/issues/281) +- Fix export of `Like` parameter for `Within` keyword. [#279](https://github.com/Microsoft/PSRule/issues/279) +- **Breaking change**: Added named baselines. This changes how baselines work. [#274](https://github.com/Microsoft/PSRule/issues/274) - Previously, baselines were specified as workspace options. - Now, baselines are a separate resource that can be individually used. Additionally: - Baselines can be packaged within module. @@ -98,27 +98,27 @@ What's changed since pre-release v0.9.0-B190905: ## v0.9.0-B190819 (pre-release) -- Added support for a wildcard match using the `Within` keyword. [#272](https://github.com/BernieWhite/PSRule/issues/272) -- Added rule info display name. [#276](https://github.com/BernieWhite/PSRule/issues/276) -- Fix ModuleName not displayed in Get-PSRuleHelp list. [#275](https://github.com/BernieWhite/PSRule/issues/275) +- Added support for a wildcard match using the `Within` keyword. [#272](https://github.com/Microsoft/PSRule/issues/272) +- Added rule info display name. [#276](https://github.com/Microsoft/PSRule/issues/276) +- Fix ModuleName not displayed in Get-PSRuleHelp list. [#275](https://github.com/Microsoft/PSRule/issues/275) ## v0.9.0-B190810 (pre-release) -- Improve feedback of parsing errors. [#185](https://github.com/BernieWhite/PSRule/issues/185) -- Fix outcome reported when error or exception is raised. [#211](https://github.com/BernieWhite/PSRule/issues/211) +- Improve feedback of parsing errors. [#185](https://github.com/Microsoft/PSRule/issues/185) +- Fix outcome reported when error or exception is raised. [#211](https://github.com/Microsoft/PSRule/issues/211) ## v0.8.0 What's changed since v0.7.0: - Quality of life improvements: - - PSRule options are now displayed as YAML instead of a complex object. [#233](https://github.com/BernieWhite/PSRule/issues/233) - - Add detection for improper keyword use. [#203](https://github.com/BernieWhite/PSRule/issues/203) - - Automatically load rule modules. [#218](https://github.com/BernieWhite/PSRule/issues/218) - - Added support for debug messages and `Write-Debug` in rule definitions. [#146](https://github.com/BernieWhite/PSRule/issues/146) - - Added `Logging.LimitDebug` and `Logging.LimitVerbose` options to limit logging to named scopes. [#235](https://github.com/BernieWhite/PSRule/issues/235) + - PSRule options are now displayed as YAML instead of a complex object. [#233](https://github.com/Microsoft/PSRule/issues/233) + - Add detection for improper keyword use. [#203](https://github.com/Microsoft/PSRule/issues/203) + - Automatically load rule modules. [#218](https://github.com/Microsoft/PSRule/issues/218) + - Added support for debug messages and `Write-Debug` in rule definitions. [#146](https://github.com/Microsoft/PSRule/issues/146) + - Added `Logging.LimitDebug` and `Logging.LimitVerbose` options to limit logging to named scopes. [#235](https://github.com/Microsoft/PSRule/issues/235) - Engine features: - - Added per object reason for failing rules. [#200](https://github.com/BernieWhite/PSRule/issues/200) + - Added per object reason for failing rules. [#200](https://github.com/Microsoft/PSRule/issues/200) - Keywords `Exists`, `Match`, `Within` and `TypeOf` automatically add a reason when they fail. - Custom reason can be set for keywords `Exists`, `Match`, `Within` and `TypeOf` with `-Reason`. - Added `Reason` keyword to add to reason for custom logic. @@ -126,14 +126,14 @@ What's changed since v0.7.0: - To use wide output use the `-OutputFormat Wide` parameter. - Renamed `-Message` parameter to `-Text` on the `Recommend` keyword. - The `-Message` is an alias of `-Text` and will be deprecated in the future. - - Added assertion helper `$Assert` for extensibility. [#250](https://github.com/BernieWhite/PSRule/issues/250) + - Added assertion helper `$Assert` for extensibility. [#250](https://github.com/Microsoft/PSRule/issues/250) - Add built-in assertions for `HasField`, `HasFieldValue` and `NullOrEmpty`. - - Add JSON schema assertion method `JsonSchema`. [#42](https://github.com/BernieWhite/PSRule/issues/42) + - Add JSON schema assertion method `JsonSchema`. [#42](https://github.com/Microsoft/PSRule/issues/42) - Bug fixes: - - Fix rule synopsis comment capture. [#214](https://github.com/BernieWhite/PSRule/issues/214) - - Fix YAML options file discovery issue in dotted directory. [#232](https://github.com/BernieWhite/PSRule/issues/232) - - Fix comparison of wrapped types and null with `Within`. [#237](https://github.com/BernieWhite/PSRule/issues/237) -- **Breaking change**: Use rule references consistent with cmdlet fully qualified syntax. [#217](https://github.com/BernieWhite/PSRule/issues/217) + - Fix rule synopsis comment capture. [#214](https://github.com/Microsoft/PSRule/issues/214) + - Fix YAML options file discovery issue in dotted directory. [#232](https://github.com/Microsoft/PSRule/issues/232) + - Fix comparison of wrapped types and null with `Within`. [#237](https://github.com/Microsoft/PSRule/issues/237) +- **Breaking change**: Use rule references consistent with cmdlet fully qualified syntax. [#217](https://github.com/Microsoft/PSRule/issues/217) - Rule names have to be unique within the current execution path or within a module. - Previously rule names only had to be unique within a single file. - Previously the `filename.rule.ps1/RuleName` was required to reference rules across files. @@ -142,23 +142,23 @@ What's changed since v0.7.0: What's changed since pre-release v0.8.0-B190806: -- Fix export of assertion helper variable `$Assert`. [#262](https://github.com/BernieWhite/PSRule/issues/262) +- Fix export of assertion helper variable `$Assert`. [#262](https://github.com/Microsoft/PSRule/issues/262) ## v0.8.0-B190806 (pre-release) -- Fix module reloading with different versions. [#254](https://github.com/BernieWhite/PSRule/issues/254) -- Fix not finding rules in current path by default. [#256](https://github.com/BernieWhite/PSRule/issues/256) -- Fix rule synopsis comment capture. [#214](https://github.com/BernieWhite/PSRule/issues/214) +- Fix module reloading with different versions. [#254](https://github.com/Microsoft/PSRule/issues/254) +- Fix not finding rules in current path by default. [#256](https://github.com/Microsoft/PSRule/issues/256) +- Fix rule synopsis comment capture. [#214](https://github.com/Microsoft/PSRule/issues/214) ## v0.8.0-B190742 (pre-release) -- Fix inconsistent handling of `$PWD`. [#249](https://github.com/BernieWhite/PSRule/issues/249) -- Add detection for improper keyword use. [#203](https://github.com/BernieWhite/PSRule/issues/203) -- Automatically load rule modules. [#218](https://github.com/BernieWhite/PSRule/issues/218) -- Added assertion helper `$Assert` for extensibility. [#250](https://github.com/BernieWhite/PSRule/issues/250) +- Fix inconsistent handling of `$PWD`. [#249](https://github.com/Microsoft/PSRule/issues/249) +- Add detection for improper keyword use. [#203](https://github.com/Microsoft/PSRule/issues/203) +- Automatically load rule modules. [#218](https://github.com/Microsoft/PSRule/issues/218) +- Added assertion helper `$Assert` for extensibility. [#250](https://github.com/Microsoft/PSRule/issues/250) - Add built-in assertions for `HasField`, `HasFieldValue` and `NullOrEmpty`. - - Add JSON schema assertion method `JsonSchema`. [#42](https://github.com/BernieWhite/PSRule/issues/42) -- **Breaking change**: Use rule references consistent with cmdlet fully qualified syntax. [#217](https://github.com/BernieWhite/PSRule/issues/217) + - Add JSON schema assertion method `JsonSchema`. [#42](https://github.com/Microsoft/PSRule/issues/42) +- **Breaking change**: Use rule references consistent with cmdlet fully qualified syntax. [#217](https://github.com/Microsoft/PSRule/issues/217) - Rule names have to be unique within the current execution path or within a module. - Previously rule names only had to be unique within a single file. - Previously the `filename.rule.ps1/RuleName` was required to reference rules across files. @@ -167,7 +167,7 @@ What's changed since pre-release v0.8.0-B190806: ## v0.8.0-B190716 (pre-release) -- Added per object reason for failing rules. [#200](https://github.com/BernieWhite/PSRule/issues/200) +- Added per object reason for failing rules. [#200](https://github.com/Microsoft/PSRule/issues/200) - The keywords `Exists`, `Match`, `Within` and `TypeOf` automatically add a reason when they fail. - Added `-Reason` parameter to `Exists`, `Match`, `Within` and `TypeOf` keywords to allow a custom reason to be set. - Added `Reason` keyword to add to reason for custom logic. @@ -178,41 +178,41 @@ What's changed since pre-release v0.8.0-B190806: ## v0.8.0-B190708 (pre-release) -- Fix YAML options file discovery issue in dotted directory. [#232](https://github.com/BernieWhite/PSRule/issues/232) -- Fix comparison of wrapped types and null with `Within`. [#237](https://github.com/BernieWhite/PSRule/issues/237) -- PSRule options are now displayed as YAML instead of a complex object. [#233](https://github.com/BernieWhite/PSRule/issues/233) -- Added support for debug messages and `Write-Debug` in rule definitions. [#146](https://github.com/BernieWhite/PSRule/issues/146) -- Added `Logging.LimitDebug` and `Logging.LimitVerbose` options to limit logging to named scopes. [#235](https://github.com/BernieWhite/PSRule/issues/235) +- Fix YAML options file discovery issue in dotted directory. [#232](https://github.com/Microsoft/PSRule/issues/232) +- Fix comparison of wrapped types and null with `Within`. [#237](https://github.com/Microsoft/PSRule/issues/237) +- PSRule options are now displayed as YAML instead of a complex object. [#233](https://github.com/Microsoft/PSRule/issues/233) +- Added support for debug messages and `Write-Debug` in rule definitions. [#146](https://github.com/Microsoft/PSRule/issues/146) +- Added `Logging.LimitDebug` and `Logging.LimitVerbose` options to limit logging to named scopes. [#235](https://github.com/Microsoft/PSRule/issues/235) ## v0.7.0 What's changed since v0.6.0: -- Fix reading nested arrays from JSON input. [#223](https://github.com/BernieWhite/PSRule/issues/223) -- Fix comparison of non-string types with `Within`. [#226](https://github.com/BernieWhite/PSRule/issues/226) -- Fix circular rule dependency issue. [#190](https://github.com/BernieWhite/PSRule/issues/190) -- Fix rule `DependsOn` parameter allows null. [#191](https://github.com/BernieWhite/PSRule/issues/191) -- Fix error message when attempting to use the rule keyword in a rule definition. [#189](https://github.com/BernieWhite/PSRule/issues/189) -- Fix TargetName binding when TargetName or Name property is null. [#202](https://github.com/BernieWhite/PSRule/issues/202) -- Fix handling of non-boolean results in rules. Rule is failed with more specific error message. [#187](https://github.com/BernieWhite/PSRule/issues/187) [#224](https://github.com/BernieWhite/PSRule/issues/224) -- Include .ps1 files that are specified directly with `-Path`, instead of only .Rule.ps1 files. [#182](https://github.com/BernieWhite/PSRule/issues/182) +- Fix reading nested arrays from JSON input. [#223](https://github.com/Microsoft/PSRule/issues/223) +- Fix comparison of non-string types with `Within`. [#226](https://github.com/Microsoft/PSRule/issues/226) +- Fix circular rule dependency issue. [#190](https://github.com/Microsoft/PSRule/issues/190) +- Fix rule `DependsOn` parameter allows null. [#191](https://github.com/Microsoft/PSRule/issues/191) +- Fix error message when attempting to use the rule keyword in a rule definition. [#189](https://github.com/Microsoft/PSRule/issues/189) +- Fix TargetName binding when TargetName or Name property is null. [#202](https://github.com/Microsoft/PSRule/issues/202) +- Fix handling of non-boolean results in rules. Rule is failed with more specific error message. [#187](https://github.com/Microsoft/PSRule/issues/187) [#224](https://github.com/Microsoft/PSRule/issues/224) +- Include .ps1 files that are specified directly with `-Path`, instead of only .Rule.ps1 files. [#182](https://github.com/Microsoft/PSRule/issues/182) - Improved warning message displayed when no Rule.ps1 files are founds. -- Added support for `Invoke-PSRule` to return CSV formatted results. [#169](https://github.com/BernieWhite/PSRule/issues/169) +- Added support for `Invoke-PSRule` to return CSV formatted results. [#169](https://github.com/Microsoft/PSRule/issues/169) - To generate CSV results use the `-OutputFormat Csv` parameter. - Added `Output.Path` option to allow output to be saved directly to file. - Added `Output.Encoding` option configure encoding used to write to file. - By default, UTF-8 encoding without BOM is used. - `Invoke-PSRule` cmdlet also provides a parameter `-OutputPath` to write results to file. -- Reordered cmdlet parameters to improve usage of frequently used parameters. [#175](https://github.com/BernieWhite/PSRule/issues/175) +- Reordered cmdlet parameters to improve usage of frequently used parameters. [#175](https://github.com/Microsoft/PSRule/issues/175) - `-Module` parameter will tab-complete with imported rule modules. -- Added culture support for PowerShell informational messages. [#158](https://github.com/BernieWhite/PSRule/issues/158) +- Added culture support for PowerShell informational messages. [#158](https://github.com/Microsoft/PSRule/issues/158) - A new `$LocalizedData` variable can be used within rule definitions. -- Added `-Not` switch to `Within` and `Match` keywords to allow negative comparison. [#208](https://github.com/BernieWhite/PSRule/issues/208) -- Improve discovery of rule tags. [#209](https://github.com/BernieWhite/PSRule/issues/209) +- Added `-Not` switch to `Within` and `Match` keywords to allow negative comparison. [#208](https://github.com/Microsoft/PSRule/issues/208) +- Improve discovery of rule tags. [#209](https://github.com/Microsoft/PSRule/issues/209) - Add wide format `-OutputFormat Wide` to `Get-PSRule` to allow output of rule tags. -- **Breaking change**: Changed rule filtering by tag to be case-insensitive. [#204](https://github.com/BernieWhite/PSRule/issues/204) +- **Breaking change**: Changed rule filtering by tag to be case-insensitive. [#204](https://github.com/Microsoft/PSRule/issues/204) - Previously tag value was case-sensitive, however this is confusing since PowerShell is case-insensitive by default. -- **Breaking change**: Rule time is recorded in milliseconds instead of seconds. [#192](https://github.com/BernieWhite/PSRule/issues/192) +- **Breaking change**: Rule time is recorded in milliseconds instead of seconds. [#192](https://github.com/Microsoft/PSRule/issues/192) What's changed since pre-release v0.7.0-B190664: @@ -220,134 +220,134 @@ What's changed since pre-release v0.7.0-B190664: ## v0.7.0-B190664 (pre-release) -- Fix reading nested arrays from JSON input. [#223](https://github.com/BernieWhite/PSRule/issues/223) -- Fix comparison of non-string types with `Within`. [#226](https://github.com/BernieWhite/PSRule/issues/226) -- Improve handling of null rule result. [#224](https://github.com/BernieWhite/PSRule/issues/224) +- Fix reading nested arrays from JSON input. [#223](https://github.com/Microsoft/PSRule/issues/223) +- Fix comparison of non-string types with `Within`. [#226](https://github.com/Microsoft/PSRule/issues/226) +- Improve handling of null rule result. [#224](https://github.com/Microsoft/PSRule/issues/224) ## v0.7.0-B190652 (pre-release) -- Fix TargetName binding when TargetName or Name property is null. [#202](https://github.com/BernieWhite/PSRule/issues/202) -- Add culture support for PowerShell informational messages. [#158](https://github.com/BernieWhite/PSRule/issues/158) +- Fix TargetName binding when TargetName or Name property is null. [#202](https://github.com/Microsoft/PSRule/issues/202) +- Add culture support for PowerShell informational messages. [#158](https://github.com/Microsoft/PSRule/issues/158) - A new `$LocalizedData` variable can be used within rule definitions. -- Add `-Not` switch to `Within` and `Match` keywords to allow negative comparison. [#208](https://github.com/BernieWhite/PSRule/issues/208) -- Improve discovery of rule tags. [#209](https://github.com/BernieWhite/PSRule/issues/209) +- Add `-Not` switch to `Within` and `Match` keywords to allow negative comparison. [#208](https://github.com/Microsoft/PSRule/issues/208) +- Improve discovery of rule tags. [#209](https://github.com/Microsoft/PSRule/issues/209) - Add wide format `-OutputFormat Wide` to `Get-PSRule` to allow output of rule tags. -- **Breaking change**: Change rule filtering by tag to be case-insensitive. [#204](https://github.com/BernieWhite/PSRule/issues/204) +- **Breaking change**: Change rule filtering by tag to be case-insensitive. [#204](https://github.com/Microsoft/PSRule/issues/204) - Previously tag value was case-sensitive, however this is confusing since PowerShell is case-insensitive by default. ## v0.7.0-B190633 (pre-release) -- Fix circular rule dependency issue. [#190](https://github.com/BernieWhite/PSRule/issues/190) -- Fix rule `DependsOn` parameter allows null. [#191](https://github.com/BernieWhite/PSRule/issues/191) -- Fix error message when attempting to use the rule keyword in a rule definition. [#189](https://github.com/BernieWhite/PSRule/issues/189) -- **Breaking change**: Rule time is recorded in milliseconds instead of seconds. [#192](https://github.com/BernieWhite/PSRule/issues/192) +- Fix circular rule dependency issue. [#190](https://github.com/Microsoft/PSRule/issues/190) +- Fix rule `DependsOn` parameter allows null. [#191](https://github.com/Microsoft/PSRule/issues/191) +- Fix error message when attempting to use the rule keyword in a rule definition. [#189](https://github.com/Microsoft/PSRule/issues/189) +- **Breaking change**: Rule time is recorded in milliseconds instead of seconds. [#192](https://github.com/Microsoft/PSRule/issues/192) ## v0.7.0-B190624 (pre-release) -- Fix handling of non-boolean results in rules. Rule is failed with more specific error message. [#187](https://github.com/BernieWhite/PSRule/issues/187) -- Include .ps1 files that are specified directly with `-Path`, instead of only .rule.ps1 files. [#182](https://github.com/BernieWhite/PSRule/issues/182) +- Fix handling of non-boolean results in rules. Rule is failed with more specific error message. [#187](https://github.com/Microsoft/PSRule/issues/187) +- Include .ps1 files that are specified directly with `-Path`, instead of only .rule.ps1 files. [#182](https://github.com/Microsoft/PSRule/issues/182) - Improved warning message displayed when no Rule.ps1 files are founds. ## v0.7.0-B190613 (pre-release) -- Added support for `Invoke-PSRule` to return CSV formatted results. [#169](https://github.com/BernieWhite/PSRule/issues/169) +- Added support for `Invoke-PSRule` to return CSV formatted results. [#169](https://github.com/Microsoft/PSRule/issues/169) - To generate CSV results use the `-OutputFormat Csv` parameter. - Added `Output.Path` option to allow output to be saved directly to file. - Added `Output.Encoding` option configure encoding used to write to file. - By default, UTF-8 encoding without BOM is used. - `Invoke-PSRule` cmdlet also provides a parameter `-OutputPath` to write results to file. -- Reordered cmdlet parameters to improve usage of frequently used parameters. [#175](https://github.com/BernieWhite/PSRule/issues/175) +- Reordered cmdlet parameters to improve usage of frequently used parameters. [#175](https://github.com/Microsoft/PSRule/issues/175) - `-Module` parameter will tab-complete with imported rule modules. ## v0.6.0 What's changed since v0.5.0: -- Fix operation is not supported on this platform failure. [#152](https://github.com/BernieWhite/PSRule/issues/152) -- Fix FullName cannot be found on this object error. [#149](https://github.com/BernieWhite/PSRule/issues/149) -- Fix discovery of rules within paths that contain spaces fails. [#168](https://github.com/BernieWhite/PSRule/issues/168) -- Added rule documentation, which allows additional rule information to be stored in markdown files. [#157](https://github.com/BernieWhite/PSRule/issues/157) - - Rule documentation also adds culture support. [#18](https://github.com/BernieWhite/PSRule/issues/18) +- Fix operation is not supported on this platform failure. [#152](https://github.com/Microsoft/PSRule/issues/152) +- Fix FullName cannot be found on this object error. [#149](https://github.com/Microsoft/PSRule/issues/149) +- Fix discovery of rules within paths that contain spaces fails. [#168](https://github.com/Microsoft/PSRule/issues/168) +- Added rule documentation, which allows additional rule information to be stored in markdown files. [#157](https://github.com/Microsoft/PSRule/issues/157) + - Rule documentation also adds culture support. [#18](https://github.com/Microsoft/PSRule/issues/18) - Rule documentation can be accessed like help with the `Get-PSRuleHelp` cmdlet. -- Added annotations, which are non-indexed metadata stored in rule documentation. [#148](https://github.com/BernieWhite/PSRule/issues/148) - - Annotations can contain a link to online version of the documentation. [#147](https://github.com/BernieWhite/PSRule/issues/147) -- **Important change**: Changed `Hint` keyword to `Recommend` to align with rule documentation. [#165](https://github.com/BernieWhite/PSRule/issues/165) +- Added annotations, which are non-indexed metadata stored in rule documentation. [#148](https://github.com/Microsoft/PSRule/issues/148) + - Annotations can contain a link to online version of the documentation. [#147](https://github.com/Microsoft/PSRule/issues/147) +- **Important change**: Changed `Hint` keyword to `Recommend` to align with rule documentation. [#165](https://github.com/Microsoft/PSRule/issues/165) - Use of `Hint` keyword is deprecated and will be removed in a future release. Currently `Hint` is aliased to `Recommend` for compatibility. -- **Breaking change**: Changed rule properties to align with rule documentation. [#164](https://github.com/BernieWhite/PSRule/issues/164) +- **Breaking change**: Changed rule properties to align with rule documentation. [#164](https://github.com/Microsoft/PSRule/issues/164) - Rule `Synopsis`, is a brief summary of the rule and `Description` is a detailed purpose of the rule. - `Description:` metadata keyword used in comment help is now `Synopsis:`, use of `Description:` will set synopsis. Description metadata keyword is deprecated and will be removed in a future update. - Output property `Message` on rule results is now `Recommendation`. What's changed since pre-release v0.6.0-B190627: -- Fix discovery of rules within paths that contain spaces fails. [#168](https://github.com/BernieWhite/PSRule/issues/168) -- Fix exporting of `Recommend` keyword and `Hint` alias. [#171](https://github.com/BernieWhite/PSRule/issues/171) +- Fix discovery of rules within paths that contain spaces fails. [#168](https://github.com/Microsoft/PSRule/issues/168) +- Fix exporting of `Recommend` keyword and `Hint` alias. [#171](https://github.com/Microsoft/PSRule/issues/171) ## v0.6.0-B190627 (pre-release) -- **Important change**: Changed `Hint` keyword to `Recommend` to align with rule documentation. [#165](https://github.com/BernieWhite/PSRule/issues/165) +- **Important change**: Changed `Hint` keyword to `Recommend` to align with rule documentation. [#165](https://github.com/Microsoft/PSRule/issues/165) - Use of `Hint` keyword is deprecated and will be removed in a future release. Currently `Hint` is aliased to `Recommend` for compatibility. -- **Breaking change**: Changed rule properties to align with rule documentation. [#164](https://github.com/BernieWhite/PSRule/issues/164) +- **Breaking change**: Changed rule properties to align with rule documentation. [#164](https://github.com/Microsoft/PSRule/issues/164) - Rule `Synopsis`, is a brief summary of the rule and `Description` is a detailed purpose of the rule. - `Description:` metadata keyword used in comment help is now `Synopsis:`, use of `Description:` will set synopsis. Description metadata keyword is deprecated and will be removed in a future update. - Output property `Message` on rule results is now `Recommendation`. ## v0.6.0-B190614 (pre-release) -- Added rule documentation, which allows additional rule information to be stored in markdown files. [#157](https://github.com/BernieWhite/PSRule/issues/157) - - Rule documentation also adds culture support. [#18](https://github.com/BernieWhite/PSRule/issues/18) +- Added rule documentation, which allows additional rule information to be stored in markdown files. [#157](https://github.com/Microsoft/PSRule/issues/157) + - Rule documentation also adds culture support. [#18](https://github.com/Microsoft/PSRule/issues/18) - Rule documentation can be accessed like help with the `Get-PSRuleHelp` cmdlet. -- Added annotations, which are non-indexed metadata stored in rule documentation. [#148](https://github.com/BernieWhite/PSRule/issues/148) - - Annotations can contain a link to online version of the documentation. [#147](https://github.com/BernieWhite/PSRule/issues/147) +- Added annotations, which are non-indexed metadata stored in rule documentation. [#148](https://github.com/Microsoft/PSRule/issues/148) + - Annotations can contain a link to online version of the documentation. [#147](https://github.com/Microsoft/PSRule/issues/147) ## v0.6.0-B190514 (pre-release) -- Fix operation is not supported on this platform failure. [#152](https://github.com/BernieWhite/PSRule/issues/152) -- Fix FullName cannot be found on this object error. [#149](https://github.com/BernieWhite/PSRule/issues/149) +- Fix operation is not supported on this platform failure. [#152](https://github.com/Microsoft/PSRule/issues/152) +- Fix FullName cannot be found on this object error. [#149](https://github.com/Microsoft/PSRule/issues/149) ## v0.5.0 What's changed since v0.4.0: -- Fix PSRule options schema usage of additionalProperties. [#136](https://github.com/BernieWhite/PSRule/issues/136) -- Fix null reference exception when traversing null field. [#123](https://github.com/BernieWhite/PSRule/issues/123) -- Fix missing help topics for options and variables. [#125](https://github.com/BernieWhite/PSRule/issues/125) -- Improved handling of default YAML options file. [#137](https://github.com/BernieWhite/PSRule/issues/137) -- Added support for `Invoke-PSRule` to return NUnit3 formatted results. [#129](https://github.com/BernieWhite/PSRule/issues/129) +- Fix PSRule options schema usage of additionalProperties. [#136](https://github.com/Microsoft/PSRule/issues/136) +- Fix null reference exception when traversing null field. [#123](https://github.com/Microsoft/PSRule/issues/123) +- Fix missing help topics for options and variables. [#125](https://github.com/Microsoft/PSRule/issues/125) +- Improved handling of default YAML options file. [#137](https://github.com/Microsoft/PSRule/issues/137) +- Added support for `Invoke-PSRule` to return NUnit3 formatted results. [#129](https://github.com/Microsoft/PSRule/issues/129) - To generate NUnit3 results use the `-OutputFormat NUnit3` parameter. -- Added `Set-PSRuleOption` cmdlet to configure YAML options file. [#135](https://github.com/BernieWhite/PSRule/issues/135) -- Added parameters to New-PSRuleOption to configure common options. [#134](https://github.com/BernieWhite/PSRule/issues/134) +- Added `Set-PSRuleOption` cmdlet to configure YAML options file. [#135](https://github.com/Microsoft/PSRule/issues/135) +- Added parameters to New-PSRuleOption to configure common options. [#134](https://github.com/Microsoft/PSRule/issues/134) - Additional parameters are an alternative to using a `-Option` hashtable. What's changed since pre-release v0.5.0-B190423: -- Fix schema conformance of `-OutputFormat NUnit3` to NUnit report schema. [#141](https://github.com/BernieWhite/PSRule/issues/141) -- Fix PSRule options schema usage of additionalProperties. [#136](https://github.com/BernieWhite/PSRule/issues/136) +- Fix schema conformance of `-OutputFormat NUnit3` to NUnit report schema. [#141](https://github.com/Microsoft/PSRule/issues/141) +- Fix PSRule options schema usage of additionalProperties. [#136](https://github.com/Microsoft/PSRule/issues/136) ## v0.5.0-B190423 (pre-release) -- Added support for `Invoke-PSRule` to return NUnit3 formatted results. [#129](https://github.com/BernieWhite/PSRule/issues/129) +- Added support for `Invoke-PSRule` to return NUnit3 formatted results. [#129](https://github.com/Microsoft/PSRule/issues/129) - To generate NUnit3 results use the `-OutputFormat NUnit3` parameter. -- Added `Set-PSRuleOption` cmdlet to configure YAML options file. [#135](https://github.com/BernieWhite/PSRule/issues/135) -- Added parameters to New-PSRuleOption to configure common options. [#134](https://github.com/BernieWhite/PSRule/issues/134) +- Added `Set-PSRuleOption` cmdlet to configure YAML options file. [#135](https://github.com/Microsoft/PSRule/issues/135) +- Added parameters to New-PSRuleOption to configure common options. [#134](https://github.com/Microsoft/PSRule/issues/134) - Additional parameters are an alternative to using a `-Option` hashtable. -- Improved handling of default YAML options file. [#137](https://github.com/BernieWhite/PSRule/issues/137) +- Improved handling of default YAML options file. [#137](https://github.com/Microsoft/PSRule/issues/137) ## v0.5.0-B190405 (pre-release) -- Fix null reference exception when traversing null field. [#123](https://github.com/BernieWhite/PSRule/issues/123) -- Fix missing help topics for options and variables. [#125](https://github.com/BernieWhite/PSRule/issues/125) +- Fix null reference exception when traversing null field. [#123](https://github.com/Microsoft/PSRule/issues/123) +- Fix missing help topics for options and variables. [#125](https://github.com/Microsoft/PSRule/issues/125) ## v0.4.0 What's changed since v0.3.0: -- Fix incorrect JSON de-serialization. [#109](https://github.com/BernieWhite/PSRule/issues/109) [#111](https://github.com/BernieWhite/PSRule/issues/111) -- Added support for using `-InputPath` instead of using `-InputObject` to handle serialized objects. [#106](https://github.com/BernieWhite/PSRule/issues/106) +- Fix incorrect JSON de-serialization. [#109](https://github.com/Microsoft/PSRule/issues/109) [#111](https://github.com/Microsoft/PSRule/issues/111) +- Added support for using `-InputPath` instead of using `-InputObject` to handle serialized objects. [#106](https://github.com/Microsoft/PSRule/issues/106) - `-Format` is automatically detected for `.yaml`, `.yml` and `.json` file extensions. -- Added `-OutputFormat` parameter to serialize output from `Invoke-PSRule` as YAML or JSON. [#29](https://github.com/BernieWhite/PSRule/issues/29) -- Added support for logging pass or fail outcomes to a data stream such as Error, Warning or Information. [#97](https://github.com/BernieWhite/PSRule/issues/97) -- **Breaking change**: Deprecated usage of the `-TargetName` parameter on the `Hint` keyword has been removed. [#81](https://github.com/BernieWhite/PSRule/issues/81) +- Added `-OutputFormat` parameter to serialize output from `Invoke-PSRule` as YAML or JSON. [#29](https://github.com/Microsoft/PSRule/issues/29) +- Added support for logging pass or fail outcomes to a data stream such as Error, Warning or Information. [#97](https://github.com/Microsoft/PSRule/issues/97) +- **Breaking change**: Deprecated usage of the `-TargetName` parameter on the `Hint` keyword has been removed. [#81](https://github.com/Microsoft/PSRule/issues/81) What's changed since pre-release v0.4.0-B190328: @@ -355,94 +355,94 @@ What's changed since pre-release v0.4.0-B190328: ## v0.4.0-B190328 (pre-release) -- Fix summary is not correctly serialized with JSON or YAML output format. [#116](https://github.com/BernieWhite/PSRule/issues/116) -- Fix missing properties on serialized YAML output. [#115](https://github.com/BernieWhite/PSRule/issues/115) -- Fix incorrect property name case of YAML serialized results. [#114](https://github.com/BernieWhite/PSRule/issues/114) +- Fix summary is not correctly serialized with JSON or YAML output format. [#116](https://github.com/Microsoft/PSRule/issues/116) +- Fix missing properties on serialized YAML output. [#115](https://github.com/Microsoft/PSRule/issues/115) +- Fix incorrect property name case of YAML serialized results. [#114](https://github.com/Microsoft/PSRule/issues/114) ## v0.4.0-B190320 (pre-release) -- Fix incorrect JSON de-serialization of nested arrays. [#109](https://github.com/BernieWhite/PSRule/issues/109) -- Fix incorrect JSON de-serialization of non-object arrays. [#111](https://github.com/BernieWhite/PSRule/issues/111) +- Fix incorrect JSON de-serialization of nested arrays. [#109](https://github.com/Microsoft/PSRule/issues/109) +- Fix incorrect JSON de-serialization of non-object arrays. [#111](https://github.com/Microsoft/PSRule/issues/111) ## v0.4.0-B190311 (pre-release) -- Added support for using `-InputPath` instead of using `-InputObject` to handle serialized objects. [#106](https://github.com/BernieWhite/PSRule/issues/106) +- Added support for using `-InputPath` instead of using `-InputObject` to handle serialized objects. [#106](https://github.com/Microsoft/PSRule/issues/106) - `-Format` is automatically detected for `.yaml`, `.yml` and `.json` file extensions. -- Added `-OutputFormat` parameter to serialize output from `Invoke-PSRule`. [#29](https://github.com/BernieWhite/PSRule/issues/29) -- Added support for logging pass or fail outcomes to a data stream such as Error, Warning or Information. [#97](https://github.com/BernieWhite/PSRule/issues/97) -- **Breaking change**: Deprecated usage of the `-TargetName` parameter on the `Hint` keyword has been removed. [#81](https://github.com/BernieWhite/PSRule/issues/81) +- Added `-OutputFormat` parameter to serialize output from `Invoke-PSRule`. [#29](https://github.com/Microsoft/PSRule/issues/29) +- Added support for logging pass or fail outcomes to a data stream such as Error, Warning or Information. [#97](https://github.com/Microsoft/PSRule/issues/97) +- **Breaking change**: Deprecated usage of the `-TargetName` parameter on the `Hint` keyword has been removed. [#81](https://github.com/Microsoft/PSRule/issues/81) ## v0.3.0 What's changed since v0.2.0: -- Added support for pipelining with `Exists`, `Within`, `Match` and `TypeOf` keywords [#90](https://github.com/BernieWhite/PSRule/issues/90) -- Added support for packaging rules in modules [#16](https://github.com/BernieWhite/PSRule/issues/16) -- Import objects from YAML or JSON format [#75](https://github.com/BernieWhite/PSRule/issues/75) - - Added support for input de-serialization from FileInfo objects [#95](https://github.com/BernieWhite/PSRule/issues/95) -- Support nested TargetObjects [#77](https://github.com/BernieWhite/PSRule/issues/77) -- Export variables to improve authoring experience [#83](https://github.com/BernieWhite/PSRule/issues/83) +- Added support for pipelining with `Exists`, `Within`, `Match` and `TypeOf` keywords [#90](https://github.com/Microsoft/PSRule/issues/90) +- Added support for packaging rules in modules [#16](https://github.com/Microsoft/PSRule/issues/16) +- Import objects from YAML or JSON format [#75](https://github.com/Microsoft/PSRule/issues/75) + - Added support for input de-serialization from FileInfo objects [#95](https://github.com/Microsoft/PSRule/issues/95) +- Support nested TargetObjects [#77](https://github.com/Microsoft/PSRule/issues/77) +- Export variables to improve authoring experience [#83](https://github.com/Microsoft/PSRule/issues/83) - Binding improvements: - - Added object type binding and dynamic filtering for rules [#82](https://github.com/BernieWhite/PSRule/issues/82) - - Added support for indexed and quoted field names [#86](https://github.com/BernieWhite/PSRule/issues/86) - - Added support for case-sensitive binding operations [#87](https://github.com/BernieWhite/PSRule/issues/87) + - Added object type binding and dynamic filtering for rules [#82](https://github.com/Microsoft/PSRule/issues/82) + - Added support for indexed and quoted field names [#86](https://github.com/Microsoft/PSRule/issues/86) + - Added support for case-sensitive binding operations [#87](https://github.com/Microsoft/PSRule/issues/87) - Binding ignores case by default. Set option `Binding.CaseSensitive` to `true` to enable case-sensitivity. - - Support TargetName binding of nested properties [#71](https://github.com/BernieWhite/PSRule/issues/71) -- Added online help links to keywords [#72](https://github.com/BernieWhite/PSRule/issues/72) -- Added schema for PSRule options [#74](https://github.com/BernieWhite/PSRule/issues/74) -- **Important change**: The `-TargetName` parameter of the `Hint` keyword has been deprecated [#81](https://github.com/BernieWhite/PSRule/issues/81) + - Support TargetName binding of nested properties [#71](https://github.com/Microsoft/PSRule/issues/71) +- Added online help links to keywords [#72](https://github.com/Microsoft/PSRule/issues/72) +- Added schema for PSRule options [#74](https://github.com/Microsoft/PSRule/issues/74) +- **Important change**: The `-TargetName` parameter of the `Hint` keyword has been deprecated [#81](https://github.com/Microsoft/PSRule/issues/81) - `-TargetName` parameter not longer sets the pipeline object _TargetName_ and generates a warning instead. - The `-TargetName` will be completely removed in **v0.4.0**, at which time using the parameter will generate an error. -- **Breaking change**: Changed parameter alias for `-Path` from `-f` to `-p` [#99](https://github.com/BernieWhite/PSRule/issues/99) +- **Breaking change**: Changed parameter alias for `-Path` from `-f` to `-p` [#99](https://github.com/Microsoft/PSRule/issues/99) What's changed since pre-release v0.3.0-B190231: -- Added support for input de-serialization from FileInfo objects [#95](https://github.com/BernieWhite/PSRule/issues/95) -- **Breaking change**: Changed parameter alias for `-Path` from `-f` to `-p` [#99](https://github.com/BernieWhite/PSRule/issues/99) +- Added support for input de-serialization from FileInfo objects [#95](https://github.com/Microsoft/PSRule/issues/95) +- **Breaking change**: Changed parameter alias for `-Path` from `-f` to `-p` [#99](https://github.com/Microsoft/PSRule/issues/99) ## v0.3.0-B190231 (pre-release) -- Added support for pipelining with `Exists`, `Within`, `Match` and `TypeOf` keywords [#90](https://github.com/BernieWhite/PSRule/issues/90) -- Fix empty YAML object causes format de-serialize to fail [#92](https://github.com/BernieWhite/PSRule/issues/92) +- Added support for pipelining with `Exists`, `Within`, `Match` and `TypeOf` keywords [#90](https://github.com/Microsoft/PSRule/issues/90) +- Fix empty YAML object causes format de-serialize to fail [#92](https://github.com/Microsoft/PSRule/issues/92) ## v0.3.0-B190224 (pre-release) -- Export variables to improve authoring experience [#83](https://github.com/BernieWhite/PSRule/issues/83) -- Added support for packaging rules in modules [#16](https://github.com/BernieWhite/PSRule/issues/16) -- Added support for indexed and quoted field names [#86](https://github.com/BernieWhite/PSRule/issues/86) -- Added object type binding and dynamic filtering for rules [#82](https://github.com/BernieWhite/PSRule/issues/82) -- Added support for case-sensitive binding operations [#87](https://github.com/BernieWhite/PSRule/issues/87) +- Export variables to improve authoring experience [#83](https://github.com/Microsoft/PSRule/issues/83) +- Added support for packaging rules in modules [#16](https://github.com/Microsoft/PSRule/issues/16) +- Added support for indexed and quoted field names [#86](https://github.com/Microsoft/PSRule/issues/86) +- Added object type binding and dynamic filtering for rules [#82](https://github.com/Microsoft/PSRule/issues/82) +- Added support for case-sensitive binding operations [#87](https://github.com/Microsoft/PSRule/issues/87) - Binding ignores case by default. Set option `Binding.CaseSensitive` to `true` to enable case-sensitivity. -- **Important change**: The `-TargetName` parameter of the `Hint` keyword has been deprecated [#81](https://github.com/BernieWhite/PSRule/issues/81) +- **Important change**: The `-TargetName` parameter of the `Hint` keyword has been deprecated [#81](https://github.com/Microsoft/PSRule/issues/81) - `-TargetName` parameter not longer sets the pipeline object _TargetName_ and generates a warning instead. - The `-TargetName` will be completely removed in **v0.4.0**, at which time using the parameter will generate an error. ## v0.3.0-B190208 (pre-release) -- Added online help links to keywords [#72](https://github.com/BernieWhite/PSRule/issues/72) -- Added schema for PSRule options [#74](https://github.com/BernieWhite/PSRule/issues/74) -- Import objects from YAML or JSON format [#75](https://github.com/BernieWhite/PSRule/issues/75) -- Support TargetName binding of nested properties [#71](https://github.com/BernieWhite/PSRule/issues/71) -- Support nested TargetObjects [#77](https://github.com/BernieWhite/PSRule/issues/77) +- Added online help links to keywords [#72](https://github.com/Microsoft/PSRule/issues/72) +- Added schema for PSRule options [#74](https://github.com/Microsoft/PSRule/issues/74) +- Import objects from YAML or JSON format [#75](https://github.com/Microsoft/PSRule/issues/75) +- Support TargetName binding of nested properties [#71](https://github.com/Microsoft/PSRule/issues/71) +- Support nested TargetObjects [#77](https://github.com/Microsoft/PSRule/issues/77) ## v0.2.0 What's changed since v0.1.0: -- Added support for cross-platform environments (Windows, Linux and macOS) [#49](https://github.com/BernieWhite/PSRule/issues/49) -- Added support for nested field names with `Exists`, `Within` and `Match` keywords [#60](https://github.com/BernieWhite/PSRule/issues/60) -- Added support for rule configuration using baselines [#17](https://github.com/BernieWhite/PSRule/issues/17) -- Use rule description when hint message not set [#61](https://github.com/BernieWhite/PSRule/issues/61) -- Allow objects to be suppressed by _TargetName_ for individual rules [#13](https://github.com/BernieWhite/PSRule/issues/13) -- Allow binding of _TargetName_ to custom property [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Custom functions can be used to bind _TargetName_ [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Objects that are unable to bind a _TargetName_ will use a SHA1 object hash for _TargetName_ [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Added `Test-PSRuleTarget` command to return an overall `$True` or `$False` after evaluating rules for an object [#30](https://github.com/BernieWhite/PSRule/issues/30) -- Improve reporting of inconclusive results and objects that are not processed by any rule [#46](https://github.com/BernieWhite/PSRule/issues/46) +- Added support for cross-platform environments (Windows, Linux and macOS) [#49](https://github.com/Microsoft/PSRule/issues/49) +- Added support for nested field names with `Exists`, `Within` and `Match` keywords [#60](https://github.com/Microsoft/PSRule/issues/60) +- Added support for rule configuration using baselines [#17](https://github.com/Microsoft/PSRule/issues/17) +- Use rule description when hint message not set [#61](https://github.com/Microsoft/PSRule/issues/61) +- Allow objects to be suppressed by _TargetName_ for individual rules [#13](https://github.com/Microsoft/PSRule/issues/13) +- Allow binding of _TargetName_ to custom property [#44](https://github.com/Microsoft/PSRule/issues/44) +- Custom functions can be used to bind _TargetName_ [#44](https://github.com/Microsoft/PSRule/issues/44) +- Objects that are unable to bind a _TargetName_ will use a SHA1 object hash for _TargetName_ [#44](https://github.com/Microsoft/PSRule/issues/44) +- Added `Test-PSRuleTarget` command to return an overall `$True` or `$False` after evaluating rules for an object [#30](https://github.com/Microsoft/PSRule/issues/30) +- Improve reporting of inconclusive results and objects that are not processed by any rule [#46](https://github.com/Microsoft/PSRule/issues/46) - Inconclusive results and objects not processed will return a warning by default. -- Fix propagation of informational messages to host from rule scripts and definitions [#48](https://github.com/BernieWhite/PSRule/issues/48) -- Fix Get-PSRule generates exception when no .rule.ps1 scripts exist in path [#53](https://github.com/BernieWhite/PSRule/issues/53) -- Fix LocalizedData.PathNotFound warning when no .rule.ps1 scripts exist in path [#54](https://github.com/BernieWhite/PSRule/issues/54) +- Fix propagation of informational messages to host from rule scripts and definitions [#48](https://github.com/Microsoft/PSRule/issues/48) +- Fix Get-PSRule generates exception when no .rule.ps1 scripts exist in path [#53](https://github.com/Microsoft/PSRule/issues/53) +- Fix LocalizedData.PathNotFound warning when no .rule.ps1 scripts exist in path [#54](https://github.com/Microsoft/PSRule/issues/54) What's changed since pre-release v0.2.0-B190121: @@ -450,27 +450,27 @@ What's changed since pre-release v0.2.0-B190121: ## v0.2.0-B190121 (pre-release) -- Added support for nested field names with `Exists`, `Within` and `Match` keywords [#60](https://github.com/BernieWhite/PSRule/issues/60) -- Added support for rule configuration using baselines [#17](https://github.com/BernieWhite/PSRule/issues/17) -- Use rule description when hint message not set [#61](https://github.com/BernieWhite/PSRule/issues/61) +- Added support for nested field names with `Exists`, `Within` and `Match` keywords [#60](https://github.com/Microsoft/PSRule/issues/60) +- Added support for rule configuration using baselines [#17](https://github.com/Microsoft/PSRule/issues/17) +- Use rule description when hint message not set [#61](https://github.com/Microsoft/PSRule/issues/61) ## v0.2.0-B190113 (pre-release) -- Fix Get-PSRule generates exception when no .rule.ps1 scripts exist in path [#53](https://github.com/BernieWhite/PSRule/issues/53) -- Fix LocalizedData.PathNotFound warning when no .rule.ps1 scripts exist in path [#54](https://github.com/BernieWhite/PSRule/issues/54) -- **Breaking change**: Renamed `Test-PSRule` cmdlet to `Test-PSRuleTarget` which aligns more closely to the verb-noun naming standard [#57](https://github.com/BernieWhite/PSRule/issues/57) +- Fix Get-PSRule generates exception when no .rule.ps1 scripts exist in path [#53](https://github.com/Microsoft/PSRule/issues/53) +- Fix LocalizedData.PathNotFound warning when no .rule.ps1 scripts exist in path [#54](https://github.com/Microsoft/PSRule/issues/54) +- **Breaking change**: Renamed `Test-PSRule` cmdlet to `Test-PSRuleTarget` which aligns more closely to the verb-noun naming standard [#57](https://github.com/Microsoft/PSRule/issues/57) ## v0.2.0-B190105 (pre-release) -- Allow objects to be suppressed by _TargetName_ for individual rules [#13](https://github.com/BernieWhite/PSRule/issues/13) -- Allow binding of _TargetName_ to custom property [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Custom functions can be used to bind _TargetName_ [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Objects that are unable to bind a _TargetName_ will use a SHA1 object hash for _TargetName_ [#44](https://github.com/BernieWhite/PSRule/issues/44) -- Added `Test-PSRule` command to return an overall `$True` or `$False` after evaluating rules for an object [#30](https://github.com/BernieWhite/PSRule/issues/30) -- Improve reporting of inconclusive results and objects that are not processed by any rule [#46](https://github.com/BernieWhite/PSRule/issues/46) +- Allow objects to be suppressed by _TargetName_ for individual rules [#13](https://github.com/Microsoft/PSRule/issues/13) +- Allow binding of _TargetName_ to custom property [#44](https://github.com/Microsoft/PSRule/issues/44) +- Custom functions can be used to bind _TargetName_ [#44](https://github.com/Microsoft/PSRule/issues/44) +- Objects that are unable to bind a _TargetName_ will use a SHA1 object hash for _TargetName_ [#44](https://github.com/Microsoft/PSRule/issues/44) +- Added `Test-PSRule` command to return an overall `$True` or `$False` after evaluating rules for an object [#30](https://github.com/Microsoft/PSRule/issues/30) +- Improve reporting of inconclusive results and objects that are not processed by any rule [#46](https://github.com/Microsoft/PSRule/issues/46) - Inconclusive results and objects not processed will return a warning by default. -- Fix propagation of informational messages to host from rule scripts and definitions [#48](https://github.com/BernieWhite/PSRule/issues/48) -- Added support for cross-platform environments (Windows, Linux and macOS) [#49](https://github.com/BernieWhite/PSRule/issues/49) +- Fix propagation of informational messages to host from rule scripts and definitions [#48](https://github.com/Microsoft/PSRule/issues/48) +- Added support for cross-platform environments (Windows, Linux and macOS) [#49](https://github.com/Microsoft/PSRule/issues/49) ## v0.1.0 @@ -478,9 +478,9 @@ What's changed since pre-release v0.2.0-B190121: What's changed since pre-release v0.1.0-B181235: -- Fix outcome filtering of summary results [#33](https://github.com/BernieWhite/PSRule/issues/33) -- Fix target object counter in verbose logging [#35](https://github.com/BernieWhite/PSRule/issues/35) -- Fix hashtable keys should be handled as fields [#36](https://github.com/BernieWhite/PSRule/issues/36) +- Fix outcome filtering of summary results [#33](https://github.com/Microsoft/PSRule/issues/33) +- Fix target object counter in verbose logging [#35](https://github.com/Microsoft/PSRule/issues/35) +- Fix hashtable keys should be handled as fields [#36](https://github.com/Microsoft/PSRule/issues/36) ## v0.1.0-B181235 (pre-release) @@ -494,9 +494,9 @@ What's changed since pre-release v0.1.0-B181235: ## v0.1.0-B181222 (pre-release) -- Added rule tags to results to enable grouping and sorting [#14](https://github.com/BernieWhite/PSRule/issues/14) +- Added rule tags to results to enable grouping and sorting [#14](https://github.com/Microsoft/PSRule/issues/14) - Added support to check for rule tag existence. Use `*` for tag value on `-Tag` parameter with `Invoke-PSRule` and `Get-PSRule` -- Added option to report rule summary using `-As` parameter of `Invoke-PSRule` [#12](https://github.com/BernieWhite/PSRule/issues/12) +- Added option to report rule summary using `-As` parameter of `Invoke-PSRule` [#12](https://github.com/Microsoft/PSRule/issues/12) ## v0.1.0-B181212 (pre-release) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6d4a039cc..6d7e4e3c0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any addi ## Contributing to Issues -- Check if the issue you are going to file already exists in our GitHub [issues](https://github.com/BernieWhite/PSRule/issues). +- Check if the issue you are going to file already exists in our GitHub [issues](https://github.com/Microsoft/PSRule/issues). - If you do not see your problem captured, please file a new issue and follow the provided template. [learn-git]: https://help.github.com/en/articles/git-and-github-learning-resources diff --git a/README.md b/README.md index 6fddb3b59..4c9b50767 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ Features of PSRule include: This project is to be considered a **proof-of-concept** and **not a supported product**. -If you have any problems please check our GitHub [issues](https://github.com/BernieWhite/PSRule/issues) page. If you do not see your problem captured, please file a new issue and follow the provided template. +If you have any problems please check our GitHub [issues](https://github.com/Microsoft/PSRule/issues) page. +If you do not see your problem captured, please file a new issue and follow the provided template. ## Getting the module @@ -47,7 +48,8 @@ Rule 'NameOfRule' { } ``` -Within the body of the rule provide one or more conditions. A condition is valid PowerShell that results in `$True` or `$False`. +Within the body of the rule provide one or more conditions. +A condition is valid PowerShell that results in `$True` or `$False`. For example: @@ -70,7 +72,8 @@ Rule 'isFruit' { } ``` -The rule is saved to a file named [`isFruit.Rule.ps1`](docs/scenarios/fruit/isFruit.Rule.ps1) file. One or more rules can be defined within a single file. +The rule is saved to a file named [`isFruit.Rule.ps1`](docs/scenarios/fruit/isFruit.Rule.ps1) file. +One or more rules can be defined within a single file. ### Execute a rule diff --git a/docs/commands/PSRule/en-US/Assert-PSRule.md b/docs/commands/PSRule/en-US/Assert-PSRule.md index 1dfeafed9..84c801316 100644 --- a/docs/commands/PSRule/en-US/Assert-PSRule.md +++ b/docs/commands/PSRule/en-US/Assert-PSRule.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Assert-PSRule.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Assert-PSRule.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/Get-PSRule.md b/docs/commands/PSRule/en-US/Get-PSRule.md index 4208a687d..f8d532ccc 100644 --- a/docs/commands/PSRule/en-US/Get-PSRule.md +++ b/docs/commands/PSRule/en-US/Get-PSRule.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Get-PSRule.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Get-PSRule.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/Get-PSRuleBaseline.md b/docs/commands/PSRule/en-US/Get-PSRuleBaseline.md index 44dd49377..f6511a762 100644 --- a/docs/commands/PSRule/en-US/Get-PSRuleBaseline.md +++ b/docs/commands/PSRule/en-US/Get-PSRuleBaseline.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Get-PSRuleBaseline.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Get-PSRuleBaseline.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/Get-PSRuleHelp.md b/docs/commands/PSRule/en-US/Get-PSRuleHelp.md index 52f069d12..3940830bc 100644 --- a/docs/commands/PSRule/en-US/Get-PSRuleHelp.md +++ b/docs/commands/PSRule/en-US/Get-PSRuleHelp.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Get-PSRuleHelp.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Get-PSRuleHelp.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/Invoke-PSRule.md b/docs/commands/PSRule/en-US/Invoke-PSRule.md index f42be9b82..2773dccac 100644 --- a/docs/commands/PSRule/en-US/Invoke-PSRule.md +++ b/docs/commands/PSRule/en-US/Invoke-PSRule.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Invoke-PSRule.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Invoke-PSRule.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/New-PSRuleOption.md b/docs/commands/PSRule/en-US/New-PSRuleOption.md index edc346c1b..b4e072c7c 100644 --- a/docs/commands/PSRule/en-US/New-PSRuleOption.md +++ b/docs/commands/PSRule/en-US/New-PSRuleOption.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/New-PSRuleOption.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/New-PSRuleOption.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/PSRule.md b/docs/commands/PSRule/en-US/PSRule.md index 14c4d0273..d8a265142 100644 --- a/docs/commands/PSRule/en-US/PSRule.md +++ b/docs/commands/PSRule/en-US/PSRule.md @@ -1,7 +1,7 @@ --- Module Name: PSRule Module Guid: 0130215d-58eb-4887-b6fa-31ed02500569 -Download Help Link: https://github.com/BernieWhite/PSRule +Download Help Link: https://github.com/Microsoft/PSRule Help Version: 0.1.0.0 Locale: en-US --- diff --git a/docs/commands/PSRule/en-US/Set-PSRuleOption.md b/docs/commands/PSRule/en-US/Set-PSRuleOption.md index c476f5231..ee1cbb979 100644 --- a/docs/commands/PSRule/en-US/Set-PSRuleOption.md +++ b/docs/commands/PSRule/en-US/Set-PSRuleOption.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Set-PSRuleOption.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Set-PSRuleOption.html schema: 2.0.0 --- diff --git a/docs/commands/PSRule/en-US/Test-PSRuleTarget.md b/docs/commands/PSRule/en-US/Test-PSRuleTarget.md index 70a5cd0c5..e11b00468 100644 --- a/docs/commands/PSRule/en-US/Test-PSRuleTarget.md +++ b/docs/commands/PSRule/en-US/Test-PSRuleTarget.md @@ -1,7 +1,7 @@ --- external help file: PSRule-help.xml Module Name: PSRule -online version: https://berniewhite.github.io/PSRule/commands/PSRule/en-US/Test-PSRuleTarget.html +online version: https://microsoft.github.io/PSRule/commands/PSRule/en-US/Test-PSRuleTarget.html schema: 2.0.0 --- diff --git a/docs/concepts/PSRule/en-US/about_PSRule_Assert.md b/docs/concepts/PSRule/en-US/about_PSRule_Assert.md index 437b928e8..200abe30c 100644 --- a/docs/concepts/PSRule/en-US/about_PSRule_Assert.md +++ b/docs/concepts/PSRule/en-US/about_PSRule_Assert.md @@ -208,11 +208,11 @@ The following built-in helper methods are provided for working with `$Assert` wh ## NOTE -An online version of this document is available at https://github.com/BernieWhite/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Assert.md. +An online version of this document is available at https://github.com/Microsoft/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Assert.md. ## SEE ALSO -- [about_PSRule_Variables](https://github.com/BernieWhite/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Variables.md) +- [about_PSRule_Variables](https://github.com/Microsoft/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Variables.md) ## KEYWORDS diff --git a/docs/concepts/PSRule/en-US/about_PSRule_Docs.md b/docs/concepts/PSRule/en-US/about_PSRule_Docs.md index e7bc8f28c..4591207df 100644 --- a/docs/concepts/PSRule/en-US/about_PSRule_Docs.md +++ b/docs/concepts/PSRule/en-US/about_PSRule_Docs.md @@ -100,11 +100,11 @@ Optionally, one or more annotations formatted as YAML key value pairs can be inc ## NOTE -An online version of this document is available at https://github.com/BernieWhite/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Docs.md. +An online version of this document is available at https://github.com/Microsoft/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Docs.md. ## SEE ALSO -- [Get-PSRuleHelp](https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/Get-PSRuleHelp.md) +- [Get-PSRuleHelp](https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/Get-PSRuleHelp.md) ## KEYWORDS diff --git a/docs/concepts/PSRule/en-US/about_PSRule_Options.md b/docs/concepts/PSRule/en-US/about_PSRule_Options.md index 94b7c0339..aa03ee166 100644 --- a/docs/concepts/PSRule/en-US/about_PSRule_Options.md +++ b/docs/concepts/PSRule/en-US/about_PSRule_Options.md @@ -1065,13 +1065,13 @@ rule: ## NOTE -An online version of this document is available at https://github.com/BernieWhite/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Options.md. +An online version of this document is available at https://github.com/Microsoft/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Options.md. ## SEE ALSO -- [Invoke-PSRule](https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md) -- [New-PSRuleOption](https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/New-PSRuleOption.md) -- [Set-PSRuleOption](https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/Set-PSRuleOption.md) +- [Invoke-PSRule](https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md) +- [New-PSRuleOption](https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/New-PSRuleOption.md) +- [Set-PSRuleOption](https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/Set-PSRuleOption.md) ## KEYWORDS diff --git a/docs/concepts/PSRule/en-US/about_PSRule_Variables.md b/docs/concepts/PSRule/en-US/about_PSRule_Variables.md index d34626859..8ef94c1e8 100644 --- a/docs/concepts/PSRule/en-US/about_PSRule_Variables.md +++ b/docs/concepts/PSRule/en-US/about_PSRule_Variables.md @@ -173,11 +173,11 @@ Rule 'HasMinInstances' { ## NOTE -An online version of this document is available at https://github.com/BernieWhite/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Variables.md. +An online version of this document is available at https://github.com/Microsoft/PSRule/blob/master/docs/concepts/PSRule/en-US/about_PSRule_Variables.md. ## SEE ALSO -- [Invoke-PSRule](https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md) +- [Invoke-PSRule](https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md) ## KEYWORDS diff --git a/docs/index.md b/docs/index.md index beb815073..b929a8c09 100644 --- a/docs/index.md +++ b/docs/index.md @@ -45,7 +45,7 @@ PSRule.Rules.Azure | A suite of rules to validate Azure resources using PSRule. This project is to be considered a **proof-of-concept** and **not a supported product**. -If you have any problems please check our GitHub [issues](https://github.com/BernieWhite/PSRule/issues) page. If you do not see your problem captured, please file a new issue and follow the provided template. +If you have any problems please check our GitHub [issues](https://github.com/Microsoft/PSRule/issues) page. If you do not see your problem captured, please file a new issue and follow the provided template. [install]: scenarios/install-instructions.md [module]: https://www.powershellgallery.com/packages/PSRule diff --git a/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md b/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md index a5a2b5b35..665ae9d63 100644 --- a/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md +++ b/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md @@ -377,7 +377,7 @@ Rule 'appServicePlan.MinInstanceCount' -If { $TargetObject.ResourceType -eq 'Mic ## NOTE -An online version of this document is available at https://github.com/BernieWhite/PSRule/blob/master/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md. +An online version of this document is available at https://github.com/Microsoft/PSRule/blob/master/docs/keywords/PSRule/en-US/about_PSRule_Keywords.md. ## SEE ALSO @@ -395,4 +395,4 @@ An online version of this document is available at https://github.com/BernieWhit - Reason - Recommend -[Invoke-PSRule]: https://github.com/BernieWhite/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md +[Invoke-PSRule]: https://github.com/Microsoft/PSRule/blob/master/docs/commands/PSRule/en-US/Invoke-PSRule.md diff --git a/docs/scenarios/validation-pipeline/validation-pipeline.md b/docs/scenarios/validation-pipeline/validation-pipeline.md index c5db420f1..54b9d2d93 100644 --- a/docs/scenarios/validation-pipeline/validation-pipeline.md +++ b/docs/scenarios/validation-pipeline/validation-pipeline.md @@ -46,7 +46,7 @@ if ($Null -eq (Get-InstalledModule -Name PSRule -MinimumVersion '0.9.0' -ErrorAc } ``` -See the [change log](https://github.com/BernieWhite/PSRule/blob/master/CHANGELOG.md) for the latest version. +See the [change log](https://github.com/Microsoft/PSRule/blob/master/CHANGELOG.md) for the latest version. ### Using Invoke-Build diff --git a/docs/toc.yml b/docs/toc.yml index 621800e7f..73043b7af 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -3,4 +3,4 @@ href: commands/PSRule/en-US/PSRule.md topicHref: commands/PSRule/en-US/PSRule.md - name: Source - href: https://github.com/BernieWhite/PSRule + href: https://github.com/Microsoft/PSRule diff --git a/ps-project.yaml b/ps-project.yaml index e0b67af3b..441912c96 100644 --- a/ps-project.yaml +++ b/ps-project.yaml @@ -3,14 +3,14 @@ info: name: PSRule description: | A cross-platform PowerShell module (Windows, Linux, and MacOS) with commands to validate objects on the pipeline using PowerShell syntax. - url: https://berniewhite.github.io/PSRule/ + url: https://microsoft.github.io/PSRule/ repository: type: git - url: https://github.com/BernieWhite/PSRule.git + url: https://github.com/Microsoft/PSRule.git bugs: - url: https://github.com/BernieWhite/PSRule/issues + url: https://github.com/Microsoft/PSRule/issues tasks: clear: diff --git a/src/PSRule/PSRule.csproj b/src/PSRule/PSRule.csproj index b8ff247a0..f4a7293ae 100644 --- a/src/PSRule/PSRule.csproj +++ b/src/PSRule/PSRule.csproj @@ -9,8 +9,8 @@ true Bernie White PSRule - https://github.com/BernieWhite/PSRule - https://github.com/BernieWhite/PSRule/blob/master/LICENSE.txt + https://github.com/Microsoft/PSRule + https://github.com/Microsoft/PSRule/blob/master/LICENSE.txt Copyright (c) Microsoft Corporation. Licensed under the MIT License. Validate objects using PowerShell rules. diff --git a/src/PSRule/PSRule.psd1 b/src/PSRule/PSRule.psd1 index 63c9e895d..e0bed39ae 100644 --- a/src/PSRule/PSRule.psd1 +++ b/src/PSRule/PSRule.psd1 @@ -124,16 +124,16 @@ PrivateData = @{ Tags = @('Rule', 'Test') # A URL to the license for this module. - LicenseUri = 'https://github.com/BernieWhite/PSRule/blob/master/LICENSE.txt' + LicenseUri = 'https://github.com/Microsoft/PSRule/blob/master/LICENSE.txt' # A URL to the main website for this project. - ProjectUri = 'https://github.com/BernieWhite/PSRule' + ProjectUri = 'https://github.com/Microsoft/PSRule' # A URL to an icon representing this module. # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/BernieWhite/PSRule/blob/master/CHANGELOG.md' + ReleaseNotes = 'https://github.com/Microsoft/PSRule/blob/master/CHANGELOG.md' } # End of PSData hashtable diff --git a/src/PSRule/PSRule.psm1 b/src/PSRule/PSRule.psm1 index 219f7cba5..711e0e7ed 100644 --- a/src/PSRule/PSRule.psm1 +++ b/src/PSRule/PSRule.psm1 @@ -1195,7 +1195,7 @@ function Set-PSRuleOption { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#rule +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#rule #> function Rule { [CmdletBinding()] @@ -1234,7 +1234,7 @@ function Rule { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#allof +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#allof #> function AllOf { [CmdletBinding()] @@ -1252,7 +1252,7 @@ function AllOf { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#anyof +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#anyof #> function AnyOf { [CmdletBinding()] @@ -1270,7 +1270,7 @@ function AnyOf { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#exists +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#exists #> function Exists { [CmdletBinding()] @@ -1300,7 +1300,7 @@ function Exists { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#match +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#match #> function Match { [CmdletBinding()] @@ -1333,7 +1333,7 @@ function Match { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#within +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#within #> function Within { [CmdletBinding()] @@ -1370,7 +1370,7 @@ function Within { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#typeof +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#typeof #> function TypeOf { [CmdletBinding()] @@ -1394,7 +1394,7 @@ function TypeOf { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#reason +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#reason #> function Reason { [CmdletBinding()] @@ -1412,7 +1412,7 @@ function Reason { <# .LINK -https://berniewhite.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#recommend +https://microsoft.github.io/PSRule/keywords/PSRule/en-US/about_PSRule_Keywords.html#recommend #> function Recommend { [CmdletBinding()] diff --git a/tests/PSRule.Tests/TestModule/en-AU/M1.Rule1.md b/tests/PSRule.Tests/TestModule/en-AU/M1.Rule1.md index 60a53cfaa..ca37d3e9b 100644 --- a/tests/PSRule.Tests/TestModule/en-AU/M1.Rule1.md +++ b/tests/PSRule.Tests/TestModule/en-AU/M1.Rule1.md @@ -1,6 +1,6 @@ --- culture: en-AU -online version: https://github.com/BernieWhite/PSRule +online version: https://github.com/Microsoft/PSRule --- # Module Rule1 diff --git a/tests/PSRule.Tests/TestModule/en-US/M1.Rule1.md b/tests/PSRule.Tests/TestModule/en-US/M1.Rule1.md index 4523a8090..e3e27bb33 100644 --- a/tests/PSRule.Tests/TestModule/en-US/M1.Rule1.md +++ b/tests/PSRule.Tests/TestModule/en-US/M1.Rule1.md @@ -1,6 +1,6 @@ --- culture: en-US -online version: https://github.com/BernieWhite/PSRule +online version: https://github.com/Microsoft/PSRule --- # Module Rule1