@dataparade/cli 0.0.12 → 0.0.13
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 +5 -8
- package/dist/src/ai-enrichment/candidate-selector.d.ts +1 -1
- package/dist/src/ai-enrichment/fallbacks.d.ts +2 -2
- package/dist/src/ai-enrichment/fallbacks.js +97 -80
- package/dist/src/ai-enrichment/merge-rules.d.ts +2 -0
- package/dist/src/ai-enrichment/merge-rules.js +116 -4
- package/dist/src/ai-enrichment/non-pii-signal-rules.js +2 -6
- package/dist/src/ai-enrichment/openai-proposals-response.schema.d.ts +1 -1
- package/dist/src/ai-enrichment/pii-signal-rules.js +2 -6
- package/dist/src/ai-enrichment/prompts/provider-enrichment-prompts.d.ts +1 -1
- package/dist/src/ai-enrichment/prompts/provider-enrichment-prompts.js +1 -1
- package/dist/src/ai-enrichment/provider-prompt.d.ts +1 -1
- package/dist/src/ai-enrichment/provider-prompt.js +4 -0
- package/dist/src/ai-enrichment/provider-topology-rules.js +2 -6
- package/dist/src/ai-enrichment/providers/provider-contract.d.ts +6 -0
- package/dist/src/ai-enrichment/providers/provider-contract.js +62 -2
- package/dist/src/ai-enrichment/sensitive-paths.d.ts +1 -1
- package/dist/src/ai-enrichment/sensitive-paths.js +3 -3
- package/dist/src/ai-enrichment/third-party-data-flow.js +3 -3
- package/dist/src/ai-enrichment/third-party-subtype.js +2 -2
- package/dist/src/ai-enrichment/tools/index.d.ts +1 -1
- package/dist/src/ai-enrichment/types.d.ts +1 -1
- package/dist/src/cli.js +6 -5
- package/dist/src/config/file.d.ts +1 -1
- package/dist/src/config/file.js +21 -20
- package/dist/src/config/resolve.d.ts +1 -1
- package/dist/src/config/resolve.js +75 -69
- package/dist/src/core/pipeline/graph-mapping.d.ts +1 -6
- package/dist/src/core/pipeline/graph-mapping.js +3 -314
- package/dist/src/core/pipeline/orchestrator-result.d.ts +1 -6
- package/dist/src/core/pipeline/orchestrator.d.ts +2 -26
- package/dist/src/core/pipeline/orchestrator.js +4 -77
- package/dist/src/core/pipeline/scan-pipeline.d.ts +2 -1
- package/dist/src/core/pipeline/scan-pipeline.js +39 -97
- package/dist/src/core/schema/index.d.ts +2 -2
- package/dist/src/core/schema/index.js +4 -2
- package/dist/src/core/schema/scan-config.schema.d.ts +4 -3
- package/dist/src/core/schema/scan-config.schema.js +18 -17
- package/dist/src/core/schema/scan-result.schema.d.ts +2 -456
- package/dist/src/core/schema/scan-result.schema.js +12 -240
- package/dist/src/core/types/component.d.ts +1 -18
- package/dist/src/core/types/component.js +15 -0
- package/dist/src/core/types/config.d.ts +1 -64
- package/dist/src/core/types/config.js +15 -0
- package/dist/src/core/types/data-flow.d.ts +1 -24
- package/dist/src/core/types/data-flow.js +15 -0
- package/dist/src/core/types/detection.d.ts +1 -12
- package/dist/src/core/types/detection.js +15 -17
- package/dist/src/core/types/file.d.ts +1 -14
- package/dist/src/core/types/file.js +15 -0
- package/dist/src/core/types/index.d.ts +1 -7
- package/dist/src/core/types/index.js +1 -7
- package/dist/src/core/types/progress.d.ts +1 -9
- package/dist/src/core/types/progress.js +15 -0
- package/dist/src/core/types/result.d.ts +1 -140
- package/dist/src/core/types/result.js +15 -0
- package/dist/src/evals/run-model-matrix.js +2 -1
- package/dist/src/platform-api/estimate-scan-footprint.js +9 -10
- package/dist/src/scanner-package-root.d.ts +2 -0
- package/dist/src/scanner-package-root.js +12 -0
- package/dist/tests/cli/cli.spec.js +18 -15
- package/dist/tests/unit/ai-enrichment/merge-rules.spec.js +246 -0
- package/dist/tests/unit/ai-enrichment/provider-contract.spec.js +78 -0
- package/dist/tests/unit/ai-enrichment/provider-prompt.spec.js +2 -0
- package/dist/tests/unit/ai-enrichment/third-party-data-flow.spec.js +2 -2
- package/dist/tests/unit/cli/scan-command-ai-flags.spec.js +5 -3
- package/dist/tests/unit/cli/scan-command-e2e-monorepo-app-plus-terraform.spec.js +2 -2
- package/dist/tests/unit/cli/scan-command-e2e-ts-sentry-route-env.spec.js +2 -1
- package/dist/tests/unit/cli/scan-command-exit-code.spec.js +7 -5
- package/dist/tests/unit/core/cpp-dotnet-scan.spec.js +4 -3
- package/dist/tests/unit/core/go-scan.spec.js +7 -6
- package/dist/tests/unit/core/graph-mapping.spec.js +2 -1
- package/dist/tests/unit/core/invariant-tests-dedupe-determinism.spec.js +7 -6
- package/dist/tests/unit/core/jvm-scan.spec.js +6 -5
- package/dist/tests/unit/core/no-source-code-leakage.spec.js +2 -1
- package/dist/tests/unit/core/orchestrator.spec.js +21 -20
- package/dist/tests/unit/core/output-json.spec.js +3 -2
- package/dist/tests/unit/core/parsing-error-handling-nonfatal.spec.js +2 -1
- package/dist/tests/unit/core/scan-result-language-stats.spec.js +2 -1
- package/dist/tests/unit/core/terraform-json-overlay.spec.js +2 -1
- package/dist/tests/unit/publish-manifest.spec.js +3 -2
- package/package.json +5 -8
- package/dist/src/analyzers/cpp/cpp-detection-config.d.ts +0 -73
- package/dist/src/analyzers/cpp/cpp-detection-config.js +0 -137
- package/dist/src/analyzers/cpp/dependency-manifests.d.ts +0 -8
- package/dist/src/analyzers/cpp/dependency-manifests.js +0 -130
- package/dist/src/analyzers/cpp/detector.d.ts +0 -3
- package/dist/src/analyzers/cpp/detector.js +0 -21
- package/dist/src/analyzers/cpp/index.d.ts +0 -2
- package/dist/src/analyzers/cpp/index.js +0 -11
- package/dist/src/analyzers/cpp/manifest-parsers.d.ts +0 -13
- package/dist/src/analyzers/cpp/manifest-parsers.js +0 -104
- package/dist/src/analyzers/cpp/parser.d.ts +0 -35
- package/dist/src/analyzers/cpp/parser.js +0 -206
- package/dist/src/analyzers/cpp/patterns.d.ts +0 -3
- package/dist/src/analyzers/cpp/patterns.js +0 -37
- package/dist/src/analyzers/csharp/csharp-detection-config.d.ts +0 -100
- package/dist/src/analyzers/csharp/csharp-detection-config.js +0 -160
- package/dist/src/analyzers/csharp/dependency-manifests.d.ts +0 -13
- package/dist/src/analyzers/csharp/dependency-manifests.js +0 -184
- package/dist/src/analyzers/csharp/detector.d.ts +0 -3
- package/dist/src/analyzers/csharp/detector.js +0 -21
- package/dist/src/analyzers/csharp/index.d.ts +0 -2
- package/dist/src/analyzers/csharp/index.js +0 -11
- package/dist/src/analyzers/csharp/manifest-parsers.d.ts +0 -34
- package/dist/src/analyzers/csharp/manifest-parsers.js +0 -130
- package/dist/src/analyzers/csharp/parser.d.ts +0 -48
- package/dist/src/analyzers/csharp/parser.js +0 -277
- package/dist/src/analyzers/csharp/patterns.d.ts +0 -3
- package/dist/src/analyzers/csharp/patterns.js +0 -57
- package/dist/src/analyzers/go/dependency-manifests.d.ts +0 -10
- package/dist/src/analyzers/go/dependency-manifests.js +0 -117
- package/dist/src/analyzers/go/detector.d.ts +0 -3
- package/dist/src/analyzers/go/detector.js +0 -21
- package/dist/src/analyzers/go/go-detection-config.d.ts +0 -97
- package/dist/src/analyzers/go/go-detection-config.js +0 -164
- package/dist/src/analyzers/go/index.d.ts +0 -2
- package/dist/src/analyzers/go/index.js +0 -11
- package/dist/src/analyzers/go/manifest-parsers.d.ts +0 -20
- package/dist/src/analyzers/go/manifest-parsers.js +0 -104
- package/dist/src/analyzers/go/parser.d.ts +0 -40
- package/dist/src/analyzers/go/parser.js +0 -186
- package/dist/src/analyzers/go/patterns.d.ts +0 -3
- package/dist/src/analyzers/go/patterns.js +0 -50
- package/dist/src/analyzers/jvm/dependency-manifests.d.ts +0 -16
- package/dist/src/analyzers/jvm/dependency-manifests.js +0 -205
- package/dist/src/analyzers/jvm/detector.d.ts +0 -3
- package/dist/src/analyzers/jvm/detector.js +0 -21
- package/dist/src/analyzers/jvm/index.d.ts +0 -9
- package/dist/src/analyzers/jvm/index.js +0 -18
- package/dist/src/analyzers/jvm/jvm-detection-config.d.ts +0 -136
- package/dist/src/analyzers/jvm/jvm-detection-config.js +0 -195
- package/dist/src/analyzers/jvm/manifest-parsers.d.ts +0 -61
- package/dist/src/analyzers/jvm/manifest-parsers.js +0 -246
- package/dist/src/analyzers/jvm/parser.d.ts +0 -54
- package/dist/src/analyzers/jvm/parser.js +0 -419
- package/dist/src/analyzers/jvm/patterns.d.ts +0 -3
- package/dist/src/analyzers/jvm/patterns.js +0 -64
- package/dist/src/analyzers/php/dependency-manifests.d.ts +0 -10
- package/dist/src/analyzers/php/dependency-manifests.js +0 -117
- package/dist/src/analyzers/php/detector.d.ts +0 -3
- package/dist/src/analyzers/php/detector.js +0 -20
- package/dist/src/analyzers/php/index.d.ts +0 -2
- package/dist/src/analyzers/php/index.js +0 -11
- package/dist/src/analyzers/php/manifest-parsers.d.ts +0 -14
- package/dist/src/analyzers/php/manifest-parsers.js +0 -40
- package/dist/src/analyzers/php/parser.d.ts +0 -42
- package/dist/src/analyzers/php/parser.js +0 -297
- package/dist/src/analyzers/php/patterns.d.ts +0 -3
- package/dist/src/analyzers/php/patterns.js +0 -49
- package/dist/src/analyzers/php/php-detection-config.d.ts +0 -104
- package/dist/src/analyzers/php/php-detection-config.js +0 -192
- package/dist/src/analyzers/python/dependency-manifests.d.ts +0 -8
- package/dist/src/analyzers/python/dependency-manifests.js +0 -131
- package/dist/src/analyzers/python/detector.d.ts +0 -3
- package/dist/src/analyzers/python/detector.js +0 -22
- package/dist/src/analyzers/python/index.d.ts +0 -2
- package/dist/src/analyzers/python/index.js +0 -11
- package/dist/src/analyzers/python/manifest-parsers.d.ts +0 -3
- package/dist/src/analyzers/python/manifest-parsers.js +0 -134
- package/dist/src/analyzers/python/parser.d.ts +0 -27
- package/dist/src/analyzers/python/parser.js +0 -194
- package/dist/src/analyzers/python/patterns.d.ts +0 -8
- package/dist/src/analyzers/python/patterns.js +0 -51
- package/dist/src/analyzers/python/python-detection-config.d.ts +0 -93
- package/dist/src/analyzers/python/python-detection-config.js +0 -168
- package/dist/src/analyzers/registry.d.ts +0 -13
- package/dist/src/analyzers/registry.js +0 -78
- package/dist/src/analyzers/shared/c-family-calls.d.ts +0 -26
- package/dist/src/analyzers/shared/c-family-calls.js +0 -118
- package/dist/src/analyzers/shared/manifest-budgets.d.ts +0 -19
- package/dist/src/analyzers/shared/manifest-budgets.js +0 -21
- package/dist/src/analyzers/shared/manifest-fs.d.ts +0 -13
- package/dist/src/analyzers/shared/manifest-fs.js +0 -138
- package/dist/src/analyzers/shared/property-inference.d.ts +0 -8
- package/dist/src/analyzers/shared/property-inference.js +0 -165
- package/dist/src/analyzers/shared/strip-comments.d.ts +0 -32
- package/dist/src/analyzers/shared/strip-comments.js +0 -168
- package/dist/src/analyzers/terraform/detector.d.ts +0 -10
- package/dist/src/analyzers/terraform/detector.js +0 -198
- package/dist/src/analyzers/terraform/index.d.ts +0 -2
- package/dist/src/analyzers/terraform/index.js +0 -13
- package/dist/src/analyzers/terraform/parser.d.ts +0 -29
- package/dist/src/analyzers/terraform/parser.js +0 -202
- package/dist/src/analyzers/terraform/terraform-detection-config.d.ts +0 -48
- package/dist/src/analyzers/terraform/terraform-detection-config.js +0 -218
- package/dist/src/analyzers/terraform/terraform-exec.d.ts +0 -11
- package/dist/src/analyzers/terraform/terraform-exec.js +0 -35
- package/dist/src/analyzers/terraform/terraform-module-manifest.d.ts +0 -19
- package/dist/src/analyzers/terraform/terraform-module-manifest.js +0 -75
- package/dist/src/analyzers/terraform/terraform-show-json.d.ts +0 -15
- package/dist/src/analyzers/terraform/terraform-show-json.js +0 -188
- package/dist/src/analyzers/terraform/terraform-utility-resource.d.ts +0 -12
- package/dist/src/analyzers/terraform/terraform-utility-resource.js +0 -30
- package/dist/src/analyzers/types.d.ts +0 -5
- package/dist/src/analyzers/types.js +0 -2
- package/dist/src/analyzers/typescript/actor-detection.d.ts +0 -4
- package/dist/src/analyzers/typescript/actor-detection.js +0 -15
- package/dist/src/analyzers/typescript/dependency-manifests.d.ts +0 -9
- package/dist/src/analyzers/typescript/dependency-manifests.js +0 -131
- package/dist/src/analyzers/typescript/detector.d.ts +0 -3
- package/dist/src/analyzers/typescript/detector.js +0 -23
- package/dist/src/analyzers/typescript/index.d.ts +0 -2
- package/dist/src/analyzers/typescript/index.js +0 -11
- package/dist/src/analyzers/typescript/manifest-parsers.d.ts +0 -1
- package/dist/src/analyzers/typescript/manifest-parsers.js +0 -30
- package/dist/src/analyzers/typescript/parser.d.ts +0 -44
- package/dist/src/analyzers/typescript/parser.js +0 -287
- package/dist/src/analyzers/typescript/third-party-detection.d.ts +0 -4
- package/dist/src/analyzers/typescript/third-party-detection.js +0 -16
- package/dist/src/analyzers/typescript/typescript-detection-config.d.ts +0 -105
- package/dist/src/analyzers/typescript/typescript-detection-config.js +0 -219
- package/dist/src/analyzers/typescript/typescript-detection.d.ts +0 -11
- package/dist/src/analyzers/typescript/typescript-detection.js +0 -55
- package/dist/src/classifier/application-injection.d.ts +0 -12
- package/dist/src/classifier/application-injection.js +0 -335
- package/dist/src/classifier/classify.d.ts +0 -3
- package/dist/src/classifier/classify.js +0 -15
- package/dist/src/classifier/component-factory.d.ts +0 -3
- package/dist/src/classifier/component-factory.js +0 -488
- package/dist/src/classifier/config.d.ts +0 -38
- package/dist/src/classifier/config.js +0 -260
- package/dist/src/classifier/enhance-defaults.d.ts +0 -28
- package/dist/src/classifier/enhance-defaults.js +0 -369
- package/dist/src/classifier/enhance.d.ts +0 -13
- package/dist/src/classifier/enhance.js +0 -295
- package/dist/src/classifier/external-url-third-party.d.ts +0 -26
- package/dist/src/classifier/external-url-third-party.js +0 -195
- package/dist/src/classifier/grouping.d.ts +0 -1
- package/dist/src/classifier/grouping.js +0 -2
- package/dist/src/classifier/main-application-selection.d.ts +0 -41
- package/dist/src/classifier/main-application-selection.js +0 -222
- package/dist/src/classifier/naming.d.ts +0 -4
- package/dist/src/classifier/naming.js +0 -78
- package/dist/src/classifier/postprocessing.d.ts +0 -18
- package/dist/src/classifier/postprocessing.js +0 -565
- package/dist/src/classifier/sectioning.d.ts +0 -5
- package/dist/src/classifier/sectioning.js +0 -60
- package/dist/src/classifier/terraform-provider-hub.d.ts +0 -6
- package/dist/src/classifier/terraform-provider-hub.js +0 -38
- package/dist/src/config/actor-detection-config.d.ts +0 -21
- package/dist/src/config/actor-detection-config.js +0 -97
- package/dist/src/config/property-detection-config.d.ts +0 -27
- package/dist/src/config/property-detection-config.js +0 -355
- package/dist/src/config/third-party-detection-config.d.ts +0 -25
- package/dist/src/config/third-party-detection-config.js +0 -97
- package/dist/src/core/pipeline/classifier-phase.d.ts +0 -7
- package/dist/src/core/pipeline/classifier-phase.js +0 -78
- package/dist/src/core/pipeline/dataflow-phase.d.ts +0 -7
- package/dist/src/core/pipeline/dataflow-phase.js +0 -10
- package/dist/src/core/pipeline/diagram-layout/app-section-layout.d.ts +0 -7
- package/dist/src/core/pipeline/diagram-layout/app-section-layout.js +0 -74
- package/dist/src/core/pipeline/diagram-layout/constants.d.ts +0 -11
- package/dist/src/core/pipeline/diagram-layout/constants.js +0 -14
- package/dist/src/core/pipeline/diagram-layout/edge-handles.d.ts +0 -3
- package/dist/src/core/pipeline/diagram-layout/edge-handles.js +0 -26
- package/dist/src/core/pipeline/diagram-layout/managed-provider-layout.d.ts +0 -3
- package/dist/src/core/pipeline/diagram-layout/managed-provider-layout.js +0 -40
- package/dist/src/core/pipeline/diagram-layout/minimal-terraform-layout.d.ts +0 -6
- package/dist/src/core/pipeline/diagram-layout/minimal-terraform-layout.js +0 -53
- package/dist/src/core/pipeline/diagram-layout/section-helpers.d.ts +0 -30
- package/dist/src/core/pipeline/diagram-layout/section-helpers.js +0 -62
- package/dist/src/core/pipeline/diagram-layout/terraform-lane-layout.d.ts +0 -3
- package/dist/src/core/pipeline/diagram-layout/terraform-lane-layout.js +0 -109
- package/dist/src/core/pipeline/diagram-layout/types.d.ts +0 -2
- package/dist/src/core/pipeline/diagram-layout/types.js +0 -2
- package/dist/src/core/pipeline/infer-data-flow-protocol.d.ts +0 -7
- package/dist/src/core/pipeline/infer-data-flow-protocol.js +0 -39
- package/dist/src/core/pipeline/mixed-app-terraform-scan.d.ts +0 -13
- package/dist/src/core/pipeline/mixed-app-terraform-scan.js +0 -81
- package/dist/src/core/pipeline/resolve-path-under-scan-root.d.ts +0 -7
- package/dist/src/core/pipeline/resolve-path-under-scan-root.js +0 -55
- package/dist/src/core/pipeline/sorting.d.ts +0 -3
- package/dist/src/core/pipeline/sorting.js +0 -48
- package/dist/src/core/pipeline/stable-component-ids.d.ts +0 -15
- package/dist/src/core/pipeline/stable-component-ids.js +0 -68
- package/dist/src/core/pipeline/structural-scan.d.ts +0 -19
- package/dist/src/core/pipeline/structural-scan.js +0 -452
- package/dist/src/core/pipeline/terraform-flow-utils.d.ts +0 -6
- package/dist/src/core/pipeline/terraform-flow-utils.js +0 -32
- package/dist/src/core/pipeline/terraform-minimal-services.d.ts +0 -31
- package/dist/src/core/pipeline/terraform-minimal-services.js +0 -225
- package/dist/src/core/sectioning/discover-service-sections.d.ts +0 -80
- package/dist/src/core/sectioning/discover-service-sections.js +0 -497
- package/dist/src/core/sectioning/section-runtime.d.ts +0 -21
- package/dist/src/core/sectioning/section-runtime.js +0 -148
- package/dist/src/core/terraform/component-predicates.d.ts +0 -13
- package/dist/src/core/terraform/component-predicates.js +0 -71
- package/dist/src/data-flow/application-hub.d.ts +0 -7
- package/dist/src/data-flow/application-hub.js +0 -88
- package/dist/src/data-flow/dedupe.d.ts +0 -7
- package/dist/src/data-flow/dedupe.js +0 -92
- package/dist/src/data-flow/detect.d.ts +0 -16
- package/dist/src/data-flow/detect.js +0 -203
- package/dist/src/data-flow/detector.d.ts +0 -15
- package/dist/src/data-flow/detector.js +0 -18
- package/dist/src/data-flow/drop-cross-section-flows.d.ts +0 -8
- package/dist/src/data-flow/drop-cross-section-flows.js +0 -32
- package/dist/src/data-flow/ensure-actor-flow.d.ts +0 -16
- package/dist/src/data-flow/ensure-actor-flow.js +0 -101
- package/dist/src/data-flow/ensure-manifest-declared-flows.d.ts +0 -14
- package/dist/src/data-flow/ensure-manifest-declared-flows.js +0 -76
- package/dist/src/data-flow/ensure-section-api-flows.d.ts +0 -6
- package/dist/src/data-flow/ensure-section-api-flows.js +0 -57
- package/dist/src/data-flow/flow-builder.d.ts +0 -5
- package/dist/src/data-flow/flow-builder.js +0 -80
- package/dist/src/data-flow/import-graph.d.ts +0 -10
- package/dist/src/data-flow/import-graph.js +0 -147
- package/dist/src/data-flow/index.d.ts +0 -8
- package/dist/src/data-flow/index.js +0 -20
- package/dist/src/data-flow/internal-fetch.d.ts +0 -8
- package/dist/src/data-flow/internal-fetch.js +0 -209
- package/dist/src/data-flow/postprocess.d.ts +0 -9
- package/dist/src/data-flow/postprocess.js +0 -63
- package/dist/src/data-flow/rewire.d.ts +0 -10
- package/dist/src/data-flow/rewire.js +0 -93
- package/dist/src/data-flow/source-attribution.d.ts +0 -8
- package/dist/src/data-flow/source-attribution.js +0 -131
- package/dist/src/data-flow/source-resolution.d.ts +0 -13
- package/dist/src/data-flow/source-resolution.js +0 -61
- package/dist/src/data-flow/target-matching.d.ts +0 -21
- package/dist/src/data-flow/target-matching.js +0 -253
- package/dist/src/data-flow/terraform-flows.d.ts +0 -32
- package/dist/src/data-flow/terraform-flows.js +0 -170
- package/dist/src/ingest/file-system.d.ts +0 -17
- package/dist/src/ingest/file-system.js +0 -269
- package/dist/src/ingest/gitignore.d.ts +0 -12
- package/dist/src/ingest/gitignore.js +0 -127
- package/dist/src/ingest/sensitive-paths.d.ts +0 -2
- package/dist/src/ingest/sensitive-paths.js +0 -8
- package/dist/src/patterns/config.d.ts +0 -32
- package/dist/src/patterns/config.js +0 -286
- package/dist/src/patterns/detectors/cpp.d.ts +0 -8
- package/dist/src/patterns/detectors/cpp.js +0 -243
- package/dist/src/patterns/detectors/csharp.d.ts +0 -9
- package/dist/src/patterns/detectors/csharp.js +0 -385
- package/dist/src/patterns/detectors/go.d.ts +0 -9
- package/dist/src/patterns/detectors/go.js +0 -298
- package/dist/src/patterns/detectors/helpers.d.ts +0 -22
- package/dist/src/patterns/detectors/helpers.js +0 -73
- package/dist/src/patterns/detectors/jvm.d.ts +0 -15
- package/dist/src/patterns/detectors/jvm.js +0 -537
- package/dist/src/patterns/detectors/php.d.ts +0 -9
- package/dist/src/patterns/detectors/php.js +0 -466
- package/dist/src/patterns/detectors/python.d.ts +0 -9
- package/dist/src/patterns/detectors/python.js +0 -499
- package/dist/src/patterns/detectors/typescript.d.ts +0 -10
- package/dist/src/patterns/detectors/typescript.js +0 -480
- package/dist/src/patterns/engine.d.ts +0 -58
- package/dist/src/patterns/engine.js +0 -148
- package/dist/src/patterns/flow-source-patterns.d.ts +0 -6
- package/dist/src/patterns/flow-source-patterns.js +0 -39
- package/dist/src/patterns/frontend-frameworks.d.ts +0 -4
- package/dist/src/patterns/frontend-frameworks.js +0 -25
- package/dist/src/patterns/scan-exclusions.d.ts +0 -14
- package/dist/src/patterns/scan-exclusions.js +0 -96
- package/dist/tests/unit/analyzers/cpp/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/cpp/dependency-manifests.spec.js +0 -66
- package/dist/tests/unit/analyzers/cpp/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/cpp/parser.spec.js +0 -80
- package/dist/tests/unit/analyzers/cpp/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/cpp/patterns.spec.js +0 -141
- package/dist/tests/unit/analyzers/csharp/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/csharp/dependency-manifests.spec.js +0 -75
- package/dist/tests/unit/analyzers/csharp/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/csharp/parser.spec.js +0 -118
- package/dist/tests/unit/analyzers/csharp/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/csharp/patterns.spec.js +0 -210
- package/dist/tests/unit/analyzers/go/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/go/dependency-manifests.spec.js +0 -96
- package/dist/tests/unit/analyzers/go/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/go/parser.spec.js +0 -110
- package/dist/tests/unit/analyzers/go/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/go/patterns.spec.js +0 -239
- package/dist/tests/unit/analyzers/jvm/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/jvm/dependency-manifests.spec.js +0 -179
- package/dist/tests/unit/analyzers/jvm/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/jvm/parser.spec.js +0 -195
- package/dist/tests/unit/analyzers/jvm/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/jvm/patterns.spec.js +0 -284
- package/dist/tests/unit/analyzers/php/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/php/dependency-manifests.spec.js +0 -54
- package/dist/tests/unit/analyzers/php/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/php/parser.spec.js +0 -128
- package/dist/tests/unit/analyzers/php/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/php/patterns.spec.js +0 -334
- package/dist/tests/unit/analyzers/python/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/python/parser.spec.js +0 -104
- package/dist/tests/unit/analyzers/python/patterns.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/python/patterns.spec.js +0 -458
- package/dist/tests/unit/analyzers/registry.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/registry.spec.js +0 -234
- package/dist/tests/unit/analyzers/terraform/classifier-subtype-parity.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/classifier-subtype-parity.spec.js +0 -87
- package/dist/tests/unit/analyzers/terraform/detector.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/detector.spec.js +0 -110
- package/dist/tests/unit/analyzers/terraform/generated-provider-hints.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/generated-provider-hints.spec.js +0 -53
- package/dist/tests/unit/analyzers/terraform/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/parser.spec.js +0 -56
- package/dist/tests/unit/analyzers/terraform/terraform-module-manifest.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/terraform-module-manifest.spec.js +0 -63
- package/dist/tests/unit/analyzers/terraform/terraform-utility-resource.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform/terraform-utility-resource.spec.js +0 -19
- package/dist/tests/unit/analyzers/terraform-exec.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform-exec.spec.js +0 -27
- package/dist/tests/unit/analyzers/terraform-show-json.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/terraform-show-json.spec.js +0 -77
- package/dist/tests/unit/analyzers/typescript/dependency-manifests.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/dependency-manifests.spec.js +0 -61
- package/dist/tests/unit/analyzers/typescript/detector.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/detector.spec.js +0 -413
- package/dist/tests/unit/analyzers/typescript/external-apis-auth0.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/external-apis-auth0.spec.js +0 -49
- package/dist/tests/unit/analyzers/typescript/external-apis-sentry.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/external-apis-sentry.spec.js +0 -27
- package/dist/tests/unit/analyzers/typescript/fixture-integration.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/fixture-integration.spec.js +0 -64
- package/dist/tests/unit/analyzers/typescript/parser.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/parser.spec.js +0 -99
- package/dist/tests/unit/analyzers/typescript/pattern-config.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/pattern-config.spec.js +0 -24
- package/dist/tests/unit/analyzers/typescript/property-detection.spec.d.ts +0 -1
- package/dist/tests/unit/analyzers/typescript/property-detection.spec.js +0 -160
- package/dist/tests/unit/classifier/classify.spec.d.ts +0 -1
- package/dist/tests/unit/classifier/classify.spec.js +0 -1521
- package/dist/tests/unit/classifier/enhance.spec.d.ts +0 -1
- package/dist/tests/unit/classifier/enhance.spec.js +0 -400
- package/dist/tests/unit/classifier/external-url-third-party.spec.d.ts +0 -1
- package/dist/tests/unit/classifier/external-url-third-party.spec.js +0 -83
- package/dist/tests/unit/classifier/frontend-framework-grouping.spec.d.ts +0 -1
- package/dist/tests/unit/classifier/frontend-framework-grouping.spec.js +0 -44
- package/dist/tests/unit/classifier/terraform-grouping.spec.d.ts +0 -1
- package/dist/tests/unit/classifier/terraform-grouping.spec.js +0 -96
- package/dist/tests/unit/config/property-detection-config.spec.d.ts +0 -1
- package/dist/tests/unit/config/property-detection-config.spec.js +0 -38
- package/dist/tests/unit/core/classifier-phase-regressions.spec.d.ts +0 -1
- package/dist/tests/unit/core/classifier-phase-regressions.spec.js +0 -68
- package/dist/tests/unit/core/cpp-dotnet-sections.spec.d.ts +0 -1
- package/dist/tests/unit/core/cpp-dotnet-sections.spec.js +0 -46
- package/dist/tests/unit/core/dependency-manifest-performance-budgets.spec.d.ts +0 -1
- package/dist/tests/unit/core/dependency-manifest-performance-budgets.spec.js +0 -66
- package/dist/tests/unit/core/dependency-manifest-toggles-confidence.spec.d.ts +0 -1
- package/dist/tests/unit/core/dependency-manifest-toggles-confidence.spec.js +0 -132
- package/dist/tests/unit/core/discover-service-sections.spec.d.ts +0 -1
- package/dist/tests/unit/core/discover-service-sections.spec.js +0 -204
- package/dist/tests/unit/core/infer-data-flow-protocol.spec.d.ts +0 -1
- package/dist/tests/unit/core/infer-data-flow-protocol.spec.js +0 -37
- package/dist/tests/unit/core/manifest-package-hub.spec.d.ts +0 -1
- package/dist/tests/unit/core/manifest-package-hub.spec.js +0 -53
- package/dist/tests/unit/core/monorepo-package-sections.spec.d.ts +0 -1
- package/dist/tests/unit/core/monorepo-package-sections.spec.js +0 -121
- package/dist/tests/unit/core/resolve-path-under-scan-root.spec.d.ts +0 -1
- package/dist/tests/unit/core/resolve-path-under-scan-root.spec.js +0 -54
- package/dist/tests/unit/core/section-discovery-excludes.spec.d.ts +0 -1
- package/dist/tests/unit/core/section-discovery-excludes.spec.js +0 -49
- package/dist/tests/unit/core/section-runtime.spec.d.ts +0 -1
- package/dist/tests/unit/core/section-runtime.spec.js +0 -166
- package/dist/tests/unit/core/stable-component-ids.spec.d.ts +0 -1
- package/dist/tests/unit/core/stable-component-ids.spec.js +0 -112
- package/dist/tests/unit/core/structural-scan.spec.d.ts +0 -1
- package/dist/tests/unit/core/structural-scan.spec.js +0 -83
- package/dist/tests/unit/core/terraform-minimal-services.spec.d.ts +0 -1
- package/dist/tests/unit/core/terraform-minimal-services.spec.js +0 -378
- package/dist/tests/unit/data-flow/application-hub.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/application-hub.spec.js +0 -48
- package/dist/tests/unit/data-flow/cross-section-terraform-bridge.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/cross-section-terraform-bridge.spec.js +0 -95
- package/dist/tests/unit/data-flow/dedupe.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/dedupe.spec.js +0 -134
- package/dist/tests/unit/data-flow/detector.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/detector.spec.js +0 -1254
- package/dist/tests/unit/data-flow/drop-cross-section-flows.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/drop-cross-section-flows.spec.js +0 -132
- package/dist/tests/unit/data-flow/ensure-actor-flow.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/ensure-actor-flow.spec.js +0 -233
- package/dist/tests/unit/data-flow/ensure-manifest-declared-flows.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/ensure-manifest-declared-flows.spec.js +0 -125
- package/dist/tests/unit/data-flow/ensure-section-api-flows.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/ensure-section-api-flows.spec.js +0 -40
- package/dist/tests/unit/data-flow/postprocess.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/postprocess.spec.js +0 -78
- package/dist/tests/unit/data-flow/rewire.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/rewire.spec.js +0 -194
- package/dist/tests/unit/data-flow/terraform-flows.spec.d.ts +0 -1
- package/dist/tests/unit/data-flow/terraform-flows.spec.js +0 -199
- package/dist/tests/unit/ingest/cpp-dotnet-languages.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/cpp-dotnet-languages.spec.js +0 -56
- package/dist/tests/unit/ingest/env-exclusion.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/env-exclusion.spec.js +0 -43
- package/dist/tests/unit/ingest/file-system.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/file-system.spec.js +0 -180
- package/dist/tests/unit/ingest/gitignore.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/gitignore.spec.js +0 -30
- package/dist/tests/unit/ingest/jvm-languages.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/jvm-languages.spec.js +0 -47
- package/dist/tests/unit/ingest/php-languages.spec.d.ts +0 -1
- package/dist/tests/unit/ingest/php-languages.spec.js +0 -40
- package/dist/tests/unit/patterns/scan-exclusions.spec.d.ts +0 -1
- package/dist/tests/unit/patterns/scan-exclusions.spec.js +0 -58
- package/patterns/README.md +0 -322
- package/patterns/actor.patterns.yaml +0 -51
- package/patterns/aws-terraform-catalog.snapshot.json +0 -1760
- package/patterns/aws-terraform-service-hints.generated.json +0 -1446
- package/patterns/azure-terraform-catalog.snapshot.json +0 -1195
- package/patterns/azure-terraform-service-hints.generated.json +0 -864
- package/patterns/classifier/actors.classifier.yaml +0 -17
- package/patterns/classifier/components.classifier.yaml +0 -110
- package/patterns/classifier/third-party.classifier.yaml +0 -169
- package/patterns/cpp.md +0 -176
- package/patterns/cpp.patterns.yaml +0 -314
- package/patterns/csharp.md +0 -211
- package/patterns/csharp.patterns.yaml +0 -375
- package/patterns/go.md +0 -211
- package/patterns/go.patterns.yaml +0 -429
- package/patterns/jvm.md +0 -160
- package/patterns/jvm.patterns.yaml +0 -884
- package/patterns/kubernetes-terraform-catalog.snapshot.json +0 -94
- package/patterns/kubernetes-terraform-service-hints.generated.json +0 -258
- package/patterns/non-pii-signals.rules.yaml +0 -84
- package/patterns/php.md +0 -74
- package/patterns/php.patterns.yaml +0 -311
- package/patterns/pii-signals.rules.yaml +0 -115
- package/patterns/property.patterns.yaml +0 -431
- package/patterns/provider-topology.rules.yaml +0 -765
- package/patterns/python.md +0 -211
- package/patterns/python.patterns.yaml +0 -337
- package/patterns/terraform.md +0 -37
- package/patterns/terraform.patterns.yaml +0 -495
- package/patterns/third-party.patterns.yaml +0 -182
- package/patterns/typescript.patterns.yaml +0 -361
|
@@ -1,884 +0,0 @@
|
|
|
1
|
-
# JVM (Java + Kotlin) pattern config. All entries share: patternId, optional
|
|
2
|
-
# confidence (default 0.8).
|
|
3
|
-
#
|
|
4
|
-
# One config serves both languages: Java and Kotlin share the JVM package
|
|
5
|
-
# namespace, the Maven/Gradle coordinate space, the Spring/Jakarta annotation
|
|
6
|
-
# vocabulary, and JDBC. Rules that are genuinely Kotlin-only (Ktor, Exposed)
|
|
7
|
-
# are gated by their import package like any other framework.
|
|
8
|
-
#
|
|
9
|
-
# Two distinct token spaces, unlike Go:
|
|
10
|
-
# `importPackages` — what appears in an `import` statement
|
|
11
|
-
# (`org.springframework.web.bind.annotation`).
|
|
12
|
-
# Matched exactly or as a package prefix, so
|
|
13
|
-
# `org.springframework.data` also covers
|
|
14
|
-
# `org.springframework.data.jpa.repository`.
|
|
15
|
-
# `packageCoordinates` — Maven/Gradle `groupId:artifactId` as written in
|
|
16
|
-
# `pom.xml` / `build.gradle`
|
|
17
|
-
# (`org.springframework.boot:spring-boot-starter-web`).
|
|
18
|
-
# Matched exactly, or by groupId prefix when the
|
|
19
|
-
# entry has no `:`.
|
|
20
|
-
# The two rarely coincide on the JVM, which is why both exist — the same
|
|
21
|
-
# split C++ needed for `packageNames` vs. header paths.
|
|
22
|
-
|
|
23
|
-
db_clients:
|
|
24
|
-
# --- JDBC drivers -------------------------------------------------------
|
|
25
|
-
# A driver on the classpath is strong evidence of the engine even when the
|
|
26
|
-
# connection itself is opened through a pool or an ORM.
|
|
27
|
-
- id: postgresql_jdbc
|
|
28
|
-
patternId: database_connection
|
|
29
|
-
databaseType: postgres
|
|
30
|
-
importPackages:
|
|
31
|
-
- org.postgresql
|
|
32
|
-
packageCoordinates:
|
|
33
|
-
- org.postgresql:postgresql
|
|
34
|
-
- org.postgresql:r2dbc-postgresql
|
|
35
|
-
confidence: 0.9
|
|
36
|
-
|
|
37
|
-
- id: mysql_jdbc
|
|
38
|
-
patternId: database_connection
|
|
39
|
-
databaseType: mysql
|
|
40
|
-
importPackages:
|
|
41
|
-
- com.mysql
|
|
42
|
-
packageCoordinates:
|
|
43
|
-
- mysql:mysql-connector-java
|
|
44
|
-
- com.mysql:mysql-connector-j
|
|
45
|
-
confidence: 0.9
|
|
46
|
-
|
|
47
|
-
- id: mariadb_jdbc
|
|
48
|
-
patternId: database_connection
|
|
49
|
-
databaseType: mariadb
|
|
50
|
-
importPackages:
|
|
51
|
-
- org.mariadb.jdbc
|
|
52
|
-
packageCoordinates:
|
|
53
|
-
- org.mariadb.jdbc:mariadb-java-client
|
|
54
|
-
confidence: 0.9
|
|
55
|
-
|
|
56
|
-
- id: sqlite_jdbc
|
|
57
|
-
patternId: database_connection
|
|
58
|
-
databaseType: sqlite
|
|
59
|
-
importPackages:
|
|
60
|
-
- org.sqlite
|
|
61
|
-
packageCoordinates:
|
|
62
|
-
- org.xerial:sqlite-jdbc
|
|
63
|
-
confidence: 0.9
|
|
64
|
-
|
|
65
|
-
- id: sqlserver_jdbc
|
|
66
|
-
patternId: database_connection
|
|
67
|
-
databaseType: mssql
|
|
68
|
-
importPackages:
|
|
69
|
-
- com.microsoft.sqlserver
|
|
70
|
-
packageCoordinates:
|
|
71
|
-
- com.microsoft.sqlserver:mssql-jdbc
|
|
72
|
-
confidence: 0.9
|
|
73
|
-
|
|
74
|
-
- id: oracle_jdbc
|
|
75
|
-
patternId: database_connection
|
|
76
|
-
databaseType: oracle
|
|
77
|
-
importPackages:
|
|
78
|
-
- oracle.jdbc
|
|
79
|
-
packageCoordinates:
|
|
80
|
-
- com.oracle.database.jdbc
|
|
81
|
-
confidence: 0.9
|
|
82
|
-
|
|
83
|
-
- id: h2_jdbc
|
|
84
|
-
patternId: database_connection
|
|
85
|
-
databaseType: h2
|
|
86
|
-
importPackages:
|
|
87
|
-
- org.h2
|
|
88
|
-
packageCoordinates:
|
|
89
|
-
- com.h2database:h2
|
|
90
|
-
confidence: 0.85
|
|
91
|
-
|
|
92
|
-
- id: clickhouse_jdbc
|
|
93
|
-
patternId: database_connection
|
|
94
|
-
databaseType: clickhouse
|
|
95
|
-
importPackages:
|
|
96
|
-
- com.clickhouse
|
|
97
|
-
- ru.yandex.clickhouse
|
|
98
|
-
packageCoordinates:
|
|
99
|
-
- com.clickhouse
|
|
100
|
-
confidence: 0.85
|
|
101
|
-
|
|
102
|
-
- id: snowflake_jdbc
|
|
103
|
-
patternId: database_connection
|
|
104
|
-
databaseType: snowflake
|
|
105
|
-
importPackages:
|
|
106
|
-
- net.snowflake.client
|
|
107
|
-
packageCoordinates:
|
|
108
|
-
- net.snowflake:snowflake-jdbc
|
|
109
|
-
confidence: 0.85
|
|
110
|
-
|
|
111
|
-
# --- Connection pools ---------------------------------------------------
|
|
112
|
-
- id: hikaricp
|
|
113
|
-
patternId: database_connection
|
|
114
|
-
databaseType: sql
|
|
115
|
-
importPackages:
|
|
116
|
-
- com.zaxxer.hikari
|
|
117
|
-
packageCoordinates:
|
|
118
|
-
- com.zaxxer:HikariCP
|
|
119
|
-
callNames:
|
|
120
|
-
- HikariConfig
|
|
121
|
-
- HikariDataSource
|
|
122
|
-
confidence: 0.8
|
|
123
|
-
|
|
124
|
-
# --- ORMs and data-access layers ---------------------------------------
|
|
125
|
-
- id: spring_data_jpa
|
|
126
|
-
patternId: database_connection
|
|
127
|
-
databaseType: sql
|
|
128
|
-
importPackages:
|
|
129
|
-
- org.springframework.data.jpa
|
|
130
|
-
- jakarta.persistence
|
|
131
|
-
- javax.persistence
|
|
132
|
-
packageCoordinates:
|
|
133
|
-
- org.springframework.boot:spring-boot-starter-data-jpa
|
|
134
|
-
- org.springframework.data:spring-data-jpa
|
|
135
|
-
annotationNames:
|
|
136
|
-
- Entity
|
|
137
|
-
- Table
|
|
138
|
-
- Repository
|
|
139
|
-
- EnableJpaRepositories
|
|
140
|
-
confidence: 0.85
|
|
141
|
-
|
|
142
|
-
- id: hibernate
|
|
143
|
-
patternId: database_connection
|
|
144
|
-
databaseType: sql
|
|
145
|
-
importPackages:
|
|
146
|
-
- org.hibernate
|
|
147
|
-
packageCoordinates:
|
|
148
|
-
- org.hibernate
|
|
149
|
-
- org.hibernate.orm
|
|
150
|
-
callNames:
|
|
151
|
-
- Persistence.createEntityManagerFactory
|
|
152
|
-
- sessionFactory.openSession
|
|
153
|
-
confidence: 0.85
|
|
154
|
-
|
|
155
|
-
- id: spring_jdbc_template
|
|
156
|
-
patternId: database_connection
|
|
157
|
-
databaseType: sql
|
|
158
|
-
importPackages:
|
|
159
|
-
- org.springframework.jdbc
|
|
160
|
-
packageCoordinates:
|
|
161
|
-
- org.springframework.boot:spring-boot-starter-jdbc
|
|
162
|
-
- org.springframework:spring-jdbc
|
|
163
|
-
callNames:
|
|
164
|
-
- JdbcTemplate
|
|
165
|
-
- NamedParameterJdbcTemplate
|
|
166
|
-
- JdbcClient.create
|
|
167
|
-
confidence: 0.85
|
|
168
|
-
|
|
169
|
-
- id: jooq
|
|
170
|
-
patternId: database_connection
|
|
171
|
-
databaseType: sql
|
|
172
|
-
importPackages:
|
|
173
|
-
- org.jooq
|
|
174
|
-
packageCoordinates:
|
|
175
|
-
- org.jooq:jooq
|
|
176
|
-
callNames:
|
|
177
|
-
- DSL.using
|
|
178
|
-
confidence: 0.85
|
|
179
|
-
|
|
180
|
-
- id: mybatis
|
|
181
|
-
patternId: database_connection
|
|
182
|
-
databaseType: sql
|
|
183
|
-
importPackages:
|
|
184
|
-
- org.apache.ibatis
|
|
185
|
-
- org.mybatis
|
|
186
|
-
packageCoordinates:
|
|
187
|
-
- org.mybatis
|
|
188
|
-
annotationNames:
|
|
189
|
-
- Mapper
|
|
190
|
-
confidence: 0.85
|
|
191
|
-
|
|
192
|
-
- id: exposed
|
|
193
|
-
patternId: database_connection
|
|
194
|
-
databaseType: sql
|
|
195
|
-
importPackages:
|
|
196
|
-
- org.jetbrains.exposed
|
|
197
|
-
packageCoordinates:
|
|
198
|
-
- org.jetbrains.exposed
|
|
199
|
-
callNames:
|
|
200
|
-
- Database.connect
|
|
201
|
-
confidence: 0.9
|
|
202
|
-
|
|
203
|
-
- id: r2dbc
|
|
204
|
-
patternId: database_connection
|
|
205
|
-
databaseType: sql
|
|
206
|
-
importPackages:
|
|
207
|
-
- io.r2dbc
|
|
208
|
-
- org.springframework.data.r2dbc
|
|
209
|
-
packageCoordinates:
|
|
210
|
-
- io.r2dbc
|
|
211
|
-
- org.springframework.boot:spring-boot-starter-data-r2dbc
|
|
212
|
-
callNames:
|
|
213
|
-
- ConnectionFactories.get
|
|
214
|
-
confidence: 0.85
|
|
215
|
-
|
|
216
|
-
# --- Non-relational -----------------------------------------------------
|
|
217
|
-
- id: mongodb_java
|
|
218
|
-
patternId: database_connection
|
|
219
|
-
databaseType: mongodb
|
|
220
|
-
importPackages:
|
|
221
|
-
- com.mongodb
|
|
222
|
-
- org.springframework.data.mongodb
|
|
223
|
-
packageCoordinates:
|
|
224
|
-
- org.mongodb
|
|
225
|
-
- org.springframework.boot:spring-boot-starter-data-mongodb
|
|
226
|
-
callNames:
|
|
227
|
-
- MongoClients.create
|
|
228
|
-
- MongoClient
|
|
229
|
-
confidence: 0.9
|
|
230
|
-
|
|
231
|
-
- id: jedis
|
|
232
|
-
patternId: database_connection
|
|
233
|
-
databaseType: redis
|
|
234
|
-
importPackages:
|
|
235
|
-
- redis.clients.jedis
|
|
236
|
-
packageCoordinates:
|
|
237
|
-
- redis.clients:jedis
|
|
238
|
-
callNames:
|
|
239
|
-
- JedisPool
|
|
240
|
-
- JedisPooled
|
|
241
|
-
- Jedis
|
|
242
|
-
confidence: 0.9
|
|
243
|
-
|
|
244
|
-
- id: lettuce
|
|
245
|
-
patternId: database_connection
|
|
246
|
-
databaseType: redis
|
|
247
|
-
importPackages:
|
|
248
|
-
- io.lettuce.core
|
|
249
|
-
packageCoordinates:
|
|
250
|
-
- io.lettuce:lettuce-core
|
|
251
|
-
callNames:
|
|
252
|
-
- RedisClient.create
|
|
253
|
-
confidence: 0.9
|
|
254
|
-
|
|
255
|
-
- id: spring_data_redis
|
|
256
|
-
patternId: database_connection
|
|
257
|
-
databaseType: redis
|
|
258
|
-
importPackages:
|
|
259
|
-
- org.springframework.data.redis
|
|
260
|
-
packageCoordinates:
|
|
261
|
-
- org.springframework.boot:spring-boot-starter-data-redis
|
|
262
|
-
callNames:
|
|
263
|
-
- RedisTemplate
|
|
264
|
-
- StringRedisTemplate
|
|
265
|
-
confidence: 0.9
|
|
266
|
-
|
|
267
|
-
- id: cassandra_java
|
|
268
|
-
patternId: database_connection
|
|
269
|
-
databaseType: cassandra
|
|
270
|
-
importPackages:
|
|
271
|
-
- com.datastax.oss.driver
|
|
272
|
-
- com.datastax.driver
|
|
273
|
-
- org.springframework.data.cassandra
|
|
274
|
-
packageCoordinates:
|
|
275
|
-
- com.datastax.oss
|
|
276
|
-
- org.springframework.boot:spring-boot-starter-data-cassandra
|
|
277
|
-
callNames:
|
|
278
|
-
- CqlSession.builder
|
|
279
|
-
confidence: 0.85
|
|
280
|
-
|
|
281
|
-
- id: elasticsearch_java
|
|
282
|
-
patternId: database_connection
|
|
283
|
-
databaseType: elasticsearch
|
|
284
|
-
importPackages:
|
|
285
|
-
- co.elastic.clients
|
|
286
|
-
- org.elasticsearch.client
|
|
287
|
-
- org.opensearch.client
|
|
288
|
-
packageCoordinates:
|
|
289
|
-
- co.elastic.clients:elasticsearch-java
|
|
290
|
-
- org.elasticsearch.client
|
|
291
|
-
confidence: 0.85
|
|
292
|
-
|
|
293
|
-
- id: dynamodb_java
|
|
294
|
-
patternId: database_connection
|
|
295
|
-
databaseType: dynamodb
|
|
296
|
-
importPackages:
|
|
297
|
-
- software.amazon.awssdk.services.dynamodb
|
|
298
|
-
- com.amazonaws.services.dynamodbv2
|
|
299
|
-
packageCoordinates:
|
|
300
|
-
- software.amazon.awssdk:dynamodb
|
|
301
|
-
- software.amazon.awssdk:dynamodb-enhanced
|
|
302
|
-
confidence: 0.85
|
|
303
|
-
|
|
304
|
-
- id: neo4j_java
|
|
305
|
-
patternId: database_connection
|
|
306
|
-
databaseType: neo4j
|
|
307
|
-
importPackages:
|
|
308
|
-
- org.neo4j.driver
|
|
309
|
-
- org.springframework.data.neo4j
|
|
310
|
-
packageCoordinates:
|
|
311
|
-
- org.neo4j.driver:neo4j-java-driver
|
|
312
|
-
callNames:
|
|
313
|
-
- GraphDatabase.driver
|
|
314
|
-
confidence: 0.85
|
|
315
|
-
|
|
316
|
-
# JVM-specific: JDBC is engine-agnostic at the API level, and the concrete
|
|
317
|
-
# engine is named in the URL sub-protocol — `jdbc:postgresql://host/db`. This
|
|
318
|
-
# is the JVM analogue of Go's `sql.Open` driver argument: without reading it,
|
|
319
|
-
# every JDBC database collapses into one generic SQL node.
|
|
320
|
-
#
|
|
321
|
-
# The same rule runs over `application.properties` / `application.yml` during
|
|
322
|
-
# manifest scanning, which is where Spring services usually declare the URL.
|
|
323
|
-
jdbc_url:
|
|
324
|
-
patternId: database_connection
|
|
325
|
-
regex: 'jdbc:([a-z0-9]+):'
|
|
326
|
-
name: jdbc
|
|
327
|
-
confidence: 0.9
|
|
328
|
-
drivers:
|
|
329
|
-
postgresql: postgres
|
|
330
|
-
postgres: postgres
|
|
331
|
-
mysql: mysql
|
|
332
|
-
mariadb: mariadb
|
|
333
|
-
sqlite: sqlite
|
|
334
|
-
sqlserver: mssql
|
|
335
|
-
jtds: mssql
|
|
336
|
-
oracle: oracle
|
|
337
|
-
h2: h2
|
|
338
|
-
hsqldb: hsqldb
|
|
339
|
-
db2: db2
|
|
340
|
-
clickhouse: clickhouse
|
|
341
|
-
snowflake: snowflake
|
|
342
|
-
redshift: redshift
|
|
343
|
-
presto: presto
|
|
344
|
-
trino: trino
|
|
345
|
-
# Not JDBC sub-protocols. Spring declares these engines as plain URIs
|
|
346
|
-
# (`spring.data.mongodb.uri=mongodb://…`), and the manifest scanner
|
|
347
|
-
# resolves them against this same table.
|
|
348
|
-
mongodb: mongodb
|
|
349
|
-
redis: redis
|
|
350
|
-
rediss: redis
|
|
351
|
-
cassandra: cassandra
|
|
352
|
-
elasticsearch: elasticsearch
|
|
353
|
-
opensearch: elasticsearch
|
|
354
|
-
neo4j: neo4j
|
|
355
|
-
bolt: neo4j
|
|
356
|
-
defaultDatabaseType: sql
|
|
357
|
-
|
|
358
|
-
auth:
|
|
359
|
-
libraries:
|
|
360
|
-
- id: spring_security
|
|
361
|
-
patternId: auth_middleware
|
|
362
|
-
importPackages:
|
|
363
|
-
- org.springframework.security
|
|
364
|
-
packageCoordinates:
|
|
365
|
-
- org.springframework.boot:spring-boot-starter-security
|
|
366
|
-
- org.springframework.security
|
|
367
|
-
callNames:
|
|
368
|
-
- SecurityFilterChain
|
|
369
|
-
- HttpSecurity
|
|
370
|
-
- AuthenticationManager
|
|
371
|
-
strategy: spring_security
|
|
372
|
-
confidence: 0.9
|
|
373
|
-
|
|
374
|
-
- id: jjwt
|
|
375
|
-
patternId: auth_middleware
|
|
376
|
-
importPackages:
|
|
377
|
-
- io.jsonwebtoken
|
|
378
|
-
packageCoordinates:
|
|
379
|
-
- io.jsonwebtoken
|
|
380
|
-
callNames:
|
|
381
|
-
- Jwts.builder
|
|
382
|
-
- Jwts.parser
|
|
383
|
-
- Jwts.parserBuilder
|
|
384
|
-
strategy: jwt
|
|
385
|
-
confidence: 0.9
|
|
386
|
-
|
|
387
|
-
- id: java_jwt
|
|
388
|
-
patternId: auth_middleware
|
|
389
|
-
importPackages:
|
|
390
|
-
- com.auth0.jwt
|
|
391
|
-
packageCoordinates:
|
|
392
|
-
- com.auth0:java-jwt
|
|
393
|
-
callNames:
|
|
394
|
-
- JWT.create
|
|
395
|
-
- JWT.require
|
|
396
|
-
- JWT.decode
|
|
397
|
-
strategy: jwt
|
|
398
|
-
confidence: 0.9
|
|
399
|
-
|
|
400
|
-
- id: nimbus_jose_jwt
|
|
401
|
-
patternId: auth_middleware
|
|
402
|
-
importPackages:
|
|
403
|
-
- com.nimbusds.jwt
|
|
404
|
-
- com.nimbusds.jose
|
|
405
|
-
packageCoordinates:
|
|
406
|
-
- com.nimbusds:nimbus-jose-jwt
|
|
407
|
-
strategy: jwt
|
|
408
|
-
confidence: 0.85
|
|
409
|
-
|
|
410
|
-
- id: spring_oauth2
|
|
411
|
-
patternId: auth_middleware
|
|
412
|
-
importPackages:
|
|
413
|
-
- org.springframework.security.oauth2
|
|
414
|
-
packageCoordinates:
|
|
415
|
-
- org.springframework.boot:spring-boot-starter-oauth2-client
|
|
416
|
-
- org.springframework.boot:spring-boot-starter-oauth2-resource-server
|
|
417
|
-
strategy: oauth2
|
|
418
|
-
confidence: 0.9
|
|
419
|
-
|
|
420
|
-
- id: keycloak
|
|
421
|
-
patternId: auth_middleware
|
|
422
|
-
importPackages:
|
|
423
|
-
- org.keycloak
|
|
424
|
-
packageCoordinates:
|
|
425
|
-
- org.keycloak
|
|
426
|
-
strategy: keycloak
|
|
427
|
-
confidence: 0.85
|
|
428
|
-
|
|
429
|
-
- id: apache_shiro
|
|
430
|
-
patternId: auth_middleware
|
|
431
|
-
importPackages:
|
|
432
|
-
- org.apache.shiro
|
|
433
|
-
packageCoordinates:
|
|
434
|
-
- org.apache.shiro
|
|
435
|
-
strategy: shiro
|
|
436
|
-
confidence: 0.85
|
|
437
|
-
|
|
438
|
-
- id: pac4j
|
|
439
|
-
patternId: auth_middleware
|
|
440
|
-
importPackages:
|
|
441
|
-
- org.pac4j
|
|
442
|
-
packageCoordinates:
|
|
443
|
-
- org.pac4j
|
|
444
|
-
strategy: pac4j
|
|
445
|
-
confidence: 0.85
|
|
446
|
-
|
|
447
|
-
- id: ktor_auth
|
|
448
|
-
patternId: auth_middleware
|
|
449
|
-
importPackages:
|
|
450
|
-
- io.ktor.server.auth
|
|
451
|
-
packageCoordinates:
|
|
452
|
-
- io.ktor:ktor-server-auth
|
|
453
|
-
strategy: ktor_auth
|
|
454
|
-
confidence: 0.9
|
|
455
|
-
|
|
456
|
-
# Deliberately broad and correspondingly low-confidence: this fires on any
|
|
457
|
-
# file containing the literal header name. Same trade-off as the Go and
|
|
458
|
-
# C++ equivalents.
|
|
459
|
-
- id: bearer_token_header
|
|
460
|
-
patternId: auth_middleware
|
|
461
|
-
contentRegexes:
|
|
462
|
-
- '"Authorization"'
|
|
463
|
-
- 'HttpHeaders\.AUTHORIZATION'
|
|
464
|
-
strategy: bearer_token
|
|
465
|
-
confidence: 0.7
|
|
466
|
-
|
|
467
|
-
annotations:
|
|
468
|
-
- id: spring_method_security
|
|
469
|
-
patternId: auth_middleware
|
|
470
|
-
annotationNames:
|
|
471
|
-
- PreAuthorize
|
|
472
|
-
- PostAuthorize
|
|
473
|
-
- Secured
|
|
474
|
-
- EnableWebSecurity
|
|
475
|
-
- EnableMethodSecurity
|
|
476
|
-
- EnableGlobalMethodSecurity
|
|
477
|
-
strategy: spring_security
|
|
478
|
-
confidence: 0.9
|
|
479
|
-
|
|
480
|
-
- id: jakarta_role_security
|
|
481
|
-
patternId: auth_middleware
|
|
482
|
-
annotationNames:
|
|
483
|
-
- RolesAllowed
|
|
484
|
-
- PermitAll
|
|
485
|
-
- DenyAll
|
|
486
|
-
strategy: jakarta_security
|
|
487
|
-
confidence: 0.85
|
|
488
|
-
|
|
489
|
-
- id: micronaut_security
|
|
490
|
-
patternId: auth_middleware
|
|
491
|
-
annotationNames:
|
|
492
|
-
- Secured
|
|
493
|
-
- Authenticated
|
|
494
|
-
strategy: micronaut_security
|
|
495
|
-
confidence: 0.85
|
|
496
|
-
|
|
497
|
-
routes:
|
|
498
|
-
frameworks:
|
|
499
|
-
# Spring MVC / WebFlux annotated controllers. The class-level
|
|
500
|
-
# @RequestMapping supplies a prefix that the method-level mapping is
|
|
501
|
-
# appended to, exactly like ASP.NET's [Route] + [HttpGet].
|
|
502
|
-
- id: spring_mvc
|
|
503
|
-
patternId: express_route
|
|
504
|
-
importPackages:
|
|
505
|
-
- org.springframework.web.bind.annotation
|
|
506
|
-
- org.springframework.stereotype
|
|
507
|
-
confidence: 0.9
|
|
508
|
-
controllerAnnotations:
|
|
509
|
-
- RestController
|
|
510
|
-
- Controller
|
|
511
|
-
controllerRouteAnnotations:
|
|
512
|
-
- RequestMapping
|
|
513
|
-
annotationRoutes:
|
|
514
|
-
- annotation: GetMapping
|
|
515
|
-
method: GET
|
|
516
|
-
- annotation: PostMapping
|
|
517
|
-
method: POST
|
|
518
|
-
- annotation: PutMapping
|
|
519
|
-
method: PUT
|
|
520
|
-
- annotation: DeleteMapping
|
|
521
|
-
method: DELETE
|
|
522
|
-
- annotation: PatchMapping
|
|
523
|
-
method: PATCH
|
|
524
|
-
# Method-level @RequestMapping carries its verb in a named argument
|
|
525
|
-
# (`method = RequestMethod.GET`); the detector reads it from the
|
|
526
|
-
# annotation text and falls back to ANY.
|
|
527
|
-
- annotation: RequestMapping
|
|
528
|
-
method: ANY
|
|
529
|
-
|
|
530
|
-
# Spring WebFlux functional routing: RouterFunctions.route().GET("/x", h).
|
|
531
|
-
- id: spring_webflux_functional
|
|
532
|
-
patternId: express_route
|
|
533
|
-
importPackages:
|
|
534
|
-
- org.springframework.web.reactive.function.server
|
|
535
|
-
confidence: 0.85
|
|
536
|
-
routeRegexes:
|
|
537
|
-
- regex: '\.(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS)\s*\(\s*"([^"]+)"'
|
|
538
|
-
methodGroup: 1
|
|
539
|
-
pathGroup: 2
|
|
540
|
-
|
|
541
|
-
# JAX-RS (Jakarta REST): Jersey, RESTEasy, Quarkus. Unlike Spring, the
|
|
542
|
-
# verb and the path are separate annotations — @GET plus @Path("/{id}") —
|
|
543
|
-
# so `pathAnnotations` tells the detector where to read the sub-path from.
|
|
544
|
-
- id: jaxrs
|
|
545
|
-
patternId: express_route
|
|
546
|
-
importPackages:
|
|
547
|
-
- jakarta.ws.rs
|
|
548
|
-
- javax.ws.rs
|
|
549
|
-
confidence: 0.9
|
|
550
|
-
controllerRouteAnnotations:
|
|
551
|
-
- Path
|
|
552
|
-
pathAnnotations:
|
|
553
|
-
- Path
|
|
554
|
-
annotationRoutes:
|
|
555
|
-
- annotation: GET
|
|
556
|
-
method: GET
|
|
557
|
-
- annotation: POST
|
|
558
|
-
method: POST
|
|
559
|
-
- annotation: PUT
|
|
560
|
-
method: PUT
|
|
561
|
-
- annotation: DELETE
|
|
562
|
-
method: DELETE
|
|
563
|
-
- annotation: PATCH
|
|
564
|
-
method: PATCH
|
|
565
|
-
- annotation: HEAD
|
|
566
|
-
method: HEAD
|
|
567
|
-
- annotation: OPTIONS
|
|
568
|
-
method: OPTIONS
|
|
569
|
-
|
|
570
|
-
- id: micronaut
|
|
571
|
-
patternId: express_route
|
|
572
|
-
importPackages:
|
|
573
|
-
- io.micronaut.http.annotation
|
|
574
|
-
confidence: 0.9
|
|
575
|
-
controllerAnnotations:
|
|
576
|
-
- Controller
|
|
577
|
-
controllerRouteAnnotations:
|
|
578
|
-
- Controller
|
|
579
|
-
annotationRoutes:
|
|
580
|
-
- annotation: Get
|
|
581
|
-
method: GET
|
|
582
|
-
- annotation: Post
|
|
583
|
-
method: POST
|
|
584
|
-
- annotation: Put
|
|
585
|
-
method: PUT
|
|
586
|
-
- annotation: Delete
|
|
587
|
-
method: DELETE
|
|
588
|
-
- annotation: Patch
|
|
589
|
-
method: PATCH
|
|
590
|
-
- annotation: Head
|
|
591
|
-
method: HEAD
|
|
592
|
-
- annotation: Options
|
|
593
|
-
method: OPTIONS
|
|
594
|
-
|
|
595
|
-
# Ktor's routing DSL. The `(?:^|[^.\w])` guard keeps this off the Ktor
|
|
596
|
-
# *client*, whose calls are receiver-qualified (`client.get("https://…")`)
|
|
597
|
-
# while server routes are not (`get("/users") { … }`).
|
|
598
|
-
- id: ktor
|
|
599
|
-
patternId: express_route
|
|
600
|
-
importPackages:
|
|
601
|
-
- io.ktor.server.routing
|
|
602
|
-
- io.ktor.server.application
|
|
603
|
-
- io.ktor.routing
|
|
604
|
-
confidence: 0.9
|
|
605
|
-
routeRegexes:
|
|
606
|
-
- regex: '(?:^|[^.\w])(get|post|put|delete|patch|head|options)\s*\(\s*"([^"]+)"'
|
|
607
|
-
methodGroup: 1
|
|
608
|
-
pathGroup: 2
|
|
609
|
-
- regex: '(?:^|[^.\w])route\s*\(\s*"([^"]+)"'
|
|
610
|
-
pathGroup: 1
|
|
611
|
-
|
|
612
|
-
- id: javalin
|
|
613
|
-
patternId: express_route
|
|
614
|
-
importPackages:
|
|
615
|
-
- io.javalin
|
|
616
|
-
confidence: 0.9
|
|
617
|
-
routeRegexes:
|
|
618
|
-
- regex: '\b\w+\.(get|post|put|delete|patch|head|options)\s*\(\s*"([^"]+)"'
|
|
619
|
-
methodGroup: 1
|
|
620
|
-
pathGroup: 2
|
|
621
|
-
|
|
622
|
-
- id: vertx_web
|
|
623
|
-
patternId: express_route
|
|
624
|
-
importPackages:
|
|
625
|
-
- io.vertx.ext.web
|
|
626
|
-
confidence: 0.85
|
|
627
|
-
routeRegexes:
|
|
628
|
-
- regex: '\b\w+\.(get|post|put|delete|patch|head|options)\s*\(\s*"([^"]+)"'
|
|
629
|
-
methodGroup: 1
|
|
630
|
-
pathGroup: 2
|
|
631
|
-
- regex: '\brouter\.route\s*\(\s*"([^"]+)"'
|
|
632
|
-
pathGroup: 1
|
|
633
|
-
|
|
634
|
-
- id: spark_java
|
|
635
|
-
patternId: express_route
|
|
636
|
-
importPackages:
|
|
637
|
-
- spark.Spark
|
|
638
|
-
- spark.Service
|
|
639
|
-
confidence: 0.85
|
|
640
|
-
routeRegexes:
|
|
641
|
-
- regex: '(?:^|[^.\w])(get|post|put|delete|patch|head|options)\s*\(\s*"([^"]+)"'
|
|
642
|
-
methodGroup: 1
|
|
643
|
-
pathGroup: 2
|
|
644
|
-
|
|
645
|
-
- id: grpc_jvm
|
|
646
|
-
patternId: express_route
|
|
647
|
-
importPackages:
|
|
648
|
-
- io.grpc
|
|
649
|
-
confidence: 0.8
|
|
650
|
-
routeRegexes:
|
|
651
|
-
- regex: '\baddService\s*\(\s*new\s+([A-Za-z_]\w*)'
|
|
652
|
-
pathGroup: 1
|
|
653
|
-
defaultMethod: RPC
|
|
654
|
-
- regex: '\bextends\s+([A-Za-z_]\w*)ImplBase\b'
|
|
655
|
-
pathGroup: 1
|
|
656
|
-
defaultMethod: RPC
|
|
657
|
-
|
|
658
|
-
serverless:
|
|
659
|
-
handlers:
|
|
660
|
-
- id: aws_lambda_java
|
|
661
|
-
patternId: lambda_handler
|
|
662
|
-
importPackages:
|
|
663
|
-
- com.amazonaws.services.lambda.runtime
|
|
664
|
-
packageCoordinates:
|
|
665
|
-
- com.amazonaws:aws-lambda-java-core
|
|
666
|
-
baseTypes:
|
|
667
|
-
- RequestHandler
|
|
668
|
-
- RequestStreamHandler
|
|
669
|
-
typeNames:
|
|
670
|
-
- Context
|
|
671
|
-
confidence: 0.9
|
|
672
|
-
|
|
673
|
-
- id: azure_functions_java
|
|
674
|
-
patternId: lambda_handler
|
|
675
|
-
importPackages:
|
|
676
|
-
- com.microsoft.azure.functions
|
|
677
|
-
packageCoordinates:
|
|
678
|
-
- com.microsoft.azure.functions
|
|
679
|
-
annotationNames:
|
|
680
|
-
- FunctionName
|
|
681
|
-
confidence: 0.9
|
|
682
|
-
|
|
683
|
-
- id: gcp_functions_java
|
|
684
|
-
patternId: lambda_handler
|
|
685
|
-
importPackages:
|
|
686
|
-
- com.google.cloud.functions
|
|
687
|
-
packageCoordinates:
|
|
688
|
-
- com.google.cloud.functions:functions-framework-api
|
|
689
|
-
baseTypes:
|
|
690
|
-
- HttpFunction
|
|
691
|
-
- BackgroundFunction
|
|
692
|
-
- CloudEventsFunction
|
|
693
|
-
- RawBackgroundFunction
|
|
694
|
-
confidence: 0.9
|
|
695
|
-
|
|
696
|
-
- id: spring_cloud_function
|
|
697
|
-
patternId: lambda_handler
|
|
698
|
-
importPackages:
|
|
699
|
-
- org.springframework.cloud.function
|
|
700
|
-
packageCoordinates:
|
|
701
|
-
- org.springframework.cloud:spring-cloud-function-adapter-aws
|
|
702
|
-
- org.springframework.cloud:spring-cloud-starter-function-web
|
|
703
|
-
confidence: 0.8
|
|
704
|
-
|
|
705
|
-
env_config:
|
|
706
|
-
envVariable:
|
|
707
|
-
patternId: env_variable
|
|
708
|
-
regex: '\bSystem\.getenv\s*\(\s*"([^"]+)"'
|
|
709
|
-
confidence: 0.85
|
|
710
|
-
|
|
711
|
-
# Spring's property placeholders. @Value("${db.url}") and
|
|
712
|
-
# Environment.getProperty("db.url") are the JVM equivalent of process.env:
|
|
713
|
-
# they name a key without disclosing its value.
|
|
714
|
-
propertyKeys:
|
|
715
|
-
patternId: config_file
|
|
716
|
-
confidence: 0.85
|
|
717
|
-
regexes:
|
|
718
|
-
- '@Value\s*\(\s*"\$\{([^:}"]+)'
|
|
719
|
-
- '\bgetProperty\s*\(\s*"([^"]+)"'
|
|
720
|
-
- '@ConfigurationProperties\s*\((?:\s*prefix\s*=\s*)?"([^"]+)"'
|
|
721
|
-
- '@ConfigProperty\s*\(\s*name\s*=\s*"([^"]+)"'
|
|
722
|
-
|
|
723
|
-
configLoaders:
|
|
724
|
-
patternId: config_file
|
|
725
|
-
confidence: 0.85
|
|
726
|
-
loaders:
|
|
727
|
-
- id: dotenv_java
|
|
728
|
-
importPackages:
|
|
729
|
-
- io.github.cdimascio.dotenv
|
|
730
|
-
packageCoordinates:
|
|
731
|
-
- io.github.cdimascio:dotenv-java
|
|
732
|
-
- io.github.cdimascio:dotenv-kotlin
|
|
733
|
-
callNames:
|
|
734
|
-
- Dotenv.load
|
|
735
|
-
- Dotenv.configure
|
|
736
|
-
- id: typesafe_config
|
|
737
|
-
importPackages:
|
|
738
|
-
- com.typesafe.config
|
|
739
|
-
packageCoordinates:
|
|
740
|
-
- com.typesafe:config
|
|
741
|
-
callNames:
|
|
742
|
-
- ConfigFactory.load
|
|
743
|
-
- ConfigFactory.parseFile
|
|
744
|
-
- id: micronaut_context
|
|
745
|
-
importPackages:
|
|
746
|
-
- io.micronaut.context.annotation
|
|
747
|
-
packageCoordinates:
|
|
748
|
-
- io.micronaut:micronaut-context
|
|
749
|
-
|
|
750
|
-
configFile:
|
|
751
|
-
patternId: config_file
|
|
752
|
-
fileNameRegex: '(^|/)[a-z0-9_]*config(uration)?\.(java|kt)$'
|
|
753
|
-
name: jvm_config
|
|
754
|
-
confidence: 0.75
|
|
755
|
-
|
|
756
|
-
external_apis:
|
|
757
|
-
httpClients:
|
|
758
|
-
- id: java_net_http
|
|
759
|
-
patternId: external_api_call
|
|
760
|
-
clientName: java_net_http
|
|
761
|
-
importPackages:
|
|
762
|
-
- java.net.http
|
|
763
|
-
callNames:
|
|
764
|
-
- HttpRequest.newBuilder
|
|
765
|
-
callNameSuffixes:
|
|
766
|
-
- .uri
|
|
767
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
768
|
-
requireUrlMatch: true
|
|
769
|
-
confidence: 0.85
|
|
770
|
-
|
|
771
|
-
- id: okhttp
|
|
772
|
-
patternId: external_api_call
|
|
773
|
-
clientName: okhttp
|
|
774
|
-
importPackages:
|
|
775
|
-
- okhttp3
|
|
776
|
-
callNames:
|
|
777
|
-
- Request.Builder
|
|
778
|
-
- OkHttpClient.Builder
|
|
779
|
-
callNameSuffixes:
|
|
780
|
-
- .url
|
|
781
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
782
|
-
requireUrlMatch: true
|
|
783
|
-
confidence: 0.85
|
|
784
|
-
|
|
785
|
-
- id: retrofit
|
|
786
|
-
patternId: external_api_call
|
|
787
|
-
clientName: retrofit
|
|
788
|
-
importPackages:
|
|
789
|
-
- retrofit2
|
|
790
|
-
callNames:
|
|
791
|
-
- Retrofit.Builder
|
|
792
|
-
callNameSuffixes:
|
|
793
|
-
- .baseUrl
|
|
794
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
795
|
-
requireUrlMatch: true
|
|
796
|
-
confidence: 0.9
|
|
797
|
-
|
|
798
|
-
- id: apache_httpclient
|
|
799
|
-
patternId: external_api_call
|
|
800
|
-
clientName: apache_httpclient
|
|
801
|
-
importPackages:
|
|
802
|
-
- org.apache.http
|
|
803
|
-
- org.apache.hc
|
|
804
|
-
callNames:
|
|
805
|
-
- HttpGet
|
|
806
|
-
- HttpPost
|
|
807
|
-
- HttpPut
|
|
808
|
-
- HttpDelete
|
|
809
|
-
- HttpPatch
|
|
810
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
811
|
-
requireUrlMatch: true
|
|
812
|
-
confidence: 0.85
|
|
813
|
-
|
|
814
|
-
- id: spring_rest_template
|
|
815
|
-
patternId: external_api_call
|
|
816
|
-
clientName: spring_rest_template
|
|
817
|
-
importPackages:
|
|
818
|
-
- org.springframework.web.client
|
|
819
|
-
callNames:
|
|
820
|
-
- RestTemplate
|
|
821
|
-
callNameSuffixes:
|
|
822
|
-
- .getForObject
|
|
823
|
-
- .getForEntity
|
|
824
|
-
- .postForObject
|
|
825
|
-
- .postForEntity
|
|
826
|
-
- .exchange
|
|
827
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
828
|
-
confidence: 0.85
|
|
829
|
-
|
|
830
|
-
- id: spring_webclient
|
|
831
|
-
patternId: external_api_call
|
|
832
|
-
clientName: spring_webclient
|
|
833
|
-
importPackages:
|
|
834
|
-
- org.springframework.web.reactive.function.client
|
|
835
|
-
callNames:
|
|
836
|
-
- WebClient.create
|
|
837
|
-
callNameSuffixes:
|
|
838
|
-
- .baseUrl
|
|
839
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
840
|
-
confidence: 0.85
|
|
841
|
-
|
|
842
|
-
- id: feign
|
|
843
|
-
patternId: external_api_call
|
|
844
|
-
clientName: feign
|
|
845
|
-
importPackages:
|
|
846
|
-
- feign
|
|
847
|
-
- org.springframework.cloud.openfeign
|
|
848
|
-
callNames:
|
|
849
|
-
- Feign.builder
|
|
850
|
-
callNameSuffixes:
|
|
851
|
-
- .target
|
|
852
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
853
|
-
confidence: 0.8
|
|
854
|
-
|
|
855
|
-
# Gated on `io.ktor.client`, and required to carry a literal URL, so the
|
|
856
|
-
# Ktor server routing DSL (same verb names) cannot reach it.
|
|
857
|
-
- id: ktor_client
|
|
858
|
-
patternId: external_api_call
|
|
859
|
-
clientName: ktor_client
|
|
860
|
-
importPackages:
|
|
861
|
-
- io.ktor.client
|
|
862
|
-
callNames:
|
|
863
|
-
- HttpClient
|
|
864
|
-
callNameSuffixes:
|
|
865
|
-
- .get
|
|
866
|
-
- .post
|
|
867
|
-
- .put
|
|
868
|
-
- .delete
|
|
869
|
-
- .patch
|
|
870
|
-
urlRegex: '"(https?:\/\/[^\s"]+)"'
|
|
871
|
-
requireUrlMatch: true
|
|
872
|
-
confidence: 0.85
|
|
873
|
-
|
|
874
|
-
- id: grpc_jvm_client
|
|
875
|
-
patternId: external_api_call
|
|
876
|
-
clientName: grpc
|
|
877
|
-
importPackages:
|
|
878
|
-
- io.grpc
|
|
879
|
-
callNames:
|
|
880
|
-
- ManagedChannelBuilder.forAddress
|
|
881
|
-
- ManagedChannelBuilder.forTarget
|
|
882
|
-
- Grpc.newChannelBuilder
|
|
883
|
-
urlRegex: '"([^"\s]+)"'
|
|
884
|
-
confidence: 0.8
|