Skip to content

Unify weekly + per-PR security scanning into a single workflow - #1460

Merged
vikrantpuppala merged 5 commits into
mainfrom
vp/unified-security-scan
May 21, 2026
Merged

vikrantpuppala merged 5 commits into
mainfrom
vp/unified-security-scan

Conversation

@vikrantpuppala

@vikrantpuppala vikrantpuppala commented May 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Consolidates security scanning into one workflow with one job (securityScan.yml). Replaces vulnerabilityCatcher.yml. Adds OSV-Scanner alongside the existing OWASP check, plus cyclonedx SBOM generation so OSV scans the actually-resolved local dependency tree.

This bundles the work that was originally split across (now-closed) PRs #1458 (suppressions + email-notification fix) and #1459 (per-PR gate). One unified workflow file, one set of suppression rules, one place to look.

Design: single job, terminal steps gated by event

Triggers: pull_request, schedule (weekly cron), workflow_dispatch
   │
   ├─ shared: checkout, JDK, JFrog OIDC, maven config
   ├─ shared: NVD database cache (saves ~2 min)
   ├─ shared: mvn package (generates cyclonedx aggregate SBOM)
   ├─ shared: OWASP dependency-check (continue-on-error)
   ├─ shared: install + run OSV-Scanner
   ├─ shared: Collect findings (writes job summary; sets outputs)
   │
   ├─ if pull_request + findings ⇒ fail the job
   └─ if schedule|dispatch + findings ⇒ send email + fail the job

No duplicated steps across jobs. Same scan logic for every trigger; only the notification mechanism differs.

What changed

File Change
.github/workflows/vulnerabilityCatcher.yml Removed. Superseded by securityScan.yml.
.github/workflows/securityScan.yml New. Single job with event-gated terminal steps. Includes NVD database caching for faster runs.
owasp-suppressions.xml 8 new entries for documented CPE/ecosystem false positives — Arrow R-only (CVE-2024-52338), gRPC-Go-only (CVE-2026-33186), protobuf Python-only (CVE-2026-0994), 5 libthrift non-Java bindings. Each entry has a justification comment block.
osv-scanner.toml New. Mirrors the OWASP suppressions in TOML format. Keep the two files in sync when adding/removing entries.
pom.xml cyclonedx-maven-plugin 2.9.1 added, bound to package phase, skipNotDeployed=false. Emits an aggregate target/bom.json for OSV to read.

Why two scanners

