Skip to content

secureCodeBox CLI (scbctl) #189

@nigthknight

Description

@nigthknight

Is your feature request related to a problem? Please describe.

As user / developer of the secureCodeBox I would like to interact with the secureCodeBox via an unified CLI to fulfill tasks such as installing, start, update and delete scanners / hooks, generate stubs for new scanners / hooks

Describe the solution you'd like

There is a CLI tool to:

  • create & observe scans
    e.g. scbctl scan amass enum -d example.com to directly create a Scan with a scanType amass and the parameters: ["enum", "-d", "example.com"]. Ideally the cli would also have a paramters to automatically "follow" the scans progress to view the logs of scanner & parser and show a summary of the results.
  • directly trigger new executions of ScheduledScans
    e.g. scbctl trigger --namespace internal-scans daily-network-scan to directly trigger a new Scan for the daily-network-scan Scheduled Scan
  • interact with cascading rules

Additional context

A simple implementation could be possible using Cobra

For a previous prototype version of the secureCodeBox there used to be a command line with the ability to start and observe scans, a example scan run can be seen in this video 😛:

scbctl.mp4

Metadata

Metadata

Labels

cliIssues regarding the CLI IntegrationenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions