neetob 0.5.64 → 0.5.65
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22c49ef8ba46793fe95d8cd3b42b27b962d61ff3b53f7c4ac2bd6ffa39da387a
|
4
|
+
data.tar.gz: 2ae0979d060142318dbc29d1bbf177d03fd40ea32893ec5cc104337b14620ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a68d9a4bc611427d0fe9d7dd9d029f08ef5a3970e3ec9d20bd183d43936c5a153cdd09b09804ec9d94f3659e6ff432c5be1618e9000feaec37e7e20b6c561d0
|
7
|
+
data.tar.gz: a76453757018026c2943c1e6b0098776757d66da9a26faf748fb971240bd6b8a979394d08ea7a7ec313d1ce0b4d5c27c711f0c0ebec7c5041a85d0dd266f224a
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "ssl_certs_setup_for_auto_renewal"
|
4
3
|
require_relative "sparkpost_sub_account_used_for_all_apps"
|
5
4
|
require_relative "redirections_working_correctly"
|
6
5
|
|
@@ -16,13 +15,10 @@ module Neetob
|
|
16
15
|
def run
|
17
16
|
ui.success("# 4. Running miscellaneous checks")
|
18
17
|
ui.info "\n"
|
19
|
-
ui.success("## 4.1. [Manual] Checking whether
|
20
|
-
SslCertsSetupForAutoRenewal.new.run
|
21
|
-
ui.info "\n"
|
22
|
-
ui.success("## 4.2. [Manual] Checking whether we are using Sparkpost sub-account for all the apps")
|
18
|
+
ui.success("## 4.1. [Manual] Checking whether we are using Sparkpost sub-account for all the apps")
|
23
19
|
SparkpostSubAccountUsedForAllApps.new.run
|
24
20
|
ui.info "\n"
|
25
|
-
ui.success("## 4.
|
21
|
+
ui.success("## 4.2. Checking whether redirections are set correctly")
|
26
22
|
RedirectionsWorkingCorrectly.new.run
|
27
23
|
end
|
28
24
|
end
|
data/lib/neetob/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.65
|
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-06-
|
11
|
+
date: 2025-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -310,7 +310,6 @@ files:
|
|
310
310
|
- lib/neetob/cli/monthly_audit/misc/main.rb
|
311
311
|
- lib/neetob/cli/monthly_audit/misc/redirections_working_correctly.rb
|
312
312
|
- lib/neetob/cli/monthly_audit/misc/sparkpost_sub_account_used_for_all_apps.rb
|
313
|
-
- lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
|
314
313
|
- lib/neetob/cli/monthly_audit/perform.rb
|
315
314
|
- lib/neetob/cli/monthly_audit/security/code/active_record_doctor.rb
|
316
315
|
- lib/neetob/cli/monthly_audit/security/code/brakeman.rb
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Neetob
|
4
|
-
class CLI
|
5
|
-
module MonthlyAudit
|
6
|
-
module Misc
|
7
|
-
class SslCertsSetupForAutoRenewal < CLI::Base
|
8
|
-
def initialize
|
9
|
-
super()
|
10
|
-
end
|
11
|
-
|
12
|
-
def run
|
13
|
-
domains_data = [["Domain", "Listed on certmanager", "Comments", "Audit Passed"]]
|
14
|
-
ui.info("\n", print_to_audit_log: false)
|
15
|
-
ui.info "#### Please manually check and add Yes/No for all the following checks on https://certmanager.neeto.com for the domains listed in the table below:"
|
16
|
-
ui.info "- Check whether the certificate for the domain is listed on certmanager"
|
17
|
-
ui.info "- Finally, set Audit Passed as Yes only if certificate for the domain is listed, otherwise set it as No, and add a comment in the Comments column"
|
18
|
-
ui.info("\n")
|
19
|
-
Neetob::CLI::Cloudflare::Base::ZONE_IDS.keys
|
20
|
-
.select { |domain| domain.to_s.include?(".com") }
|
21
|
-
.reject { |domain| ["neeto.com", "bigbinary.com"].include?(domain.to_s) }
|
22
|
-
.map do |domain|
|
23
|
-
domains_data << [domain, nil, nil, nil]
|
24
|
-
end
|
25
|
-
ui.print_table(domains_data)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|