gitextract_ouflf_22/ ├── .deepsource.toml ├── .dockerignore ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .ruby-version ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dockerfile ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── VERSION ├── api_blueprint/ │ ├── bin/ │ │ └── dredd_server.sh │ ├── group.apib │ ├── hooks/ │ │ └── dredd_hooks.rb │ ├── user.apib │ └── vpns.apib ├── app/ │ ├── assets/ │ │ ├── config/ │ │ │ └── manifest.js │ │ ├── images/ │ │ │ └── .keep │ │ ├── javascripts/ │ │ │ ├── admin.coffee │ │ │ ├── api_resources.coffee │ │ │ ├── application.js │ │ │ ├── bootstrap.js.coffee │ │ │ ├── group.coffee │ │ │ ├── groups.coffee │ │ │ ├── home.coffee │ │ │ ├── host_access_groups.coffee │ │ │ ├── host_machine_groups.coffee │ │ │ ├── host_machines.coffee │ │ │ ├── nss.coffee │ │ │ ├── omniauth_callbacks.coffee │ │ │ ├── profile.coffee │ │ │ ├── users.coffee │ │ │ ├── utilities.coffee │ │ │ └── viewport.js │ │ └── stylesheets/ │ │ ├── application.scss │ │ ├── bootstrap-social.scss │ │ ├── general.css │ │ ├── home.scss.erb │ │ ├── profile.css │ │ └── scaffolds.scss │ ├── clients/ │ │ └── data_dog_client.rb │ ├── controllers/ │ │ ├── admin_controller.rb │ │ ├── api/ │ │ │ └── v1/ │ │ │ ├── base_controller.rb │ │ │ ├── endpoints_controller.rb │ │ │ ├── groups_controller.rb │ │ │ ├── users_controller.rb │ │ │ └── vpns_controller.rb │ │ ├── api_resources_controller.rb │ │ ├── application_controller.rb │ │ ├── concerns/ │ │ │ └── .keep │ │ ├── groups_controller.rb │ │ ├── home_controller.rb │ │ ├── host_controller.rb │ │ ├── host_machine_groups_controller.rb │ │ ├── host_machines_controller.rb │ │ ├── nss_controller.rb │ │ ├── organisations_controller.rb │ │ ├── pings_controller.rb │ │ ├── profile_controller.rb │ │ ├── saml_idp_controller.rb │ │ ├── users/ │ │ │ ├── auth_controller.rb │ │ │ └── omniauth_callbacks_controller.rb │ │ ├── users_controller.rb │ │ ├── vpn_domain_name_servers_controller.rb │ │ └── vpns_controller.rb │ ├── helpers/ │ │ ├── admin_helper.rb │ │ ├── api_resources_helper.rb │ │ ├── application_helper.rb │ │ ├── group_helper.rb │ │ ├── groups_helper.rb │ │ ├── home_helper.rb │ │ ├── host_access_groups_helper.rb │ │ ├── host_machine_groups_helper.rb │ │ ├── host_machines_helper.rb │ │ ├── nss_helper.rb │ │ ├── omniauth_callbacks_helper.rb │ │ ├── profile_helper.rb │ │ └── users_helper.rb │ ├── lib/ │ │ ├── datadog.rb │ │ └── saml_app.rb │ ├── mailers/ │ │ └── .keep │ ├── models/ │ │ ├── .keep │ │ ├── access_token.rb │ │ ├── api_resource.rb │ │ ├── application_record.rb │ │ ├── concerns/ │ │ │ ├── .keep │ │ │ └── ms_chap_auth.rb │ │ ├── endpoint.rb │ │ ├── group.rb │ │ ├── group_admin.rb │ │ ├── group_association.rb │ │ ├── group_endpoint.rb │ │ ├── host.rb │ │ ├── host_access_group.rb │ │ ├── host_machine.rb │ │ ├── ip_address.rb │ │ ├── organisation.rb │ │ ├── saml_app_config.rb │ │ ├── user.rb │ │ ├── vpn.rb │ │ ├── vpn_domain_name_server.rb │ │ ├── vpn_group_association.rb │ │ ├── vpn_group_user_association.rb │ │ ├── vpn_search_domain.rb │ │ └── vpn_supplemental_match_domain.rb │ ├── validators/ │ │ └── email_validator.rb │ └── views/ │ ├── admin/ │ │ └── index.html.slim │ ├── api/ │ │ └── v1/ │ │ └── users/ │ │ └── show.json.jbuilder │ ├── api_resources/ │ │ ├── _api_resource.json.jbuilder │ │ ├── _form.html.slim │ │ ├── edit.html.slim │ │ ├── index.html.slim │ │ ├── index.json.jbuilder │ │ ├── new.html.slim │ │ ├── show.html.slim │ │ └── show.json.jbuilder │ ├── application/ │ │ ├── _admin.html.slim │ │ ├── _groups_header.html.slim │ │ └── _host_header.html.slim │ ├── common/ │ │ └── errors.json.jbuilder │ ├── groups/ │ │ ├── _form.html.slim │ │ ├── index.html.slim │ │ ├── new.html.slim │ │ └── show.html.slim │ ├── home/ │ │ └── index.html.slim │ ├── host_machines/ │ │ ├── index.html.slim │ │ ├── new.html.slim │ │ └── show.html.slim │ ├── layouts/ │ │ ├── application.html.slim │ │ ├── home.html.slim │ │ └── profile.html.slim.disabled │ ├── nss/ │ │ └── add_host.json.jbuilder │ ├── organisations/ │ │ ├── _form.html.slim │ │ ├── config_saml_app.html.slim │ │ ├── index.html.slim │ │ ├── new.html.slim │ │ ├── saml_apps/ │ │ │ └── _datadog.html.erb │ │ └── show.html.slim │ ├── profile/ │ │ ├── _group_search.html.slim │ │ ├── _user_search.html.slim │ │ ├── group_admin.html.slim │ │ ├── list.html.slim │ │ ├── public_key.html.slim │ │ ├── show.html.slim │ │ ├── user.html.slim │ │ └── user_admin.html.slim │ ├── saml_idp/ │ │ └── idp/ │ │ └── new.html.erb │ ├── users/ │ │ ├── _search.html.slim │ │ ├── index.html.slim │ │ ├── new.html.erb │ │ └── show.html.slim │ └── vpns/ │ ├── _form.html.slim │ ├── edit.html.slim │ ├── index.html.slim │ ├── new.html.slim │ └── show.html.slim ├── bin/ │ ├── bundle │ ├── rails │ ├── rake │ ├── setup │ └── update ├── config/ │ ├── application.rb │ ├── boot.rb │ ├── cable.yml │ ├── database.yml │ ├── environment.rb │ ├── environments/ │ │ ├── development.rb │ │ ├── integration.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers/ │ │ ├── application_controller_renderer.rb │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── content_security_policy.rb │ │ ├── cookies_serializer.rb │ │ ├── devise.rb │ │ ├── dotenv.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── new_framework_defaults.rb │ │ ├── new_framework_defaults_7_0.rb │ │ ├── permissions_policy.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales/ │ │ ├── devise.en.yml │ │ ├── en.bootstrap.yml │ │ └── en.yml │ ├── newrelic.yml │ ├── puma.rb │ ├── redis.yml │ ├── routes.rb │ ├── schedule.rb │ ├── secrets.yml │ ├── spring.rb │ └── storage.yml ├── config.ru ├── db/ │ ├── migrate/ │ │ ├── 20160419122430_devise_create_users.rb │ │ ├── 20160419132647_add_provider_to_users.rb │ │ ├── 20160419144739_add_name_to_users.rb │ │ ├── 20160427123146_add_auth_key_to_user.rb │ │ ├── 20160427123233_add_provisioning_uri_to_user.rb │ │ ├── 20160519042340_add_active_to_users.rb │ │ ├── 20160519064340_add_default_value_to_users.rb │ │ ├── 20160615044834_create_hosts.rb │ │ ├── 20160615045052_add_admin_to_user.rb │ │ ├── 20160615112805_add_user_to_host.rb │ │ ├── 20160628140022_add_deleted_at_to_host.rb │ │ ├── 20160628140440_add_deleted_by_to_host.rb │ │ ├── 20160629043358_add_homedir_to_user.rb │ │ ├── 20160629043415_add_shell_to_user.rb │ │ ├── 20160629075435_create_groups.rb │ │ ├── 20160701090045_create_group_associations.rb │ │ ├── 20160701112600_add_deleted_properties_to_group.rb │ │ ├── 20160707115313_create_access_tokens.rb │ │ ├── 20160714115228_add_public_key_to_user.rb │ │ ├── 20160908081651_create_host_machines.rb │ │ ├── 20161003145832_create_host_access_groups.rb │ │ ├── 20170803140620_add_user_login_id_to_user.rb │ │ ├── 20171013115441_create_versions.rb │ │ ├── 20171016064705_remove_index_group_name.rb │ │ ├── 20171016071526_add_unique_index_on_groups_name.rb │ │ ├── 20171031060034_create_group_admin.rb │ │ ├── 20171031060217_add_foreign_key_ref_on_group_admin.rb │ │ ├── 20171031100758_create_vpns.rb │ │ ├── 20171031101026_create_vpn_group_association.rb │ │ ├── 20171031103518_add_foreign_key_ref_on_vpn_group_association.rb │ │ ├── 20171031113123_create_vpn_group_user_association.rb │ │ ├── 20171031121702_add_foreign_key_ref_on_vpn_group_user_association.rb │ │ ├── 20171102071909_add_ip_address_to_vpns.rb │ │ ├── 20171107114249_remove_url_from_vpns.rb │ │ ├── 20171108130234_add_user_id_to_access_token.rb │ │ ├── 20171108130353_add_foreign_key_ref_on_access_tokens.rb │ │ ├── 20171124090240_add_uuid_to_vpns.rb │ │ ├── 20171124114427_create_vpn_domain_name_servers.rb │ │ ├── 20171124114830_create_vpn_search_domains.rb │ │ ├── 20171124115925_create_vpn_supplemental_match_domains.rb │ │ ├── 20180104081814_add_product_name_to_users.rb │ │ ├── 20180202102206_create_saml_service_providers.rb │ │ ├── 20180214050204_add_api_key_to_host_machines.rb │ │ ├── 20180214052451_create_ip_addresses.rb │ │ ├── 20180214052644_add_host_machine_to_ip_address.rb │ │ ├── 20180219150818_add_description_to_group.rb │ │ ├── 20180222135930_add_access_key_to_host_machine.rb │ │ ├── 20180222140000_add_access_key_to_user.rb │ │ ├── 20180227051732_create_api_resources.rb │ │ ├── 20180301010021_add_user_to_api_resources.rb │ │ ├── 20180301010035_add_group_to_api_resources.rb │ │ ├── 20180306231200_add_deactivated_at_to_users.rb │ │ ├── 20180311082600_rename_access_key_in_api_resources.rb │ │ ├── 20180311161200_rename_token_in_access_tokens.rb │ │ ├── 20180318083000_create_indexes_to_speedup_nss_controller.rb │ │ ├── 20180613074108_create_organisations.rb │ │ ├── 20180613165050_drop_saml_service_providers.rb │ │ ├── 20180723175600_update_organisations_for_saml.rb │ │ ├── 20181002023107_add_default_admins_to_host_machines.rb │ │ ├── 20181016093315_create_saml_app_configs.rb │ │ ├── 20181208184236_add_fields_to_user.rb │ │ ├── 20190624024930_add_expiration_date_to_group_associations.rb │ │ ├── 20190820070910_create_endpoints.rb │ │ ├── 20190820075040_create_group_endpoints.rb │ │ ├── 20190820080624_add_foreign_key_ref_on_group_endpoints.rb │ │ ├── 20200113065717_add_sessions_table.rb │ │ ├── 20220926001848_add_service_name_to_active_storage_blobs.active_storage.rb │ │ ├── 20220926001849_create_active_storage_variant_records.active_storage.rb │ │ └── 20220926001850_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb │ ├── schema.rb │ ├── seeds/ │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ └── seeds.rb ├── docker-compose.yaml ├── docs/ │ ├── additional_setup.md │ ├── administration.md │ ├── dredd_setup.md │ ├── newrelic.md │ └── oauth_setup.md ├── dredd.yml ├── lib/ │ ├── assets/ │ │ └── .keep │ ├── tasks/ │ │ ├── .keep │ │ ├── app.rake │ │ ├── setup.rake │ │ ├── users.rake │ │ └── vpn.rake │ └── vpn/ │ ├── mobileconfig.erb │ ├── mobileconfig.rb │ └── namespace.rb ├── public/ │ ├── 404.html │ ├── 422.html │ ├── 500.html │ └── robots.txt ├── scripts/ │ ├── gen-client-conf │ └── gen-client-keys ├── setup.sh └── spec/ ├── clients/ │ └── data_dog_client_spec.rb ├── controllers/ │ ├── admin_controller_spec.rb │ ├── api/ │ │ └── v1/ │ │ ├── api_controller_spec.rb │ │ ├── endpoints_controller_spec.rb │ │ ├── groups_controller_spec.rb │ │ ├── users_controller_spec.rb │ │ └── vpns_controller_spec.rb │ ├── api_resources_controller_spec.rb │ ├── groups_controller_spec.rb │ ├── home_controller_spec.rb │ ├── host_machine_groups_controller_spec.rb │ ├── host_machines_controller_spec.rb │ ├── nss_controller_spec.rb │ ├── omniauth_callbacks_controller_spec.rb │ ├── organisations_controller_spec.rb │ ├── profile_controller_spec.rb │ ├── users/ │ │ └── auth_controller_spec.rb │ ├── users_controller_spec.rb │ └── vpns_controller_spec.rb ├── factories/ │ ├── access_tokens.rb │ ├── api_resources.rb │ ├── endpoints.rb │ ├── group_associations.rb │ ├── groups.rb │ ├── host_access_groups.rb │ ├── host_machine_groups.rb │ ├── host_machines.rb │ ├── ip_addresses.rb │ ├── organisations.rb │ ├── saml_app_configs.rb │ ├── user_host_access_groups.rb │ ├── users.rb │ └── vpns.rb ├── features/ │ ├── layout_spec.rb │ ├── organisations/ │ │ ├── add_user_saml_app_spec.rb │ │ ├── config_saml_app_spec.rb │ │ ├── create_spec.rb │ │ ├── list_spec.rb │ │ ├── list_user_saml_app_spec.rb │ │ ├── remove_user_saml_app_spec.rb │ │ ├── save_config_saml_app_spec.rb │ │ ├── setup_saml_spec.rb │ │ └── update_spec.rb │ ├── saml/ │ │ └── show_spec.rb │ └── users/ │ ├── create_user_spec.rb │ └── regenerate_auth_spec.rb ├── helpers/ │ └── application_helper_spec.rb ├── lib/ │ ├── datadog_spec.rb │ ├── saml_app_spec.rb │ └── tasks/ │ └── users_rake_spec.rb ├── models/ │ ├── access_token_spec.rb │ ├── api_resource_spec.rb │ ├── endpoint_spec.rb │ ├── group_association_spec.rb │ ├── group_endpoint_spec.rb │ ├── group_spec.rb │ ├── host_machine_spec.rb │ ├── host_spec.rb │ ├── ip_address_spec.rb │ ├── organisation_spec.rb │ ├── user_spec.rb │ └── vpn_spec.rb ├── rails_helper.rb ├── routing/ │ └── api_resources_routing_spec.rb ├── spec_helper.rb ├── support/ │ └── helpers/ │ └── x509_certificate_helper.rb └── views/ ├── api_resources/ │ ├── edit.html.slim_spec.rb │ ├── index.html.slim_spec.rb │ ├── new.html.slim_spec.rb │ └── show.html.slim_spec.rb ├── groups/ │ └── show.html.slim_spec.rb └── layouts/ └── home.html.slim_spec.rb