File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,20 +24,18 @@ jobs:
2424 - name : Run PSRule analysis
2525 uses : microsoft/ps-rule@46451b8f5258c41beb5ae69ed7190ccbba84112c # v2.9.0
2626 with :
27+ inputPath : main.test.bicep
2728 modules : PSRule.Rules.Azure
28- baseline : Azure.Pillar.Security
29- inputPath : infra/bicep/*.test.bicep
29+ option : ps-rule.yaml
3030 outputFormat : Sarif
3131 outputPath : reports/ps-rule-results.sarif
32+ path : infra/bicep
3233 summary : true
33- continue-on-error : true
3434 env :
3535 PSRULE_AZURE_BICEP_USE_AZURE_CLI : " true"
36- PSRULE_CONFIGURATION_AZURE_BICEP_FILE_EXPANSION : " true"
37- PSRULE_CONFIGURATION_AZURE_BICEP_FILE_EXPANSION_TIMEOUT : " 30"
3836
3937 - name : Upload alerts to Security tab
4038 uses : github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
4139 if : github.repository_owner == 'Azure-Samples'
4240 with :
43- sarif_file : ${{ steps.msdo.outputs.sarifFile }}
41+ sarif_file : infra/bicep/reports/ps-rule-results.sarif
You can’t perform that action at this time.
0 commit comments