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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88a6cdc262aa7c7161a6f1b8dc58cf895580bf03f4c27d8cf3f91189e5850892
4
- data.tar.gz: 0b1baf553d4898f3f6c8bd532a91c9f5007f0e4cfeb23d1895c4b1ca8bdb8b73
3
+ metadata.gz: c116f16a942242b360d96d5ba2a1b31e0f2a911601d853f2a67525b13e07ab76
4
+ data.tar.gz: 32ebbe221e6fb73a2c45b7eaf3ebd9dfbee34a1c19184dec11229b9f79cd16a1
5
5
  SHA512:
6
- metadata.gz: f1a123edde99bd9322c13bbf57815736605fba82df225ef7897999d112bec4fd34de1732e7e136d600c9105f0a33744ef327962fab47ae729e3306f1ea7566c7
7
- data.tar.gz: a2cadbba456573f047f23dd47cfe03750f9e5f9a4b4b1f8cdc61cd40ccc1c3d87c599e9f03315c5428cc3543cb3942861f10041503aceaddafe3446ee36f477a
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
- Real time serverless security platform for [Ruby](https://www.ruby-lang.org).
9
+ Runtime application self-protection platform for [Ruby](https://www.ruby-lang.org).
10
10
 
11
11
  ```ruby
12
- # set required environment variable ES_POLICY_GROUP_NAME as provided or configured in your app, e.g.
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppDefender
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.2"
5
5
  end
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;
Binary file
Binary file
Binary file
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.0
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-02-08 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi