libddwaf 1.0.14.1.0.beta1 → 1.0.14.1.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +4 -4
- data/lib/datadog/security/waf/version.rb +1 -2
- data/lib/datadog/security/waf.rb +2 -0
- data/libddwaf.gemspec +2 -2
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da5262e02876806999ce83838b67075a41513db863ae2e2516ed5a899a9ce80b
|
4
|
+
data.tar.gz: 451b6cfcaa9bd3c76a5937d4a41f3ec76a4476b574312806635835f5e4a6aa43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79607138388c2584af5b81da69ac349184470cc7eb702d2a2a3301e6aa0764b39fca3d537c781a99a3b2d4574df51c1a15d81557f29e4f2d96061cd7232db380
|
7
|
+
data.tar.gz: 9831bcce3b6f4b7e3f53bb872fcf90443b13cce267d7a4fe765f0639d582633977ae7cd7d1f46523255b6e6069e6d4c54a697b126035ec44cc39c73879ff646f
|
data/.github/workflows/test.yml
CHANGED
@@ -11,13 +11,13 @@ jobs:
|
|
11
11
|
- os: ubuntu-20.04
|
12
12
|
cpu: x86_64
|
13
13
|
platform: x86_64-linux
|
14
|
-
image: ruby:3.1
|
14
|
+
image: ruby:3.1
|
15
15
|
qemu: amd64
|
16
16
|
libc: gnu
|
17
17
|
- os: ubuntu-20.04
|
18
18
|
cpu: aarch64
|
19
19
|
platform: aarch64-linux
|
20
|
-
image: ruby:3.1
|
20
|
+
image: ruby:3.1
|
21
21
|
qemu: arm64
|
22
22
|
libc: gnu
|
23
23
|
- os: ubuntu-20.04
|
@@ -89,13 +89,13 @@ jobs:
|
|
89
89
|
- os: ubuntu-20.04
|
90
90
|
cpu: x86_64
|
91
91
|
platform: x86_64-linux
|
92
|
-
image: ruby:3.1-
|
92
|
+
image: ruby:3.1-alpine
|
93
93
|
qemu: amd64
|
94
94
|
libc: musl
|
95
95
|
- os: ubuntu-20.04
|
96
96
|
cpu: aarch64
|
97
97
|
platform: aarch64-linux
|
98
|
-
image: ruby:3.1-
|
98
|
+
image: ruby:3.1-alpine
|
99
99
|
qemu: arm64
|
100
100
|
libc: musl
|
101
101
|
- os: ubuntu-20.04
|
data/lib/datadog/security/waf.rb
CHANGED
@@ -127,6 +127,8 @@ module Datadog
|
|
127
127
|
attach_function :ddwaf_init, [:ddwaf_rule, :ddwaf_config], :ddwaf_handle
|
128
128
|
attach_function :ddwaf_destroy, [:ddwaf_handle], :void
|
129
129
|
|
130
|
+
attach_function :ddwaf_required_addresses, [:ddwaf_handle, :pointer], :pointer
|
131
|
+
|
130
132
|
# running
|
131
133
|
|
132
134
|
typedef :pointer, :ddwaf_context
|
data/libddwaf.gemspec
CHANGED
@@ -7,7 +7,7 @@ require 'datadog/security/waf/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'libddwaf'
|
9
9
|
spec.version = Datadog::Security::WAF::VERSION::STRING
|
10
|
-
spec.required_ruby_version = [">= #{Datadog::Security::WAF::VERSION::MINIMUM_RUBY_VERSION}"
|
10
|
+
spec.required_ruby_version = [">= #{Datadog::Security::WAF::VERSION::MINIMUM_RUBY_VERSION}"]
|
11
11
|
spec.required_rubygems_version = '>= 2.0.0'
|
12
12
|
spec.authors = ['Datadog, Inc.']
|
13
13
|
spec.email = ['dev@datadoghq.com']
|
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
|
|
36
36
|
end
|
37
37
|
spec.require_paths = ['lib']
|
38
38
|
|
39
|
-
spec.add_dependency 'ffi'
|
39
|
+
spec.add_dependency 'ffi', '~> 1.0'
|
40
40
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libddwaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.14.1.0.
|
4
|
+
version: 1.0.14.1.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '1.0'
|
27
27
|
description: 'libddwaf packages a WAF implementation in C++, exposed to Ruby
|
28
28
|
|
29
29
|
'
|
@@ -61,9 +61,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '2.1'
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '3.2'
|
67
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - ">="
|