-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 1.03 KB
/
security.helm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: Security (Helm)
on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize]
paths:
- .github/workflows/security.helm.yml
- charts/**
jobs:
# Analyze statically Helm charts to identify any policy violations.
checkov:
name: Checkov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: '3.8'
check-latest: true
- uses: bridgecrewio/checkov-action@a6b06158ca30c135b38291f4fa0da67d188ca8f4
with:
directory: charts/gitlab-ci-runner-exporter
framework: helm
skip_check: CKV_K8S_11,CKV_K8S_15,CKV_K8S_21,CKV_K8S_35,CKV_K8S_43
- uses: github/codeql-action/upload-sarif@40cb08c1213f65be8e56fefeb194e783b9676b36 # tag=codeql-bundle-20221211
if: always()
with:
category: checkov-helm
sarif_file: results.sarif