Commit 6d33a4b8 authored by David O'Regan's avatar David O'Regan

Merge branch '339751-policy-validation' into 'master'

Update default scan execution yaml

See merge request gitlab-org/gitlab!80939
parents f10b7942 05c3e352
...@@ -3,13 +3,13 @@ export { toYaml } from './to_yaml'; ...@@ -3,13 +3,13 @@ export { toYaml } from './to_yaml';
export * from './humanize'; export * from './humanize';
export const DEFAULT_SCAN_EXECUTION_POLICY = `type: scan_execution_policy export const DEFAULT_SCAN_EXECUTION_POLICY = `type: scan_execution_policy
name: '' name: # name is mandatory
description: '' description: ''
enabled: false enabled: false
rules: rules:
- type: pipeline - type: pipeline
branches: branches:
- main - # branch is mandatory
actions: actions:
- scan: dast - scan: dast
site_profile: '' site_profile: ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment