mirror of https://github.com/MISP/misp-dashboard
update: updated database table
parent
0d53091fd3
commit
fa0aebd81e
11
doc/DOC.md
11
doc/DOC.md
|
@ -11,7 +11,7 @@ Real time data are sent to their respective server's Redis pubsub channel
|
|||
# Redis database
|
||||
|
||||
| Module | Feature | Key name | Key type | Key content |
|
||||
|---------------------|---------------------------------------|--------------------------------|----------|--------------------------|
|
||||
|---------------------|---------------------------------------|------------------------------------|----------|--------------------------|
|
||||
| Geolocalisation | Coordinate per day | ```GEO_COORD:date``` | zset |{lat: xx, lon: yy} |
|
||||
| Geolocalisation | Country per day | ```GEO_COUNTRY:date``` | zset |ISO_CODE |
|
||||
| Geolocalisation | Coordinate and value per radius | ```GEO_RAD:date``` | geo | { categ: xx, value: yy } |
|
||||
|
@ -20,6 +20,13 @@ Real time data are sent to their respective server's Redis pubsub channel
|
|||
| Contribution | Last org that contributed | ```CONTRIB_LAST:date``` | zset | org |
|
||||
| Contribution | All org collected from the ZMQ | ```CONTRIB_ALL_ORG``` | set | org |
|
||||
| Contribution | Acquired contribution requirement | ```CONTRIB_ORG:org:req```<br/> | string | integer |
|
||||
| | ```req``` is one of: | ```points``` <br/> ```CONTRIB_REQ_i``` <br/> ```ATTR_WEEK_COUNT``` <br/> ```PROP_WEEK_COUNT``` <br/> ```SIGHT_WEEK_COUNT``` <br/> ```EVENT_WEEK_COUNT``` <br/> ```EVENT_MONTH_COUNT``` <br/> ```BADGE_i``` <br/> | | |
|
||||
| | ```req``` is one of: | ```points``` <br/> ```CONTRIB_REQ_i``` <br/> ```ATTR_WEEK_COUNT``` <br/> ```PROP_WEEK_COUNT``` <br/> ```SIGHT_WEEK_COUNT``` <br/> ```EVENT_WEEK_COUNT``` <br/> ```EVENT_MONTH_COUNT``` <br/> ```BADGE_i``` <br/> | | with TTL set accordingly |
|
||||
| Contribution | Acquired trophy points | ```CONTRIB_TROPHY:categ``` | zset | org |
|
||||
| Contribution | Last org to get a trophy or badge | ```CONTRIB_LAST_AWARDS:date``` | zset | org |
|
||||
| Users | Use to consider only one org per hour | ```LOGIN_TIMESTAMPSET:date_hour``` | set | org (TTL = 1 hour) |
|
||||
| Users | Use to get when users connect to MISP | ```LOGIN_TIMESTAMP:date``` | set | timestamp |
|
||||
| Users | When an org connects to MISP | ```LOGIN_ORG:date``` | zset | org |
|
||||
| Trendings | Popularity of type | ```TRENDINGS_type:date``` | zset | type_name |
|
||||
| | ```type``` is one of: | ```EVENTS``` <br/> ```CATEGS``` <br/> ```TAGS``` <br/> ```DISC``` <br/> | | |
|
||||
| Trendings | Popularity of type | ```TRENDINGS_SIGHT_type:date``` | string | integer |
|
||||
| | ```type``` is one of: | ```sightings``` <br/> ```false_positive```| | ||
|
||||
|
|
Loading…
Reference in New Issue