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.
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
content: source track draft: simplify and clarify level goals #1097
content: source track draft: simplify and clarify level goals #1097
Changes from 1 commit
989aeb8
b4f8b7b
68e8632
5d5df51
b2071c0
cc8a51c
5a456d6
ad62f09
e4050b4
47f8ad3
d212e08
8bf4205
2343b07
a7fd4fe
b003548
09b0c67
6d3e582
99f372a
6b82d6d
a583425
64132b8
9ab53dc
7269b05
1be7b2a
7faa87d
843729c
69f611c
08ec500
6515598
f962ac4
d809349
2f86109
834d64c
9b72a77
006a4c1
febc191
6e3f3e3
6c05dc1
3919bad
cb63de3
f2398a4
d1219c6
5527616
6df6b33
31d63ba
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I presume the repository ID is different from the URL to locate the repository on the SCP? For example, the repository ID for this one is
346517502
per https://api.github.com/repos/slsa-framework/slsa.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.
Oh, I had imagined the repository ID is the URL (e.g.
https://github.com/slsa-framework/slsa
).Having it be something that's meaningful to humans would be pretty beneficial.
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.
Yeah, I think that's partly what I was getting at. I wonder if there's an endpoint to translate the numeric ID to the URL or if the current definition for repository (even without the ID) inherently has a URL associated with it because we only consider a repository on the SCP at the moment. This is part of the massaging I wonder if I should take a stab at separately.
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.
IMO we should consider the numeric ID to be an implementation detail and not worry about it?
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.
it's an interesting question -- today we definitely have resurrection and rename attacks (so you need the gh repo numeric id to disambiguate), but I think in combination with the git object id, the url is probably fine.
IE, it doesn't likely matter much if a hijacked repo (with a different numeric id) has the same url and ships the same revision, we can ship the corresponding attestation. I'd want to think through it some more.