From 68d0932621e8935d41757bff0cc9125b244e0fa3 Mon Sep 17 00:00:00 2001 From: Aditya Narayan <57411194+adityanarayanp@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:04:28 +0530 Subject: [PATCH] Update appSettings.json --- src/LCT.Common/appSettings.json | 423 +++++++++++++++----------------- 1 file changed, 202 insertions(+), 221 deletions(-) diff --git a/src/LCT.Common/appSettings.json b/src/LCT.Common/appSettings.json index e877d73a..dece5b2d 100644 --- a/src/LCT.Common/appSettings.json +++ b/src/LCT.Common/appSettings.json @@ -5,233 +5,214 @@ // -------------------------------------------------------------------------------------------------------------------- { - "TimeOut": 400, - "ProjectType": "", - "SW360": { - "URL": "", - "ProjectName": "", - "ProjectID": "", - "AuthTokenType": "", - "Token": "", - "Fossology": - { - "URL": "", - "EnableTrigger": true + "TimeOut": 400, + "ProjectType": "", + "SW360": { + "URL": "", + "ProjectName": "", + "ProjectID": "", + "AuthTokenType": "", + "Token": "", + "Fossology": { + "URL": "", + "EnableTrigger": true + }, + "IgnoreDevDependency": true, + //Examples pkg:npm/foobar@12.3.1 or foobar:12.3.1,foobar:12.*,foobar:* + "ExcludeComponents": [ + "package-url(PURL) as present in SW360" + ] }, - "IgnoreDevDependency": true, - "ExcludeComponents" :[""] //Examples pkg:npm/foobar@12.3.1 or foobar:12.3.1,foobar:12.*,foobar:* - }, - "Directory": { - "InputFolder": "/PathToInputDirectory", //Input File path. For Docker run set as /mnt/Input - "OutputFolder": "/PathToOutputDirectory", //Output Bom Folder path. For Docker run set as /mnt/Output - "BomFilePath": "//_Bom.cdx.json" //For multiple project type - }, - "Jfrog": { - "URL": "", - "Token": "", - "DryRun": false - }, - "Npm": { - "Include": [ - "p*-lock.json", - "*.cdx.json" - ], - "Exclude": [ - "node_modules" - ], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for NPM - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Directory": { + "InputFolder": "/PathToInputDirectory", //Input File path. For Docker run set as /mnt/Input + "OutputFolder": "/PathToOutputDirectory", //Output Bom Folder path. For Docker run set as /mnt/Output + "BomFilePath": "//_Bom.cdx.json" //For multiple project type + }, + "Jfrog": { + "URL": "", + "Token": "", + "DryRun": false }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Nuget": { - "Include": [ - "packages.config", - "p*.assets.json", - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Nuget - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Npm": { + "Include": [ + "p*-lock.json", + "*.cdx.json" + ], + "Exclude": [ + "node_modules" + ], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Maven": { - "Include": [ - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Maven - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Nuget": { + "Include": [ + "packages.config", + "p*.assets.json", + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Debian": { - "Include": [ - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Debian - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Maven": { + "Include": [ + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Alpine": { - "Include": [ - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Alpine - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Debian": { + "Include": [ + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Poetry": { - "Include": [ - "poetry.lock", - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Poetry - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Alpine": { + "Include": [ + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - }, - "Conan": { - "Include": [ - "conan.lock", - "*.cdx.json" - ], - "Exclude": [], - "Artifactory": - { - "ThirdPartyRepos": [ - { - "Name": "", - "Upload" :true - } - ], - "InternalRepos": [ - "" //This should be the internal repo names in Artifactory for Conan - ], - "DevRepos": [ - "", - "" - ], - "RemoteRepos": [ - "", - "" - ] + "Poetry": { + "Include": [ + "poetry.lock", + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "ReleaseRepo": "", - "DevDepRepo": "" - } + "Conan": { + "Include": [ + "conan.lock", + "*.cdx.json" + ], + "Exclude": [], + "Artifactory": { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload": true + } + ], + "InternalRepos": [ + "" + ], + "DevRepos": [ + "" + ], + "RemoteRepos": [ + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" + } }