@dataparade/cli 0.0.30 → 0.0.32
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/dist/package.json +3 -3
- package/dist/src/ai-enrichment/fallbacks.js +12 -1
- package/dist/src/cli.js +3 -0
- package/dist/src/core/pipeline/omit-internal-implementation.js +13 -6
- package/dist/src/output/git-context.d.ts +17 -0
- package/dist/src/output/git-context.js +104 -0
- package/dist/tests/unit/ai-enrichment/fallbacks.spec.js +30 -0
- package/dist/tests/unit/core/omit-internal-implementation.spec.js +21 -0
- package/dist/tests/unit/output/git-context.spec.d.ts +1 -0
- package/dist/tests/unit/output/git-context.spec.js +79 -0
- package/dist/vendor/scanner/dist/src/analyzers/python/python-detection-config.d.ts +11 -0
- package/dist/vendor/scanner/dist/src/analyzers/python/python-detection-config.js +2 -0
- package/dist/vendor/scanner/dist/src/analyzers/registry.d.ts +2 -0
- package/dist/vendor/scanner/dist/src/analyzers/registry.js +3 -2
- package/dist/vendor/scanner/dist/src/analyzers/typescript/typescript-detection-config.d.ts +17 -0
- package/dist/vendor/scanner/dist/src/analyzers/typescript/typescript-detection-config.js +11 -0
- package/dist/vendor/scanner/dist/src/classifier/component-factory.js +33 -3
- package/dist/vendor/scanner/dist/src/classifier/enhance.js +14 -0
- package/dist/vendor/scanner/dist/src/classifier/external-url-third-party.d.ts +8 -0
- package/dist/vendor/scanner/dist/src/classifier/external-url-third-party.js +43 -2
- package/dist/vendor/scanner/dist/src/classifier/postprocessing.js +4 -1
- package/dist/vendor/scanner/dist/src/config/third-party-detection-config.d.ts +41 -0
- package/dist/vendor/scanner/dist/src/config/third-party-detection-config.js +65 -1
- package/dist/vendor/scanner/dist/src/core/pipeline/diagram-layout/constants.d.ts +2 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/diagram-layout/constants.js +3 -1
- package/dist/vendor/scanner/dist/src/core/pipeline/diagram-layout/section-packing.d.ts +9 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/diagram-layout/section-packing.js +40 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/graph-mapping.js +2 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/structural-scan.js +2 -0
- package/dist/vendor/scanner/dist/src/eval/canonical/scanner/components.d.ts +5 -0
- package/dist/vendor/scanner/dist/src/eval/canonical/scanner/components.js +10 -2
- package/dist/vendor/scanner/dist/src/eval/canonical/scanner/data-flows.js +4 -4
- package/dist/vendor/scanner/dist/src/patterns/config.js +7 -1
- package/dist/vendor/scanner/dist/src/patterns/detectors/git-remote-owner.d.ts +14 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/git-remote-owner.js +108 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python-outbound-http.d.ts +93 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python-outbound-http.js +1206 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python-source.d.ts +180 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python-source.js +1022 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python.d.ts +6 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/python.js +49 -1
- package/dist/vendor/scanner/dist/src/patterns/detectors/repo-declared-domains.d.ts +2 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/repo-declared-domains.js +80 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/source-module-index.d.ts +23 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/source-module-index.js +145 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/typescript-outbound-http.d.ts +30 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/typescript-outbound-http.js +575 -0
- package/dist/vendor/scanner/dist/src/patterns/detectors/typescript.js +12 -0
- package/dist/vendor/scanner/dist/src/patterns/engine.js +6 -1
- package/dist/vendor/scanner/patterns/classifier/third-party.classifier.yaml +188 -0
- package/dist/vendor/scanner/patterns/python.patterns.yaml +10 -0
- package/dist/vendor/scanner/patterns/third-party.patterns.yaml +246 -0
- package/dist/vendor/scanner/patterns/typescript.patterns.yaml +21 -0
- package/package.json +3 -3
|
@@ -192,3 +192,191 @@ third_parties:
|
|
|
192
192
|
- "sentry_sdk"
|
|
193
193
|
type: third_party
|
|
194
194
|
subType: saas_service
|
|
195
|
+
|
|
196
|
+
# Raw-HTTP destinations (DATAP-818). Python request calls name these services from the
|
|
197
|
+
# resolved URL host; url_routes in third-party.patterns.yaml split graph.facebook.com.
|
|
198
|
+
- serviceName: x
|
|
199
|
+
matchKeys:
|
|
200
|
+
- "api.x.com"
|
|
201
|
+
type: third_party
|
|
202
|
+
subType: saas_service
|
|
203
|
+
|
|
204
|
+
- serviceName: whatsapp
|
|
205
|
+
matchKeys:
|
|
206
|
+
- whatsapp
|
|
207
|
+
type: third_party
|
|
208
|
+
subType: messaging
|
|
209
|
+
|
|
210
|
+
- serviceName: facebook_messenger
|
|
211
|
+
matchKeys:
|
|
212
|
+
- facebook_messenger
|
|
213
|
+
type: third_party
|
|
214
|
+
subType: messaging
|
|
215
|
+
|
|
216
|
+
- serviceName: facebook_graph
|
|
217
|
+
matchKeys:
|
|
218
|
+
- "graph.facebook.com"
|
|
219
|
+
type: third_party
|
|
220
|
+
subType: saas_service
|
|
221
|
+
|
|
222
|
+
- serviceName: meta_conversions_api
|
|
223
|
+
matchKeys:
|
|
224
|
+
- meta_conversions_api
|
|
225
|
+
type: third_party
|
|
226
|
+
subType: analytics
|
|
227
|
+
|
|
228
|
+
- serviceName: instagram
|
|
229
|
+
matchKeys:
|
|
230
|
+
- "graph.instagram.com"
|
|
231
|
+
- "api.instagram.com"
|
|
232
|
+
- "instagram.com"
|
|
233
|
+
type: third_party
|
|
234
|
+
subType: saas_service
|
|
235
|
+
|
|
236
|
+
- serviceName: linkedin
|
|
237
|
+
matchKeys:
|
|
238
|
+
- "api.linkedin.com"
|
|
239
|
+
type: third_party
|
|
240
|
+
subType: saas_service
|
|
241
|
+
|
|
242
|
+
- serviceName: reddit
|
|
243
|
+
matchKeys:
|
|
244
|
+
- "reddit.com"
|
|
245
|
+
type: third_party
|
|
246
|
+
subType: saas_service
|
|
247
|
+
|
|
248
|
+
- serviceName: crisp
|
|
249
|
+
matchKeys:
|
|
250
|
+
- "api.crisp.chat"
|
|
251
|
+
type: third_party
|
|
252
|
+
subType: messaging
|
|
253
|
+
|
|
254
|
+
- serviceName: telegram
|
|
255
|
+
matchKeys:
|
|
256
|
+
- "api.telegram.org"
|
|
257
|
+
type: third_party
|
|
258
|
+
subType: messaging
|
|
259
|
+
|
|
260
|
+
- serviceName: google_analytics
|
|
261
|
+
matchKeys:
|
|
262
|
+
- "google-analytics.com"
|
|
263
|
+
type: third_party
|
|
264
|
+
subType: analytics
|
|
265
|
+
|
|
266
|
+
- serviceName: make
|
|
267
|
+
matchKeys:
|
|
268
|
+
- ".make.com"
|
|
269
|
+
type: third_party
|
|
270
|
+
subType: saas_service
|
|
271
|
+
|
|
272
|
+
- serviceName: shopify
|
|
273
|
+
matchKeys:
|
|
274
|
+
- "myshopify.com"
|
|
275
|
+
type: third_party
|
|
276
|
+
subType: saas_service
|
|
277
|
+
|
|
278
|
+
- serviceName: cerebras
|
|
279
|
+
matchKeys:
|
|
280
|
+
- "api.cerebras.ai"
|
|
281
|
+
type: third_party
|
|
282
|
+
subType: ai_provider
|
|
283
|
+
|
|
284
|
+
- serviceName: arize_phoenix
|
|
285
|
+
matchKeys:
|
|
286
|
+
- "phoenix.arize.com"
|
|
287
|
+
type: third_party
|
|
288
|
+
subType: monitoring
|
|
289
|
+
|
|
290
|
+
- serviceName: groq
|
|
291
|
+
matchKeys:
|
|
292
|
+
- "api.groq.com"
|
|
293
|
+
type: third_party
|
|
294
|
+
subType: ai_provider
|
|
295
|
+
|
|
296
|
+
- serviceName: together_ai
|
|
297
|
+
matchKeys:
|
|
298
|
+
- "api.together.xyz"
|
|
299
|
+
- "api.together.ai"
|
|
300
|
+
type: third_party
|
|
301
|
+
subType: ai_provider
|
|
302
|
+
|
|
303
|
+
- serviceName: perplexity
|
|
304
|
+
matchKeys:
|
|
305
|
+
- "api.perplexity.ai"
|
|
306
|
+
type: third_party
|
|
307
|
+
subType: ai_provider
|
|
308
|
+
|
|
309
|
+
- serviceName: firecrawl
|
|
310
|
+
matchKeys:
|
|
311
|
+
- "api.firecrawl.dev"
|
|
312
|
+
type: third_party
|
|
313
|
+
subType: saas_service
|
|
314
|
+
|
|
315
|
+
- serviceName: tavus
|
|
316
|
+
matchKeys:
|
|
317
|
+
- "tavusapi.com"
|
|
318
|
+
type: third_party
|
|
319
|
+
subType: ai_provider
|
|
320
|
+
|
|
321
|
+
- serviceName: discord
|
|
322
|
+
matchKeys:
|
|
323
|
+
- "discord.com/api"
|
|
324
|
+
- "discordapp.com"
|
|
325
|
+
type: third_party
|
|
326
|
+
subType: messaging
|
|
327
|
+
|
|
328
|
+
- serviceName: mistral
|
|
329
|
+
matchKeys:
|
|
330
|
+
- "api.mistral.ai"
|
|
331
|
+
type: third_party
|
|
332
|
+
subType: ai_provider
|
|
333
|
+
|
|
334
|
+
- serviceName: airtable
|
|
335
|
+
matchKeys:
|
|
336
|
+
- "api.airtable.com"
|
|
337
|
+
type: third_party
|
|
338
|
+
subType: saas_service
|
|
339
|
+
|
|
340
|
+
- serviceName: hubspot
|
|
341
|
+
matchKeys:
|
|
342
|
+
- "api.hubapi.com"
|
|
343
|
+
type: third_party
|
|
344
|
+
subType: crm
|
|
345
|
+
|
|
346
|
+
- serviceName: slack
|
|
347
|
+
matchKeys:
|
|
348
|
+
- "hooks.slack.com"
|
|
349
|
+
- "slack.com/api"
|
|
350
|
+
type: third_party
|
|
351
|
+
subType: messaging
|
|
352
|
+
|
|
353
|
+
- serviceName: gmail
|
|
354
|
+
matchKeys:
|
|
355
|
+
- "gmail.googleapis.com"
|
|
356
|
+
type: third_party
|
|
357
|
+
subType: email_provider
|
|
358
|
+
|
|
359
|
+
- serviceName: google_drive
|
|
360
|
+
matchKeys:
|
|
361
|
+
- "www.googleapis.com/drive"
|
|
362
|
+
- "drive.googleapis.com"
|
|
363
|
+
type: third_party
|
|
364
|
+
subType: saas_service
|
|
365
|
+
|
|
366
|
+
- serviceName: google_sheets
|
|
367
|
+
matchKeys:
|
|
368
|
+
- "sheets.googleapis.com"
|
|
369
|
+
type: third_party
|
|
370
|
+
subType: saas_service
|
|
371
|
+
|
|
372
|
+
- serviceName: google_calendar
|
|
373
|
+
matchKeys:
|
|
374
|
+
- "www.googleapis.com/calendar"
|
|
375
|
+
type: third_party
|
|
376
|
+
subType: saas_service
|
|
377
|
+
|
|
378
|
+
- serviceName: google_docs
|
|
379
|
+
matchKeys:
|
|
380
|
+
- "docs.googleapis.com"
|
|
381
|
+
type: third_party
|
|
382
|
+
subType: saas_service
|
|
@@ -186,6 +186,8 @@ auth:
|
|
|
186
186
|
- '"Authorization"'
|
|
187
187
|
- "Authorization\\s*:\\s*['\"]Bearer"
|
|
188
188
|
strategy: bearer_token
|
|
189
|
+
# Not reported when the header is sent on an outbound request (DATAP-818).
|
|
190
|
+
outgoingHeader: true
|
|
189
191
|
confidence: 0.7
|
|
190
192
|
|
|
191
193
|
- id: oauth2
|
|
@@ -313,6 +315,9 @@ external_apis:
|
|
|
313
315
|
clientName: requests
|
|
314
316
|
importModules:
|
|
315
317
|
- requests
|
|
318
|
+
clientConstructors:
|
|
319
|
+
- Session
|
|
320
|
+
- session
|
|
316
321
|
urlRegex: "['\\\"](https?:\\/\\/[^\\s'\\\"]+)['\\\"]"
|
|
317
322
|
confidence: 0.85
|
|
318
323
|
|
|
@@ -321,6 +326,9 @@ external_apis:
|
|
|
321
326
|
clientName: httpx
|
|
322
327
|
importModules:
|
|
323
328
|
- httpx
|
|
329
|
+
clientConstructors:
|
|
330
|
+
- Client
|
|
331
|
+
- AsyncClient
|
|
324
332
|
urlRegex: "['\\\"](https?:\\/\\/[^\\s'\\\"]+)['\\\"]"
|
|
325
333
|
confidence: 0.85
|
|
326
334
|
|
|
@@ -329,6 +337,8 @@ external_apis:
|
|
|
329
337
|
clientName: aiohttp
|
|
330
338
|
importModules:
|
|
331
339
|
- aiohttp
|
|
340
|
+
clientConstructors:
|
|
341
|
+
- ClientSession
|
|
332
342
|
urlRegex: "['\\\"](https?:\\/\\/[^\\s'\\\"]+)['\\\"]"
|
|
333
343
|
confidence: 0.85
|
|
334
344
|
|
|
@@ -47,6 +47,12 @@ services:
|
|
|
47
47
|
url_host_patterns:
|
|
48
48
|
- twilio.com
|
|
49
49
|
- api.twilio.com
|
|
50
|
+
# X API v2. Listed before twitter so api.x.com resolves to x.
|
|
51
|
+
- serviceName: x
|
|
52
|
+
patternId: external_api_call
|
|
53
|
+
confidence: 0.85
|
|
54
|
+
url_host_patterns:
|
|
55
|
+
- api.x.com
|
|
50
56
|
- serviceName: twitter
|
|
51
57
|
patternId: external_api_call
|
|
52
58
|
importFragments:
|
|
@@ -204,3 +210,243 @@ services:
|
|
|
204
210
|
url_host_patterns:
|
|
205
211
|
- sentry.io
|
|
206
212
|
- ingest.sentry.io
|
|
213
|
+
|
|
214
|
+
# Raw-HTTP destinations without an SDK import (DATAP-818). Python request calls
|
|
215
|
+
# resolve their URL in the same file and match these hosts.
|
|
216
|
+
- serviceName: instagram
|
|
217
|
+
patternId: external_api_call
|
|
218
|
+
confidence: 0.85
|
|
219
|
+
url_host_patterns:
|
|
220
|
+
- graph.instagram.com
|
|
221
|
+
- api.instagram.com
|
|
222
|
+
- instagram.com
|
|
223
|
+
- serviceName: linkedin
|
|
224
|
+
patternId: external_api_call
|
|
225
|
+
confidence: 0.85
|
|
226
|
+
url_host_patterns:
|
|
227
|
+
- api.linkedin.com
|
|
228
|
+
- www.linkedin.com
|
|
229
|
+
- serviceName: reddit
|
|
230
|
+
patternId: external_api_call
|
|
231
|
+
confidence: 0.85
|
|
232
|
+
url_host_patterns:
|
|
233
|
+
- reddit.com
|
|
234
|
+
- serviceName: crisp
|
|
235
|
+
patternId: external_api_call
|
|
236
|
+
confidence: 0.85
|
|
237
|
+
url_host_patterns:
|
|
238
|
+
- api.crisp.chat
|
|
239
|
+
- serviceName: telegram
|
|
240
|
+
patternId: external_api_call
|
|
241
|
+
confidence: 0.85
|
|
242
|
+
url_host_patterns:
|
|
243
|
+
- api.telegram.org
|
|
244
|
+
- serviceName: google_analytics
|
|
245
|
+
patternId: external_api_call
|
|
246
|
+
confidence: 0.85
|
|
247
|
+
url_host_patterns:
|
|
248
|
+
- google-analytics.com
|
|
249
|
+
- serviceName: make
|
|
250
|
+
patternId: external_api_call
|
|
251
|
+
confidence: 0.85
|
|
252
|
+
url_host_patterns:
|
|
253
|
+
- hook.eu1.make.com
|
|
254
|
+
- hook.eu2.make.com
|
|
255
|
+
- hook.us1.make.com
|
|
256
|
+
- hook.us2.make.com
|
|
257
|
+
- serviceName: shopify
|
|
258
|
+
patternId: external_api_call
|
|
259
|
+
confidence: 0.85
|
|
260
|
+
url_host_patterns:
|
|
261
|
+
- myshopify.com
|
|
262
|
+
- serviceName: cerebras
|
|
263
|
+
patternId: external_api_call
|
|
264
|
+
confidence: 0.85
|
|
265
|
+
url_host_patterns:
|
|
266
|
+
- api.cerebras.ai
|
|
267
|
+
- serviceName: arize_phoenix
|
|
268
|
+
patternId: external_api_call
|
|
269
|
+
importFragments:
|
|
270
|
+
- phoenix.otel
|
|
271
|
+
confidence: 0.85
|
|
272
|
+
url_host_patterns:
|
|
273
|
+
- phoenix.arize.com
|
|
274
|
+
- serviceName: groq
|
|
275
|
+
patternId: external_api_call
|
|
276
|
+
confidence: 0.85
|
|
277
|
+
url_host_patterns:
|
|
278
|
+
- api.groq.com
|
|
279
|
+
- serviceName: together_ai
|
|
280
|
+
patternId: external_api_call
|
|
281
|
+
confidence: 0.85
|
|
282
|
+
url_host_patterns:
|
|
283
|
+
- api.together.xyz
|
|
284
|
+
- api.together.ai
|
|
285
|
+
|
|
286
|
+
- serviceName: perplexity
|
|
287
|
+
patternId: external_api_call
|
|
288
|
+
confidence: 0.85
|
|
289
|
+
url_host_patterns:
|
|
290
|
+
- api.perplexity.ai
|
|
291
|
+
- serviceName: firecrawl
|
|
292
|
+
patternId: external_api_call
|
|
293
|
+
confidence: 0.85
|
|
294
|
+
url_host_patterns:
|
|
295
|
+
- api.firecrawl.dev
|
|
296
|
+
- serviceName: tavus
|
|
297
|
+
patternId: external_api_call
|
|
298
|
+
confidence: 0.85
|
|
299
|
+
url_host_patterns:
|
|
300
|
+
- tavusapi.com
|
|
301
|
+
- serviceName: discord
|
|
302
|
+
patternId: external_api_call
|
|
303
|
+
confidence: 0.85
|
|
304
|
+
url_host_patterns:
|
|
305
|
+
- discord.com
|
|
306
|
+
- discordapp.com
|
|
307
|
+
- serviceName: mistral
|
|
308
|
+
patternId: external_api_call
|
|
309
|
+
confidence: 0.85
|
|
310
|
+
url_host_patterns:
|
|
311
|
+
- api.mistral.ai
|
|
312
|
+
- serviceName: airtable
|
|
313
|
+
patternId: external_api_call
|
|
314
|
+
confidence: 0.85
|
|
315
|
+
url_host_patterns:
|
|
316
|
+
- api.airtable.com
|
|
317
|
+
- serviceName: hubspot
|
|
318
|
+
patternId: external_api_call
|
|
319
|
+
confidence: 0.85
|
|
320
|
+
url_host_patterns:
|
|
321
|
+
- api.hubapi.com
|
|
322
|
+
- serviceName: slack
|
|
323
|
+
patternId: external_api_call
|
|
324
|
+
confidence: 0.85
|
|
325
|
+
url_host_patterns:
|
|
326
|
+
- hooks.slack.com
|
|
327
|
+
- slack.com
|
|
328
|
+
|
|
329
|
+
# url_routes: hosts that serve several products. Rules run in order; the first rule whose
|
|
330
|
+
# `path` (URL path, no query) and `hint` (file path, class, function and URL expression of
|
|
331
|
+
# the calling code) both match names the service. A rule's subType overrides the catalog one.
|
|
332
|
+
url_routes:
|
|
333
|
+
- host: graph.facebook.com
|
|
334
|
+
rules:
|
|
335
|
+
# Conversions API: POST /{pixel_id}/events.
|
|
336
|
+
- path: "/events/?$"
|
|
337
|
+
serviceName: meta_conversions_api
|
|
338
|
+
# Instagram content publishing: /{ig_user_id}/media and /media_publish.
|
|
339
|
+
- path: "/media(_publish)?/?$"
|
|
340
|
+
serviceName: instagram
|
|
341
|
+
subType: saas_service
|
|
342
|
+
# WhatsApp Cloud API calls go through the Graph host with a phone number id.
|
|
343
|
+
- hint: "whatsapp|phone_number_id|(^|[^a-z])wa_"
|
|
344
|
+
serviceName: whatsapp
|
|
345
|
+
- path: "/messages/?$"
|
|
346
|
+
hint: "instagram|(^|[^a-z])ig_"
|
|
347
|
+
serviceName: instagram
|
|
348
|
+
subType: messaging
|
|
349
|
+
- path: "/messages/?$"
|
|
350
|
+
serviceName: facebook_messenger
|
|
351
|
+
- serviceName: facebook_graph
|
|
352
|
+
|
|
353
|
+
# url_path_routes: URLs whose host is only known at runtime (`https://{self.domain}/api/mcp`).
|
|
354
|
+
# A rule names the service when the URL path matches `path` and the calling code or the
|
|
355
|
+
# class/module the URL was built in matches `hint`. Both are required: a path alone is
|
|
356
|
+
# too weak to name a vendor.
|
|
357
|
+
url_path_routes:
|
|
358
|
+
# Shopify Storefront MCP: every shop serves it at https://{shop}/api/mcp; the host is the
|
|
359
|
+
# merchant's domain, so only Shopify-named code (ShopifyStore, shopify_store.py) counts.
|
|
360
|
+
- path: "^/api/mcp/?$"
|
|
361
|
+
hint: "shopify"
|
|
362
|
+
serviceName: shopify
|
|
363
|
+
|
|
364
|
+
# llm_model_prefixes: LiteLLM routes `provider/model` to the provider. Only providers in the
|
|
365
|
+
# classifier catalog are listed.
|
|
366
|
+
llm_model_prefixes:
|
|
367
|
+
groq: groq
|
|
368
|
+
together_ai: together_ai
|
|
369
|
+
openrouter: openrouter
|
|
370
|
+
cerebras: cerebras
|
|
371
|
+
anthropic: anthropic
|
|
372
|
+
openai: openai
|
|
373
|
+
gemini: google_ai
|
|
374
|
+
vertex_ai: google_ai
|
|
375
|
+
bedrock: aws
|
|
376
|
+
sagemaker: aws
|
|
377
|
+
azure: azure
|
|
378
|
+
|
|
379
|
+
# google_api_services: googleapiclient.discovery.build("<api>", ...) names the Google
|
|
380
|
+
# product it calls. Keys are the discovery API names.
|
|
381
|
+
google_api_services:
|
|
382
|
+
gmail: gmail
|
|
383
|
+
drive: google_drive
|
|
384
|
+
sheets: google_sheets
|
|
385
|
+
calendar: google_calendar
|
|
386
|
+
docs: google_docs
|
|
387
|
+
|
|
388
|
+
# platform_hosts: shared hosting suffixes. A host on one of these is someone's own service
|
|
389
|
+
# (usually the scanned team's), never a vendor named after the platform label ("run", "web").
|
|
390
|
+
# Calls to them become outbound API assets with the platform recorded as metadata, named
|
|
391
|
+
# "<service> (<name>)": the first host label without project numbers or deploy hashes.
|
|
392
|
+
platform_hosts:
|
|
393
|
+
- pattern: "\\.run\\.app$"
|
|
394
|
+
platform: gcp/cloud_run
|
|
395
|
+
name: "Cloud Run"
|
|
396
|
+
- pattern: "\\.cloudfunctions\\.net$"
|
|
397
|
+
platform: gcp/cloud_functions
|
|
398
|
+
name: "Cloud Functions"
|
|
399
|
+
- pattern: "\\.appspot\\.com$"
|
|
400
|
+
platform: gcp/app_engine
|
|
401
|
+
name: "App Engine"
|
|
402
|
+
- pattern: "\\.web\\.app$|\\.firebaseapp\\.com$"
|
|
403
|
+
platform: gcp/firebase_hosting
|
|
404
|
+
name: "Firebase Hosting"
|
|
405
|
+
- pattern: "\\.azurewebsites\\.net$"
|
|
406
|
+
platform: azure/app_service
|
|
407
|
+
name: "Azure App Service"
|
|
408
|
+
- pattern: "\\.azurecontainerapps\\.io$"
|
|
409
|
+
platform: azure/container_apps
|
|
410
|
+
name: "Azure Container Apps"
|
|
411
|
+
- pattern: "\\.azure-api\\.net$"
|
|
412
|
+
platform: azure/api_management
|
|
413
|
+
name: "Azure API Management"
|
|
414
|
+
- pattern: "\\.herokuapp\\.com$"
|
|
415
|
+
platform: heroku
|
|
416
|
+
name: "Heroku"
|
|
417
|
+
- pattern: "\\.vercel\\.app$"
|
|
418
|
+
platform: vercel
|
|
419
|
+
name: "Vercel"
|
|
420
|
+
- pattern: "\\.netlify\\.app$"
|
|
421
|
+
platform: netlify
|
|
422
|
+
name: "Netlify"
|
|
423
|
+
- pattern: "\\.fly\\.dev$"
|
|
424
|
+
platform: fly
|
|
425
|
+
name: "Fly.io"
|
|
426
|
+
- pattern: "\\.onrender\\.com$"
|
|
427
|
+
platform: render
|
|
428
|
+
name: "Render"
|
|
429
|
+
- pattern: "\\.workers\\.dev$|\\.pages\\.dev$"
|
|
430
|
+
platform: cloudflare/workers
|
|
431
|
+
name: "Cloudflare Workers"
|
|
432
|
+
- pattern: "\\.up\\.railway\\.app$"
|
|
433
|
+
platform: railway
|
|
434
|
+
name: "Railway"
|
|
435
|
+
- pattern: "\\.execute-api\\.[a-z0-9-]+\\.amazonaws\\.com$"
|
|
436
|
+
platform: aws/api_gateway
|
|
437
|
+
name: "API Gateway"
|
|
438
|
+
- pattern: "\\.lambda-url\\.[a-z0-9-]+\\.on\\.aws$"
|
|
439
|
+
platform: aws/lambda_url
|
|
440
|
+
name: "Lambda URL"
|
|
441
|
+
- pattern: "\\.elasticbeanstalk\\.com$"
|
|
442
|
+
platform: aws/elastic_beanstalk
|
|
443
|
+
name: "Elastic Beanstalk"
|
|
444
|
+
- pattern: "\\.awsapprunner\\.com$"
|
|
445
|
+
platform: aws/app_runner
|
|
446
|
+
name: "App Runner"
|
|
447
|
+
- pattern: "\\.ngrok(-free)?\\.(app|io|dev)$"
|
|
448
|
+
platform: ngrok
|
|
449
|
+
name: "ngrok"
|
|
450
|
+
- pattern: "\\.github\\.io$"
|
|
451
|
+
platform: github_pages
|
|
452
|
+
name: "GitHub Pages"
|
|
@@ -257,6 +257,8 @@ serverless:
|
|
|
257
257
|
confidence: 0.9
|
|
258
258
|
|
|
259
259
|
external_apis:
|
|
260
|
+
# rawHttp: libraries whose request URLs the TS/JS AST detector resolves (DATAP-818). The
|
|
261
|
+
# global fetch() is always handled; these libraries are never destinations.
|
|
260
262
|
httpClients:
|
|
261
263
|
- id: grpc_client
|
|
262
264
|
patternId: external_api_call
|
|
@@ -279,6 +281,11 @@ external_apis:
|
|
|
279
281
|
- "\\baxios\\.(get|post|put|delete|patch|request)\\s*\\("
|
|
280
282
|
- "\\baxios\\.create\\s*\\("
|
|
281
283
|
confidence: 0.85
|
|
284
|
+
rawHttp:
|
|
285
|
+
modules: [axios]
|
|
286
|
+
callable: true
|
|
287
|
+
instanceFactories: [create]
|
|
288
|
+
baseUrlKeys: [baseURL]
|
|
282
289
|
|
|
283
290
|
- id: node_fetch
|
|
284
291
|
patternId: external_api_call
|
|
@@ -290,6 +297,10 @@ external_apis:
|
|
|
290
297
|
regexes:
|
|
291
298
|
- "\\bfetch\\s*\\("
|
|
292
299
|
confidence: 0.8
|
|
300
|
+
rawHttp:
|
|
301
|
+
modules: [node-fetch, cross-fetch, undici]
|
|
302
|
+
callable: true
|
|
303
|
+
namedFunctions: [fetch, request]
|
|
293
304
|
|
|
294
305
|
- id: got
|
|
295
306
|
patternId: external_api_call
|
|
@@ -300,6 +311,11 @@ external_apis:
|
|
|
300
311
|
- "\\bgot\\.(get|post|put|delete|patch)\\s*\\("
|
|
301
312
|
- "\\bgot\\.extend\\s*\\("
|
|
302
313
|
confidence: 0.85
|
|
314
|
+
rawHttp:
|
|
315
|
+
modules: [got]
|
|
316
|
+
callable: true
|
|
317
|
+
instanceFactories: [extend]
|
|
318
|
+
baseUrlKeys: [prefixUrl]
|
|
303
319
|
|
|
304
320
|
- id: ky
|
|
305
321
|
patternId: external_api_call
|
|
@@ -310,6 +326,11 @@ external_apis:
|
|
|
310
326
|
- "\\bky\\.(get|post|put|delete|patch)\\s*\\("
|
|
311
327
|
- "\\bky\\.create\\s*\\("
|
|
312
328
|
confidence: 0.8
|
|
329
|
+
rawHttp:
|
|
330
|
+
modules: [ky]
|
|
331
|
+
callable: true
|
|
332
|
+
instanceFactories: [create, extend]
|
|
333
|
+
baseUrlKeys: [prefixUrl]
|
|
313
334
|
|
|
314
335
|
config_loaders:
|
|
315
336
|
- id: dotenv
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataparade/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "dataPARADE CLI — scan codebases for privacy and security data flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@clack/prompts": "^1.8.1",
|
|
58
|
-
"@sentry/node": "^10.
|
|
58
|
+
"@sentry/node": "^10.75.2",
|
|
59
59
|
"commander": "^14.0.3",
|
|
60
60
|
"dotenv": "^16.4.7",
|
|
61
61
|
"langsmith": "^0.10.13",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"zod": "^4.3.5"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@dataparade/scanner": "github:DataParade-io/scanner#
|
|
69
|
+
"@dataparade/scanner": "github:DataParade-io/scanner#753bae46a97f90d52539694afb8e0bd9d0569d09",
|
|
70
70
|
"@eslint/js": "^9.18.0",
|
|
71
71
|
"@types/jest": "^30.0.0",
|
|
72
72
|
"@types/node": "^22.0.0",
|