Skip to content

Commit

Permalink
add note to tables.ext
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Nov 28, 2023
1 parent 9485a8c commit 5dd4ec8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/launcher.ext/launcher-extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"os"
"strings"
"time"

"github.com/apache/thrift/lib/go/thrift"
Expand All @@ -14,6 +15,12 @@ import (
osquery "github.com/osquery/osquery-go"
)

var licenseNote = `
This Kolide Agent extension is provided as a convinience to customers. It includes components that are only
licensed for use with a Kolide Subscription. Refer to the software licensing for details.
https://github.com/kolide/launcher/blob/main/ee/LICENSE
`

func main() {
var (
flSocketPath = flag.String("socket", "", "")
Expand All @@ -33,6 +40,8 @@ func main() {

timeout := time.Duration(*flTimeout) * time.Second

level.Info(logger).Log("msg", strings.ReplaceAll(licenseNote, "\n", ""))

// allow for osqueryd to create the socket path
time.Sleep(2 * time.Second)

Expand Down

0 comments on commit 5dd4ec8

Please sign in to comment.