Skip to content

chore: remove Grafana dashboard #113

chore: remove Grafana dashboard

chore: remove Grafana dashboard #113

Workflow file for this run

name: audit-bicep
on:
push:
branches:
- main
paths:
- "infra/bicep/**"
pull_request:
branches:
- main
paths:
- "infra/bicep/**"
workflow_dispatch:
jobs:
psrule:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Run PSRule analysis
uses: microsoft/ps-rule@46451b8f5258c41beb5ae69ed7190ccbba84112c # v2.9.0
with:
inputPath: main.test.bicep
modules: PSRule.Rules.Azure
option: ps-rule.yaml
outputFormat: Sarif
outputPath: reports/ps-rule-results.sarif
path: infra/bicep
summary: true
env:
PSRULE_AZURE_BICEP_PATH: "/usr/local/bin/bicep"
- name: Upload alerts to Security tab
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
if: github.repository_owner == 'Azure-Samples'
with:
sarif_file: infra/bicep/reports/ps-rule-results.sarif