Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the spellcheck patterns #43

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ AKIAI
AKIAIOSFODNN
alswrv
amazonses
AMIIBCg
ampl
anya
APK
Expand All @@ -32,14 +31,12 @@ autoscaler
backupconfiguration
badssm
baf
BAQEFAAOCAQ
bba
bbeb
bccbcb
bdc
bdn
BGhg
Bgkqhki
bigquery
BJHy
BMDH
Expand All @@ -60,7 +57,6 @@ cdzrr
Ceph
certificatechains
cfee
cffae
cim
classname
clientid
Expand All @@ -86,7 +82,6 @@ cyclonedx
CYEXAMPLEKEY
datacompute
datapath
dbf
dcea
Ddos
debconf
Expand All @@ -106,13 +101,11 @@ efc
efcfc
Ehd
eig
EIP
EKfj
ekm
Ekoslaq
enableforcedlogoff
enablesecuritysignature
ENM
ERXy
Eso
euleros
Expand All @@ -123,7 +116,6 @@ externalsender
EZel
FAgb
falsey
fbcaaa
FBTJf
FCAHd
fcb
Expand Down Expand Up @@ -155,7 +147,6 @@ hostkeys
hvm
iac
iap
Iavfv
Iiwic
Ijoi
IKTK
Expand All @@ -173,11 +164,9 @@ jglt
Jhb
jira
Jivv
jjnhz
joq
jsonbody
JTi
KCAQEAx
kembe
KEYFILE
keyout
Expand Down Expand Up @@ -214,7 +203,6 @@ Metasploit
mfs
MFx
MHNy
MIIBIj
Mjk
MKGQ
mmvv
Expand Down Expand Up @@ -304,14 +292,12 @@ sbom
scim
scsd
Scz
sdc
SECRETID
SECRETVALUE
securetty
securityimages
SEfirewall
serviceprincipals
shm
singlequeryargument
sizeconstraintstatement
skype
Expand All @@ -337,7 +323,6 @@ testname
testring
testsuite
tfblock
tmg
tmpkqyme
toplevel
tpu
Expand Down Expand Up @@ -380,7 +365,6 @@ xmna
Xnp
xoxb
XPgk
xrl
XRu
Xsf
xssmatchstatement
Expand All @@ -407,4 +391,3 @@ ZXIt
ZXJz
zxkk
Zzd
zzg
5 changes: 5 additions & 0 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -638,3 +638,8 @@
# Reject duplicate words
\s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\s

# s.b. it's or its
\bits['’]

# s.b. understand
\bunder stand\b
32 changes: 29 additions & 3 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Key Vault Vault
\broot root\b

# AWS resources
(ami|subnet|vpc|sg)-[0-9a-fA-F]{17}
(ami|subnet|vpc|sg|fs)-[0-9a-fA-F]{17}

# http and https URLs
https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)
Expand All @@ -53,8 +53,8 @@ HKEY_[\w\\]*
# mime types
\bapplication\/\S*

# skip mql uids
uid:\s.*$
# mql certificate IDs
certificate:\w*

# ARN values
\barn:\S*
Expand Down Expand Up @@ -90,3 +90,29 @@ aws_secret_access_key\s+\=(\s+)?.+
# score score is valid in MQL docs
score score

# macOS temp folders
/var/folders/\w\w/[+\w]+/(?:T|-Caches-)/

# ssh
(?:ssh-\S+|-nistp256) [-a-zA-Z=;:\/0-9+]{12,}

# kubernetes object suffix
-[0-9a-f]{10}-\w{5}\s

# sed regular expressions
sed 's/(?:[^/]*?[a-zA-Z]{3,}[^/]*?/){2}

# UNIX device paths
\/dev\/\w*

# AWS RDS instance types
db.\w{2}.\w*

# uuid
[<({"'>][0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[<'"})>]

# rsa private keys
MII[BCEJ]\w*

# UID in MQL policy
- uid: \S*
Loading