templates (Directory)

new-hook.yaml

This file contains the specification of your new hook. Please take a look at ScanCompletionHook | secureCodeBox on how to configure your ScanCompletionHook

Example

apiVersion: "execution.securecodebox.io/v1"
kind: ScanCompletionHook
metadata:
name: {{ include "generic-webhook.fullname" . }}
spec:
type: ReadOnly
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}"
env:
- name: WEBHOOK_URL
value: {{ .Values.webhookUrl | quote }}```