trailsc

command module
v0.0.0-...-edca319 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 1 Imported by: 0

README

trailsc - Trails config compiler and cli

Go Report Card

What is trailsc

trailsc is a config manager for osquery and the trails extension. It's build to be modular and facilitate development and testing of extension(s) and osquery.

How to use trailsc

The usage for trailsc

Manage and build configuration for open-osquery

Usage:
  trailsc [command]

Available Commands:
  help        Help about any command
  serve       Serve the osquery config bundle over http

Flags:
  -h, --help      help for trailsc
  -v, --verbose   Increase verbosity

Use "trailsc [command] --help" for more information about a command.

Serving the config over and http endpoint for trails extension

Serve the osquery config bundle over http

Usage:
  trailsc serve [flags]

Flags:
  -a, --addr string        IP:PORT to serve the config on (default "localhost:9000")
  -c, --cert string        Config signer key and certificate (default "cert.pem")
  -n, --container string   The config bundle container name (default "trails-config")
  -d, --dir string         Directory to serve from (default "/home/user/trailsc")
  -h, --help               help for serve
  -r, --raw                Serve raw directory

Global Flags:
  -v, --verbose   Increase verbosity

Example,

trailsc --dir /tmp/trails-config

Then config can be then fetched as

wget http://localhost:9000/qa/trails-config.tar.gz

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
signer
Package signer package contains utilities for signing a given blob and return the certificate file and related intermediate certificates to be bundled with the package it's signing to be able to verify at the remote end.
Package signer package contains utilities for signing a given blob and return the certificate file and related intermediate certificates to be bundled with the package it's signing to be able to verify at the remote end.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL