Closed jtracey93 closed 7 months ago
No response
Trying to use the Azure.Pillar.Reliability baseline, as per https://azure.github.io/PSRule.Rules.Azure/working-with-baselines/#pillar-specific-baselines, but getting the below error when using in GitHub Actions:
Azure.Pillar.Reliability
Error: PSR0004: The specified Baseline resource 'Azure.Pillar.Reliability' is not known. (a link to the GitHub Action workflow run can be found here: https://github.com/jtracey93/bicep-registry-modules/actions/runs/8256586807/job/22585554510#step:4:210)
Error: PSR0004: The specified Baseline resource 'Azure.Pillar.Reliability' is not known.
Try and use the Azure.Pillar.Reliability baseline in GitHub actions
2.9.0
1.34.2
Link to GitHub action step - https://github.com/jtracey93/bicep-registry-modules/blob/771baef304feea414422ec4487a7f1077c6e1372/.github/actions/templates/avm-validateModulePSRule/action.yml#L130-L142
Happy to explain over a call
@jtracey93 We haven't shipped this feature yet, it's in v1.35.0. A preview release will ship ~end of week. I'll update the docs to reflect this.
Existing rule
No response
Description of the issue
Trying to use the
Azure.Pillar.Reliability
baseline, as per https://azure.github.io/PSRule.Rules.Azure/working-with-baselines/#pillar-specific-baselines, but getting the below error when using in GitHub Actions:Error: PSR0004: The specified Baseline resource 'Azure.Pillar.Reliability' is not known.
(a link to the GitHub Action workflow run can be found here: https://github.com/jtracey93/bicep-registry-modules/actions/runs/8256586807/job/22585554510#step:4:210)Error messages
Error: PSR0004: The specified Baseline resource 'Azure.Pillar.Reliability' is not known.
Reproduction
Try and use the
Azure.Pillar.Reliability
baseline in GitHub actionsVersion of PSRule
2.9.0
Version of PSRule for Azure
1.34.2
Additional context
Link to GitHub action step - https://github.com/jtracey93/bicep-registry-modules/blob/771baef304feea414422ec4487a7f1077c6e1372/.github/actions/templates/avm-validateModulePSRule/action.yml#L130-L142
Happy to explain over a call