prowler icon indicating copy to clipboard operation
prowler copied to clipboard

chore(CLI): add new CLI

Open pedrooot opened this issue 9 months ago • 3 comments

Description

We want to have the same behaviour from the old parser on the new CLI. To start, list commands should be the same:

  • [x] List services
  • [x] List fixers
  • [x] List categories
  • [x] List compliance
  • [x] List compliance requirements
  • [x] List checks json
  • [x] List checks
  • [x] Logging functions
  • [x] Run a "mocked" prowler scan
  • [x] Send findings to SH
  • [x] status
  • [x] output_formats
  • [x] outputs_filename
  • [x] output_directory
  • [x] verbose
  • [x] ignore_exit_code_3
  • [x] no_banner
  • [x] unix_timestamp
  • [x] profile
  • [x] Tests

Usage: python3 cli/cli.py aws --profile x

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pedrooot avatar May 24 '24 10:05 pedrooot