Commit 05c3e352 authored by Alexander Turinske's avatar Alexander Turinske Committed by David O'Regan

Update default scan execution yaml

- it now specified required fields name and branches

Changelog: changed

EE: true
parent d3a5796e
...@@ -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