You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: veracode.yml
+29-36Lines changed: 29 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,4 @@
1
1
veracode_static_scan:
2
-
# Please only specify trigger:true for either push event or
3
-
# pull request event. Specifying both will only execute push event.
4
-
# Leaving them both false means this will never run
5
2
push:
6
3
trigger: true
7
4
# Please only specify either branches_to_run or branches_to_exclude
@@ -17,42 +14,36 @@ veracode_static_scan:
17
14
- synchronize
18
15
target_branch:
19
16
- default_branch
20
-
# What branch would you like to use for platform analysis
21
-
# By selecting a branch here - Veracode will save your last scan result
22
-
# As an App Profile - given the current name of your scanned repo
23
-
# Use 'none' if you would not like any scans saved to the platform
24
-
analysis_branch: ENTER_BRANCH_NAME_HERE
17
+
# If the analysis_on_platform is set to true,
18
+
# Veracode will save your last scan result, on the default branch, as an application profile with the same name as your scanned repository on the Veracode platform.
19
+
# If the analysis_on_platform is set to false, scan results will not be saved to the Veracode platform.
25
20
analysis_on_platform: false
21
+
# If break_build_policy_findings is set to true, the build will break when findings violate the policy.
26
22
break_build_policy_findings: true
27
-
filter_mitigated_flaws: true
28
-
#If break_build_invalid_policy is set to true, the build will break when the policy name is invalid.
23
+
# If break_build_invalid_policy is set to true, the build will break when the policy name is invalid.
29
24
break_build_invalid_policy: true
30
-
#If the break_build_on_error is set to true, the build will break if the scan failed to complete in time or with an error.
25
+
#If the break_build_on_error is set to true, the build will break if the scan failed to complete in time or with an error and the error_message will be displayed.
31
26
break_build_on_error: false
32
-
#If the break_build_on_policy_error is set to true, this is the error message that will be displayed if the pipeline scan fails to complete in time or with an error.
33
-
error_message: "Veracode SAST scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support."
27
+
error_message: "Veracode static scan faced a problem. Please contact your Veracode administrator for more information."
28
+
# Default policy to be used if a policy isn't already assigned to the application profile.
34
29
policy: 'Veracode Recommended Medium + SCA'
35
-
# If you would like to use your own GitHub workflow to package artifacts,
36
-
# set use_custom_workflow to the name of the workflow you'd like to use.
37
-
# Set the property to 'default' if you'd like to use the default
38
-
# workflow for each repository.
39
-
use_custom_workflow: ENTER_WORKFLOW_NAME
40
-
#If the create_code_scanning_alert is set to true, code scanning alert for static findings will be created under GitHub Security.
30
+
# If the create_code_scanning_alert is set to true, GitHub security code scanning vulnerability alerts will be created for static findings.
41
31
create_code_scanning_alert: false
42
-
#If the create_issue is set to true, GitHub Issues will be created for static findings.
32
+
#If the create_issue is set to true, GitHub Issues will be created for static findings.
43
33
create_issue: false
44
-
#If the trigger is set to true, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue.
34
+
# If the trigger is set to true, a scan is triggered when you create an issue containing the commands value or add a comment containing the commands value to an issue.
35
+
# Syntax to be used - COMMANDS_VALUE [branch: BRANCH_NAME]
45
36
issues:
46
37
trigger: false
47
38
commands:
48
39
- "Veracode Static Scan"
49
40
50
-
veracode_sca_scan:
51
-
# Please only specify trigger:true for either push event or
52
-
# pull request event. Specifying both will only execute push event.
53
-
# Leaving them both false means this will never run
41
+
veracode_sca_scan:
54
42
push:
55
43
trigger: true
44
+
# Please only specify either branches_to_run or branches_to_exclude
45
+
# Entering both will only execute branches_to_run
46
+
# Leaving them both blank means this will never run
56
47
branches_to_run:
57
48
- '*'
58
49
branches_to_exclude:
@@ -63,22 +54,23 @@ veracode_sca_scan:
63
54
- synchronize
64
55
target_branch:
65
56
- default_branch
66
-
#If the break_build_on_error is set to true, the build will break if the scan failed to complete, no libraries found, no build system found or on any other error.
57
+
# If the break_build_on_error is set to true, the build will break if the scan failed to complete or with an error, no libraries were found,
58
+
# or no build system was found and the error_message will be displayed.
67
59
break_build_on_error: true
68
-
#If the break_build_on_policy_error is set to true, this is the error message that will be displayed if the SCA scan fails to complete, no libraries found, no build system found or on any other error.
69
-
error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support."
70
-
#If the trigger is set to true, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue.
60
+
error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information."
61
+
# If the trigger is set to true, a scan is triggered when you create an issue containing the commands value or add a comment containing the commands value to an issue.
62
+
# Syntax to be used - COMMANDS_VALUE [branch: BRANCH_NAME]
71
63
issues:
72
64
trigger: false
73
65
commands:
74
66
- "Veracode SCA Scan"
75
67
76
68
veracode_iac_secrets_scan:
77
-
# Please only specify trigger:true for either push event or
78
-
# pull request event. Specifying both will only execute push event.
79
-
# Leaving them both false means this will never run
80
69
push:
81
70
trigger: true
71
+
# Please only specify either branches_to_run or branches_to_exclude
72
+
# Entering both will only execute branches_to_run
73
+
# Leaving them both blank means this will never run
82
74
branches_to_run:
83
75
- '*'
84
76
branches_to_exclude:
@@ -89,11 +81,12 @@ veracode_iac_secrets_scan:
89
81
- synchronize
90
82
target_branch:
91
83
- default_branch
92
-
#If the break_build_on_error is set to true, the build will break if the scan failed to complete, no libraries found or on any other error.
84
+
# If the break_build_on_error is set to true, the build will break if the scan failed to complete or with an error, no libraries were found,
85
+
# or no build system was found and the error_message will be displayed.
93
86
break_build_on_error: true
94
-
#If the break_build_on_policy_error is set to true, this is the error message that will be displayed if the IaC/Secrets scan fails to complete, no libraries found or on any other error.
95
-
error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information. If you are a Veracode administrator, please contact Veracode support."
96
-
#If the trigger is set to true, the scan will be triggered when a command matches by either creating an issue or adding a comment to an issue.
87
+
error_message: "Veracode SCA scan faced a problem. Please contact your Veracode administrator for more information."
88
+
# If the trigger is set to true, a scan is triggered when you create an issue containing the commands value or add a comment containing the commands value to an issue.
89
+
# Syntax to be used - COMMANDS_VALUE [branch: BRANCH_NAME]
0 commit comments