cli

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(v, c, d string) error

func GenerateInvestigationPlan

func GenerateInvestigationPlan(ctx context.Context, prompt string, provider string) []modules.InvestigationStep

GenerateInvestigationPlan creates a comprehensive investigation plan based on the prompt

func ParseQueryResults

func ParseQueryResults(results map[string]interface{}, prompt string) string

ParseQueryResults analyzes the results and generates insights

Types

type DynamicQueryGenerator

type DynamicQueryGenerator struct {
	Provider string
}

DynamicQueryGenerator generates Steampipe queries based on natural language prompts

func (*DynamicQueryGenerator) GenerateQuery

func (g *DynamicQueryGenerator) GenerateQuery(prompt string) (string, string)

GenerateQuery creates a Steampipe query from a natural language prompt

type QueryTemplate

type QueryTemplate struct {
	ResourceType string
	Fields       []string
	Table        string
	Conditions   []string
}

QueryTemplate represents a template for generating Steampipe queries

Jump to

Keyboard shortcuts

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