-
Notifications
You must be signed in to change notification settings - Fork 457
fix(asm): decouple appsec #12212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
christophe-papazian
merged 29 commits into
main
from
christophe-papazian/decouple_appsec_from_tracer
Feb 7, 2025
Merged
fix(asm): decouple appsec #12212
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
befa9ac
decouple monkey
christophe-papazian f2d19ba
Merge remote-tracking branch 'origin/3.x-staging' into christophe-pap…
christophe-papazian abf96da
fix patch logic
christophe-papazian 27bee95
import iast only if enabled in asm_request_context
christophe-papazian 9e14f11
Merge remote-tracking branch 'origin/3.x-staging' into christophe-pap…
christophe-papazian ee6950d
factor logic
christophe-papazian bdca801
fix subprocess tests
christophe-papazian 517659d
ensure patch is working on windows
christophe-papazian f85e7d6
ensure unpatch is guarded
christophe-papazian c0a5e17
fix test
christophe-papazian c460b93
fix selenium test
christophe-papazian 1582b13
disable subprocess patches when asm disabled
christophe-papazian 4532d04
enable subprocess patches when iast enabled
christophe-papazian 5ec6f3b
ensure IAST is enabled at start for appsec_integrations_flask tests
christophe-papazian 05de3c1
disable iast explicitely when required
christophe-papazian 31739c8
Merge branch '3.x-staging' into christophe-papazian/decouple_appsec_f…
christophe-papazian 15a2561
more iast guards on pytest and langchain. remove dead code
christophe-papazian a265dd0
complete decoupling
christophe-papazian 20dbe8d
fix lint
christophe-papazian fed3053
unpatch less strict
christophe-papazian 0da9bea
revert test_serverless
christophe-papazian 47e11f9
Merge branch '3.x-staging' into christophe-papazian/decouple_appsec_f…
christophe-papazian e2d8767
fix subprocess test
christophe-papazian e74b6f9
Merge branch 'christophe-papazian/decouple_appsec_from_tracer' of git…
christophe-papazian cfa82c9
fix subprocess test
christophe-papazian 2d9d36c
add minimal test for loading module
christophe-papazian 6cad0b7
add release note
christophe-papazian 72b3bbc
make sure env vars are updated as expected for load_module test
christophe-papazian 01ef338
Merge branch 'main' into christophe-papazian/decouple_appsec_from_tracer
christophe-papazian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# this module must not load any other unsafe appsec module directly | ||
|
||
import os | ||
from re import Match | ||
import sys | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.