Skip to content

Commit

Permalink
update pipeline definition
Browse files Browse the repository at this point in the history
add build-step log to component-descriptor
for SAST scans. Also add label to component-descriptor
indicating we use (although logs are currently
only appended on release)
  • Loading branch information
AndreasBurger committed Jan 22, 2025
1 parent cc537a9 commit faeb9ef
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
terraformer:
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 @@ -146,6 +153,17 @@ terraformer:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
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/terraformer/pull/158
slack:
default_channel: 'internal_scp_workspace'
channel_cfgs:
Expand Down

0 comments on commit faeb9ef

Please sign in to comment.