Skip to content

Commit 7286747

Browse files
gcf-owl-bot[bot]quirogaspearigee
authored
feat: [containeranalysis] Added line_number to FileLocation (#7608)
* feat: Added line_number to FileLocation PiperOrigin-RevId: 882149723 Source-Link: googleapis/googleapis@e8e4e1e Source-Link: googleapis/googleapis-gen@1c98e82 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWRldnRvb2xzLWNvbnRhaW5lcmFuYWx5c2lzLy5Pd2xCb3QueWFtbCIsImgiOiIxYzk4ZTgyOGUyYjNjMGQ2NTI5MDA5MWRlMjM1ZTFmODk0YzljODBhIn0= * 🦉 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 cb2345a commit 7286747

4 files changed

Lines changed: 36 additions & 0 deletions

File tree

packages/google-devtools-containeranalysis/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-devtools-containeranalysis/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-devtools-containeranalysis/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-devtools-containeranalysis/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)