Scanner Source Catches Misses
OWASP dependency-check NVD (CPE-based) Anything with an NVD CPE entry. Reuses existing owasp-suppressions.xml and failBuildOnCVSS=7 threshold. GHSA-only advisories without an NVD CPE (e.g., CVE-2025-66566 in lz4-java — the #1455 finding).
OSV-Scanner v2.3.8 OSV.dev (purl-based; federates GHSA + NVD + PyPA + RustSec) The GHSA-only gap. Already turned up a new finding: bouncycastle CVE-2026-5598 (severity 8.9) in bcprov-jdk18on 1.79, invisible to OWASP. Findings without a CVSS score (rare for high-severity).

Why cyclonedx SBOM

OSV-Scanner's Maven resolver consults deps.dev's published-artifact metadata. For the project's own GA, that means it sees the previously-published 3.3.3 pom — not whatever bumps are sitting on main. Result: in CI, OSV would keep showing yesterday's released state instead of the PR branch's actual dependency tree. Producing a CycloneDX aggregate SBOM at build time captures the actually-resolved local tree.

Fixes from #1458 included here

The weekly scan has been failing every Sunday for 7+ consecutive weeks (since early April 2026) without sending a notification email. Root cause: the OWASP maven plugin step exits non-zero when CVEs are found (because <failBuildOnCVSS>7</failBuildOnCVSS> is set in jdbc-core/pom.xml:357), short-circuiting the rest of the job. The subsequent steps never ran.

The new workflow has continue-on-error: true on the OWASP step and routes finding-detection through an explicit Collect findings step that reads the OWASP JSON report directly. Whether the job ultimately fails (and whether email goes out) is decided after that step, not by maven's exit code.

Findings on main today

This workflow, run against current main, reports unsuppressed findings that will be addressed in separate follow-up PRs:

  1. `org.bouncycastle:[email protected]` → CVE-2026-5598 (severity 8.9). Fixed in bouncycastle 1.84. OWASP doesn't see this — OSV-only finding.
  2. `org.apache.thrift:[email protected]` → 4 CVEs (CVE-2026-41603/04/05/43869, max severity 8.2). Cleared by the libthrift 0.19 → 0.23 follow-up (requires regenerating `TCLIService.java` with the matching compiler).

So this PR's own CI is expected to fail on these 2 known findings until the follow-ups land. Aligned with the rollout plan: add the workflow now, mark it required-to-merge in branch protection after the burn-down.

Expected runtime

Each invocation: ~5–7 minutes (vs ~4 min for the old weekly). Breakdown:

  • mvn package (with cyclonedx SBOM): ~45–90s
  • OWASP dependency-check (with NVD cache hit): ~1–2 min
  • OSV-Scanner install + run: ~15s
  • Other steps: ~30s

NVD caching cuts ~2 minutes off OWASP's runtime when the cache is warm. The cache key rotates daily so we still get fresh CVE data.

What this PR is NOT

  • It is not a required check. Branch protection is unchanged — PRs aren't blocked by the red ❌ yet.
  • It does not introduce diff-mode (net-new findings only) gating. Every PR has to ship into a clean codebase; this is the design we agreed on, to force burn-down rather than just "not making it worse."
  • It does not include a Phase 2 design (override flags, severity tiers, auto-issue filing). Phase 2 is deferred until we have ~2 weeks of operational experience.

Test plan

  • `mvn package -DskipTests -Ddependency-check.skip=true` produces `target/bom.json` (69 components, all expected versions).
  • `mvn -pl jdbc-core org.owasp:dependency-check-maven:check` reports 4 unsuppressed CVEs (all libthrift; matches expectation).
  • `osv-scanner scan source --config=osv-scanner.toml --format=json target/bom.json` + severity≥7 filter reports 2 findings (bouncycastle + libthrift cluster).
  • Findings-step jq logic correctly counts OWASP CVSS>=7 from the JSON report.
  • XML validation of `owasp-suppressions.xml`.
  • YAML validation of `securityScan.yml`.
  • CI run on this PR — expected to fail on the 2 known findings above. The CI failure on this PR is the intended outcome.
  • Manual `workflow_dispatch` run post-merge to verify the email path fires.

NO_CHANGELOG=true

This pull request and its description were written by Isaac.

@vikrantpuppala
vikrantpuppala requested a review from a team as a code owner May 20, 2026 09:39
@gopalldb

Copy link
Copy Markdown
Collaborator

🔴 Major #1: pr-scan step ordering risk — OSV depends on SBOM but Build step has no if: always().

  • name: Build (generates cyclonedx SBOM)
    run: mvn package -DskipTests -Ddependency-check.skip=true -B

  • name: Run OWASP Dependency Check
    id: owasp
    run: mvn -pl jdbc-core org.owasp:dependency-check-maven:check ...

  • name: Install osv-scanner
    if: always()

  • name: Run OSV-Scanner
    id: osv
    if: always()

If the Build step fails (Maven compile error, JFrog flake), target/bom.json won't exist. OSV-Scanner runs with if: always() and tries to scan a missing file → osv-scanner ... target/bom.json || true swallows
the error → the jq query on an empty/non-JSON file → cryptic failure. Not the end of the world but worth a guard:

  • name: Run OSV-Scanner
    id: osv
    if: always()
    run: |
    if [ ! -f target/bom.json ]; then
    echo "::warning::SBOM not present (build likely failed); skipping OSV-Scanner"
    exit 0
    fi
    ...

🔴 Major #2: OWASP failBuildOnCVSS=7 will fail the pr-scan owasp step short-circuiting osv only if osv lacks if: always().

Good news: osv does have if: always(). But the implication is that on findings, the pr-scan step owasp exits non-zero, the job reports failure, AND osv still runs and may report additional findings. So PR
authors get the union of both. Correct behavior.

However: the OWASP step exit code is the only signal for OWASP findings in the PR job. The osv step explicitly filters severity≥7 and emits ::error:: + exit 1. There's no symmetric severity filter for OWASP
— it's gated entirely by the pom.xml failBuildOnCVSS config. If the suppression file is misconfigured (parse error), OWASP may exit 0 with no findings and PRs would silently pass. Add an explicit check that
the OWASP report file exists and that the scan ran to completion:

  • name: Verify OWASP ran
    if: always()
    run: test -f jdbc-core/target/dependency-check-report.json

🟡 Minor #3: set -uo pipefail (no -e) in OSV step is intentional but worth a comment.

  • name: Run OSV-Scanner
    run: |
    set -uo pipefail
    /tmp/osv-scanner scan source ... || true

The || true swallows OSV's non-zero exit (OSV exits 1 on ANY finding regardless of severity), and the severity≥7 filter does the actual gating. Reasonable. But anyone reading this for the first time will
wonder why -e is missing. One-line comment:

Drop -e: osv-scanner exits 1 on any finding (severity-blind);

we do our own severity filter below.

set -uo pipefail

🟡 Minor #4: jq severity filter uses tonumber? // 0 — silently treats malformed severity as 0 (no finding).

select((.max_severity | tonumber? // 0) >= 7)

If OSV ever changes its severity format to a string ("HIGH"), tonumber? returns null → // 0 → severity 0 → finding ignored. Probably fine since OSV uses CVSS numerics, but the silent fail-open is a footgun.
Consider logging when filter fails:

TOTAL_FINDINGS=$(jq '[.results[].packages[]? | .groups[]?] | length' /tmp/osv-out.json)
echo "OSV-Scanner: $TOTAL_FINDINGS total findings, $COUNT at CVSS>=7"

This way if 50 findings are detected but the severity filter shows 0, ops people will notice the mismatch.

🟡 Minor #5: osv-scanner.toml is keyed by CVE ID; not scoped by package.

[[IgnoredVulns]]
id = "CVE-2026-33186"
reason = "..."

Unlike the OWASP regex which scopes the suppression to a specific artifact, OSV's IgnoredVulns is CVE-id global. If a future dependency picks up the same CVE id legitimately (e.g., a non-Java
grpc artifact gets added later that's actually vulnerable), it'll be silently suppressed.

OSV does support [[PackageOverrides]] for package-scoped overrides — worth using:

[[PackageOverrides]]
name = "io.grpc:grpc-api"
ecosystem = "Maven"
vulnerability.id = "CVE-2026-33186"
ignore = true
reason = "..."

Or at minimum, document this trade-off in the file header so future-readers know suppressions are CVE-id global.


Coverage Gaps

🟡 #6: No SBOM for databricks-jdbc-thin (uber jar).

The cyclonedx aggregate BOM is from mvn package of the multi-module reactor. But the published artifact is the shaded uber jar (databricks-jdbc:3.x) which has different effective dependencies (relocated,
some excluded). If a vulnerability is in a transitive that gets excluded by shading, it'll show in the BOM but not actually ship. Conversely, if shading includes something not in the reactor BOM, it'd be
missed.

Not blocking for this PR — but worth a follow-up: also scan the uber jar via osv-scanner scan source .

🟡 #7: PR scan doesn't run on forks (no JFrog OIDC).

  • name: Get JFrog OIDC token
    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository

OK on its own — fork PRs would fail OIDC token mint. But then the subsequent Build (generates cyclonedx SBOM) step has no if: guard and will try to run without Maven settings configured. It might still work
if no JFrog-only artifacts are needed (cache hit), but it's a structural gap. Either:

  • Skip the entire pr-scan job for forks: if: github.event.pull_request.head.repo.full_name == github.repository
  • Or have a fork-path that uses public Maven Central directly

🟡 #8: SBOM is committed to artifact but not the repo.

The aggregate BOM is generated fresh per CI run. That's fine for the scanner, but: if a customer / security team wants to independently audit the driver's SBOM for a specific release, they have no way to
access it post-build. Consider attaching bom.json to GitHub releases as a release asset.

Not a blocker for this PR — separate "publish SBOM" PR worth filing.


Maintainability

🟢 Suppression sync — the PR header acknowledges this:

▎ "Keep the two files in sync when adding/removing entries."

But there's no automation to enforce it. Worth a follow-up CI check that parses both files and validates that every entry in osv-scanner.toml has a corresponding X in owasp-suppressions.xml and
vice versa.

🟡 #9: Duplication between pr-scan and weekly-scan jobs.

The two jobs duplicate ~120 lines (JFrog OIDC + Maven settings + checkout + JDK setup). Use a reusable composite action or a shared setup-and-build job that both depend on. Today the duplication is fine; if
a third trigger gets added (e.g., release scan), the maintenance cost compounds.

@vikrantpuppala

vikrantpuppala commented May 20, 2026 •

Copy link
Copy Markdown
Collaborator Author

@gopalldb thanks for the thorough review — really helpful framing. Quick map of where each point lands given two changes that happened since you wrote it:

Already addressed before your review landed (force-push):

  • (9) duplication between pr-scan and weekly-scan jobs: I collapsed the two jobs into a single `security-scan` job in commit `4c4864c` (shared steps; terminal steps gated by `github.event_name`). Same workflow file, no duplication. Worth a re-read from the top.

Direction change after your review (next push):
After your review, we decided to drop OWASP entirely from this workflow and use OSV-Scanner as the sole gate. Two reasons:

  1. Coverage: OSV's database is a strict superset of NVD's (federates GHSA/NVD/PyPA/RustSec). In testing we found OSV catches two real CVEs that OWASP misses entirely — CVE-2025-66566 in `at.yawk.lz4:lz4-java` and CVE-2026-5598 in bouncycastle — because they're GHSA-only with no NVD CPE entry. Haven't seen the reverse case.
  2. Operational cost: OWASP needs the NVD database (~150–700 MB), the NVD_API_KEY secret, the cache machinery, and minutes per run even with warm cache. OSV is a single ~5s call.

The release pipeline at `databricks/secure-public-registry-releases-eng` already explicitly skips OWASP (`-Ddependency-check.skip=true` in every Maven step) and runs its own artifact-level scan via `databricks/gh-action-scan`. So removing OWASP from this repo's CI doesn't disturb release gating.

That mootss your (2) (OWASP silent-success risk) and (9 part 2) (suppression sync between owasp-suppressions.xml and osv-scanner.toml).

Will fix in the next push:

  • (1) (SBOM existence guard before OSV runs) — adding `if [ ! -f target/bom.json ]` check at the top of the OSV step.
  • (3) (`set -uo pipefail` needs a comment explaining why no `-e`) — adding a one-line comment.
  • (4) (severity filter silently treats malformed scores as 0) — adding a "total findings vs filtered findings" log line so mismatches are visible.
  • (5) (suppressions are CVE-id global, not package-scoped) — good catch, this gets more important when OSV is the sole gate. Refactoring `osv-scanner.toml` to use `[[PackageOverrides]]` per entry, scoped by ecosystem+name.
  • (7) (fork PR maven config) — actually a non-issue in practice: all our direct deps are public Maven Central artifacts (verified by walking `jdbc-core/pom.xml`). JFrog is just a mirror/proxy for speed; without it, Maven falls through to Central and resolves fine. I'll add a clarifying comment in the workflow so future-readers don't have to re-derive this.

Acknowledged as follow-ups (out of scope for this PR):

  • (6) (SBOM is from `mvn package` reactor, not the shaded uber jar — shading drops/relocates deps so the SBOM may diverge from what actually ships). Real concern. Filing as a separate issue to scan the uber JAR directly post-build.
  • (8) (SBOM not published anywhere customer-facing). Filing as a separate issue to attach `bom.json` to GitHub releases.

Pushing the OSV-only + review-fix commit shortly.

@vikrantpuppala

vikrantpuppala commented May 20, 2026 •

Copy link
Copy Markdown
Collaborator Author

Quick correction on (5) (suppression scoping) from my earlier reply: I intended to use `[[PackageOverrides]]` for per-package CVE-id scoping, but OSV-Scanner v2.3.8 actually doesn't support that intersection. The `PackageOverrideEntry.Vulnerability` struct in `internal/config/config.go` has only an `ignore` boolean field, no per-CVE id. So `[[PackageOverrides]]` blanket-ignores all vulns on the matched packages (way too broad), and `[[IgnoredVulns]]` stays the only viable per-CVE option (which is global across all packages).

Kept the `[[IgnoredVulns]]` approach but added a detailed comment block in `osv-scanner.toml`'s header documenting the trade-off and the acceptable-risk reasoning -- if a future Maven dep ever legitimately picks up one of the CVE IDs we've suppressed, the suppression would silently apply to it too. Mitigated because every entry we have is ecosystem-mismatched (the Go/Python/R/C_glib binding of a library, not the Java binding), so a legitimate Java affectation would itself be a notable advisory event we'd want to revisit.

If you'd prefer we eat the broader `[[PackageOverrides]]` blanket on `org.apache.thrift:libthrift` (since that's the only package family with multiple suppressed CVEs in our config), I can do that -- but for the cross-family ones (Arrow, gRPC, protobuf) it'd still be one CVE per family so the distinction collapses anyway.

vikrantpuppala added a commit that referenced this pull request May 21, 2026
Addresses three GHSA-tracked vulnerabilities in bcprov-jdk18on and
bcpkix-jdk18on that are invisible to NVD-CPE scanners but surface
through OSV:

  * GHSA-p93r-85wp-75v3 (CVE-2026-5598) -- covert timing channel,
    severity 8.9, fixed in 1.84
  * GHSA-wg6q-6289-32hp -- bcpkix vulnerability, severity 6.3
  * GHSA-c3fc-8qff-9hwx -- bcprov vulnerability, severity 5.5

All three were discovered while building the OSV-Scanner gate in #1460,
which catches GHSA-only advisories that OWASP's NVD-CPE matcher misses.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
vikrantpuppala added a commit that referenced this pull request May 21, 2026
Addresses three GHSA-tracked vulnerabilities in bcprov-jdk18on and
bcpkix-jdk18on that are invisible to NVD-CPE scanners but surface
through OSV:

  * GHSA-p93r-85wp-75v3 (CVE-2026-5598) -- covert timing channel,
    severity 8.9, fixed in 1.84
  * GHSA-wg6q-6289-32hp -- bcpkix vulnerability, severity 6.3
  * GHSA-c3fc-8qff-9hwx -- bcprov vulnerability, severity 5.5

All three were discovered while building the OSV-Scanner gate in #1460,
which catches GHSA-only advisories that OWASP's NVD-CPE matcher misses.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
vikrantpuppala added a commit that referenced this pull request May 21, 2026
Addresses three GHSA-tracked vulnerabilities in bcprov-jdk18on and
bcpkix-jdk18on that are invisible to NVD-CPE scanners but surface
through OSV:

  * GHSA-p93r-85wp-75v3 (CVE-2026-5598) -- covert timing channel,
    severity 8.9, fixed in 1.84
  * GHSA-wg6q-6289-32hp -- bcpkix vulnerability, severity 6.3
  * GHSA-c3fc-8qff-9hwx -- bcprov vulnerability, severity 5.5

All three were discovered while building the OSV-Scanner gate in #1460,
which catches GHSA-only advisories that OWASP's NVD-CPE matcher misses.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
vikrantpuppala added a commit that referenced this pull request May 21, 2026
#1461)

## Summary

Clears the two remaining unsuppressed CVSS≥7 findings against the JDBC
driver (visible via PR #1460's OSV-Scanner gate). Three commits — two
version bumps and a small cleanup:

1. **bouncycastle 1.79 → 1.84** — addresses three GHSA-tracked
vulnerabilities (CVE-2026-5598 severity 8.9 + two MEDIUMs). All three
are NVD-CPE-invisible and were only surfaced by the new OSV-Scanner
gate. One-line property bump.
2. **libthrift 0.19.0 → 0.23.0** — clears the May 2026 Apache Thrift
advisory batch (GHSA-7pwc-h2j2-rjgj covering
CVE-2026-41603/41604/41605/43869). Required regenerating the checked-in
Thrift-generated Java sources because libthrift 0.21 broke API
compatibility (added a third generic to `ProcessFunction` via
THRIFT-5762).
3. **Remove in-repo Thrift IDL and regen script** — the IDL belongs
upstream (it's the shared Thrift interface for multiple SQL drivers),
not duplicated here. Generated Java sources are what the Maven build
consumes; deleting the IDL doesn't change behavior. Future regenerations
should run against the upstream IDL/tooling.

## What this PR is NOT

* It doesn't depend on PR #1460. The CVE findings exist on main today;
this PR clears them whether or not the security-scan gate lands first.
* It doesn't touch the upstream IDL or attempt to centralize regen
tooling. That's a separate cross-driver concern that can be addressed in
its own change.

## Test plan

- [x] `mvn clean install -DskipTests -Plocal` succeeds across all three
commits (including after the IDL/script deletion — the Maven build never
referenced either).
- [x] `mvn -pl jdbc-core test -Plocal
-Dgroups='!Jvm17PlusAndArrowToNioReflectionDisabled'` — **3288 tests, 0
failures, 0 errors** after the libthrift regen.
- [x] `mvn dependency:tree` confirms resolved versions: `libthrift
0.23.0`, `bcprov-jdk18on 1.84`, `bcpkix-jdk18on 1.84`.
- [ ] Full PR CI on this PR (will go green via the gate from #1460 once
both PRs are on main).

## Follow-up: flip security-scan to required

Once both this PR and #1460 land, the PR security-scan gate from #1460
should have zero unsuppressed CVSS≥7 findings on main. That's the cue to
flip the gate's check to required-to-merge in branch protection (the
explicit plan from #1460).

This pull request and its description were written by Isaac.

---------

Signed-off-by: Vikrant Puppala <[email protected]>
Replaces vulnerabilityCatcher.yml (weekly-only) with securityScan.yml,
which runs two scanners with complementary coverage across two trigger
modes:

* On every pull_request to main (pr-scan job): fails the job on any
  unsuppressed CVSS >= 7 finding. Not yet required-to-merge; once the
  outstanding libthrift and bouncycastle findings are cleared, flip the
  check to required.

* On the existing weekly schedule + workflow_dispatch (weekly-scan job):
  emails on findings. Backstops the PR gate by catching CVEs newly
  filed against unchanged code. Fixes the broken notification chain --
  previously the OWASP maven step exited non-zero on findings, which
  short-circuited the Send Email step so notifications only fired when
  the scan was clean (i.e. never when they mattered).

Scanner stack:

* OWASP dependency-check (NVD CPE-based). Existing setup; reuses
  owasp-suppressions.xml and the failBuildOnCVSS=7 threshold from
  jdbc-core/pom.xml.

* OSV-Scanner v2.3.8 (purl-based via OSV.dev; federates
  GHSA/NVD/PyPA/RustSec). Catches advisories with no NVD CPE entry
  that OWASP misses. Verified to catch CVE-2025-66566 in
  at.yawk.lz4:lz4-java and CVE-2026-5598 (severity 8.9) in
  bouncycastle, both invisible to OWASP. Reads the cyclonedx aggregate
  SBOM produced by `mvn package` so it sees the actually-resolved
  local dependency tree (not deps.dev's stale published-artifact
  metadata for the project's own GA).

Adds:

* `.github/workflows/securityScan.yml` -- the new unified workflow.
* `osv-scanner.toml` -- OSV suppressions mirroring the OWASP ones.
* Eight new entries in `owasp-suppressions.xml` for documented
  CPE/ecosystem false positives: Arrow R-only (CVE-2024-52338),
  gRPC-Go-only (CVE-2026-33186), protobuf Python-only (CVE-2026-0994),
  and five libthrift non-Java-binding CVEs (C_glib/Go/Node/Rust).
  Each has a justification comment block.
* `cyclonedx-maven-plugin` 2.9.1 in the parent pom, bound to the
  package phase with skipNotDeployed=false so it runs on the
  non-deployed parent and jdbc-core modules.

Removes:

* `.github/workflows/vulnerabilityCatcher.yml` -- superseded by
  securityScan.yml's weekly-scan job.

Local verification:

* `mvn package -DskipTests -Ddependency-check.skip=true` produces
  `target/bom.json` with the expected resolved tree.
* OWASP scan shows the 4 unsuppressed libthrift CVEs (the only real
  Java-applicable findings; will be cleared by the libthrift 0.23
  bump follow-up).
* OSV scan shows 2 unsuppressed CVSS>=7 findings: bouncycastle
  CVE-2026-5598 (separate small follow-up) and the same libthrift
  cluster.

Both scanners' findings are listed as follow-up work in
NEXT_CHANGELOG-adjacent tracking. This PR's own CI is expected to
fail until those follow-ups land, which is fine because the gate
isn't required-to-merge yet.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
The previous workflow had two parallel jobs (`pr-scan` and `weekly-scan`)
that duplicated the JFrog OIDC + maven config + OWASP setup. Restructure
into a single `security-scan` job that runs the same scan for all
triggers, then branches at the terminal steps:

  - pull_request: exits non-zero on findings; reviewers see the red X.
  - schedule (and workflow_dispatch): composes + sends the email
    notification, then exits non-zero.

Adds:

  - A `Collect findings` step that parses both scanners' JSON output
    into a single set of job outputs (owasp_count, osv_count,
    has_findings). The terminal steps consume these outputs instead of
    re-parsing reports. Also writes a markdown summary to
    GITHUB_STEP_SUMMARY so findings are visible in the run UI without
    downloading artifacts.

  - NVD database caching keyed on date. Cuts ~2 minutes off OWASP's
    runtime by avoiding the full ~150 MB NVD feed download on every
    run. The restore-key prefix means we always restore the most-recent
    cache; OWASP's own auto-update logic keeps the data fresh.

Fixes a bug in my previous version: the OWASP findings check was
grepping the HTML report for "CVSS score >= 7", which is not actually
present in the HTML output. Read the JSON report directly instead and
count vulnerabilities with cvssv3.baseScore >= 7. (The OWASP plugin
suppresses suppressed CVEs from the report entirely, so the count
naturally reflects unsuppressed findings.)

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
Removes the OWASP step, NVD database cache, and OWASP findings parsing
from securityScan.yml. OSV-Scanner now drives the gate alone.

Motivation:

  - OSV's database is a strict superset of NVD's (federates GHSA, NVD,
    PyPA, RustSec, Go vuln DB). We've already seen two real CVEs OSV
    catches that OWASP misses entirely -- CVE-2025-66566 in lz4 and
    CVE-2026-5598 in bouncycastle, both GHSA-only with no NVD CPE.

  - The release pipeline at databricks/secure-public-registry-releases-eng
    already skips OWASP (every Maven step has -Ddependency-check.skip=true)
    and runs its own artifact-level scan via databricks/gh-action-scan.
    So removing OWASP from this repo's CI does not disturb release gating.

  - OWASP's NVD database (~150-700 MB), the NVD_API_KEY secret, and the
    cache machinery added minutes per run for coverage we don't actually
    use any more.

The OWASP plugin block stays in jdbc-core/pom.xml and owasp-suppressions.xml
stays in the repo, because the disabled-anyway in-repo release.yml /
release-thin.yml workflows still reference them. Cleaning those up is a
separate change.

Also addresses these from the PR review:

  #1 (SBOM existence guard): the OSV step now explicitly checks
      target/bom.json exists before scanning, and that osv-scanner
      produced a non-empty output. Build failures now surface with a
      clear ::error:: instead of a downstream jq error.

  #3 (set -uo pipefail without -e): added a comment explaining that -e
      is dropped intentionally because osv-scanner exits 1 on any
      finding regardless of severity; the severity >= 7 filter below is
      the real gate.

  #4 (severity filter silently treats malformed scores as 0): the
      Collect findings step now logs total_findings alongside
      high_count, so a mismatch (e.g. "10 total / 0 high") would be
      visible in the step summary and warn ops about OSV format drift.

  #5 (suppressions are CVE-id global, not package-scoped): OSV-Scanner
      v2.3.8 does not actually support per-package CVE-id ignores
      (verified against internal/config/config.go -- PackageOverrides
      has no per-CVE field). Documented the trade-off explicitly in
      osv-scanner.toml's header so future readers understand the
      scoping model and the acceptable-risk reasoning.

  #7 (fork PR maven config): added a comment in the workflow explaining
      that fork PRs work even with JFrog OIDC skipped, because all of
      the driver's direct dependencies are published to public Maven
      Central. JFrog is just a mirror, not a source.

Verified locally: OSV reports the same 2 unsuppressed CVSS>=7 findings
(bouncycastle CVE-2026-5598 + libthrift cluster) as before, with no
schema errors against the corrected osv-scanner.toml.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
PR-time and weekly serve different audiences:

  - PRs are evaluated by code: false positives are expensive because
    every author hits them. Keep CVSS >= 7 as the gate threshold so
    we don't block on MEDIUM/LOW noise.

  - The weekly is read by humans, not enforced. False positives are
    cheap (one person reads the email, ignores most of it). Report
    EVERYTHING so emerging MEDIUM risk is visible before it crosses
    the gate.

Changes:

  - `Collect findings` step now produces an `all_findings` JSON sorted
    by severity desc (written to /tmp/all-findings.json -- larger than
    the 1 MB GH Actions output cap allows), plus a `high_count` for the
    PR gate. `total_findings` covers every finding regardless of
    severity.

  - PR terminal step gates on `high_count != '0'` (unchanged semantics;
    just no longer uses the now-deleted has_findings output).

  - Weekly email body now lists ALL findings in a styled HTML table
    sorted by severity desc, with HIGH rows highlighted red and
    MEDIUM rows highlighted amber. The email and the
    Fail-on-findings step trigger on `total_findings != '0'`.

  - Step summary in the Actions UI also lists every finding in a
    markdown table.

Verified locally against the existing /tmp/osv-out.json: previously the
gate showed 2 findings; with the new logic it surfaces 4 -- the same 2
HIGH (bouncycastle 8.9, libthrift 7.3) plus 2 MEDIUM bouncycastle CVEs
(6.3 and 5.5) that the team would otherwise discover only when one of
them later got re-scored above 7.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
Before: the PR-fail step printed only a count ("2 unsuppressed CVSS>=7
finding(s) in this PR") and pointed the author at the step summary
panel or downloaded artifacts. The Collect-findings step wrote findings
to GITHUB_STEP_SUMMARY but not stdout. Authors clicking into the failing
run's default "Logs" view had to take a second navigation step to see
which CVEs actually triggered the fail.

After: both steps echo the findings list to stdout (sorted by severity
desc, with [severity] pkg  ids format). The PR-fail step shows only
HIGH findings (the ones it blocks on); the Collect-findings step shows
all findings. The step summary table is unchanged -- it's still the
rich rendering -- but the job log now has enough information to act
without extra clicks.

Example new output on a HIGH-finding fail:

  ::error:: 2 unsuppressed CVSS>=7 finding(s) in this PR:

    [8.9] org.bouncycastle:[email protected]  GHSA-p93r-85wp-75v3
    [7.3] org.apache.thrift:[email protected]  GHSA-7pwc-h2j2-rjgj

  Fix by either: ...
  Full step summary: <URL>

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
@vikrantpuppala
vikrantpuppala force-pushed the vp/unified-security-scan branch from e0d255a to d6f1192 Compare May 21, 2026 09:00
@vikrantpuppala
vikrantpuppala enabled auto-merge (squash) May 21, 2026 09:06
@vikrantpuppala
vikrantpuppala merged commit 6da122a into main May 21, 2026
16 checks passed
@vikrantpuppala
vikrantpuppala deleted the vp/unified-security-scan branch May 21, 2026 09:23
vikrantpuppala added a commit to databricks/databricks-sql-go that referenced this pull request Jul 13, 2026
## Summary

- Adds `.github/workflows/securityScan.yml` — single workflow, single
job, three triggers (PR / weekly cron / manual). PR runs fail on CVSS ≥
7 only; weekly runs report all findings and email the team.
- Adds `osv-scanner.toml` — empty suppressions file (populate
iteratively as real false positives surface).
- Reuses the existing `./.github/actions/setup-jfrog` composite action —
no duplicate OIDC-token logic.

Mirrors the JDBC driver's workflow
([databricks-jdbc#1460](databricks/databricks-jdbc#1460)),
adapted for Go: reads `go.mod` natively via OSV-Scanner (no separate
SBOM tool needed).

## Day-one results

The workflow is **not yet wired into branch protection**, so its first
PR-time runs are advisory. A dry-run against current `main` surfaces:

- **5 HIGH** (CVSS ≥ 7) — `golang-jwt/jwt/[email protected]`,
`apache/[email protected]`, `golang.org/x/[email protected]`,
`golang.org/x/[email protected]`, `google.golang.org/[email protected]`
- 5 MEDIUM, 60 LOW (mostly `[email protected]` advisories — addressed by
bumping the Go toolchain)

All are legitimate findings, not false positives. A follow-up dep-bump
PR will clear them. Once that's green, branch protection can be flipped
to require this check.

## Test plan

- [x] Dry-run OSV-Scanner v2.3.8 locally against `go.mod` — produces
expected findings
- [x] YAML validates
- [ ] First CI run on this PR exercises the PR path (will fail by design
— the 5 HIGHs above)
- [ ] Manual `workflow_dispatch` after merge exercises the weekly path
- [ ] Secrets (`SMTP_USERNAME`, `SMTP_PASSWORD`, `EMAIL_RECIPIENTS`)
wired in repo settings before the first scheduled run

This pull request was AI-assisted by Isaac.

---------

Signed-off-by: Vikrant Puppala <[email protected]>
@cathleeny cathleeny mentioned this pull request Oct 6, 2026
1 of 3 tasks
cathleeny added a commit that referenced this pull request Oct 7, 2026
## Description

Syncs `jdk-8` with `main` at `a64ae0e0` (**3.4.3**) and applies the JDK
8 changes from `.claude/commands/sync-jdk8-branch.md`. I followed the
updated version of that skill from `main` (#1298), which this merge also
brings into `jdk-8`. Replaces #1717.

- **Scope:** 173 commits from `main` since the last sync point,
`3ef86030` (#1270, synced via #1275). That covers releases 3.3.1, 3.3.2,
3.3.3, 3.4.2 and 3.4.3.
- **Merge base:** #1275 was squash-merged, so git's merge base for
`jdk-8`/`main` is still #1150 (`23a0bbdc`). A plain `git merge
origin/main` would re-conflict changes that were already synced. I
merged with `3ef86030` as the base (using a temporary graft), so only
changes since the last sync were merged. This is a real merge commit:
its parents are the `jdk-8` tip and the `main` tip.

### JDK 8 changes

**Root `pom.xml`**
- Source/target stay at `1.8`. The JDK 8 pins stay: Arrow `13.0.0`,
Mockito `4.11.0`, nimbus-jose-jwt `9.47`.
- Spotless stays removed entirely. Main's spotless plugin block was not
merged.
- OWASP `dependency-check-maven` is removed (plugin, `pluginManagement`
entry and version property). Version 12.x needs Java 11, so it breaks
`mvn install` on JDK 8. On `main`, OSV replaced OWASP as the security
gate (#1460).
- Kept from `main`: the dependency bumps, the CycloneDX aggregate-SBOM
plugin (works on JDK 8), and the `dependencyManagement` CVE overrides
for commons-lang3 and gson.

**`jdbc-core/pom.xml`**
- No WireMock dependency and no `--add-opens`.
- The `jdk17-NioNotOpen` and `jdk21-NioNotOpen` profiles, the
Arrow-patch JaCoCo exclusions, and the
`!Jvm17PlusAndArrowToNioReflectionDisabled` group filter are removed.
- Surefire excludes the fakeservice and e2e tests.

**Workflows**
- `coverageReport.yml`: JDK 8, 80% threshold, and `mvn -pl jdbc-core
clean test -Dspotless.skip=true jacoco:report`.
- All other workflows match `main`. That fixes a duplicated "Compile"
step the merge produced in `prCheckJDK8.yml`.

**Java 9+ APIs in code added on `main` since the last sync**
- `List.of`, `Set.of`, `Map.of` and `List.copyOf` became Guava
`ImmutableList`/`ImmutableSet`/`ImmutableMap` in main code, and
`Arrays.asList` or `Collections.empty*` in tests.
- `String.isBlank()`/`strip()` became `trim().isEmpty()`/`trim()`.
- `Objects.requireNonNullElse` became a null-check ternary.
- `Optional.isEmpty()` became `!isPresent()`.
- `Files.writeString` became `Files.write`.
- An anonymous-class diamond became an explicit type.
- JDBC 4.3: removed `supportsSharding()` again and dropped the
`beginRequest`/`endRequest` test asserts.
- Conflicts were resolved keeping the existing `jdk-8` rewrites and
applying main's logic changes on top.

**Removed**
- The fakeservice and e2e tests, plus `IntegrationTestUtil` and
`DatabricksDriverExamples` (which uses it).
- All WireMock resources. That includes `sqlexecapi`, `thriftserverapi`
and `cloudfetchapi`, plus leftover `sqlgatewayapi`,
`cloudfetchsqlgatewayapi`, `cloudfetchthriftserverapi`,
`jwttokenendpoint`, `__files` and the `*fakeservicetest.properties`
files. Only the removed fakeservice tests used them.
- The Arrow patch sources (#1243), their tests, and
`src/test/resources/arrow`.

### Cleanup beyond the skill

I removed 23 Java sources that exist only on `jdk-8`: they were never on
`main`, or were deleted from it long ago. They came back in the 2025-09
"post merge" commit `de3efe43`. Nothing references them:
- `api/IDatabricksConnectionContext` and `api/IDatabricksSession`, stale
duplicates of the `api.internal` interfaces
- `ChunkDownloadCallback`
- `VolumeOperationProcessorDirect`
- `OAuthEndpointResolver`
- `ErrorCodes`, `ErrorTypes`
- `DeviceInfoLogUtil`
- 15 old Thrift-generated classes (`TDBSql*`, `TExpressionInfo`,
`TSQLVariable`, etc.)

Non-code leftovers (`release-notes/v1.0.x`, `.vscode/settings.json`,
`runBenchmarks.yml`) are unchanged.

## Testing

All runs were local on OpenJDK 1.8.0:
- `mvn clean install -DskipTests -Dspotless.skip=true` (the
`prCheckJDK8` "Compile" step): BUILD SUCCESS for all 6 modules.
- `mvn -pl jdbc-core test -Dspotless.skip=true` (the `prCheckJDK8`
unit-test step): 3,569 tests, 0 failures, 0 errors, 0 skipped.
- The built core, thin and uber jars are all Java 8 bytecode (class-file
major version 52; `javap` on `com.databricks.client.jdbc.Driver` reports
52).
- Dependency audit: none of the 85 jars on jdbc-core's test classpath
contains classes newer than Java 8 (multi-release `META-INF/versions`
entries excluded).
- `TestThinPackaging`/`TestUberPackaging`: the offline packaging checks
pass. `executeLargeQuery` needs live workspace credentials, so it wasn't
run.

## Telemetry Errors
- [x] Not applicable — this PR does not add or change a
telemetry-visible error. It only syncs changes already reviewed on
`main`.
- [ ] Applicable — the error uses `DatabricksDriverErrorCode` where
appropriate, and any
      new code is uniquely numbered and tested.
- [ ] Applicable — its driver/server/user classification is linked, or
maintainer help is
      requested because the author cannot access the classification.

## Additional Notes to the Reviewer

- The reviewable part is the JDK 8 delta against `main` (`git diff
origin/main...` on this branch): the poms, `coverageReport.yml`, and the
Java 8 rewrites listed above. Everything else is `main`'s code as
already reviewed.
- Spotless doesn't run on `jdk-8`. I formatted the lines I touched with
google-java-format 1.18.1, the version `main` uses.

<details><summary>Synced commits (173)</summary>

- Honor Auth_Scope for OAuth M2M client credentials (#1707)
- chore(security): remediate OSV findings (#1716)
- Fix SEA UserAgentEntry attribution in Query History (#1709)
- Fix M2M private-key integration test session stub (#1703)
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.6.3 to 5.6.4
(#1656)
- Run Jira automation on protected runner (#1696)
- Automate Jira tickets for new GitHub issues (#1694)
- chore(security): remediate OSV findings (#1690)
- Bump JDBC driver version to 3.4.3 (#1689)
- Add session version exchange to SQL Exec API client (#1678)
- Auto-recover Reyden Thrift rejection to SEA (KP001) (#1683)
- fix(metadata): order getTypeInfo rows by DATA_TYPE (#1680)
- Update Apache Thrift to 0.24.0 (#1682)
- Fix logging when an OFF connection initializes first (#1670)
- Enable native SEA metadata defaults behind server flag (#1672)
- Fix NPE on materialising nested arrays or arrays of maps with `NULL`
elements. (#1659)
- Add Thrift-native metadata support (#1641)
- Fix blocking security scan findings on main (#1663)
- Fix NPE for incomplete JDBC URLs (#1646)
- [2/7] Add native batching configuration and parameter model (#1621)
- Fix duplicate JDBC connection parameters (#1652)
- Add telemetry error classification guardrails (#1629)
- [1/7] Isolate legacy prepared statement batch execution (#1620)
- ci: wire merge_group triggers into required-check workflows (#1582)
- feat(learning): add daily engineer-bot retrospective flow + bump
engine to 654a31d0 (#1635)
- Add Thrift V10 batch parameter wire model (#1602)
- Update 3.4.1 metadata release notes (#1578)
- ci: warm test deps for Engineer Bot's offline agent + bump timeout
(#1588)
- Improve SEA connection-failure error messages (#1587)
- Fix invalid AuthMech crashing with Recursive update /
StackOverflowError (#1586)
- Throw SQLException for out-of-range column in Arrow getObject (#1557)
- Use SHOW COLUMNS IN ALL CATALOGS for getColumns with null catalog
(same-repo, integration-test verification) (#1580)
- Fix PreparedStatement.getMetaData() returning null for CTE (WITH ...)
queries [PECOBLR-3778] (#1581)
- feat(bots): onboard reviewer + engineer bots to databricks-bot-engine
(#1583)
- ci: dispatch coverage-fanout on merged source PRs (#1575)
- Fix NPE reading STRING COLLATE columns via Arrow (#1548)
- Throw SQLException for wrong complex-type getter calls (#1561)
- [test] Make nested timestamp assertions timezone-safe (#1565)
- [connection] Guarantee resource cleanup during close (#1564)
- Harden OSV security-scan gate (fail-closed) + drop SMTP email (#1563)
- Fix IdleConnectionEvictor thread leak when connection.close() fails
due to expired token (#1559)
- Bump to version 3.4.2 (#1551)
- Align Thrift statement-error vendor code with SEA
(EXECUTE_STATEMENT_FAILED) (#1549)
- Fix MAP with complex value type rendering as empty via Arrow (#1505)
(#1546)
- Stream CloudFetch chunk decompression to bound memory and prevent OOM
on large results (#1509)
- Add bounded SEA API support for CloudFetch (UseBoundedSeaApi) (#1468)
- Preserve TIMESTAMP_NTZ type name in ResultSetMetaData (#1495) (#1519)
- Bump anthropics/claude-code-action from 1.0.79 to 1.0.166 (#1538)
- Bump actions/setup-java from 4.8.0 to 5.4.0 (#1542)
- Bump peter-evans/create-pull-request from 7.0.11 to 8.1.1 (#1541)
- Bump actions/cache/save from 4.3.0 to 6.1.0 (#1540)
- Bump dawidd6/action-send-mail from 3.12.0 to 18 (#1539)
- Fix JulLogger CPU burn from unconditional stack-trace walk (#1511)
(#1515)
- Fix telemetry misattribution across connections on the same thread
(#1531)
- Accept OAuth M2M client id/secret via JDBC user/password (#1132)
(#1533)
- Bump actions/checkout from 4.3.1 to 7.0.0 (#1484)
- Bump dawidd6/action-send-mail from 3.11.0 to 3.12.0 (#1486)
- Bump actions/github-script from 7.0.1 to 9.0.0 (#1488)
- Bump softprops/action-gh-release from 1 to 3 (#1487)
- Bump actions/stale from 8.0.0 to 10.3.0 (#1479)
- Add release notes for v3.4.1 (#1522)
- Harden OAuth U2M token cache encryption and file permissions (#1520)
- Make Connection.setReadOnly a no-op instead of throwing (#1523)
- Bump shaded jackson 2.18.7 to 2.18.8 to fix CVE-2026-54512 and
CVE-2026-54513 in uber jar (#1507)
- Use offline cache for Security Scan on fork PRs (#1514)
- Fix Maven cache warmer to cache surefire-junit-platform provider
(#1513)
- Redact credentials in DatabaseMetaData.getURL() and parse errors
(#1502)
- Redact Azure and GCS presigned URL credentials in logs (#1501)
- Redact access token before logging in setClientInfoProperty (#1498)
- Bump Databricks SDK for Java from 0.106.0 to 0.118.0 (#1500)
- Fix getColumns() flooding DriverManager log writer with stack traces
(#1494)
- Fix timezone-shifted TIMESTAMP in nested complex types (ES-1978662)
(#1492)
- Fix closeOnCompletion() infinite recursion on ResultSet/Statement
close (ES-1978361) (#1493)
- Harden binary parameter interpolation against SQL injection (#1497)
- Fix supportsBatchUpdates() to honor EnableBatchedInserts (#1496)
- Surface truncated flag from SEA result manifest (#1503)
- Use async wait timeout for SEA when direct results disabled (fix
hybrid-path truncation) (#1476)
- Fix metadata identifiers containing backticks (#1474)
- Fix chunk download failures mis-bucketed as CONNECTION_ERROR in
telemetry (#1469)
- Fix double backtick wrapping in setCatalog and setSchema (#1454)
- v3.4.1 Bump (#1467)
- Bump databricks-sdk-java from 0.69.0 to 0.106.0 (#1465)
- Add debug logging for connector-service feature flags request and
response (#1462)
- [PECOBLR-2321] Result Set Heartbeat / Keep-Alive for Ongoing Query
Executions (#1415)
- Unify weekly + per-PR security scanning into a single workflow (#1460)
- Fix PreparedStatement.getMetaData() crash for SQL type aliases (#1289)
- Bump shaded bouncycastle and libthrift to clear remaining CVE findings
(#1461)
- Fix telemetry HTTP client socket leak preventing CRaC checkpoint
(#1333)
- Deprecate EnableArrow — Arrow always enabled except on AIX/IBM Power
(#1450)
- Fix DML misclassification for statements containing
UNION/INTERSECT/EXCEPT (#1420)
- Fix client-side maxRows enforcement in ResultSet.next() (#1448)
- Bump shaded jackson, httpcore5-h2, netty, commons-configuration2, lz4
to address CVEs (#1456)
- Proactive server-side statement close when results consumed (#1444)
- Update NEXT_CHANGELOG with detailed breaking changes for 3.4.1 (#1449)
- Fix getTables(types=[]) returning rows in Thrift mode (#1451)
- Close server-side operation on Statement re-execution (#1422)
- Fix SQLInterpolator treating ? in comments and literals as
placeholders + shorten next_changelog (#1424)
- Enable native geospatial type support by default (#1446)
- Add MetadataOperationTimeout support for SHOW commands metadata path
(#1417)
- [ES-1884446] Classify transient/mis-categorized server errors with
retryable SQL states (#1430)
- Distinguish Arrow schema parsing failures from generic ResultSet
errors (#1443)
- Add server-side SAFE flag for UseQueryForMetadata rollout on DBSQL
(#1437)
- Decouple geospatial support from complex datatype flag (#1438)
- Update release-notes.txt for 3.3.3 and mark 3.3.2 as DEPRECATED
(#1441)
- Cut new release 3.3.3 (#1434)
- Fix unresolvable 3.3.2 Maven Central POM for uber jar (#1432)
- Fix main CI: JFrog mirror bypass and Windows pwsh parse error (#1428)
- Cut new release 3.3.2 (#1419)
- Enable release freeze for 3.3.2 (#1427)
- Fix cancel error handling: vendor code, telemetry level, SEA async
path (#1425)
- Improve error messages for transient HTTP failures during Thrift
polling (#1426)
- Fix SEA result expiry error handling — preserve server error message
(#1302)
- Fix ambiguous errors when statements are cancelled or connection
closed (#1291)
- Fix race condition between chunk release and download error handling
(#1407)
- Revert UseQueryForMetadata default to 0, make SHOW commands opt-in
(#1421)
- Force Thrift mode when metadata params require native RPCs (#1416)
- [PECOBLR-2086] MST transaction tests — parameterized for SEA/Thrift
(#1366)
- Change UseQueryForMetadata default to 1 (SHOW commands) (#1413)
- Fix statement close behavior for direct results in SEA (#1400)
- Add SPOG support for ?o= routing in httpPath (#1316)
- Fix batched insert regex to support backtick-quoted identifiers with
special characters (#1403)
- Fix getCrossReference case-insensitive parent matching (#1411)
- [PECOBLR-2318] Unify EnableDirectResults and
EnableSQLExecDirectResults params (#1409)
- Fix IntervalConverter crash on CloudFetch interval columns (#1397)
- [PECOBLR-1928] Add AI coding agent detection to User-Agent header
(#1230)
- [PECOBLR-2409] Add CallableStatement support with IN parameters
(#1371)
- Add VARIANT type to ColumnInfoTypeName for correct SEA metadata
(#1388)
- Fix GEOMETRY/GEOGRAPHY DATA_TYPE mapping in Thrift getColumns()
(#1387)
- SEA metadata: throw for invalid null/empty params (Thrift parity)
(#1390)
- Add vulnerability scan gate to release workflows (#1396)
- Fix cache warmer: add Windows runner, timestamp-based cache keys
(#1395)
- Fix cache warmer: add clean to resolve maven-clean-plugin and
exec-maven-plugin (#1394)
- Fix: normalize _remote.repositories repo ID for offline mode (#1393)
- Fix: non-fork cache path must be restore-only (#1392)
- Remove _remote.repositories from cache + use offline mode for forked
PRs (#1391)
- Fix fork Maven config: set updatePolicy=never to prevent 401 on cached
artifacts (#1389)
- Fix cache warmer: run real test to resolve surefire provider (#1385)
- Revert Windows git install, restore original Enable long paths step
(#1383)
- Fix cache warmer: use install only, drop dependency:resolve (#1382)
- Fix cache warmer: use install for inter-module SNAPSHOT resolution
(#1381)
- Fix cache warmer: Linux-only, OS-agnostic cache key (#1380)
- Bump version to 3.3.2-SNAPSHOT (#1292)
- Bump netty.version from 4.2.6.Final to 4.2.12.Final (#1347)
- Use Databricks protected runner group for CI actions (#1369)
- Resolve null catalog/schema in SEA key-based metadata operations
(#1370)
- Fix getSchemas returning JDBC-escaped catalog name in SEA mode (#1365)
- Fix IllegalFormatConversionException in JulLogger error logging with
Throwable (#1372)
- Simplify SEA disposition: use connection parameters instead of
statement type (#1322)
- Fix CI failures: replace gh API calls blocked by IP allow list (#1363)
- Fix SEA metadata JDBC spec compliance: catalog handling, empty types,
non-existent objects (#1308)
- Fix SEA volume operations failing with Statement is closed (#1323)
- Address open supply chain security action items (#1359)
- Disable publishing workflows per third-party package freeze (#1354)
- Migrate all CI workflows from Databricks runners to GitHub-hosted
runners (#1350)
- Pin all GitHub Actions to commit SHAs (#1324)
- Harden CI/CD supply chain security across all workflows (#1328)
- Migrate dco-check and vulnerabilityCatcher to Databricks runners
(#1327)
- Prevent script injection in coverageReport workflow (#1295)
- Improve instructions for jdk8 branch update (#1298)
- Use version property for jts-core dependency (#1297)
- Add OWASP suppression for CVE-2026-25087 and re-enable dependency
check in release (#1296)
- Add Claude GitHub Actions workflows (#1288)
- Move dependencyManagement to parent pom to fix CVE-2025-48924 in uber
jar (#1294)
- Fix backtick quoting for column names in batched INSERT reconstruction
(#1285)
- Fix primitive type parsing in complex types for Arrow-serialized
formats (#1250)
- Skip OWASP dependency check in release build step (#1286)
- Cut new release 3.3.1 (#1281)
- [PECOBLR-1746] Implementing support for listing procedures (#1238)
- Fix IdleConnectionEvictor thread leak in long-running services (#1271)
- [ES-1717770] Fix TIMEDOUT_STATE not recognized as error on interactive
clusters (#1244)
- [ES-1765150] Coalesce concurrent expired-link refreshes into single
batch RPC (#1277)
- [ES-1774740] Fix Thrift polling infinite loop on invalid operation
handle (#1273)
- Add /sync-jdk8-branch slash command + update the jdk8 action workflow
(#1274)

</details>

NO_CHANGELOG=true

This pull request and its description were written by Isaac.


[PECOBLR-3778]:
https://databricks.atlassian.net/browse/PECOBLR-3778?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Signed-off-by: Vikrant Puppala <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: samikshya-chand_data <[email protected]>
Signed-off-by: Sreekanth Vadigi <[email protected]>
Signed-off-by: Nikhil Suri <[email protected]>
Signed-off-by: Gopal Lal <[email protected]>
Signed-off-by: rileythomp <[email protected]>
Signed-off-by: Samikshya Chand <[email protected]>
Signed-off-by: Madhavendra Rathore <[email protected]>
Signed-off-by: Oleksandr Shevchenko <[email protected]>
Signed-off-by: Shivam Raj <[email protected]>
Signed-off-by: Madhavendra Rathore
Signed-off-by: Dan Homola <[email protected]>
Signed-off-by: Matthieu Sprunck <[email protected]>
Signed-off-by: Matthieu Sprunck <[email protected]>
Signed-off-by: Eric Wang <[email protected]>
Signed-off-by: eric-wang-1990 <[email protected]>
Signed-off-by: Prathamesh Baviskar <[email protected]>
Signed-off-by: Cathleen Yan <[email protected]>
Signed-off-by: Vu Anh Phung <[email protected]>
Signed-off-by: Michael Simons <[email protected]>
Signed-off-by: Cathleen Yan <[email protected]>
Signed-off-by: Rahul Singhal <[email protected]>
Signed-off-by: Aakash Saravanan <[email protected]>
Signed-off-by: peco-engineer-bot[bot] <287056288+peco-engineer-bot[bot]@users.noreply.github.com>
Co-authored-by: Gopal Lal <[email protected]>
Co-authored-by: Samikshya Chand <[email protected]>
Co-authored-by: Madhavendra Rathore <[email protected]>
Co-authored-by: Vikrant Puppala <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tejassp-db <[email protected]>
Co-authored-by: jayant <[email protected]>
Co-authored-by: Sreekanth <[email protected]>
Co-authored-by: Claude Sonnet 4.5 <[email protected]>
Co-authored-by: Jothi Prakash <[email protected]>
Co-authored-by: Shivam Raj <[email protected]>
Co-authored-by: nikhilsuri-db <[email protected]>
Co-authored-by: Riley Thompson <[email protected]>
Co-authored-by: Oleksandr Shevchenko <[email protected]>
Co-authored-by: Oleksandr Shevchenko <[email protected]>
Co-authored-by: Madhav Sainanee <[email protected]>
Co-authored-by: Dan Homola <[email protected]>
Co-authored-by: Thomas Powell <[email protected]>
Co-authored-by: Matthieu Sprunck <[email protected]>
Co-authored-by: eric-wang-1990 <[email protected]>
Co-authored-by: Prathamesh Baviskar <[email protected]>
Co-authored-by: vuanhphung <[email protected]>
Co-authored-by: Michael Simons <[email protected]>
Co-authored-by: vuanhphung <[email protected]>
Co-authored-by: Rahul Singhal <[email protected]>
Co-authored-by: Isaac <[email protected]>
Co-authored-by: aakash-saravanan-db <[email protected]>
Co-authored-by: peco-engineer-bot[bot] <287056288+peco-engineer-bot[bot]@users.noreply.github.com>
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