Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cve-scanning-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ jobs:
- name: CVEs
# Using --no-daemon is a good practice in CI environments
# It prevents potential conflicts or statefulness between job runs.
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
run: ./gradlew dependencyCheckAggregate --no-daemon -PdependencyCheck.nvd.apiKey=${{ secrets.NVD_API_KEY }}
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,11 @@ repositories {
dependencyCheck {
failBuildOnCVSS=5
suppressionFile="./allow-list.xml"
data {
directory = "${buildDir}/dependency-check-data"
}
nvd {
apiKey = System.getenv("NVD_API_KEY") ?: (project.findProperty("dependencyCheck.nvd.apiKey") ?: "")
delay = apiKey ? 2000 : 16000
}
}
7 changes: 6 additions & 1 deletion symphony-bdk-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {
// import Log4j's BOM
api platform('org.apache.logging.log4j:log4j-bom:2.26.0')
// override Netty (Spring Boot 3.5.14 ships 4.1.132 which is still vulnerable to CVE-2026-41417)
api platform('io.netty:netty-bom:4.1.133.Final')
api platform('io.netty:netty-bom:4.1.134.Final')

// define all our dependencies versions
constraints {
Expand All @@ -45,6 +45,11 @@ dependencies {

// External dependencies

// override Tomcat (Spring Boot 3.5.14 ships 10.1.54 which is vulnerable to multiple CVEs)
api 'org.apache.tomcat.embed:tomcat-embed-core:10.1.55'
api 'org.apache.tomcat.embed:tomcat-embed-el:10.1.55'
api 'org.apache.tomcat.embed:tomcat-embed-websocket:10.1.55'

api 'org.apiguardian:apiguardian-api:1.1.2'

api 'org.slf4j:slf4j-api:2.0.9'
Expand Down
2 changes: 1 addition & 1 deletion symphony-bdk-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dependencies {
}

// OpenAPI code generation
def apiBaseUrl = "https://raw.githubusercontent.com/finos/symphony-api-spec/332b01730c016a26277d89c6525398df20b17613"
def apiBaseUrl = "https://raw.githubusercontent.com/finos/symphony-api-spec/d369d95254d6df3451d053340b1b25478b95e57b"
def generatedFolder = "$buildDir/generated/openapi"
def apisToGenerate = [
Agent: 'agent/agent-api-public-deprecated.yaml',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ public interface UserDetailMapper {
@Mapping(target = "userAttributes.instrument", ignore = true)
@Mapping(target = "userAttributes.currentKey", ignore = true)
@Mapping(target = "userAttributes.previousKey", ignore = true)
@Mapping(target = "userAttributes.userMetadata", ignore = true)
V2UserDetail userDetailToV2UserDetail(UserDetail userDetail);
}
Loading