v1

package
v0.0.0-...-720f425 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelperFunctions = template.FuncMap{
	"Name": func() string {
		return version.Name
	},
	"Version": func() string {
		return version.Version
	},
	"DateFormat": helpers.DateFormat,
}

HelperFunctions to use while rendering content

Functions

func Auth

func Auth(c *gin.Context)

Auth route

func CreateSavedQuery

func CreateSavedQuery(c *gin.Context)

CreateSavedQuery route

func DeleteNode

func DeleteNode(c *gin.Context)

DeleteNode route

func DeleteSavedQuery

func DeleteSavedQuery(c *gin.Context)

DeleteSavedQuery route

func Init

func Init(c *config.Config)

Init v1 contollers

func Node

func Node(c *gin.Context)

Node route

func OSQConfig

func OSQConfig(c *gin.Context)

OSQConfig receives a json node id and returns a osqueryd configuration json object

func OSQEnroll

func OSQEnroll(c *gin.Context)

OSQEnroll allows new osquery nodes to checkin

func OSQLog

func OSQLog(c *gin.Context)

OSQLog receives a osquery log json object

func OSQRead

func OSQRead(c *gin.Context)

OSQRead receives a post request for the node id and returns json queries

func OSQWrite

func OSQWrite(c *gin.Context)

OSQWrite receives json query results and returns node enroll validation

func Query

func Query(c *gin.Context)

Query all or some nodes

func SavedQueries

func SavedQueries(c *gin.Context)

SavedQueries route

func UpdateNode

func UpdateNode(c *gin.Context)

UpdateNode route

func Websocket

func Websocket(c *gin.Context)

Websocket route

Types

This section is empty.

Jump to

Keyboard shortcuts

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