File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1555,7 +1555,7 @@ describe('Config', () => {
1555
1555
1556
1556
expect ( config ) . to . have . nested . property ( 'apmTracingEnabled' , true )
1557
1557
expect ( config ) . to . have . nested . property ( 'appsec.apiSecurity.enabled' , true )
1558
- expect ( config ) . to . have . nested . property ( 'appsec.apiSecurity.endpointCollectionEnabled' , false )
1558
+ expect ( config ) . to . have . nested . property ( 'appsec.apiSecurity.endpointCollectionEnabled' , true )
1559
1559
expect ( config ) . to . have . nested . property ( 'appsec.apiSecurity.endpointCollectionMessageLimit' , 150 )
1560
1560
expect ( config ) . to . have . nested . property ( 'appsec.blockedTemplateGraphql' , BLOCKED_TEMPLATE_GRAPHQL )
1561
1561
expect ( config ) . to . have . nested . property ( 'appsec.blockedTemplateHtml' , BLOCKED_TEMPLATE_HTML )
@@ -1720,7 +1720,9 @@ describe('Config', () => {
1720
1720
expect ( config ) . to . have . deep . property ( 'appsec' , {
1721
1721
apiSecurity : {
1722
1722
enabled : true ,
1723
- sampleDelay : 30
1723
+ sampleDelay : 30 ,
1724
+ endpointCollectionEnabled : true ,
1725
+ endpointCollectionMessageLimit : 300
1724
1726
} ,
1725
1727
blockedTemplateGraphql : undefined ,
1726
1728
blockedTemplateHtml : undefined ,
You can’t perform that action at this time.
0 commit comments