mihari 5.4.5 → 5.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/analyzers/binaryedge.md +10 -5
- data/docs/analyzers/censys.md +14 -6
- data/docs/analyzers/circl.md +13 -5
- data/docs/analyzers/crtsh.md +7 -6
- data/docs/analyzers/dnstwister.md +5 -3
- data/docs/analyzers/feed.md +44 -20
- data/docs/analyzers/greynoise.md +10 -5
- data/docs/analyzers/hunterhow.md +15 -7
- data/docs/analyzers/onyphe.md +9 -4
- data/docs/analyzers/otx.md +10 -5
- data/docs/analyzers/passivetotal.md +17 -5
- data/docs/analyzers/pulsedive.md +9 -4
- data/docs/analyzers/securitytrails.md +9 -4
- data/docs/analyzers/shodan.md +10 -5
- data/docs/analyzers/urlscan.md +10 -5
- data/docs/analyzers/virustotal.md +10 -5
- data/docs/analyzers/virustotal_intelligence.md +11 -4
- data/docs/analyzers/zoomeye.md +14 -6
- data/docs/configuration.md +29 -29
- data/docs/emitters/hive.md +13 -5
- data/docs/emitters/misp.md +10 -5
- data/docs/emitters/slack.md +10 -0
- data/docs/emitters/webhook.md +19 -19
- data/docs/requirements.md +8 -15
- data/docs/rule.md +20 -14
- data/frontend/package-lock.json +156 -159
- data/frontend/package.json +10 -10
- data/lib/mihari/analyzers/feed.rb +7 -7
- data/lib/mihari/database.rb +2 -2
- data/lib/mihari/version.rb +1 -1
- data/mihari.gemspec +4 -2
- data/requirements.txt +1 -1
- metadata +35 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2734178f12752f0a1e966694b19f9e92f624ef4c1f6151a52ad273534af66878
|
4
|
+
data.tar.gz: fae4bee7d76464ea8dde6ad6641c048351d1e8b1781df91424c5b9006bdae543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea57655f55af23df3176888e2bf3702e84a6e2fdd880859dd0bf51f373fab11632c2a99d92f34cf92e82152ac730ca3b15aa7c6a2a556d875beb2f9a8e31a99a
|
7
|
+
data.tar.gz: 32a1f0e2b6ed965a6c684cbcb6c6bfe8b51ba86d61903143805426af240309a73201a0905b9b992f9e11d3e23b77a8c8edf7caf36d903679e78a8498989e92d5
|
@@ -7,7 +7,7 @@ tags:
|
|
7
7
|
|
8
8
|
- [https://www.binaryedge.io/](https://www.binaryedge.io/)
|
9
9
|
|
10
|
-
This analyzer uses [BinaryEdge API V2](https://docs.binaryedge.io/api-v2/)
|
10
|
+
This analyzer uses [BinaryEdge API V2](https://docs.binaryedge.io/api-v2/) (`/v2/query/search`) to search. Pagination is supported.
|
11
11
|
|
12
12
|
```yaml
|
13
13
|
analyzer: binaryedge
|
@@ -15,7 +15,12 @@ query: ...
|
|
15
15
|
api_key: ...
|
16
16
|
```
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Query
|
21
|
+
|
22
|
+
`query` is a search query.
|
23
|
+
|
24
|
+
### API Key
|
25
|
+
|
26
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”BINARYEDGE_API_KEY"]`.
|
data/docs/analyzers/censys.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7
7
|
|
8
8
|
- [https://censys.io/](https://censys.io/)
|
9
9
|
|
10
|
-
|
10
|
+
This analyzer uses [Censys Search 2.0 REST API](https://search.censys.io/api) to search. Pagination is supported.
|
11
11
|
|
12
12
|
```yaml
|
13
13
|
analyzer: censys
|
@@ -16,8 +16,16 @@ id: ...
|
|
16
16
|
secret: ...
|
17
17
|
```
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
## Components
|
20
|
+
|
21
|
+
### Query
|
22
|
+
|
23
|
+
`query` is a search query.
|
24
|
+
|
25
|
+
### ID
|
26
|
+
|
27
|
+
`id` is a Cencys ID. Optional. Defaults to `ENV[”CENSYS_ID”]`.
|
28
|
+
|
29
|
+
### Secret
|
30
|
+
|
31
|
+
`secret` is a Cencys secret. Optional. Defaults to `ENV[”CENSYS_SECRET”]`.
|
data/docs/analyzers/circl.md
CHANGED
@@ -22,8 +22,16 @@ password: ...
|
|
22
22
|
username: ...
|
23
23
|
```
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
## Components
|
26
|
+
|
27
|
+
### Query
|
28
|
+
|
29
|
+
`query` is a domain or SHA1 certificate fingerprint.
|
30
|
+
|
31
|
+
### Username
|
32
|
+
|
33
|
+
`username` is a username. Optional. Defaults to `ENV[”CIRCL_PASSIVE_USERNAME”]`.
|
34
|
+
|
35
|
+
### Password
|
36
|
+
|
37
|
+
`password` is a password. Optional. Defaults to `ENV[”CIRCL_PASSIVE_PASSWORD”]`.
|
data/docs/analyzers/crtsh.md
CHANGED
@@ -15,11 +15,12 @@ query: ...
|
|
15
15
|
exclude_expired: ...
|
16
16
|
```
|
17
17
|
|
18
|
-
|
19
|
-
| --------------- | ------------------ | ------- | ----------------------------------------- |
|
20
|
-
| query | String | | Search query |
|
21
|
-
| exclude_expired | Boolean (optional) | True | Whether to exclude expired domains or not |
|
18
|
+
## Components
|
22
19
|
|
23
|
-
|
20
|
+
### Query
|
24
21
|
|
25
|
-
|
22
|
+
`query` is a search query.
|
23
|
+
|
24
|
+
### Exclude Expired
|
25
|
+
|
26
|
+
`exclude_expired` (boolean) determines whether to exclude expired domains or not. Optional. Defaults to `true`.
|
@@ -14,9 +14,11 @@ analyzer: dnstwister
|
|
14
14
|
query: ...
|
15
15
|
```
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
## Components
|
18
|
+
|
19
|
+
### Query
|
20
|
+
|
21
|
+
`query` is a search query.
|
20
22
|
|
21
23
|
!!! tip
|
22
24
|
|
data/docs/analyzers/feed.md
CHANGED
@@ -7,40 +7,64 @@ Note that you should write a selector to get proper IoCs from a feed. A selector
|
|
7
7
|
```yaml
|
8
8
|
analyzer: feed
|
9
9
|
query: ...
|
10
|
-
http_request_method: ...
|
11
|
-
http_request_payload: ...
|
12
|
-
http_request_payload_type: ...
|
13
|
-
http_request_headers: ...
|
14
10
|
selector: ...
|
11
|
+
method: ...
|
12
|
+
headers: ...
|
13
|
+
params: ...
|
14
|
+
data: ...
|
15
|
+
json: ...
|
15
16
|
```
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Query
|
21
|
+
|
22
|
+
`query` is a URL of a feed.
|
23
|
+
|
24
|
+
!!! note
|
25
|
+
|
26
|
+
I know this is a strange naming. It's just for keeping the convention with other analyzers.
|
27
|
+
|
28
|
+
### Method
|
29
|
+
|
30
|
+
`method` is an HTTP method. Defaults to `GET`.
|
31
|
+
|
32
|
+
### Selector
|
33
|
+
|
34
|
+
`selector` is a `jr` selector.
|
35
|
+
|
36
|
+
### Headers
|
37
|
+
|
38
|
+
`headers` (hash) is an HTTP headers. Optional.
|
39
|
+
|
40
|
+
### Params
|
41
|
+
|
42
|
+
`params` (hash) is an HTTP query params. Optional.
|
43
|
+
|
44
|
+
### Data
|
45
|
+
|
46
|
+
`data` (hash) is an HTTP form data. Optional.
|
47
|
+
|
48
|
+
### JSON
|
49
|
+
|
50
|
+
`json` (hash) is an JSON body. Optional.
|
25
51
|
|
26
52
|
## Examples
|
27
53
|
|
28
|
-
|
54
|
+
### ThreatFox
|
29
55
|
|
30
56
|
```yaml
|
31
57
|
analyzer: feed
|
32
58
|
query: "https://threatfox-api.abuse.ch/api/v1/"
|
33
|
-
|
34
|
-
|
35
|
-
query:
|
59
|
+
method: POST
|
60
|
+
json:
|
61
|
+
query: get_iocs
|
36
62
|
days: 1
|
37
|
-
|
38
|
-
http_request_headers:
|
39
|
-
"api-key": "YOUR_API_KEY"
|
63
|
+
headers:
|
40
64
|
selector: "map(&:data).unwrap.map(&:ioc).map { |v| v.start_with?('http://', 'https://') ? v : v.split(':').first }"
|
41
65
|
```
|
42
66
|
|
43
|
-
|
67
|
+
### URLhaus
|
44
68
|
|
45
69
|
```yaml
|
46
70
|
analyzer: feed
|
data/docs/analyzers/greynoise.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7
7
|
|
8
8
|
- [https://www.greynoise.io/](https://www.greynoise.io/)
|
9
9
|
|
10
|
-
This analyzer uses GreyNoise API
|
10
|
+
This analyzer uses GreyNoise API (`/v2/experimental/gnql`) to search. Pagination is supported.
|
11
11
|
|
12
12
|
```yaml
|
13
13
|
analyzer: greynoise
|
@@ -15,7 +15,12 @@ query: ...
|
|
15
15
|
api_key: ...
|
16
16
|
```
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Query
|
21
|
+
|
22
|
+
`query` is a GNQL search query.
|
23
|
+
|
24
|
+
### API Key
|
25
|
+
|
26
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”GREYNOISE_API_KEY"]`.
|
data/docs/analyzers/hunterhow.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7
7
|
|
8
8
|
- [https://hunter.how/](https://hunter.how/)
|
9
9
|
|
10
|
-
This analyzer uses `https://api.hunter.how/search`
|
10
|
+
This analyzer uses Hunter How API (`https://api.hunter.how/search`) to search. Pagination is supported.
|
11
11
|
|
12
12
|
```yaml
|
13
13
|
analyzer: hunterhow
|
@@ -17,9 +17,17 @@ start_time: ...
|
|
17
17
|
end_time: ...
|
18
18
|
```
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
## Components
|
21
|
+
|
22
|
+
### Query
|
23
|
+
|
24
|
+
`query` is a search query.
|
25
|
+
|
26
|
+
### Start/End Time
|
27
|
+
|
28
|
+
- `start_time` (date): Only show results after the given date.
|
29
|
+
- `end_time` (date): Only show results after the given date.
|
30
|
+
|
31
|
+
### API key
|
32
|
+
|
33
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”HUNTERHOW_API_KEY"]`.
|
data/docs/analyzers/onyphe.md
CHANGED
@@ -15,7 +15,12 @@ query: ...
|
|
15
15
|
api_key: ...
|
16
16
|
```
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Query
|
21
|
+
|
22
|
+
`query` is a search query.
|
23
|
+
|
24
|
+
### API Key
|
25
|
+
|
26
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”ONYPHE_API_KEY”"]`.
|
data/docs/analyzers/otx.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9
9
|
|
10
10
|
- [https://otx.alienvault.com/](https://otx.alienvault.com/dashboard/new)
|
11
11
|
|
12
|
-
This analyzer uses [OTX API v1](https://otx.alienvault.com/api) (`/api/v1/indicators/`) API
|
12
|
+
This analyzer uses [OTX API v1](https://otx.alienvault.com/api) (`/api/v1/indicators/`) API to search.
|
13
13
|
|
14
14
|
```yaml
|
15
15
|
analyzer: otx
|
@@ -17,7 +17,12 @@ query: ...
|
|
17
17
|
api_key: ...
|
18
18
|
```
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
## Components
|
21
|
+
|
22
|
+
### Query
|
23
|
+
|
24
|
+
`query` is a passive DNS search query. Domain or IP address.
|
25
|
+
|
26
|
+
### API Key
|
27
|
+
|
28
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”OTX_API_KEY”"]`.
|
@@ -29,8 +29,20 @@ username: ...
|
|
29
29
|
api_key: ...
|
30
30
|
```
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
32
|
+
## Components
|
33
|
+
|
34
|
+
### Query
|
35
|
+
|
36
|
+
`query` is a passive DNS/SSL or reverse whois search query. Domain, IP address, mail or SHA1 certificate fingerprint.
|
37
|
+
|
38
|
+
- Passive DNS: Domain, IP Address
|
39
|
+
- Passive SSL: SHA1 certificate fingerprint
|
40
|
+
- Reverse whois: mail
|
41
|
+
|
42
|
+
### Username
|
43
|
+
|
44
|
+
`username` is a username. Optional. Defaults to `ENV[”PASSIVETOTAL_USERNAME"]`.
|
45
|
+
|
46
|
+
### API Key
|
47
|
+
|
48
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”PASSIVETOTAL_API_KEY"]`.
|
data/docs/analyzers/pulsedive.md
CHANGED
@@ -17,7 +17,12 @@ query: ...
|
|
17
17
|
api_key: ...
|
18
18
|
```
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
## Components
|
21
|
+
|
22
|
+
### Query
|
23
|
+
|
24
|
+
`query` is a passive DNS search query. Domain or IP address.
|
25
|
+
|
26
|
+
### API Key
|
27
|
+
|
28
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”PULSEDIVE_API_KEY"]`.
|
@@ -26,7 +26,12 @@ query: ...
|
|
26
26
|
api_key: ...
|
27
27
|
```
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
## Components
|
30
|
+
|
31
|
+
### Query
|
32
|
+
|
33
|
+
`query` is a passive DNS search/reverse whois query. Domain, IP address or mail.
|
34
|
+
|
35
|
+
### API Key
|
36
|
+
|
37
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”SECURITYTRAILS_API_KEY"]`.
|
data/docs/analyzers/shodan.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7
7
|
|
8
8
|
- [https://shodan.io/](https://shodan.io/)
|
9
9
|
|
10
|
-
This analyzer uses [Shodan REST AP](https://developer.shodan.io/api) (`/shodan/host/search`) API to search.
|
10
|
+
This analyzer uses [Shodan REST AP](https://developer.shodan.io/api) (`/shodan/host/search`) API to search. Pagination is supported.
|
11
11
|
|
12
12
|
```yaml
|
13
13
|
analyzer: shodan
|
@@ -15,7 +15,12 @@ query: ...
|
|
15
15
|
api_key: ...
|
16
16
|
```
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Query
|
21
|
+
|
22
|
+
`query` is a search query.
|
23
|
+
|
24
|
+
### API Key
|
25
|
+
|
26
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”SHODAN_API_KEY"]`.
|
data/docs/analyzers/urlscan.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9
9
|
|
10
10
|
- [https://urlscan.io/](https://urlscan.io/)
|
11
11
|
|
12
|
-
This analyzer uses [urlscan.io](http://urlscan.io) API (`/api/v1/search`) to search.
|
12
|
+
This analyzer uses [urlscan.io](http://urlscan.io) API (`/api/v1/search`) to search. Pagination is supported.
|
13
13
|
|
14
14
|
```yaml
|
15
15
|
analyzer: urlscan
|
@@ -17,7 +17,12 @@ query: ...
|
|
17
17
|
api_key: ...
|
18
18
|
```
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
## Components
|
21
|
+
|
22
|
+
### Query
|
23
|
+
|
24
|
+
`query` is a search query.
|
25
|
+
|
26
|
+
### API Key
|
27
|
+
|
28
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”URLSCAN_API_KEY"]`.
|
@@ -9,7 +9,7 @@ tags:
|
|
9
9
|
|
10
10
|
- [https://www.virustotal.com](https://www.virustotal.com/gui/home/search)
|
11
11
|
|
12
|
-
|
12
|
+
This analyzer uses VirusTotal API v3.
|
13
13
|
|
14
14
|
An API endpoint to use is changed based on a type of a query.
|
15
15
|
|
@@ -28,7 +28,12 @@ query: ...
|
|
28
28
|
api_key: ...
|
29
29
|
```
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
## Components
|
32
|
+
|
33
|
+
### Query
|
34
|
+
|
35
|
+
`query` is a passive DNS search query. Domain or IP address.
|
36
|
+
|
37
|
+
### API Key
|
38
|
+
|
39
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”VIRUSTOTAL_API_KEY"]`.
|
@@ -10,13 +10,20 @@ tags:
|
|
10
10
|
|
11
11
|
- [https://www.virustotal.com](https://www.virustotal.com/gui/home/search)
|
12
12
|
|
13
|
+
This analyzer uses VirusTotal Intelligence API. Pagination is supported.
|
14
|
+
|
13
15
|
```yaml
|
14
16
|
analyzer: virustotal_intelligence
|
15
17
|
query: ...
|
16
18
|
api_key: ...
|
17
19
|
```
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
## Components
|
22
|
+
|
23
|
+
### Query
|
24
|
+
|
25
|
+
`query` is a search query.
|
26
|
+
|
27
|
+
### API Key
|
28
|
+
|
29
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”VIRUSTOTAL_API_KEY"]`.
|
data/docs/analyzers/zoomeye.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
- [https://zoomeye.org/](https://zoomeye.org/)
|
4
4
|
|
5
|
-
|
5
|
+
This analyzer uses ZoomEye API v3. Pagination is supported.
|
6
6
|
|
7
7
|
An API endpoint to use is changed based on a `type` option.
|
8
8
|
|
@@ -18,8 +18,16 @@ type: ...
|
|
18
18
|
api_key: ...
|
19
19
|
```
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
## Components
|
22
|
+
|
23
|
+
### Query
|
24
|
+
|
25
|
+
`query` is a search query.
|
26
|
+
|
27
|
+
### Type
|
28
|
+
|
29
|
+
`type` determines a search type. `web` or `host`.
|
30
|
+
|
31
|
+
### API Key
|
32
|
+
|
33
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”ZOOMEYE_API_KEY"]`.
|
data/docs/configuration.md
CHANGED
@@ -2,34 +2,34 @@
|
|
2
2
|
|
3
3
|
Configuration can be done via environment variables.
|
4
4
|
|
5
|
-
| Environmental Variable | Description | Default
|
6
|
-
| ---------------------- | ------------------------------- |
|
7
|
-
| DATABASE_URL | Database URL | sqlite3:///mihari.db |
|
8
|
-
| BINARYEDGE_API_KEY | BinaryEdge API key |
|
9
|
-
| CENSYS_ID | Censys API ID |
|
10
|
-
| CENSYS_SECRET | Censys secret |
|
11
|
-
| CIRCL_PASSIVE_PASSWORD | CIRCL passive DNS/SSL password |
|
12
|
-
| CIRCL_PASSIVE_USERNAME | CIRCL passive DNS/SSL username, |
|
13
|
-
| IPINFO_API_KEY | IPInfo API key (token) |
|
14
|
-
| MISP_URL | MISP URL |
|
15
|
-
| MISP_API_KEY | MISP API key |
|
16
|
-
| ONYPHE_API_KEY | Onyphe API key |
|
17
|
-
| OTX_API_KEY | OTX API key |
|
18
|
-
| PASSIVETOTAL_API_KEY | PassiveTotal API key |
|
19
|
-
| PASSIVETOTAL_USERNAME | PassiveTotal username |
|
20
|
-
| PULSEDIVE_API_KEY | Pulsedive API key |
|
21
|
-
| SECURITYTRAILS_API_KEY | SecurityTrails API key |
|
22
|
-
| SHODAN_API_KEY | Shodan API key |
|
23
|
-
| SLACK_CHANNEL | Slack channel name |
|
24
|
-
| SLACK_WEBHOOK_URL | Slack Webhook URL |
|
25
|
-
| THEHIVE_URL | TheHive URL, |
|
26
|
-
| THEHIVE_API_KEY | TheHive API key, |
|
27
|
-
| URLSCAN_API_KEY | urlscan.io API key, |
|
28
|
-
| VIRUSTOTAL_API_KEY | VirusTotal API key |
|
29
|
-
| ZOOMEYE_API_KEY | ZoomEye API key |
|
30
|
-
| SENTRY_DSN | Sentry DSN |
|
31
|
-
| RETRY_INTERVAL | Retry interval | 5
|
32
|
-
| RETRY_TIMES | Retry times | 3
|
33
|
-
| PAGINATION_LIMIT | Pagination limit | 100
|
5
|
+
| Environmental Variable | Description | Default |
|
6
|
+
| ---------------------- | ------------------------------- | ---------------------- |
|
7
|
+
| DATABASE_URL | Database URL | `sqlite3:///mihari.db` |
|
8
|
+
| BINARYEDGE_API_KEY | BinaryEdge API key | |
|
9
|
+
| CENSYS_ID | Censys API ID | |
|
10
|
+
| CENSYS_SECRET | Censys secret | |
|
11
|
+
| CIRCL_PASSIVE_PASSWORD | CIRCL passive DNS/SSL password | |
|
12
|
+
| CIRCL_PASSIVE_USERNAME | CIRCL passive DNS/SSL username, | |
|
13
|
+
| IPINFO_API_KEY | IPInfo API key (token) | |
|
14
|
+
| MISP_URL | MISP URL | |
|
15
|
+
| MISP_API_KEY | MISP API key | |
|
16
|
+
| ONYPHE_API_KEY | Onyphe API key | |
|
17
|
+
| OTX_API_KEY | OTX API key | |
|
18
|
+
| PASSIVETOTAL_API_KEY | PassiveTotal API key | |
|
19
|
+
| PASSIVETOTAL_USERNAME | PassiveTotal username | |
|
20
|
+
| PULSEDIVE_API_KEY | Pulsedive API key | |
|
21
|
+
| SECURITYTRAILS_API_KEY | SecurityTrails API key | |
|
22
|
+
| SHODAN_API_KEY | Shodan API key | |
|
23
|
+
| SLACK_CHANNEL | Slack channel name | `#general` |
|
24
|
+
| SLACK_WEBHOOK_URL | Slack Webhook URL | |
|
25
|
+
| THEHIVE_URL | TheHive URL, | |
|
26
|
+
| THEHIVE_API_KEY | TheHive API key, | |
|
27
|
+
| URLSCAN_API_KEY | urlscan.io API key, | |
|
28
|
+
| VIRUSTOTAL_API_KEY | VirusTotal API key | |
|
29
|
+
| ZOOMEYE_API_KEY | ZoomEye API key | |
|
30
|
+
| SENTRY_DSN | Sentry DSN | |
|
31
|
+
| RETRY_INTERVAL | Retry interval | 5 |
|
32
|
+
| RETRY_TIMES | Retry times | 3 |
|
33
|
+
| PAGINATION_LIMIT | Pagination limit | 100 |
|
34
34
|
|
35
35
|
Or you can set values through `.env` file. Values in `.env` file will be automatically loaded.
|
data/docs/emitters/hive.md
CHANGED
@@ -11,8 +11,16 @@ api_key: ...
|
|
11
11
|
api_version: ...
|
12
12
|
```
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
## Components
|
15
|
+
|
16
|
+
### URL
|
17
|
+
|
18
|
+
`url` is a TheHive URL. Optional. Defaults to `ENV[”THEHIVE_URL”]`.
|
19
|
+
|
20
|
+
### API Key
|
21
|
+
|
22
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”THEHIVE_API_KEY”]`.
|
23
|
+
|
24
|
+
### API Version
|
25
|
+
|
26
|
+
`api_version` is a version of The Hive API. Optional. Defaults to `ENV[”THEHIVE_API_VERSION”]`.
|
data/docs/emitters/misp.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
- [https://www.misp-project.org/](https://www.misp-project.org/)
|
4
4
|
|
5
|
-
This emitter creates an event on MISP based on an alert.
|
5
|
+
This emitter creates an event on MISP based on an alert. MISP v2 is supported.
|
6
6
|
|
7
7
|
```yaml
|
8
8
|
emitter: misp
|
@@ -10,7 +10,12 @@ url: ...
|
|
10
10
|
api_key: ...
|
11
11
|
```
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
## Components
|
14
|
+
|
15
|
+
### URL
|
16
|
+
|
17
|
+
`url` is a MISP URL. Optional. Defaults to `ENV[MISP_URL]`.
|
18
|
+
|
19
|
+
### API Key
|
20
|
+
|
21
|
+
`api_key` is an API key. Optional. Defaults to `ENV[”MISP_API_KEY”]`.
|
data/docs/emitters/slack.md
CHANGED
@@ -14,3 +14,13 @@ channel: ...
|
|
14
14
|
| ----------- | ------ | --------- | ------------------------------- | ----------------- |
|
15
15
|
| webhook_url | String | No | ENV[SLACK_WEBHOOK_URL] | Slack webhook URL |
|
16
16
|
| channel | String | No | ENV[SLACK_CHANNEL] / `#general` | Slack channel |
|
17
|
+
|
18
|
+
## Components
|
19
|
+
|
20
|
+
### Webhook URL
|
21
|
+
|
22
|
+
`url` is a Slack's incoming webhook URL. Optional. Defaults to `ENV[SLACK_WEBHOOK_URL]`.
|
23
|
+
|
24
|
+
### API Key
|
25
|
+
|
26
|
+
`channel` is a Slack channel to sent a message. Optional. Defaults to `ENV[SLACK_CHANNEL]` or `#general`.
|