Skip to content

Commit fba8f4a

Browse files
authored
chore: migrate from FOSSA to SRS configuration (#2022)
## Summary - Add `srs.yaml` configuration file generated from `.fossa.yml` settings - Map FOSSA `paths.exclude` to SRS `skip-dirs` and FOSSA `targets.exclude` to SRS `skip-files` - Update `.licenserc.yaml` to exclude `srs.yaml` from license header checks ## Test plan - [ ] Verify `srs.yaml` contains correct scanner configuration (vuln + license) - [ ] Verify skip-files list matches the original FOSSA exclusions - [ ] Verify `.licenserc.yaml` correctly excludes `srs.yaml` This change migrates open source dependency scanning from FOSSA to Splunk's internal SRS system. Closes #1994 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 76e7111 commit fba8f4a

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ header:
4848
- "splunk_add_on_ucc_framework/commands/imports.py"
4949
- "scripts/rum-script.html"
5050
- "mypy.ini"
51+
- "srs.yaml"

srs.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SRS configuration file
2+
# Generated from .fossa.yml
3+
#
4+
5+
scan:
6+
scanners:
7+
- vuln
8+
- license
9+
skip-files:
10+
- splunk_add_on_ucc_framework/commands/init_template/{{cookiecutter.addon_name}}/package/lib/pyproject.toml
11+
- splunk_add_on_ucc_framework/commands/init_template/{{cookiecutter.addon_name}}/package/lib/setup.cfg
12+
- splunk_add_on_ucc_framework/commands/init_template/{{cookiecutter.addon_name}}/package/lib/setup.py
13+
- tests/testdata/expected_addons/expected_addon_after_init/demo_addon_for_splunk/package/lib/pyproject.toml
14+
- tests/testdata/expected_addons/expected_addon_after_init/demo_addon_for_splunk/package/lib/setup.cfg
15+
- tests/testdata/expected_addons/expected_addon_after_init/demo_addon_for_splunk/package/lib/setup.py
16+
- tests/testdata/test_addons/package_global_config_configuration/package/lib/pyproject.toml
17+
- tests/testdata/test_addons/package_global_config_configuration/package/lib/setup.cfg
18+
- tests/testdata/test_addons/package_global_config_configuration/package/lib/setup.py
19+
- tests/testdata/test_addons/package_global_config_everything/package/lib/pyproject.toml
20+
- tests/testdata/test_addons/package_global_config_everything/package/lib/setup.cfg
21+
- tests/testdata/test_addons/package_global_config_everything/package/lib/setup.py

0 commit comments

Comments
 (0)