Skip to content

Feature/probe#3

Merged
krakenhavoc merged 4 commits intomainfrom
feature/probe
Mar 26, 2026
Merged

Feature/probe#3
krakenhavoc merged 4 commits intomainfrom
feature/probe

Conversation

@krakenhavoc
Copy link
Copy Markdown
Contributor

This pull request introduces comprehensive support for endpoint monitoring management in the KrakenKey CLI. It adds a new endpoint command with multiple subcommands to manage monitored endpoints, including adding, listing, showing, enabling/disabling, deleting endpoints, assigning/removing probes, managing hosted probe regions, and triggering on-demand scans. The implementation includes new API client methods, data types, and command handlers, along with documentation and pre-commit hooks for Go code quality.

New Endpoint Monitoring CLI Functionality

  • Added the endpoint command to the CLI with subcommands for adding, listing, showing, enabling/disabling, deleting endpoints, managing probes and regions, and requesting scans. This includes user-friendly usage strings and examples in the CLI help output. [1] [2] [3]

API Client Enhancements

  • Implemented new methods in the API client (internal/api/client.go) for endpoint operations: create, list, show, update, delete endpoints, manage regions and probes, and request scans.

Data Model Additions

  • Introduced new types in internal/api/types.go to represent endpoints, hosted regions, probes, and probe assignments, supporting the new monitoring features.

Command Handlers for Endpoint Operations

  • Added internal/endpoint/endpoint.go with handler functions for all endpoint-related subcommands, encapsulating logic for interacting with the API and formatting CLI output.

Developer Tooling

  • Added pre-commit hooks for go vet and go test to enforce code quality and run tests automatically. (.pre-commit-config.yaml)

@krakenhavoc krakenhavoc merged commit d4a5f53 into main Mar 26, 2026
1 check passed
@krakenhavoc krakenhavoc deleted the feature/probe branch March 26, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant