[[
  {
    "name": "django.request",
    "service": "django",
    "resource": "GET 404",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "meta": {
      "_dd.appsec.event_rules.version": "1.14.2",
      "_dd.appsec.fp.http.endpoint": "http-get-b8b6a5d3--",
      "_dd.appsec.fp.http.header": "hdr-0110000010-bcea973b-1-4740ae63",
      "_dd.appsec.fp.http.network": "net-0-0000000000",
      "_dd.appsec.fp.session": "ssn----",
      "_dd.appsec.rc_products": "[] u:0 r:2",
      "_dd.appsec.waf.version": "1.30.0",
      "_dd.base_service": "",
      "_dd.origin": "appsec",
      "_dd.p.dm": "-5",
      "_dd.p.tid": "689a0aeb00000000",
      "_dd.p.ts": "02",
      "_dd.runtime_family": "python",
      "actor.ip": "127.0.0.1",
      "appsec.event": "true",
      "asgi.version": "3.0",
      "component": "django",
      "django.request.class": "django.core.handlers.asgi.ASGIRequest",
      "django.response.class": "django.http.response.HttpResponseNotFound",
      "django.user.is_authenticated": "False",
      "http.client_ip": "127.0.0.1",
      "http.method": "GET",
      "http.request.headers.accept": "*/*",
      "http.request.headers.accept-encoding": "gzip, deflate",
      "http.request.headers.host": "localhost:8000",
      "http.request.headers.user-agent": "python-requests/2.32.3",
      "http.response.headers.content-length": "179",
      "http.response.headers.content-type": "text/html; charset=utf-8",
      "http.status_code": "404",
      "http.url": "http://localhost:8000/.git",
      "http.useragent": "python-requests/2.32.3",
      "http.version": "1.1",
      "language": "python",
      "network.client.ip": "127.0.0.1",
      "runtime-id": "1d43ccc33a8c4a7faa54516b35801d61",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.appsec.enabled": 1.0,
      "_dd.appsec.event_rules.error_count": 0,
      "_dd.appsec.event_rules.loaded": 166,
      "_dd.appsec.rasp.duration": 82.667,
      "_dd.appsec.rasp.duration_ext": 168.750062584877,
      "_dd.appsec.rasp.rule.eval": 3.0,
      "_dd.appsec.waf.duration": 181.166,
      "_dd.appsec.waf.duration_ext": 298.54197055101395,
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 2,
      "process_id": 14593
    },
    "duration": 13881625,
    "meta_struct": {
      "appsec": {
        "triggers": [
          {
            "rule": {
              "id": "nfd-000-006",
              "name": "Detect failed attempt to fetch sensitive files",
              "tags": {
                "type": "security_scanner",
                "category": "attack_attempt",
                "confidence": "1",
                "cwe": "200",
                "capec": "1000/118/169",
                "module": "waf"
              },
              "on_match": []
            },
            "rule_matches": [
              {
                "operator": "match_regex",
                "operator_value": "^404$",
                "parameters": [
                  {
                    "address": "server.response.status",
                    "key_path": [],
                    "value": "404",
                    "highlight": [
                      "404"
                    ]
                  }
                ]
              },
              {
                "operator": "match_regex",
                "operator_value": "\\.(cgi|bat|dll|exe|key|cert|crt|pem|der|pkcs|pkcs|pkcs[0-9]*|nsf|jsa|war|java|class|vb|vba|so|git|svn|hg|cvs)([?#&/]|$)",
                "parameters": [
                  {
                    "address": "server.request.uri.raw",
                    "key_path": [],
                    "value": "/.git",
                    "highlight": [
                      ".git"
                    ]
                  }
                ]
              }
            ],
            "span_id": 12543500013006596850
          }
        ]
      }
    },
    "start": 1754925803971905344
  },
     {
       "name": "django.middleware",
       "service": "django",
       "resource": "django.contrib.sessions.middleware.SessionMiddleware.__call__",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "meta": {
         "_dd.base_service": "",
         "component": "django"
       },
       "duration": 12236167,
       "start": 1754925803972655052
     },
        {
          "name": "django.middleware",
          "service": "django",
          "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request",
          "trace_id": 0,
          "span_id": 3,
          "parent_id": 2,
          "meta": {
            "_dd.base_service": "",
            "component": "django"
          },
          "duration": 20417,
          "start": 1754925803972689594
        },
        {
          "name": "django.middleware",
          "service": "django",
          "resource": "django.middleware.common.CommonMiddleware.__call__",
          "trace_id": 0,
          "span_id": 4,
          "parent_id": 2,
          "meta": {
            "_dd.base_service": "",
            "component": "django"
          },
          "duration": 12118875,
          "start": 1754925803972729886
        },
           {
             "name": "django.middleware",
             "service": "django",
             "resource": "django.middleware.common.CommonMiddleware.process_request",
             "trace_id": 0,
             "span_id": 6,
             "parent_id": 4,
             "meta": {
               "_dd.base_service": "",
               "component": "django"
             },
             "duration": 19792,
             "start": 1754925803972748177
           },
           {
             "name": "django.middleware",
             "service": "django",
             "resource": "django.middleware.csrf.CsrfViewMiddleware.__call__",
             "trace_id": 0,
             "span_id": 7,
             "parent_id": 4,
             "meta": {
               "_dd.base_service": "",
               "component": "django"
             },
             "duration": 11954958,
             "start": 1754925803972784094
           },
              {
                "name": "django.middleware",
                "service": "django",
                "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request",
                "trace_id": 0,
                "span_id": 9,
                "parent_id": 7,
                "meta": {
                  "_dd.base_service": "",
                  "component": "django"
                },
                "duration": 10250,
                "start": 1754925803972801594
              },
              {
                "name": "django.middleware",
                "service": "django",
                "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__",
                "trace_id": 0,
                "span_id": 10,
                "parent_id": 7,
                "meta": {
                  "_dd.base_service": "",
                  "component": "django"
                },
                "duration": 11868292,
                "start": 1754925803972827094
              },
                 {
                   "name": "django.middleware",
                   "service": "django",
                   "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request",
                   "trace_id": 0,
                   "span_id": 12,
                   "parent_id": 10,
                   "meta": {
                     "_dd.base_service": "",
                     "component": "django"
                   },
                   "duration": 41208,
                   "start": 1754925803972848594
                 },
                 {
                   "name": "django.middleware",
                   "service": "django",
                   "resource": "django.contrib.messages.middleware.MessageMiddleware.__call__",
                   "trace_id": 0,
                   "span_id": 13,
                   "parent_id": 10,
                   "meta": {
                     "_dd.base_service": "",
                     "component": "django"
                   },
                   "duration": 11781583,
                   "start": 1754925803972906594
                 },
                    {
                      "name": "django.middleware",
                      "service": "django",
                      "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request",
                      "trace_id": 0,
                      "span_id": 14,
                      "parent_id": 13,
                      "meta": {
                        "_dd.base_service": "",
                        "component": "django"
                      },
                      "duration": 25834,
                      "start": 1754925803972924427
                    },
                    {
                      "name": "django.middleware",
                      "service": "django",
                      "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__",
                      "trace_id": 0,
                      "span_id": 15,
                      "parent_id": 13,
                      "meta": {
                        "_dd.base_service": "",
                        "component": "django"
                      },
                      "duration": 11681500,
                      "start": 1754925803972968261
                    },
                       {
                         "name": "django.middleware",
                         "service": "django",
                         "resource": "django.middleware.security.SecurityMiddleware.__call__",
                         "trace_id": 0,
                         "span_id": 17,
                         "parent_id": 15,
                         "meta": {
                           "_dd.base_service": "",
                           "component": "django"
                         },
                         "duration": 11622875,
                         "start": 1754925803972988844
                       },
                          {
                            "name": "django.middleware",
                            "service": "django",
                            "resource": "django.middleware.security.SecurityMiddleware.process_request",
                            "trace_id": 0,
                            "span_id": 19,
                            "parent_id": 17,
                            "meta": {
                              "_dd.base_service": "",
                              "component": "django"
                            },
                            "duration": 15125,
                            "start": 1754925803973050386
                          },
                          {
                            "name": "django.middleware",
                            "service": "django",
                            "resource": "tests.contrib.django.middleware.ClsMiddleware.__call__",
                            "trace_id": 0,
                            "span_id": 20,
                            "parent_id": 17,
                            "meta": {
                              "_dd.base_service": "",
                              "component": "django"
                            },
                            "duration": 11472333,
                            "start": 1754925803973086636
                          },
                             {
                               "name": "django.middleware",
                               "service": "django",
                               "resource": "tests.contrib.django.middleware.fn_middleware",
                               "trace_id": 0,
                               "span_id": 22,
                               "parent_id": 20,
                               "meta": {
                                 "_dd.base_service": "",
                                 "component": "django"
                               },
                               "duration": 11447084,
                               "start": 1754925803973103052
                             },
                                {
                                  "name": "django.middleware",
                                  "service": "django",
                                  "resource": "tests.contrib.django.middleware.EverythingMiddleware.__call__",
                                  "trace_id": 0,
                                  "span_id": 23,
                                  "parent_id": 22,
                                  "meta": {
                                    "_dd.base_service": "",
                                    "component": "django"
                                  },
                                  "duration": 11410500,
                                  "start": 1754925803973121719
                                },
                                   {
                                     "name": "django.middleware",
                                     "service": "django",
                                     "resource": "django.views.decorators.csrf._EnsureCsrfToken.process_request",
                                     "trace_id": 0,
                                     "span_id": 24,
                                     "parent_id": 23,
                                     "meta": {
                                       "_dd.base_service": "",
                                       "component": "django"
                                     },
                                     "duration": 38666,
                                     "start": 1754925803975188011
                                   },
                                   {
                                     "name": "django.middleware",
                                     "service": "django",
                                     "resource": "django.views.decorators.csrf._EnsureCsrfToken.process_view",
                                     "trace_id": 0,
                                     "span_id": 25,
                                     "parent_id": 23,
                                     "meta": {
                                       "_dd.base_service": "",
                                       "component": "django"
                                     },
                                     "duration": 13208,
                                     "start": 1754925803975252719
                                   },
                                   {
                                     "name": "django.template.render",
                                     "service": "django",
                                     "resource": "django.template.base.Template.render",
                                     "trace_id": 0,
                                     "span_id": 26,
                                     "parent_id": 23,
                                     "type": "template",
                                     "meta": {
                                       "_dd.base_service": "",
                                       "component": "django",
                                       "django.template.engine.class": "django.template.engine.Engine"
                                     },
                                     "duration": 38708,
                                     "start": 1754925803984285594
                                   },
                                   {
                                     "name": "django.middleware",
                                     "service": "django",
                                     "resource": "django.views.decorators.csrf._EnsureCsrfToken.process_response",
                                     "trace_id": 0,
                                     "span_id": 27,
                                     "parent_id": 23,
                                     "meta": {
                                       "_dd.base_service": "",
                                       "component": "django"
                                     },
                                     "duration": 14167,
                                     "start": 1754925803984377052
                                   },
                          {
                            "name": "django.middleware",
                            "service": "django",
                            "resource": "django.middleware.security.SecurityMiddleware.process_response",
                            "trace_id": 0,
                            "span_id": 21,
                            "parent_id": 17,
                            "meta": {
                              "_dd.base_service": "",
                              "component": "django"
                            },
                            "duration": 22875,
                            "start": 1754925803984581677
                          },
                       {
                         "name": "django.middleware",
                         "service": "django",
                         "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response",
                         "trace_id": 0,
                         "span_id": 18,
                         "parent_id": 15,
                         "meta": {
                           "_dd.base_service": "",
                           "component": "django"
                         },
                         "duration": 14708,
                         "start": 1754925803984628636
                       },
                    {
                      "name": "django.middleware",
                      "service": "django",
                      "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response",
                      "trace_id": 0,
                      "span_id": 16,
                      "parent_id": 13,
                      "meta": {
                        "_dd.base_service": "",
                        "component": "django"
                      },
                      "duration": 13833,
                      "start": 1754925803984666761
                    },
              {
                "name": "django.middleware",
                "service": "django",
                "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response",
                "trace_id": 0,
                "span_id": 11,
                "parent_id": 7,
                "meta": {
                  "_dd.base_service": "",
                  "component": "django"
                },
                "duration": 11833,
                "start": 1754925803984719511
              },
           {
             "name": "django.middleware",
             "service": "django",
             "resource": "django.middleware.common.CommonMiddleware.process_response",
             "trace_id": 0,
             "span_id": 8,
             "parent_id": 4,
             "meta": {
               "_dd.base_service": "",
               "component": "django"
             },
             "duration": 82792,
             "start": 1754925803984756219
           },
        {
          "name": "django.middleware",
          "service": "django",
          "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response",
          "trace_id": 0,
          "span_id": 5,
          "parent_id": 2,
          "meta": {
            "_dd.base_service": "",
            "component": "django"
          },
          "duration": 17667,
          "start": 1754925803984867344
        }]]
