neetob 0.5.64 → 0.5.66

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: e1ee54453fa5a159772d995470d1858912b2d4f6cded94bae83acf0f886b0e79
4
- data.tar.gz: 32f44e5c420b2c57e721fab97e24a944e617ef54edd48782fce50ba73af93310
3
+ metadata.gz: ddafbcca9ce2ca97d79d33db31d0ff96a8afc346efece92236f7dea825fb8b46
4
+ data.tar.gz: a778c56a4ccac54a58646737c671de93b00a613b4c8eddf3dc2f733adf34677b
5
5
  SHA512:
6
- metadata.gz: fec275f6cdba45c71cd5c9ff9ba3f5535bb4ea6bf4903c23d4150a5b08341405c62130e45768b7f83f00a5e7da78aec7391af4fa66e5cab37d472ec2b17c904d
7
- data.tar.gz: ed956dc76ef3feaed643164ec6f211a0a652776075fa5e4a04609e649f42b200d0b86e488f2121aee6fea72e4c4be8fbd7c9be6b3276437e59eeb7b8501ee25b
6
+ metadata.gz: 5642d4b0d507469de3a58551429086a2153804ddf4e240ce000ecc8cdd4d80dd5d45a30a02d8435b15a8279dbb6df01bc1ce7fe4ada2b78fd1735fbf54f83288
7
+ data.tar.gz: bbdd2ac2f57aae1924ae09c12827381254b3add3dfc89eb70e661cfa90505b5663d658358b7534b22110869207169e9d5ff1c96db404ffb1a93c4c0403cd9514
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.64)
4
+ neetob (0.5.66)
5
5
  actionview
6
6
  activesupport
7
7
  brakeman (~> 5.0)
@@ -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 SSL certs are set up for auto-renewal for all the apps")
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.3. Checking whether redirections are set correctly")
21
+ ui.success("## 4.2. Checking whether redirections are set correctly")
26
22
  RedirectionsWorkingCorrectly.new.run
27
23
  end
28
24
  end
@@ -24,10 +24,10 @@ module Neetob
24
24
  comments = nil
25
25
  if fasterer_exec_result.include?("0 offenses detected")
26
26
  audit_passed = "Yes"
27
- comments = fasterer_exec_result
27
+ comments = "Vulnerabilities not detected"
28
28
  else
29
29
  optimizations_needed = "Yes"
30
- comments = fasterer_exec_result.gsub("\n", "<br>")
30
+ comments = "Vulnerabilities detected"
31
31
  end
32
32
  repo_data << [repo, optimizations_needed, comments, audit_passed]
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.64"
4
+ VERSION = "0.5.66"
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.64
4
+ version: 0.5.66
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-23 00:00:00.000000000 Z
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