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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c21e0cc46aa56c0b38742049ff9fb25d8375b8c555d26dc9c5893205f80947b0
4
- data.tar.gz: 452122ef77d5e839a105b01c8ac703924c8488945f8a6d26dffb328efe758418
3
+ metadata.gz: 2734178f12752f0a1e966694b19f9e92f624ef4c1f6151a52ad273534af66878
4
+ data.tar.gz: fae4bee7d76464ea8dde6ad6641c048351d1e8b1781df91424c5b9006bdae543
5
5
  SHA512:
6
- metadata.gz: '0488ab7be1fd505ffb6c1bf174bf4eb51a2809b39d014206a9078c2b25b635d1b1cecf71db54870cbe41f363f3016be0116193963a83f8038d8f87fd990075ad'
7
- data.tar.gz: 392f31818f021e205a70e315e430dec4864edf7a37245651a2e516be4f41afb2c9572d73a0275574cb4917036398686f2da917d5c5386084a7527f0c2a68abb3
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/) and [/v2/query/search](https://docs.binaryedge.io/api-v2/#v2querysearch) API endpoint to search.
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
- | Name | Type | Required? | Default | Desc. |
19
- | ------- | ------ | --------- | ------------------------- | ------------ |
20
- | query | String | Yes | | Search query |
21
- | api_key | String | No | ENV[”BINARYEDGE_API_KEY"] | API key |
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"]`.
@@ -7,7 +7,7 @@ tags:
7
7
 
8
8
  - [https://censys.io/](https://censys.io/)
9
9
 
10
- The analyzer uses [Censys Search 2.0 REST API](https://search.censys.io/api) to search.
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
- | Name | Type | Required? | Default | Desc. |
20
- | ------ | ------ | --------- | -------------------- | ------------- |
21
- | query | String | Yes | | Search query |
22
- | id | String | No | ENV[”CENSYS_ID”] | Censys ID |
23
- | secret | String | No | ENV[”CENSYS_SECRET”] | Censys secret |
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”]`.
@@ -22,8 +22,16 @@ password: ...
22
22
  username: ...
23
23
  ```
24
24
 
25
- | Name | Type | Required? | Default | Desc. |
26
- | -------- | ------ | --------- | ----------------------------- | -------------------------------------- |
27
- | query | String | Yes | | Domain or SHA1 certificate fingerprint |
28
- | username | String | No | ENV[”CIRCL_PASSIVE_USERNAME”] | Username |
29
- | password | String | Noe | ENV[”CIRCL_PASSIVE_PASSWORD”] | Password |
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”]`.
@@ -15,11 +15,12 @@ query: ...
15
15
  exclude_expired: ...
16
16
  ```
17
17
 
18
- | Name | Type | Default | Desc. |
19
- | --------------- | ------------------ | ------- | ----------------------------------------- |
20
- | query | String | | Search query |
21
- | exclude_expired | Boolean (optional) | True | Whether to exclude expired domains or not |
18
+ ## Components
22
19
 
23
- !!! tip
20
+ ### Query
24
21
 
25
- if `exclude_expired` is set as `true`, expired domains are excluded from search results.
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
- | Name | Type | Required? | Default | Desc. |
18
- | ----- | ------ | --------- | ------- | ------ |
19
- | query | String | Yes | | Domain |
17
+ ## Components
18
+
19
+ ### Query
20
+
21
+ `query` is a search query.
20
22
 
21
23
  !!! tip
22
24
 
@@ -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
- | Name | Type | Required? | Default | Desc. |
18
- | ------------------------- | ------ | --------- | ------- | ------------------------------------ |
19
- | query | String | Yes | | URL |
20
- | http_request_method | String | No | GET | HTTP request method (GET or POST) |
21
- | http_request_headers | Hash | No | | HTTP request headers |
22
- | http_request_payload | Hash | No | | HTTP request payload |
23
- | http_request_payload_type | String | No | | Content-type of HTTP request payload |
24
- | selector | String | Yes | | `jr` selector |
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
- **ThreatFox**
54
+ ### ThreatFox
29
55
 
30
56
  ```yaml
31
57
  analyzer: feed
32
58
  query: "https://threatfox-api.abuse.ch/api/v1/"
33
- http_request_method: "POST"
34
- http_request_payload:
35
- query: "get_iocs"
59
+ method: POST
60
+ json:
61
+ query: get_iocs
36
62
  days: 1
37
- http_request_payload_type: "application/json"
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
- **URLhaus**
67
+ ### URLhaus
44
68
 
45
69
  ```yaml
46
70
  analyzer: feed
@@ -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 and `[https://api.greynoise.io/v2/experimental/gnql](https://api.greynoise.io/v2/experimental/gnql)` API endpoint to search.
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
- | Name | Type | Required? | Default | Desc. |
19
- | ------- | ------ | --------- | ------------------------ | ------------ |
20
- | query | String | Yes | | Search query |
21
- | api_key | String | No | ENV[”GREYNOISE_API_KEY"] | API key |
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"]`.
@@ -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` API endpoint to 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
- | Name | Type | Required? | Default | Desc. |
21
- | ---------- | ------ | --------- | ------------------------ | ------------ |
22
- | query | String | Yes | | Search query |
23
- | start_time | Date | Yes | | |
24
- | end_time | Date | Yes | | |
25
- | api_key | String | No | ENV[”HUNTERHOW_API_KEY"] | API key |
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"]`.
@@ -15,7 +15,12 @@ query: ...
15
15
  api_key: ...
16
16
  ```
17
17
 
18
- | Name | Type | Required? | Default | Desc. |
19
- | ------- | ------ | --------- | --------------------- | ------------ |
20
- | query | String | Yes | | Search query |
21
- | api_key | String | No | ENV[”ONYPHE_API_KEY”] | API key |
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”"]`.
@@ -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 endpoints to search.
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
- | Name | Type | Required? | Default | Desc. |
21
- | ------- | ------ | --------- | ------------------ | -------------------- |
22
- | query | String | Yes | | Domain or IP address |
23
- | api_key | String | No | ENV[”OTX_API_KEY”] | API key |
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
- | Name | Type | Required? | Default | Desc. |
33
- | -------- | ------ | --------- | ---------------------------- | ---------------------------------------------------------------- |
34
- | query | String | Yes | | Domain, IP address, mail address or SHA1 certificate fingerprint |
35
- | username | String | No | ENV[”PASSIVETOTAL_USERNAME"] | Username |
36
- | api_key | String | No | ENV[”PASSIVETOTAL_API_KEY"] | API key |
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"]`.
@@ -17,7 +17,12 @@ query: ...
17
17
  api_key: ...
18
18
  ```
19
19
 
20
- | Name | Type | Required? | Default | Desc. |
21
- | ------- | ------ | --------- | ------------------------ | -------------------- |
22
- | query | String | Yes | | Domain or IP address |
23
- | api_key | String | No | ENV[”PULSEDIVE_API_KEY"] | API key |
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
- | Name | Type | Required? | Default | Desc. |
30
- | ------- | ------ | --------- | ----------------------------- | ---------------------------------- |
31
- | query | String | Yes | | Domain, IP address or mail address |
32
- | api_key | String | No | ENV[”SECURITYTRAILS_API_KEY"] | API key |
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"]`.
@@ -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
- | Name | Type | Required? | Default | Desc. |
19
- | ------- | ------ | --------- | --------------------- | ------------ |
20
- | query | String | Yes | | Search query |
21
- | api_key | String | No | ENV[”SHODAN_API_KEY"] | API key |
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"]`.
@@ -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
- | Name | Type | Required? | Default | Desc. |
21
- | ------- | ------ | --------- | ---------------------- | ------------ |
22
- | query | String | Yes | | Search query |
23
- | api_key | String | No | ENV[”URLSCAN_API_KEY"] | API key |
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
- The analyzer uses VirusTotal API v3.
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
- | Name | Type | Required? | Default | Desc. |
32
- | ------- | ------ | --------- | ------------------------- | -------------------- |
33
- | query | String | Yes | | Domain or IP address |
34
- | api_key | String | No | ENV[”VIRUSTOTAL_API_KEY"] | API key |
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
- | Name | Type | Required? | Default | Desc. |
20
- | ------- | ------ | --------- | ------------------------- | ------------ |
21
- | query | String | Yes | | Search query |
22
- | api_key | String | No | ENV[”VIRUSTOTAL_API_KEY"] | API key |
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"]`.
@@ -2,7 +2,7 @@
2
2
 
3
3
  - [https://zoomeye.org/](https://zoomeye.org/)
4
4
 
5
- The analyzer uses ZoomEye API v3.
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
- | Name | Type | Required? | Default | Desc. |
22
- | ------- | ------------------------ | --------- | ---------------------- | ------------ |
23
- | query | String | Yes | | Search query |
24
- | type | String (`web` or `host`) | Yes | | Query type |
25
- | api_key | String | No | ENV[”ZOOMEYE_API_KEY"] | API key |
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"]`.
@@ -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 | #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 |
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.
@@ -11,8 +11,16 @@ api_key: ...
11
11
  api_version: ...
12
12
  ```
13
13
 
14
- | Name | Type | Required? | Default | Desc. |
15
- | ----------- | ------ | --------- | -------------------------- | ------------------- |
16
- | url | String | No | ENV[”THEHIVE_URL”] | TheHive API URL |
17
- | api_key | String | No | ENV[”THEHIVE_API_KEY”] | TheHive API key |
18
- | api_version | String | No | ENV[”THEHIVE_API_VERSION”] | TheHive API version |
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”]`.
@@ -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
- | Name | Type | Required? | Default | Desc. |
14
- | ------- | ------ | --------- | ------------------- | ------------ |
15
- | url | String | No | ENV[”MISP_URL”] | MISP API URL |
16
- | api_key | String | No | ENV[”MISP_API_KEY”] | MISP API key |
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”]`.
@@ -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`.