Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ jobs:
- name: Run APPSEC_STANDALONE scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_STANDALONE"')
run: ./run.sh APPSEC_STANDALONE
- name: Run APPSEC_APM_STANDALONE scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_APM_STANDALONE"')
run: ./run.sh APPSEC_APM_STANDALONE
- name: Run APPSEC_STANDALONE_APM_STANDALONE scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_STANDALONE_APM_STANDALONE"')
run: ./run.sh APPSEC_STANDALONE_APM_STANDALONE
- name: Run APPSEC_STANDALONE_API_SECURITY scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_STANDALONE_API_SECURITY"')
run: ./run.sh APPSEC_STANDALONE_API_SECURITY
Expand Down
9 changes: 5 additions & 4 deletions docs/edit/agent-interface-validation-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ def test_agent_trace_forwarding(self):
def test_appsec_agent_forwarding(self):
r = weblog.get("/", headers={"X-Attack": "' OR 1=1--"})

def appsec_validator(data, payload, chunk, span, appsec_data):
return "triggers" in appsec_data
appsec_spans = list(interfaces.agent.get_appsec_data(r))
assert len(appsec_spans) > 0

interfaces.agent.validate_appsec(r, appsec_validator)
for data, span, appsec_data in appsec_spans:
assert "triggers" in appsec_data
```

### Metrics Validation
Expand Down Expand Up @@ -186,4 +187,4 @@ This means:
- [Interface Initialization](../../utils/interfaces/__init__.py)
- [Library Interface Validation Methods](./library-interface-validation-methods.md)
- [End-to-End Testing Guide](../execute/README.md)
- [Adding New Tests](./add-new-test.md)
- [Adding New Tests](./add-new-test.md)
48 changes: 48 additions & 0 deletions manifests/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,54 @@ manifest:
tests/apm_tracing_e2e/test_single_span.py::Test_SingleSpan:
- declaration: missing_feature (Single Spans is not available in agents pre 7.40)
component_version: '<7.40.0'
tests/appsec/smoke_tests/test_apm_standalone.py:
- component_version: "<7.77.0-0"
declaration: irrelevant (APM Standalone option was added in 7.77.0)
tests/debugger/test_debugger_probe_snapshot.py::Test_Debugger_Line_Probe_Snaphots::test_log_line_snapshot:
- component_version: ">=7.79.0-devel"
weblog_declaration:
chi: bug (DEBUG-5421)
echo: bug (DEBUG-5421)
gin: bug (DEBUG-5421)
net-http: bug (DEBUG-5421)
net-http-orchestrion: bug (DEBUG-5421)
uds-echo: bug (DEBUG-5421)
tests/debugger/test_debugger_probe_snapshot.py::Test_Debugger_Line_Probe_Snaphots_With_SCM::test_log_line_snapshot:
- component_version: ">=7.79.0-devel"
weblog_declaration:
chi: bug (DEBUG-5421)
echo: bug (DEBUG-5421)
gin: bug (DEBUG-5421)
net-http: bug (DEBUG-5421)
net-http-orchestrion: bug (DEBUG-5421)
uds-echo: bug (DEBUG-5421)
tests/debugger/test_debugger_probe_snapshot.py::Test_Debugger_Method_Probe_Snaphots::test_log_method_snapshot:
- component_version: ">=7.79.0-devel"
weblog_declaration:
chi: bug (DEBUG-5421)
echo: bug (DEBUG-5421)
gin: bug (DEBUG-5421)
net-http: bug (DEBUG-5421)
net-http-orchestrion: bug (DEBUG-5421)
uds-echo: bug (DEBUG-5421)
tests/debugger/test_debugger_probe_snapshot.py::Test_Debugger_Method_Probe_Snaphots_With_SCM::test_log_method_snapshot:
- component_version: ">=7.79.0-devel"
weblog_declaration:
chi: bug (DEBUG-5421)
echo: bug (DEBUG-5421)
gin: bug (DEBUG-5421)
net-http: bug (DEBUG-5421)
net-http-orchestrion: bug (DEBUG-5421)
uds-echo: bug (DEBUG-5421)
tests/debugger/test_debugger_probe_status.py::Test_Debugger_Method_Probe_Statuses::test_log_method_status:
- component_version: ">=7.79.0-devel"
weblog_declaration:
chi: bug (DEBUG-5421)
echo: bug (DEBUG-5421)
gin: bug (DEBUG-5421)
net-http: bug (DEBUG-5421)
net-http-orchestrion: bug (DEBUG-5421)
uds-echo: bug (DEBUG-5421)
tests/integrations/test_open_telemetry.py::Test_MsSql::test_error_exception_event:
- component_version: "<7.75.0-0"
declaration: irrelevant (new behavior implement in 7.75.0)
Expand Down
12 changes: 12 additions & 0 deletions manifests/cpp_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ manifest:
tests/appsec/iast/test_security_controls.py: irrelevant (ASM is not implemented in C++)
tests/appsec/iast/test_vulnerability_schema.py: irrelevant (ASM is not implemented in C++)
tests/appsec/rasp/: irrelevant (ASM is not implemented in C++)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_ApiSecurity: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_RemoteConfig: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Telemetry: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Threats: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_UserEvents: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_ApiSecurity: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_RemoteConfig: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Telemetry: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Threats: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_UserEvents: missing_feature
tests/appsec/test_alpha.py: irrelevant (ASM is not implemented in C++)
tests/appsec/test_asm_standalone.py::Test_APISecurityStandalone: '>=1.12.0' # Modified by easy win activation script
tests/appsec/test_asm_standalone.py::Test_APISecurityStandalone::test_appsec_propagation_does_not_force_schema_collection: missing_feature # Created by easy win activation script
Expand Down
1 change: 1 addition & 0 deletions manifests/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ manifest:
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Telemetry_V2: v3.26.3
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_UrlQuery: v2.51.0
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: v3.4.1
tests/appsec/smoke_tests/test_apm_standalone.py: v3.41.0
tests/appsec/test_alpha.py::Test_Basic: v1.28.6
tests/appsec/test_asm_standalone.py::Test_APISecurityStandalone: v3.17.0
tests/appsec/test_asm_standalone.py::Test_AppSecStandalone_UpstreamPropagation_V2: v3.12.0
Expand Down
21 changes: 21 additions & 0 deletions manifests/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,27 @@ manifest:
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Telemetry_V2: v2.0.0
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_UrlQuery: v1.65.1
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: v2.0.0
tests/appsec/smoke_tests/test_apm_standalone.py: v2.7.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp::test_lfi_smoke:
- weblog_declaration:
"*": irrelevant (LFi detection requires orchestrion)
net-http-orchestrion: v2.7.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp::test_shi_smoke: irrelevant (there is no equivalent to system(3) in go)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
"*": irrelevant (LFi detection requires orchestrion)
net-http-orchestrion: v2.7.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_UserEvents: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp::test_lfi_smoke:
- weblog_declaration:
"*": irrelevant (LFi detection requires orchestrion)
net-http-orchestrion: v2.7.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp::test_shi_smoke: irrelevant (there is no equivalent to system(3) in go)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
"*": irrelevant (LFi detection requires orchestrion)
net-http-orchestrion: v2.7.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_UserEvents: missing_feature
tests/appsec/test_alpha.py::Test_Basic:
- weblog_declaration:
"*": v1.34.0
Expand Down
48 changes: 48 additions & 0 deletions manifests/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 +1497,54 @@ manifest:
- weblog_declaration:
"*": v1.40.0
spring-boot-3-native: irrelevant (GraalVM. Tracing support only)
tests/appsec/smoke_tests/test_apm_standalone.py:
- weblog_declaration:
"*": v1.60.3
spring-boot-3-native: irrelevant (GraalVM. Tracing support only)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp:
- weblog_declaration:
spring-boot-payara: missing_feature (APPSEC-54966)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp::test_ssrf_smoke:
- weblog_declaration:
vertx3: missing_feature (APPSEC-55781)
vertx4: missing_feature (APPSEC-55781)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
spring-boot-payara: missing_feature (APPSEC-54966)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_UserEvents:
- weblog_declaration:
akka-http: missing_feature (login endpoints not implemented)
jersey-grizzly2: missing_feature (login endpoints not implemented)
play: missing_feature (login endpoints not implemented)
ratpack: missing_feature (login endpoints not implemented)
resteasy-netty3: missing_feature (login endpoints not implemented)
vertx3: missing_feature (login endpoints not implemented)
vertx4: missing_feature (login endpoints not implemented)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_ApiSecurity:
- declaration: flaky (APPSEC-60872)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp:
- declaration: flaky (APPSEC-60872)
- weblog_declaration:
spring-boot-payara: missing_feature (APPSEC-54966)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp::test_ssrf_smoke:
- weblog_declaration:
vertx3: missing_feature (APPSEC-55781)
vertx4: missing_feature (APPSEC-55781)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
spring-boot-payara: missing_feature (APPSEC-54966)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Threats:
- declaration: flaky (APPSEC-60872)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_UserEvents:
- declaration: flaky (APPSEC-60872)
- weblog_declaration:
akka-http: missing_feature (login endpoints not implemented)
jersey-grizzly2: missing_feature (login endpoints not implemented)
play: missing_feature (login endpoints not implemented)
ratpack: missing_feature (login endpoints not implemented)
resteasy-netty3: missing_feature (login endpoints not implemented)
vertx3: missing_feature (login endpoints not implemented)
vertx4: missing_feature (login endpoints not implemented)
tests/appsec/test_alpha.py::Test_Basic:
- weblog_declaration:
"*": v0.87.0
Expand Down
21 changes: 21 additions & 0 deletions manifests/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,27 @@ manifest:
fastify: *ref_5_66_0
nextjs: missing_feature
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: *ref_5_25_0
tests/appsec/smoke_tests/test_apm_standalone.py: v5.92.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp:
- weblog_declaration:
nextjs: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
nextjs: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_UserEvents:
- weblog_declaration:
fastify: missing_feature
nextjs: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp:
- weblog_declaration:
nextjs: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_RemoteConfig::test_rasp_blocking_smoke:
- weblog_declaration:
nextjs: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_UserEvents:
- weblog_declaration:
fastify: missing_feature
nextjs: missing_feature
tests/appsec/test_alpha.py::Test_Basic: v2.0.0
tests/appsec/test_asm_standalone.py::BaseSCAStandaloneTelemetry::test_app_dependencies_loaded:
- weblog_declaration:
Expand Down
5 changes: 5 additions & 0 deletions manifests/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ manifest:
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Telemetry_V2: missing_feature
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_UrlQuery: v1.7.0
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: v1.7.0
tests/appsec/smoke_tests/test_apm_standalone.py: v1.18.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp::test_shi_smoke: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp::test_sqli_smoke: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp::test_shi_smoke: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp::test_sqli_smoke: missing_feature
tests/appsec/test_asm_standalone.py::Test_APISecurityStandalone: v1.11.0
tests/appsec/test_asm_standalone.py::Test_AppSecStandalone_NotEnabled: v1.6.2
tests/appsec/test_asm_standalone.py::Test_AppSecStandalone_UpstreamPropagation_V2: v1.8.0
Expand Down
1 change: 1 addition & 0 deletions manifests/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ manifest:
"*": v2.10.0
*django: v4.3.0-dev0 (with httpx support)
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: v2.15.0
tests/appsec/smoke_tests/test_apm_standalone.py: v4.6.0
tests/appsec/test_alpha.py::Test_Basic:
- weblog_declaration:
"*": v1.1.0-rc2
Expand Down
21 changes: 21 additions & 0 deletions manifests/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,27 @@ manifest:
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Telemetry_V2: missing_feature
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_UrlQuery: v2.14.0
tests/appsec/rasp/test_ssrf.py::Test_Ssrf_Waf_Version: missing_feature # requires Telemetry V2
tests/appsec/smoke_tests/test_apm_standalone.py: v2.31.0
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_Rasp: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_RemoteConfig::test_rasp_blocking_smoke: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecAPMStandalone_UserEvents:
- weblog_declaration:
rack: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
Comment thread
florentinl marked this conversation as resolved.
sinatra14: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra22: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra32: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra41: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
uds-sinatra: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_Rasp: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_RemoteConfig::test_rasp_blocking_smoke: missing_feature
tests/appsec/smoke_tests/test_apm_standalone.py::Test_AppSecStandaloneAPMStandalone_UserEvents:
- weblog_declaration:
rack: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra14: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra22: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra32: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
sinatra41: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
uds-sinatra: missing_feature (no instrumentation of authentication frameworks that work with sinatra or rack)
tests/appsec/test_asm_standalone.py::Test_APISecurityStandalone: v2.18.0
tests/appsec/test_asm_standalone.py::Test_AppSecStandalone_NotEnabled: v2.13.0
tests/appsec/test_asm_standalone.py::Test_AppSecStandalone_UpstreamPropagation_V2: v2.13.0
Expand Down
Empty file.
Loading
Loading