qualiow-exploratory-testing 1.1.0 → 1.3.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/README.md +177 -0
- package/bin/mcli +16 -0
- package/bin/mobile-cli.mjs +573 -0
- package/bin/wadb +6 -0
- package/bin/wk-ios +58 -0
- package/bin/wkeval.mjs +44 -0
- package/data/domains/_default.md +181 -0
- package/data/domains/ecommerce.md +192 -0
- package/data/domains/fintech.md +200 -0
- package/data/domains/identity.md +88 -0
- package/data/domains/identity.yml +138 -0
- package/data/domains/marketing.md +194 -0
- package/data/domains/saas.md +197 -0
- package/data/knowledge/changelog.yml +86 -0
- package/data/knowledge/learned-patterns.md +172 -1
- package/data/knowledge/manifest.yml +210 -4
- package/data/knowledge/releases/v0.2.0/entries/technique-contract-narrowing.yml +150 -0
- package/data/knowledge/releases/v0.2.0/entries/technique-test-suite-audit.yml +116 -0
- package/data/knowledge/releases/v0.2.0/release.yml +20 -0
- package/data/knowledge/releases/v0.3.0/entries/technique-functional-diff-analysis.yml +119 -0
- package/data/knowledge/releases/v0.3.0/entries/technique-llm-output-verification.yml +102 -0
- package/data/knowledge/releases/v0.3.0/entries/technique-verification-mode-selection.yml +153 -0
- package/data/knowledge/releases/v0.3.0/release.yml +25 -0
- package/data/knowledge/releases/v0.4.0/entries/technique-authenticated-api-probing.yml +137 -0
- package/data/knowledge/releases/v0.4.0/entries/technique-environment-fingerprinting.yml +113 -0
- package/data/knowledge/releases/v0.4.0/entries/technique-silent-failure-audit.yml +86 -0
- package/data/knowledge/releases/v0.4.0/entries/technique-ui-api-differential.yml +97 -0
- package/data/knowledge/releases/v0.4.0/release.yml +28 -0
- package/data/knowledge/releases/v0.5.0/entries/technique-config-surface-verification.yml +77 -0
- package/data/knowledge/releases/v0.5.0/entries/technique-derived-value-verification.yml +81 -0
- package/data/knowledge/releases/v0.5.0/entries/technique-expected-behaviour-specification.yml +97 -0
- package/data/knowledge/releases/v0.5.0/entries/technique-presentation-integrity.yml +78 -0
- package/data/knowledge/releases/v0.5.0/entries/technique-release-readiness-verification.yml +110 -0
- package/data/knowledge/releases/v0.5.0/release.yml +33 -0
- package/data/targets/_example-backend.yml +123 -0
- package/data/targets/_example-mobile-emulation.yml +52 -0
- package/data/targets/_example-native-mobile.yml +61 -0
- package/data/targets/_example-sim-android-chrome.yml +81 -0
- package/data/targets/_example-sim-ios-safari.yml +80 -0
- package/data/templates/api-probe-matrix.md +99 -0
- package/data/templates/coverage-map.md +14 -0
- package/data/templates/expected-behaviour.md +93 -0
- package/dist/cli/index.js +137 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +350 -527
- package/dist/index.js +144 -5
- package/dist/index.js.map +1 -1
- package/docs/BACKEND-VERIFICATION.md +277 -0
- package/docs/MOBILE-SETUP.md +92 -0
- package/package.json +26 -12
- package/scripts/doctor-mobile.sh +143 -0
- package/scripts/setup-mobile.sh +213 -0
- package/skills/qa-explore/phases/00-setup.md +8 -1
- package/skills/qa-explore/phases/01-auth.md +4 -0
- package/skills/qa-explore-mobile/SKILL.md +146 -0
- package/skills/qa-explore-mobile/phases/00-setup.md +203 -0
- package/skills/qa-explore-mobile/phases/01-auth.md +127 -0
- package/skills/qa-explore-mobile/phases/02-charter.md +70 -0
- package/skills/qa-explore-mobile/phases/03-discovery.md +79 -0
- package/skills/qa-explore-mobile/phases/04-journeys.md +49 -0
- package/skills/qa-explore-mobile/phases/05-features.md +72 -0
- package/skills/qa-explore-mobile/phases/06-edge-cases.md +157 -0
- package/skills/qa-explore-mobile/phases/07-reporting.md +123 -0
- package/skills/qa-explore-mobile/references/mobile-edges.md +117 -0
- package/skills/qa-explore-quick/SKILL.md +6 -0
- package/skills/qa-verify-backend/SKILL.md +163 -0
- package/skills/qa-verify-backend/phases/00-setup.md +97 -0
- package/skills/qa-verify-backend/phases/01-ac-decomposition.md +58 -0
- package/skills/qa-verify-backend/phases/02-static-review.md +71 -0
- package/skills/qa-verify-backend/phases/03-live-verification.md +62 -0
- package/skills/qa-verify-backend/phases/03b-api-verification.md +157 -0
- package/skills/qa-verify-backend/phases/04-e2e-trigger.md +66 -0
- package/skills/qa-verify-backend/phases/05-reporting.md +135 -0
- package/skills/qa-verify-backend/references/api-probes.md +141 -0
- package/skills/qa-verify-backend/references/aws-readonly-probes.md +156 -0
- package/skills/qa-verify-backend/references/environment-fingerprinting.md +104 -0
- package/skills/qa-verify-backend/references/payload-verification.md +112 -0
- package/skills/qa-verify-backend/references/release-readiness.md +97 -0
- package/skills/qa-verify-backend/references/safety-rules.md +90 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
* Derived from the YAML data files in data/.
|
|
6
6
|
*/
|
|
7
7
|
interface AuthConfig {
|
|
8
|
-
strategy: 'none' | 'storage_state' | 'credentials' | 'token';
|
|
8
|
+
strategy: 'none' | 'storage_state' | 'credentials' | 'token' | 'in-app' | 'interactive-sso';
|
|
9
9
|
state_file?: string;
|
|
10
10
|
login_url?: string;
|
|
11
11
|
credentials?: {
|
|
@@ -13,6 +13,9 @@ interface AuthConfig {
|
|
|
13
13
|
password: string;
|
|
14
14
|
};
|
|
15
15
|
token?: string;
|
|
16
|
+
identity_provider?: string;
|
|
17
|
+
static_otp?: string;
|
|
18
|
+
test_email_pattern?: string;
|
|
16
19
|
}
|
|
17
20
|
interface BrowserConfig {
|
|
18
21
|
headless: boolean;
|
|
@@ -20,6 +23,9 @@ interface BrowserConfig {
|
|
|
20
23
|
width: number;
|
|
21
24
|
height: number;
|
|
22
25
|
};
|
|
26
|
+
engine?: 'chromium' | 'webkit' | 'firefox';
|
|
27
|
+
channel?: string;
|
|
28
|
+
device?: string;
|
|
23
29
|
}
|
|
24
30
|
interface ScopeConfig {
|
|
25
31
|
start_pages?: string[];
|
|
@@ -33,6 +39,49 @@ interface SafetyConfig {
|
|
|
33
39
|
no_file_upload?: boolean;
|
|
34
40
|
no_delete_actions?: boolean;
|
|
35
41
|
}
|
|
42
|
+
interface EnvironmentConfig {
|
|
43
|
+
kind: 'dev' | 'ephemeral' | 'staging' | 'production';
|
|
44
|
+
destroyed_automatically?: boolean;
|
|
45
|
+
}
|
|
46
|
+
interface BackendConfig {
|
|
47
|
+
provider?: 'aws';
|
|
48
|
+
/** Env var NAME holding the AWS profile — never the credential itself. */
|
|
49
|
+
aws_profile_env?: string;
|
|
50
|
+
region_env?: string;
|
|
51
|
+
region?: string;
|
|
52
|
+
/** Expected account id; the live lane stops if the caller identity differs. */
|
|
53
|
+
account_id?: string;
|
|
54
|
+
env_suffix?: string;
|
|
55
|
+
/** Logical name -> deployed resource name. Asserted, confirmed before use. */
|
|
56
|
+
resources?: Record<string, string>;
|
|
57
|
+
notes?: string;
|
|
58
|
+
}
|
|
59
|
+
interface ApiSurfaceConfig {
|
|
60
|
+
/** Defaults to the target's base_url when omitted. */
|
|
61
|
+
base_url?: string;
|
|
62
|
+
auth?: 'session-cookie' | 'bearer-env' | 'none';
|
|
63
|
+
/** Env var NAME holding a bearer token — never the token itself. */
|
|
64
|
+
token_env?: string;
|
|
65
|
+
/** Persistent browser profile directory holding the authenticated session. */
|
|
66
|
+
browser_profile?: string;
|
|
67
|
+
/** Endpoint returning the deployed build, used to fingerprint the environment. */
|
|
68
|
+
version_endpoint?: string;
|
|
69
|
+
/** Logical name -> "VERB /path". */
|
|
70
|
+
endpoints?: Record<string, string>;
|
|
71
|
+
/** The only endpoints the read-only API lane may call without asking. */
|
|
72
|
+
probe_allowlist?: string[];
|
|
73
|
+
/** Other target ids to run the same matrix against, for parity comparison. */
|
|
74
|
+
parity_targets?: string[];
|
|
75
|
+
/** Flag name -> where its deployed value is declared for this environment. */
|
|
76
|
+
feature_flags?: Record<string, string>;
|
|
77
|
+
notes?: string;
|
|
78
|
+
}
|
|
79
|
+
interface SourceBranchConfig {
|
|
80
|
+
repo_path: string;
|
|
81
|
+
branch: string;
|
|
82
|
+
base_branch?: string;
|
|
83
|
+
components?: Record<string, string>;
|
|
84
|
+
}
|
|
36
85
|
interface TargetConfig {
|
|
37
86
|
id: string;
|
|
38
87
|
name: string;
|
|
@@ -42,8 +91,53 @@ interface TargetConfig {
|
|
|
42
91
|
browser: BrowserConfig;
|
|
43
92
|
scope: ScopeConfig;
|
|
44
93
|
safety?: SafetyConfig;
|
|
94
|
+
environment?: EnvironmentConfig;
|
|
95
|
+
backend?: BackendConfig;
|
|
96
|
+
api?: ApiSurfaceConfig;
|
|
97
|
+
source?: SourceBranchConfig;
|
|
98
|
+
notes?: string;
|
|
99
|
+
}
|
|
100
|
+
interface MobileDeviceConfig {
|
|
101
|
+
name?: string;
|
|
102
|
+
udid?: string;
|
|
103
|
+
avd?: string;
|
|
104
|
+
serial?: string;
|
|
105
|
+
}
|
|
106
|
+
interface MobileAppConfig {
|
|
107
|
+
bundle_id?: string;
|
|
108
|
+
package?: string;
|
|
109
|
+
app_paths?: string[];
|
|
110
|
+
apk_paths?: string[];
|
|
111
|
+
}
|
|
112
|
+
interface MobileWebConfig {
|
|
113
|
+
base_url: string;
|
|
114
|
+
start_url?: string;
|
|
115
|
+
}
|
|
116
|
+
interface SourceRepoConfig {
|
|
117
|
+
path: string;
|
|
118
|
+
build_commands?: Record<string, string>;
|
|
119
|
+
}
|
|
120
|
+
interface MobileScopeConfig {
|
|
121
|
+
start_screen?: string;
|
|
122
|
+
start_url?: string;
|
|
123
|
+
include_patterns?: string[];
|
|
124
|
+
exclude_patterns?: string[];
|
|
125
|
+
}
|
|
126
|
+
interface MobileTargetConfig {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
platform: 'ios' | 'android';
|
|
130
|
+
domain: string;
|
|
131
|
+
device: MobileDeviceConfig;
|
|
132
|
+
app: MobileAppConfig;
|
|
133
|
+
web?: MobileWebConfig;
|
|
134
|
+
auth: AuthConfig;
|
|
135
|
+
scope?: MobileScopeConfig;
|
|
136
|
+
safety?: SafetyConfig;
|
|
137
|
+
source_repo?: SourceRepoConfig;
|
|
45
138
|
notes?: string;
|
|
46
139
|
}
|
|
140
|
+
type AnyTargetConfig = TargetConfig | MobileTargetConfig;
|
|
47
141
|
interface KnowledgeManifestEntry {
|
|
48
142
|
id: string;
|
|
49
143
|
file: string;
|
|
@@ -147,326 +241,265 @@ interface ValidationResult {
|
|
|
147
241
|
}
|
|
148
242
|
|
|
149
243
|
declare const AuthConfigSchema: z.ZodObject<{
|
|
150
|
-
strategy: z.ZodEnum<
|
|
244
|
+
strategy: z.ZodEnum<{
|
|
245
|
+
none: "none";
|
|
246
|
+
storage_state: "storage_state";
|
|
247
|
+
credentials: "credentials";
|
|
248
|
+
token: "token";
|
|
249
|
+
"in-app": "in-app";
|
|
250
|
+
"interactive-sso": "interactive-sso";
|
|
251
|
+
}>;
|
|
151
252
|
state_file: z.ZodOptional<z.ZodString>;
|
|
152
253
|
login_url: z.ZodOptional<z.ZodString>;
|
|
153
254
|
credentials: z.ZodOptional<z.ZodObject<{
|
|
154
255
|
username: z.ZodString;
|
|
155
256
|
password: z.ZodString;
|
|
156
|
-
},
|
|
157
|
-
username: string;
|
|
158
|
-
password: string;
|
|
159
|
-
}, {
|
|
160
|
-
username: string;
|
|
161
|
-
password: string;
|
|
162
|
-
}>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
163
258
|
token: z.ZodOptional<z.ZodString>;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
password: string;
|
|
169
|
-
} | undefined;
|
|
170
|
-
token?: string | undefined;
|
|
171
|
-
state_file?: string | undefined;
|
|
172
|
-
login_url?: string | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
strategy: "none" | "storage_state" | "credentials" | "token";
|
|
175
|
-
credentials?: {
|
|
176
|
-
username: string;
|
|
177
|
-
password: string;
|
|
178
|
-
} | undefined;
|
|
179
|
-
token?: string | undefined;
|
|
180
|
-
state_file?: string | undefined;
|
|
181
|
-
login_url?: string | undefined;
|
|
182
|
-
}>;
|
|
259
|
+
identity_provider: z.ZodOptional<z.ZodString>;
|
|
260
|
+
static_otp: z.ZodOptional<z.ZodString>;
|
|
261
|
+
test_email_pattern: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>;
|
|
183
263
|
declare const BrowserConfigSchema: z.ZodObject<{
|
|
184
264
|
headless: z.ZodBoolean;
|
|
185
265
|
viewport: z.ZodObject<{
|
|
186
266
|
width: z.ZodNumber;
|
|
187
267
|
height: z.ZodNumber;
|
|
188
|
-
},
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
viewport: {
|
|
198
|
-
width: number;
|
|
199
|
-
height: number;
|
|
200
|
-
};
|
|
201
|
-
}, {
|
|
202
|
-
headless: boolean;
|
|
203
|
-
viewport: {
|
|
204
|
-
width: number;
|
|
205
|
-
height: number;
|
|
206
|
-
};
|
|
207
|
-
}>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
chromium: "chromium";
|
|
271
|
+
webkit: "webkit";
|
|
272
|
+
firefox: "firefox";
|
|
273
|
+
}>>;
|
|
274
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
275
|
+
device: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>;
|
|
208
277
|
declare const ScopeConfigSchema: z.ZodObject<{
|
|
209
|
-
start_pages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
278
|
+
start_pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
279
|
max_depth: z.ZodNumber;
|
|
211
|
-
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
212
|
-
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
213
|
-
},
|
|
214
|
-
max_depth: number;
|
|
215
|
-
start_pages?: string[] | undefined;
|
|
216
|
-
include_patterns?: string[] | undefined;
|
|
217
|
-
exclude_patterns?: string[] | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
max_depth: number;
|
|
220
|
-
start_pages?: string[] | undefined;
|
|
221
|
-
include_patterns?: string[] | undefined;
|
|
222
|
-
exclude_patterns?: string[] | undefined;
|
|
223
|
-
}>;
|
|
280
|
+
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
281
|
+
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
|
+
}, z.core.$strip>;
|
|
224
283
|
declare const SafetyConfigSchema: z.ZodObject<{
|
|
225
284
|
read_only: z.ZodBoolean;
|
|
226
285
|
no_form_submit: z.ZodBoolean;
|
|
227
286
|
no_file_upload: z.ZodOptional<z.ZodBoolean>;
|
|
228
287
|
no_delete_actions: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
-
},
|
|
230
|
-
|
|
231
|
-
no_form_submit: boolean;
|
|
232
|
-
no_file_upload?: boolean | undefined;
|
|
233
|
-
no_delete_actions?: boolean | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
read_only: boolean;
|
|
236
|
-
no_form_submit: boolean;
|
|
237
|
-
no_file_upload?: boolean | undefined;
|
|
238
|
-
no_delete_actions?: boolean | undefined;
|
|
239
|
-
}>;
|
|
240
|
-
declare const TargetConfigSchema: z.ZodObject<{
|
|
288
|
+
}, z.core.$strip>;
|
|
289
|
+
declare const WebTargetConfigSchema: z.ZodObject<{
|
|
241
290
|
id: z.ZodString;
|
|
242
291
|
name: z.ZodString;
|
|
243
|
-
base_url: z.ZodString
|
|
292
|
+
base_url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
244
293
|
domain: z.ZodString;
|
|
245
294
|
auth: z.ZodObject<{
|
|
246
|
-
strategy: z.ZodEnum<
|
|
295
|
+
strategy: z.ZodEnum<{
|
|
296
|
+
none: "none";
|
|
297
|
+
storage_state: "storage_state";
|
|
298
|
+
credentials: "credentials";
|
|
299
|
+
token: "token";
|
|
300
|
+
"in-app": "in-app";
|
|
301
|
+
"interactive-sso": "interactive-sso";
|
|
302
|
+
}>;
|
|
247
303
|
state_file: z.ZodOptional<z.ZodString>;
|
|
248
304
|
login_url: z.ZodOptional<z.ZodString>;
|
|
249
305
|
credentials: z.ZodOptional<z.ZodObject<{
|
|
250
306
|
username: z.ZodString;
|
|
251
307
|
password: z.ZodString;
|
|
252
|
-
},
|
|
253
|
-
username: string;
|
|
254
|
-
password: string;
|
|
255
|
-
}, {
|
|
256
|
-
username: string;
|
|
257
|
-
password: string;
|
|
258
|
-
}>>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
259
309
|
token: z.ZodOptional<z.ZodString>;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
password: string;
|
|
265
|
-
} | undefined;
|
|
266
|
-
token?: string | undefined;
|
|
267
|
-
state_file?: string | undefined;
|
|
268
|
-
login_url?: string | undefined;
|
|
269
|
-
}, {
|
|
270
|
-
strategy: "none" | "storage_state" | "credentials" | "token";
|
|
271
|
-
credentials?: {
|
|
272
|
-
username: string;
|
|
273
|
-
password: string;
|
|
274
|
-
} | undefined;
|
|
275
|
-
token?: string | undefined;
|
|
276
|
-
state_file?: string | undefined;
|
|
277
|
-
login_url?: string | undefined;
|
|
278
|
-
}>;
|
|
310
|
+
identity_provider: z.ZodOptional<z.ZodString>;
|
|
311
|
+
static_otp: z.ZodOptional<z.ZodString>;
|
|
312
|
+
test_email_pattern: z.ZodOptional<z.ZodString>;
|
|
313
|
+
}, z.core.$strip>;
|
|
279
314
|
browser: z.ZodObject<{
|
|
280
315
|
headless: z.ZodBoolean;
|
|
281
316
|
viewport: z.ZodObject<{
|
|
282
317
|
width: z.ZodNumber;
|
|
283
318
|
height: z.ZodNumber;
|
|
284
|
-
},
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
viewport: {
|
|
294
|
-
width: number;
|
|
295
|
-
height: number;
|
|
296
|
-
};
|
|
297
|
-
}, {
|
|
298
|
-
headless: boolean;
|
|
299
|
-
viewport: {
|
|
300
|
-
width: number;
|
|
301
|
-
height: number;
|
|
302
|
-
};
|
|
303
|
-
}>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
chromium: "chromium";
|
|
322
|
+
webkit: "webkit";
|
|
323
|
+
firefox: "firefox";
|
|
324
|
+
}>>;
|
|
325
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
326
|
+
device: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strip>;
|
|
304
328
|
scope: z.ZodObject<{
|
|
305
|
-
start_pages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
329
|
+
start_pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
330
|
max_depth: z.ZodNumber;
|
|
307
|
-
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
308
|
-
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
309
|
-
},
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
331
|
+
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
|
+
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
333
|
+
}, z.core.$strip>;
|
|
334
|
+
safety: z.ZodOptional<z.ZodObject<{
|
|
335
|
+
read_only: z.ZodBoolean;
|
|
336
|
+
no_form_submit: z.ZodBoolean;
|
|
337
|
+
no_file_upload: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
no_delete_actions: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
kind: z.ZodEnum<{
|
|
342
|
+
dev: "dev";
|
|
343
|
+
ephemeral: "ephemeral";
|
|
344
|
+
staging: "staging";
|
|
345
|
+
production: "production";
|
|
346
|
+
}>;
|
|
347
|
+
destroyed_automatically: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
351
|
+
aws: "aws";
|
|
352
|
+
}>>;
|
|
353
|
+
aws_profile_env: z.ZodOptional<z.ZodString>;
|
|
354
|
+
region_env: z.ZodOptional<z.ZodString>;
|
|
355
|
+
region: z.ZodOptional<z.ZodString>;
|
|
356
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
357
|
+
env_suffix: z.ZodOptional<z.ZodString>;
|
|
358
|
+
resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
359
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
360
|
+
}, z.core.$strip>>;
|
|
361
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
363
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
364
|
+
none: "none";
|
|
365
|
+
"session-cookie": "session-cookie";
|
|
366
|
+
"bearer-env": "bearer-env";
|
|
367
|
+
}>>;
|
|
368
|
+
token_env: z.ZodOptional<z.ZodString>;
|
|
369
|
+
browser_profile: z.ZodOptional<z.ZodString>;
|
|
370
|
+
version_endpoint: z.ZodOptional<z.ZodString>;
|
|
371
|
+
endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
372
|
+
probe_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
373
|
+
parity_targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
374
|
+
feature_flags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
375
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
repo_path: z.ZodString;
|
|
379
|
+
branch: z.ZodString;
|
|
380
|
+
base_branch: z.ZodOptional<z.ZodString>;
|
|
381
|
+
components: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>;
|
|
385
|
+
declare const MobileDeviceConfigSchema: z.ZodObject<{
|
|
386
|
+
name: z.ZodOptional<z.ZodString>;
|
|
387
|
+
udid: z.ZodOptional<z.ZodString>;
|
|
388
|
+
avd: z.ZodOptional<z.ZodString>;
|
|
389
|
+
serial: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
declare const MobileAppConfigSchema: z.ZodObject<{
|
|
392
|
+
bundle_id: z.ZodOptional<z.ZodString>;
|
|
393
|
+
package: z.ZodOptional<z.ZodString>;
|
|
394
|
+
app_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
395
|
+
apk_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
declare const MobileWebConfigSchema: z.ZodObject<{
|
|
398
|
+
base_url: z.ZodString;
|
|
399
|
+
start_url: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strip>;
|
|
401
|
+
declare const SourceRepoConfigSchema: z.ZodObject<{
|
|
402
|
+
path: z.ZodString;
|
|
403
|
+
build_commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
404
|
+
}, z.core.$strip>;
|
|
405
|
+
declare const MobileScopeConfigSchema: z.ZodObject<{
|
|
406
|
+
start_screen: z.ZodOptional<z.ZodString>;
|
|
407
|
+
start_url: z.ZodOptional<z.ZodString>;
|
|
408
|
+
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
+
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
declare const MobileTargetConfigSchema: z.ZodObject<{
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
name: z.ZodString;
|
|
414
|
+
platform: z.ZodEnum<{
|
|
415
|
+
ios: "ios";
|
|
416
|
+
android: "android";
|
|
319
417
|
}>;
|
|
418
|
+
domain: z.ZodString;
|
|
419
|
+
device: z.ZodObject<{
|
|
420
|
+
name: z.ZodOptional<z.ZodString>;
|
|
421
|
+
udid: z.ZodOptional<z.ZodString>;
|
|
422
|
+
avd: z.ZodOptional<z.ZodString>;
|
|
423
|
+
serial: z.ZodOptional<z.ZodString>;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
app: z.ZodObject<{
|
|
426
|
+
bundle_id: z.ZodOptional<z.ZodString>;
|
|
427
|
+
package: z.ZodOptional<z.ZodString>;
|
|
428
|
+
app_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
429
|
+
apk_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
432
|
+
base_url: z.ZodString;
|
|
433
|
+
start_url: z.ZodOptional<z.ZodString>;
|
|
434
|
+
}, z.core.$strip>>;
|
|
435
|
+
auth: z.ZodObject<{
|
|
436
|
+
strategy: z.ZodEnum<{
|
|
437
|
+
none: "none";
|
|
438
|
+
storage_state: "storage_state";
|
|
439
|
+
credentials: "credentials";
|
|
440
|
+
token: "token";
|
|
441
|
+
"in-app": "in-app";
|
|
442
|
+
"interactive-sso": "interactive-sso";
|
|
443
|
+
}>;
|
|
444
|
+
state_file: z.ZodOptional<z.ZodString>;
|
|
445
|
+
login_url: z.ZodOptional<z.ZodString>;
|
|
446
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
447
|
+
username: z.ZodString;
|
|
448
|
+
password: z.ZodString;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
token: z.ZodOptional<z.ZodString>;
|
|
451
|
+
identity_provider: z.ZodOptional<z.ZodString>;
|
|
452
|
+
static_otp: z.ZodOptional<z.ZodString>;
|
|
453
|
+
test_email_pattern: z.ZodOptional<z.ZodString>;
|
|
454
|
+
}, z.core.$strip>;
|
|
455
|
+
scope: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
start_screen: z.ZodOptional<z.ZodString>;
|
|
457
|
+
start_url: z.ZodOptional<z.ZodString>;
|
|
458
|
+
include_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
459
|
+
exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
460
|
+
}, z.core.$strip>>;
|
|
320
461
|
safety: z.ZodOptional<z.ZodObject<{
|
|
321
462
|
read_only: z.ZodBoolean;
|
|
322
463
|
no_form_submit: z.ZodBoolean;
|
|
323
464
|
no_file_upload: z.ZodOptional<z.ZodBoolean>;
|
|
324
465
|
no_delete_actions: z.ZodOptional<z.ZodBoolean>;
|
|
325
|
-
},
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}, {
|
|
331
|
-
read_only: boolean;
|
|
332
|
-
no_form_submit: boolean;
|
|
333
|
-
no_file_upload?: boolean | undefined;
|
|
334
|
-
no_delete_actions?: boolean | undefined;
|
|
335
|
-
}>>;
|
|
466
|
+
}, z.core.$strip>>;
|
|
467
|
+
source_repo: z.ZodOptional<z.ZodObject<{
|
|
468
|
+
path: z.ZodString;
|
|
469
|
+
build_commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
470
|
+
}, z.core.$strip>>;
|
|
336
471
|
notes: z.ZodOptional<z.ZodString>;
|
|
337
|
-
},
|
|
338
|
-
|
|
339
|
-
name: string;
|
|
340
|
-
base_url: string;
|
|
341
|
-
domain: string;
|
|
342
|
-
auth: {
|
|
343
|
-
strategy: "none" | "storage_state" | "credentials" | "token";
|
|
344
|
-
credentials?: {
|
|
345
|
-
username: string;
|
|
346
|
-
password: string;
|
|
347
|
-
} | undefined;
|
|
348
|
-
token?: string | undefined;
|
|
349
|
-
state_file?: string | undefined;
|
|
350
|
-
login_url?: string | undefined;
|
|
351
|
-
};
|
|
352
|
-
browser: {
|
|
353
|
-
headless: boolean;
|
|
354
|
-
viewport: {
|
|
355
|
-
width: number;
|
|
356
|
-
height: number;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
scope: {
|
|
360
|
-
max_depth: number;
|
|
361
|
-
start_pages?: string[] | undefined;
|
|
362
|
-
include_patterns?: string[] | undefined;
|
|
363
|
-
exclude_patterns?: string[] | undefined;
|
|
364
|
-
};
|
|
365
|
-
safety?: {
|
|
366
|
-
read_only: boolean;
|
|
367
|
-
no_form_submit: boolean;
|
|
368
|
-
no_file_upload?: boolean | undefined;
|
|
369
|
-
no_delete_actions?: boolean | undefined;
|
|
370
|
-
} | undefined;
|
|
371
|
-
notes?: string | undefined;
|
|
372
|
-
}, {
|
|
373
|
-
id: string;
|
|
374
|
-
name: string;
|
|
375
|
-
base_url: string;
|
|
376
|
-
domain: string;
|
|
377
|
-
auth: {
|
|
378
|
-
strategy: "none" | "storage_state" | "credentials" | "token";
|
|
379
|
-
credentials?: {
|
|
380
|
-
username: string;
|
|
381
|
-
password: string;
|
|
382
|
-
} | undefined;
|
|
383
|
-
token?: string | undefined;
|
|
384
|
-
state_file?: string | undefined;
|
|
385
|
-
login_url?: string | undefined;
|
|
386
|
-
};
|
|
387
|
-
browser: {
|
|
388
|
-
headless: boolean;
|
|
389
|
-
viewport: {
|
|
390
|
-
width: number;
|
|
391
|
-
height: number;
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
scope: {
|
|
395
|
-
max_depth: number;
|
|
396
|
-
start_pages?: string[] | undefined;
|
|
397
|
-
include_patterns?: string[] | undefined;
|
|
398
|
-
exclude_patterns?: string[] | undefined;
|
|
399
|
-
};
|
|
400
|
-
safety?: {
|
|
401
|
-
read_only: boolean;
|
|
402
|
-
no_form_submit: boolean;
|
|
403
|
-
no_file_upload?: boolean | undefined;
|
|
404
|
-
no_delete_actions?: boolean | undefined;
|
|
405
|
-
} | undefined;
|
|
406
|
-
notes?: string | undefined;
|
|
407
|
-
}>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
declare const TargetConfigSchema: z.ZodType<z.output<typeof WebTargetConfigSchema> | z.output<typeof MobileTargetConfigSchema>>;
|
|
408
474
|
|
|
409
475
|
declare const KnowledgeEntryContentSchema: z.ZodObject<{
|
|
410
476
|
summary: z.ZodString;
|
|
411
|
-
},
|
|
412
|
-
summary: z.ZodString;
|
|
413
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
414
|
-
summary: z.ZodString;
|
|
415
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
477
|
+
}, z.core.$loose>;
|
|
416
478
|
declare const KnowledgeEntrySchema: z.ZodObject<{
|
|
417
479
|
id: z.ZodString;
|
|
418
480
|
version: z.ZodString;
|
|
419
|
-
type: z.ZodEnum<
|
|
481
|
+
type: z.ZodEnum<{
|
|
482
|
+
heuristic: "heuristic";
|
|
483
|
+
technique: "technique";
|
|
484
|
+
checklist: "checklist";
|
|
485
|
+
reference: "reference";
|
|
486
|
+
}>;
|
|
420
487
|
name: z.ZodString;
|
|
421
488
|
description: z.ZodString;
|
|
422
489
|
author: z.ZodOptional<z.ZodString>;
|
|
423
490
|
source: z.ZodOptional<z.ZodString>;
|
|
424
|
-
tags: z.ZodArray<z.ZodString
|
|
425
|
-
domains: z.ZodArray<z.ZodString
|
|
426
|
-
priority: z.ZodEnum<
|
|
491
|
+
tags: z.ZodArray<z.ZodString>;
|
|
492
|
+
domains: z.ZodArray<z.ZodString>;
|
|
493
|
+
priority: z.ZodEnum<{
|
|
494
|
+
high: "high";
|
|
495
|
+
medium: "medium";
|
|
496
|
+
low: "low";
|
|
497
|
+
}>;
|
|
427
498
|
added: z.ZodString;
|
|
428
499
|
content: z.ZodObject<{
|
|
429
500
|
summary: z.ZodString;
|
|
430
|
-
},
|
|
431
|
-
|
|
432
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
433
|
-
summary: z.ZodString;
|
|
434
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
435
|
-
}, "strip", z.ZodTypeAny, {
|
|
436
|
-
type: "heuristic" | "technique" | "checklist" | "reference";
|
|
437
|
-
id: string;
|
|
438
|
-
name: string;
|
|
439
|
-
version: string;
|
|
440
|
-
description: string;
|
|
441
|
-
tags: string[];
|
|
442
|
-
domains: string[];
|
|
443
|
-
priority: "high" | "medium" | "low";
|
|
444
|
-
added: string;
|
|
445
|
-
content: {
|
|
446
|
-
summary: string;
|
|
447
|
-
} & {
|
|
448
|
-
[k: string]: unknown;
|
|
449
|
-
};
|
|
450
|
-
author?: string | undefined;
|
|
451
|
-
source?: string | undefined;
|
|
452
|
-
}, {
|
|
453
|
-
type: "heuristic" | "technique" | "checklist" | "reference";
|
|
454
|
-
id: string;
|
|
455
|
-
name: string;
|
|
456
|
-
version: string;
|
|
457
|
-
description: string;
|
|
458
|
-
tags: string[];
|
|
459
|
-
domains: string[];
|
|
460
|
-
priority: "high" | "medium" | "low";
|
|
461
|
-
added: string;
|
|
462
|
-
content: {
|
|
463
|
-
summary: string;
|
|
464
|
-
} & {
|
|
465
|
-
[k: string]: unknown;
|
|
466
|
-
};
|
|
467
|
-
author?: string | undefined;
|
|
468
|
-
source?: string | undefined;
|
|
469
|
-
}>;
|
|
501
|
+
}, z.core.$loose>;
|
|
502
|
+
}, z.core.$strip>;
|
|
470
503
|
|
|
471
504
|
declare const KnowledgeManifestStatsSchema: z.ZodObject<{
|
|
472
505
|
total_entries: z.ZodNumber;
|
|
@@ -476,62 +509,28 @@ declare const KnowledgeManifestStatsSchema: z.ZodObject<{
|
|
|
476
509
|
references: z.ZodNumber;
|
|
477
510
|
domain_profiles: z.ZodNumber;
|
|
478
511
|
custom_entries: z.ZodNumber;
|
|
479
|
-
},
|
|
480
|
-
total_entries: number;
|
|
481
|
-
heuristics: number;
|
|
482
|
-
techniques: number;
|
|
483
|
-
checklists: number;
|
|
484
|
-
references: number;
|
|
485
|
-
domain_profiles: number;
|
|
486
|
-
custom_entries: number;
|
|
487
|
-
}, {
|
|
488
|
-
total_entries: number;
|
|
489
|
-
heuristics: number;
|
|
490
|
-
techniques: number;
|
|
491
|
-
checklists: number;
|
|
492
|
-
references: number;
|
|
493
|
-
domain_profiles: number;
|
|
494
|
-
custom_entries: number;
|
|
495
|
-
}>;
|
|
512
|
+
}, z.core.$strip>;
|
|
496
513
|
declare const KnowledgeManifestEntrySchema: z.ZodObject<{
|
|
497
514
|
id: z.ZodString;
|
|
498
515
|
file: z.ZodString;
|
|
499
516
|
type: z.ZodString;
|
|
500
|
-
priority: z.ZodEnum<
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
priority: "high" | "medium" | "low";
|
|
509
|
-
file: string;
|
|
510
|
-
}, {
|
|
511
|
-
type: string;
|
|
512
|
-
id: string;
|
|
513
|
-
tags: string[];
|
|
514
|
-
domains: string[];
|
|
515
|
-
priority: "high" | "medium" | "low";
|
|
516
|
-
file: string;
|
|
517
|
-
}>;
|
|
517
|
+
priority: z.ZodEnum<{
|
|
518
|
+
high: "high";
|
|
519
|
+
medium: "medium";
|
|
520
|
+
low: "low";
|
|
521
|
+
}>;
|
|
522
|
+
tags: z.ZodArray<z.ZodString>;
|
|
523
|
+
domains: z.ZodArray<z.ZodString>;
|
|
524
|
+
}, z.core.$strip>;
|
|
518
525
|
declare const LoadingStrategySchema: z.ZodObject<{
|
|
519
|
-
always: z.ZodArray<z.ZodString
|
|
520
|
-
by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
521
|
-
by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
522
|
-
},
|
|
523
|
-
always: string[];
|
|
524
|
-
by_domain: Record<string, string[]>;
|
|
525
|
-
by_tag: Record<string, string[]>;
|
|
526
|
-
}, {
|
|
527
|
-
always: string[];
|
|
528
|
-
by_domain: Record<string, string[]>;
|
|
529
|
-
by_tag: Record<string, string[]>;
|
|
530
|
-
}>;
|
|
526
|
+
always: z.ZodArray<z.ZodString>;
|
|
527
|
+
by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
528
|
+
by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
529
|
+
}, z.core.$strip>;
|
|
531
530
|
declare const KnowledgeManifestSchema: z.ZodObject<{
|
|
532
531
|
version: z.ZodString;
|
|
533
532
|
last_updated: z.ZodString;
|
|
534
|
-
active_releases: z.ZodArray<z.ZodString
|
|
533
|
+
active_releases: z.ZodArray<z.ZodString>;
|
|
535
534
|
stats: z.ZodObject<{
|
|
536
535
|
total_entries: z.ZodNumber;
|
|
537
536
|
heuristics: z.ZodNumber;
|
|
@@ -540,203 +539,63 @@ declare const KnowledgeManifestSchema: z.ZodObject<{
|
|
|
540
539
|
references: z.ZodNumber;
|
|
541
540
|
domain_profiles: z.ZodNumber;
|
|
542
541
|
custom_entries: z.ZodNumber;
|
|
543
|
-
},
|
|
544
|
-
total_entries: number;
|
|
545
|
-
heuristics: number;
|
|
546
|
-
techniques: number;
|
|
547
|
-
checklists: number;
|
|
548
|
-
references: number;
|
|
549
|
-
domain_profiles: number;
|
|
550
|
-
custom_entries: number;
|
|
551
|
-
}, {
|
|
552
|
-
total_entries: number;
|
|
553
|
-
heuristics: number;
|
|
554
|
-
techniques: number;
|
|
555
|
-
checklists: number;
|
|
556
|
-
references: number;
|
|
557
|
-
domain_profiles: number;
|
|
558
|
-
custom_entries: number;
|
|
559
|
-
}>;
|
|
542
|
+
}, z.core.$strip>;
|
|
560
543
|
loading_strategy: z.ZodObject<{
|
|
561
|
-
always: z.ZodArray<z.ZodString
|
|
562
|
-
by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
563
|
-
by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
564
|
-
},
|
|
565
|
-
always: string[];
|
|
566
|
-
by_domain: Record<string, string[]>;
|
|
567
|
-
by_tag: Record<string, string[]>;
|
|
568
|
-
}, {
|
|
569
|
-
always: string[];
|
|
570
|
-
by_domain: Record<string, string[]>;
|
|
571
|
-
by_tag: Record<string, string[]>;
|
|
572
|
-
}>;
|
|
544
|
+
always: z.ZodArray<z.ZodString>;
|
|
545
|
+
by_domain: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
546
|
+
by_tag: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
573
548
|
entries: z.ZodArray<z.ZodObject<{
|
|
574
549
|
id: z.ZodString;
|
|
575
550
|
file: z.ZodString;
|
|
576
551
|
type: z.ZodString;
|
|
577
|
-
priority: z.ZodEnum<
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
file: string;
|
|
587
|
-
}, {
|
|
588
|
-
type: string;
|
|
589
|
-
id: string;
|
|
590
|
-
tags: string[];
|
|
591
|
-
domains: string[];
|
|
592
|
-
priority: "high" | "medium" | "low";
|
|
593
|
-
file: string;
|
|
594
|
-
}>, "many">;
|
|
595
|
-
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
entries: {
|
|
597
|
-
type: string;
|
|
598
|
-
id: string;
|
|
599
|
-
tags: string[];
|
|
600
|
-
domains: string[];
|
|
601
|
-
priority: "high" | "medium" | "low";
|
|
602
|
-
file: string;
|
|
603
|
-
}[];
|
|
604
|
-
version: string;
|
|
605
|
-
last_updated: string;
|
|
606
|
-
active_releases: string[];
|
|
607
|
-
stats: {
|
|
608
|
-
total_entries: number;
|
|
609
|
-
heuristics: number;
|
|
610
|
-
techniques: number;
|
|
611
|
-
checklists: number;
|
|
612
|
-
references: number;
|
|
613
|
-
domain_profiles: number;
|
|
614
|
-
custom_entries: number;
|
|
615
|
-
};
|
|
616
|
-
loading_strategy: {
|
|
617
|
-
always: string[];
|
|
618
|
-
by_domain: Record<string, string[]>;
|
|
619
|
-
by_tag: Record<string, string[]>;
|
|
620
|
-
};
|
|
621
|
-
}, {
|
|
622
|
-
entries: {
|
|
623
|
-
type: string;
|
|
624
|
-
id: string;
|
|
625
|
-
tags: string[];
|
|
626
|
-
domains: string[];
|
|
627
|
-
priority: "high" | "medium" | "low";
|
|
628
|
-
file: string;
|
|
629
|
-
}[];
|
|
630
|
-
version: string;
|
|
631
|
-
last_updated: string;
|
|
632
|
-
active_releases: string[];
|
|
633
|
-
stats: {
|
|
634
|
-
total_entries: number;
|
|
635
|
-
heuristics: number;
|
|
636
|
-
techniques: number;
|
|
637
|
-
checklists: number;
|
|
638
|
-
references: number;
|
|
639
|
-
domain_profiles: number;
|
|
640
|
-
custom_entries: number;
|
|
641
|
-
};
|
|
642
|
-
loading_strategy: {
|
|
643
|
-
always: string[];
|
|
644
|
-
by_domain: Record<string, string[]>;
|
|
645
|
-
by_tag: Record<string, string[]>;
|
|
646
|
-
};
|
|
647
|
-
}>;
|
|
552
|
+
priority: z.ZodEnum<{
|
|
553
|
+
high: "high";
|
|
554
|
+
medium: "medium";
|
|
555
|
+
low: "low";
|
|
556
|
+
}>;
|
|
557
|
+
tags: z.ZodArray<z.ZodString>;
|
|
558
|
+
domains: z.ZodArray<z.ZodString>;
|
|
559
|
+
}, z.core.$strip>>;
|
|
560
|
+
}, z.core.$strip>;
|
|
648
561
|
|
|
649
562
|
declare const JourneySchema: z.ZodObject<{
|
|
650
563
|
id: z.ZodString;
|
|
651
564
|
name: z.ZodString;
|
|
652
565
|
description: z.ZodString;
|
|
653
|
-
steps: z.ZodArray<z.ZodString
|
|
654
|
-
risk: z.ZodEnum<
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
risk: "high" | "medium" | "low";
|
|
661
|
-
}, {
|
|
662
|
-
id: string;
|
|
663
|
-
name: string;
|
|
664
|
-
description: string;
|
|
665
|
-
steps: string[];
|
|
666
|
-
risk: "high" | "medium" | "low";
|
|
667
|
-
}>;
|
|
566
|
+
steps: z.ZodArray<z.ZodString>;
|
|
567
|
+
risk: z.ZodEnum<{
|
|
568
|
+
high: "high";
|
|
569
|
+
medium: "medium";
|
|
570
|
+
low: "low";
|
|
571
|
+
}>;
|
|
572
|
+
}, z.core.$strip>;
|
|
668
573
|
declare const DomainConfigSchema: z.ZodObject<{
|
|
669
574
|
id: z.ZodString;
|
|
670
575
|
name: z.ZodString;
|
|
671
|
-
risk_ranking: z.ZodArray<z.ZodString
|
|
672
|
-
completeness_checklist: z.ZodArray<z.ZodString
|
|
673
|
-
data_integrity_checks: z.ZodArray<z.ZodString
|
|
576
|
+
risk_ranking: z.ZodArray<z.ZodString>;
|
|
577
|
+
completeness_checklist: z.ZodArray<z.ZodString>;
|
|
578
|
+
data_integrity_checks: z.ZodArray<z.ZodString>;
|
|
674
579
|
journeys: z.ZodArray<z.ZodObject<{
|
|
675
580
|
id: z.ZodString;
|
|
676
581
|
name: z.ZodString;
|
|
677
582
|
description: z.ZodString;
|
|
678
|
-
steps: z.ZodArray<z.ZodString
|
|
679
|
-
risk: z.ZodEnum<
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
id: string;
|
|
688
|
-
name: string;
|
|
689
|
-
description: string;
|
|
690
|
-
steps: string[];
|
|
691
|
-
risk: "high" | "medium" | "low";
|
|
692
|
-
}>, "many">;
|
|
693
|
-
guidance: z.ZodArray<z.ZodString, "many">;
|
|
694
|
-
}, "strip", z.ZodTypeAny, {
|
|
695
|
-
id: string;
|
|
696
|
-
name: string;
|
|
697
|
-
risk_ranking: string[];
|
|
698
|
-
completeness_checklist: string[];
|
|
699
|
-
data_integrity_checks: string[];
|
|
700
|
-
journeys: {
|
|
701
|
-
id: string;
|
|
702
|
-
name: string;
|
|
703
|
-
description: string;
|
|
704
|
-
steps: string[];
|
|
705
|
-
risk: "high" | "medium" | "low";
|
|
706
|
-
}[];
|
|
707
|
-
guidance: string[];
|
|
708
|
-
}, {
|
|
709
|
-
id: string;
|
|
710
|
-
name: string;
|
|
711
|
-
risk_ranking: string[];
|
|
712
|
-
completeness_checklist: string[];
|
|
713
|
-
data_integrity_checks: string[];
|
|
714
|
-
journeys: {
|
|
715
|
-
id: string;
|
|
716
|
-
name: string;
|
|
717
|
-
description: string;
|
|
718
|
-
steps: string[];
|
|
719
|
-
risk: "high" | "medium" | "low";
|
|
720
|
-
}[];
|
|
721
|
-
guidance: string[];
|
|
722
|
-
}>;
|
|
583
|
+
steps: z.ZodArray<z.ZodString>;
|
|
584
|
+
risk: z.ZodEnum<{
|
|
585
|
+
high: "high";
|
|
586
|
+
medium: "medium";
|
|
587
|
+
low: "low";
|
|
588
|
+
}>;
|
|
589
|
+
}, z.core.$strip>>;
|
|
590
|
+
guidance: z.ZodArray<z.ZodString>;
|
|
591
|
+
}, z.core.$strip>;
|
|
723
592
|
|
|
724
593
|
declare const SeverityCountsSchema: z.ZodObject<{
|
|
725
594
|
critical: z.ZodNumber;
|
|
726
595
|
high: z.ZodNumber;
|
|
727
596
|
medium: z.ZodNumber;
|
|
728
597
|
low: z.ZodNumber;
|
|
729
|
-
},
|
|
730
|
-
high: number;
|
|
731
|
-
medium: number;
|
|
732
|
-
low: number;
|
|
733
|
-
critical: number;
|
|
734
|
-
}, {
|
|
735
|
-
high: number;
|
|
736
|
-
medium: number;
|
|
737
|
-
low: number;
|
|
738
|
-
critical: number;
|
|
739
|
-
}>;
|
|
598
|
+
}, z.core.$strip>;
|
|
740
599
|
declare const SessionMetricsSchema: z.ZodObject<{
|
|
741
600
|
session_id: z.ZodString;
|
|
742
601
|
target: z.ZodString;
|
|
@@ -748,45 +607,9 @@ declare const SessionMetricsSchema: z.ZodObject<{
|
|
|
748
607
|
high: z.ZodNumber;
|
|
749
608
|
medium: z.ZodNumber;
|
|
750
609
|
low: z.ZodNumber;
|
|
751
|
-
},
|
|
752
|
-
high: number;
|
|
753
|
-
medium: number;
|
|
754
|
-
low: number;
|
|
755
|
-
critical: number;
|
|
756
|
-
}, {
|
|
757
|
-
high: number;
|
|
758
|
-
medium: number;
|
|
759
|
-
low: number;
|
|
760
|
-
critical: number;
|
|
761
|
-
}>;
|
|
610
|
+
}, z.core.$strip>;
|
|
762
611
|
pages_explored: z.ZodNumber;
|
|
763
|
-
},
|
|
764
|
-
date: string;
|
|
765
|
-
session_id: string;
|
|
766
|
-
target: string;
|
|
767
|
-
duration_min: number;
|
|
768
|
-
bugs_found: number;
|
|
769
|
-
severity_counts: {
|
|
770
|
-
high: number;
|
|
771
|
-
medium: number;
|
|
772
|
-
low: number;
|
|
773
|
-
critical: number;
|
|
774
|
-
};
|
|
775
|
-
pages_explored: number;
|
|
776
|
-
}, {
|
|
777
|
-
date: string;
|
|
778
|
-
session_id: string;
|
|
779
|
-
target: string;
|
|
780
|
-
duration_min: number;
|
|
781
|
-
bugs_found: number;
|
|
782
|
-
severity_counts: {
|
|
783
|
-
high: number;
|
|
784
|
-
medium: number;
|
|
785
|
-
low: number;
|
|
786
|
-
critical: number;
|
|
787
|
-
};
|
|
788
|
-
pages_explored: number;
|
|
789
|
-
}>;
|
|
612
|
+
}, z.core.$strip>;
|
|
790
613
|
|
|
791
614
|
/**
|
|
792
615
|
* Credential and secret redaction utility.
|
|
@@ -896,4 +719,4 @@ declare function generateJsonReport(sessionDir: string): Promise<object>;
|
|
|
896
719
|
*/
|
|
897
720
|
declare function generateJiraExport(sessionDir: string): Promise<string>;
|
|
898
721
|
|
|
899
|
-
export { type AuthConfig, AuthConfigSchema, type BrowserConfig, BrowserConfigSchema, type BugReport, type BugSeverity, type DomainConfig, DomainConfigSchema, type Journey, JourneySchema, type KnowledgeEntry, type KnowledgeEntryContent, KnowledgeEntryContentSchema, KnowledgeEntrySchema, type KnowledgeManifest, type KnowledgeManifestEntry, KnowledgeManifestEntrySchema, KnowledgeManifestSchema, type KnowledgeManifestStats, KnowledgeManifestStatsSchema, type LoadingStrategy, LoadingStrategySchema, type ParsedBug, type ParsedSession, type SafetyConfig, SafetyConfigSchema, type ScopeConfig, ScopeConfigSchema, type SessionMetrics, SessionMetricsSchema, type SeverityCounts, SeverityCountsSchema, type TargetConfig, TargetConfigSchema, type ValidationError, type ValidationResult, appendSessionMetrics, containsSecrets, generateHtmlReport, generateJiraExport, generateJsonReport, parseBugReport, parseSession, readAllMetrics, redact, validateAllConfigs, validateDomainConfig, validateKnowledgeEntry, validateTargetConfig };
|
|
722
|
+
export { type AnyTargetConfig, type AuthConfig, AuthConfigSchema, type BrowserConfig, BrowserConfigSchema, type BugReport, type BugSeverity, type DomainConfig, DomainConfigSchema, type Journey, JourneySchema, type KnowledgeEntry, type KnowledgeEntryContent, KnowledgeEntryContentSchema, KnowledgeEntrySchema, type KnowledgeManifest, type KnowledgeManifestEntry, KnowledgeManifestEntrySchema, KnowledgeManifestSchema, type KnowledgeManifestStats, KnowledgeManifestStatsSchema, type LoadingStrategy, LoadingStrategySchema, type MobileAppConfig, MobileAppConfigSchema, type MobileDeviceConfig, MobileDeviceConfigSchema, type MobileScopeConfig, MobileScopeConfigSchema, type MobileTargetConfig, MobileTargetConfigSchema, type MobileWebConfig, MobileWebConfigSchema, type ParsedBug, type ParsedSession, type SafetyConfig, SafetyConfigSchema, type ScopeConfig, ScopeConfigSchema, type SessionMetrics, SessionMetricsSchema, type SeverityCounts, SeverityCountsSchema, type SourceRepoConfig, SourceRepoConfigSchema, type TargetConfig, TargetConfigSchema, type ValidationError, type ValidationResult, WebTargetConfigSchema, appendSessionMetrics, containsSecrets, generateHtmlReport, generateJiraExport, generateJsonReport, parseBugReport, parseSession, readAllMetrics, redact, validateAllConfigs, validateDomainConfig, validateKnowledgeEntry, validateTargetConfig };
|