Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: replace "Spam" column in Repo Workspaces with "OSSF Scorecard" #3841

Closed
jpmcb opened this issue Aug 2, 2024 · 5 comments · Fixed by #3838
Closed

Feature: replace "Spam" column in Repo Workspaces with "OSSF Scorecard" #3841

jpmcb opened this issue Aug 2, 2024 · 5 comments · Fixed by #3838

Comments

@jpmcb
Copy link
Member

jpmcb commented Aug 2, 2024

Suggested solution

Instead of the "Spam" column in the Workspace Repos:

image

We should add an OSSF Scorecard column that tracks the repos security posture. This will require a small API change to include the OSSF Scorecard result in the v2/repo/:owner/:name/search endpoint.


This ticket is related to: #3838 which removes the "Spam" column.

Copy link
Contributor

github-actions bot commented Aug 2, 2024

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please comment on this issue.

For full info on how to contribute, please check out our contributors guide.

@jpmcb
Copy link
Member Author

jpmcb commented Aug 2, 2024

Ah - looks like it's already included in the endpoint.

Example:

v2/repos/search?page=1&limit=10&range=30&repoIds=599731589%2C831881376%2C754357181%2C758580752%2C611397346

gets called for one of my workspaces (note the list of Repo IDs from the workspace). This payload looks like:

{
	"data": [
		{
			"full_name": "ublue-os/cosmic",
			"ossf_scorecard_total_score": null,
			"ossf_scorecard_dependency_update_score": null,
			"ossf_scorecard_fuzzing_score": null,
			"ossf_scorecard_maintained_score": null,
			"ossf_scorecard_updated_at": "1970-01-01T00:00:00.000Z",

                        // etc. etc. other fields for the repo
		},
	        
                // etc. etc., other repos in the workspace
	],
	"meta": {
		"page": 1,
		"limit": 10,
		"itemCount": 5,
		"pageCount": 1,
		"hasPreviousPage": false,
		"hasNextPage": false
	}
}

cc @brandonroberts - this should be 👍🏼 if you wanna stub something out in #3838 ?

@jpmcb jpmcb removed their assignment Aug 2, 2024
@brandonroberts
Copy link
Contributor

Yep, got it

Copy link
Contributor

open-sauced bot commented Aug 5, 2024

🎉 This issue has been resolved in version 2.50.0-beta.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link
Contributor

open-sauced bot commented Aug 6, 2024

🎉 This issue has been resolved in version 2.50.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@open-sauced open-sauced bot added the released label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants