Skip to content

[cmd] - Move the CLI root command to its own package#762

Merged
christophetd merged 1 commit intomainfrom
simon.marechal/move-stratus-cmd-to-package
Feb 26, 2026
Merged

[cmd] - Move the CLI root command to its own package#762
christophetd merged 1 commit intomainfrom
simon.marechal/move-stratus-cmd-to-package

Conversation

@Minosity-VR
Copy link
Copy Markdown
Collaborator

@Minosity-VR Minosity-VR commented Feb 26, 2026

What does this PR do?

Enhancement:

Move the root command to its own package. This allows it to be imported directly to ease custom attack techniques development and integration.

Motivation

The current way of using Stratus Red Team programatically is to import it as a dependency. This is great to use it in a broader program, but doesn't allow to quickly expand its usage by adding new attack techniques but keeping the same CLI.

With this change, it is possible to easily import the root command, add custom attack techniques and rebuild the CLI to have both the native attacks and the your custom ones

QA Instructions

  • make test
  • docker build .
  • terraform fmt -recursive -check in v2/internal/attacktechniques - skipped, not relevant
  • stratus list shows all the attacks

@Minosity-VR Minosity-VR marked this pull request as ready for review February 26, 2026 14:37
@Minosity-VR Minosity-VR requested review from a team as code owners February 26, 2026 14:37
@christophetd christophetd merged commit 42ac930 into main Feb 26, 2026
6 checks passed
@christophetd christophetd deleted the simon.marechal/move-stratus-cmd-to-package branch February 26, 2026 15:31
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.

2 participants