Skip to content

Commit 30c284f

Browse files
authored
Merge pull request #827 from inspec/nm/polaris-integration
CHEF-31151: enable Polaris integration
2 parents 6bf5bdb + 27f48e1 commit 30c284f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

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

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

9292
# BlackDuck SAST (Polaris) require a build or binary present in repo to do SAST testing
9393
# requires these secrets: POLARIS_SERVER_URL, POLARIS_ACCESS_TOKEN
94-
perform-blackduck-polaris: false
94+
perform-blackduck-polaris: true
9595
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
9696
polaris-project-name: ${{ github.event.repository.name }} # arch-sample-cli
97-
polaris-working-directory: '.' # Working directory for the scan, defaults to . but usually lang-dependent like ./src
98-
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"
99-
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"
100-
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'
101-
polaris-assessment-mode: 'SAST' # Assessment mode (SAST, CI or SOURCE_UPLOAD)
102-
wait-for-scan: true
97+
# polaris-working-directory: '.' # Working directory for the scan, defaults to . but usually lang-dependent like ./src
98+
# 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"
99+
# 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"
100+
# 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'
101+
# polaris-assessment-mode: 'SAST' # Assessment mode (SAST, CI or SOURCE_UPLOAD)
102+
# wait-for-scan: true
103103
# polaris-detect-args: '' # Additional Detect arguments, can supply extra arguments like "--detect.diagnostic=true"
104104
# coverity_build_command: "go build"
105105
# coverity_clean_command: "go clean"

0 commit comments

Comments
 (0)