Sha256: eb83e2330a70b45ed5d46ea5c234c1582802ab6c29ebfd649937531cc0dc8c39

Contents?: true

Size: 1.65 KB

Versions: 13

Compression:

Stored size: 1.65 KB

Contents

# frozen_string_literal: true

require_relative "../../../github/repositories/get_security_details.rb"

module Neetob
  class CLI
    module MonthlyAudit
      module Security
        module Github
          class DependabotTurnedOn < CLI::Base
            def initialize
              super()
            end

            def run
              ui.success("### 1.2.1. [Manual] Checking whether dependabot is turned on for the repository")
              ui.info "\n"
              ui.info "#### Please manually check and add Yes/No for all the following checks on the Honeybadger dashboard for the apps listed in the table below:"
              ui.info "- Repository > Settings > Code security > Dependabot alerts are enabled"
              ui.info "- Repository > Settings > Code security > Dependabot security updates are enabled"
              ui.info "- Repository > Settings > Actions > Dependabot on Actions runners is enabled"
              ui.info "- Finally, set Audit Passed as Yes only if all the checks are passed for the app, otherwise set it as No, and add a comment in the Comments column"
              ui.info "\n"

              repo_data = [[
                "Repository",
                "Dependabot alerts enabled",
                "Dependabot security updates enabled",
                "Dependabot on Actions runners",
                "Comments",
                "Audit Passed"
                ]
              ]
              NeetoCompliance::NeetoRepos.products.keys.each do |repo|
                repo_data << [repo, nil, nil, nil, nil]
              end
              ui.print_table(repo_data)
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
neetob-0.5.29 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.28 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.27 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.26 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.25 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.24 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.23 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.22 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.21 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.20 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.19 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.18 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb
neetob-0.5.17 lib/neetob/cli/monthly_audit/security/github/dependabot_turned_on.rb