canvas-lms/config/initializers
Isaac Moore 62d034f5a0 Add periodic job to identify bad LDAP certs
This job will run once daily to make two test connections against each
LDAP authentication provider, and log a warning to Sentry if their TLS
certificate is not valid.

flag=none
closes AE-349

test plan:
- create an LDAP auth provider with a bad TLS cert
- run AuthenticationProvider::LDAP.ensure_tls_cert_validity
- ensure you get a warning in Sentry
- create an LDAP auth provider with a valid TLS cert
- run AuthenticationProvider::LDAP.ensure_tls_cert_validity
- ensure you get no warning in Sentry

Change-Id: Idd1157068f34a610f3f0e2fb1de89557cb585575
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/321403
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Isaac Moore <isaac.moore@instructure.com>
Product-Review: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-06-27 16:04:30 +00:00
..
action_pack.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
action_view.rb Remove rails 6.0 support 2022-05-31 22:13:22 +00:00
active_model_errors.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
active_record.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
active_record_query_trace.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
active_support.rb Use SHA256 for cache keys 2023-04-05 17:57:09 +00:00
adheres_to_policy.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
api_scope_mapper_initializer.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
authlogic_mods.rb RuboCop: Naming/RescuedExceptionsVariableName 2021-11-18 02:24:17 +00:00
backtrace_silencers.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
bookmarked_collection.rb RuboCop: Style/BlockDelimiters, Style/Lambda 2021-11-23 21:30:47 +00:00
broadcast_policy.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
cache_store.rb RuboCop: Style/BlockDelimiters, Style/Lambda 2021-11-23 21:30:47 +00:00
canvas_cache.rb Boot on rails 7.0 2022-06-06 13:55:46 +00:00
canvas_cassandra.rb Boot on rails 7.0 2022-06-06 13:55:46 +00:00
canvas_crummy.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
canvas_http.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
canvas_kaltura.rb Avoid raising unnecessary and unclear kaltura errors 2022-05-19 17:16:42 +00:00
canvas_panda_pub.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
canvas_partman.rb Revert "Revert "Introduce guardrails for excessive db modifications"" 2023-03-08 15:00:09 +00:00
canvas_sanitize.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
canvas_security.rb Boot on rails 7.0 2022-06-06 13:55:46 +00:00
class_name.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
config_file.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
consul.rb remove require_dependency for DynamicSettingsInitiializer 2022-01-13 15:24:57 +00:00
datadog_apm.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
delayed_job.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
diigo.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
dropped_columns.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
dynamodb_date_support.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
empty.rb RuboCop: Style/ZeroLengthPredicate 2021-11-18 23:07:03 +00:00
errors.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
event_stream.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
external_migrations.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
folio.rb Remove rails 6.0 support 2022-05-31 22:13:22 +00:00
google_drive.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
graphql_connection_nodes.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
graphql_postgres_timeout.rb fix QueryPgTimeout.run_queries syntax for ruby 3.x 2022-12-09 20:00:32 +00:00
guard_rail.rb Remove rails 6.0 support 2022-05-31 22:13:22 +00:00
i18n.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
incoming_mail.rb pull vault_credential_path from the right subkey 2023-05-23 16:11:45 +00:00
inflections.rb inflect BLTI as acronym for zeitwerk 2021-10-15 18:48:52 +00:00
inst_access.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
inst_access_support.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
inst_statsd.rb rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
irb.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
job_live_events_context.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
json.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
jwt_workflow.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
linked_in.rb Read LinkedIn creds from Vault 2023-03-28 14:01:04 +00:00
live_events.rb rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
local_cache.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
marginalia.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
mime_types.rb rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
no_timeouts_debugging.rb RuboCop: Lint 2021-09-29 03:38:23 +00:00
oauth.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
observers.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
openstruct.rb fix openstruct deserialization for ruby 3.x 2022-12-20 15:42:29 +00:00
outgoing_mail.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
outrigger.rb update outrigger to 3.0 2021-09-10 19:55:07 +00:00
periodic_jobs.rb Add periodic job to identify bad LDAP certs 2023-06-27 16:04:30 +00:00
postgresql_adapter.rb add server support for points based grading schemes 2023-06-21 19:32:38 +00:00
prosopite.rb add prosopite n+1 query detection 2023-03-29 22:34:20 +00:00
rack.rb rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
rails_patches.rb Fix initializers for ruby 3.0 2022-12-13 14:29:18 +00:00
reports.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
revved_asset_urls.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
ruby_version_compat.rb RuboCop: Style/ClassCheck, Style/ClassEqualityComparison 2021-11-19 22:39:31 +00:00
rubyzip.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
safe_yaml.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
saml.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
sentry.rb Give sentry a correct definition of in-app 2022-07-28 19:52:08 +00:00
session_store.rb Unbreak loading session secret keys 2023-01-19 22:53:42 +00:00
simply_versioned.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
statsd_timing.rb Revert "Update `inst-jobs` and `inst-jobs-statsd`" 2022-05-26 17:52:55 +00:00
strong_parameters.rb Drop rails 6.1 support 2023-02-14 21:47:03 +00:00
stubs.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
switchman.rb Bump switchman and report deprecations to sentry 2023-05-09 16:46:04 +00:00
template_streaming.rb rubocop: Style/RedundantConstantBase 2023-04-10 20:56:27 +00:00
time.rb Add Norfolk Island time zone 2022-06-28 18:46:24 +00:00
twitter.rb Migrate twitter to use vault creds 2021-10-22 14:50:58 +00:00
zeitwerk.rb Remove SAML provider `require_dependency` calls 2023-01-09 19:56:41 +00:00