Skip to content

Commit 3635b55

Browse files
Merge branch 'develop' of github.com:veracode/github-actions-integration into develop
2 parents 99d263f + f46e901 commit 3635b55

File tree

1 file changed

+29
-36
lines changed

1 file changed

+29
-36
lines changed

veracode.yml

Lines changed: 29 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
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
52
push:
63
trigger: true
74
# Please only specify either branches_to_run or branches_to_exclude
@@ -17,42 +14,36 @@ veracode_static_scan:
1714
- synchronize
1815
target_branch:
1916
- 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.
2520
analysis_on_platform: false
21+
# If break_build_policy_findings is set to true, the build will break when findings violate the policy.
2622
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.
2924
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.
3126
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.
3429
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.
4131
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.
4333
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]
4536
issues:
4637
trigger: false
4738
commands:
4839
- "Veracode Static Scan"
4940

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:
5442
push:
5543
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
5647
branches_to_run:
5748
- '*'
5849
branches_to_exclude:
@@ -63,22 +54,23 @@ veracode_sca_scan:
6354
- synchronize
6455
target_branch:
6556
- 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.
6759
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]
7163
issues:
7264
trigger: false
7365
commands:
7466
- "Veracode SCA Scan"
7567

7668
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
8069
push:
8170
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
8274
branches_to_run:
8375
- '*'
8476
branches_to_exclude:
@@ -89,11 +81,12 @@ veracode_iac_secrets_scan:
8981
- synchronize
9082
target_branch:
9183
- 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.
9386
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]
9790
issues:
9891
trigger: false
9992
commands:

0 commit comments

Comments
 (0)