Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SBOMRequest ¶
type SBOMRequest struct {
Source string `json:"source"`
OutputFormat string `json:"output_format"`
IncludeDevDependencies bool `json:"include_dev_dependencies"`
OutputFile string `json:"output_file"`
}
SBOMRequest represents the parsed request parameters
type SBOMResponse ¶
type SBOMResponse struct {
Content string `json:"content"`
Format string `json:"format"`
PackageCount int `json:"package_count"`
Source string `json:"source"`
OutputFile string `json:"output_file,omitempty"`
}
SBOMResponse represents the SBOM generation response
type SBOMTool ¶
type SBOMTool struct{}
SBOMTool implements SBOM generation using Anchore Syft
func (*SBOMTool) Definition ¶
Definition returns the tool's definition for MCP registration
func (*SBOMTool) Execute ¶
func (t *SBOMTool) Execute(ctx context.Context, logger *logrus.Logger, cache *sync.Map, args map[string]interface{}) (*mcp.CallToolResult, error)
Execute executes the SBOM tool
func (*SBOMTool) ProvideExtendedInfo ¶
func (t *SBOMTool) ProvideExtendedInfo() *tools.ExtendedHelp
ProvideExtendedInfo provides detailed usage information for the SBOM tool
Click to show internal directories.
Click to hide internal directories.