appdefender 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88a6cdc262aa7c7161a6f1b8dc58cf895580bf03f4c27d8cf3f91189e5850892
4
- data.tar.gz: 0b1baf553d4898f3f6c8bd532a91c9f5007f0e4cfeb23d1895c4b1ca8bdb8b73
3
+ metadata.gz: 5002ba007b37f9ecc88b0cd1e9078d8ee6c50904797c3354de1b9932b0b4acdd
4
+ data.tar.gz: b9de33510a352a4f60e00ac5890c8e0194c53d7047b97ca432d4597592f4f6b9
5
5
  SHA512:
6
- metadata.gz: f1a123edde99bd9322c13bbf57815736605fba82df225ef7897999d112bec4fd34de1732e7e136d600c9105f0a33744ef327962fab47ae729e3306f1ea7566c7
7
- data.tar.gz: a2cadbba456573f047f23dd47cfe03750f9e5f9a4b4b1f8cdc61cd40ccc1c3d87c599e9f03315c5428cc3543cb3942861f10041503aceaddafe3446ee36f477a
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
- 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.1"
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.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-02-08 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi