OpenML
OpenML copied to clipboard
Added Security Workflow
Fixes: #1249
This pull request introduces a comprehensive security scanning setup for the repository, including configuration files and workflows for automated detection of vulnerabilities and secrets. It adds CodeQL analysis, dependency and secret scanning, and security audits for both PHP (Composer) and JavaScript (NPM) projects. Additionally, it provides custom configurations for both CodeQL and Gitleaks to tailor scanning to the project's needs.
Security scanning workflow integration:
- Added
.github/workflows/security.ymlto automate CodeQL analysis (for JavaScript and Python), dependency vulnerability scanning (Trivy, OSV), secret scanning (Gitleaks), Composer and NPM audits, and a summary step to report results and fail on critical issues.
Configuration for scanning tools:
- Added
.github/codeql/codeql-config.ymlto customize CodeQL queries, specify include/exclude paths, and configure language-specific options for Python and JavaScript analysis. - Added
.gitleaks.tomlto configure Gitleaks secret scanning with custom rules for OpenML-specific secrets, allowlists for common false positives, and exclusion of non-sensitive files and patterns.
Hi @joaquinvanschoren , @janvanrijn please review when you get a chance - thanks