apisec-surface 1.1.0__tar.gz → 1.2.0__tar.gz
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.
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/PKG-INFO +29 -1
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/README.md +28 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/pyproject.toml +1 -1
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/dependency_extractor.py +295 -1
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cli/main.py +58 -31
- apisec_surface-1.2.0/src/apisec_code_bolt/core/canonical_resolution.py +120 -0
- apisec_surface-1.2.0/src/apisec_code_bolt/core/ci_identity.py +146 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/repo.py +60 -4
- apisec_surface-1.2.0/tests/unit/test_canonical_resolution.py +124 -0
- apisec_surface-1.2.0/tests/unit/test_composer_dependencies.py +220 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_monorepo_upload_cli.py +224 -14
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_repo_canonical.py +10 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/.gitignore +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/__main__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/analyzer.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/binding_tracker.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/boundary_detection.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/build_tool_env.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/call_graph.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/call_graph_types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/call_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/capability_tagger.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/config_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/container_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/data_flow.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/deployment_routes.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/firebase_client_usage.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/firebase_functions_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/firestore_rules.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/flow_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/gradle_resolve.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/gradle_variables.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/hof_catalog.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/integration_detector.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/js_gradle_locks.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/legacy_contract.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/literal_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/manifest_partitioner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/parse_index.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/path_normalizer.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/path_resolution_ladder.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/read_site_detector.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/request_patterns.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/route_like.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/secret_patterns.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/secrets_policy.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/sensitivity_classifier.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/sink_evidence.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/surface_enrichment.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/surface_ledger.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/surface_reconciliation.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/template_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/tree_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/unsupported_frameworks.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/url_prefix_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/version_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cli/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cli/exit_codes.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cloud/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cloud/apisec_client.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/cloud/client.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/config.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/credentials.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/discovery.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/log_format.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/manifest.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/memory_guard.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/runtime_entry_points.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/state.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/telemetry.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/core/types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/fingerprinting/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/_graphql_common.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/_jwt_common.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/_weak_random_common.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/auth_helpers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/base.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/_path_helpers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/aspnet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/grpc_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/jwt_config_extractor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/legacy_aspnet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/refit_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/wcf_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/dotnet/webforms_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/go/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/go/gin_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/go/gin_inputs.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/go/gin_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/go/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/_annotations.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/_constraints.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/jaxrs_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/jwt_config_extractor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/micronaut_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/object_reference_micronaut.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/object_reference_spring.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/servlet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/spring_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/java/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/_route_helpers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/_ts_source.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/express_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/fastify_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/firebase_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/firebase_functions_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/firestore_admin_taint.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/koa_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/nestjs_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/js/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/celery_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/click_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/django_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/fastapi/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/fastapi/plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/flask_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/object_reference.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/prefect_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/weak_hash_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/python/webhook_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/_ts_helpers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/action_cable_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/grape_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/hanami_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/padrino_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/rails_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/roda_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/sidekiq_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/sinatra_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/frameworks/ruby/weak_hash_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/base.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/csharp/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/csharp/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/csharp/literals.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/csharp/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/csharp/type_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/go/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/go/config_values.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/go/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/go/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/js/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/js/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/js/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/jvm/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/jvm/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/jvm/member_reference.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/jvm/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/jvm/type_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/cbv_extractor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/constant_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/cross_file_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/dynamic_route_detector.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/expression_utils.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/extraction_types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/parameter_analyzer.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/path_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/router_registry.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/type_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/python/visitors.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/ruby/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/ruby/language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/ruby/parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/parsing/services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/pkgindex/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/pkgindex/indexer.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/pkgindex/metadata.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/pkgindex/module_graph.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/pkgindex/package_source.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/query/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/query/ast_cache.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/query/executor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/query/handlers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/query/manifest_context.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/conftest.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/checksums.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/md5-checksums.bin +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/sha1-checksums.bin +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/9.2.0/gc.properties +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/buildOutputCleanup/cache.properties +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/.gradle/vcs-1/gc.properties +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/Cargo.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/Gemfile.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/Pipfile +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/build.gradle +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/build.gradle.kts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/cyclonedx-agg-all.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/cyclonedx-agg-runtime.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/cyclonedx-bom-all.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/cyclonedx-bom-runtime.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/go.mod +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/package-lock-v1.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/package-lock.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/packages.lock.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pnpm-lock-v5.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pnpm-lock-v6.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pnpm-lock-v9-env.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pnpm-lock-v9-workspace.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pnpm-lock.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pom.xml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pyproject_pep621.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/pyproject_poetry.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/requirements-dev.txt +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/requirements.txt +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/setup.cfg +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/setup.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/yarn-berry.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/dep_files/yarn.lock +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/apps/web/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/apps/web/src/App.tsx +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/apps/web/src/legacy.js +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/firestore.rules +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/pnpm-workspace.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/services/api/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/firebase_webapp/services/api/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django/urls.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django/views.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django_cbv_module_alias/urls.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django_cbv_module_alias/views.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django_query_params/models.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django_query_params/urls.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_django_query_params/views.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_express/app.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_express/middleware/authenticate.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_express/routes/auth.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_express/routes/users.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_fastapi/main.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_fastapi/routes/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_fastapi/routes/users.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_fastapi/services/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_fastapi/services/user_service.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/openapi/gateway.swagger.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/packages/shared/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/packages/shared/src/admin.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/packages/shared/src/auth.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/services/acme/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/services/acme/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/services/acme/src/tasks.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_auth/services/acme/src/widgets.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/admin.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/auth.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/crud.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/packages/shared/src/triggers.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/identity/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/identity/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/identity/src/users.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/orders/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/orders/src/carts.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/orders/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/orders/src/orders.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_firestore/services/orders/src/tasks.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/packages/shared/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/packages/shared/src/triggers.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/orders/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/orders/src/current.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/orders/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/orders/src/orders.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/orders/src/tasks.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/src/extensions.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/src/legacy.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/src/modern.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_functions/services/reports/src/runwith.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/openapi/gateway.swagger.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/openapi/service.openapi.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/packages/shared/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/services/api/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/services/api/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_gateway/services/api/src/things.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/firebase.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/functions/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/functions/src/index.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/quickstart/functions/index.js +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_firebase_real_handlers/quickstart/functions/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_flask/app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_flask_auth/app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_flask_pydantic/app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_grape/api.rb +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_mixed_transport/app/cli.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_mixed_transport/app/tasks.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_mixed_transport/app/web.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_mixed_transport/requirements.txt +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_monorepo/apps/service-a/app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_monorepo/apps/service-a/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_monorepo/apps/service-b/app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_monorepo/apps/service-b/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_monorepo/shared_util.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_nestjs/auth.controller.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_nestjs/roles.decorator.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_nestjs/roles.guard.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_nestjs/users.controller.ts +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/chatbot/chat_api.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/chatbot/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/community/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/community/urls.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/community/views.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/pom.xml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/src/main/java/com/crapi/identity/config/WebSecurityConfig.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/src/main/java/com/crapi/identity/controller/AuthController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/portal/portal_api.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_auth_schemes/services/portal/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_monorepo/services/api-js/index.js +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_monorepo/services/api-js/package.json +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_monorepo/services/api-py/main.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_polyglot_monorepo/services/api-py/pyproject.toml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_sinatra/app.rb +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/apisec-code-bolt/state.yaml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/config/SecurityConfig.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/controller/UserController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/model/User.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/service/UserService.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/sample_spring_boot/src/main/resources/application.properties +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/surface_accuracy/express-factory/routes/app.js +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/surface_accuracy/spring-mini/demo/BaseController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/surface_accuracy/spring-mini/demo/DisabledController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/surface_accuracy/spring-mini/demo/UserController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/VULNERABILITIES.md +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/config/SecurityConfig.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/AdminController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/OrderController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/UserController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/model/Order.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/model/User.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/service/OrderService.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/service/UserService.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vuln_spring_boot/src/main/resources/application.properties +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vulnerable_app/pom.xml +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vulnerable_app/src/main/java/com/demo/DemoController.java +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/fixtures/vulnerable_app/target/classes/com/demo/DemoController.class +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_cli.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_django_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_django_cbv_decorator_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_django_mount_prefix_scan_root.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_django_query_param_flow.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_erb_template_data_flows.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_express_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_fastapi_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_firebase_auth_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_firebase_firestore_taint.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_firebase_functions_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_firebase_gateway_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_firebase_real_handler_taint.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_flask_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_flask_auth_integration.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_gin_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_handlebars_stored_data_flows.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_jsx_tsx_manifest.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_mixed_transport_origin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_monorepo_entry_point_id_collision.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_monorepo_partitioning.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_monorepo_regression.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_nestjs_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_polyglot_auth_scheme_fallback.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_polyglot_monorepo_auth_boundary.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_polyglot_python_prefix_maps.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_regression_flask_auth_and_deps.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_root_config_autodiscovery.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_spring_boot_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_spring_service_impl_flow.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/integration/test_vulnerable_app_reachability_guard.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/fixtures/sample_app.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/test_auth_indicator_matching.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/test_executor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/test_executor_connected.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/test_handlers.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/test_query/test_read_site_origin_types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/__init__.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/conftest.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_annotations_path_join.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_answers_submit_404.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_apisec_client.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_apisec_client_enrich.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_aspnet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_benchmark_audit.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_benchmark_compare_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_benchmark_compare_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_benchmark_gcp_monorepo_gt.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_benchmark_run.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_boundary_detection.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_call_graph.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_cbv_extractor.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_cli_console_url.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_client_data_access_manifest.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_config.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_config_scanner_framework.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_config_scanner_secret_values.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_constant_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_container_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_cross_file_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_csharp_literals.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_csharp_taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_csharp_type_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_data_flow.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_dependency_parsing.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_deployment_routes.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_discovery.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_django_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_dotnet_object_reference_fact.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_dotnet_route_authorization_fact.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_dynamic_routes.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_entry_point_interface_resolution.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_express_nestjs_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_fastapi_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_fastify_passport_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_fastify_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firebase_auth_model.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firebase_client_usage.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firebase_functions_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firebase_gateway_routes.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firestore_admin_taint.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_firestore_rules.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_flask_auth_and_deps.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_flask_blueprint_prefix.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_flask_params.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_flask_surface_kind.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_flow_analysis.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_gin_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_go_language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_go_parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_go_taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_gradle_resolve.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_gradle_variables.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_grape_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_grpc_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_instrumentation.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_integration_detection.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_java_autowired_service_flow.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_java_constant_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_java_parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_java_receiver_types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_java_taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_jaxrs_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_jaxrs_secured_auth.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_gradle_locks.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_handler_functions.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_ruby_dependency_calls.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_js_taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_jwt_config_extraction.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_koa_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_legacy_aspnet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_legacy_committed_contract.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_legacy_migration.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_manifest_entry_point_gate.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_manifest_partitioner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_manifest_upload_gzip.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_manifest_upload_refusal.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_memory_guard.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_micronaut_object_reference_fact.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_micronaut_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_origin_type_contract.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_parameter_analyzer.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_path_resolution_ladder.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_path_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_pkgindex.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_pydantic_body_inference.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_python_object_reference_fact.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_python_parser.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_python_taint_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_python_weak_hash_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_questions_poll_transient.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_rails_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_read_site_detector.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_refit_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_results_publish_failure.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_route_auth_roles.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_router_registry.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_ruby_graphql_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_ruby_language_services.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_ruby_p6_plugins.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_ruby_weak_hash_facts.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_secret_detection_coverage.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_secret_value_presentation.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_secrets_policy.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_sensitivity_capability.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_servlet_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_sinatra_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_sink_evidence.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_spring_object_reference_fact.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_spring_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_static_route_catchup.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_surface_accuracy_benchmark.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_surface_enrichment.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_surface_extraction_client.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_surface_ledger.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_surface_reconciliation.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_telemetry.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_template_scanner.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_transformation_tracking.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_tree_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_type_resolver_selection.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_types.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_unsupported_frameworks.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_upload_verify_timeout.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_url_prefix_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_version_resolver.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_wcf_plugin.py +0 -0
- {apisec_surface-1.1.0 → apisec_surface-1.2.0}/tests/unit/test_webforms_plugin.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: apisec-surface
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Static analysis probe for extracting architectural metadata from codebases
|
|
5
5
|
Project-URL: Homepage, https://apisec.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.apisec.ai/code-bolt
|
|
@@ -145,6 +145,34 @@ instead of typing it at a prompt:
|
|
|
145
145
|
export APISEC_REGISTRATION_CODE=123-456
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
+
### Continuous integration (CI)
|
|
149
|
+
|
|
150
|
+
On supported CI platforms the CLI **automatically** derives a stable repo id from
|
|
151
|
+
**platform-injected** environment variables. You do **not** need to set Apisec-specific
|
|
152
|
+
canonical env vars for normal CI runs. Re-runs register against the **same Application**
|
|
153
|
+
via the server repo alias (no local `.apisec/state.yaml` required).
|
|
154
|
+
|
|
155
|
+
| Platform | Primary signals | Canonical shape (examples) |
|
|
156
|
+
|----------|-----------------|----------------------------|
|
|
157
|
+
| GitHub Actions | `GITHUB_ACTIONS`, `GITHUB_REPOSITORY` | `github:owner/repo` |
|
|
158
|
+
| GitHub Enterprise | above + `GITHUB_SERVER_URL` (non-github.com host) | `github:ghe.example.com/owner/repo` |
|
|
159
|
+
| GitLab CI | `GITLAB_CI`, `CI_PROJECT_PATH` | `gitlab:group/project` |
|
|
160
|
+
| Azure Pipelines | `TF_BUILD`, `BUILD_REPOSITORY_URI` | `azure:…` (from remote URL) |
|
|
161
|
+
| Bitbucket Pipelines | `BITBUCKET_BUILD_NUMBER`, `BITBUCKET_REPO_FULL_NAME` | `bitbucket:workspace/repo` |
|
|
162
|
+
| Jenkins | `JENKINS_URL` or `BUILD_URL`, **`GIT_URL` after checkout** | parsed from `GIT_URL` (e.g. `github:org/repo`) |
|
|
163
|
+
|
|
164
|
+
**Jenkins:** run `apisec-surface analyze` only **after** a checkout step so `GIT_URL` is set.
|
|
165
|
+
|
|
166
|
+
**Fail loud:** if CI is detected but the canonical id cannot be trusted (missing vars,
|
|
167
|
+
wrong container env), the CLI exits with code **4** before upload — fix the pipeline env
|
|
168
|
+
rather than creating duplicate apps.
|
|
169
|
+
|
|
170
|
+
**Laptop / local git:** first run without `state.yaml` still creates a new Application
|
|
171
|
+
(even when `git remote` parses to `github:…`); later runs use `.apisec/state.yaml`.
|
|
172
|
+
|
|
173
|
+
**Ops only:** `APISEC_CANONICAL_REPO_ID` forces a specific canonical id and alias lookup
|
|
174
|
+
(migration tooling, broken CI). Customers should not need this in normal pipelines.
|
|
175
|
+
|
|
148
176
|
### 2. Authenticate
|
|
149
177
|
|
|
150
178
|
Store your APIsec API key so uploads are authorized:
|
|
@@ -93,6 +93,34 @@ instead of typing it at a prompt:
|
|
|
93
93
|
export APISEC_REGISTRATION_CODE=123-456
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
+
### Continuous integration (CI)
|
|
97
|
+
|
|
98
|
+
On supported CI platforms the CLI **automatically** derives a stable repo id from
|
|
99
|
+
**platform-injected** environment variables. You do **not** need to set Apisec-specific
|
|
100
|
+
canonical env vars for normal CI runs. Re-runs register against the **same Application**
|
|
101
|
+
via the server repo alias (no local `.apisec/state.yaml` required).
|
|
102
|
+
|
|
103
|
+
| Platform | Primary signals | Canonical shape (examples) |
|
|
104
|
+
|----------|-----------------|----------------------------|
|
|
105
|
+
| GitHub Actions | `GITHUB_ACTIONS`, `GITHUB_REPOSITORY` | `github:owner/repo` |
|
|
106
|
+
| GitHub Enterprise | above + `GITHUB_SERVER_URL` (non-github.com host) | `github:ghe.example.com/owner/repo` |
|
|
107
|
+
| GitLab CI | `GITLAB_CI`, `CI_PROJECT_PATH` | `gitlab:group/project` |
|
|
108
|
+
| Azure Pipelines | `TF_BUILD`, `BUILD_REPOSITORY_URI` | `azure:…` (from remote URL) |
|
|
109
|
+
| Bitbucket Pipelines | `BITBUCKET_BUILD_NUMBER`, `BITBUCKET_REPO_FULL_NAME` | `bitbucket:workspace/repo` |
|
|
110
|
+
| Jenkins | `JENKINS_URL` or `BUILD_URL`, **`GIT_URL` after checkout** | parsed from `GIT_URL` (e.g. `github:org/repo`) |
|
|
111
|
+
|
|
112
|
+
**Jenkins:** run `apisec-surface analyze` only **after** a checkout step so `GIT_URL` is set.
|
|
113
|
+
|
|
114
|
+
**Fail loud:** if CI is detected but the canonical id cannot be trusted (missing vars,
|
|
115
|
+
wrong container env), the CLI exits with code **4** before upload — fix the pipeline env
|
|
116
|
+
rather than creating duplicate apps.
|
|
117
|
+
|
|
118
|
+
**Laptop / local git:** first run without `state.yaml` still creates a new Application
|
|
119
|
+
(even when `git remote` parses to `github:…`); later runs use `.apisec/state.yaml`.
|
|
120
|
+
|
|
121
|
+
**Ops only:** `APISEC_CANONICAL_REPO_ID` forces a specific canonical id and alias lookup
|
|
122
|
+
(migration tooling, broken CI). Customers should not need this in normal pipelines.
|
|
123
|
+
|
|
96
124
|
### 2. Authenticate
|
|
97
125
|
|
|
98
126
|
Store your APIsec API key so uploads are authorized:
|
{apisec_surface-1.1.0 → apisec_surface-1.2.0}/src/apisec_code_bolt/analysis/dependency_extractor.py
RENAMED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Dependency extraction from project dependency files.
|
|
3
3
|
|
|
4
4
|
Parses requirements.txt, Pipfile, pyproject.toml, setup.cfg, setup.py,
|
|
5
|
-
package.json, go.mod, Cargo.toml, *.csproj, pom.xml,
|
|
5
|
+
package.json, go.mod, Cargo.toml, *.csproj, pom.xml, build.gradle(.kts), Gemfile(.lock),
|
|
6
|
+
and composer.json / composer.lock
|
|
6
7
|
to produce a unified dependency model.
|
|
7
8
|
"""
|
|
8
9
|
|
|
@@ -171,6 +172,8 @@ class DependencyExtractor:
|
|
|
171
172
|
"_parse_gemfile_lock": "RubyGems",
|
|
172
173
|
"_parse_gemfile": "RubyGems",
|
|
173
174
|
"_parse_gemspec": "RubyGems",
|
|
175
|
+
"_parse_composer_json": "Packagist",
|
|
176
|
+
"_parse_composer_lock": "Packagist",
|
|
174
177
|
}
|
|
175
178
|
|
|
176
179
|
# Sourced from boundary_detection.py rather than duplicated locally —
|
|
@@ -440,6 +443,32 @@ class DependencyExtractor:
|
|
|
440
443
|
continue
|
|
441
444
|
packages.extend(self._tag(self._parse_gemspec(gemspec), "_parse_gemspec"))
|
|
442
445
|
|
|
446
|
+
# 3c-5. PHP Composer: composer.json with the composer.lock beside it,
|
|
447
|
+
# recursively. vendor/ is where Composer installs every dependency, each
|
|
448
|
+
# with its own composer.json, so it is never read as the project's own.
|
|
449
|
+
# A project may move it with `config.vendor-dir` (nextcloud: lib/composer),
|
|
450
|
+
# so those directories are skipped too.
|
|
451
|
+
composer_files = [
|
|
452
|
+
p
|
|
453
|
+
for p in sorted(root.rglob("composer.json"))
|
|
454
|
+
if not self._under_composer_skip_dir(p, root)
|
|
455
|
+
]
|
|
456
|
+
vendor_dirs = self._composer_vendor_dirs(composer_files)
|
|
457
|
+
for composer in composer_files:
|
|
458
|
+
if self._under_any(composer, vendor_dirs):
|
|
459
|
+
continue
|
|
460
|
+
packages.extend(self._tag(self._parse_composer_json(composer), "_parse_composer_json"))
|
|
461
|
+
for composer_lock in sorted(root.rglob("composer.lock")):
|
|
462
|
+
if self._under_composer_skip_dir(composer_lock, root) or self._under_any(
|
|
463
|
+
composer_lock, vendor_dirs
|
|
464
|
+
):
|
|
465
|
+
continue
|
|
466
|
+
if (composer_lock.parent / "composer.json").is_file():
|
|
467
|
+
continue # read through its manifest above
|
|
468
|
+
packages.extend(
|
|
469
|
+
self._tag(self._parse_composer_lock(composer_lock), "_parse_composer_lock")
|
|
470
|
+
)
|
|
471
|
+
|
|
443
472
|
# 3d. Maven pom.xml + Gradle build files (JVM) — recursive, skipping
|
|
444
473
|
# build-output and vendored dirs. Catches multi-module / subproject
|
|
445
474
|
# layouts common in Spring Boot, Micronaut, and Quarkus apps.
|
|
@@ -721,6 +750,35 @@ class DependencyExtractor:
|
|
|
721
750
|
parts = path.parts[:-1]
|
|
722
751
|
return any(part in self._SKIP_DIRS or part == "target" for part in parts)
|
|
723
752
|
|
|
753
|
+
def _under_composer_skip_dir(self, path: Path, root: Path) -> bool:
|
|
754
|
+
"""`_under_skip_dir`, plus Composer's install directory ``vendor/``."""
|
|
755
|
+
if self._under_skip_dir(path, root):
|
|
756
|
+
return True
|
|
757
|
+
try:
|
|
758
|
+
parts = path.relative_to(root).parts[:-1]
|
|
759
|
+
except ValueError:
|
|
760
|
+
parts = path.parts[:-1]
|
|
761
|
+
return "vendor" in parts
|
|
762
|
+
|
|
763
|
+
@staticmethod
|
|
764
|
+
def _composer_vendor_dirs(manifests: list[Path]) -> list[Path]:
|
|
765
|
+
"""Custom install directories named by each manifest's ``config.vendor-dir``."""
|
|
766
|
+
dirs: list[Path] = []
|
|
767
|
+
for manifest in manifests:
|
|
768
|
+
try:
|
|
769
|
+
config = json.loads(manifest.read_text(errors="replace")).get("config")
|
|
770
|
+
except (OSError, ValueError, AttributeError):
|
|
771
|
+
continue
|
|
772
|
+
vendor = config.get("vendor-dir") if isinstance(config, dict) else None
|
|
773
|
+
if isinstance(vendor, str) and vendor.strip() and "$" not in vendor:
|
|
774
|
+
dirs.append((manifest.parent / vendor.strip()).resolve())
|
|
775
|
+
return dirs
|
|
776
|
+
|
|
777
|
+
@staticmethod
|
|
778
|
+
def _under_any(path: Path, dirs: list[Path]) -> bool:
|
|
779
|
+
resolved = path.resolve()
|
|
780
|
+
return any(resolved.is_relative_to(d) for d in dirs)
|
|
781
|
+
|
|
724
782
|
# -- npm collection (lockfile-first) ---------------------------------------
|
|
725
783
|
|
|
726
784
|
def _collect_npm_packages(self, root: Path) -> list[PackageDependencyModel]:
|
|
@@ -1192,6 +1250,242 @@ class DependencyExtractor:
|
|
|
1192
1250
|
lock_direct=direct,
|
|
1193
1251
|
)
|
|
1194
1252
|
|
|
1253
|
+
# -- composer.json / composer.lock (PHP) -----------------------------------
|
|
1254
|
+
|
|
1255
|
+
#: A Composer exact pin: ``1.2.3`` or ``v1.2.3``. ``^1.2``, ``~1.2``,
|
|
1256
|
+
#: ``1.2.*``, ``>=1.2 <2`` and ``1.2`` (which Composer reads as ``1.2.0``
|
|
1257
|
+
#: but a reader would not) are ranges here.
|
|
1258
|
+
_COMPOSER_EXACT_RE = re.compile(
|
|
1259
|
+
r"^v?(\d+\.\d+\.\d+(?:[-.]?(?:alpha|beta|RC|rc|patch|p|pl)\.?\d*)?)$"
|
|
1260
|
+
)
|
|
1261
|
+
#: A release Composer installed: a tag, so it compares as a version.
|
|
1262
|
+
#: ``dev-main`` and ``2.x-dev`` are branches and do not.
|
|
1263
|
+
_COMPOSER_RELEASE_RE = re.compile(r"^v?(\d+(?:\.\d+)*(?:[-.+][0-9A-Za-z.\-+]*)?)$")
|
|
1264
|
+
|
|
1265
|
+
@staticmethod
|
|
1266
|
+
def _composer_package_name(name: object) -> str | None:
|
|
1267
|
+
"""A Packagist package name, lower-cased; None for a platform requirement.
|
|
1268
|
+
|
|
1269
|
+
Every registry package is ``vendor/name``. Anything else -- ``php``,
|
|
1270
|
+
``ext-json``, ``lib-icu``, ``composer-plugin-api``, ``hhvm`` -- is the
|
|
1271
|
+
runtime Composer checks for, not a package it installs, and has no
|
|
1272
|
+
advisories of its own under Packagist.
|
|
1273
|
+
"""
|
|
1274
|
+
if not isinstance(name, str) or "/" not in name:
|
|
1275
|
+
return None
|
|
1276
|
+
return name.strip().lower()
|
|
1277
|
+
|
|
1278
|
+
@classmethod
|
|
1279
|
+
def _composer_release(cls, version: object) -> str | None:
|
|
1280
|
+
"""The installed version as advisories spell it: ``v5.4.21`` -> ``5.4.21``.
|
|
1281
|
+
|
|
1282
|
+
Symfony, Guzzle and most of the ecosystem tag with a leading ``v``, and
|
|
1283
|
+
OSV's Packagist ranges never carry it. A branch install (``dev-main``,
|
|
1284
|
+
``1.x-dev``) is None: no version range can place it.
|
|
1285
|
+
"""
|
|
1286
|
+
if not isinstance(version, str):
|
|
1287
|
+
return None
|
|
1288
|
+
v = version.strip()
|
|
1289
|
+
if v.startswith("dev-") or v.endswith("-dev"):
|
|
1290
|
+
return None
|
|
1291
|
+
m = cls._COMPOSER_RELEASE_RE.match(v)
|
|
1292
|
+
return m.group(1) if m else None
|
|
1293
|
+
|
|
1294
|
+
def _composer_lock_graph(
|
|
1295
|
+
self, path: Path
|
|
1296
|
+
) -> tuple[dict[str, str], dict[str, set[str]], set[str], dict[str, str]] | None:
|
|
1297
|
+
"""Read composer.lock into (versions, edges, runtime names, branch installs).
|
|
1298
|
+
|
|
1299
|
+
The lock holds the whole resolved tree, split the way Composer split it:
|
|
1300
|
+
``packages`` is everything ``composer install --no-dev`` still installs,
|
|
1301
|
+
and ``packages-dev`` what only the dev requirements pulled in. That split
|
|
1302
|
+
is authoritative, so it is returned as the runtime set rather than left
|
|
1303
|
+
to reachability. Each entry's own ``require`` gives the edges.
|
|
1304
|
+
|
|
1305
|
+
A package that ``replace``s or ``provide``s another stands in for it:
|
|
1306
|
+
laravel/framework replaces every illuminate/* component, so a package
|
|
1307
|
+
requiring illuminate/support depends on laravel/framework, and the edge
|
|
1308
|
+
is drawn to it rather than dropped.
|
|
1309
|
+
"""
|
|
1310
|
+
try:
|
|
1311
|
+
data = json.loads(path.read_text(errors="replace"))
|
|
1312
|
+
except (OSError, ValueError) as exc:
|
|
1313
|
+
logger.warning("Failed to parse %s: %s", path, exc)
|
|
1314
|
+
return None
|
|
1315
|
+
if not isinstance(data, dict):
|
|
1316
|
+
return None
|
|
1317
|
+
|
|
1318
|
+
versions: dict[str, str] = {}
|
|
1319
|
+
branches: dict[str, str] = {}
|
|
1320
|
+
requires: dict[str, set[str]] = {}
|
|
1321
|
+
stands_in: dict[str, str] = {}
|
|
1322
|
+
runtime: set[str] = set()
|
|
1323
|
+
for section in ("packages", "packages-dev"):
|
|
1324
|
+
entries = data.get(section)
|
|
1325
|
+
if not isinstance(entries, list):
|
|
1326
|
+
continue
|
|
1327
|
+
for entry in entries:
|
|
1328
|
+
if not isinstance(entry, dict):
|
|
1329
|
+
continue
|
|
1330
|
+
name = self._composer_package_name(entry.get("name"))
|
|
1331
|
+
if name is None:
|
|
1332
|
+
continue
|
|
1333
|
+
release = self._composer_release(entry.get("version"))
|
|
1334
|
+
if release is not None:
|
|
1335
|
+
versions[name] = release
|
|
1336
|
+
else:
|
|
1337
|
+
branches[name] = str(entry.get("version") or "")
|
|
1338
|
+
if section == "packages":
|
|
1339
|
+
runtime.add(name)
|
|
1340
|
+
req = entry.get("require")
|
|
1341
|
+
deps = (
|
|
1342
|
+
{
|
|
1343
|
+
dep
|
|
1344
|
+
for dep in (self._composer_package_name(k) for k in req)
|
|
1345
|
+
if dep and dep != name
|
|
1346
|
+
}
|
|
1347
|
+
if isinstance(req, dict)
|
|
1348
|
+
else set()
|
|
1349
|
+
)
|
|
1350
|
+
requires[name] = deps
|
|
1351
|
+
for key in ("replace", "provide"):
|
|
1352
|
+
alias = entry.get(key)
|
|
1353
|
+
if isinstance(alias, dict):
|
|
1354
|
+
for other in alias:
|
|
1355
|
+
other_name = self._composer_package_name(other)
|
|
1356
|
+
if other_name and other_name != name:
|
|
1357
|
+
stands_in.setdefault(other_name, name)
|
|
1358
|
+
|
|
1359
|
+
installed = set(versions) | set(branches)
|
|
1360
|
+
edges: dict[str, set[str]] = {}
|
|
1361
|
+
for name, deps in requires.items():
|
|
1362
|
+
resolved = set()
|
|
1363
|
+
for dep in deps:
|
|
1364
|
+
if dep not in installed:
|
|
1365
|
+
dep = stands_in.get(dep, dep)
|
|
1366
|
+
if dep in installed and dep != name:
|
|
1367
|
+
resolved.add(dep)
|
|
1368
|
+
edges[name] = resolved
|
|
1369
|
+
return versions, edges, runtime, branches
|
|
1370
|
+
|
|
1371
|
+
def _parse_composer_json(self, path: Path) -> list[PackageDependencyModel]:
|
|
1372
|
+
"""Parse composer.json, folding in the composer.lock beside it.
|
|
1373
|
+
|
|
1374
|
+
``require`` is runtime and ``require-dev`` is dev; platform requirements
|
|
1375
|
+
(``php``, ``ext-*``) are not packages and are skipped. The manifest
|
|
1376
|
+
alone holds constraints, not versions, and never names a transitive
|
|
1377
|
+
package -- a Laravel app declares a dozen packages and installs over a
|
|
1378
|
+
hundred -- so the lock, when present, supplies exact versions, every
|
|
1379
|
+
transitive package and the edges between them.
|
|
1380
|
+
"""
|
|
1381
|
+
try:
|
|
1382
|
+
data = json.loads(path.read_text(errors="replace"))
|
|
1383
|
+
except (OSError, ValueError) as exc:
|
|
1384
|
+
logger.warning("Failed to parse %s: %s", path, exc)
|
|
1385
|
+
return []
|
|
1386
|
+
if not isinstance(data, dict):
|
|
1387
|
+
return []
|
|
1388
|
+
|
|
1389
|
+
packages: list[PackageDependencyModel] = []
|
|
1390
|
+
seen: set[str] = set()
|
|
1391
|
+
for section, is_dev in (("require", False), ("require-dev", True)):
|
|
1392
|
+
reqs = data.get(section)
|
|
1393
|
+
if not isinstance(reqs, dict):
|
|
1394
|
+
continue
|
|
1395
|
+
for raw_name, constraint in reqs.items():
|
|
1396
|
+
name = self._composer_package_name(raw_name)
|
|
1397
|
+
if name is None or name in seen:
|
|
1398
|
+
continue
|
|
1399
|
+
seen.add(name)
|
|
1400
|
+
constraint = constraint.strip() if isinstance(constraint, str) else None
|
|
1401
|
+
exact = self._COMPOSER_EXACT_RE.match(constraint or "")
|
|
1402
|
+
packages.append(
|
|
1403
|
+
PackageDependencyModel(
|
|
1404
|
+
name=name,
|
|
1405
|
+
version=exact.group(1) if exact else None,
|
|
1406
|
+
version_constraint=constraint,
|
|
1407
|
+
is_dev=is_dev,
|
|
1408
|
+
source_file=self._rel(path),
|
|
1409
|
+
)
|
|
1410
|
+
)
|
|
1411
|
+
|
|
1412
|
+
lock = path.parent / "composer.lock"
|
|
1413
|
+
graph = self._composer_lock_graph(lock) if lock.is_file() else None
|
|
1414
|
+
if graph is None:
|
|
1415
|
+
return packages
|
|
1416
|
+
versions, edges, runtime, branches = graph
|
|
1417
|
+
merged = self._merge_lock(
|
|
1418
|
+
packages,
|
|
1419
|
+
self._rel(lock),
|
|
1420
|
+
versions,
|
|
1421
|
+
edges,
|
|
1422
|
+
runtime_hint=runtime,
|
|
1423
|
+
)
|
|
1424
|
+
# The lock's own split decides dev-ness: a package Composer would not
|
|
1425
|
+
# install with --no-dev is dev, even when reachability from the runtime
|
|
1426
|
+
# roots says otherwise (a dev root that also requires it shares it).
|
|
1427
|
+
# That holds for direct packages too: one declared in require-dev that a
|
|
1428
|
+
# runtime package also needs stays in the lock's `packages` and ships
|
|
1429
|
+
# (monica's fakerphp/faker), so it is runtime and its CVEs count.
|
|
1430
|
+
locked = set(versions) | set(branches)
|
|
1431
|
+
for pkg in merged:
|
|
1432
|
+
if pkg.name in locked:
|
|
1433
|
+
pkg.is_dev = pkg.name not in runtime
|
|
1434
|
+
return self._with_composer_branches(merged, branches, runtime, self._rel(lock))
|
|
1435
|
+
|
|
1436
|
+
def _parse_composer_lock(self, path: Path) -> list[PackageDependencyModel]:
|
|
1437
|
+
"""Parse a composer.lock with no composer.json beside it.
|
|
1438
|
+
|
|
1439
|
+
Nothing says which packages were asked for, so the roots of the lock's
|
|
1440
|
+
own graph -- packages no other package requires -- stand in as direct.
|
|
1441
|
+
"""
|
|
1442
|
+
graph = self._composer_lock_graph(path)
|
|
1443
|
+
if graph is None:
|
|
1444
|
+
return []
|
|
1445
|
+
versions, edges, runtime, branches = graph
|
|
1446
|
+
required = {dep for deps in edges.values() for dep in deps}
|
|
1447
|
+
roots = {name: name not in runtime for name in versions if name not in required}
|
|
1448
|
+
merged = self._merge_lock(
|
|
1449
|
+
[], self._rel(path), versions, edges, runtime_hint=runtime, lock_direct=roots
|
|
1450
|
+
)
|
|
1451
|
+
merged = self._with_composer_branches(merged, branches, runtime, self._rel(path))
|
|
1452
|
+
for pkg in merged:
|
|
1453
|
+
pkg.is_dev = pkg.name not in runtime
|
|
1454
|
+
pkg.is_direct = pkg.name not in required
|
|
1455
|
+
return merged
|
|
1456
|
+
|
|
1457
|
+
@staticmethod
|
|
1458
|
+
def _with_composer_branches(
|
|
1459
|
+
packages: list[PackageDependencyModel],
|
|
1460
|
+
branches: dict[str, str],
|
|
1461
|
+
runtime: set[str],
|
|
1462
|
+
lock_name: str,
|
|
1463
|
+
) -> list[PackageDependencyModel]:
|
|
1464
|
+
"""Keep branch installs (``dev-main``) in the list, version-less.
|
|
1465
|
+
|
|
1466
|
+
They are real installed packages that a version range cannot place, so
|
|
1467
|
+
they are reported -- an advisory with no fixed version still applies --
|
|
1468
|
+
but never given a version that would read as a release.
|
|
1469
|
+
"""
|
|
1470
|
+
present = {p.name for p in packages}
|
|
1471
|
+
for name, branch in sorted(branches.items()):
|
|
1472
|
+
if name in present:
|
|
1473
|
+
for pkg in packages:
|
|
1474
|
+
if pkg.name == name and pkg.version_constraint is None:
|
|
1475
|
+
pkg.version_constraint = branch or None
|
|
1476
|
+
continue
|
|
1477
|
+
packages.append(
|
|
1478
|
+
PackageDependencyModel(
|
|
1479
|
+
name=name,
|
|
1480
|
+
version=None,
|
|
1481
|
+
version_constraint=branch or None,
|
|
1482
|
+
is_dev=name not in runtime,
|
|
1483
|
+
is_direct=False,
|
|
1484
|
+
source_file=lock_name,
|
|
1485
|
+
)
|
|
1486
|
+
)
|
|
1487
|
+
return packages
|
|
1488
|
+
|
|
1195
1489
|
# -- Pipfile ---------------------------------------------------------------
|
|
1196
1490
|
|
|
1197
1491
|
def _parse_pipfile(self, path: Path) -> list[PackageDependencyModel]:
|
|
@@ -793,37 +793,31 @@ def _resolve_console_url(backend_url: str | None, app_id: str) -> str:
|
|
|
793
793
|
return backend_url or _console_url(app_id)
|
|
794
794
|
|
|
795
795
|
|
|
796
|
-
def
|
|
796
|
+
def _log_dependency_only_upload(
|
|
797
797
|
ctx: click.Context,
|
|
798
798
|
*,
|
|
799
799
|
quiet: bool,
|
|
800
800
|
repo_name: str,
|
|
801
801
|
canonical_repo_id: str,
|
|
802
802
|
partition_suffix: str | None,
|
|
803
|
-
|
|
803
|
+
packages: int,
|
|
804
804
|
) -> None:
|
|
805
|
-
"""Record that
|
|
806
|
-
|
|
807
|
-
if log_format == "json":
|
|
805
|
+
"""Record that a route-less scan still uploads, for its dependencies."""
|
|
806
|
+
if ctx.obj.get("log_format", "text") == "json":
|
|
808
807
|
log_info(
|
|
809
|
-
"
|
|
808
|
+
"surface_upload_dependency_only",
|
|
810
809
|
repo_name=repo_name,
|
|
811
810
|
canonical_repo_id=canonical_repo_id,
|
|
812
811
|
partition=partition_suffix,
|
|
813
|
-
|
|
812
|
+
packages=packages,
|
|
814
813
|
)
|
|
815
814
|
return
|
|
816
815
|
if quiet:
|
|
817
816
|
return
|
|
818
817
|
label = f"partition {partition_suffix}" if partition_suffix else f"repo {repo_name}"
|
|
819
|
-
detail = (
|
|
820
|
-
f" ({entry_points_withheld_unresolved} route(s) withheld as unresolved)"
|
|
821
|
-
if entry_points_withheld_unresolved
|
|
822
|
-
else ""
|
|
823
|
-
)
|
|
824
818
|
console.print(
|
|
825
|
-
f"[yellow]No runtime entry points discovered for {label}
|
|
826
|
-
"
|
|
819
|
+
f"[yellow]No runtime entry points discovered for {label}; registering it for its "
|
|
820
|
+
f"{packages} dependencies only (no API surface to test).[/yellow]"
|
|
827
821
|
)
|
|
828
822
|
|
|
829
823
|
|
|
@@ -931,11 +925,11 @@ def _report_unsupported_only(
|
|
|
931
925
|
*,
|
|
932
926
|
quiet: bool,
|
|
933
927
|
) -> None:
|
|
934
|
-
"""Report a
|
|
928
|
+
"""Report unsupported frameworks for a repo with no extractable routes, if any.
|
|
935
929
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
930
|
+
Used after legacy-profile skips and after surface onboarding of entry-point-less
|
|
931
|
+
manifests (libraries, unsupported stacks). Best-effort: a failed report never
|
|
932
|
+
fails the scan.
|
|
939
933
|
"""
|
|
940
934
|
from ..analysis.unsupported_frameworks import format_unsupported
|
|
941
935
|
|
|
@@ -1147,16 +1141,32 @@ def _upload_one_partition(
|
|
|
1147
1141
|
withheld = getattr(
|
|
1148
1142
|
partition.manifest.analysis_metadata, "entry_points_withheld_unresolved", 0
|
|
1149
1143
|
)
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1144
|
+
packages = len(partition.manifest.dependencies.packages)
|
|
1145
|
+
log_format = ctx.obj.get("log_format", "text")
|
|
1146
|
+
if log_format == "json":
|
|
1147
|
+
log_info(
|
|
1148
|
+
"surface_upload_no_entry_points",
|
|
1149
|
+
repo_name=display_name,
|
|
1150
|
+
canonical_repo_id=canonical_repo_id,
|
|
1151
|
+
partition=suffix or None,
|
|
1152
|
+
entry_points_withheld_unresolved=withheld,
|
|
1153
|
+
dependency_packages=packages,
|
|
1154
|
+
)
|
|
1155
|
+
elif not quiet:
|
|
1156
|
+
detail = f" ({withheld} route(s) withheld as unresolved)" if withheld else ""
|
|
1157
|
+
console.print(
|
|
1158
|
+
f"[dim]No runtime entry points for {display_name}{detail}; "
|
|
1159
|
+
"registering and uploading manifest (dependencies, secrets, and other findings).[/dim]"
|
|
1160
|
+
)
|
|
1161
|
+
if packages:
|
|
1162
|
+
_log_dependency_only_upload(
|
|
1163
|
+
ctx,
|
|
1164
|
+
quiet=quiet,
|
|
1165
|
+
repo_name=display_name,
|
|
1166
|
+
canonical_repo_id=canonical_repo_id,
|
|
1167
|
+
partition_suffix=suffix or None,
|
|
1168
|
+
packages=packages,
|
|
1169
|
+
)
|
|
1160
1170
|
|
|
1161
1171
|
if legacy_env and not has_http:
|
|
1162
1172
|
from ..analysis.legacy_contract import legacy_unpublished_contract_operations
|
|
@@ -1195,20 +1205,35 @@ def _upload_one_partition(
|
|
|
1195
1205
|
)
|
|
1196
1206
|
|
|
1197
1207
|
try:
|
|
1208
|
+
from ..core.canonical_resolution import (
|
|
1209
|
+
format_ci_canonical_failure,
|
|
1210
|
+
resolve_canonical_repo_id,
|
|
1211
|
+
)
|
|
1212
|
+
from ..core.ci_identity import detect_ci_platform
|
|
1198
1213
|
from ..core.repo import canonical_repo_id_override
|
|
1199
1214
|
|
|
1200
|
-
|
|
1201
|
-
|
|
1215
|
+
canonical_resolution = resolve_canonical_repo_id(project_path)
|
|
1216
|
+
ci_platform = detect_ci_platform()
|
|
1217
|
+
if ci_platform is not None and not canonical_resolution.trusted_for_alias:
|
|
1218
|
+
error_console.print(
|
|
1219
|
+
f"[red]Cannot register application in CI: {format_ci_canonical_failure(canonical_resolution)}[/red]"
|
|
1220
|
+
)
|
|
1221
|
+
sys.exit(ExitCode.CONFIG_ERROR)
|
|
1222
|
+
|
|
1223
|
+
# Ops override: resolve by canonical id instead of state.yaml.
|
|
1202
1224
|
has_repo_id = canonical_repo_id_override() is not None
|
|
1203
1225
|
existing_app_id = (
|
|
1204
1226
|
None
|
|
1205
1227
|
if has_repo_id
|
|
1206
1228
|
else (state.partitions.get(suffix) if suffix else state.application_id)
|
|
1207
1229
|
)
|
|
1230
|
+
use_alias_lookup = has_repo_id or (
|
|
1231
|
+
canonical_resolution.trusted_for_alias and ci_platform is not None
|
|
1232
|
+
)
|
|
1208
1233
|
registration = client.register(
|
|
1209
1234
|
repo_info,
|
|
1210
1235
|
existing_app_id=existing_app_id,
|
|
1211
|
-
force_new_application=existing_app_id is None and not
|
|
1236
|
+
force_new_application=existing_app_id is None and not use_alias_lookup,
|
|
1212
1237
|
run_profile=(os.environ.get("APISEC_RUN_PROFILE") or "").strip() or None,
|
|
1213
1238
|
)
|
|
1214
1239
|
|
|
@@ -1354,6 +1379,8 @@ def _upload_one_partition(
|
|
|
1354
1379
|
f"[/red] {upload_result.get('error') or status}"
|
|
1355
1380
|
)
|
|
1356
1381
|
return False
|
|
1382
|
+
if not legacy_env and not entry_points:
|
|
1383
|
+
_report_unsupported_only(ctx, client, repo_info, partition, quiet=quiet)
|
|
1357
1384
|
return True
|
|
1358
1385
|
except Exception as e:
|
|
1359
1386
|
error_console.print(f"[red]Upload failed{suffix_note}:[/red] {e}")
|