neetob 0.5.35 → 0.5.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47c9ade252c12f04039b049a314ee707d62dd7c0855881962f46154d181e9cf3
4
- data.tar.gz: 7b232f8ae896fdaf9f43eef9b13a18911beb88f83136af76d7bfb2b58bbc7a21
3
+ metadata.gz: ee551d84b107d96d1822f8c21334ed1b29b7af6b341dbea9b72aa03fc98318d4
4
+ data.tar.gz: b19110cc7e861c2bd0a1f0901c26a306e3b8965d80aa0187d4cf11d16184f287
5
5
  SHA512:
6
- metadata.gz: beb78e16e139dd28832e1328cc4a4b3121eb91483d4477cf7cb957dcc2b88e8957ad295ab6cf29ecd9d4f10f29b5ccafedf28cde7809afe9b6cdfe045454c0c0
7
- data.tar.gz: 6aab97331c2a5a95ccae653f49a8cbc2ac2ab5aa44c0b243f71f01f31e257d075e84e621de61d41f16135301ec165248eaba61a0066ed546537a70f0192cad1c
6
+ metadata.gz: b27959f44d2282cbfc58b06663f4b1777cc39aac03af04d7dd9776e8c0e6dccb9b1a6b1d3c2c8b6b932b0e131925a895ed6db55f390b393b0edcf0fd778e2771
7
+ data.tar.gz: 0a9f8ac6f0c7d3e393a369d58cfd120c1a98b07d933abdf36ae28bdf40e7868a718e7a430547725d098064be943030243e54cfd67a5ba03fca627686680af9af
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.35)
4
+ neetob (0.5.37)
5
5
  brakeman (~> 5.0)
6
6
  chronic
7
7
  dotenv (~> 2.8.1)
data/bookmarks.md CHANGED
@@ -1,6 +1,8 @@
1
1
 
2
2
  [Honeybadger production issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+sort%3Acreated-asc+author%3Aapp%2Fhoneybadger+label%3Aproduction+-repo%3Abigbinary%2Fintellectio)
3
3
 
4
+ [Bugs](https://github.com/search?q=org%3Abigbinary+state%3Aopen+is%3Aissue+sort%3Acreated-asc+label%3Abug&type=issues)
5
+
4
6
  [Honeybadger staging issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+sort%3Acreated-asc+author%3Aapp%2Fhoneybadger+label%3Astaging+-repo%3Abigbinary%2Fintellectio)
5
7
 
6
8
  [All Honeybadger issues](https://github.com/issues?page=1&q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+sort%3Acreated-asc+author%3Aapp%2Fhoneybadger+-repo%3Abigbinary%2Fintellectio)
@@ -6,6 +6,83 @@ module Neetob
6
6
  module InstancesAndAddons
7
7
  module NeetoDeployOrHeroku
8
8
  class SslCertificatesOverThirtyDaysFromExpiry < CLI::Base
9
+ DOMAINS_AUTO_RENEWED = %w[
10
+ forms.amnd.xyz
11
+ eligibility.ozoneoverseas.in
12
+ help.talkflowai.com
13
+ meeting.reasonableproduct.com
14
+ scheduling.movechamber.org
15
+ cal.amnd.xyz
16
+ meet.darrenaclarke.com
17
+ meeting.royalhomeliving.uk
18
+ meet.talkflowai.com
19
+ ]
20
+
21
+ DOMAINS_POINTING_TO_HEROKU = %w[
22
+ forms.rvrsmartworks.com
23
+ forms.cibereduca.org
24
+ support.quirkyconsultant.com
25
+ meet.perfey.de
26
+ meet.aylett.co.uk
27
+ meet.fastbound.com
28
+ meet.canddi.com
29
+ calendar.jimryan.ie
30
+ meeting.caliham.com
31
+ meet.stripedarts.com
32
+ meet.tune.day
33
+ meet.shiftx.com
34
+ meeting.imarsrl.com
35
+ calender.rvrsmartworks.com
36
+ demo.variantspark.com
37
+ ]
38
+
39
+ DOMAINS_WITH_INVALID_CNAME_TARGET = %w[
40
+ forms.thenumber.ninja
41
+ racer.dingan.org
42
+ forms.monadsys.com.au
43
+ acumenn.money
44
+ techzonce.com
45
+ neerajsingh0202.com
46
+ engage.quirkyconsultant.com
47
+ ibymarketingdigital.com.br
48
+ testdomain.cecieee.org
49
+ help.neetopopups.com
50
+ help.coombined.com
51
+ help.neetosign.com
52
+ unni-playground.dingan.org
53
+ help.peerlist.io
54
+ help.neetobugtrap.com
55
+ help.neetosocial.com
56
+ unni.dingan.org
57
+ help.neetostore.com
58
+ meet.quirkyconsultant.com
59
+ interviews.activepresence.co
60
+ book.navapi.com
61
+ www.chessconfidence.com
62
+ cal.arbaaz.io
63
+ mapletalenthub.com
64
+ massagebunnik.nl
65
+ xplorify.bg
66
+ hiredeasy.com
67
+ meet.jijinkh.com
68
+ waqualityroofing.com
69
+ agenda.jylcontadoras.com.uy
70
+ yvonnecano.com
71
+ influenceintoincome.com
72
+ design-narrative.com
73
+ agenda.arma.com.mx
74
+ bitzen.cl
75
+ sanibeltreehouse.com
76
+ creativechamps.in
77
+ meet.sreeragmsadanandan.com
78
+ SHINEBLUEAGENCY.COM
79
+ amazyfvideos.com
80
+ meet.alpexsolar.com
81
+ calendar.alladvance.co.uk
82
+ thegreenspace.in
83
+ meet.kodair.us
84
+ ]
85
+
9
86
  def initialize
10
87
  super()
11
88
  end
@@ -24,10 +101,24 @@ module Neetob
24
101
  audit_passed = "No"
25
102
  comments = "You do not have permission to access the certificates for this app."
26
103
  else
27
- audit_passed = certificates_status.any? { |certificate| certificate["expires_before_30_days"] } ? "No" : "Yes"
104
+ certificates_to_be_flagged = certificates_status.select { |certificate|
105
+ certificate["expires_before_30_days"] &&
106
+ !(certificate["domains"] || []).map {
107
+ |domain| domain["hostname"]
108
+ }.any? { |domain|
109
+ (
110
+ DOMAINS_AUTO_RENEWED +
111
+ DOMAINS_POINTING_TO_HEROKU +
112
+ DOMAINS_WITH_INVALID_CNAME_TARGET
113
+ ).include?(domain)
114
+ }
115
+ }
116
+ audit_passed = certificates_to_be_flagged.empty? ? "Yes" : "No"
28
117
  certificates_expiring_in_less_than_30_days = "Yes" if audit_passed == "No"
29
118
  if audit_passed == "No"
30
- certificates_failing_audit = certificates_status.select { |certificate| certificate["expires_before_30_days"] }.map { |certificate| certificate["name"] }
119
+ certificates_failing_audit = certificates_to_be_flagged.map { |certificate|
120
+ "#{certificate["name"]}(#{certificate["domains"].map { |domain| domain["hostname"] }.join(", ")})"
121
+ }
31
122
  comments = "Certificates #{certificates_failing_audit.join(", ")} are expiring in less than 30 days."
32
123
  end
33
124
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.35"
4
+ VERSION = "0.5.37"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.35
4
+ version: 0.5.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-30 00:00:00.000000000 Z
11
+ date: 2025-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor