Skip to content

Add GitLab CI template and SAST report conversion for scanner#71

Open
yashiagar2507 wants to merge 1 commit into
counterspec:mainfrom
yashiagar2507:gitlab-ci-scanner-template
Open

Add GitLab CI template and SAST report conversion for scanner#71
yashiagar2507 wants to merge 1 commit into
counterspec:mainfrom
yashiagar2507:gitlab-ci-scanner-template

Conversation

@yashiagar2507
Copy link
Copy Markdown

Closes #5.

Adds a GitLab CI integration for ISNAD Scanner:

  • Adds a reusable GitLab CI template under scanner/examples/gitlab
  • Adds a converter from ISNAD batch JSON to GitLab SAST JSON
  • Documents scan target/report/failure-mode configuration
  • Links the GitLab CI guide from scanner and docs READMEs
  • Fixes batch --json output so machine-readable output is not polluted by progress logs

Verified:

  • npm ci
  • npm run build
  • npm --silent run scan -- batch "/private/tmp/isnad-sample.js" --json
  • node scripts/isnad-to-gitlab-sast.mjs /private/tmp/isnad-scan-results.json /private/tmp/gl-sast-isnad.json

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

@yashiagar2507 is attempting to deploy a commit to the Rapi's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yashiagar2507
Copy link
Copy Markdown
Author

Note: the Vercel check is blocked on fork deployment authorization. Local verification passed with npm ci, npm run build, and a scanner-to-GitLab-SAST conversion smoke test.

@yashiagar2507
Copy link
Copy Markdown
Author

Hi! Just checking whether this matches the expected direction for #5. Happy to adjust the GitLab report format, template location, or CI job shape if you prefer a different integration style.

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.

GitLab CI integration template

1 participant