| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:107216ba-c285-4cc8-47d5-16404420daa6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B26C:1BF159:9E461:CD6E1:699042E8 |
| html-safe-nonce | 4059dd6b4f447390e443da3eae7bc6f773b72ade75f25c9e1d20eac046479bb2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjZDOjFCRjE1OTo5RTQ2MTpDRDZFMTo2OTkwNDJFOCIsInZpc2l0b3JfaWQiOiIzNTc4MjY0MjUzOTU2NjM3NDE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d27fa0f551e2737c09f246d6348b6b0db3d57fa670f809c299d4f16113b4043b |
| hovercard-subject-tag | pull_request:2808134511 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/DataDog/datadog-lambda-python/656/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/603637b5de5259e488d23b6fe0731e0bff06a8a1ab4cb77b4015b4773a71071d/DataDog/datadog-lambda-python/pull/656 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/603637b5de5259e488d23b6fe0731e0bff06a8a1ab4cb77b4015b4773a71071d/DataDog/datadog-lambda-python/pull/656 |
| og:image:alt | What does this PR do?
This PR ensures that when a request is blocked, the reported captured response and http.status_code comes from the blocking_response instead of the response.
Motivation
Curren... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | florentinl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/DataDog/datadog-lambda-python git https://github.com/DataDog/datadog-lambda-python.git |
| octolytics-dimension-user_id | 365230 |
| octolytics-dimension-user_login | DataDog |
| octolytics-dimension-repository_id | 183265904 |
| octolytics-dimension-repository_nwo | DataDog/datadog-lambda-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 183265904 |
| octolytics-dimension-repository_network_root_nwo | DataDog/datadog-lambda-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/DataDog/datadog-lambda-python/pull/656#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fdatadog-lambda-python%2Fpull%2F656 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fdatadog-lambda-python%2Fpull%2F656 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=DataDog%2Fdatadog-lambda-python |
| Reload | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| Reload | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| Reload | https://github.com/DataDog/datadog-lambda-python/pull/656 |
|
DataDog
| https://github.com/DataDog |
| datadog-lambda-python | https://github.com/DataDog/datadog-lambda-python |
|
Notifications
| https://github.com/login?return_to=%2FDataDog%2Fdatadog-lambda-python |
|
Fork
47
| https://github.com/login?return_to=%2FDataDog%2Fdatadog-lambda-python |
|
Star
97
| https://github.com/login?return_to=%2FDataDog%2Fdatadog-lambda-python |
|
Code
| https://github.com/DataDog/datadog-lambda-python |
|
Issues
5
| https://github.com/DataDog/datadog-lambda-python/issues |
|
Pull requests
12
| https://github.com/DataDog/datadog-lambda-python/pulls |
|
Actions
| https://github.com/DataDog/datadog-lambda-python/actions |
|
Security
0
| https://github.com/DataDog/datadog-lambda-python/security |
|
Insights
| https://github.com/DataDog/datadog-lambda-python/pulse |
|
Code
| https://github.com/DataDog/datadog-lambda-python |
|
Issues
| https://github.com/DataDog/datadog-lambda-python/issues |
|
Pull requests
| https://github.com/DataDog/datadog-lambda-python/pulls |
|
Actions
| https://github.com/DataDog/datadog-lambda-python/actions |
|
Security
| https://github.com/DataDog/datadog-lambda-python/security |
|
Insights
| https://github.com/DataDog/datadog-lambda-python/pulse |
| florentinl | https://github.com/florentinl |
| main | https://github.com/DataDog/datadog-lambda-python/tree/main |
| florentinl/fix-status-code-collection-on-blocked-response | https://github.com/DataDog/datadog-lambda-python/tree/florentinl/fix-status-code-collection-on-blocked-response |
| Conversation | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| Commits1 (1) | https://github.com/DataDog/datadog-lambda-python/pull/656/commits |
| Checks | https://github.com/DataDog/datadog-lambda-python/pull/656/checks |
| Files changed | https://github.com/DataDog/datadog-lambda-python/pull/656/files |
| [APPSEC]: report blocking_response payload and status code on blocked response | https://github.com/DataDog/datadog-lambda-python/pull/656#top |
| florentinl | https://github.com/florentinl |
| main | https://github.com/DataDog/datadog-lambda-python/tree/main |
| florentinl/fix-status-code-collection-on-blocked-response | https://github.com/DataDog/datadog-lambda-python/tree/florentinl/fix-status-code-collection-on-blocked-response |
|
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| Sep 8, 2025 | https://github.com/DataDog/datadog-lambda-python/pull/656#issue-3394074833 |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| force-pushed | https://github.com/DataDog/datadog-lambda-python/compare/f56463b34b76f9ccd04ae24e793ac33978bd9d45..005e6b3c87147422dbe4ef9a402d316dbb42823c |
| f56463b | https://github.com/DataDog/datadog-lambda-python/commit/f56463b34b76f9ccd04ae24e793ac33978bd9d45 |
| 005e6b3 | https://github.com/DataDog/datadog-lambda-python/commit/005e6b3c87147422dbe4ef9a402d316dbb42823c |
|
Compare
| https://github.com/DataDog/datadog-lambda-python/compare/f56463b34b76f9ccd04ae24e793ac33978bd9d45..005e6b3c87147422dbe4ef9a402d316dbb42823c |
| September 8, 2025 14:26 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19566572575 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| Sep 8, 2025 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19566987004 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| September 8, 2025 14:44 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19566993347 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| code owners | https://github.com/DataDog/datadog-lambda-python/blob/9c93e475318d2044d5b2a142f374d529483e9d33/.github/CODEOWNERS#L1 |
| September 8, 2025 14:44 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19566993586 |
| https://github.com/joeyzhao2018 |
| joeyzhao2018 | https://github.com/joeyzhao2018 |
|
Sep 8, 2025
| https://github.com/DataDog/datadog-lambda-python/pull/656#pullrequestreview-3197832573 |
|
View reviewed changes
| https://github.com/DataDog/datadog-lambda-python/pull/656/files |
| datadog_lambda/wrapper.py | https://github.com/DataDog/datadog-lambda-python/pull/656/files#diff-5efc779a7e3c73ebd812eb62ff5dce68db1e0ed9ef9765bb076638733e8c5ae6 |
| joeyzhao2018 | https://github.com/joeyzhao2018 |
| Sep 8, 2025 | https://github.com/DataDog/datadog-lambda-python/pull/656#discussion_r2331152318 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| florentinl | https://github.com/florentinl |
| Sep 9, 2025 | https://github.com/DataDog/datadog-lambda-python/pull/656#discussion_r2332478940 |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| https://github.com/joeyzhao2018 |
| joeyzhao2018 | https://github.com/joeyzhao2018 |
|
Sep 8, 2025
| https://github.com/DataDog/datadog-lambda-python/pull/656#pullrequestreview-3197832893 |
|
View reviewed changes
| https://github.com/DataDog/datadog-lambda-python/pull/656/files |
| joeyzhao2018 | https://github.com/joeyzhao2018 |
| https://github.com/DataDog/datadog-lambda-python/pull/656#pullrequestreview-3197832893 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| force-pushed | https://github.com/DataDog/datadog-lambda-python/compare/b17e18c3b74cb36b291a41b0c934caec180b27ec..fe3f87efd44979f5538e90bbc69912107f6cd163 |
| b17e18c | https://github.com/DataDog/datadog-lambda-python/commit/b17e18c3b74cb36b291a41b0c934caec180b27ec |
| fe3f87e | https://github.com/DataDog/datadog-lambda-python/commit/fe3f87efd44979f5538e90bbc69912107f6cd163 |
|
Compare
| https://github.com/DataDog/datadog-lambda-python/compare/b17e18c3b74cb36b291a41b0c934caec180b27ec..fe3f87efd44979f5538e90bbc69912107f6cd163 |
| September 9, 2025 14:27 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19591578352 |
|
| https://github.com/florentinl |
| fix(appsec): perform _after extractions on the blocking_response | https://github.com/DataDog/datadog-lambda-python/pull/656/commits/19fcf5f75d8de4b98d59b2f4afe6221f13a8a27d |
| 19fcf5f | https://github.com/DataDog/datadog-lambda-python/pull/656/commits/19fcf5f75d8de4b98d59b2f4afe6221f13a8a27d |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| force-pushed | https://github.com/DataDog/datadog-lambda-python/compare/fe3f87efd44979f5538e90bbc69912107f6cd163..19fcf5f75d8de4b98d59b2f4afe6221f13a8a27d |
| fe3f87e | https://github.com/DataDog/datadog-lambda-python/commit/fe3f87efd44979f5538e90bbc69912107f6cd163 |
| 19fcf5f | https://github.com/DataDog/datadog-lambda-python/commit/19fcf5f75d8de4b98d59b2f4afe6221f13a8a27d |
|
Compare
| https://github.com/DataDog/datadog-lambda-python/compare/fe3f87efd44979f5538e90bbc69912107f6cd163..19fcf5f75d8de4b98d59b2f4afe6221f13a8a27d |
| September 10, 2025 09:10 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19608387592 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| 2389ec3 | https://github.com/DataDog/datadog-lambda-python/commit/2389ec30f666eebcb8f5350ebb90853a72ee4e8b |
| Sep 10, 2025 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19610717320 |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
| https://github.com/florentinl |
| florentinl | https://github.com/florentinl |
| September 10, 2025 11:14 | https://github.com/DataDog/datadog-lambda-python/pull/656#event-19610718102 |
| https://github.co/hiddenchars |
| https://github.com/DataDog/datadog-lambda-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fdatadog-lambda-python%2Fpull%2F656 |
|
| https://github.com/joeyzhao2018 |
|
joeyzhao2018
| https://github.com/joeyzhao2018 |
|
| https://github.com/DataDog/datadog-lambda-python/pull/656/files/005e6b3c87147422dbe4ef9a402d316dbb42823c |
| Please reload this page | https://github.com/DataDog/datadog-lambda-python/pull/656 |
|
| https://github.com/florentinl |
|
| https://github.com/joeyzhao2018 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |