Skip to content

Add some parsers and views related to OpenShift #756

Add some parsers and views related to OpenShift

Add some parsers and views related to OpenShift #756

name: Security Scanning
on:
push:
branches: [ main ]
tags: [ '*' ]
pull_request:
branches: [ main ]
env:
IMG_NAME: ${{ github.repository }}
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
codeQL:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/analyze to upload SARIF results
runs-on: ubuntu-latest
environment:
name: dev
url: https://github.com
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12