Skip to content

Commit

Permalink
sort checks in the same framework by number (bridgecrewio#495)
Browse files Browse the repository at this point in the history
* sort checks in the same framework by number

* Create a comparison key based on the check id (bridgecrewio#500)

The id is split into text and numbers. They are compared from left to
right. It also handles leading zeros, which are placed after te number
with one leading zero fewer. (1 -> 01 -> 001 ...)

Co-authored-by: Jonas Eckert <[email protected]>

Co-authored-by: Jonas Eckert <[email protected]>
Co-authored-by: Jonas Eckert <[email protected]>
  • Loading branch information
3 people authored and actions-user committed Aug 21, 2020
1 parent dda32ab commit 3bcd032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checkov/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '1.0.494'
version = '1.0.495'
2 changes: 1 addition & 1 deletion kubernetes/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
checkov==1.0.494
checkov==1.0.495

0 comments on commit 3bcd032

Please sign in to comment.