From 9ec632bb6637a8947f3d29e4a1af530484b96aa9 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 5 Mar 2024 12:35:27 -0800 Subject: [PATCH 1/3] Update spellcheck config + deps Catch more things Signed-off-by: Tim Smith --- .../actions/spelling/line_forbidden.patterns | 50 ++++++++++--------- yarn.lock | 18 +++---- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 03d87038..1a47c5a3 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -1,7 +1,14 @@ # Detect common combinations of valid words that are in fact invalid. # Useful for brand capitalizations -# Catch PR links left in the release notes + +# +# Catch placeholder text +# + +\b[Lo]orem [Ii]psum\ + +# PR links left in the release notes \bhttps:\/\/github.com\/mondoohq\/.*\/pull\/\d* # @@ -9,20 +16,20 @@ # # s.b. Allow list -\swhitelist\b -\swhitelisting\b -\swhitelisted\b -\swhite list\b -\swhite listing\b -\swhite listed\b +\s[Ww]hitelist\b +\s[Ww]hitelisting\b +\s[Ww]hitelisted\b +\s[Ww]hite list\b +\s[Ww]hite listing\b +\s[Ww]hite listed\b # s.b. Block list -\sblacklist\b -\sblacklisting\b -\sblacklisted\b -\sblack list\b -\sblack listing\b -\sblack listed\b +\s[Bb]lacklist\b +\s[Bb]lacklisting\b +\s[Bb]lacklisted\b +\s[Bb]lack list\b +\s[Bb]lack listing\b +\s[Bb]lack listed\b # # Our Terms @@ -32,36 +39,31 @@ \sMondoo platform\b # s.b. Compliance Hub -\scompliance hub\b -\sCompliance hubplatform\b +\s[Cc]ompliance hub\b # # Industry Terms # # s.b. Side scanning -\bSidescanning\b -\bsidescanning\b +\b[Ss]idescanning\b # s.b. DevOps \bDev Ops\b \bDevops\b # s.b. SaaS -\bSaas\b -\bsaas\b +\b[Ss]aas\b # s.b. Docker Hub -\bDockerHub\b -\bDockerhub\b +\bDocker[Hh]ub\b # s.b. REST API -\bRest API\b -\brest API\b +\b[Rr]est API\b \brest api\b # s.b. DevSecOps -\bDevsecops\b +\bDevsec[Oo]ps\b # s.b. on-premises \bon-premise\b diff --git a/yarn.lock b/yarn.lock index cf6fbf40..38448890 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2343,9 +2343,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^18.2.61": - version "18.2.62" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.62.tgz#2527a7a54749b1a99c87a4aa8b83e26846face38" - integrity sha512-l3f57BbaEKP0xcFzf+5qRG8/PXykZiuVM6eEoPtqBPCp6dxO3HhDkLIgIyXPhPKNAeXn3KO2pEaNgzaEo/asaw== + version "18.2.63" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.63.tgz#4637c56146ad90f96d0583171edab953f7e6fe57" + integrity sha512-ppaqODhs15PYL2nGUOaOu2RSCCB4Difu4UFrP4I3NHLloXC/ESQzQMi9nvjfT1+rudd0d2L3fQPJxRSey+rGlQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -2995,9 +2995,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001587, caniuse-lite@^1.0.30001591: - version "1.0.30001593" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001593.tgz#7cda1d9e5b0cad6ebab4133b1f239d4ea44fe659" - integrity sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ== + version "1.0.30001594" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001594.tgz#bea552414cd52c2d0c985ed9206314a696e685f5" + integrity sha512-VblSX6nYqyJVs8DKFMldE2IVCJjZ225LW00ydtUWwh5hk9IfkTOffO6r8gJNsH0qqqeAF8KrbMYA2VEwTlGW5g== ccount@^2.0.0: version "2.0.1" @@ -3824,9 +3824,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.4.668: - version "1.4.691" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.691.tgz#e3c49de174b36b2bb96d09f44c81ff8ba273d775" - integrity sha512-vJ+/LmKja/St8Ofq4JGMFVZuwG7ECU6akjNSn2/g6nv8xbIBOWGlEs+WA8/3XaWkU0Nlyu0iFGgOxC4mpgFjgA== + version "1.4.693" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.693.tgz#001bb5dcb57ba404366ec39e1957d11886fc8a93" + integrity sha512-/if4Ueg0GUQlhCrW2ZlXwDAm40ipuKo+OgeHInlL8sbjt+hzISxZK949fZeJaVsheamrzANXvw1zQTvbxTvSHw== emoji-regex@^8.0.0: version "8.0.0" From 413a814eeebd9ef825b04325bbdba66bed6f8798 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 5 Mar 2024 12:41:53 -0800 Subject: [PATCH 2/3] Sync over a few things from upstream spellcheck Signed-off-by: Tim Smith --- .github/actions/spelling/excludes.txt | 35 ++++++++++++++++++++++++++- .github/actions/spelling/reject.txt | 1 + 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt index c013ab54..5977f03f 100644 --- a/.github/actions/spelling/excludes.txt +++ b/.github/actions/spelling/excludes.txt @@ -1,50 +1,83 @@ # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes (?:^|/)(?i)COPYRIGHT (?:^|/)(?i)LICEN[CS]E +(?:^|/)3rdparty/ (?:^|/)go\.sum$ (?:^|/)package(?:-lock|)\.json$ +(?:^|/)Pipfile$ +(?:^|/)pyproject.toml +(?:^|/)requirements(?:-dev|-doc|-test|)\.txt$ (?:^|/)vendor/ ignore$ \.a$ \.ai$ +\.all-contributorsrc$ \.avi$ \.bmp$ \.bz2$ +\.cer$ +\.class$ +\.coveragerc$ +\.crl$ \.crt$ +\.csr$ \.dll$ +\.docx?$ +\.drawio$ \.DS_Store$ \.eot$ +\.eps$ \.exe$ \.gif$ +\.git-blame-ignore-revs$ \.gitattributes$ +\.gitkeep$ \.graffle$ \.gz$ \.icns$ \.ico$ +\.ipynb$ \.jar$ +\.jks$ \.jpe?g$ \.key$ \.lib$ \.lock$ \.map$ \.min\.. +\.mo$ \.mod$ \.mp[34]$ \.o$ \.ocf$ \.otf$ +\.p12$ +\.parquet$ \.pdf$ \.pem$ +\.pfx$ \.png$ \.psd$ +\.pyc$ +\.pylintrc$ +\.qm$ \.s$ -\.svg$ +\.sig$ +\.so$ +\.svgz?$ +\.sys$ +\.tar$ +\.tgz$ \.tiff?$ \.ttf$ \.wav$ \.webm$ \.webp$ \.woff2?$ +\.xcf$ +\.xlsx?$ +\.xpm$ +\.xz$ \.zip$ ^\.github/actions/spelling/ ^\Q.github/workflows/spelling.yml\E$ diff --git a/.github/actions/spelling/reject.txt b/.github/actions/spelling/reject.txt index a2d814de..78e71db8 100644 --- a/.github/actions/spelling/reject.txt +++ b/.github/actions/spelling/reject.txt @@ -1,5 +1,6 @@ ad-hoc ^attache$ +^bellow$ benefitting occurences? ^dependan.* From 8a763439d2f17ca686e5b11d2951f12c3e408ef8 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 5 Mar 2024 12:53:34 -0800 Subject: [PATCH 3/3] Add SentinelOne and CrowdStrike Signed-off-by: Tim Smith --- .github/actions/spelling/line_forbidden.patterns | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 1a47c5a3..2ac05140 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -183,6 +183,14 @@ \bVirtualbox\b \bVirtual Box\b +# s.b. SentinelOne +\bSentinalOne\b +\bSentinal One\b + +# s.b. CrowdStrike +\bCrowd Strike\b +\bCrowdstrike\b + # # HashiCorp Products #