soar_audit_test_service 0.0.1 → 0.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6da91258d56592f21bbef93844bc2ca8356bde4c
|
4
|
+
data.tar.gz: cd8c23a7f5702990c75bfcfdba9e94d0a535364c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 471c5219ed45c604c136743a05de3bd1aca7b314343399899d298c531924a6bc4c2aecffefb8400becac8f31d5fe4f72465354e1a298c7e1b20d0ef308fc3c3a
|
7
|
+
data.tar.gz: 343228d832c34cca471396983b2a3f85a99a21d3333f9330fc7c2f30bf040a019621fe5f5a6892797d8a3a1747cc512df9c8a1469767cbec91ae2ca657748fe8
|
@@ -12,7 +12,8 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Audit test service}
|
13
13
|
spec.description = %q{Audit test service provides end points that allows the testing of audit features. Not to be used in production. }
|
14
14
|
spec.homepage = 'https://gitlab.host-h.net/hetznerZA/soar_audit_test_service'
|
15
|
-
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec)/}) }
|
17
18
|
spec.bindir = "exe"
|
18
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
gem 'soar_audit_test_service', "~> 0.0.2"
|
@@ -33,18 +33,10 @@ module SoarSc
|
|
33
33
|
SoarSc::auditing.debug("#{request['operation'].to_s}-#{request['correlation_identifier'].to_s}",request.params['flow_identifier'].to_s)
|
34
34
|
if request['operation'] == 'flow-test-action-1' then
|
35
35
|
request['operation'] = 'flow-test-action-2'
|
36
|
-
|
36
|
+
SoarSc::router.route(request)
|
37
37
|
end
|
38
38
|
[200, ""]
|
39
39
|
end
|
40
|
-
|
41
|
-
def query_endpoint(request)
|
42
|
-
require 'uri'
|
43
|
-
uri = URI.parse("http://localhost:9393/audit-test/flow")
|
44
|
-
uri.query = URI.encode_www_form( request )
|
45
|
-
require 'net/http'
|
46
|
-
Net::HTTP.get(uri)
|
47
|
-
end
|
48
40
|
end
|
49
41
|
end
|
50
42
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_audit_test_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Barney de Villiers
|
@@ -138,7 +138,8 @@ files:
|
|
138
138
|
- tfa/jewels/soar_audit_test_service/lib/web/router.rb
|
139
139
|
- tfa/jewels/soar_audit_test_service/meta
|
140
140
|
homepage: https://gitlab.host-h.net/hetznerZA/soar_audit_test_service
|
141
|
-
licenses:
|
141
|
+
licenses:
|
142
|
+
- MIT
|
142
143
|
metadata: {}
|
143
144
|
post_install_message:
|
144
145
|
rdoc_options: []
|