Skip to content

Commit f67c6de

Browse files
authored
Merge pull request #13 from hilt86/main
documents github monitor analytic
2 parents f399daa + ea89621 commit f67c6de

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

content/docs/plugins/_index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Plugin configuration"
3+
date: 2024-12-21
4+
draft: false
5+
cascade: { type: "docs" }
6+
weight: 99
7+
---
8+
9+
Documentation on different plugin's configuration options.
10+
11+
- [Github Monitor](githubmonitor)
64.2 KB
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Github Monitor
3+
date: 2024-12-17T12:00:00
4+
draft: false
5+
weight: 1
6+
---
7+
8+
1. Create a Github token at https://github.com/settings/tokens
9+
2. Pop that in `yeti.conf`
10+
3. Create a an indicator with the following essential details :
11+
* query text : (see [query template](#query-template) below)
12+
* query type : `github`
13+
* diamond model : depends on context
14+
15+
![Example of the Github Monitor settings](github-monitor-example.png)
16+
17+
Here are some gotchas:
18+
19+
* The query type won't show up in the list - you need to type it in
20+
* The query text isn't really documented outside of the code for this plugin.
21+
The example in the code is missing an inverted comma.
22+
* You need to fill in the diamond model field.
23+
24+
#### Query Template
25+
26+
```json
27+
[
28+
{
29+
"type": "code",
30+
"query": "CVE-2024-49138 poc"
31+
}
32+
]
33+
```

0 commit comments

Comments
 (0)