Skip to content

Feat/add codeql#98

Merged
dgtlctzn merged 29 commits into
mainfrom
feat/add-codeql
Mar 6, 2026
Merged

Feat/add codeql#98
dgtlctzn merged 29 commits into
mainfrom
feat/add-codeql

Conversation

@dgtlctzn
Copy link
Copy Markdown
Collaborator

@dgtlctzn dgtlctzn commented Mar 4, 2026

Adding CodeQL as a data source in Vulnbot so we can have slack alerts reflect these vulnerabilities.

GitHub's graphql endpoints do not give access to query code scanning alerts by org so I had to use the V3 REST API via the go-github package. The existing GH token should be sufficient for auth purposes. I updated the go version to use the latest version of this package.

@dgtlctzn dgtlctzn requested a review from a team as a code owner March 4, 2026 15:22
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 47.94521% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.61%. Comparing base (67054bd) to head (5a95fda).

Files with missing lines Patch % Lines
querying/codeql.go 50.00% 29 Missing and 6 partials ⚠️
internal/datasources.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
- Coverage   76.92%   74.61%   -2.31%     
==========================================
  Files          15       16       +1     
  Lines         845      918      +73     
==========================================
+ Hits          650      685      +35     
- Misses        182      214      +32     
- Partials       13       19       +6     
Flag Coverage Δ
unittests 74.61% <47.94%> (-2.31%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@joeyviolacode joeyviolacode left a comment

Choose a reason for hiding this comment

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

Nothing glaringly weird, though my go isn't super sharp.

@dgtlctzn dgtlctzn enabled auto-merge March 5, 2026 20:13
@dgtlctzn dgtlctzn disabled auto-merge March 5, 2026 20:22
@dgtlctzn dgtlctzn merged commit bb583a1 into main Mar 6, 2026
12 checks passed
@dgtlctzn dgtlctzn deleted the feat/add-codeql branch March 6, 2026 15:24
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.

2 participants