srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/internal/scope
diff options
context:
space:
mode:
Diffstat (limited to 'internal/scope')
-rw-r--r--internal/scope/scope.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/scope/scope.go b/internal/scope/scope.go
index d8d2e80..a259801 100644
--- a/internal/scope/scope.go
+++ b/internal/scope/scope.go
@@ -22,10 +22,10 @@ import (
// match-and-replace rules already use, for the same reason: one
// consistent mental model across both rule types in this tool.
type Rule struct {
- ID int64
- Enabled bool
- Pattern string
- IsRegex bool
+ ID int64 `json:"id"`
+ Enabled bool `json:"enabled"`
+ Pattern string `json:"pattern"`
+ IsRegex bool `json:"is_regex"`
}
// InScope reports whether host should be recorded, given rules.