@caido/schema-proxy 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.graphql +26 -95
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -224,13 +224,13 @@ type AutomateEntry {
|
|
|
224
224
|
before: String
|
|
225
225
|
first: Int
|
|
226
226
|
last: Int
|
|
227
|
-
filter:
|
|
227
|
+
filter: HTTPQL
|
|
228
228
|
order: AutomateEntryRequestOrderInput
|
|
229
229
|
): AutomateEntryRequestConnection!
|
|
230
230
|
requestsByOffset(
|
|
231
231
|
limit: Int
|
|
232
232
|
offset: Int
|
|
233
|
-
filter:
|
|
233
|
+
filter: HTTPQL
|
|
234
234
|
order: AutomateEntryRequestOrderInput
|
|
235
235
|
): AutomateEntryRequestConnection!
|
|
236
236
|
session: AutomateSession!
|
|
@@ -809,7 +809,7 @@ union CreateFilterPresetError =
|
|
|
809
809
|
|
|
810
810
|
input CreateFilterPresetInput {
|
|
811
811
|
alias: Alias!
|
|
812
|
-
clause:
|
|
812
|
+
clause: HTTPQL!
|
|
813
813
|
name: String!
|
|
814
814
|
}
|
|
815
815
|
|
|
@@ -899,7 +899,7 @@ union CreateTamperRuleError =
|
|
|
899
899
|
|
|
900
900
|
input CreateTamperRuleInput {
|
|
901
901
|
collectionId: ID!
|
|
902
|
-
condition:
|
|
902
|
+
condition: HTTPQL
|
|
903
903
|
name: String!
|
|
904
904
|
section: TamperSectionInput!
|
|
905
905
|
sources: [Source!]!
|
|
@@ -1363,11 +1363,6 @@ type DeleteSitemapEntriesPayload {
|
|
|
1363
1363
|
errors: [DeleteSitemapEntriesError!]!
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
type DeleteStreamWsMessageTask implements Task {
|
|
1367
|
-
createdAt: DateTime!
|
|
1368
|
-
id: ID!
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
1366
|
type DeleteTamperRuleCollectionPayload {
|
|
1372
1367
|
deletedId: ID
|
|
1373
1368
|
}
|
|
@@ -1499,10 +1494,6 @@ type DeletedSitemapEntriesPayload {
|
|
|
1499
1494
|
snapshot: Snapshot!
|
|
1500
1495
|
}
|
|
1501
1496
|
|
|
1502
|
-
type DeletedStreamWsMessagesPayload {
|
|
1503
|
-
deletedIds: [ID!]!
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
1497
|
type DeletedTamperRuleCollectionPayload {
|
|
1507
1498
|
deletedCollectionId: ID!
|
|
1508
1499
|
snapshot: Snapshot!
|
|
@@ -1601,7 +1592,7 @@ input FilterClauseFindingInput {
|
|
|
1601
1592
|
|
|
1602
1593
|
type FilterPreset {
|
|
1603
1594
|
alias: Alias!
|
|
1604
|
-
clause:
|
|
1595
|
+
clause: HTTPQL!
|
|
1605
1596
|
id: ID!
|
|
1606
1597
|
name: String!
|
|
1607
1598
|
}
|
|
@@ -1787,13 +1778,7 @@ type GuestUser {
|
|
|
1787
1778
|
settings: UserSettings
|
|
1788
1779
|
}
|
|
1789
1780
|
|
|
1790
|
-
|
|
1791
|
-
code: String!
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
input HTTPQLInput {
|
|
1795
|
-
code: String!
|
|
1796
|
-
}
|
|
1781
|
+
scalar HTTPQL
|
|
1797
1782
|
|
|
1798
1783
|
input HideFindingsInput @oneOf {
|
|
1799
1784
|
ids: [ID!]
|
|
@@ -1997,12 +1982,12 @@ type InterceptRequestMessage implements InterceptMessage {
|
|
|
1997
1982
|
|
|
1998
1983
|
type InterceptRequestOptions {
|
|
1999
1984
|
enabled: Boolean!
|
|
2000
|
-
filter:
|
|
1985
|
+
filter: HTTPQL
|
|
2001
1986
|
}
|
|
2002
1987
|
|
|
2003
1988
|
input InterceptRequestOptionsInput {
|
|
2004
1989
|
enabled: Boolean!
|
|
2005
|
-
filter:
|
|
1990
|
+
filter: HTTPQL
|
|
2006
1991
|
}
|
|
2007
1992
|
|
|
2008
1993
|
type InterceptResponseMessage implements InterceptMessage {
|
|
@@ -2013,12 +1998,12 @@ type InterceptResponseMessage implements InterceptMessage {
|
|
|
2013
1998
|
|
|
2014
1999
|
type InterceptResponseOptions {
|
|
2015
2000
|
enabled: Boolean!
|
|
2016
|
-
filter:
|
|
2001
|
+
filter: HTTPQL
|
|
2017
2002
|
}
|
|
2018
2003
|
|
|
2019
2004
|
input InterceptResponseOptionsInput {
|
|
2020
2005
|
enabled: Boolean!
|
|
2021
|
-
filter:
|
|
2006
|
+
filter: HTTPQL
|
|
2022
2007
|
}
|
|
2023
2008
|
|
|
2024
2009
|
type InterceptScopeOptions {
|
|
@@ -2177,7 +2162,7 @@ type MutationRoot {
|
|
|
2177
2162
|
deleteFindings(input: DeleteFindingsInput): DeleteFindingsPayload!
|
|
2178
2163
|
deleteHostedFile(id: ID!): DeleteHostedFilePayload!
|
|
2179
2164
|
deleteInterceptEntries(
|
|
2180
|
-
filter:
|
|
2165
|
+
filter: HTTPQL
|
|
2181
2166
|
scopeId: ID
|
|
2182
2167
|
): DeleteInterceptEntriesPayload!
|
|
2183
2168
|
deleteInterceptEntry(id: ID!): DeleteInterceptEntryPayload!
|
|
@@ -2217,11 +2202,6 @@ type MutationRoot {
|
|
|
2217
2202
|
pauseIntercept: PauseInterceptPayload!
|
|
2218
2203
|
persistProject(id: ID!): PersistProjectPayload!
|
|
2219
2204
|
rankDnsRewrite(id: ID!, input: RankInput!): RankDNSRewritePayload!
|
|
2220
|
-
rankReplaySession(id: ID!, input: RankInput!): RankReplaySessionPayload!
|
|
2221
|
-
rankReplaySessionCollection(
|
|
2222
|
-
id: ID!
|
|
2223
|
-
input: RankInput!
|
|
2224
|
-
): RankReplaySessionCollectionPayload!
|
|
2225
2205
|
rankTamperRule(id: ID!, input: RankTamperRuleInput!): RankTamperRulePayload!
|
|
2226
2206
|
rankUpstreamPlugin(id: ID!, input: RankInput!): RankUpstreamPluginPayload!
|
|
2227
2207
|
rankUpstreamProxyHttp(
|
|
@@ -2291,9 +2271,6 @@ type MutationRoot {
|
|
|
2291
2271
|
): SetProjectConfigStreamPayload!
|
|
2292
2272
|
startAuthenticationFlow: StartAuthenticationFlowPayload! @cloud
|
|
2293
2273
|
startAutomateTask(automateSessionId: ID!): StartAutomateTaskPayload!
|
|
2294
|
-
startDeleteStreamWsMessageTask(
|
|
2295
|
-
input: StartDeleteStreamWsMessageTaskInput!
|
|
2296
|
-
): StartDeleteStreamWsMessageTaskPayload!
|
|
2297
2274
|
startExportRequestsTask(
|
|
2298
2275
|
input: StartExportRequestsTaskInput!
|
|
2299
2276
|
): StartExportRequestsTaskPayload! @cloud
|
|
@@ -2606,13 +2583,6 @@ type ProjectUserError implements UserError {
|
|
|
2606
2583
|
reason: ProjectErrorReason!
|
|
2607
2584
|
}
|
|
2608
2585
|
|
|
2609
|
-
union Query = HTTPQL | StreamQL
|
|
2610
|
-
|
|
2611
|
-
input QueryInput @oneOf {
|
|
2612
|
-
HTTPQL: HTTPQLInput
|
|
2613
|
-
streamQL: StreamQLInput
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
2586
|
type QueryRoot {
|
|
2617
2587
|
assistantModels: [AssistantModel!]! @cloud
|
|
2618
2588
|
assistantSession(id: ID!): AssistantSession
|
|
@@ -2670,21 +2640,21 @@ type QueryRoot {
|
|
|
2670
2640
|
before: String
|
|
2671
2641
|
first: Int
|
|
2672
2642
|
last: Int
|
|
2673
|
-
filter:
|
|
2643
|
+
filter: HTTPQL
|
|
2674
2644
|
order: InterceptEntryOrderInput
|
|
2675
2645
|
scopeId: ID
|
|
2676
2646
|
): InterceptEntryConnection!
|
|
2677
2647
|
interceptEntriesByOffset(
|
|
2678
2648
|
limit: Int
|
|
2679
2649
|
offset: Int
|
|
2680
|
-
filter:
|
|
2650
|
+
filter: HTTPQL
|
|
2681
2651
|
order: InterceptEntryOrderInput
|
|
2682
2652
|
scopeId: ID
|
|
2683
2653
|
): InterceptEntryConnection!
|
|
2684
2654
|
interceptEntry(id: ID!): InterceptEntry
|
|
2685
2655
|
interceptEntryOffset(
|
|
2686
2656
|
id: ID!
|
|
2687
|
-
filter:
|
|
2657
|
+
filter: HTTPQL
|
|
2688
2658
|
order: InterceptEntryOrderInput
|
|
2689
2659
|
scopeId: ID
|
|
2690
2660
|
): InterceptEntryOffset
|
|
@@ -2716,7 +2686,7 @@ type QueryRoot {
|
|
|
2716
2686
|
request(id: ID!): Request
|
|
2717
2687
|
requestOffset(
|
|
2718
2688
|
id: ID!
|
|
2719
|
-
filter:
|
|
2689
|
+
filter: HTTPQL
|
|
2720
2690
|
order: RequestResponseOrderInput
|
|
2721
2691
|
scopeId: ID
|
|
2722
2692
|
): RequestOffset
|
|
@@ -2725,14 +2695,14 @@ type QueryRoot {
|
|
|
2725
2695
|
before: String
|
|
2726
2696
|
first: Int
|
|
2727
2697
|
last: Int
|
|
2728
|
-
filter:
|
|
2698
|
+
filter: HTTPQL
|
|
2729
2699
|
order: RequestResponseOrderInput
|
|
2730
2700
|
scopeId: ID
|
|
2731
2701
|
): RequestConnection!
|
|
2732
2702
|
requestsByOffset(
|
|
2733
2703
|
limit: Int
|
|
2734
2704
|
offset: Int
|
|
2735
|
-
filter:
|
|
2705
|
+
filter: HTTPQL
|
|
2736
2706
|
order: RequestResponseOrderInput
|
|
2737
2707
|
scopeId: ID
|
|
2738
2708
|
): RequestConnection!
|
|
@@ -2821,26 +2791,6 @@ input RankInput {
|
|
|
2821
2791
|
beforeId: ID
|
|
2822
2792
|
}
|
|
2823
2793
|
|
|
2824
|
-
type RankReplaySessionCollectionPayload {
|
|
2825
|
-
collection: ReplaySessionCollection
|
|
2826
|
-
error: RankSessionCollectionPayloadError
|
|
2827
|
-
}
|
|
2828
|
-
|
|
2829
|
-
type RankReplaySessionPayload {
|
|
2830
|
-
error: RankSessionPayloadError
|
|
2831
|
-
session: ReplaySession
|
|
2832
|
-
}
|
|
2833
|
-
|
|
2834
|
-
union RankSessionCollectionPayloadError =
|
|
2835
|
-
UnknownIdUserError
|
|
2836
|
-
| RankUserError
|
|
2837
|
-
| OtherUserError
|
|
2838
|
-
|
|
2839
|
-
union RankSessionPayloadError =
|
|
2840
|
-
UnknownIdUserError
|
|
2841
|
-
| RankUserError
|
|
2842
|
-
| OtherUserError
|
|
2843
|
-
|
|
2844
2794
|
union RankTamperRuleError = UnknownIdUserError | RankUserError | OtherUserError
|
|
2845
2795
|
|
|
2846
2796
|
input RankTamperRuleInput {
|
|
@@ -3120,13 +3070,11 @@ type ReplaySession {
|
|
|
3120
3070
|
): ReplayEntryConnection!
|
|
3121
3071
|
id: ID!
|
|
3122
3072
|
name: String!
|
|
3123
|
-
rank: Rank!
|
|
3124
3073
|
}
|
|
3125
3074
|
|
|
3126
3075
|
type ReplaySessionCollection {
|
|
3127
3076
|
id: ID!
|
|
3128
3077
|
name: String!
|
|
3129
|
-
rank: Rank!
|
|
3130
3078
|
sessions: [ReplaySession!]!
|
|
3131
3079
|
}
|
|
3132
3080
|
|
|
@@ -3612,16 +3560,8 @@ type StartAutomateTaskPayload {
|
|
|
3612
3560
|
automateTask: AutomateTask
|
|
3613
3561
|
}
|
|
3614
3562
|
|
|
3615
|
-
input StartDeleteStreamWsMessageTaskInput {
|
|
3616
|
-
ids: [ID!]!
|
|
3617
|
-
}
|
|
3618
|
-
|
|
3619
|
-
type StartDeleteStreamWsMessageTaskPayload {
|
|
3620
|
-
task: DeleteStreamWsMessageTask
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
3563
|
input StartExportRequestsTaskInput {
|
|
3624
|
-
filter:
|
|
3564
|
+
filter: HTTPQL
|
|
3625
3565
|
format: DataExportFormat!
|
|
3626
3566
|
includeRaw: Boolean!
|
|
3627
3567
|
scopeId: ID
|
|
@@ -3772,14 +3712,6 @@ enum StreamProtocol {
|
|
|
3772
3712
|
WS
|
|
3773
3713
|
}
|
|
3774
3714
|
|
|
3775
|
-
type StreamQL {
|
|
3776
|
-
code: String!
|
|
3777
|
-
}
|
|
3778
|
-
|
|
3779
|
-
input StreamQLInput {
|
|
3780
|
-
code: String!
|
|
3781
|
-
}
|
|
3782
|
-
|
|
3783
3715
|
type StreamWsMessage {
|
|
3784
3716
|
edits: [StreamWsMessageEditRef!]!
|
|
3785
3717
|
head: StreamWsMessageEdit!
|
|
@@ -3854,7 +3786,7 @@ type SubscriptionRoot {
|
|
|
3854
3786
|
createdAuthenticationToken(requestId: ID!): CreatedAuthenticationTokenPayload!
|
|
3855
3787
|
createdAutomateEntry: CreatedAutomateEntryPayload!
|
|
3856
3788
|
createdAutomateEntryRequest(
|
|
3857
|
-
filter:
|
|
3789
|
+
filter: HTTPQL
|
|
3858
3790
|
): CreatedAutomateEntryRequestPayload!
|
|
3859
3791
|
createdAutomateSession: CreatedAutomateSessionPayload!
|
|
3860
3792
|
createdAutomateTask: CreatedAutomateTaskPayload!
|
|
@@ -3866,7 +3798,7 @@ type SubscriptionRoot {
|
|
|
3866
3798
|
createdFilterPreset: CreatedFilterPresetPayload!
|
|
3867
3799
|
createdFinding: CreatedFindingPayload!
|
|
3868
3800
|
createdInterceptEntry(
|
|
3869
|
-
filter:
|
|
3801
|
+
filter: HTTPQL
|
|
3870
3802
|
scopeId: ID
|
|
3871
3803
|
): CreatedInterceptEntryPayload!
|
|
3872
3804
|
createdInterceptMessage: CreatedInterceptMessagePayload!
|
|
@@ -3876,7 +3808,7 @@ type SubscriptionRoot {
|
|
|
3876
3808
|
createdProject: CreatedProjectPayload!
|
|
3877
3809
|
createdReplaySession: CreatedReplaySessionPayload!
|
|
3878
3810
|
createdReplaySessionCollection: CreatedReplaySessionCollectionPayload!
|
|
3879
|
-
createdRequest(filter:
|
|
3811
|
+
createdRequest(filter: HTTPQL, scopeId: ID): CreatedRequestPayload!
|
|
3880
3812
|
createdScope: CreatedScopePayload!
|
|
3881
3813
|
createdSitemapEntry(scopeId: ID): CreatedSitemapEntryPayload!
|
|
3882
3814
|
createdStream(protocol: StreamProtocol!, scopeId: ID): CreatedStreamPayload!
|
|
@@ -3908,7 +3840,6 @@ type SubscriptionRoot {
|
|
|
3908
3840
|
deletedReplaySessionCollection: DeletedReplaySessionCollectionPayload!
|
|
3909
3841
|
deletedScope: DeletedScopePayload!
|
|
3910
3842
|
deletedSitemapEntry: DeletedSitemapEntriesPayload!
|
|
3911
|
-
deletedStreamWsMessages: DeletedStreamWsMessagesPayload!
|
|
3912
3843
|
deletedTamperRule: DeletedTamperRulePayload!
|
|
3913
3844
|
deletedTamperRuleCollection: DeletedTamperRuleCollectionPayload!
|
|
3914
3845
|
deletedUpstreamPlugin: DeletedUpstreamPluginPayload!
|
|
@@ -3944,7 +3875,7 @@ type SubscriptionRoot {
|
|
|
3944
3875
|
updatedHostedFile: UpdatedHostedFilePayload!
|
|
3945
3876
|
updatedInstanceSettings: UpdatedInstanceSettingsPayload!
|
|
3946
3877
|
updatedInterceptEntry(
|
|
3947
|
-
filter:
|
|
3878
|
+
filter: HTTPQL
|
|
3948
3879
|
scopeId: ID
|
|
3949
3880
|
): UpdatedInterceptEntryPayload!
|
|
3950
3881
|
updatedInterceptOptions: UpdatedInterceptOptionsPayload!
|
|
@@ -3954,7 +3885,7 @@ type SubscriptionRoot {
|
|
|
3954
3885
|
updatedProject: UpdatedProjectPayload!
|
|
3955
3886
|
updatedReplaySession: UpdatedReplaySessionPayload!
|
|
3956
3887
|
updatedReplaySessionCollection: UpdatedReplaySessionCollectionPayload!
|
|
3957
|
-
updatedRequest(filter:
|
|
3888
|
+
updatedRequest(filter: HTTPQL, scopeId: ID): UpdatedRequestPayload!
|
|
3958
3889
|
updatedRequestMetadata: UpdatedRequestMetadataPayload!
|
|
3959
3890
|
updatedScope: UpdatedScopePayload!
|
|
3960
3891
|
updatedSitemapEntry(scopeId: ID): UpdatedSitemapEntryPayload!
|
|
@@ -4252,7 +4183,7 @@ input TamperReplacerWorkflowInput {
|
|
|
4252
4183
|
|
|
4253
4184
|
type TamperRule {
|
|
4254
4185
|
collection: TamperRuleCollection!
|
|
4255
|
-
condition:
|
|
4186
|
+
condition: HTTPQL
|
|
4256
4187
|
enable: TamperRuleEnable
|
|
4257
4188
|
id: ID!
|
|
4258
4189
|
name: String!
|
|
@@ -4674,7 +4605,7 @@ union UpdateFilterPresetError =
|
|
|
4674
4605
|
|
|
4675
4606
|
input UpdateFilterPresetInput {
|
|
4676
4607
|
alias: Alias!
|
|
4677
|
-
clause:
|
|
4608
|
+
clause: HTTPQL!
|
|
4678
4609
|
name: String!
|
|
4679
4610
|
}
|
|
4680
4611
|
|
|
@@ -4725,7 +4656,7 @@ union UpdateTamperRuleError =
|
|
|
4725
4656
|
| OtherUserError
|
|
4726
4657
|
|
|
4727
4658
|
input UpdateTamperRuleInput {
|
|
4728
|
-
condition:
|
|
4659
|
+
condition: HTTPQL
|
|
4729
4660
|
name: String!
|
|
4730
4661
|
section: TamperSectionInput!
|
|
4731
4662
|
sources: [Source!]!
|