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 — Update the sarif schema file by aeisenberg · Pull Request #1668 · github/codeql-action

Conversation

@aeisenberg

@aeisenberg aeisenberg commented May 2, 2023

Copy link
Copy Markdown
Contributor

The version we were using is quite old. Copied the latest from https://github.com/oasis-tcs/sarif-spec/blob/123e95847b13fbdd4cbe2120fa5e33355d4a042b/Schemata/sarif-schema-2.1.0.json

I do not think the sarif spec will be changing any more without an explicit version update, so this is fine for now.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • 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
@aeisenberg
Update the sarif schema file
febbadf
The version we were using is quite old. Copied the latest from
https://github.com/oasis-tcs/sarif-spec/blob/123e95847b13fbdd4cbe2120fa5e33355d4a042b/Schemata/sarif-schema-2.1.0.json

I do not think the sarif spec will be changing any more without
an explicit version update, so this is fine for now.
@aeisenberg
aeisenberg requested a review from a team as a code owner May 2, 2023 20:48
@aeisenberg aeisenberg mentioned this pull request May 2, 2023
upload-sarif@v2 Doesn't support suppressions property in Sarif files. #1230
Closed
@aeisenberg
Update changelog
ece3cbc
@aeisenberg
aeisenberg force-pushed the aeisenberg/update-sarif-schema branch from 9cd82da to ece3cbc Compare May 2, 2023 20:52
@aeisenberg
Update jsonschema version
ef88842
Fixes bug in `uniqueItems` property.
@aeisenberg

aeisenberg commented May 2, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Oh...that's interesting. The failing check is also failing on main. https://github.com/github/codeql-action/actions/runs/4866066524/jobs/8677165330#step:5:77

There must be some update to the python yaml library we're using.

All reactions

Sorry, something went wrong.

Uh oh!

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

@aeisenberg
Re-run sync.py with new ruamel.yaml
3df8023
adityasharad
adityasharad reviewed May 5, 2023
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.

LGTM, couple of minor suggestions. Thanks for catching this.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/sarif-schema-2.1.0.json Resolved

Uh oh!

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

Comment thread CHANGELOG.md Resolved

Uh oh!

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

@aeisenberg @adityasharad
Update CHANGELOG.md
684c4b5
Co-authored-by: Aditya Sharad <[email protected]>
adityasharad
adityasharad approved these changes May 5, 2023
View reviewed changes
@aeisenberg
aeisenberg enabled auto-merge May 5, 2023 15:49
@aeisenberg
aeisenberg merged commit 11fba50 into main May 5, 2023
@aeisenberg
aeisenberg deleted the aeisenberg/update-sarif-schema branch May 5, 2023 16:14
@github-actions github-actions Bot mentioned this pull request May 24, 2023
Merge main into releases/v2 #1700
Merged
5 of 6 tasks
@laurentsimon laurentsimon mentioned this pull request May 25, 2023
Breaking change in SARIF #1703
Closed
@aeisenberg

aeisenberg commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

For reference, this change was made because of a bug in the older version of the sarif schema, as described here: #1230 (comment)

All reactions

Sorry, something went wrong.

Uh oh!

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

@b4st1en b4st1en mentioned this pull request May 26, 2023
SARIF not uploaded anymore using github/codeql-action/[email protected] sysdiglabs/scan-action#30
Closed
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

@aeisenberg @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.