惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
Y
Y Combinator Blog
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
F
Fortinet All Blogs
博客园 - 司徒正美
I
InfoQ
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
U
Unit 42

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Code Quality findings now have a REST API a pipeline can ...
Leo · 2026-06-24 · via DEV Community

Leo

The first time we needed yesterday's CodeQL findings for a tracking ticket, I clicked through the Code Quality UI for about ten minutes, copied a rule name, opened a new tab, and gave up trying to keep my place. The dashboard was right there, the data was right there, and the only path between it and Jira was my own attention span. That little annoyance just got an escape hatch.

GitHub's Changelog on June 23 announced two new read-only REST endpoints for Code Quality findings, both in public preview:

  • GET /repos/{owner}/{repo}/code-quality/findings, which lists findings for a repository with filtering and pagination support.
  • GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}, which returns the details for a single CodeQL finding.

The endpoints are available on github.com today and are not yet available on GitHub Enterprise Server. GitHub describes the intent in plain terms: broader access to Code Quality results, with explicit mention of supporting "tooling and agentic remediation workflows."

Why a read endpoint is a bigger shift than it sounds

Since Code Quality entered preview, the findings have been visible mostly in a place a human pointed a browser at. That is fine for a reviewer in the moment. It is not fine for any workflow that wants to do something with a finding the next morning: open a ticket, tag the right team, ship a metric, gate the next release on a trend rather than on the absolute count.

A read API turns the dashboard into a queryable surface. The pipeline can ask the same questions the UI already answers, on its own schedule, with its own filters. That is what a CI/CD primitive actually looks like in practice: a small piece of data that lots of other automation can lean on.

Wiring it into a job

A first job is usually some flavor of "list the findings that landed on this repo, then post them somewhere." The shape is roughly this:

curl -sSL \
  -H "Authorization: Bearer $GH_TOKEN" \
  -H "Accept: application/vnd.github+json" \
  "https://api.github.com/repos/$OWNER/$REPO/code-quality/findings?per_page=100"

The single-finding endpoint slots in when something wants the full body: a remediation agent, a ticket bot, a custom severity dashboard. The exact response schema is not something I will quote here, because the changelog does not, and inventing field names in print is a great way to send someone down a debugging hole that is not their fault. The honest move is to fire one call, save a response, and write your code against the shape you actually got back.

Rough edges to plan around

Public preview is the headline caveat, and the practical one too. Field names may move before GA, so any pipeline that depends on this should keep the integration in a job you would not mind disabling for a week, log unknown fields rather than crash, and stay willing to redo the parsing pass.

The GitHub Enterprise Server gap matters if your code lives there. The endpoints are github.com only at announcement time, which means a multi-instance shop will have one pipeline that can call the new API and another that cannot. Worth knowing before you write a script that assumes both.

The endpoints are also read-only. Triage state, dismissals, and remediation status are not part of this preview. If your dream is a closed loop where an agent both reads a finding and marks it fixed, this is the first half of that loop.

How the wider category handles the same job

Programmatic access to static-analysis findings is not a new idea. Most established code-quality and SAST products have offered REST or GraphQL surfaces for years, often with richer write paths than what GitHub is shipping today. What is new here is location: the engine producing the finding, the merge gate that may block on it, and the API exposing it now all live on the same platform. For teams already standardized on one provider for code hosting, that closeness is the whole point. For teams that deliberately keep their scanner separate from their host, it is a reason to keep the alternative around.

What I am watching next

Two things. Whether the GA cut adds anything to write back: a way to mark a finding triaged, or attach a remediation note, would expand what kinds of automation are possible. And whether GitHub Enterprise Server gets the endpoints before too long. The on-prem audience is where the agentic-remediation pitch will get its hardest stress test, and a preview that stops at the github.com perimeter is going to feel half-built until that gap closes.