| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bce678d commit e8e4e1e
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -134,6 +134,9 @@ message FileLocation { | |||
| 134 | 134 | // Each package found in a file should have its own layer metadata (that is, | |
| 135 | 135 | // information from the origin layer of the package). | |
| 136 | 136 | 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; | ||
| 137 | 140 | } | |
| 138 | 141 | ||
| 139 | 142 | // BaseImage describes a base image of a container image. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3148,6 +3148,11 @@ | |||
| 3148 | 3148 | "layerDetails": { | |
| 3149 | 3149 | "$ref": "#/definitions/v1LayerDetails", | |
| 3150 | 3150 | "description": "Each package found in a file should have its own layer metadata (that is, information\nfrom the origin layer of the package)." | |
| 3151 | + }, | ||
| 3152 | + "lineNumber": { | ||
| 3153 | + "type": "integer", | ||
| 3154 | + "format": "int32", | ||
| 3155 | + "description": "Line number in the file where the package was found. \nOptional field that only applies to source repository scanning." | ||
| 3151 | 3156 | } | |
| 3152 | 3157 | }, | |
| 3153 | 3158 | "description": "Indicates the location at which a package was found." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments