* feat(security): add core security command for vulnerability alerts Adds `core security` command area to expose GitHub security data: - `core security alerts` - aggregated view of all security alerts - `core security deps` - Dependabot vulnerability alerts with upgrade paths - `core security scan` - CodeQL and code scanning alerts - `core security secrets` - secret scanning alerts Features: - Filter by --repo, --severity (critical,high,medium,low) - JSON output with --json for AI agent consumption - Aggregated summary with severity breakdown - Shows patched versions for easy upgrades Closes #48 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(security): address CodeRabbit review feedback - Remove unused flattened fields from DependabotAlert struct - Add Unknown field to AlertSummary for unrecognized severities - Add doc comments for exported Add and String methods - Use cli.Wrap for contextual error wrapping - Fix secret scanning summary counting after filter - Remove unused --vulnerable flag from deps command - Fix JSON output to only include open alerts in secrets command Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(security): handle json.MarshalIndent errors Address CodeRabbit review feedback by properly handling errors from json.MarshalIndent in all security subcommands instead of ignoring them. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1.3 KiB
Go
41 lines
1.3 KiB
Go
//go:build !ci && !php && !minimal
|
|
|
|
// full.go imports all packages for the full development binary.
|
|
//
|
|
// Build with: go build (default)
|
|
//
|
|
// This is the default build variant with all development tools:
|
|
// - dev: Multi-repo git workflows (commit, push, pull, sync)
|
|
// - ai: AI agent task management
|
|
// - go: Go module and build tools
|
|
// - php: Laravel/Composer development tools
|
|
// - build: Cross-platform compilation
|
|
// - ci: Release publishing
|
|
// - sdk: API compatibility checks
|
|
// - pkg: Package management
|
|
// - vm: LinuxKit VM management
|
|
// - docs: Documentation generation
|
|
// - setup: Repository cloning and setup
|
|
// - doctor: Environment health checks
|
|
// - test: Test runner with coverage
|
|
|
|
package variants
|
|
|
|
import (
|
|
// Commands via self-registration
|
|
_ "github.com/host-uk/core/pkg/ai"
|
|
_ "github.com/host-uk/core/pkg/build/buildcmd"
|
|
_ "github.com/host-uk/core/pkg/ci"
|
|
_ "github.com/host-uk/core/pkg/dev"
|
|
_ "github.com/host-uk/core/pkg/docs"
|
|
_ "github.com/host-uk/core/pkg/doctor"
|
|
_ "github.com/host-uk/core/pkg/go"
|
|
_ "github.com/host-uk/core/pkg/php"
|
|
_ "github.com/host-uk/core/pkg/pkgcmd"
|
|
_ "github.com/host-uk/core/pkg/sdk"
|
|
_ "github.com/host-uk/core/pkg/security"
|
|
_ "github.com/host-uk/core/pkg/setup"
|
|
_ "github.com/host-uk/core/pkg/test"
|
|
_ "github.com/host-uk/core/pkg/vm"
|
|
_ "github.com/host-uk/core/pkg/workspace"
|
|
)
|