Skip to content

ci: add IBM Mend SCA scan - #2665

Draft
erichare wants to merge 1 commit into
mainfrom
ci/ibm-mend
Draft

erichare wants to merge 1 commit into
mainfrom
ci/ibm-mend

Conversation

@erichare

@erichare erichare commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does:

Adds an IBM Mend SCA Scan workflow that runs the Mend CLI dependency scan (mend dep), the path the DataStax Mend onboarding runbook requires for repos outside IBM's GitHub Enterprise. Pushes to main and pull requests against main only report. v* release tags also update the Mend platform. Critical or High findings turn the job red without blocking merges, per the runbook. Fork PRs are skipped because they get no secrets. Results land under Products//<MEND_PRODUCTNAME>//Data API - data-api.

Which issue(s) this PR fixes:

No issue filed. Companion to #2663, which adds the IBM SonarQube scan.

Verification

actionlint is clean, with shellcheck on the run steps. Against a stub mend binary, the Critical/High gate failed or passed correctly on five sample outputs, --update was added only for tag refs, and a failing CLI failed the step. ./mvnw compile passed. The scan has not run against IBM Mend: the MEND_USER_KEY, MEND_EMAIL and MEND_PRODUCTNAME secrets don't exist yet, so this PR's Mend job will fail until they do.

actionlint .github/workflows/ibm-mend.yaml

Open questions: who provisions the three MEND_* secrets, and is "Data API" the right DataStax product name for the Mend project? The gate reads the CLI's summary line with the runbook's pattern, which the first real run will confirm.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

Runs the Mend CLI dependency scan ("mend dep"), the path the DataStax Mend
onboarding runbook requires for repos outside IBM's GitHub Enterprise space.
Pushes to main and PRs against main report only; release tags also update the
Mend platform. Critical or High findings turn the job red without blocking
merges. Fork PRs are skipped because they get no secrets.

Needs MEND_USER_KEY, MEND_EMAIL and MEND_PRODUCTNAME before it can run.
@github-actions

Copy link
Copy Markdown
Contributor

➡️ Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 55.07%
This PR 55.07%
Delta ⚪ 0.00%
ℹ️ Coverage unchanged

@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Coverage Report

Overall Project 55.07% 🍏

There is no coverage information present for the Files changed

@github-actions

Copy link
Copy Markdown
Contributor

➡️ Integration Test Coverage Delta vs Main Branch (hcd-it)

Metric Value
Main Branch 74.35%
This PR 74.35%
Delta ⚪ 0.00%
ℹ️ Coverage unchanged

@github-actions

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (hcd-it)

Overall Project 74.35% 🍏

There is no coverage information present for the Files changed

@github-actions

Copy link
Copy Markdown
Contributor

📈 Integration Test Coverage Delta vs Main Branch (dse69-it)

Metric Value
Main Branch 73.04%
This PR 73.09%
Delta 🟢 +0.05%
✅ Coverage improved!

@github-actions

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (dse69-it)

Overall Project 73.09% 🍏

There is no coverage information present for the Files changed

This branch has not been deployed

No deployments
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.

1 participant