Skip to content

Migrate from FOSSA to SRS configuration#2685

Open
skammari-splunk wants to merge 1 commit intosignalfx:mainfrom
skammari-splunk:migrate-fossa-to-srs-main
Open

Migrate from FOSSA to SRS configuration#2685
skammari-splunk wants to merge 1 commit intosignalfx:mainfrom
skammari-splunk:migrate-fossa-to-srs-main

Conversation

@skammari-splunk
Copy link
Copy Markdown

Summary

This PR adds a srs.yaml configuration file generated from the existing .fossa.yml configuration.

What Changed

Added srs.yaml with settings migrated from .fossa.yml
Mapped FOSSA paths.exclude to SRS skip-dirs
Mapped FOSSA targets.exclude (type + path) to SRS skip-files

Next Steps

  • Review the generated srs.yaml configuration
  • Check warning comments for any unsupported features

@skammari-splunk skammari-splunk requested review from a team as code owners March 5, 2026 09:07
Copy link
Copy Markdown
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to remove the fossa yaml as part of this PR? Should that go away as well?

I'm curious to see what this looks like and if it will impact our workflow.

# - experimental.gradle.configurations-only: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# FOSSA was configured to scan only Gradle configurations: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# SRS does not support Gradle configuration filtering.
# Only 'compileClasspath', 'runtimeClasspath' configurations will be scanned.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scanning compileClasspath may result in false positives e.g. license report may include libraries that aren't really bundled with the agent, same for vulnerabilities. If this turns out to be an issue how can we work around it?

Comment on lines +1 to +12
# SRS configuration file
# Generated from .fossa.yml
#
# WARNING: The following FOSSA features are NOT supported in SRS
# (only skip-files and skip-dirs are supported for now):
#
# - experimental.gradle.configurations-only: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# FOSSA was configured to scan only Gradle configurations: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# SRS does not support Gradle configuration filtering.
# Only 'compileClasspath', 'runtimeClasspath' configurations will be scanned.
#

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# SRS configuration file
# Generated from .fossa.yml
#
# WARNING: The following FOSSA features are NOT supported in SRS
# (only skip-files and skip-dirs are supported for now):
#
# - experimental.gradle.configurations-only: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# FOSSA was configured to scan only Gradle configurations: ['runtimeClasspath', 'runtime', 'runtimeOnly', 'runtimeOnlyDependenciesMetadata']
# SRS does not support Gradle configuration filtering.
# Only 'compileClasspath', 'runtimeClasspath' configurations will be scanned.
#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants