Sha256: d7a860891e0bdf05c285dbfdb78640472489731e592a8dd09feb4d85769f447b

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true

module Neetob
  class CLI
    module MonthlyAudit
      module Misc
        class SslCertsSetupForAutoRenewal < CLI::Base
          def initialize
            super()
          end

          def run
            domains_data = [["Domain", "Listed on certmanager", "Comments", "Audit Passed"]]
            ui.info("\n", print_to_audit_log: false)
            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:"
            ui.info "- Check whether the certificate for the domain is listed on certmanager"
            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"
            ui.info("\n")
            Neetob::CLI::Cloudflare::Base::ZONE_IDS.keys.select { |domain|
 domain.to_s.include?(".com") }.map do |domain|
              domains_data << [domain, nil, nil, nil]
            end
            ui.print_table(domains_data)
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
neetob-0.5.24 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.23 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.22 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.21 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.20 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.19 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.18 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb
neetob-0.5.17 lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb