Add Scrutora Scan code-scanning starter workflow - #3361
Open
Nirvahana wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new Code Scanning starter workflow and accompanying metadata/icon so users can run Scrutora Scan in GitHub Actions and upload results to GitHub Code Scanning (SARIF).
Changes:
- Add
code-scanning/scrutora-scan.ymlworkflow to run Scrutora Scan and upload SARIF. - Add
code-scanning/properties/scrutora-scan.properties.jsonto register the starter in the catalog. - Add
icons/scrutora.svgicon for the starter.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
code-scanning/scrutora-scan.yml |
New starter workflow for running Scrutora Scan and uploading SARIF to Code Scanning. |
code-scanning/properties/scrutora-scan.properties.json |
Adds starter metadata (name/creator/description/categories/icon binding). |
icons/scrutora.svg |
Adds the Scrutora icon referenced by the properties file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
+16
| push: | ||
| branches: [ "$default-branch" ] | ||
| pull_request: | ||
| branches: [ "$default-branch" ] |
Comment on lines
+6
to
+8
| # Scrutora Scan runs an offline, compliance-mapped scan of your code (DPDPA, | ||
| # HIPAA, GDPR, PCI-DSS, RBI). No API key is required and your code never leaves | ||
| # the runner. Findings are uploaded to GitHub Code Scanning as SARIF. |
| { | ||
| "name": "Scrutora Scan", | ||
| "creator": "Scrutora", | ||
| "description": "Offline DPDPA, HIPAA, GDPR, PCI-DSS and RBI compliance scanning. No API key, your code never leaves the runner. Results upload to Code Scanning as SARIF.", |
Comment on lines
+35
to
+45
| - name: Run Scrutora Scan | ||
| uses: Scrutora/scrutora-scan@v1 | ||
| with: | ||
| frameworks: dpdpa,hipaa | ||
| fail-on: none # report only; set to high/critical to gate the build | ||
|
|
||
| - name: Upload SARIF to Code Scanning | ||
| if: always() | ||
| uses: github/codeql-action/upload-sarif@v3 | ||
| with: | ||
| sarif_file: scrutora.sarif |
…op RBI (not in action docs), upload SARIF via action output
Author
|
Thanks for the review — all four addressed:
Both files re-validated. Let me know if anything else is needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a starter workflow for Scrutora Scan under
code-scanning/.Scrutora Scan is an offline, compliance-mapped SAST tool (DPDPA, HIPAA, GDPR, PCI-DSS, RBI). It requires no API key and code never leaves the runner; results upload to GitHub Code Scanning as SARIF via
github/codeql-action/upload-sarif.Files
code-scanning/scrutora-scan.yml— the workflow (usesScrutora/scrutora-scan@v1)code-scanning/properties/scrutora-scan.properties.json— metadataicons/scrutora.svg— iconFollows the third-party contribution format (based on the existing
bearerworkflow): includes the "not certified by GitHub" header,$default-branch/$cron-weeklyplaceholders, least-privilegepermissions, andfail-on: noneso it reports without gating the build by default.Action: https://github.com/Scrutora/scrutora-scan