You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for specifying a single file for testing. For example:
$ panther-cli test --policies analysis/policies/cis/aws_test_policy.yml
Would run the tests for just the specified policy. This would make testing easier, as you don't have to setup a wip directory with your working copies, or have to try and filter out the relevant results from all the results if you're working in the main directories.
Currently if you provide the path to a file directly, the tool just exits with no relevant output.
The text was updated successfully, but these errors were encountered:
* Sorted testing (#1)
Add command-line argument sort-test-results to panther_analysis_tool
When set,sort-test-results will bucket test results output by passed/errored status, and will sort test cases by Rule ID
* Minor updates - rename variable, conditional print (#2)
* Print passed tests first, followed by failed
* Sort tests by Rule ID
* Add container
* Add container
* Add container
* Add logic to print organized output when a results container is passed.
* Add container
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* Update version
* rename variable. Only print detection ID in setup_run_tests when not sorting test results
* Conditionally print blank lines (#3)
* Conditionally print blank line
* Conditionally print blank line
* Use implied bool arg (#4)
* Conditionally print blank line
* Conditionally print blank line
* Update arg implementation
* Update arg implementation
* Apply diff from Panther (#5)
* Apply diff from panther
* Lint with black (#6)
* lint with black
---------
Co-authored-by: Chris Dzombak <chris@chrisdzombak.net>
Co-authored-by: Evan Gibler <evan.gibler@panther.com>
Migrated from
panther-analysis
.Add support for specifying a single file for testing. For example:
$ panther-cli test --policies analysis/policies/cis/aws_test_policy.yml
Would run the tests for just the specified policy. This would make testing easier, as you don't have to setup a
wip
directory with your working copies, or have to try and filter out the relevant results from all the results if you're working in the main directories.Currently if you provide the path to a file directly, the tool just exits with no relevant output.
The text was updated successfully, but these errors were encountered: