appdefender 0.4.0 → 0.4.2
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: c116f16a942242b360d96d5ba2a1b31e0f2a911601d853f2a67525b13e07ab76
|
4
|
+
data.tar.gz: 32ebbe221e6fb73a2c45b7eaf3ebd9dfbee34a1c19184dec11229b9f79cd16a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51bfd1266aea806cbcd0022df5c76793a780cf2d2b109e08e90f0b21462f740bb1b70006bb260ff7fc4fe3a3fff35f79e721d9aaf39b340e16485747fdbcdb8b
|
7
|
+
data.tar.gz: c56d88456530f8f326811a0e27541af3ad2b7c79a41a7162f8f90c8cb82eceaf8882169edbf9f806e13bc9d2097615ddb252795aae4d94f88ef21f483eb9350b
|
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.2
|
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-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|