Skip to content

Commit db2f406

Browse files
CLI | Increase page limit to 10,000 in results service requests (AST-77955) (#977)
* increase page limit to 10,000 in results service requests * fix vul --------- Co-authored-by: AlvoBen <[email protected]>
1 parent 5b965f5 commit db2f406

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ require (
251251
go.uber.org/multierr v1.11.0 // indirect
252252
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
253253
golang.org/x/mod v0.20.0 // indirect
254-
golang.org/x/net v0.28.0 // indirect
254+
golang.org/x/net v0.33.0 // indirect
255255
golang.org/x/oauth2 v0.20.0 // indirect
256256
golang.org/x/sys v0.28.0 // indirect
257257
golang.org/x/term v0.27.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,8 +1107,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
11071107
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
11081108
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
11091109
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
1110-
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=
1111-
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
1110+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
1111+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
11121112
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
11131113
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
11141114
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=

internal/wrappers/results-http.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const (
1717
sort = "sort"
1818
sortResultsDefault = "-severity"
1919
offset = "offset"
20-
astAPIPageLen = 1000
21-
astAPIPagingValue = "1000"
20+
astAPIPageLen = 10_000
21+
astAPIPagingValue = "10000"
2222
)
2323

2424
type ResultsHTTPWrapper struct {

0 commit comments

Comments
 (0)