File tree Expand file tree Collapse file tree 5 files changed +8
-12
lines changed
Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,10 @@ import (
66 "fmt"
77 "log"
88
9+ "github.com/EvalOps/keep/pkg/secrets"
910 "github.com/golang-migrate/migrate/v4"
1011 _ "github.com/golang-migrate/migrate/v4/database/postgres"
1112 _ "github.com/golang-migrate/migrate/v4/source/file"
12-
13- "github.com/EvalOps/keep/pkg/secrets"
1413)
1514
1615func main () {
Original file line number Diff line number Diff line change 4646// DevicePosture represents device posture information from Vouch
4747type DevicePosture struct {
4848 Attributes map [string ]interface {} `json:"attributes"`
49- LastSeen time.Time `json:"last_seen"`
5049 Compliance ComplianceStatus `json:"compliance"`
50+ LastSeen time.Time `json:"last_seen"`
5151 ID string `json:"id"`
5252 Hostname string `json:"hostname"`
5353 NodeID string `json:"node_id"`
Original file line number Diff line number Diff line change @@ -18,18 +18,17 @@ import (
1818 "sync"
1919 "time"
2020
21- "github.com/go-chi/chi/v5"
22- "github.com/go-chi/chi/v5/middleware"
23- "github.com/prometheus/client_golang/prometheus/promhttp"
24- "tailscale.com/tsnet"
25-
2621 "github.com/EvalOps/keep/pkg/logging"
2722 "github.com/EvalOps/keep/pkg/metrics"
2823 "github.com/EvalOps/keep/pkg/pki"
2924 "github.com/EvalOps/keep/pkg/retry"
3025 "github.com/EvalOps/keep/pkg/telemetry"
3126 "github.com/EvalOps/keep/pkg/vouch"
3227 "github.com/EvalOps/keep/services/authz/token"
28+ "github.com/go-chi/chi/v5"
29+ "github.com/go-chi/chi/v5/middleware"
30+ "github.com/prometheus/client_golang/prometheus/promhttp"
31+ "tailscale.com/tsnet"
3332)
3433
3534const (
Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ import (
1111 "testing"
1212 "time"
1313
14- "tailscale.com/tsnet"
15-
1614 "github.com/EvalOps/keep/pkg/pki"
1715 "github.com/EvalOps/keep/pkg/retry"
16+ "tailscale.com/tsnet"
1817)
1918
2019const (
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ import (
1313 "os"
1414 "time"
1515
16+ "github.com/EvalOps/keep/pkg/telemetry"
1617 "github.com/go-chi/chi/v5"
1718 "github.com/go-chi/chi/v5/middleware"
1819 _ "github.com/jackc/pgx/v5/stdlib" // register pgx driver with database/sql
19-
20- "github.com/EvalOps/keep/pkg/telemetry"
2120)
2221
2322const (
You can’t perform that action at this time.
0 commit comments