Skip to content

Commit

Permalink
Change whitesource integration to scan on 1.x branch (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#1786)

* Change whitesource integration to scan on 1.x branch

Signed-off-by: Zelin Hao <[email protected]>

* Add parameter to ignore /qa/ folder

Signed-off-by: Zelin Hao <[email protected]>
  • Loading branch information
zelinh authored Jan 4, 2022
1 parent 385b268 commit e67ba91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .whitesource
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"configMode": "LOCAL",
"configExternalURL": "",
"projectToken": "",
"baseBranches": []
"baseBranches": ["1.x"]
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
Expand All @@ -12,4 +12,4 @@
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
}
19 changes: 10 additions & 9 deletions whitesource.config
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ resolveAllDependencies=false
#npm.resolveMainPackageJsonOnly=true
#npm.removeDuplicateDependencies=false
#npm.resolveAdditionalDependencies=true
#npm.failOnNpmLsErrors =
#npm.failOnNpmLsErrors =
#npm.projectNameFromDependencyFile = true
#npm.resolveGlobalPackages=true
#npm.resolveGlobalPackages=true
#npm.resolveLockFile=true

#bower.resolveDependencies=false
Expand Down Expand Up @@ -118,13 +118,13 @@ resolveAllDependencies=false
#python.runPipenvPreStep=true
#python.pipenvDevDependencies=true
#python.IgnorePipenvInstallErrors=true
#python.resolveGlobalPackages=true
#python.localPackagePathsToInstall=/path/to/local/dependency.egg, /path/to/local/dependency.zip
#python.resolveGlobalPackages=true
#python.localPackagePathsToInstall=/path/to/local/dependency.egg, /path/to/local/dependency.zip
#python.resolvePipEditablePackages
#python.path=/path/to/python
#python.pipPath=/path/to/pip
#python.runPoetryPreStep=true
#python.includePoetryDevDependencies=true
#python.includePoetryDevDependencies=true

#maven.ignoredScopes=test provided
#maven.resolveDependencies=false
Expand All @@ -137,14 +137,15 @@ resolveAllDependencies=false
#maven.m2RepositoryPath=
#maven.downloadMissingDependencies=false
#maven.additionalArguments=
#maven.projectNameFromDependencyFile=true
#maven.projectNameFromDependencyFile=true

resolveAllDependencies=false
archiveExtractionDepth=7
followSymbolicLinks=true
gradle.resolveDependencies=true
gradle.aggregateModules=true
gradle.preferredEnvironment=wrapper
gradle.excludeModules=./qa/*
maven.resolveDependencies=true
maven.runPreStep=true
maven.aggregateModules=true
Expand All @@ -155,7 +156,7 @@ npm.runPreStep=true
npm.yarnProject=true
go.resolveDependencies=true
go.collectDependenciesAtRuntime=true
go.dependencyManager=
go.dependencyManager=
python.resolveDependencies=true
python.ignoreSourceFiles=true
python.runPipenvPreStep=true
Expand Down Expand Up @@ -254,7 +255,7 @@ ruby.ignoreSourceFiles=false
###########################################################################################
# Includes/Excludes Glob patterns - Please use only one exclude line and one include line #
###########################################################################################
includes=**/*.cc **/*.zip **/*.cpp **/*.c **/*.swf **/*.tgz **/*.h **/*.js **/*.hpp **/*.py **/*.gzip **/*.cs **/*.rb **/*.exe **/*.gz **/*.pl **/*.cxx **/*.c++ **/*.hxx **/*.jar **/*.java **/*.go **/*.mod **/*.sum **/*.rb
includes=**/*.cc **/*.zip **/*.cpp **/*.c **/*.swf **/*.tgz **/*.h **/*.js **/*.hpp **/*.py **/*.gzip **/*.cs **/*.rb **/*.exe **/*.gz **/*.pl **/*.cxx **/*.c++ **/*.hxx **/*.jar **/*.java **/*.go **/*.mod **/*.sum **/*.rb
#includes=**/*.m **/*.mm **/*.js **/*.php
#includes=**/*.jar
#includes=**/*.gem **/*.rb
Expand Down Expand Up @@ -369,4 +370,4 @@ followSymbolicLinks=true
#scm.tag=
#scm.npmInstall=
#scm.npmInstallTimeoutMinutes=
#scm.repositoriesFile=
#scm.repositoriesFile=

0 comments on commit e67ba91

Please sign in to comment.