Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
ci: create kubescape.yml file (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaikMoAbdullah authored Sep 8, 2022
1 parent 2563a7e commit e6b634f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/kubescape.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Kubescape
on:
push:
paths:
- 'kubernetes/**'
pull_request:
paths:
- 'kubernetes/**'

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Kubescape
run: curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash
- name: Kubescape
run: kubescape scan kubernetes/*.yaml -v --fail-threshold 40

0 comments on commit e6b634f

Please sign in to comment.