File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments