Skip to content

Update gitleaks report to sarif format#466

Merged
elvin03 merged 10 commits intomainfrom
gitleak-sarif
Apr 10, 2026
Merged

Update gitleaks report to sarif format#466
elvin03 merged 10 commits intomainfrom
gitleak-sarif

Conversation

@elvin03
Copy link
Copy Markdown
Contributor

@elvin03 elvin03 commented Mar 5, 2026

Merge Checklist

All boxes should be checked before merging the PR

  • The changes in the PR have been built and tested
  • Documentation has been updated to reflect the changes (or no doc update needed)
  • Ready to merge

Description

Update gitleaks report to sarif format

Any Newly Introduced Dependencies

How Has This Been Tested?

Trigger gitleaks workflow

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Copilot AI review requested due to automatic review settings March 5, 2026 03:22
@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s Gitleaks GitHub Actions workflow to generate SARIF output and upload results to GitHub code scanning (Security tab).

Changes:

  • Adds security-events: write (and actions: read) permissions to the Gitleaks workflow.
  • Switches Gitleaks report format from csv to sarif.
  • Updates the workflow input path from a .csv file to a .sarif file.

Comment thread .github/workflows/gitleak-scan.yml
Comment thread .github/workflows/gitleak-scan.yml
Comment thread .github/workflows/gitleak-scan.yml
Comment thread .github/workflows/gitleak-scan.yml
Copy link
Copy Markdown
Contributor

@magerstam magerstam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elvin03 elvin03 merged commit f860a79 into main Apr 10, 2026
34 checks passed
@elvin03 elvin03 deleted the gitleak-sarif branch April 10, 2026 06:49
chrngc pushed a commit to chrngc/os-image-composer that referenced this pull request Apr 21, 2026
* Update gitleaks report to sarif format

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Update .github/workflows/gitleak-scan.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revert copilot commit

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

---------

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

4 participants