audit.rake 445 B

123456789101112131415161718192021222324
  1. # frozen_string_literal: true
  2. namespace :audit do
  3. task :audit_nodes do
  4. puts 'auditing Nodes'
  5. j = NeoInfra::Audit.new
  6. pp j.audit_nodes
  7. end
  8. task :audit_vpcs do
  9. puts 'auditing VPCs'
  10. j = NeoInfra::Audit.new
  11. pp j.audit_vpcs
  12. end
  13. task :audit_subnets do
  14. puts 'auditing Subnets'
  15. j = NeoInfra::Audit.new
  16. pp j.audit_subnets
  17. end
  18. desc 'Tag Audit'
  19. task all: %i[audit_vpcs audit_subnets audit_nodes]
  20. end