diff --git a/ASVS_v4.0_Checklist.ods b/ASVS_v4.0_Checklist.ods index 4079f44..0ba1862 100644 Binary files a/ASVS_v4.0_Checklist.ods and b/ASVS_v4.0_Checklist.ods differ diff --git a/ASVS_v4.0_Checklist.xlsx b/ASVS_v4.0_Checklist.xlsx index 164d363..1cc224f 100644 Binary files a/ASVS_v4.0_Checklist.xlsx and b/ASVS_v4.0_Checklist.xlsx differ diff --git a/README.md b/README.md index 75811e0..2cfdd48 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ 🔐 OWASP ASVS 4.0 Checklist =========================== -Checklist for [OWASP's ASVS v4.0](https://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project) +Checklist for OWASP's [Application Security Verification Standard 4.0](https://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project) +Usage +===== It's probably easiest if you copy [this Google Docs file](https://docs.google.com/spreadsheets/d/11BNnfM8ImoL7PolLTgPch7xfdQDYTRfELbnayfZLDNI) to your own drive and work from there. Alternatively, you may download one of these files: @@ -13,10 +15,10 @@ Alternatively, you may download one of these files: ![screenshot](resources/screenshot2.png) -Usage -===== +Script Usage +============ -If you need to re-parse the CSV into individual files for easier usage, run this: +You most likely won't need this. But if you need to re-parse the CSV into individual files for easier usage, run this: ```shell $ ./parse_csv resources/OWASP_Application_Security_Verification_Standard_4.0-en.csv diff --git a/macros/onEdit.js b/macros/onEdit.js index 70330ce..a7a5393 100644 --- a/macros/onEdit.js +++ b/macros/onEdit.js @@ -1,11 +1,11 @@ function onEdit(event) { - var isApplicableRow = 6; + var isApplicableRow = 5; var tableRange = "A2:H200"; var sheet = SpreadsheetApp.getActiveSpreadsheet(); var editedCell = sheet.getActiveCell(); - if (editedCell.getColumn() == isApplicableRow) { + if (editedCell.getValue() === 'Not Applicable') { var range = sheet.getRange(tableRange); range.sort({ column : isApplicableRow, ascending: false }); } diff --git a/resources/screenshot.png b/resources/screenshot.png index 91f8e72..b69fab7 100644 Binary files a/resources/screenshot.png and b/resources/screenshot.png differ