File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/main/java/ai/nightfall/scan/model Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ public class Location {
1818 @ JsonProperty ("commitHash" )
1919 private String commitHash ;
2020
21+ @ JsonProperty ("rowRange" )
22+ private Range rowRange ;
23+
24+ @ JsonProperty ("columnRange" )
25+ private Range columnRange ;
26+
2127 /**
2228 * Get the finding's byte range.
2329 *
@@ -37,6 +43,24 @@ public Range getCodepointRange() {
3743 return codepointRange ;
3844 }
3945
46+ /**
47+ * Get the finding's row range.
48+ *
49+ * @return the row range in which a finding was detected, if it is tabular.
50+ */
51+ public Range getRowRange () {
52+ return rowRange ;
53+ }
54+
55+ /**
56+ * Get the finding's column range.
57+ *
58+ * @return the column range in which a finding was detected, if it is tabular.
59+ */
60+ public Range getColumnRange () {
61+ return columnRange ;
62+ }
63+
4064 /**
4165 * Get the finding's commit hash.
4266 *
You can’t perform that action at this time.
0 commit comments