Skip to content

Commit 941b46b

Browse files
authored
Merge pull request #1061 from chef/nikhil/enable-polaris-scan
Enabling polaris sast scan
2 parents d6ee20e + 7423a4b commit 941b46b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci-main-pull-request-stub-1.0.8.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ jobs:
116116

117117
# BlackDuck SAST (Polaris) require a build or binary present in repo to do SAST testing
118118
# requires these secrets: POLARIS_SERVER_URL, POLARIS_ACCESS_TOKEN
119-
perform-blackduck-polaris: false
119+
perform-blackduck-polaris: true
120120
polaris-application-name: "Chef-Agents" # one of these: Chef-Agents, Chef-Automate, Chef-Chef360, Chef-Habitat, Chef-Infrastructure-Server, Chef-Shared-Services, Chef-Other, Chef-Non-Product
121121
polaris-project-name: 'chef-cookstyle' # arch-sample-cli
122-
polaris-working-directory: '.' # Working directory for the scan, defaults to . but usually lang-dependent like ./src
123-
polaris-coverity-build-command: 'go build -o bin/chef-cli.exe' # Coverity build command, typically done in build stage by language or here as param 1-liner like "mvn clean install"
124-
polaris-coverity-clean-command: 'go clean' # Coverity clean command, typically done before build stage by language or here as param 1-liner like "mvn clean"
125-
polaris-detect-search-depth: '5' # Detect search depth, blank but can be set to "3" to search up to 3 levels of subdirectories for code to scan'
126-
polaris-assessment-mode: 'SAST' # Assessment mode (SAST, CI or SOURCE_UPLOAD)
127-
wait-for-scan: true
122+
# polaris-working-directory: '.' # Working directory for the scan, defaults to . but usually lang-dependent like ./src
123+
# polaris-coverity-build-command: 'go build -o bin/chef-cli.exe' # Coverity build command, typically done in build stage by language or here as param 1-liner like "mvn clean install"
124+
# polaris-coverity-clean-command: 'go clean' # Coverity clean command, typically done before build stage by language or here as param 1-liner like "mvn clean"
125+
# polaris-detect-search-depth: '5' # Detect search depth, blank but can be set to "3" to search up to 3 levels of subdirectories for code to scan'
126+
# polaris-assessment-mode: 'SAST' # Assessment mode (SAST, CI or SOURCE_UPLOAD)
127+
# wait-for-scan: true
128128
# polaris-detect-args: '' # Additional Detect arguments, can supply extra arguments like "--detect.diagnostic=true"
129129
# coverity_build_command: "go build"
130130
# coverity_clean_command: "go clean"

0 commit comments

Comments
 (0)