ddtrace 1.0.0.beta1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -16
- data/CHANGELOG.md +156 -2
- data/LICENSE-3rdparty.csv +3 -2
- data/README.md +2 -2
- data/ddtrace.gemspec +12 -3
- data/docs/GettingStarted.md +231 -146
- data/docs/ProfilingDevelopment.md +8 -8
- data/docs/UpgradeGuide.md +384 -205
- data/ext/ddtrace_profiling_loader/ddtrace_profiling_loader.c +118 -0
- data/ext/ddtrace_profiling_loader/extconf.rb +53 -0
- data/ext/ddtrace_profiling_native_extension/NativeExtensionDesign.md +31 -5
- data/ext/ddtrace_profiling_native_extension/clock_id_from_pthread.c +0 -8
- data/ext/ddtrace_profiling_native_extension/collectors_stack.c +278 -0
- data/ext/ddtrace_profiling_native_extension/extconf.rb +79 -100
- data/ext/ddtrace_profiling_native_extension/libddprof_helpers.h +13 -0
- data/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb +186 -0
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.c +579 -7
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.h +30 -0
- data/ext/ddtrace_profiling_native_extension/profiling.c +10 -1
- data/ext/ddtrace_profiling_native_extension/stack_recorder.c +139 -0
- data/ext/ddtrace_profiling_native_extension/stack_recorder.h +28 -0
- data/lib/datadog/appsec/assets/waf_rules/recommended.json +248 -318
- data/lib/datadog/appsec/assets/waf_rules/risky.json +78 -18
- data/lib/datadog/appsec/assets/waf_rules/strict.json +4 -67
- data/lib/datadog/appsec/assets.rb +2 -0
- data/lib/datadog/appsec/autoload.rb +2 -2
- data/lib/datadog/appsec/configuration/settings.rb +22 -1
- data/lib/datadog/appsec/configuration.rb +10 -0
- data/lib/datadog/appsec/contrib/auto_instrument.rb +2 -0
- data/lib/datadog/appsec/contrib/configuration/settings.rb +2 -0
- data/lib/datadog/appsec/contrib/integration.rb +2 -0
- data/lib/datadog/appsec/contrib/patcher.rb +2 -0
- data/lib/datadog/appsec/contrib/rack/configuration/settings.rb +2 -0
- data/lib/datadog/appsec/contrib/rack/ext.rb +2 -0
- data/lib/datadog/appsec/contrib/rack/gateway/watcher.rb +78 -37
- data/lib/datadog/appsec/contrib/rack/integration.rb +1 -0
- data/lib/datadog/appsec/contrib/rack/patcher.rb +0 -1
- data/lib/datadog/appsec/contrib/rack/reactive/request.rb +4 -2
- data/lib/datadog/appsec/contrib/rack/reactive/request_body.rb +64 -0
- data/lib/datadog/appsec/contrib/rack/reactive/response.rb +4 -2
- data/lib/datadog/appsec/contrib/rack/request.rb +16 -1
- data/lib/datadog/appsec/contrib/rack/request_body_middleware.rb +41 -0
- data/lib/datadog/appsec/contrib/rack/request_middleware.rb +60 -46
- data/lib/datadog/appsec/contrib/rack/response.rb +2 -0
- data/lib/datadog/appsec/contrib/rails/configuration/settings.rb +2 -0
- data/lib/datadog/appsec/contrib/rails/ext.rb +2 -0
- data/lib/datadog/appsec/contrib/rails/framework.rb +2 -0
- data/lib/datadog/appsec/contrib/rails/gateway/watcher.rb +81 -0
- data/lib/datadog/appsec/contrib/rails/patcher.rb +35 -2
- data/lib/datadog/appsec/contrib/rails/reactive/action.rb +68 -0
- data/lib/datadog/appsec/contrib/rails/request.rb +33 -0
- data/lib/datadog/appsec/contrib/rails/request_middleware.rb +2 -0
- data/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb +2 -0
- data/lib/datadog/appsec/contrib/sinatra/ext.rb +2 -0
- data/lib/datadog/appsec/contrib/sinatra/framework.rb +2 -0
- data/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb +124 -0
- data/lib/datadog/appsec/contrib/sinatra/patcher.rb +69 -2
- data/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb +63 -0
- data/lib/datadog/appsec/contrib/sinatra/request_middleware.rb +2 -0
- data/lib/datadog/appsec/event.rb +44 -34
- data/lib/datadog/appsec/extensions.rb +2 -4
- data/lib/datadog/appsec/instrumentation/gateway.rb +2 -0
- data/lib/datadog/appsec/processor.rb +164 -0
- data/lib/datadog/appsec/rate_limiter.rb +7 -0
- data/lib/datadog/appsec/reactive/address_hash.rb +2 -0
- data/lib/datadog/appsec/reactive/engine.rb +2 -0
- data/lib/datadog/appsec/reactive/operation.rb +2 -1
- data/lib/datadog/appsec/reactive/subscriber.rb +2 -0
- data/lib/datadog/appsec.rb +2 -0
- data/lib/datadog/ci/configuration/components.rb +1 -0
- data/lib/datadog/ci/configuration/settings.rb +9 -2
- data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/ext.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/formatter.rb +2 -1
- data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/integration.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/patcher.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/example.rb +3 -2
- data/lib/datadog/ci/contrib/rspec/ext.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/integration.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/patcher.rb +1 -0
- data/lib/datadog/ci/ext/app_types.rb +1 -0
- data/lib/datadog/ci/ext/environment.rb +23 -8
- data/lib/datadog/ci/ext/settings.rb +1 -0
- data/lib/datadog/ci/ext/test.rb +1 -0
- data/lib/datadog/ci/extensions.rb +1 -0
- data/lib/datadog/ci/flush.rb +1 -0
- data/lib/datadog/ci/test.rb +2 -1
- data/lib/datadog/ci.rb +3 -1
- data/lib/datadog/core/buffer/cruby.rb +1 -0
- data/lib/datadog/core/buffer/thread_safe.rb +1 -0
- data/lib/datadog/core/configuration/agent_settings_resolver.rb +109 -40
- data/lib/datadog/core/configuration/base.rb +1 -0
- data/lib/datadog/core/configuration/components.rb +23 -4
- data/lib/datadog/core/configuration/dependency_resolver.rb +1 -0
- data/lib/datadog/core/configuration/option.rb +1 -0
- data/lib/datadog/core/configuration/option_definition.rb +1 -0
- data/lib/datadog/core/configuration/option_definition_set.rb +1 -0
- data/lib/datadog/core/configuration/option_set.rb +1 -0
- data/lib/datadog/core/configuration/options.rb +1 -0
- data/lib/datadog/core/configuration/settings.rb +4 -12
- data/lib/datadog/core/configuration.rb +8 -5
- data/lib/datadog/core/diagnostics/environment_logger.rb +2 -1
- data/lib/datadog/core/diagnostics/ext.rb +1 -0
- data/lib/datadog/core/diagnostics/health.rb +2 -1
- data/lib/datadog/core/encoding.rb +1 -0
- data/lib/datadog/core/environment/cgroup.rb +4 -1
- data/lib/datadog/core/environment/class_count.rb +1 -0
- data/lib/datadog/core/environment/container.rb +3 -1
- data/lib/datadog/core/environment/ext.rb +1 -0
- data/lib/datadog/core/environment/gc.rb +1 -0
- data/lib/datadog/core/environment/identity.rb +1 -0
- data/lib/datadog/core/environment/socket.rb +1 -0
- data/lib/datadog/core/environment/thread_count.rb +1 -0
- data/lib/datadog/core/environment/variable_helpers.rb +27 -2
- data/lib/datadog/core/environment/vm_cache.rb +1 -0
- data/lib/datadog/core/error.rb +2 -1
- data/lib/datadog/core/extensions.rb +2 -1
- data/lib/datadog/core/git/ext.rb +1 -0
- data/lib/datadog/core/logger.rb +1 -0
- data/lib/datadog/core/logging/ext.rb +11 -0
- data/lib/datadog/core/metrics/client.rb +16 -5
- data/lib/datadog/core/metrics/ext.rb +1 -0
- data/lib/datadog/core/metrics/helpers.rb +2 -0
- data/lib/datadog/core/metrics/logging.rb +2 -0
- data/lib/datadog/core/metrics/metric.rb +2 -0
- data/lib/datadog/core/metrics/options.rb +2 -0
- data/lib/datadog/core/pin.rb +1 -1
- data/lib/datadog/core/runtime/metrics.rb +2 -1
- data/lib/datadog/core/utils/compression.rb +1 -0
- data/lib/datadog/core/utils/forking.rb +1 -0
- data/lib/datadog/core/utils/object_set.rb +1 -0
- data/lib/datadog/core/utils/only_once.rb +2 -1
- data/lib/datadog/core/utils/safe_dup.rb +27 -0
- data/lib/datadog/core/utils/sequence.rb +1 -0
- data/lib/datadog/core/utils/string_table.rb +1 -0
- data/lib/datadog/core/utils/time.rb +1 -0
- data/lib/datadog/core/utils.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart/post.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/multipart.rb +1 -0
- data/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb +1 -0
- data/lib/datadog/core/worker.rb +1 -0
- data/lib/datadog/core/workers/async.rb +4 -1
- data/lib/datadog/core/workers/interval_loop.rb +1 -0
- data/lib/datadog/core/workers/polling.rb +1 -0
- data/lib/datadog/core/workers/queue.rb +1 -0
- data/lib/datadog/core/workers/runtime_metrics.rb +0 -2
- data/lib/datadog/core.rb +7 -0
- data/lib/datadog/kit/enable_core_dumps.rb +50 -0
- data/lib/datadog/kit/identity.rb +63 -0
- data/lib/datadog/kit.rb +11 -0
- data/lib/datadog/opentracer/binary_propagator.rb +1 -0
- data/lib/datadog/opentracer/carrier.rb +1 -0
- data/lib/datadog/opentracer/distributed_headers.rb +1 -0
- data/lib/datadog/opentracer/global_tracer.rb +1 -0
- data/lib/datadog/opentracer/propagator.rb +1 -0
- data/lib/datadog/opentracer/rack_propagator.rb +1 -0
- data/lib/datadog/opentracer/scope.rb +1 -0
- data/lib/datadog/opentracer/scope_manager.rb +1 -0
- data/lib/datadog/opentracer/span.rb +1 -0
- data/lib/datadog/opentracer/span_context.rb +1 -0
- data/lib/datadog/opentracer/span_context_factory.rb +1 -0
- data/lib/datadog/opentracer/text_map_propagator.rb +1 -0
- data/lib/datadog/opentracer/thread_local_scope.rb +1 -0
- data/lib/datadog/opentracer/thread_local_scope_manager.rb +1 -0
- data/lib/datadog/opentracer/tracer.rb +1 -2
- data/lib/datadog/opentracer.rb +1 -0
- data/lib/datadog/profiling/backtrace_location.rb +1 -0
- data/lib/datadog/profiling/buffer.rb +1 -0
- data/lib/datadog/profiling/collectors/code_provenance.rb +2 -1
- data/lib/datadog/profiling/collectors/old_stack.rb +298 -0
- data/lib/datadog/profiling/collectors/stack.rb +5 -286
- data/lib/datadog/profiling/encoding/profile.rb +1 -1
- data/lib/datadog/profiling/event.rb +1 -0
- data/lib/datadog/profiling/events/stack.rb +1 -0
- data/lib/datadog/profiling/exporter.rb +1 -0
- data/lib/datadog/profiling/ext/forking.rb +1 -0
- data/lib/datadog/profiling/ext.rb +4 -3
- data/lib/datadog/profiling/flush.rb +2 -1
- data/lib/datadog/profiling/load_native_extension.rb +22 -0
- data/lib/datadog/profiling/native_extension.rb +1 -0
- data/lib/datadog/profiling/pprof/builder.rb +2 -1
- data/lib/datadog/profiling/pprof/converter.rb +1 -0
- data/lib/datadog/profiling/pprof/message_set.rb +1 -0
- data/lib/datadog/profiling/pprof/payload.rb +1 -0
- data/lib/datadog/profiling/pprof/pprof_pb.rb +1 -0
- data/lib/datadog/profiling/pprof/stack_sample.rb +1 -0
- data/lib/datadog/profiling/pprof/string_table.rb +1 -0
- data/lib/datadog/profiling/pprof/template.rb +1 -0
- data/lib/datadog/profiling/preload.rb +1 -0
- data/lib/datadog/profiling/profiler.rb +1 -0
- data/lib/datadog/profiling/recorder.rb +2 -1
- data/lib/datadog/profiling/scheduler.rb +3 -2
- data/lib/datadog/profiling/stack_recorder.rb +33 -0
- data/lib/datadog/profiling/tag_builder.rb +48 -0
- data/lib/datadog/profiling/tasks/exec.rb +3 -2
- data/lib/datadog/profiling/tasks/help.rb +1 -0
- data/lib/datadog/profiling/tasks/setup.rb +7 -4
- data/lib/datadog/profiling/trace_identifiers/ddtrace.rb +2 -1
- data/lib/datadog/profiling/trace_identifiers/helper.rb +2 -1
- data/lib/datadog/profiling/transport/client.rb +1 -0
- data/lib/datadog/profiling/transport/http/api/endpoint.rb +1 -0
- data/lib/datadog/profiling/transport/http/api/instance.rb +1 -0
- data/lib/datadog/profiling/transport/http/api/spec.rb +1 -0
- data/lib/datadog/profiling/transport/http/api.rb +1 -0
- data/lib/datadog/profiling/transport/http/builder.rb +1 -0
- data/lib/datadog/profiling/transport/http/client.rb +1 -0
- data/lib/datadog/profiling/transport/http/response.rb +1 -0
- data/lib/datadog/profiling/transport/http.rb +1 -0
- data/lib/datadog/profiling/transport/io/client.rb +1 -0
- data/lib/datadog/profiling/transport/io/response.rb +1 -0
- data/lib/datadog/profiling/transport/io.rb +1 -0
- data/lib/datadog/profiling/transport/parcel.rb +1 -0
- data/lib/datadog/profiling/transport/request.rb +1 -0
- data/lib/datadog/profiling/transport/response.rb +1 -0
- data/lib/datadog/profiling.rb +30 -27
- data/lib/datadog/tracing/analytics.rb +1 -0
- data/lib/datadog/tracing/buffer.rb +10 -3
- data/lib/datadog/tracing/configuration/ext.rb +1 -0
- data/lib/datadog/tracing/context.rb +1 -0
- data/lib/datadog/tracing/context_provider.rb +18 -19
- data/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/event.rb +2 -1
- data/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/events/transmit.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/events.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/instrumentation.rb +1 -1
- data/lib/datadog/tracing/contrib/action_cable/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/action_cable/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/event.rb +2 -1
- data/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/events/process.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/events.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/action_mailer/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb +3 -2
- data/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/action_pack/utils.rb +2 -1
- data/lib/datadog/tracing/contrib/action_view/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/event.rb +2 -1
- data/lib/datadog/tracing/contrib/action_view/events/render_partial.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/events/render_template.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/events.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/action_view/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/action_view/utils.rb +2 -1
- data/lib/datadog/tracing/contrib/active_job/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/event.rb +2 -1
- data/lib/datadog/tracing/contrib/active_job/events/discard.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events/enqueue.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events/perform.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/events.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/log_injection.rb +1 -0
- data/lib/datadog/tracing/contrib/active_job/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/event.rb +2 -1
- data/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/events.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb +2 -1
- data/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb +3 -2
- data/lib/datadog/tracing/contrib/active_record/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/event.rb +2 -1
- data/lib/datadog/tracing/contrib/active_record/events/instantiation.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/events/sql.rb +2 -1
- data/lib/datadog/tracing/contrib/active_record/events.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/active_record/utils.rb +2 -1
- data/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb +2 -1
- data/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/active_support/cache/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/cache/redis.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/notifications/event.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb +1 -0
- data/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb +5 -2
- data/lib/datadog/tracing/contrib/active_support/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/analytics.rb +1 -0
- data/lib/datadog/tracing/contrib/auto_instrument.rb +23 -20
- data/lib/datadog/tracing/contrib/aws/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/aws/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/aws/instrumentation.rb +3 -1
- data/lib/datadog/tracing/contrib/aws/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/aws/parsed_context.rb +1 -0
- data/lib/datadog/tracing/contrib/aws/patcher.rb +2 -1
- data/lib/datadog/tracing/contrib/aws/services.rb +1 -0
- data/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb +12 -4
- data/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb +1 -0
- data/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/configurable.rb +1 -0
- data/lib/datadog/tracing/contrib/configuration/resolver.rb +1 -0
- data/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb +1 -0
- data/lib/datadog/tracing/contrib/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/dalli/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/dalli/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/dalli/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/dalli/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/dalli/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/dalli/quantize.rb +1 -0
- data/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/delayed_job/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/delayed_job/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/delayed_job/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/delayed_job/plugin.rb +2 -1
- data/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/elasticsearch/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/elasticsearch/integration.rb +10 -3
- data/lib/datadog/tracing/contrib/elasticsearch/patcher.rb +40 -3
- data/lib/datadog/tracing/contrib/elasticsearch/quantize.rb +1 -0
- data/lib/datadog/tracing/contrib/ethon/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/ethon/easy_patch.rb +2 -1
- data/lib/datadog/tracing/contrib/ethon/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/ethon/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/ethon/multi_patch.rb +2 -1
- data/lib/datadog/tracing/contrib/ethon/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/excon/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/excon/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/excon/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/excon/middleware.rb +2 -1
- data/lib/datadog/tracing/contrib/excon/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/extensions.rb +57 -44
- data/lib/datadog/tracing/contrib/faraday/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/faraday/connection.rb +1 -0
- data/lib/datadog/tracing/contrib/faraday/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/faraday/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/faraday/middleware.rb +2 -1
- data/lib/datadog/tracing/contrib/faraday/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/faraday/rack_builder.rb +1 -0
- data/lib/datadog/tracing/contrib/grape/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/grape/endpoint.rb +4 -2
- data/lib/datadog/tracing/contrib/grape/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/grape/instrumentation.rb +1 -0
- data/lib/datadog/tracing/contrib/grape/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/grape/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/graphql/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/graphql/ext.rb +3 -2
- data/lib/datadog/tracing/contrib/graphql/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/graphql/patcher.rb +31 -4
- data/lib/datadog/tracing/contrib/grpc/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb +3 -2
- data/lib/datadog/tracing/contrib/grpc/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb +1 -0
- data/lib/datadog/tracing/contrib/grpc/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/http/circuit_breaker.rb +2 -1
- data/lib/datadog/tracing/contrib/http/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/http/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/http/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/http/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/http/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/http_annotation_helper.rb +1 -0
- data/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/httpclient/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/httpclient/instrumentation.rb +3 -2
- data/lib/datadog/tracing/contrib/httpclient/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/httpclient/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/httprb/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/httprb/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/httprb/instrumentation.rb +3 -2
- data/lib/datadog/tracing/contrib/httprb/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/httprb/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/integration.rb +2 -1
- data/lib/datadog/tracing/contrib/kafka/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/consumer_event.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/event.rb +2 -1
- data/lib/datadog/tracing/contrib/kafka/events/connection/request.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/events.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/kafka/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/lograge/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/lograge/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/lograge/instrumentation.rb +4 -2
- data/lib/datadog/tracing/contrib/lograge/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/lograge/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/instrumentation.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/parsers.rb +2 -1
- data/lib/datadog/tracing/contrib/mongodb/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/subscribers.rb +3 -2
- data/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/mysql2/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/mysql2/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/mysql2/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/mysql2/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/patchable.rb +1 -0
- data/lib/datadog/tracing/contrib/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/presto/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/presto/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/presto/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/presto/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/presto/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/qless/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/qless/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/qless/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/qless/patcher.rb +2 -2
- data/lib/datadog/tracing/contrib/qless/qless_job.rb +3 -2
- data/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb +2 -1
- data/lib/datadog/tracing/contrib/que/configuration/settings.rb +2 -1
- data/lib/datadog/tracing/contrib/que/ext.rb +2 -1
- data/lib/datadog/tracing/contrib/que/integration.rb +2 -1
- data/lib/datadog/tracing/contrib/que/patcher.rb +2 -2
- data/lib/datadog/tracing/contrib/que/tracer.rb +3 -2
- data/lib/datadog/tracing/contrib/racecar/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/event.rb +2 -1
- data/lib/datadog/tracing/contrib/racecar/events/batch.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/events/consume.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/events/message.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/events.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/racecar/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/rack/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/rack/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/rack/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/rack/middlewares.rb +2 -1
- data/lib/datadog/tracing/contrib/rack/patcher.rb +3 -2
- data/lib/datadog/tracing/contrib/rack/request_queue.rb +1 -0
- data/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb +3 -1
- data/lib/datadog/tracing/contrib/rails/configuration/settings.rb +5 -4
- data/lib/datadog/tracing/contrib/rails/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/rails/framework.rb +37 -36
- data/lib/datadog/tracing/contrib/rails/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/rails/log_injection.rb +4 -16
- data/lib/datadog/tracing/contrib/rails/middlewares.rb +1 -0
- data/lib/datadog/tracing/contrib/rails/patcher.rb +8 -3
- data/lib/datadog/tracing/contrib/rails/railtie.rb +1 -0
- data/lib/datadog/tracing/contrib/rails/utils.rb +1 -0
- data/lib/datadog/tracing/contrib/rake/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/rake/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/rake/instrumentation.rb +6 -4
- data/lib/datadog/tracing/contrib/rake/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/rake/patcher.rb +2 -2
- data/lib/datadog/tracing/contrib/redis/configuration/resolver.rb +1 -0
- data/lib/datadog/tracing/contrib/redis/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/redis/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/redis/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/redis/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/redis/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/redis/quantize.rb +1 -0
- data/lib/datadog/tracing/contrib/redis/tags.rb +2 -1
- data/lib/datadog/tracing/contrib/redis/vendor/resolver.rb +1 -0
- data/lib/datadog/tracing/contrib/registry.rb +1 -0
- data/lib/datadog/tracing/contrib/resque/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/resque/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/resque/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/resque/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/resque/resque_job.rb +3 -2
- data/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/rest_client/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/rest_client/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/rest_client/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/rest_client/request_patch.rb +2 -1
- data/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/semantic_logger/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb +4 -2
- data/lib/datadog/tracing/contrib/semantic_logger/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/semantic_logger/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/database.rb +2 -1
- data/lib/datadog/tracing/contrib/sequel/dataset.rb +2 -1
- data/lib/datadog/tracing/contrib/sequel/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/utils.rb +2 -1
- data/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/shoryuken/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/shoryuken/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/shoryuken/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/shoryuken/tracer.rb +2 -1
- data/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb +2 -1
- data/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb +2 -0
- data/lib/datadog/tracing/contrib/sidekiq/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/sidekiq/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/sidekiq/patcher.rb +1 -0
- data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb +1 -1
- data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb +1 -1
- data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_push.rb +1 -1
- data/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb +22 -2
- data/lib/datadog/tracing/contrib/sidekiq/tracing.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/env.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/framework.rb +14 -1
- data/lib/datadog/tracing/contrib/sinatra/headers.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/sinatra/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/sinatra/tracer.rb +3 -2
- data/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb +2 -1
- data/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb +2 -1
- data/lib/datadog/tracing/contrib/sneakers/ext.rb +2 -1
- data/lib/datadog/tracing/contrib/sneakers/integration.rb +2 -1
- data/lib/datadog/tracing/contrib/sneakers/patcher.rb +2 -2
- data/lib/datadog/tracing/contrib/sneakers/tracer.rb +3 -2
- data/lib/datadog/tracing/contrib/status_code_matcher.rb +1 -0
- data/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb +1 -0
- data/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb +1 -0
- data/lib/datadog/tracing/contrib/sucker_punch/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb +2 -1
- data/lib/datadog/tracing/contrib/sucker_punch/integration.rb +1 -0
- data/lib/datadog/tracing/contrib/sucker_punch/patcher.rb +2 -2
- data/lib/datadog/tracing/contrib/utils/database.rb +1 -0
- data/lib/datadog/tracing/contrib/utils/quantization/hash.rb +1 -0
- data/lib/datadog/tracing/contrib/utils/quantization/http.rb +1 -0
- data/lib/datadog/tracing/contrib.rb +3 -0
- data/lib/datadog/tracing/correlation.rb +12 -20
- data/lib/datadog/tracing/distributed/headers/b3.rb +1 -0
- data/lib/datadog/tracing/distributed/headers/b3_single.rb +1 -0
- data/lib/datadog/tracing/distributed/headers/datadog.rb +1 -0
- data/lib/datadog/tracing/distributed/headers/ext.rb +1 -0
- data/lib/datadog/tracing/distributed/helpers.rb +1 -0
- data/lib/datadog/tracing/distributed/parser.rb +1 -0
- data/lib/datadog/tracing/event.rb +3 -1
- data/lib/datadog/tracing/flush.rb +1 -0
- data/lib/datadog/tracing/metadata/analytics.rb +2 -0
- data/lib/datadog/tracing/metadata/errors.rb +24 -0
- data/lib/datadog/tracing/metadata/ext.rb +2 -1
- data/lib/datadog/tracing/metadata/tagging.rb +2 -10
- data/lib/datadog/tracing/metadata.rb +4 -0
- data/lib/datadog/tracing/pipeline/span_processor.rb +1 -0
- data/lib/datadog/tracing/propagation/grpc.rb +1 -0
- data/lib/datadog/tracing/propagation/http.rb +1 -0
- data/lib/datadog/tracing/runtime/metrics.rb +1 -0
- data/lib/datadog/tracing/sampling/all_sampler.rb +1 -0
- data/lib/datadog/tracing/sampling/ext.rb +1 -0
- data/lib/datadog/tracing/sampling/matcher.rb +1 -0
- data/lib/datadog/tracing/sampling/priority_sampler.rb +4 -4
- data/lib/datadog/tracing/sampling/rate_by_key_sampler.rb +1 -0
- data/lib/datadog/tracing/sampling/rate_by_service_sampler.rb +1 -0
- data/lib/datadog/tracing/sampling/rate_limiter.rb +1 -0
- data/lib/datadog/tracing/sampling/rate_sampler.rb +1 -0
- data/lib/datadog/tracing/sampling/rule.rb +12 -5
- data/lib/datadog/tracing/sampling/rule_sampler.rb +3 -4
- data/lib/datadog/tracing/sampling/sampler.rb +1 -0
- data/lib/datadog/tracing/span.rb +7 -5
- data/lib/datadog/tracing/span_operation.rb +8 -7
- data/lib/datadog/tracing/sync_writer.rb +1 -0
- data/lib/datadog/tracing/trace_digest.rb +2 -0
- data/lib/datadog/tracing/trace_operation.rb +44 -24
- data/lib/datadog/tracing/trace_segment.rb +109 -194
- data/lib/datadog/tracing/tracer.rb +3 -2
- data/lib/datadog/tracing/workers/trace_writer.rb +1 -0
- data/lib/datadog/tracing/workers.rb +1 -0
- data/lib/datadog/tracing/writer.rb +1 -0
- data/lib/datadog/tracing.rb +2 -0
- data/lib/ddtrace/auto_instrument.rb +2 -1
- data/lib/ddtrace/auto_instrument_base.rb +1 -0
- data/lib/ddtrace/profiling/preload.rb +2 -0
- data/lib/ddtrace/transport/ext.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/net.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/test.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/unix_socket.rb +1 -0
- data/lib/ddtrace/transport/http/api/endpoint.rb +1 -0
- data/lib/ddtrace/transport/http/api/fallbacks.rb +1 -0
- data/lib/ddtrace/transport/http/api/instance.rb +1 -0
- data/lib/ddtrace/transport/http/api/map.rb +1 -0
- data/lib/ddtrace/transport/http/api/spec.rb +1 -0
- data/lib/ddtrace/transport/http/api.rb +1 -0
- data/lib/ddtrace/transport/http/builder.rb +1 -0
- data/lib/ddtrace/transport/http/client.rb +3 -1
- data/lib/ddtrace/transport/http/env.rb +1 -0
- data/lib/ddtrace/transport/http/response.rb +35 -4
- data/lib/ddtrace/transport/http/statistics.rb +1 -0
- data/lib/ddtrace/transport/http/traces.rb +1 -0
- data/lib/ddtrace/transport/http.rb +14 -3
- data/lib/ddtrace/transport/io/client.rb +4 -1
- data/lib/ddtrace/transport/io/response.rb +1 -0
- data/lib/ddtrace/transport/io/traces.rb +1 -0
- data/lib/ddtrace/transport/io.rb +1 -0
- data/lib/ddtrace/transport/parcel.rb +1 -0
- data/lib/ddtrace/transport/request.rb +1 -0
- data/lib/ddtrace/transport/response.rb +1 -0
- data/lib/ddtrace/transport/serializable_trace.rb +2 -0
- data/lib/ddtrace/transport/statistics.rb +1 -0
- data/lib/ddtrace/transport/trace_formatter.rb +24 -1
- data/lib/ddtrace/transport/traces.rb +1 -0
- data/lib/ddtrace/version.rb +13 -11
- data/lib/ddtrace.rb +3 -21
- metadata +47 -9
- data/lib/datadog/opentelemetry/extensions.rb +0 -14
- data/lib/datadog/opentelemetry/span.rb +0 -34
@@ -1,9 +1,12 @@
|
|
1
1
|
{
|
2
|
-
"version": "2.
|
2
|
+
"version": "2.2",
|
3
|
+
"metadata": {
|
4
|
+
"rules_version": "1.3.1"
|
5
|
+
},
|
3
6
|
"rules": [
|
4
7
|
{
|
5
8
|
"id": "crs-913-110",
|
6
|
-
"name": "
|
9
|
+
"name": "Acunetix",
|
7
10
|
"tags": {
|
8
11
|
"type": "security_scanner",
|
9
12
|
"crs_id": "913110",
|
@@ -21,7 +24,8 @@
|
|
21
24
|
"acunetix-product",
|
22
25
|
"(acunetix web vulnerability scanner",
|
23
26
|
"acunetix-scanning-agreement",
|
24
|
-
"acunetix-user-agreement"
|
27
|
+
"acunetix-user-agreement",
|
28
|
+
"md5(acunetix_wvs_security_test)"
|
25
29
|
]
|
26
30
|
},
|
27
31
|
"operator": "phrase_match"
|
@@ -33,7 +37,7 @@
|
|
33
37
|
},
|
34
38
|
{
|
35
39
|
"id": "crs-913-120",
|
36
|
-
"name": "
|
40
|
+
"name": "Known security scanner filename/argument",
|
37
41
|
"tags": {
|
38
42
|
"type": "security_scanner",
|
39
43
|
"crs_id": "913120",
|
@@ -228,7 +232,9 @@
|
|
228
232
|
"operator": "match_regex"
|
229
233
|
}
|
230
234
|
],
|
231
|
-
"transformers": [
|
235
|
+
"transformers": [
|
236
|
+
"normalizePath"
|
237
|
+
]
|
232
238
|
},
|
233
239
|
{
|
234
240
|
"id": "crs-930-110",
|
@@ -274,9 +280,6 @@
|
|
274
280
|
{
|
275
281
|
"parameters": {
|
276
282
|
"inputs": [
|
277
|
-
{
|
278
|
-
"address": "server.request.cookies"
|
279
|
-
},
|
280
283
|
{
|
281
284
|
"address": "server.request.query"
|
282
285
|
},
|
@@ -291,53 +294,54 @@
|
|
291
294
|
}
|
292
295
|
],
|
293
296
|
"list": [
|
294
|
-
"
|
295
|
-
"
|
296
|
-
"
|
297
|
-
"
|
298
|
-
"
|
299
|
-
"
|
300
|
-
"
|
301
|
-
"
|
302
|
-
"
|
303
|
-
"
|
297
|
+
"/.htaccess",
|
298
|
+
"/.htdigest",
|
299
|
+
"/.htpasswd",
|
300
|
+
"/.addressbook",
|
301
|
+
"/.aptitude/config",
|
302
|
+
"/.bash_config",
|
303
|
+
"/.bash_history",
|
304
|
+
"/.bash_logout",
|
305
|
+
"/.bash_profile",
|
306
|
+
"/.bashrc",
|
304
307
|
".cache/notify-osd.log",
|
305
308
|
".config/odesk/odesk team.conf",
|
306
|
-
"
|
307
|
-
"
|
309
|
+
"/.cshrc",
|
310
|
+
"/.dockerignore",
|
308
311
|
".drush/",
|
309
|
-
"
|
310
|
-
"
|
311
|
-
"
|
312
|
-
"
|
313
|
-
".
|
314
|
-
"
|
312
|
+
"/.eslintignore",
|
313
|
+
"/.fbcindex",
|
314
|
+
"/.forward",
|
315
|
+
"/.git",
|
316
|
+
".git/",
|
317
|
+
"/.gitattributes",
|
318
|
+
"/.gitconfig",
|
315
319
|
".gnupg/",
|
316
320
|
".hplip/hplip.conf",
|
317
|
-
"
|
318
|
-
"
|
321
|
+
"/.ksh_history",
|
322
|
+
"/.lesshst",
|
319
323
|
".lftp/",
|
320
|
-
"
|
321
|
-
"
|
324
|
+
"/.lhistory",
|
325
|
+
"/.lldb-history",
|
322
326
|
".local/share/mc/",
|
323
|
-
"
|
324
|
-
"
|
325
|
-
"
|
326
|
-
"
|
327
|
-
"
|
328
|
-
"
|
329
|
-
"
|
330
|
-
"
|
327
|
+
"/.lynx_cookies",
|
328
|
+
"/.my.cnf",
|
329
|
+
"/.mysql_history",
|
330
|
+
"/.nano_history",
|
331
|
+
"/.node_repl_history",
|
332
|
+
"/.pearrc",
|
333
|
+
"/.php_history",
|
334
|
+
"/.pinerc",
|
331
335
|
".pki/",
|
332
|
-
"
|
333
|
-
"
|
334
|
-
"
|
335
|
-
"
|
336
|
-
"
|
337
|
-
"
|
338
|
-
"
|
339
|
-
"
|
340
|
-
"
|
336
|
+
"/.proclog",
|
337
|
+
"/.procmailrc",
|
338
|
+
"/.psql_history",
|
339
|
+
"/.python_history",
|
340
|
+
"/.rediscli_history",
|
341
|
+
"/.rhistory",
|
342
|
+
"/.rhosts",
|
343
|
+
"/.sh_history",
|
344
|
+
"/.sqlite_history",
|
341
345
|
".ssh/authorized_keys",
|
342
346
|
".ssh/config",
|
343
347
|
".ssh/id_dsa",
|
@@ -351,17 +355,17 @@
|
|
351
355
|
".subversion/config",
|
352
356
|
".subversion/servers",
|
353
357
|
".tconn/tconn.conf",
|
354
|
-
"
|
358
|
+
"/.tcshrc",
|
355
359
|
".vidalia/vidalia.conf",
|
356
|
-
"
|
357
|
-
"
|
358
|
-
"
|
359
|
-
"
|
360
|
-
"
|
361
|
-
"
|
362
|
-
"
|
363
|
-
"
|
364
|
-
"
|
360
|
+
"/.viminfo",
|
361
|
+
"/.vimrc",
|
362
|
+
"/.www_acl",
|
363
|
+
"/.wwwacl",
|
364
|
+
"/.xauthority",
|
365
|
+
"/.zhistory",
|
366
|
+
"/.zshrc",
|
367
|
+
"/.zsh_history",
|
368
|
+
"/.nsconfig",
|
365
369
|
"etc/redis.conf",
|
366
370
|
"etc/redis-sentinel.conf",
|
367
371
|
"etc/php.ini",
|
@@ -1343,26 +1347,26 @@
|
|
1343
1347
|
"etc/vmware-tools/vmware-tools-libraries.conf",
|
1344
1348
|
"var/log/vmware/hostd.log",
|
1345
1349
|
"var/log/vmware/hostd-1.log",
|
1346
|
-
"wp-config.php",
|
1347
|
-
"wp-config.bak",
|
1348
|
-
"wp-config.old",
|
1349
|
-
"wp-config.temp",
|
1350
|
-
"wp-config.tmp",
|
1351
|
-
"wp-config.txt",
|
1352
|
-
"config.yml",
|
1353
|
-
"config_dev.yml",
|
1354
|
-
"config_prod.yml",
|
1355
|
-
"config_test.yml",
|
1356
|
-
"parameters.yml",
|
1357
|
-
"routing.yml",
|
1358
|
-
"security.yml",
|
1359
|
-
"services.yml",
|
1350
|
+
"/wp-config.php",
|
1351
|
+
"/wp-config.bak",
|
1352
|
+
"/wp-config.old",
|
1353
|
+
"/wp-config.temp",
|
1354
|
+
"/wp-config.tmp",
|
1355
|
+
"/wp-config.txt",
|
1356
|
+
"/config.yml",
|
1357
|
+
"/config_dev.yml",
|
1358
|
+
"/config_prod.yml",
|
1359
|
+
"/config_test.yml",
|
1360
|
+
"/parameters.yml",
|
1361
|
+
"/routing.yml",
|
1362
|
+
"/security.yml",
|
1363
|
+
"/services.yml",
|
1360
1364
|
"sites/default/default.settings.php",
|
1361
1365
|
"sites/default/settings.php",
|
1362
1366
|
"sites/default/settings.local.php",
|
1363
1367
|
"app/etc/local.xml",
|
1364
|
-
"sftp-config.json",
|
1365
|
-
"web.config",
|
1368
|
+
"/sftp-config.json",
|
1369
|
+
"/web.config",
|
1366
1370
|
"includes/config.php",
|
1367
1371
|
"includes/configure.php",
|
1368
1372
|
"config.inc.php",
|
@@ -1386,26 +1390,27 @@
|
|
1386
1390
|
"system32/config/system",
|
1387
1391
|
"system32/config/software",
|
1388
1392
|
"winnt/repair/sam._",
|
1389
|
-
"package.json",
|
1390
|
-
"package-lock.json",
|
1391
|
-
"gruntfile.js",
|
1392
|
-
"npm-debug.log",
|
1393
|
-
"ormconfig.json",
|
1394
|
-
"tsconfig.json",
|
1395
|
-
"webpack.config.js",
|
1396
|
-
"yarn.lock"
|
1393
|
+
"/package.json",
|
1394
|
+
"/package-lock.json",
|
1395
|
+
"/gruntfile.js",
|
1396
|
+
"/npm-debug.log",
|
1397
|
+
"/ormconfig.json",
|
1398
|
+
"/tsconfig.json",
|
1399
|
+
"/webpack.config.js",
|
1400
|
+
"/yarn.lock"
|
1397
1401
|
]
|
1398
1402
|
},
|
1399
1403
|
"operator": "phrase_match"
|
1400
1404
|
}
|
1401
1405
|
],
|
1402
1406
|
"transformers": [
|
1403
|
-
"lowercase"
|
1407
|
+
"lowercase",
|
1408
|
+
"normalizePath"
|
1404
1409
|
]
|
1405
1410
|
},
|
1406
1411
|
{
|
1407
1412
|
"id": "crs-931-110",
|
1408
|
-
"name": "
|
1413
|
+
"name": "RFI: Common RFI Vulnerable Parameter Name used w/ URL Payload",
|
1409
1414
|
"tags": {
|
1410
1415
|
"type": "rfi",
|
1411
1416
|
"crs_id": "931110",
|
@@ -1431,7 +1436,7 @@
|
|
1431
1436
|
},
|
1432
1437
|
{
|
1433
1438
|
"id": "crs-931-120",
|
1434
|
-
"name": "
|
1439
|
+
"name": "RFI: URL Payload Used w/Trailing Question Mark Character (?)",
|
1435
1440
|
"tags": {
|
1436
1441
|
"type": "rfi",
|
1437
1442
|
"crs_id": "931120",
|
@@ -1474,9 +1479,6 @@
|
|
1474
1479
|
{
|
1475
1480
|
"parameters": {
|
1476
1481
|
"inputs": [
|
1477
|
-
{
|
1478
|
-
"address": "server.request.cookies"
|
1479
|
-
},
|
1480
1482
|
{
|
1481
1483
|
"address": "server.request.query"
|
1482
1484
|
},
|
@@ -1774,9 +1776,6 @@
|
|
1774
1776
|
{
|
1775
1777
|
"parameters": {
|
1776
1778
|
"inputs": [
|
1777
|
-
{
|
1778
|
-
"address": "server.request.cookies"
|
1779
|
-
},
|
1780
1779
|
{
|
1781
1780
|
"address": "server.request.query"
|
1782
1781
|
},
|
@@ -1831,9 +1830,6 @@
|
|
1831
1830
|
{
|
1832
1831
|
"parameters": {
|
1833
1832
|
"inputs": [
|
1834
|
-
{
|
1835
|
-
"address": "server.request.cookies"
|
1836
|
-
},
|
1837
1833
|
{
|
1838
1834
|
"address": "server.request.query"
|
1839
1835
|
},
|
@@ -1870,9 +1866,6 @@
|
|
1870
1866
|
{
|
1871
1867
|
"parameters": {
|
1872
1868
|
"inputs": [
|
1873
|
-
{
|
1874
|
-
"address": "server.request.cookies"
|
1875
|
-
},
|
1876
1869
|
{
|
1877
1870
|
"address": "server.request.query"
|
1878
1871
|
},
|
@@ -1908,9 +1901,6 @@
|
|
1908
1901
|
{
|
1909
1902
|
"parameters": {
|
1910
1903
|
"inputs": [
|
1911
|
-
{
|
1912
|
-
"address": "server.request.cookies"
|
1913
|
-
},
|
1914
1904
|
{
|
1915
1905
|
"address": "server.request.query"
|
1916
1906
|
},
|
@@ -1990,9 +1980,6 @@
|
|
1990
1980
|
{
|
1991
1981
|
"parameters": {
|
1992
1982
|
"inputs": [
|
1993
|
-
{
|
1994
|
-
"address": "server.request.cookies"
|
1995
|
-
},
|
1996
1983
|
{
|
1997
1984
|
"address": "server.request.query"
|
1998
1985
|
},
|
@@ -2028,9 +2015,6 @@
|
|
2028
2015
|
{
|
2029
2016
|
"parameters": {
|
2030
2017
|
"inputs": [
|
2031
|
-
{
|
2032
|
-
"address": "server.request.cookies"
|
2033
|
-
},
|
2034
2018
|
{
|
2035
2019
|
"address": "server.request.headers.no_cookies"
|
2036
2020
|
},
|
@@ -2070,9 +2054,6 @@
|
|
2070
2054
|
{
|
2071
2055
|
"parameters": {
|
2072
2056
|
"inputs": [
|
2073
|
-
{
|
2074
|
-
"address": "server.request.cookies"
|
2075
|
-
},
|
2076
2057
|
{
|
2077
2058
|
"address": "server.request.query"
|
2078
2059
|
},
|
@@ -2111,9 +2092,6 @@
|
|
2111
2092
|
{
|
2112
2093
|
"parameters": {
|
2113
2094
|
"inputs": [
|
2114
|
-
{
|
2115
|
-
"address": "server.request.cookies"
|
2116
|
-
},
|
2117
2095
|
{
|
2118
2096
|
"address": "server.request.query"
|
2119
2097
|
},
|
@@ -2150,9 +2128,6 @@
|
|
2150
2128
|
{
|
2151
2129
|
"parameters": {
|
2152
2130
|
"inputs": [
|
2153
|
-
{
|
2154
|
-
"address": "server.request.cookies"
|
2155
|
-
},
|
2156
2131
|
{
|
2157
2132
|
"address": "server.request.headers.no_cookies",
|
2158
2133
|
"key_path": [
|
@@ -2198,9 +2173,6 @@
|
|
2198
2173
|
{
|
2199
2174
|
"parameters": {
|
2200
2175
|
"inputs": [
|
2201
|
-
{
|
2202
|
-
"address": "server.request.cookies"
|
2203
|
-
},
|
2204
2176
|
{
|
2205
2177
|
"address": "server.request.headers.no_cookies",
|
2206
2178
|
"key_path": [
|
@@ -2250,9 +2222,6 @@
|
|
2250
2222
|
{
|
2251
2223
|
"parameters": {
|
2252
2224
|
"inputs": [
|
2253
|
-
{
|
2254
|
-
"address": "server.request.cookies"
|
2255
|
-
},
|
2256
2225
|
{
|
2257
2226
|
"address": "server.request.headers.no_cookies",
|
2258
2227
|
"key_path": [
|
@@ -2302,9 +2271,6 @@
|
|
2302
2271
|
{
|
2303
2272
|
"parameters": {
|
2304
2273
|
"inputs": [
|
2305
|
-
{
|
2306
|
-
"address": "server.request.cookies"
|
2307
|
-
},
|
2308
2274
|
{
|
2309
2275
|
"address": "server.request.headers.no_cookies",
|
2310
2276
|
"key_path": [
|
@@ -2354,9 +2320,6 @@
|
|
2354
2320
|
{
|
2355
2321
|
"parameters": {
|
2356
2322
|
"inputs": [
|
2357
|
-
{
|
2358
|
-
"address": "server.request.cookies"
|
2359
|
-
},
|
2360
2323
|
{
|
2361
2324
|
"address": "server.request.query"
|
2362
2325
|
},
|
@@ -2400,9 +2363,6 @@
|
|
2400
2363
|
{
|
2401
2364
|
"parameters": {
|
2402
2365
|
"inputs": [
|
2403
|
-
{
|
2404
|
-
"address": "server.request.cookies"
|
2405
|
-
},
|
2406
2366
|
{
|
2407
2367
|
"address": "server.request.query"
|
2408
2368
|
},
|
@@ -2441,9 +2401,6 @@
|
|
2441
2401
|
{
|
2442
2402
|
"parameters": {
|
2443
2403
|
"inputs": [
|
2444
|
-
{
|
2445
|
-
"address": "server.request.cookies"
|
2446
|
-
},
|
2447
2404
|
{
|
2448
2405
|
"address": "server.request.query"
|
2449
2406
|
},
|
@@ -2482,9 +2439,6 @@
|
|
2482
2439
|
{
|
2483
2440
|
"parameters": {
|
2484
2441
|
"inputs": [
|
2485
|
-
{
|
2486
|
-
"address": "server.request.cookies"
|
2487
|
-
},
|
2488
2442
|
{
|
2489
2443
|
"address": "server.request.query"
|
2490
2444
|
},
|
@@ -2523,9 +2477,6 @@
|
|
2523
2477
|
{
|
2524
2478
|
"parameters": {
|
2525
2479
|
"inputs": [
|
2526
|
-
{
|
2527
|
-
"address": "server.request.cookies"
|
2528
|
-
},
|
2529
2480
|
{
|
2530
2481
|
"address": "server.request.query"
|
2531
2482
|
},
|
@@ -2563,9 +2514,6 @@
|
|
2563
2514
|
{
|
2564
2515
|
"parameters": {
|
2565
2516
|
"inputs": [
|
2566
|
-
{
|
2567
|
-
"address": "server.request.cookies"
|
2568
|
-
},
|
2569
2517
|
{
|
2570
2518
|
"address": "server.request.query"
|
2571
2519
|
},
|
@@ -2605,9 +2553,6 @@
|
|
2605
2553
|
{
|
2606
2554
|
"parameters": {
|
2607
2555
|
"inputs": [
|
2608
|
-
{
|
2609
|
-
"address": "server.request.cookies"
|
2610
|
-
},
|
2611
2556
|
{
|
2612
2557
|
"address": "server.request.query"
|
2613
2558
|
},
|
@@ -2645,9 +2590,6 @@
|
|
2645
2590
|
{
|
2646
2591
|
"parameters": {
|
2647
2592
|
"inputs": [
|
2648
|
-
{
|
2649
|
-
"address": "server.request.cookies"
|
2650
|
-
},
|
2651
2593
|
{
|
2652
2594
|
"address": "server.request.query"
|
2653
2595
|
},
|
@@ -2685,9 +2627,6 @@
|
|
2685
2627
|
{
|
2686
2628
|
"parameters": {
|
2687
2629
|
"inputs": [
|
2688
|
-
{
|
2689
|
-
"address": "server.request.cookies"
|
2690
|
-
},
|
2691
2630
|
{
|
2692
2631
|
"address": "server.request.query"
|
2693
2632
|
},
|
@@ -2725,9 +2664,6 @@
|
|
2725
2664
|
{
|
2726
2665
|
"parameters": {
|
2727
2666
|
"inputs": [
|
2728
|
-
{
|
2729
|
-
"address": "server.request.cookies"
|
2730
|
-
},
|
2731
2667
|
{
|
2732
2668
|
"address": "server.request.query"
|
2733
2669
|
},
|
@@ -2765,9 +2701,6 @@
|
|
2765
2701
|
{
|
2766
2702
|
"parameters": {
|
2767
2703
|
"inputs": [
|
2768
|
-
{
|
2769
|
-
"address": "server.request.cookies"
|
2770
|
-
},
|
2771
2704
|
{
|
2772
2705
|
"address": "server.request.query"
|
2773
2706
|
},
|
@@ -2804,9 +2737,6 @@
|
|
2804
2737
|
{
|
2805
2738
|
"parameters": {
|
2806
2739
|
"inputs": [
|
2807
|
-
{
|
2808
|
-
"address": "server.request.cookies"
|
2809
|
-
},
|
2810
2740
|
{
|
2811
2741
|
"address": "server.request.query"
|
2812
2742
|
},
|
@@ -2843,9 +2773,6 @@
|
|
2843
2773
|
{
|
2844
2774
|
"parameters": {
|
2845
2775
|
"inputs": [
|
2846
|
-
{
|
2847
|
-
"address": "server.request.cookies"
|
2848
|
-
},
|
2849
2776
|
{
|
2850
2777
|
"address": "server.request.query"
|
2851
2778
|
},
|
@@ -2867,44 +2794,6 @@
|
|
2867
2794
|
"removeNulls"
|
2868
2795
|
]
|
2869
2796
|
},
|
2870
|
-
{
|
2871
|
-
"id": "crs-942-140",
|
2872
|
-
"name": "SQL Injection Attack: Common DB Names Detected",
|
2873
|
-
"tags": {
|
2874
|
-
"type": "sql_injection",
|
2875
|
-
"crs_id": "942140",
|
2876
|
-
"category": "attack_attempt"
|
2877
|
-
},
|
2878
|
-
"conditions": [
|
2879
|
-
{
|
2880
|
-
"parameters": {
|
2881
|
-
"inputs": [
|
2882
|
-
{
|
2883
|
-
"address": "server.request.cookies"
|
2884
|
-
},
|
2885
|
-
{
|
2886
|
-
"address": "server.request.query"
|
2887
|
-
},
|
2888
|
-
{
|
2889
|
-
"address": "server.request.body"
|
2890
|
-
},
|
2891
|
-
{
|
2892
|
-
"address": "server.request.path_params"
|
2893
|
-
},
|
2894
|
-
{
|
2895
|
-
"address": "grpc.server.request.message"
|
2896
|
-
}
|
2897
|
-
],
|
2898
|
-
"regex": "\\b(?:(?:m(?:s(?:ys(?:ac(?:cess(?:objects|storage|xml)|es)|(?:relationship|object|querie)s|modules2?)|db)|aster\\.\\.sysdatabases|ysql\\.db)|pg_(?:catalog|toast)|information_schema|northwind|tempdb)\\b|s(?:(?:ys(?:\\.database_name|aux)|qlite(?:_temp)?_master)\\b|chema(?:_name\\b|\\W*\\())|d(?:atabas|b_nam)e\\W*\\()",
|
2899
|
-
"options": {
|
2900
|
-
"min_length": 4
|
2901
|
-
}
|
2902
|
-
},
|
2903
|
-
"operator": "match_regex"
|
2904
|
-
}
|
2905
|
-
],
|
2906
|
-
"transformers": []
|
2907
|
-
},
|
2908
2797
|
{
|
2909
2798
|
"id": "crs-942-160",
|
2910
2799
|
"name": "Detects blind sqli tests using sleep() or benchmark()",
|
@@ -2917,9 +2806,6 @@
|
|
2917
2806
|
{
|
2918
2807
|
"parameters": {
|
2919
2808
|
"inputs": [
|
2920
|
-
{
|
2921
|
-
"address": "server.request.cookies"
|
2922
|
-
},
|
2923
2809
|
{
|
2924
2810
|
"address": "server.request.query"
|
2925
2811
|
},
|
@@ -2956,9 +2842,6 @@
|
|
2956
2842
|
{
|
2957
2843
|
"parameters": {
|
2958
2844
|
"inputs": [
|
2959
|
-
{
|
2960
|
-
"address": "server.request.cookies"
|
2961
|
-
},
|
2962
2845
|
{
|
2963
2846
|
"address": "server.request.query"
|
2964
2847
|
},
|
@@ -2982,45 +2865,6 @@
|
|
2982
2865
|
],
|
2983
2866
|
"transformers": []
|
2984
2867
|
},
|
2985
|
-
{
|
2986
|
-
"id": "crs-942-220",
|
2987
|
-
"name": "Looking for integer overflow attacks, these are taken from skipfish, except 2.2.2250738585072011e-308 is the \\\"magic number\\\" crash",
|
2988
|
-
"tags": {
|
2989
|
-
"type": "sql_injection",
|
2990
|
-
"crs_id": "942220",
|
2991
|
-
"category": "attack_attempt"
|
2992
|
-
},
|
2993
|
-
"conditions": [
|
2994
|
-
{
|
2995
|
-
"parameters": {
|
2996
|
-
"inputs": [
|
2997
|
-
{
|
2998
|
-
"address": "server.request.cookies"
|
2999
|
-
},
|
3000
|
-
{
|
3001
|
-
"address": "server.request.query"
|
3002
|
-
},
|
3003
|
-
{
|
3004
|
-
"address": "server.request.body"
|
3005
|
-
},
|
3006
|
-
{
|
3007
|
-
"address": "server.request.path_params"
|
3008
|
-
},
|
3009
|
-
{
|
3010
|
-
"address": "grpc.server.request.message"
|
3011
|
-
}
|
3012
|
-
],
|
3013
|
-
"regex": "^(?i:-0000023456|4294967295|4294967296|2147483648|2147483647|0000012345|-2147483648|-2147483649|0000023456|2.2250738585072007e-308|2.2250738585072011e-308|1e309)$",
|
3014
|
-
"options": {
|
3015
|
-
"case_sensitive": true,
|
3016
|
-
"min_length": 5
|
3017
|
-
}
|
3018
|
-
},
|
3019
|
-
"operator": "match_regex"
|
3020
|
-
}
|
3021
|
-
],
|
3022
|
-
"transformers": []
|
3023
|
-
},
|
3024
2868
|
{
|
3025
2869
|
"id": "crs-942-240",
|
3026
2870
|
"name": "Detects MySQL charset switch and MSSQL DoS attempts",
|
@@ -3033,9 +2877,6 @@
|
|
3033
2877
|
{
|
3034
2878
|
"parameters": {
|
3035
2879
|
"inputs": [
|
3036
|
-
{
|
3037
|
-
"address": "server.request.cookies"
|
3038
|
-
},
|
3039
2880
|
{
|
3040
2881
|
"address": "server.request.query"
|
3041
2882
|
},
|
@@ -3071,9 +2912,6 @@
|
|
3071
2912
|
{
|
3072
2913
|
"parameters": {
|
3073
2914
|
"inputs": [
|
3074
|
-
{
|
3075
|
-
"address": "server.request.cookies"
|
3076
|
-
},
|
3077
2915
|
{
|
3078
2916
|
"address": "server.request.query"
|
3079
2917
|
},
|
@@ -3100,7 +2938,7 @@
|
|
3100
2938
|
},
|
3101
2939
|
{
|
3102
2940
|
"id": "crs-942-270",
|
3103
|
-
"name": "
|
2941
|
+
"name": "Basic SQL injection",
|
3104
2942
|
"tags": {
|
3105
2943
|
"type": "sql_injection",
|
3106
2944
|
"crs_id": "942270",
|
@@ -3110,9 +2948,6 @@
|
|
3110
2948
|
{
|
3111
2949
|
"parameters": {
|
3112
2950
|
"inputs": [
|
3113
|
-
{
|
3114
|
-
"address": "server.request.cookies"
|
3115
|
-
},
|
3116
2951
|
{
|
3117
2952
|
"address": "server.request.query"
|
3118
2953
|
},
|
@@ -3138,7 +2973,7 @@
|
|
3138
2973
|
},
|
3139
2974
|
{
|
3140
2975
|
"id": "crs-942-280",
|
3141
|
-
"name": "
|
2976
|
+
"name": "SQL Injection with delay functions",
|
3142
2977
|
"tags": {
|
3143
2978
|
"type": "sql_injection",
|
3144
2979
|
"crs_id": "942280",
|
@@ -3148,9 +2983,6 @@
|
|
3148
2983
|
{
|
3149
2984
|
"parameters": {
|
3150
2985
|
"inputs": [
|
3151
|
-
{
|
3152
|
-
"address": "server.request.cookies"
|
3153
|
-
},
|
3154
2986
|
{
|
3155
2987
|
"address": "server.request.query"
|
3156
2988
|
},
|
@@ -3186,9 +3018,6 @@
|
|
3186
3018
|
{
|
3187
3019
|
"parameters": {
|
3188
3020
|
"inputs": [
|
3189
|
-
{
|
3190
|
-
"address": "server.request.cookies"
|
3191
|
-
},
|
3192
3021
|
{
|
3193
3022
|
"address": "server.request.query"
|
3194
3023
|
},
|
@@ -3211,7 +3040,9 @@
|
|
3211
3040
|
"operator": "match_regex"
|
3212
3041
|
}
|
3213
3042
|
],
|
3214
|
-
"transformers": [
|
3043
|
+
"transformers": [
|
3044
|
+
"keys_only"
|
3045
|
+
]
|
3215
3046
|
},
|
3216
3047
|
{
|
3217
3048
|
"id": "crs-942-360",
|
@@ -3225,9 +3056,6 @@
|
|
3225
3056
|
{
|
3226
3057
|
"parameters": {
|
3227
3058
|
"inputs": [
|
3228
|
-
{
|
3229
|
-
"address": "server.request.cookies"
|
3230
|
-
},
|
3231
3059
|
{
|
3232
3060
|
"address": "server.request.query"
|
3233
3061
|
},
|
@@ -3263,9 +3091,6 @@
|
|
3263
3091
|
{
|
3264
3092
|
"parameters": {
|
3265
3093
|
"inputs": [
|
3266
|
-
{
|
3267
|
-
"address": "server.request.cookies"
|
3268
|
-
},
|
3269
3094
|
{
|
3270
3095
|
"address": "server.request.query"
|
3271
3096
|
},
|
@@ -3302,9 +3127,6 @@
|
|
3302
3127
|
{
|
3303
3128
|
"parameters": {
|
3304
3129
|
"inputs": [
|
3305
|
-
{
|
3306
|
-
"address": "server.request.cookies"
|
3307
|
-
},
|
3308
3130
|
{
|
3309
3131
|
"address": "server.request.query"
|
3310
3132
|
},
|
@@ -3347,9 +3169,6 @@
|
|
3347
3169
|
{
|
3348
3170
|
"address": "server.request.path_params"
|
3349
3171
|
},
|
3350
|
-
{
|
3351
|
-
"address": "server.request.cookies"
|
3352
|
-
},
|
3353
3172
|
{
|
3354
3173
|
"address": "server.request.headers.no_cookies"
|
3355
3174
|
},
|
@@ -3391,9 +3210,6 @@
|
|
3391
3210
|
{
|
3392
3211
|
"address": "server.request.path_params"
|
3393
3212
|
},
|
3394
|
-
{
|
3395
|
-
"address": "server.request.cookies"
|
3396
|
-
},
|
3397
3213
|
{
|
3398
3214
|
"address": "server.request.headers.no_cookies"
|
3399
3215
|
},
|
@@ -3421,9 +3237,6 @@
|
|
3421
3237
|
{
|
3422
3238
|
"address": "server.request.path_params"
|
3423
3239
|
},
|
3424
|
-
{
|
3425
|
-
"address": "server.request.cookies"
|
3426
|
-
},
|
3427
3240
|
{
|
3428
3241
|
"address": "server.request.headers.no_cookies"
|
3429
3242
|
},
|
@@ -3465,9 +3278,6 @@
|
|
3465
3278
|
{
|
3466
3279
|
"address": "server.request.path_params"
|
3467
3280
|
},
|
3468
|
-
{
|
3469
|
-
"address": "server.request.cookies"
|
3470
|
-
},
|
3471
3281
|
{
|
3472
3282
|
"address": "server.request.headers.no_cookies"
|
3473
3283
|
},
|
@@ -3528,6 +3338,137 @@
|
|
3528
3338
|
"lowercase"
|
3529
3339
|
]
|
3530
3340
|
},
|
3341
|
+
{
|
3342
|
+
"id": "dog-000-001",
|
3343
|
+
"name": "Look for Cassandra injections",
|
3344
|
+
"tags": {
|
3345
|
+
"type": "nosql_injection",
|
3346
|
+
"category": "attack_attempt"
|
3347
|
+
},
|
3348
|
+
"conditions": [
|
3349
|
+
{
|
3350
|
+
"parameters": {
|
3351
|
+
"inputs": [
|
3352
|
+
{
|
3353
|
+
"address": "server.request.query"
|
3354
|
+
},
|
3355
|
+
{
|
3356
|
+
"address": "server.request.body"
|
3357
|
+
},
|
3358
|
+
{
|
3359
|
+
"address": "server.request.path_params"
|
3360
|
+
},
|
3361
|
+
{
|
3362
|
+
"address": "server.request.headers.no_cookies"
|
3363
|
+
}
|
3364
|
+
],
|
3365
|
+
"regex": "\\ballow\\s+filtering\\b"
|
3366
|
+
},
|
3367
|
+
"operator": "match_regex"
|
3368
|
+
}
|
3369
|
+
],
|
3370
|
+
"transformers": [
|
3371
|
+
"removeComments"
|
3372
|
+
]
|
3373
|
+
},
|
3374
|
+
{
|
3375
|
+
"id": "dog-000-002",
|
3376
|
+
"name": "OGNL - Look for formatting injection patterns",
|
3377
|
+
"tags": {
|
3378
|
+
"type": "java_code_injection",
|
3379
|
+
"category": "attack_attempt"
|
3380
|
+
},
|
3381
|
+
"conditions": [
|
3382
|
+
{
|
3383
|
+
"operator": "match_regex",
|
3384
|
+
"parameters": {
|
3385
|
+
"inputs": [
|
3386
|
+
{
|
3387
|
+
"address": "server.request.query"
|
3388
|
+
},
|
3389
|
+
{
|
3390
|
+
"address": "server.request.body"
|
3391
|
+
},
|
3392
|
+
{
|
3393
|
+
"address": "server.request.path_params"
|
3394
|
+
},
|
3395
|
+
{
|
3396
|
+
"address": "grpc.server.request.message"
|
3397
|
+
}
|
3398
|
+
],
|
3399
|
+
"regex": "[#%$]{[^}]+[^\\w\\s][^}]+}",
|
3400
|
+
"options": {
|
3401
|
+
"case_sensitive": true
|
3402
|
+
}
|
3403
|
+
}
|
3404
|
+
}
|
3405
|
+
],
|
3406
|
+
"transformers": []
|
3407
|
+
},
|
3408
|
+
{
|
3409
|
+
"id": "dog-000-003",
|
3410
|
+
"name": "OGNL - Detect OGNL exploitation primitives",
|
3411
|
+
"tags": {
|
3412
|
+
"type": "java_code_injection",
|
3413
|
+
"category": "attack_attempt"
|
3414
|
+
},
|
3415
|
+
"conditions": [
|
3416
|
+
{
|
3417
|
+
"operator": "match_regex",
|
3418
|
+
"parameters": {
|
3419
|
+
"inputs": [
|
3420
|
+
{
|
3421
|
+
"address": "server.request.query"
|
3422
|
+
},
|
3423
|
+
{
|
3424
|
+
"address": "server.request.body"
|
3425
|
+
},
|
3426
|
+
{
|
3427
|
+
"address": "server.request.path_params"
|
3428
|
+
},
|
3429
|
+
{
|
3430
|
+
"address": "server.request.headers.no_cookies"
|
3431
|
+
},
|
3432
|
+
{
|
3433
|
+
"address": "grpc.server.request.message"
|
3434
|
+
}
|
3435
|
+
],
|
3436
|
+
"regex": "[@#]ognl",
|
3437
|
+
"options": {
|
3438
|
+
"case_sensitive": true
|
3439
|
+
}
|
3440
|
+
}
|
3441
|
+
}
|
3442
|
+
],
|
3443
|
+
"transformers": []
|
3444
|
+
},
|
3445
|
+
{
|
3446
|
+
"id": "dog-000-004",
|
3447
|
+
"name": "Spring4Shell - Attempts to exploit the Spring4shell vulnerability",
|
3448
|
+
"tags": {
|
3449
|
+
"type": "exploit_detection",
|
3450
|
+
"category": "attack_attempt"
|
3451
|
+
},
|
3452
|
+
"conditions": [
|
3453
|
+
{
|
3454
|
+
"operator": "match_regex",
|
3455
|
+
"parameters": {
|
3456
|
+
"inputs": [
|
3457
|
+
{
|
3458
|
+
"address": "server.request.body"
|
3459
|
+
}
|
3460
|
+
],
|
3461
|
+
"regex": "^class\\.module\\.classLoader\\.",
|
3462
|
+
"options": {
|
3463
|
+
"case_sensitive": false
|
3464
|
+
}
|
3465
|
+
}
|
3466
|
+
}
|
3467
|
+
],
|
3468
|
+
"transformers": [
|
3469
|
+
"keys_only"
|
3470
|
+
]
|
3471
|
+
},
|
3531
3472
|
{
|
3532
3473
|
"id": "nfd-000-001",
|
3533
3474
|
"name": "Detect common directory discovery scans",
|
@@ -4158,15 +4099,23 @@
|
|
4158
4099
|
"parameters": {
|
4159
4100
|
"inputs": [
|
4160
4101
|
{
|
4161
|
-
"address": "server.request.
|
4102
|
+
"address": "server.request.query"
|
4103
|
+
},
|
4104
|
+
{
|
4105
|
+
"address": "server.request.body"
|
4106
|
+
},
|
4107
|
+
{
|
4108
|
+
"address": "server.request.path_params"
|
4162
4109
|
}
|
4163
4110
|
],
|
4164
|
-
"regex": "
|
4111
|
+
"regex": "^\\$(eq|ne|(l|g)te?|n?in|not|(n|x|)or|and|regex|where|expr|exists)$"
|
4165
4112
|
},
|
4166
4113
|
"operator": "match_regex"
|
4167
4114
|
}
|
4168
4115
|
],
|
4169
|
-
"transformers": [
|
4116
|
+
"transformers": [
|
4117
|
+
"keys_only"
|
4118
|
+
]
|
4170
4119
|
},
|
4171
4120
|
{
|
4172
4121
|
"id": "sqr-000-008",
|
@@ -4444,9 +4393,9 @@
|
|
4444
4393
|
},
|
4445
4394
|
{
|
4446
4395
|
"id": "sqr-000-017",
|
4447
|
-
"name": "
|
4396
|
+
"name": "Log4shell: Attempt to exploit log4j CVE-2021-44228",
|
4448
4397
|
"tags": {
|
4449
|
-
"type": "
|
4398
|
+
"type": "exploit_detection",
|
4450
4399
|
"category": "attack_attempt"
|
4451
4400
|
},
|
4452
4401
|
"conditions": [
|
@@ -5229,31 +5178,6 @@
|
|
5229
5178
|
],
|
5230
5179
|
"transformers": []
|
5231
5180
|
},
|
5232
|
-
{
|
5233
|
-
"id": "ua0-600-41x",
|
5234
|
-
"name": "Acunetix",
|
5235
|
-
"tags": {
|
5236
|
-
"type": "security_scanner",
|
5237
|
-
"category": "attack_attempt"
|
5238
|
-
},
|
5239
|
-
"conditions": [
|
5240
|
-
{
|
5241
|
-
"parameters": {
|
5242
|
-
"inputs": [
|
5243
|
-
{
|
5244
|
-
"address": "server.request.headers.no_cookies",
|
5245
|
-
"key_path": [
|
5246
|
-
"user-agent"
|
5247
|
-
]
|
5248
|
-
}
|
5249
|
-
],
|
5250
|
-
"regex": "md5\\(acunetix_wvs_security_test\\)"
|
5251
|
-
},
|
5252
|
-
"operator": "match_regex"
|
5253
|
-
}
|
5254
|
-
],
|
5255
|
-
"transformers": []
|
5256
|
-
},
|
5257
5181
|
{
|
5258
5182
|
"id": "ua0-600-42x",
|
5259
5183
|
"name": "OpenVAS",
|
@@ -5506,7 +5430,7 @@
|
|
5506
5430
|
},
|
5507
5431
|
{
|
5508
5432
|
"id": "ua0-600-52x",
|
5509
|
-
"name": "Nuclei
|
5433
|
+
"name": "Nuclei",
|
5510
5434
|
"tags": {
|
5511
5435
|
"type": "security_scanner",
|
5512
5436
|
"category": "attack_attempt"
|
@@ -5531,7 +5455,7 @@
|
|
5531
5455
|
},
|
5532
5456
|
{
|
5533
5457
|
"id": "ua0-600-53x",
|
5534
|
-
"name": "Tsunami
|
5458
|
+
"name": "Tsunami",
|
5535
5459
|
"tags": {
|
5536
5460
|
"type": "security_scanner",
|
5537
5461
|
"category": "attack_attempt"
|
@@ -5556,7 +5480,7 @@
|
|
5556
5480
|
},
|
5557
5481
|
{
|
5558
5482
|
"id": "ua0-600-54x",
|
5559
|
-
"name": "Nimbostratus
|
5483
|
+
"name": "Nimbostratus",
|
5560
5484
|
"tags": {
|
5561
5485
|
"type": "security_scanner",
|
5562
5486
|
"category": "attack_attempt"
|
@@ -5595,6 +5519,12 @@
|
|
5595
5519
|
"key_path": [
|
5596
5520
|
"user-agent"
|
5597
5521
|
]
|
5522
|
+
},
|
5523
|
+
{
|
5524
|
+
"address": "grpc.server.request.metadata",
|
5525
|
+
"key_path": [
|
5526
|
+
"dd-canary"
|
5527
|
+
]
|
5598
5528
|
}
|
5599
5529
|
],
|
5600
5530
|
"regex": "^dd-test-scanner-log$"
|
@@ -5606,7 +5536,7 @@
|
|
5606
5536
|
},
|
5607
5537
|
{
|
5608
5538
|
"id": "ua0-600-5xx",
|
5609
|
-
"name": "Blind
|
5539
|
+
"name": "Blind SQL Injection Brute Forcer",
|
5610
5540
|
"tags": {
|
5611
5541
|
"type": "security_scanner",
|
5612
5542
|
"category": "attack_attempt"
|