@@ -47,7 +47,7 @@ describe('Standalone ASM', () => {
4747 function assertKeep ( payload ) {
4848 const { meta, metrics } = payload
4949
50- assert . propertyVal ( meta , '_dd.p.appsec ' , '1 ' )
50+ assert . propertyVal ( meta , '_dd.p.ts ' , '02 ' )
5151
5252 assert . propertyVal ( metrics , '_sampling_priority_v1' , USER_KEEP )
5353 assert . propertyVal ( metrics , '_dd.apm.enabled' , 0 )
@@ -57,7 +57,7 @@ describe('Standalone ASM', () => {
5757 const { metrics } = payload
5858 assert . propertyVal ( metrics , '_sampling_priority_v1' , AUTO_REJECT )
5959 assert . propertyVal ( metrics , '_dd.apm.enabled' , 0 )
60- assert . notProperty ( metrics , '_dd.p.appsec ' )
60+ assert . notProperty ( metrics , '_dd.p.ts ' )
6161 }
6262
6363 async function doWarmupRequests ( procOrUrl , number = 3 ) {
@@ -99,7 +99,7 @@ describe('Standalone ASM', () => {
9999
100100 const { meta, metrics } = fifthReq [ 0 ]
101101 assert . notProperty ( meta , 'manual.keep' )
102- assert . notProperty ( meta , '_dd.p.appsec ' )
102+ assert . notProperty ( meta , '_dd.p.ts ' )
103103
104104 assert . propertyVal ( metrics , '_sampling_priority_v1' , AUTO_KEEP )
105105 assert . propertyVal ( metrics , '_dd.apm.enabled' , 0 )
@@ -207,7 +207,7 @@ describe('Standalone ASM', () => {
207207 } )
208208
209209 // proc/propagation-with-event triggers an appsec event and calls downstream proc2/down with no event
210- it ( 'should keep if parent trace is (prio:2, _dd.p.appsec:1 ) but there is no event in the local trace' ,
210+ it ( 'should keep if parent trace is (prio:2, _dd.p.ts:02 ) but there is no event in the local trace' ,
211211 async ( ) => {
212212 await doWarmupRequests ( proc )
213213 await doWarmupRequests ( proc2 )
@@ -284,7 +284,7 @@ describe('Standalone ASM', () => {
284284 const { meta, metrics } = payload [ 0 ] [ 0 ]
285285 assert . property ( meta , '_dd.iast.json' ) // WEAK_HASH and XCONTENTTYPE_HEADER_MISSING reported
286286
287- assert . notProperty ( meta , '_dd.p.appsec ' )
287+ assert . notProperty ( meta , '_dd.p.ts ' )
288288 assert . notProperty ( metrics , '_dd.apm.enabled' )
289289 } )
290290 } )
@@ -304,7 +304,7 @@ describe('Standalone ASM', () => {
304304 const { meta, metrics } = payload [ 0 ] [ 0 ]
305305 assert . property ( meta , '_dd.appsec.json' ) // crs-942-100 triggered
306306
307- assert . notProperty ( meta , '_dd.p.appsec ' )
307+ assert . notProperty ( meta , '_dd.p.ts ' )
308308 assert . notProperty ( metrics , '_dd.apm.enabled' )
309309 } )
310310 } )
0 commit comments