Limit CHECK_ID to a single value, handing the left-pad formatting in one place

Remove the second entry in any comma-separated check IDs from each check, formatting
the check ID with leading zeros in `include/outputs` if the `-n` flag is active
This commit is contained in:
Marc Jay
2020-04-14 02:02:48 +01:00
parent df52057287
commit 0f49468601
41 changed files with 42 additions and 43 deletions

View File

@@ -8,7 +8,7 @@
# You should have received a copy of the license along with this
# work. If not, see <http://creativecommons.org/licenses/by-nc-sa/4.0/>.
CHECK_ID_check44="4.4,4.04"
CHECK_ID_check44="4.4"
CHECK_TITLE_check44="[check44] Ensure routing tables for VPC peering are \"least access\" (Not Scored)"
CHECK_SCORED_check44="NOT_SCORED"
CHECK_TYPE_check44="LEVEL2"