Skip to content

Commit

Permalink
fscrypt other
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Feb 16, 2024
1 parent 3e85285 commit 13cbef8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ee/tables/fscrypt_info/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ package fscrypt_info
import (
"context"
"errors"
"runtime"
"log/slog"

"github.com/go-kit/kit/log/level"
"github.com/osquery/osquery-go/plugin/table"
)

func (t *Table) generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error) {
level.Info(t.logger).Log(
"msg", tableName+" is only supported on linux",
"goos", runtime.GOOS,
t.slogger.Log(ctx, slog.LevelInfo,
"table only supported on linux",
)
return nil, errors.New("Platform Unsupported")
}

0 comments on commit 13cbef8

Please sign in to comment.