Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semgr8s v0.1.10 #182

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/.reusable-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
repo_token: ${{ secrets.SCORECARD_TOKEN }}
publish_results: false #TODO: reactivate when working again
- name: Upload
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
with:
sarif_file: results.sarif

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/.reusable-sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: bandit -r -f sarif -o bandit-results.sarif semgr8s/ --exit-zero
- name: Upload
if: inputs.output == 'sarif'
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
with:
sarif_file: 'bandit-results.sarif'

Expand Down Expand Up @@ -99,22 +99,22 @@ jobs:
shell: bash
- name: Scan
if: inputs.output == 'table'
uses: bridgecrewio/checkov-action@11831674b6dff6f3ff258e9f08e570da00997860 # v12.2712.0
uses: bridgecrewio/checkov-action@15b627ad1e8053cff8615f39ec81f8728f89e16e # v12.2720.0
with:
skip_check: CKV_DOCKER_2
output_format: cli
soft_fail: false
- name: Scan
if: inputs.output == 'sarif'
uses: bridgecrewio/checkov-action@11831674b6dff6f3ff258e9f08e570da00997860 # v12.2712.0
uses: bridgecrewio/checkov-action@15b627ad1e8053cff8615f39ec81f8728f89e16e # v12.2720.0
with:
skip_check: CKV_DOCKER_2
output_file_path: console,checkov-results.sarif
output_format: cli,sarif
soft_fail: true
- name: Upload
if: inputs.output == 'sarif'
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
with:
sarif_file: checkov-results.sarif

Expand All @@ -131,11 +131,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Initialize CodeQL
uses: github/codeql-action/init@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/init@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
with:
languages: 'python'
- name: Analyze
uses: github/codeql-action/analyze@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/analyze@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0

hadolint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
no-fail: true
output-file: hadolint-results.sarif
- name: Upload
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
if: inputs.output == 'sarif'
with:
sarif_file: 'hadolint-results.sarif'
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
format: sarif
output-file: kubelinter-results.sarif
- name: Upload
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
if: inputs.output == 'sarif'
with:
sarif_file: 'kubelinter-results.sarif'
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
if: inputs.output == 'sarif'
run: semgrep ci --config=auto --suppress-errors --sarif --output=semgrep-results.sarif || exit 0
- name: Upload
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0
if: inputs.output == 'sarif'
with:
sarif_file: semgrep-results.sarif
Expand Down
4 changes: 2 additions & 2 deletions charts/semgr8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: semgr8s
description: Semgrep-based Policy Controller for Kubernetes
type: application
version: "0.1.9"
appVersion: "0.1.9"
version: "0.1.10"
appVersion: "0.1.10"
keywords:
- kubernetes
- admission controller
Expand Down
86 changes: 33 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ readme = "README.md"
python = "^3.11"
APScheduler = "3.10.4"
Flask = "3.0.3"
gunicorn = "21.2.0"
PyYAML = "6.0.1"
semgrep = "1.68.0"
semgrep = "1.69.0"
jsonpatch = "1.33"
cheroot = "10.0.0"

[tool.poetry.group.docs]
optional = false

[tool.poetry.group.docs.dependencies]
mkdocs-material = "9.5.17"
mkdocs-material = "9.5.18"
mike = "2.0.0"

[tool.poetry.group.dev]
Expand All @@ -28,7 +27,7 @@ optional = false
[tool.poetry.group.dev.dependencies]
bandit = "1.7.8"
bandit-sarif-formatter = "1.1.1"
black = "24.3.0"
black = "24.4.0"
pylint = "3.1.0"

[tool.poetry.group.test]
Expand Down
Loading