@@ -83,48 +83,48 @@ SCA Test: # run SCA on any branch
8383 - dev
8484 - master
8585
86- # SAST Sandbox Test: # this only runs on the dev branch, so run a Sandbox scan
87- # stage: test
88- #
89- # tags:
90- # - python
91- #
92- # script:
93- # - zip project.zip
94- # setup.* LICENSE.txt -r $(echo ${CI_PROJECT_NAME} | cut -d'-' -f1)
95- # - pip3 install veracode-python
96- #
97- # - veracode-cli scan
98- # --app="${CI_PROJECT_NAME}"
99- # --name="$(date) - ${CI_COMMIT_SHORT_SHA}"
100- # --sandbox='Development Build'
101- # --files='project.zip'
102- # --timeout=30
103- #
104- # only:
105- # - dev
86+ SAST Sandbox Test : # this only runs on the dev branch, so run a Sandbox scan
87+ stage : test
88+
89+ tags :
90+ - python
91+
92+ script :
93+ - zip project.zip
94+ setup.* LICENSE.txt -r $(echo ${CI_PROJECT_NAME} | cut -d'-' -f1)
95+ - pip3 install veracode-python
96+
97+ - veracode app scan
98+ --app="${CI_PROJECT_NAME}"
99+ --name="$(date) - ${CI_COMMIT_SHORT_SHA}"
100+ --sandbox='Development Build'
101+ --files='project.zip'
102+ --timeout=30
103+
104+ only :
105+ - dev
106106
107107# ############################# Master Only ####################################
108108
109- # SAST Policy Test: # this is on master so run a SAST policy scan
110- # stage: test
111- #
112- # tags:
113- # - python
114- #
115- # script:
116- # - zip project.zip
117- # setup.* LICENSE.txt -r $(echo ${CI_PROJECT_NAME} | cut -d'-' -f1)
118- # - pip3 install veracode-python
119- #
120- # - veracode-cli scan
121- # --app="${CI_PROJECT_NAME}"
122- # --name="$(date) - ${CI_COMMIT_SHORT_SHA}"
123- # --files='project.zip'
124- # --timeout=30
125- #
126- # only:
127- # - master
109+ SAST Policy Test : # this is on master so run a SAST policy scan
110+ stage : test
111+
112+ tags :
113+ - python
114+
115+ script :
116+ - zip project.zip
117+ setup.* LICENSE.txt -r $(echo ${CI_PROJECT_NAME} | cut -d'-' -f1)
118+ - pip3 install veracode-python
119+
120+ - veracode app scan
121+ --app="${CI_PROJECT_NAME}"
122+ --name="$(date) - ${CI_COMMIT_SHORT_SHA}"
123+ --files='project.zip'
124+ --timeout=30
125+
126+ only :
127+ - master
128128
129129Create Release : # increment version and create release tag
130130 stage : package
0 commit comments