| 1 | export interface SigmaQuery { |
| 2 | id: number |
| 3 | rule_name: string |
| 4 | rule_query: string |
| 5 | active: boolean |
| 6 | time_interval: SigmaTimeInterval |
| 7 | last_updated: Date |
| 8 | last_execution_time: Date |
| 9 | } |
| 10 | |
| 11 | export type SigmaTimeIntervalValue = number |
| 12 | export type SigmaTimeIntervalUnit = "m" | "h" | "d" |
| 13 | export type SigmaTimeInterval = `${SigmaTimeIntervalValue}${SigmaTimeIntervalUnit}` |
| 14 | |
| 15 | export type SigmaRuleLevels = "high" | "critical" |