Re-remove more iast .so files by avara1986 · Pull Request #653 · DataDog/datadog-lambda-python

APPSEC-58746

PR DataDog/dd-trace-py#12774 was merged to address this.

What does this PR do?

Re-removes the ddtrace/appsec/_iast/_ast/iastpatch*.so file from the python layers.

Motivation

A change was made by the appsec team to the python tracer which inadvertently caused an import attempt on ddtrace/appsec/_iast/_ast/iastpatch*.so. This import would fail when using our python layer. We remove this file because it is large and iast doesn't work in serverless anyway.

Testing Guidelines

There is another open PR in the python tracer DataDog/dd-trace-py#14420 which will add explicit testing to ensure none of our removed files get imported.

Additional Notes

Note that the mentioned PR is merged but not yet released! Do not merge this until that PR has been released!

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)