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

[Documentation] Add field descriptions for the LayerDetails message. #414

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions binary/proto/scan_result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,14 @@ message SourceCodeIdentifier {

// Details about the layer a package was found in.
message LayerDetails {
// The index of the layer in the container image.
int32 index = 1;
// The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
// The layer build command that was used to build the layer. This may not be
// found in all layers depending on how the container image is built.
string command = 3;
// Denotes whether the layer is in the base image.
bool in_base_image = 4;
}

Expand Down