appdefender 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/appdefender/version.rb +1 -1
- data/lib/appdefender.rb +3 -1
- data/lib/libcore.aarch64.gnu.so +0 -0
- data/lib/libcore.aarch64.musl.so +0 -0
- data/lib/libcore.x86_64.gnu.so +0 -0
- data/lib/libcore.x86_64.musl.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5002ba007b37f9ecc88b0cd1e9078d8ee6c50904797c3354de1b9932b0b4acdd
|
4
|
+
data.tar.gz: b9de33510a352a4f60e00ac5890c8e0194c53d7047b97ca432d4597592f4f6b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df1601cb2b7ce44344ca6b143df43c29cee8bec08d69d8d3b8bef22a3febe4f39c72208484490d4b3c4d961b6768d1354f200c7cae7a3b756c98b17238b049d
|
7
|
+
data.tar.gz: c555fc65e6002bcdc5e242818ae6816a5a01780652bbfa9e7f6a35b7a2f2a4a73cdb371b0308f7154e8e24314fe178cd1f3089e14a4c7629cb6583d1e93deb34
|
data/README.md
CHANGED
@@ -6,11 +6,12 @@
|
|
6
6
|
</picture>
|
7
7
|
</a>
|
8
8
|
|
9
|
-
|
9
|
+
Runtime application self-protection platform for [Ruby](https://www.ruby-lang.org).
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
# set required environment
|
12
|
+
# set required environment variables ES_POLICY_GROUP_NAME and ES_LICENSE_KEY as provided or configured in your app, e.g.
|
13
13
|
# ENV["ES_POLICY_GROUP_NAME"] = "observeAll.ability";
|
14
|
+
# ENV["ES_LICENSE_KEY"] = "<your unique license key>";
|
14
15
|
|
15
16
|
# load the appdefender module
|
16
17
|
require 'appdefender'
|
data/lib/appdefender/version.rb
CHANGED
data/lib/appdefender.rb
CHANGED
@@ -29,6 +29,9 @@ module AppDefender
|
|
29
29
|
'K_SERVICE', # Google Cloud Functions
|
30
30
|
'FUNCTION_TARGET', # Google Cloud Functions
|
31
31
|
'FUNCTIONS_WORKER_RUNTIME', # Azure
|
32
|
+
'CATALYST_RESOURCE_ID', # Zoho
|
33
|
+
'__OW_ACTION_NAME', # DigitalOcean/OpenWhisk
|
34
|
+
'ES_APP_NAME',
|
32
35
|
]
|
33
36
|
archs = ["x86_64", "arm64", "aarch64" ]
|
34
37
|
RbConfig::CONFIG['host_os'] =~ /linux/ && archs.include?(RbConfig::CONFIG['host_cpu']) && provider_envs.any? {|env| !ENV[env].nil? && !ENV[env].empty? }
|
@@ -37,7 +40,6 @@ module AppDefender
|
|
37
40
|
if !supported()
|
38
41
|
err_msg = '"[ERROR] [appDefender] only Linux x64/arm64 systems on AWS Lambdas, Google Cloud Functions, or Azure Functions are supported."'
|
39
42
|
puts(err_msg)
|
40
|
-
raise err_msg
|
41
43
|
else
|
42
44
|
puts("[INFO] [appDefender] Ruby SDK version: " + AppDefender::VERSION)
|
43
45
|
include AppDefenderCLib;
|
data/lib/libcore.aarch64.gnu.so
CHANGED
Binary file
|
data/lib/libcore.aarch64.musl.so
CHANGED
Binary file
|
data/lib/libcore.x86_64.gnu.so
CHANGED
Binary file
|
data/lib/libcore.x86_64.musl.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appdefender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Extrinsec LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|