GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add `--sarif-group-rules-by-pack` flag by edoardopirovano · Pull Request #546 · github/codeql-action

Conversation

@edoardopirovano

@edoardopirovano edoardopirovano commented Jun 4, 2021

Copy link
Copy Markdown
Contributor

This adds the --sarif-group-rules-by-pack to invocations of database analyze which will result in the SARIF produced having rule objects grouped under the QL pack they correspond to rather than appearing at the top level.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows. This change isn't quite compatible with existing workflows if the users are consuming the SARIF in a way other than uploading it to Code Scanning, as the tool.driver.rules field disappears in favour of <toolComponent>.rules fields. As I understand it we don't support this use case, though.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@edoardopirovano
edoardopirovano requested a review from adityasharad June 4, 2021 09:05
adityasharad
adityasharad approved these changes Jun 4, 2021
View reviewed changes

@adityasharad adityasharad left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks!

Could you please add a change note? You can link to https://codeql.github.com/docs/codeql-cli/manual/database-analyze/#cmdoption-codeql-database-analyze-no-sarif-group-rules-by-pack or https://github.com/github/codeql-cli-binaries/blob/main/CHANGELOG.md#release-251-2021-04-19, or use the text there as a reference while writing the note. I want to make clear that this will not change most behaviour, but the rule objects will be in different places in the SARIF produced.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@edoardopirovano
Add --sarif-group-rules-by-pack flag
4a407fe
@edoardopirovano
edoardopirovano force-pushed the add-group-by-pack branch from d58d532 to 4a407fe Compare June 6, 2021 08:46
@edoardopirovano
edoardopirovano enabled auto-merge (rebase) June 6, 2021 08:46
@edoardopirovano
edoardopirovano merged commit 1644ade into github:main Jun 6, 2021
@github-actions github-actions Bot mentioned this pull request Jun 7, 2021
Merge main into v1 #549
Merged
4 of 5 tasks
@chrisjcox79 chrisjcox79 mentioned this pull request Jun 20, 2023
[Snyk] Security upgrade semver from 7.3.2 to 7.5.2 chrisjcox79/codeql-action#7
Open
@aliscco aliscco mentioned this pull request Jun 21, 2023
[Snyk] Security upgrade semver from 5.7.1 to 7.5.2 aliscco/codeql-action#526
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adityasharad adityasharad adityasharad approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@edoardopirovano @adityasharad
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.