Documentation ¶
Overview ¶
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Copyright (c) "2024 Verosint, Inc"
Index ¶
- Constants
- Variables
- func Execute()
- func GenerateSchema(g *Generate) *cobra.Command
- func GetLatestVersion() (string, error)
- func NewEvaluateCommand(presistentPre func(cmd *cobra.Command, args []string) error) *cobra.Command
- func NewSignalPrintCommand(presistentPre func(cmd *cobra.Command, args []string) error) *cobra.Command
- func NewUpdateCommand(runner func(cmd *cobra.Command, args []string)) *cobra.Command
- type Generate
- type RuleFile
Constants ¶
View Source
const (
BINARIES_URL = "https://gitlab.com/verosint/public/verosint/-/releases/permalink/latest/downloads/verosint_"
)
Variables ¶
View Source
var (
VerosintClient *client.VerosintClient
)
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GenerateSchema ¶
func GetLatestVersion ¶
func NewEvaluateCommand ¶
func NewSignalPrintCommand ¶
Types ¶
type RuleFile ¶
type RuleFile []struct { UUID string `json:"uuid"` Name string `json:"name"` Description string `json:"description"` Rules []client.Rule `json:"rules"` Default struct { Outcomes []string `json:"outcomes"` } `json:"default"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.