vectra 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -0
- data/lib/vectra.rb +2 -0
- data/lib/vectra/api.rb +1 -1
- data/lib/vectra/detections.rb +1 -1
- data/lib/vectra/hosts.rb +1 -1
- data/lib/vectra/rules.rb +20 -0
- data/lib/vectra/sensors.rb +20 -0
- data/lib/vectra/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7050b5ad1402a964cd1a1b18304627a7e2442161
|
4
|
+
data.tar.gz: 3544fc85fedf115d85e43f14b30ee7fd6b923770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f86cc1f0615836dcedc545eb461f605f390fe0e872d14e012caea1cb50b446cdbd5b8a3631718ae177f72665173014661d7db5abcc8f6162d648fd267d68317
|
7
|
+
data.tar.gz: 41222a3f6227dd84524d5003e217b3cc8b866d573cfb1b49c62a17d7772d5a9b5fa427dd1f2b4a587b27b161f73d2a44d93232bafb9496c50efcc0f2c7acb7ae
|
data/README.md
CHANGED
@@ -10,3 +10,34 @@ Like any other gem:
|
|
10
10
|
```shell
|
11
11
|
gem install vectra
|
12
12
|
```
|
13
|
+
# Usage
|
14
|
+
|
15
|
+
Basic Block Configuration:
|
16
|
+
|
17
|
+
Vectra.configure do |config|
|
18
|
+
config.endpoint = @endpoint_url # https://vectra/api/
|
19
|
+
config.username = @username
|
20
|
+
config.password = @password
|
21
|
+
end
|
22
|
+
|
23
|
+
## Detections
|
24
|
+
|
25
|
+
Vectra::Detections.all
|
26
|
+
|
27
|
+
or by ID
|
28
|
+
|
29
|
+
Vectra::Detections.get(1)
|
30
|
+
|
31
|
+
|
32
|
+
## Hosts
|
33
|
+
|
34
|
+
Vectra::Hosts.all
|
35
|
+
|
36
|
+
or by ID
|
37
|
+
|
38
|
+
Vectra::Hosts.get(1)
|
39
|
+
|
40
|
+
|
41
|
+
# Features
|
42
|
+
|
43
|
+
- Supports Hosts and Detections
|
data/lib/vectra.rb
CHANGED
data/lib/vectra/api.rb
CHANGED
data/lib/vectra/detections.rb
CHANGED
data/lib/vectra/hosts.rb
CHANGED
data/lib/vectra/rules.rb
ADDED
data/lib/vectra/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vectra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Mackintosh
|
@@ -114,6 +114,8 @@ files:
|
|
114
114
|
- lib/vectra/config.rb
|
115
115
|
- lib/vectra/detections.rb
|
116
116
|
- lib/vectra/hosts.rb
|
117
|
+
- lib/vectra/rules.rb
|
118
|
+
- lib/vectra/sensors.rb
|
117
119
|
- lib/vectra/version.rb
|
118
120
|
- spec/spec_helper.rb
|
119
121
|
- spec/vectra/vectra_spec.rb
|