Skip to content

Commit

Permalink
[Documentation] Add field descriptions for the LayerDetails message.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 720016693
  • Loading branch information
Mario Leyva authored and copybara-github committed Jan 31, 2025
1 parent 0390b37 commit 9904f50
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit 9904f50

Please sign in to comment.