-
Notifications
You must be signed in to change notification settings - Fork 1
Add prodsec workflow #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nto add_prodsec_workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new GitHub Actions workflow for FOSSA open source scanning to enhance the repository's product security (prodsec) capabilities. The workflow integrates with Splunk's centralized OSS scanning infrastructure by calling a reusable workflow from the splunk/oss-scanning repository.
Key Changes:
- Adds FOSSA OSS scanning workflow that runs on pull requests and pushes to main branch
- Integrates with external reusable workflow from
splunk/oss-scanningrepository - Inherits secrets for authentication with FOSSA service
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| name: OSS Scan | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| push: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| fossa-scan: | ||
| uses: splunk/oss-scanning/.github/workflows/oss-scan.yml@main | ||
| secrets: inherit |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow is missing a permissions declaration. All other workflows in this repository that call reusable workflows or perform security scanning explicitly define permissions (e.g., main.yml, scorecard.yml, codeql-analysis.yml).
Without explicit permissions, this workflow defaults to read-write for all scopes, which violates the principle of least privilege. Consider adding:
permissions: read-allor more specific permissions if the FOSSA scan requires write access to certain scopes (check the splunk/oss-scanning documentation for requirements).
Pull Request Test Coverage Report for Build 19578507505Details
💛 - Coveralls |
No description provided.