Skip to content

Commit c156f91

Browse files
gcf-owl-bot[bot]quirogaspearigee
authored
feat: [binaryauthorization] Added line_number to FileLocation (#7609)
* feat: Added line_number to FileLocation PiperOrigin-RevId: 882149723 Source-Link: googleapis/googleapis@e8e4e1e Source-Link: googleapis/googleapis-gen@1c98e82 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpbmFyeWF1dGhvcml6YXRpb24vLk93bEJvdC55YW1sIiwiaCI6IjFjOThlODI4ZTJiM2MwZDY1MjkwMDkxZGUyMzVlMWY4OTRjOWM4MGEifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Santiago Quiroga <22756465+quirogas@users.noreply.github.com> Co-authored-by: Gabe Pearhill <86282859+pearigee@users.noreply.github.com>
1 parent e361532 commit c156f91

4 files changed

Lines changed: 36 additions & 0 deletions

File tree

packages/google-cloud-binaryauthorization/protos/grafeas/v1/common.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ message FileLocation {
134134
// Each package found in a file should have its own layer metadata (that is,
135135
// information from the origin layer of the package).
136136
LayerDetails layer_details = 2;
137+
// Line number in the file where the package was found.
138+
// Optional field that only applies to source repository scanning.
139+
int32 line_number = 3;
137140
}
138141

139142
// BaseImage describes a base image of a container image.

packages/google-cloud-binaryauthorization/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-binaryauthorization/protos/protos.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-binaryauthorization/protos/protos.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)