From 7e3d6949151e3ca930dbc6cd3bf98e811fc05eb0 Mon Sep 17 00:00:00 2001 From: Matt Bowersox Date: Tue, 27 Feb 2024 12:46:01 -0600 Subject: [PATCH] Add WhiteSource config for Mend scans --- .whitesource | 6 ++++++ whitesource.config | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .whitesource create mode 100644 whitesource.config diff --git a/.whitesource b/.whitesource new file mode 100644 index 00000000..882cda5e --- /dev/null +++ b/.whitesource @@ -0,0 +1,6 @@ +{ + "settingsInheritedFrom": "whitesource-config/whitesource-config@master", + "scanSettings": { + "configMode": "LOCAL" + } +} \ No newline at end of file diff --git a/whitesource.config b/whitesource.config new file mode 100644 index 00000000..3ba79d2e --- /dev/null +++ b/whitesource.config @@ -0,0 +1,19 @@ +# https://whitesource.atlassian.net/wiki/spaces/WD/pages/1781760001/Unified+Agent+Configuration+Parameters+for+Native+Integrations +# This config file has been created from the above link and is used in all WS Native Repo Integrations by default +# This file is meant to be used as a template when switching from AUTO to LOCAL configMode in the .whitesource file + +maven.ignoreSourceFiles=true +maven.ignoreMvnTreeErrors=true + +gradle.ignoreSourceFiles=true +gradle.runPreStep=true + +includes=**/*.c,**/*.cc,**/*.cp,**/*.cpp,**/*.cxx,**/*.c\+\+,**/*.h,**/*.hh,**/*.hpp,**/*.hxx,**/*.h\+\+,**/*.m,**/*.mm,**/*.pch,**/*.c#,**/*.cs,**/*.csharp,**/*.go,**/*.goc,**/*.js,**/*.pl,**/*.plx,**/*.pm,**/*.ph,**/*.cgi,**/*.fcgi,**/*.pod,**/*.psgi,**/*.al,**/*.perl,**/*.t,**/*.pl6,**/*.p6m,**/*.p6l,**/*.pm6,**/*.nqp,**/*.6pl,**/*.6pm,**/*.p6,**/*.php,**/*.py,**/*.rb,**/*.swift,**/*.java,**/*.clj,**/*.cljx,**/*.cljs,**/*.cljc,**/*.jar,**/*.egg,**/*.dll,**/*.tar.gz,**/*.tgz,**/*.zip,**/*.whl,**/*.gem,**/*.apk,**/*.air,**/*.dmg,**/*.exe,**/*.gem,**/*.gzip,**/*.msi,**/*.nupkg,**/*.swc,**/*.swf,**/*.tar.bz2,**/*.pkg.tar.xz,**/*.(u)?deb,**/*.(a)?rpm + +archiveExtractionDepth=0 +archiveIncludes=**/*.zip,**/*.whl,**/*.tar.gz,**/*.tgz,**/*.tar,**/*.car,**/*.jar +# Includes/Excludes Glob patterns - Please use only one exclude line and one include line # +########################################################################################### +#Exclude file extensions or specific directories by adding **/*. or **//** +excludes = **/src/it **/src/test +archiveExcludes = **/*.war **/*.ear \ No newline at end of file