Skip to content

Conversation

@pelikhan
Copy link
Contributor

@pelikhan pelikhan commented Sep 4, 2025

Allows generation of SARIFF reports and uploads using github codeql custom action.

Copilot AI and others added 2 commits September 4, 2025 11:18
…tion, workflow name defaults, GitHub Code Scanning integration, custom rule ID support, and test workflows (#54)

* Initial plan

* Implement create-security-report safe output feature

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Final implementation with schema fix, formatting, and validation

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Implement PR feedback: configurable driver, workflow filename rule IDs, and optional column support

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Default security report driver to agentic workflow name from frontmatter

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Add support for optional ruleIdSuffix in security reports

Allow LLMs to provide custom rule ID suffixes in security reports via the ruleIdSuffix field. When not provided, defaults to the existing number scheme.

- Add ruleIdSuffix validation (alphanumeric, hyphens, underscores only)
- Update rule ID generation to use custom suffix when available
- Add comprehensive tests for custom and default rule ID scenarios
- Update documentation to describe new functionality
- Maintain backward compatibility with existing workflows

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Add test agentic workflows for create-security-report safe output

Added Claude and Codex test workflows to validate the new create-security-report safe output functionality

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Update test workflows to use workflow_dispatch trigger instead of issues

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
@pelikhan pelikhan merged commit c1e9fcb into githubnext:main Sep 4, 2025
4 checks passed
@pelikhan pelikhan deleted the pelikhan/sariff branch September 6, 2025 04:35
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