security: add CodeQL and dependency review gates - #192
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
SonarQube Cloud successThe SonarQube Cloud Quality Gate passed for this PR. Quality Gate status: OK
|
Summary
Adds two missing security layers to the Dapper.FluentMap repository baseline:
A repository-level security policy is also added so vulnerability reporting and the automated security controls are explicit to contributors and consumers.
Why
Dependabot and SonarQube Cloud already provide useful dependency maintenance and quality/security signals, but they do not replace CodeQL's semantic analysis or a dedicated review of dependency deltas introduced by each pull request.
For a public NuGet library with an established consumer base, these controls reduce the risk of shipping source-level vulnerabilities or introducing vulnerable dependencies into the package/release pipeline.
CodeQL design
master, pushes tomaster, a weekly schedule, and manual dispatch;global.json;Dapper.FluentMap.slnxsolution;build-mode: manualrather than an independent autobuild path;Dependency Review design
master;highseverity or above;continue-on-error;Security policy
Adds
SECURITY.mdwith private-reporting guidance and documents CodeQL, Dependency Review, Dependabot, SonarQube Cloud, and CI as complementary controls. It explicitly records that security gates should be triaged rather than made advisory simply to keep pipelines green.Validation
master;masterbranch convention and current release automation;Closes #191