app/models/authenticator/amazon.rb
Use string as argument instead of regexp. Open
Open
iam.client.get_user[:user][:arn].split(/:/)[5].to_s != 'root'
- Create a ticketCreate a ticket
- Exclude checks
Use filter_map
instead. Open
Open
%i(amazon_key amazon_secret).map do |key|
if config[key].blank?
[key, "#{key} can't be blank"]
end
end.compact
- Create a ticketCreate a ticket
- Exclude checks