Skip to content

Add README for sql-esu plugin KQL query#887

Merged
cmendible merged 1 commit into
mainfrom
cmendible/adding-project-readme
Jun 10, 2026
Merged

Add README for sql-esu plugin KQL query#887
cmendible merged 1 commit into
mainfrom
cmendible/adding-project-readme

Conversation

@cmendible

Copy link
Copy Markdown
Member

Closes #886

Adds a README.md to internal/scanners/plugins/sqlesu/ documenting the sql-esu.kql Azure Resource Graph query.

Contents

  • Overview: What the KQL query does (discovery, version classification, cost estimation)
  • Assumptions table: ESU pricing, minimum billable cores, maintenance overhead, SQL MI migration costs, VM vCore resolution, EOL/ESU dates, savings calculation logic
  • Output columns: All 26 columns produced by the query
  • Limitations (Beta): v0.1.0-beta caveats around pricing accuracy and scope
  • Plugin integration: How this KQL is used by the sql-esu internal plugin (azqr sql-esu / azqr scan --plugin sql-esu)

Document the KQL file, assumptions (pricing, vCore resolution, EOL dates),
output columns, usage, and beta limitations for the sql-esu internal plugin.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@cmendible cmendible left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

LGTM

@cmendible cmendible merged commit 2886bf7 into main Jun 10, 2026
4 checks passed
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 20.21%. Comparing base (143e195) to head (1e4dbcb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #887   +/-   ##
=======================================
  Coverage   20.21%   20.21%           
=======================================
  Files         105      105           
  Lines        7431     7431           
=======================================
  Hits         1502     1502           
  Misses       5817     5817           
  Partials      112      112           
Flag Coverage Δ
unittests 20.21% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Add README for sql-esu plugin KQL query

2 participants