Skip to content

Add scan_ai_sast support#99

Merged
dkourkouzelis merged 3 commits into
mainfrom
add-ai-sast-scan
May 28, 2026
Merged

Add scan_ai_sast support#99
dkourkouzelis merged 3 commits into
mainfrom
add-ai-sast-scan

Conversation

@dkourkouzelis
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new scan_ai_sast boolean input to action.yml (default false), following the same pattern as scan_sast and scan_secrets
  • Passes --ai-sast=true to endorctl when enabled
  • Includes scan_ai_sast in the at-least-one scan type validation guard
  • Blocks scan_ai_sast from being combined with scan_package (consistent with other scan types)
  • Rebuilds dist/index.js bundle

Test plan

  • Enable scan_ai_sast: true in a workflow and verify --ai-sast=true is passed to endorctl
  • Verify the action fails with the at-least-one error when no scan type is enabled
  • Verify combining scan_ai_sast and scan_package produces the expected conflict error

🤖 Generated with Claude Code

dkourkouzelis and others added 3 commits April 23, 2026 16:39
Adds a new `scan_ai_sast` input to the scan action, following the same pattern as `scan_sast` and `scan_secrets`. Passes `--ai-sast=true` to endorctl when enabled, includes it in the at-least-one validation guard, and blocks it from being combined with `scan_package`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Pin lodash to >=4.18.0 (fixes high-severity Code Injection and Prototype Pollution CVEs)
- Add brace-expansion >=5.0.5 resolution (fixes moderate DoS CVE in @actions/artifact chain)
- Bump fast-xml-parser resolution to >=5.7.0
- Rebuild dist bundles

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dkourkouzelis dkourkouzelis requested review from dpowley and peter-cg May 28, 2026 18:04
@dkourkouzelis dkourkouzelis merged commit 1c04758 into main May 28, 2026
4 checks passed
@dkourkouzelis dkourkouzelis deleted the add-ai-sast-scan branch May 28, 2026 18:08
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