Skip to content

Commit

Permalink
Merge pull request #51 from ScheererJ/enhancement/enable-gosec-result…
Browse files Browse the repository at this point in the history
…-upload

Add SAST logs to OCM component descriptor
  • Loading branch information
ScheererJ authored Oct 16, 2024
2 parents 6b25824 + d5eee82 commit 3880003
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
egress-filter-refresher:
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.
steps:
verify:
image: 'golang:1.23.2'
traits:
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/snapshots
Expand Down Expand Up @@ -56,6 +66,17 @@ egress-filter-refresher:
image: europe-docker.pkg.dev/gardener-project/releases/gardener/egress-filter
release:
nextversion: 'bump_minor'
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/egress-filter-refresher/pull/50
slack:
default_channel: 'internal_scp_workspace'
channel_cfgs:
Expand Down

0 comments on commit 3880003

Please sign in to comment.