blob: 8df42b567d6127a50d5c7bee2e8b234a9d538dc0 [file] [log] [blame]
Eric Ball2a0d0e52021-12-14 17:07:08 -08001###############################################################
2# WhiteSource Unified-Agent configuration file
3###############################################################
4# GENERAL SCAN MODE: Files and Package Managers
5###############################################################
6# Organization vitals
7######################
8
9apiKey=$WSS_API_KEY
10#userKey is required if WhiteSource administrator has enabled "Enforce user level access" option
11#userKey=
12#requesterEmail=user@provider.com
13
14projectName=
15projectVersion=
16projectToken=
17
18productName=
19productVersion=
20productToken=
21
22projectPerFolder=false
23#projectPerFolderIncludes=
24#projectPerFolderExcludes=
25
26wss.connectionTimeoutMinutes=80
27
28# Change the below URL to your WhiteSource server.
29# Use the 'WhiteSource Server URL' which can be retrieved
30# from your 'Profile' page on the 'Server URLs' panel.
31# Then, add the '/agent' path to it.
32wss.url=https://saas.whitesourcesoftware.com/agent
33#wss.url=https://app.whitesourcesoftware.com/agent
34#wss.url=https://app-eu.whitesourcesoftware.com/agent
35
36############
37# Policies #
38############
39checkPolicies=false
40forceCheckAllDependencies=false
41forceUpdate=false
42forceUpdate.failBuildOnPolicyViolation=false
43#updateInventory=false
44
45###########
46# General #
47###########
48#offline=true
49#updateType=APPEND
50#ignoreSourceFiles=true
51#scanComment=
52#failErrorLevel=ALL
53#requireKnownSha1=false
54log.files.level=Debug
55log.level=debug
56
57#generateProjectDetailsJson=true
58#generateScanReport=true
59#scanReportTimeoutMinutes=10
60#scanReportFilenameFormat=
61
62#analyzeFrameworks=true
63#analyzeFrameworksReference=
64
65#updateEmptyProject=false
66
67########################################
68# Package Manager Dependency resolvers #
69########################################
70resolveAllDependencies=true
71#excludeDependenciesFromNodes=.*commons-io.*,.*maven-model
72
73#npm.resolveDependencies=false
74#npm.ignoreSourceFiles=false
75#npm.includeDevDependencies=true
76#npm.runPreStep=true
77#npm.ignoreNpmLsErrors=true
78#npm.ignoreScripts=true
79#npm.yarnProject=true
80#npm.accessToken=
81npm.identifyByNameAndVersion=true
82#npm.yarn.frozenLockfile=true
83#npm.resolveMainPackageJsonOnly=true
84#npm.removeDuplicateDependencies=false
85#npm.resolveAdditionalDependencies=true
86
87#bower.resolveDependencies=false
88#bower.ignoreSourceFiles=true
89#bower.runPreStep=true
90
91#nuget.resolvePackagesConfigFiles=false
92#nuget.resolveCsProjFiles=false
93#nuget.resolveDependencies=false
94#nuget.restoreDependencies=true
95#nuget.preferredEnvironment=
96#nuget.packagesDirectory=
97#nuget.ignoreSourceFiles=false
98#nuget.runPreStep=true
99#nuget.resolveNuspecFiles=false
100
101#python.resolveDependencies=false
102#python.ignoreSourceFiles=false
103#python.ignorePipInstallErrors=true
104#python.installVirtualenv=true
105#python.resolveHierarchyTree=false
106#python.requirementsFileIncludes=requirements.txt
107#python.resolveSetupPyFiles=true
108#python.runPipenvPreStep=true
109#python.pipenvDevDependencies=true
110#python.IgnorePipenvInstallErrors=true
111
112#maven.ignoredScopes=test provided
113maven.resolveDependencies=true
114#maven.ignoreSourceFiles=true
115maven.aggregateModules=true
116#maven.ignorePomModules=false
117maven.runPreStep=false
118maven.ignoreMvnTreeErrors=true
119maven.environmentPath=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/
120maven.m2RepositoryPath=/home/jenkins/
121#maven.downloadMissingDependencies=false
122maven.additionalArguments=-s=global-settings.xml
123
124#gradle.ignoredScopes=
125#gradle.resolveDependencies=false
126#gradle.runAssembleCommand=false
127#gradle.runPreStep=true
128#gradle.ignoreSourceFiles=true
129#gradle.aggregateModules=true
130#gradle.preferredEnvironment=wrapper
131#gradle.localRepositoryPath=
132#gradle.wrapperPath=
133#gradle.downloadMissingDependencies=false
134#gradle.additionalArguments=
135#gradle.includedScopes=
136
137#paket.resolveDependencies=false
138#paket.ignoredGroups=
139#paket.ignoreSourceFiles=false
140#paket.runPreStep=true
141#paket.exePath=
142
143#go.resolveDependencies=false
144#go.collectDependenciesAtRuntime=true
145#go.dependencyManager=
146#go.ignoreSourceFiles=true
147#go.glide.ignoreTestPackages=false
148#go.gogradle.enableTaskAlias=true
149
150#ruby.resolveDependencies=false
151#ruby.ignoreSourceFiles=false
152#ruby.installMissingGems=true
153#ruby.runBundleInstall=true
154#ruby.overwriteGemFile=true
155
156#sbt.resolveDependencies=false
157#sbt.ignoreSourceFiles=true
158#sbt.aggregateModules=true
159#sbt.runPreStep=true
160#sbt.targetFolder=
161
162#php.resolveDependencies=false
163#php.runPreStep=true
164#php.includeDevDependencies=true
165
166#html.resolveDependencies=false
167
168#cocoapods.resolveDependencies=false
169#cocoapods.runPreStep=true
170#cocoapods.ignoreSourceFiles=false
171
172#hex.resolveDependencies=false
173#hex.runPreStep=true
174#hex.ignoreSourceFiles=false
175#hex.aggregateModules=true
176
177#ant.resolveDependencies=false
178#ant.pathIdIncludes=.*
179#ant.external.parameters=
180
181#r.resolveDependencies=false
182#r.runPreStep=true
183#r.ignoreSourceFiles=false
184#r.cranMirrorUrl=
185
186#cargo.resolveDependencies=false
187#cargo.runPreStep=true
188#cargo.ignoreSourceFiles=false
189
190###########################################################################################
191# Includes/Excludes Glob patterns - Please use only one exclude line and one include line #
192###########################################################################################
193includes=**/*.c **/*.java **/*.cc **/*.cp **/*.cpp **/*.cxx **/*.c++ **/*.h **/*.hpp **/*.hxx **/*.go **/*.py **/*.js **/*.jar **/*.tgz **/*.deb **/*.gzip **/*.rpm **/*.tar.bz2 **/*.zip **/*.tar.gz **/*.egg **/*.whl
194
195#includes=**/*.m **/*.mm **/*.js **/*.php
196#includes=**/*.jar
197#includes=**/*.gem **/*.rb
198#includes=**/*.dll **/*.cs **/*.nupkg
199#includes=**/*.tgz **/*.deb **/*.gzip **/*.rpm **/*.tar.bz2
200#includes=**/*.zip **/*.tar.gz **/*.egg **/*.whl **/*.py
201
202#Exclude file extensions or specific directories by adding **/*.<extension> or **/<excluded_dir>/**
203excludes=**/*sources.jar **/*javadoc.jar
204
205case.sensitive.glob=false
206followSymbolicLinks=true
207
208######################
209# Archive properties #
210######################
211#archiveExtractionDepth=4
212#archiveIncludes=**/*.war **/*.ear
213#archiveExcludes=**/*sources.jar
214
215##############
216# SCAN MODES #
217##############
218
219# Docker images
220################
221#docker.scanImages=true
222#docker.includes=.*.*
223#docker.excludes=
224#docker.pull.enable=true
225#docker.pull.images=.*.*
226#docker.pull.maxImages=10
227#docker.pull.tags=.*.*
228#docker.pull.digest=
229#docker.delete.force=true
230#docker.login.sudo=false
231#docker.projectNameFormat=default
232
233#docker.aws.enable=true
234#docker.aws.registryIds=
235
236#docker.azure.enable=true
237#docker.azure.userName=
238#docker.azure.userPassword=
239#docker.azure.registryNames=
240
241#docker.artifactory.enable=true
242#docker.artifactory.url=
243#docker.artifactory.userName=
244#docker.artifactory.userPassword=
245#docker.artifactory.repositoriesNames=
246#docker.artifactory.dockerAccessMethod=
247
248#docker.hub.enabled=true
249#docker.hub.userName=
250#docker.hub.userPassword=
251#docker.hub.organizationsNames=
252
253# Docker containers
254####################
255#docker.scanContainers=true
256#docker.containerIncludes=.*.*
257#docker.containerExcludes=
258
259# Linux package manager settings
260################################
261#scanPackageManager=true
262
263# Serverless settings
264######################
265#serverless.provider=
266#serverless.scanFunctions=true
267#serverless.includes=
268#serverless.excludes=
269#serverless.region=
270#serverless.maxFunctions=10
271
272# Artifactory settings
273########################
274#artifactory.enableScan=true
275#artifactory.url=
276#artifactory.accessToken=
277#artifactory.repoKeys=
278#artifactory.userName=
279#artifactory.userPassword=
280
281##################
282# Proxy settings #
283##################
284#proxy.host=
285#proxy.port=
286#proxy.user=
287#proxy.pass=
288
289################
290# SCM settings #
291################
292#scm.type=
293#scm.user=
294#scm.pass=
295#scm.ppk=
296#scm.url=
297#scm.branch=
298#scm.tag=
299#scm.npmInstall=
300#scm.npmInstallTimeoutMinutes=
301#scm.repositoriesFile=