DataDog / dd-native-appsec-js

Node.js bindings for libddwaf
Apache License 2.0
1 stars 3 forks source link

Update libddwaf to 1.13.1 (actually 1.14.0) #86

Closed iunanua closed 1 year ago

iunanua commented 1 year ago

What does this PR do?

Update libddwaf to 1.13.1:

Update libddwaf to 1.11.0:

Motivation

Additional Notes

Describe how to test your changes

Checklist

simon-id commented 1 year ago

This will be done in an ulterior PR

~In the new versions, libddwaf released builds for arm7 and linux x86, which we didn't support until now. APM was not too happy about that because dd-trace is supposed to support them. So it would be nice if we could include those now. You can try by removing this line: https://github.com/DataDog/dd-native-appsec-js/blob/main/.github/workflows/build.yml#L33~

simon-id commented 1 year ago

You're missing ddwaf_result.derivatives: https://github.com/DataDog/libddwaf/blob/1.13.1/include/ddwaf.h#L168C18-L168C29

iunanua commented 1 year ago

You're missing ddwaf_result.derivatives: https://github.com/DataDog/libddwaf/blob/1.13.1/include/ddwaf.h#L168C18-L168C29

As we are not using preprocessors I decided to keep it simple and not include the derivatives field...