Skip to content

[APPSEC-60654] Emit warning when datasource app_sec_spans is used#3427

Open
TanguyLichau wants to merge 2 commits intomasterfrom
tanguy.lichau/deprecate-app-sec-spans
Open

[APPSEC-60654] Emit warning when datasource app_sec_spans is used#3427
TanguyLichau wants to merge 2 commits intomasterfrom
tanguy.lichau/deprecate-app-sec-spans

Conversation

@TanguyLichau
Copy link
Member

@TanguyLichau TanguyLichau commented Jan 15, 2026

What does this PR do?

As part of the appsecspan to trace track migration, we need to update the terraform provider to stop people from using the app_sec_spans datasource which converts to the appsecspan track in security-monitoring-api.
No breaking changes are introduced, only a warning message is displayed

Summary of the changes :

  • Display warning message when datasource is app_sec_spans datasource
  • Adds test for message

Warning message:

app_sec_spans datasource is deprecated
Use data_source = "spans" and add @appsec.security_activity:* to your query to keep the same behavior

@TanguyLichau TanguyLichau force-pushed the tanguy.lichau/deprecate-app-sec-spans branch 3 times, most recently from f7db153 to e6d87f3 Compare January 16, 2026 10:13
@DataDog DataDog deleted a comment from chatgpt-codex-connector bot Jan 16, 2026
@TanguyLichau TanguyLichau force-pushed the tanguy.lichau/deprecate-app-sec-spans branch from e6d87f3 to e7b68a3 Compare January 16, 2026 14:53
@TanguyLichau TanguyLichau changed the title Reject app_sec_spans datasource with error [APPSEC-60654] Reject app_sec_spans datasource with error Jan 19, 2026
@TanguyLichau TanguyLichau marked this pull request as ready for review January 19, 2026 12:50
@TanguyLichau TanguyLichau requested review from a team as code owners January 19, 2026 12:50
@TanguyLichau TanguyLichau force-pushed the tanguy.lichau/deprecate-app-sec-spans branch from e7b68a3 to d85d31d Compare January 19, 2026 14:04
@TanguyLichau TanguyLichau changed the title [APPSEC-60654] Reject app_sec_spans datasource with error [APPSEC-60654] Emit warning when datasource app_sec_spans is used Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant