Skip to content

Create aks2.tf

Create aks2.tf #10

# This is a basic workflow to help you get started with Actions
name: Bridgecrew
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
bridgecrew:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Bridgecrew
id: Bridgecrew
uses: bridgecrewio/bridgecrew-action@master
with:
soft_fail: true
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_SERVER_URL: $GITHUB_SERVER_URL
- name: Expose report
uses: actions/upload-artifact@v2
with:
name: SARIF results
path: results.sarif
# Uploads results.sarif to GitHub repository using the upload-sarif action
- uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif