Skip to content

Commit

Permalink
Disable internal sast scanning tools in favor of gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
vpnachev committed Oct 25, 2024
1 parent fd7301d commit 84cb107
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

gardener-extension-shoot-lakom-service:
templates:
templates:
helmcharts:
- &shoot-lakom-service
name: shoot-lakom-service
Expand Down Expand Up @@ -34,6 +34,13 @@ gardener-extension-shoot-lakom-service:
attribute: image.tag

base_definition:
repo:
source_labels:
- name: cloud.gardener.cnudie/dso/scanning-hints/source_analysis/v1
value:
policy: skip
comment: |
We use gosec for sast scanning, see attached log.
traits:
version:
preprocess: 'inject-commit-hash'
Expand Down Expand Up @@ -112,6 +119,16 @@ gardener-extension-shoot-lakom-service:
nextversion: 'bump_minor'
next_version_callback: '.ci/prepare_release'
release_callback: '.ci/prepare_release'
assets:
- type: build-step-log
step_name: verify
purposes:
- lint
- sast
- gosec
comment: |
We use gosec (linter) for SAST scans, see: https://github.com/securego/gosec.
Enabled by https://github.com/gardener/gardener-extension-shoot-lakom-service/pull/116
slack:
default_channel: 'internal_scp_workspace'
channel_cfgs:
Expand Down

0 comments on commit 84cb107

Please sign in to comment.