libddwaf 1.11.0.0.0 → 1.15.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/actions/docker-build-ruby/Dockerfile +5 -0
- data/.github/actions/docker-build-ruby/Dockerfile.alpine +7 -0
- data/.github/actions/docker-build-ruby/Dockerfile.jruby +6 -0
- data/.github/actions/docker-build-ruby/action.yml +57 -0
- data/.github/workflows/lint.yml +13 -12
- data/.github/workflows/package.yml +93 -174
- data/.github/workflows/test.yml +86 -190
- data/.gitignore +4 -1
- data/.steepignore +4 -0
- data/CHANGELOG.md +13 -2
- data/Steepfile +0 -1
- data/lib/datadog/appsec/waf/version.rb +2 -2
- data/lib/datadog/appsec/waf.rb +73 -35
- data/libddwaf-releases.sha256 +126 -0
- data/sig/datadog/appsec/waf.rbs +34 -18
- metadata +13 -8
- data/vendor/rbs/ffi/0/ffi.rbs +0 -62
@@ -0,0 +1,126 @@
|
|
1
|
+
8fcbd4b5206708bf0791c696e6ecc08b22df212e449482f08418c9b5984493bc libddwaf-1.20.0-darwin-arm64.tar.gz
|
2
|
+
dfdad3eca35939d9a97ee8be12bc5aba6f6f4c93ac78e20a95988e51a0297d9f libddwaf-1.20.0-darwin-x86_64.tar.gz
|
3
|
+
b44da32816d95c53d346e43294f973fe3c0215a8ebfe8ea680cbcc5713aeba61 libddwaf-1.19.1-darwin-arm64.tar.gz
|
4
|
+
1ad0cea489f34b6f92d0abf90016c589eca78a7a944705fbaaa495ccc8350052 libddwaf-1.19.1-darwin-x86_64.tar.gz
|
5
|
+
a5fb14fc7633f3243bf300e8df719add5ae9a9c44404bd97d3e93b13de35c3e9 libddwaf-1.19.0-darwin-arm64.tar.gz
|
6
|
+
a7db7942142501cef89b922ebc467b1b92e93b9e0f039e70356c991c870d693c libddwaf-1.19.0-darwin-x86_64.tar.gz
|
7
|
+
3251b4912d77185c03ed3a396bbeb71a6d6b2ea4cb3894553a2d3672dacae9f0 libddwaf-1.18.0-darwin-arm64.tar.gz
|
8
|
+
f7a3b797369dc6729efd8f501a3dfd6a852eb729ebb98f963305509489080fb0 libddwaf-1.18.0-darwin-x86_64.tar.gz
|
9
|
+
4cad0bd952be1688fbe4ca3f673a3dc7913d1e9aafae05698f4a29bfd07580ea libddwaf-1.17.0-darwin-arm64.tar.gz
|
10
|
+
ba89513b2d17d74adb6af3fbb8815c5d1839970a13bae0222bcea0215b4d68d8 libddwaf-1.17.0-darwin-x86_64.tar.gz
|
11
|
+
c833255a79cacb01893a4f511562e82ef79c6a03626eeed853093fcb5ab88212 libddwaf-1.16.1-darwin-arm64.tar.gz
|
12
|
+
4f9a63e202eafe97e6fb2a6313a85aadbcb5b3ddde8fd4125e2a63d7502ed101 libddwaf-1.16.1-darwin-x86_64.tar.gz
|
13
|
+
7cb57b8c0736ed9ecbe78acd855715b1f0dd50c3b038c3084edf672a448be9e7 libddwaf-1.16.0-darwin-arm64.tar.gz
|
14
|
+
0b777b1112ffc746cb58fb24b602bf6ebf8e21b50d5975e4f6f678e4a271bc31 libddwaf-1.16.0-darwin-x86_64.tar.gz
|
15
|
+
ab0165c7aee2ff8ab717c3ad578f3212a98b6995eb0ae26d76495a91dcce5c12 libddwaf-1.15.1-darwin-arm64.tar.gz
|
16
|
+
318cf177c0b01d2bfc06eb6d32cba5be4971b796856a587f65e54a309128c496 libddwaf-1.15.1-darwin-x86_64.tar.gz
|
17
|
+
b07616b5f25327ec9b3bb9c52e239a54cdf1ea262b71882a187ec5d53c70f597 libddwaf-1.15.1-linux-aarch64.tar.gz
|
18
|
+
ed3b4a83494426cbdde236fd2806124eb94215540eb75894e13e7f083ddf5a70 libddwaf-1.15.1-linux-x86_64.tar.gz
|
19
|
+
3f6bbc5ab68677afc8f8132526d1ad2749025012fcb1272b044064d646e4a5e9 libddwaf-1.15.0-darwin-arm64.tar.gz
|
20
|
+
405eb9d6ce6e85464e5bd57312ed894896457f7535ede476fded2af0a4d860a6 libddwaf-1.15.0-darwin-x86_64.tar.gz
|
21
|
+
0e0d9f81787588b05443ab1e64c0e8a2d2f695877b3601f4f60e6fd0342eb22d libddwaf-1.15.0-linux-aarch64.tar.gz
|
22
|
+
18b1a18949c04896b0831989a6b662bcd83ccaac816c488a7936efa2b8d79c84 libddwaf-1.15.0-linux-x86_64.tar.gz
|
23
|
+
d9cd1c92a3a814b8f3c4f92f7dce3037904c2650fcff52019121b0a7c56a5106 libddwaf-1.14.0-darwin-arm64.tar.gz
|
24
|
+
9bea4519fabd0d740ad45050654aef92b3c33ede2ea76e0c616adfb4b2aff828 libddwaf-1.14.0-darwin-x86_64.tar.gz
|
25
|
+
e54bd624459158c33f62c846399ccaf7ae851b039cb2daa727949ab5b1d50ff5 libddwaf-1.14.0-linux-aarch64.tar.gz
|
26
|
+
0e56a381e81cbdf8d8375d42642ee31ac46e576c7e4ad9e72d0b7d214c0f9874 libddwaf-1.14.0-linux-x86_64.tar.gz
|
27
|
+
6a1cfc375a3ea7604ff5bd939e095b41e77699e704a8762ccbc4fd1b85582ee5 libddwaf-1.13.1-darwin-arm64.tar.gz
|
28
|
+
9176e0d141bab2aa47d7863be8b117fec2b7fc67da3e9d871fab2e5db6dbbfd0 libddwaf-1.13.1-darwin-x86_64.tar.gz
|
29
|
+
77dedffe5551b81bbdcc7026d25a671e4a1784d14e36b05d056d014355287d67 libddwaf-1.13.1-linux-aarch64.tar.gz
|
30
|
+
2e70feb65d8421004b1e4f74b3d6cad88508b9ba52196892c6e83ab7279df649 libddwaf-1.13.1-linux-x86_64.tar.gz
|
31
|
+
038ac9074f88d9368da2fe698e3ed1d32cc623c613fffa72ce14186a4507f15a libddwaf-1.13.0-darwin-arm64.tar.gz
|
32
|
+
a3d1dde5d9869d1f3e70068c19a3fa519c78779066e4a359983b0166d229c083 libddwaf-1.13.0-darwin-x86_64.tar.gz
|
33
|
+
3dd4bb27203dda509894ea777721ae2b57b715615f6ec7a58f4f6cca0dd379e9 libddwaf-1.13.0-linux-aarch64.tar.gz
|
34
|
+
b440cb801d5951ac80c0eb87e16a0fca80b9f3e7afc3fcda93b8b9adb2191b93 libddwaf-1.13.0-linux-x86_64.tar.gz
|
35
|
+
3cc006b295db487505737b81a1fa3d1acbf75605242fd5c983c35d81d8ae1ce1 libddwaf-1.12.0-darwin-arm64.tar.gz
|
36
|
+
8da70f572c893b16c42a596de1bad994d39c657f468d951f1d9ac93965094cc4 libddwaf-1.12.0-darwin-x86_64.tar.gz
|
37
|
+
7bb076e298041bbe5a45291b280ab8e4680523f59afe655cdec26a03f3ab2b44 libddwaf-1.12.0-linux-aarch64.tar.gz
|
38
|
+
847f6b17fc6bd508e66c8c8198877f03e7397141db506150052bcdfa11161b90 libddwaf-1.12.0-linux-x86_64.tar.gz
|
39
|
+
a50d087d5b8f6d3b4bc72d4ef85e8004c06b179f07e5974f7849ccb552b292c8 libddwaf-1.11.0-darwin-arm64.tar.gz
|
40
|
+
e1285b9a62393a4a37fad16b49812052b9eed95920ffe4cd591e06ac27ed1b32 libddwaf-1.11.0-darwin-x86_64.tar.gz
|
41
|
+
92a0a64daa00376b127dfe7d7f02436f39a611325113e212cf2cdafddd50053a libddwaf-1.11.0-linux-aarch64.tar.gz
|
42
|
+
7a0682c2e65cec7540d04646621d6768bc8f42c5ff22da2a0d20801b51ad442a libddwaf-1.11.0-linux-x86_64.tar.gz
|
43
|
+
4ddecf38ca0a2048088dbbf663dc66c053fb243504be0000c44dfa802f15788f libddwaf-1.10.0-darwin-arm64.tar.gz
|
44
|
+
f2bc8ed671cfa0662ed45cf3895cb4dd7fa0c8e9cdf4d2fe2b59eda9e9589813 libddwaf-1.10.0-darwin-x86_64.tar.gz
|
45
|
+
d74ebadd09a11cb342082d763439dd235be4583f52b8f597369640cc5daa60c6 libddwaf-1.10.0-linux-aarch64.tar.gz
|
46
|
+
a51c63ea0d0223df5b7b0d7d9abc608cf63f65b5aebbbb1acba7bd667e4f1335 libddwaf-1.10.0-linux-x86_64.tar.gz
|
47
|
+
dbec69fbfd383266566f6bb2d9e033a88baab9bfc97b2ab552fbc22626b65b5a libddwaf-1.9.0-darwin-arm64.tar.gz
|
48
|
+
fbb00c3dad779141ef037238315aab84adac5abfffb7944b19e5493d432ea43c libddwaf-1.9.0-darwin-x86_64.tar.gz
|
49
|
+
3869b807be750bc71359e1add277635afecc20ea8609e3fc4c0c9722a68b709f libddwaf-1.9.0-linux-aarch64.tar.gz
|
50
|
+
a1e7422116d318883ad43942d7416bbe3e92797e60840336a98d1100487de912 libddwaf-1.9.0-linux-x86_64.tar.gz
|
51
|
+
f7a18df1716241dcee10ff1289ba67fc377e60c5eaf6b2774b765432e0874e72 libddwaf-1.8.2-darwin-arm64.tar.gz
|
52
|
+
c1fbf821396c9ba62deeae9719aff9ecb6a904f77b7d68c95de4eb759fb646ac libddwaf-1.8.2-darwin-x86_64.tar.gz
|
53
|
+
fee446827b2971454be992fa99284fb5b5d2609dd2cefba4c331fa1b53bc7faf libddwaf-1.8.2-linux-aarch64.tar.gz
|
54
|
+
106d5830b9011df1d7257d70ca1016a5970c8f287e75e0ad00d67e821c9ff04c libddwaf-1.8.2-linux-x86_64.tar.gz
|
55
|
+
6857f59b84f1673413cb1525f54eaed7ace291943d8df388841538be05181191 libddwaf-1.8.1-darwin-arm64.tar.gz
|
56
|
+
2460a62559b3c6759c18b789d11687da8aaaddfc9e3f433cb1653d57c775f0ae libddwaf-1.8.1-darwin-x86_64.tar.gz
|
57
|
+
014709b614f6543f0787a60216ae51fee786974214882678d7e23ebd95987ebb libddwaf-1.8.1-linux-aarch64.tar.gz
|
58
|
+
658b79ebe9e4581b80d138043f6c60bbd336a4300eb5baf18fa5f204b4f9fb22 libddwaf-1.8.1-linux-x86_64.tar.gz
|
59
|
+
d2a4668f8d48d9c9f40fbe2e6398ac1a5553b3e19864c68571b9044aef6e2fc4 libddwaf-1.8.0-darwin-arm64.tar.gz
|
60
|
+
9afaec4a2430c5409b2b819cdcd5a48e2ad759983a838db6d9c2b14319574c86 libddwaf-1.8.0-darwin-x86_64.tar.gz
|
61
|
+
b86ff8893f4e53a6753c3991125faf31d366cdeb93d17067756dd9ce8e44f42c libddwaf-1.8.0-linux-aarch64.tar.gz
|
62
|
+
10a2a4a53cb03827ce605753e6bb113176bcd4bbc6f546e1bf7c0e0d076dc3fb libddwaf-1.8.0-linux-x86_64.tar.gz
|
63
|
+
2a1aca6b67614c6199e775bb22c6c67544d55bd6487b824ae0899cd42399f3f7 libddwaf-1.7.0-darwin-arm64.tar.gz
|
64
|
+
f91f587c679183a2d9c22d0e90f2275760d544f84ff2aff2b54d897d563e93e6 libddwaf-1.7.0-darwin-x86_64.tar.gz
|
65
|
+
3db729225f3a21eab5ad6996b7b4d261e1fda2904148424ae37de4a97837f6ba libddwaf-1.7.0-linux-aarch64.tar.gz
|
66
|
+
854fda937a0ca298795a79e63623a762afe013fd3f76b6aae58eee1211b56da5 libddwaf-1.7.0-linux-x86_64.tar.gz
|
67
|
+
e0a990b9d62aae46d0cf726fdb77550e42e95bb04660d8c0099fd42356fb251c libddwaf-1.6.2-darwin-arm64.tar.gz
|
68
|
+
6c29cc7729fd04821e19cecfa9bd5180d863baeb44a12a24ea2aa3a6d06c39c6 libddwaf-1.6.2-darwin-x86_64.tar.gz
|
69
|
+
db08e8c7f3e949e17c57934efa3ac10c9241ab4786b4ba2996c24df58f7cb3f0 libddwaf-1.6.2-linux-aarch64.tar.gz
|
70
|
+
a667df7c9a7ae36ab6eecf759845abdb4dcc8ebb593a43af0698eb70aa9f89ca libddwaf-1.6.2-linux-x86_64.tar.gz
|
71
|
+
a1518e7a4d93842e1edb07b7b878b36063b3cd073b02e02610d3e5274378cb54 libddwaf-1.6.1-darwin-arm64.tar.gz
|
72
|
+
aeb6e4698522fb73bfda1a61b1ace7c65bcc7d6cd95e336786cf5f8016e26049 libddwaf-1.6.1-darwin-x86_64.tar.gz
|
73
|
+
8b7bfd3a078500fdf0f7667deb0d87df6122f9ca52fb33195f19cd3303817033 libddwaf-1.6.1-linux-aarch64.tar.gz
|
74
|
+
fbd4d7a97d5fbc4d5bf10a2041dcd30296deb708e680efe85c3023c6db07ba37 libddwaf-1.6.1-linux-x86_64.tar.gz
|
75
|
+
817567043187e797fe7ce102dd3c5f8d5c6e4c19a76bbced5ab183dbf091a4d8 libddwaf-1.5.1-darwin-arm64.tar.gz
|
76
|
+
17052d22a29853edad9d064edfc4e9978a4f32d4d9c7d6f62d7e0bab3a775845 libddwaf-1.5.1-darwin-x86_64.tar.gz
|
77
|
+
73b18be793ba2efcae7b7a43c5e7c3ed94a0b2bbb7c56b177ca698c4a378fbd6 libddwaf-1.5.1-linux-aarch64.tar.gz
|
78
|
+
782f5c0cff725d5afbbea2a255a2690397a8d85cff0199626ff5f0197d6813ee libddwaf-1.5.1-linux-x86_64.tar.gz
|
79
|
+
cd5bce11dee1951b5c72dbaa862a7c04cefecadff6737231b4da979994f47883 libddwaf-1.3.0-darwin-arm64.tar.gz
|
80
|
+
7c1a66308d8977233761ad35cccf96bdd3c6ef3b7b3e7e978176abfe626d96d5 libddwaf-1.3.0-darwin-x86_64.tar.gz
|
81
|
+
f173e4037a55ea8abbe05728672bea9707579a4ae75f2ceee8e64d560da312a8 libddwaf-1.3.0-linux-aarch64.tar.gz
|
82
|
+
54da81f96a11cc40fd40f1adb569d4d41651da27c0a123202d71823a661a14b6 libddwaf-1.3.0-linux-x86_64.tar.gz
|
83
|
+
5be84523ab84230344abff397dfd0fc7445c6619d41402601da3b81b62f15e34 libddwaf-1.2.1-darwin-arm64.tar.gz
|
84
|
+
2c3ff1eadc4d9d3fc2fdca6f8795409dd9f11f12e3d98108c59fb6c3d34b0bdf libddwaf-1.2.1-darwin-x86_64.tar.gz
|
85
|
+
88111f8f33b5206ac60a6b886c1cda5197ba085f48c5c2cbe5ff3eafb7baa461 libddwaf-1.2.1-linux-aarch64.tar.gz
|
86
|
+
108dce1c96625890709b0d2e65b9bbf6cdbf9e6b570d071f2fe6170f8ff00f32 libddwaf-1.2.1-linux-x86_64.tar.gz
|
87
|
+
1476e94e6a2a9dc1bec749fa58a9f55d21e31aec78295ec66b444cdfef51ea2b libddwaf-1.2.0-darwin-arm64.tar.gz
|
88
|
+
f0b5ddf958d6a69903e03033380929cad67b663cf525ce51fa2b3a1d7fd23918 libddwaf-1.2.0-darwin-x86_64.tar.gz
|
89
|
+
e4bb190ba2c815a819f405f2d0b6aeea88299ebe831e0752393f8b20014a6cae libddwaf-1.2.0-linux-aarch64.tar.gz
|
90
|
+
ce8f5f549a98475b1e793df8886e1fdff608c0cbf0cb4372590b0ec4b384c405 libddwaf-1.2.0-linux-x86_64.tar.gz
|
91
|
+
7318aefea7150fb85886cac1523052a2503af7f1c4c12beaacd6276ea334e83f libddwaf-1.1.0-darwin-arm64.tar.gz
|
92
|
+
01501b3effcd1d08ae4d4544b9be9674dfe093cc2b7f11f176879c91f374c8f8 libddwaf-1.1.0-darwin-x86_64.tar.gz
|
93
|
+
160dc8ddb7ce475cd5860fd6c34cb61915b436deb9f0990c9d65dea144ac6d26 libddwaf-1.1.0-linux-aarch64.tar.gz
|
94
|
+
909f3d3f442b13d46d6862f61685ea63156c61564674740ba8af8b7f8c9b5267 libddwaf-1.1.0-linux-x86_64.tar.gz
|
95
|
+
242a046a235120c851cd473f53a264235e9747f17f4a93b747b50f4fd40a75de libddwaf-1.0.18-darwin-arm64.tar.gz
|
96
|
+
4daa5c6ff3ab5150a7cab9522cd5e65e3aa3c611ecda7b36fb081f8794bbca28 libddwaf-1.0.18-darwin-x86_64.tar.gz
|
97
|
+
63ed8e663133e7be32f63a16ed73900220b5b31c8937d9b05549641231a34a04 libddwaf-1.0.18-linux-aarch64.tar.gz
|
98
|
+
ae667f31cfa69f9f85c2fe4d963285361a5893d9bec3d5328a3ac9453c4cdd11 libddwaf-1.0.18-linux-x86_64.tar.gz
|
99
|
+
fb5653468dd402f0b06ac305b2efe50e4341422d0e40d13ebb3c3d1989733b57 libddwaf-1.0.17-darwin-arm64.tar.gz
|
100
|
+
06ea6692d18b85d3ec152026d955de3aa96b969a7d7ffad93cda87bce4dfa43e libddwaf-1.0.17-darwin-x86_64.tar.gz
|
101
|
+
cd29cf1815fe70861a2332d479f367d999c69c0e0a723a88bcffc93ff1c367ae libddwaf-1.0.17-linux-aarch64.tar.gz
|
102
|
+
af7e6205269871c2226eb131e3702d0f505f91fe40eb0aec1982c9cb90636e6e libddwaf-1.0.17-linux-x86_64.tar.gz
|
103
|
+
e369a137c4d86ec6d70ba97c5d9105fcdf265a1694b04b1791fbe14f1866e8de libddwaf-1.0.16-darwin-arm64.tar.gz
|
104
|
+
bbf4c596ee7e8139c2d22e7da79aea71d2aebdbc4181218bfbbd4dee4d8d28e6 libddwaf-1.0.16-darwin-x86_64.tar.gz
|
105
|
+
9b421356ca8dfbaae150c0528237ba6ec27c72d933a1e8ec02bfd991791032ea libddwaf-1.0.16-linux-aarch64.tar.gz
|
106
|
+
21857275be172cd0dce7550ecda20585290d22f72f9be754abc52d8e62b6096d libddwaf-1.0.16-linux-x86_64.tar.gz
|
107
|
+
7340915f1bcfa56c2fcc9998c7811f22b9f98c9ff68d559425a378cc300ba373 libddwaf-1.0.15-darwin-arm64.tar.gz
|
108
|
+
83b1d8bb58a80f3b4e8d3aeb952382053a95f4a57b49aa22c4c114f366643664 libddwaf-1.0.15-darwin-x86_64.tar.gz
|
109
|
+
10867711c069ffffc24c6badd6de8fb38eb1ec99377092706b954b94cd4e9325 libddwaf-1.0.15-linux-aarch64.tar.gz
|
110
|
+
346627afe7e8957deff41a973a36e1f3a8172611aa11a642ad8f2b5619fdc7c6 libddwaf-1.0.15-linux-x86_64.tar.gz
|
111
|
+
8bda9b34f7d6e56973c7f227f4a1537a300f3d8c0e73274d285484d0fdd16da2 libddwaf-1.0.14-darwin-arm64.tar.gz
|
112
|
+
6444ac85dc4dfc9ffb398649329f2a2cbe069e71fd983e87e8128b348eeff17c libddwaf-1.0.14-darwin-x86_64.tar.gz
|
113
|
+
6b9699bcbf5903f32d38db6e683add3e12f0d781165fac3fa11eab25dd79ac9c libddwaf-1.0.14-linux-aarch64.tar.gz
|
114
|
+
fedc4d4fc4bfde7731acf56a06c0dec2b489d75f79e2f8062c7c4311c6476b77 libddwaf-1.0.14-linux-x86_64.tar.gz
|
115
|
+
a1be729493d4e9936ae488e1d1278a863f427d593dcf55a03dade3cd2ac07b9c libddwaf-1.0.13-darwin-arm64.tar.gz
|
116
|
+
54bc542bb3c9900d22fd69a8df32345d5ce2f69f45ded6cc4d1445a4b7ea1ebd libddwaf-1.0.13-darwin-x86_64.tar.gz
|
117
|
+
30b19db220b83707533440a5e912edbc9ea068e9e62f40d401923ea9097856cf libddwaf-1.0.13-linux-aarch64.tar.gz
|
118
|
+
80b6f6f66dde8fea645e020e779d4e3860435b88270f27d8b18677cf2a422920 libddwaf-1.0.13-linux-x86_64.tar.gz
|
119
|
+
e1a40846db2ce0e99b21198ff5edb239ed8e2d4857e8e42fffb3c8e574bd6ece libddwaf-1.0.12-darwin-arm64.tar.gz
|
120
|
+
2a809bf7dcf3f5d86409f0b18f8ec9f8e6c9a4a913f321bb68d65abad280170d libddwaf-1.0.12-darwin-x86_64.tar.gz
|
121
|
+
a1f4a5022bbcafa4d31de31be7789d00b81b361377d0f62f419873122d8be228 libddwaf-1.0.12-linux-aarch64.tar.gz
|
122
|
+
1b5ba745b6b1c19261844d33c60c9dbea5f4303e27b1a03ad2e855e83491d70c libddwaf-1.0.12-linux-x86_64.tar.gz
|
123
|
+
03f1edc01a18379b7ec6c967225a50224c5cc463b5982d64aad9f68c2c1e6823 libddwaf-1.0.11-darwin-arm64.tar.gz
|
124
|
+
0f046ccc789e1ddf06923ac09c0eabd68e0e45a6ab51d0bb7171b583034871ad libddwaf-1.0.11-darwin-x86_64.tar.gz
|
125
|
+
af21751b2f53b3ddbaecdacda281e585642448702edc100a47b972f4939137b5 libddwaf-1.0.11-linux-aarch64.tar.gz
|
126
|
+
d1a3e49c96c272620b0c5f82f9fa68fcfa871dddf2a38f9d3af374e742a1e0c0 libddwaf-1.0.11-linux-x86_64.tar.gz
|
data/sig/datadog/appsec/waf.rbs
CHANGED
@@ -10,6 +10,18 @@ module Datadog
|
|
10
10
|
|
11
11
|
extend ::FFI::Library
|
12
12
|
|
13
|
+
def self.typedef: [T < ::FFI::Type, N, R, C] (T old, Symbol | ::FFI::DataConverter[N, R, C] add, ?untyped) -> T
|
14
|
+
| (Symbol old, Symbol add, ?untyped) -> (::FFI::Type | ::FFI::Enum)
|
15
|
+
| [X < ::FFI::DataConverter[N, R, C], N, R, C] (X old, Symbol add, ?untyped) -> ::FFI::Type::Mapped[X, N, R, C]
|
16
|
+
| (:enum old, Array[Symbol | Integer] add, ?untyped) -> ::FFI::Enum
|
17
|
+
| (:enum old, Symbol | ::FFI::Type add, Array[Symbol | Integer] info) -> ::FFI::Enum
|
18
|
+
| (untyped, ::Symbol) -> void
|
19
|
+
|
20
|
+
def self.callback: (::Symbol name, Array[::FFI::Library::ffi_lib_type] params, ::FFI::Library::ffi_lib_type ret) -> ::FFI::CallbackInfo
|
21
|
+
|
22
|
+
def self.enum: (*(Symbol | Integer) args) -> ::FFI::Enum
|
23
|
+
| (Array[Symbol | Integer] values) -> ::FFI::Enum
|
24
|
+
|
13
25
|
def self.local_os: () -> ::String
|
14
26
|
def self.local_cpu: () -> ::String
|
15
27
|
def self.local_version: () -> (::String | nil)
|
@@ -29,19 +41,19 @@ module Datadog
|
|
29
41
|
|
30
42
|
DDWAF_OBJ_TYPE: ::FFI::Enum
|
31
43
|
|
32
|
-
class UInt32Ptr < ::FFI::Struct
|
44
|
+
class UInt32Ptr < ::FFI::Struct[::FFI::AbstractMemory, ::Integer]
|
33
45
|
end
|
34
46
|
|
35
|
-
class UInt64Ptr < ::FFI::Struct
|
47
|
+
class UInt64Ptr < ::FFI::Struct[::FFI::AbstractMemory, ::Integer]
|
36
48
|
end
|
37
49
|
|
38
|
-
class SizeTPtr < ::FFI::Struct
|
50
|
+
class SizeTPtr < ::FFI::Struct[::FFI::AbstractMemory, ::Integer]
|
39
51
|
end
|
40
52
|
|
41
|
-
class ObjectValueUnion < ::FFI::Union
|
53
|
+
class ObjectValueUnion < ::FFI::Union[::FFI::AbstractMemory, untyped]
|
42
54
|
end
|
43
55
|
|
44
|
-
class Object < ::FFI::Struct
|
56
|
+
class Object < ::FFI::Struct[::FFI::AbstractMemory, untyped]
|
45
57
|
end
|
46
58
|
|
47
59
|
# setters
|
@@ -52,9 +64,11 @@ module Datadog
|
|
52
64
|
def self.ddwaf_object_stringl_nc: (LibDDWAF::Object, ::String, ::Integer) -> ::FFI::Pointer
|
53
65
|
def self.ddwaf_object_unsigned: (LibDDWAF::Object, ::Integer) -> ::FFI::Pointer
|
54
66
|
def self.ddwaf_object_signed: (LibDDWAF::Object, ::Integer) -> ::FFI::Pointer
|
55
|
-
def self.
|
56
|
-
def self.
|
67
|
+
def self.ddwaf_object_string_from_unsigned: (LibDDWAF::Object, ::Integer) -> ::FFI::Pointer
|
68
|
+
def self.ddwaf_object_string_from_signed: (LibDDWAF::Object, ::Integer) -> ::FFI::Pointer
|
57
69
|
def self.ddwaf_object_bool: (LibDDWAF::Object, bool) -> ::FFI::Pointer
|
70
|
+
def self.ddwaf_object_float: (LibDDWAF::Object, ::Float) -> ::FFI::Pointer
|
71
|
+
def self.ddwaf_object_null: (LibDDWAF::Object) -> ::FFI::Pointer
|
58
72
|
|
59
73
|
def self.ddwaf_object_array: (LibDDWAF::Object) -> ::FFI::Pointer
|
60
74
|
def self.ddwaf_object_array_add: (LibDDWAF::Object, LibDDWAF::Object) -> bool
|
@@ -75,6 +89,7 @@ module Datadog
|
|
75
89
|
def self.ddwaf_object_get_signed: (LibDDWAF::Object, SizeTPtr) -> ::Integer
|
76
90
|
def self.ddwaf_object_get_index: (LibDDWAF::Object, ::Integer) -> LibDDWAF::Object
|
77
91
|
def self.ddwaf_object_get_bool: (LibDDWAF::Object) -> bool
|
92
|
+
def self.ddwaf_object_get_float: (LibDDWAF::Object) -> ::Float
|
78
93
|
|
79
94
|
# freeers
|
80
95
|
|
@@ -85,11 +100,11 @@ module Datadog
|
|
85
100
|
|
86
101
|
# main handle
|
87
102
|
|
88
|
-
class Config < ::FFI::Struct
|
89
|
-
class Limits < ::FFI::Struct
|
103
|
+
class Config < ::FFI::Struct[::FFI::AbstractMemory, untyped]
|
104
|
+
class Limits < ::FFI::Struct[::FFI::AbstractMemory, ::Integer]
|
90
105
|
end
|
91
106
|
|
92
|
-
class Obfuscator < ::FFI::Struct
|
107
|
+
class Obfuscator < ::FFI::Struct[::FFI::AbstractMemory, ::FFI::Pointer]
|
93
108
|
end
|
94
109
|
end
|
95
110
|
|
@@ -97,7 +112,7 @@ module Datadog
|
|
97
112
|
def self.ddwaf_update: (::FFI::Pointer, LibDDWAF::Object, LibDDWAF::Object) -> ::FFI::Pointer
|
98
113
|
def self.ddwaf_destroy: (::FFI::Pointer) -> void
|
99
114
|
|
100
|
-
def self.
|
115
|
+
def self.ddwaf_known_addresses: (::FFI::Pointer, UInt32Ptr) -> ::FFI::Pointer
|
101
116
|
def self.ddwaf_rule_data_ids: (::FFI::Pointer, UInt32Ptr) -> ::FFI::Pointer
|
102
117
|
|
103
118
|
# updating
|
@@ -109,10 +124,10 @@ module Datadog
|
|
109
124
|
def self.ddwaf_context_init: (::FFI::Pointer) -> ::FFI::Pointer
|
110
125
|
def self.ddwaf_context_destroy: (::FFI::Pointer) -> void
|
111
126
|
|
112
|
-
class Result < ::FFI::Struct
|
127
|
+
class Result < ::FFI::Struct[::FFI::AbstractMemory, untyped]
|
113
128
|
end
|
114
129
|
|
115
|
-
def self.ddwaf_run: (::FFI::Pointer, Object, Result, ::Integer) -> ::Symbol
|
130
|
+
def self.ddwaf_run: (::FFI::Pointer, Object, Object, Result, ::Integer) -> ::Symbol
|
116
131
|
def self.ddwaf_result_free: (Result) -> void
|
117
132
|
|
118
133
|
# logging
|
@@ -139,9 +154,9 @@ module Datadog
|
|
139
154
|
|
140
155
|
def self.version: () -> ::String
|
141
156
|
|
142
|
-
type data = String | Symbol | Integer | Float | TrueClass | FalseClass | Array[data] | Hash[String | Symbol, data] | nil
|
157
|
+
type data = String | Symbol | Integer | Float | TrueClass | FalseClass | Array[data] | Hash[(String | Symbol | nil), data] | nil
|
143
158
|
|
144
|
-
def self.ruby_to_object: (
|
159
|
+
def self.ruby_to_object: (top val, ?max_container_size: ::Integer?, ?max_container_depth: ::Integer?, ?max_string_length: ::Integer?, ?coerce: bool?) -> ::Datadog::AppSec::WAF::LibDDWAF::Object
|
145
160
|
def self.object_to_ruby: (::Datadog::AppSec::WAF::LibDDWAF::Object obj) -> data
|
146
161
|
|
147
162
|
self.@logger: ::Logger
|
@@ -160,7 +175,7 @@ module Datadog
|
|
160
175
|
|
161
176
|
def initialize: (data rule, ?limits: ::Hash[::Symbol, ::Integer], ?obfuscator: ::Hash[::Symbol, ::String]) -> void
|
162
177
|
def finalize: () -> untyped
|
163
|
-
def required_addresses: () -> ::Array[::String]
|
178
|
+
def required_addresses: () -> ::Array[::String?]
|
164
179
|
def merge: (untyped data) -> Handle?
|
165
180
|
|
166
181
|
private
|
@@ -180,8 +195,9 @@ module Datadog
|
|
180
195
|
attr_reader total_runtime: ::Float
|
181
196
|
attr_reader timeout: bool
|
182
197
|
attr_reader actions: data
|
198
|
+
attr_reader derivatives: data
|
183
199
|
|
184
|
-
def initialize: (::Symbol, data, ::Float, bool, data) -> void
|
200
|
+
def initialize: (::Symbol, data, ::Float, bool, data, data) -> void
|
185
201
|
end
|
186
202
|
|
187
203
|
class Context
|
@@ -190,7 +206,7 @@ module Datadog
|
|
190
206
|
def initialize: (Handle handle) -> void
|
191
207
|
def finalize: () -> void
|
192
208
|
|
193
|
-
def run: (data
|
209
|
+
def run: (data persistent_data, data ephemeral_data, ?::Integer timeout) -> ::Array[top]
|
194
210
|
|
195
211
|
private
|
196
212
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libddwaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -35,10 +35,15 @@ extra_rdoc_files: []
|
|
35
35
|
files:
|
36
36
|
- ".github/ISSUE_TEMPLATE/bug.md"
|
37
37
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
38
|
+
- ".github/actions/docker-build-ruby/Dockerfile"
|
39
|
+
- ".github/actions/docker-build-ruby/Dockerfile.alpine"
|
40
|
+
- ".github/actions/docker-build-ruby/Dockerfile.jruby"
|
41
|
+
- ".github/actions/docker-build-ruby/action.yml"
|
38
42
|
- ".github/workflows/lint.yml"
|
39
43
|
- ".github/workflows/package.yml"
|
40
44
|
- ".github/workflows/test.yml"
|
41
45
|
- ".gitignore"
|
46
|
+
- ".steepignore"
|
42
47
|
- CHANGELOG.md
|
43
48
|
- CONTRIBUTING.md
|
44
49
|
- LICENSE
|
@@ -51,12 +56,12 @@ files:
|
|
51
56
|
- lib/datadog/appsec/waf.rb
|
52
57
|
- lib/datadog/appsec/waf/version.rb
|
53
58
|
- lib/libddwaf.rb
|
59
|
+
- libddwaf-releases.sha256
|
54
60
|
- libddwaf.gemspec
|
55
61
|
- shell.nix
|
56
62
|
- sig/datadog/appsec/waf.rbs
|
57
63
|
- sig/datadog/appsec/waf/version.rbs
|
58
64
|
- sig/libddwaf.rbs
|
59
|
-
- vendor/rbs/ffi/0/ffi.rbs
|
60
65
|
- vendor/rbs/gem/0/gem.rbs
|
61
66
|
- vendor/rbs/jruby/0/jruby.rbs
|
62
67
|
homepage: https://github.com/DataDog/libddwaf-rb
|
@@ -64,7 +69,7 @@ licenses:
|
|
64
69
|
- BSD-3-Clause
|
65
70
|
metadata:
|
66
71
|
allowed_push_host: https://rubygems.org
|
67
|
-
post_install_message:
|
72
|
+
post_install_message:
|
68
73
|
rdoc_options: []
|
69
74
|
require_paths:
|
70
75
|
- lib
|
@@ -72,15 +77,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
77
|
requirements:
|
73
78
|
- - ">="
|
74
79
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
80
|
+
version: '2.5'
|
76
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
82
|
requirements:
|
78
83
|
- - ">="
|
79
84
|
- !ruby/object:Gem::Version
|
80
85
|
version: 2.0.0
|
81
86
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
83
|
-
signing_key:
|
87
|
+
rubygems_version: 3.5.21
|
88
|
+
signing_key:
|
84
89
|
specification_version: 4
|
85
90
|
summary: Datadog WAF
|
86
91
|
test_files: []
|
data/vendor/rbs/ffi/0/ffi.rbs
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
module FFI
|
2
|
-
module Type
|
3
|
-
class Builtin
|
4
|
-
end
|
5
|
-
|
6
|
-
class Mapped
|
7
|
-
end
|
8
|
-
end
|
9
|
-
|
10
|
-
class AbstractMemory
|
11
|
-
def get_array_of_string: (::Integer, ::Integer) -> Array[String]
|
12
|
-
def read_bytes: (::Integer) -> ::String
|
13
|
-
end
|
14
|
-
|
15
|
-
class Pointer < AbstractMemory
|
16
|
-
NULL: Pointer
|
17
|
-
|
18
|
-
def null?: () -> bool
|
19
|
-
end
|
20
|
-
|
21
|
-
class MemoryPointer < Pointer
|
22
|
-
def self.from_string: (::String) -> MemoryPointer
|
23
|
-
end
|
24
|
-
|
25
|
-
class Enum
|
26
|
-
end
|
27
|
-
|
28
|
-
class Union
|
29
|
-
def self.layout: (*(Symbol | Integer)) -> void
|
30
|
-
end
|
31
|
-
|
32
|
-
type union = top # TODO: handle user-defined unions
|
33
|
-
|
34
|
-
class Struct
|
35
|
-
# TODO: layout args are actually "Symbol | Union, Integer, *(Symbol | Union, Integer)"
|
36
|
-
def self.layout: (*(Symbol | Integer | union)) -> void
|
37
|
-
def self.by_ref: () -> Type::Mapped
|
38
|
-
def self.size: () -> Integer
|
39
|
-
|
40
|
-
def null?: () -> bool
|
41
|
-
def initialize: (?Pointer) -> void
|
42
|
-
def []: (Symbol) -> untyped
|
43
|
-
def []=: (Symbol, untyped) -> untyped
|
44
|
-
def pointer: () -> Pointer
|
45
|
-
end
|
46
|
-
|
47
|
-
class Function < Pointer
|
48
|
-
end
|
49
|
-
|
50
|
-
module Library
|
51
|
-
# these can be worked around by typedef'ing to a Symbol
|
52
|
-
type enum = top # TODO: handle user-defined enum constants
|
53
|
-
type ref = top # TODO: handle by_ref references
|
54
|
-
type typedef = top # TODO: handle non-builtin types
|
55
|
-
|
56
|
-
def ffi_lib: (Array[String]) -> void
|
57
|
-
def typedef: (ref | Symbol, Symbol) -> (Type::Builtin | Type::Mapped | typedef)
|
58
|
-
def attach_function: (Symbol, Array[Symbol | Struct | enum], Symbol | Enum, ?blocking: bool) -> Function
|
59
|
-
def callback: (Symbol, Array[Symbol | Enum | Struct], Symbol | Enum) -> Function
|
60
|
-
def enum: (*untyped) -> Enum
|
61
|
-
end
|
62
|
-
end
|