Skip to content

Commit

Permalink
Pull in the latest spellcheck config
Browse files Browse the repository at this point in the history
Update some text for docs

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 committed Oct 18, 2024
1 parent 6cb6c4e commit af7a343
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 25 deletions.
2 changes: 0 additions & 2 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ exo
gcfs
gcs
geomatchstatement
gibibytes
gistfile
gpu
gvnic
Expand Down Expand Up @@ -90,7 +89,6 @@ spo
sqli
sqlimatchstatement
sqlserver
SSPR
targetgroup
tde
testutils
Expand Down
51 changes: 34 additions & 17 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@
#

# s.b. Allow list
\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
\b[Ww]hitelist\b
\b[Ww]hitelisting\b
\b[Ww]hitelisted\b
\b[Ww]hite list\b
\b[Ww]hite listing\b
\b[Ww]hite listed\b

# s.b. Block list
\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
\b[Bb]lacklist\b
\b[Bb]lacklisting\b
\b[Bb]lacklisted\b
\b[Bb]lack list\b
\b[Bb]lack listing\b
\b[Bb]lack listed\b

#
# Our Terms
#

# s.b. Mondoo Platform
\sthe Mondoo Platform\b
\sMondoo platform\b
\bthe Mondoo Platform\b
\bMondoo platform\b

# s.b. Compliance Hub
\s[Cc]ompliance hub\b
\b[Cc]ompliance hub\b

#
# Compliance Terms
Expand Down Expand Up @@ -78,6 +78,7 @@

# s.b. Docker Hub
\bDocker[Hh]ub\b
\bdocker hub\b

# s.b. REST API
\b[Rr]est API\b
Expand Down Expand Up @@ -211,13 +212,29 @@

# s.b. SentinelOne
\bSentinal[Oo]ne\b
\bSentinelone\b
\bSentinal One\b
\bSentin[ae]lone\b
\bSentin[ae]l One\b

# s.b. CrowdStrike
\bCrowd Strike\b
\b[Cc]rowdstrike\b

# s.b. Zendesk
\bZenDesk\b

# s.b. ServiceNow

\bService Now\b
\bServicenow\b

# s.b. nameserver
\bname server\b
\bname servers\b

# s.b. hostname
\bhost name\b
\bhost names\b

#
# Kubernetes Terms
#
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/reject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Sorce
\w*(?<!right-)click
deets
organisation

4 changes: 2 additions & 2 deletions providers/azure/resources/azure.lr
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ private azure.subscription.networkService.ipAddress @defaults("name location ipA
private azure.subscription.networkService.bastionHost @defaults("id name location") {
// Bastion Host ID
id string
// Bastion Host name
// Bastion hostname
name string
// Bastion Host location
location string
Expand Down Expand Up @@ -2014,4 +2014,4 @@ private azure.subscription.iotService {
subscriptionId string
// List of IoT hubs in the subscription
hubs() []dict
}
}
4 changes: 2 additions & 2 deletions providers/core/resources/regex/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ package regex
// https://stackoverflow.com/a/20046959/1195583
//
// Note:
// - there is a difference between Domain names and Host names, see:
// - there is a difference between Domain names and Hostnames, see:
// https://stackoverflow.com/questions/2180465/can-domain-name-subdomains-have-an-underscore-in-it
// - For example, in the case of emails and URLs we use internet domain names
// ie host names
// ie hostnames
// - the reNoTldHostname allows for domain names with no TLD, even though this
// is discouraged (and it kind of matches all kinds of things). Useful
// for e.g. email regex
Expand Down
4 changes: 2 additions & 2 deletions providers/gcp/resources/gcp.lr
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,9 @@ private gcp.project.dnsService.managedzone @defaults("name") {
dnssecConfig dict
// DNS name of this managed zone
dnsName string
// Optionally specifies the name server set for this managed zone
// Optionally specifies the nameserver set for this managed zone
nameServerSet string
// Delegated to these virtual name servers
// Delegated to these virtual nameservers
nameServers []string
// Zone's visibility
visibility string
Expand Down

0 comments on commit af7a343

Please sign in to comment.