-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathcwa.go
More file actions
19 lines (16 loc) · 655 Bytes
/
cwa.go
File metadata and controls
19 lines (16 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Dwi Siswanto and/or licensed to Dwi Siswanto under one
// or more contributor license agreements. Licensed under the Elastic License 2.0;
// you may not use this file except in compliance with the Elastic License 2.0.
// See the LICENSE-ELASTIC file in the project root for more information.
package teler
import "github.com/dwisiswant0/pcregexp/pkg/regexp"
type cwa struct {
Filters []struct {
Description string `json:"description"`
ID int64 `json:"id"`
Impact int64 `json:"impact"`
Rule string `json:"rule"`
Tags []string `json:"tags"`
pattern *regexp.Regexp
} `json:"filters"`
}