authentik-api 2026.2.7 → 2026.5.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/README_API.md +67 -15
- data/lib/authentik/api/api/admin_api.rb +4 -12
- data/lib/authentik/api/api/core_api.rb +143 -18
- data/lib/authentik/api/api/crypto_api.rb +2 -6
- data/lib/authentik/api/api/endpoints_api.rb +1577 -656
- data/lib/authentik/api/api/events_api.rb +121 -38
- data/lib/authentik/api/api/flows_api.rb +8 -90
- data/lib/authentik/api/api/lifecycle_api.rb +22 -13
- data/lib/authentik/api/api/managed_api.rb +73 -0
- data/lib/authentik/api/api/policies_api.rb +5 -6
- data/lib/authentik/api/api/providers_api.rb +46 -108
- data/lib/authentik/api/api/rbac_api.rb +0 -5
- data/lib/authentik/api/api/schema_api.rb +4 -12
- data/lib/authentik/api/api/sources_api.rb +35 -96
- data/lib/authentik/api/api/ssf_api.rb +63 -6
- data/lib/authentik/api/api/stages_api.rb +581 -102
- data/lib/authentik/api/api/tasks_api.rb +5 -13
- data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
- data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
- data/lib/authentik/api/models/app_enum.rb +3 -2
- data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
- data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
- data/lib/authentik/api/models/application.rb +14 -4
- data/lib/authentik/api/models/application_request.rb +14 -4
- data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
- data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
- data/lib/authentik/api/models/authentication_enum.rb +2 -1
- data/lib/authentik/api/models/authenticator_email_stage.rb +10 -1
- data/lib/authentik/api/models/authenticator_sms_stage.rb +36 -1
- data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
- data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
- data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
- data/lib/authentik/api/models/brand.rb +11 -1
- data/lib/authentik/api/models/brand_request.rb +11 -1
- data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
- data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
- data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
- data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
- data/lib/authentik/api/models/consent_stage.rb +1 -1
- data/lib/authentik/api/models/consent_stage_request.rb +1 -1
- data/lib/authentik/api/models/country_code_enum.rb +3 -3
- data/lib/authentik/api/models/current_brand.rb +10 -1
- data/lib/authentik/api/models/current_brand_flags.rb +31 -27
- data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
- data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
- data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
- data/lib/authentik/api/models/event_stats.rb +187 -0
- data/lib/authentik/api/models/event_volume.rb +1 -1
- data/lib/authentik/api/models/events_requested_enum.rb +7 -1
- data/lib/authentik/api/models/expiring_base_grant_model.rb +1 -1
- data/lib/authentik/api/models/force_binding_enum.rb +34 -0
- data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
- data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
- data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
- data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
- data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
- data/lib/authentik/api/models/grant_types_enum.rb +39 -0
- data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/group_ldap_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_plex_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_saml_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_telegram_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
- data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
- data/lib/authentik/api/models/kerberos_source.rb +21 -1
- data/lib/authentik/api/models/key_type_enum.rb +3 -3
- data/lib/authentik/api/models/lang_enum.rb +131 -0
- data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
- data/lib/authentik/api/models/logout_url.rb +209 -0
- data/lib/authentik/api/models/microsoft_entra_provider.rb +27 -1
- data/lib/authentik/api/models/model_enum.rb +3 -1
- data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
- data/lib/authentik/api/models/notification_transport.rb +13 -2
- data/lib/authentik/api/models/notification_transport_request.rb +13 -2
- data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
- data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
- data/lib/authentik/api/models/operating_system.rb +0 -17
- data/lib/authentik/api/models/operating_system_request.rb +2 -9
- data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
- data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
- data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
- data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
- data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
- data/lib/authentik/api/models/patched_application_request.rb +14 -4
- data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
- data/lib/authentik/api/models/patched_brand_request.rb +11 -1
- data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
- data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
- data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
- data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
- data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
- data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
- data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
- data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
- data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
- data/lib/authentik/api/models/provider_type_enum.rb +2 -2
- data/lib/authentik/api/models/redirect_challenge.rb +4 -15
- data/lib/authentik/api/models/redirect_uri.rb +13 -4
- data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
- data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
- data/lib/authentik/api/models/related_rule.rb +250 -0
- data/lib/authentik/api/models/saml_provider.rb +98 -8
- data/lib/authentik/api/models/saml_provider_request.rb +17 -27
- data/lib/authentik/api/models/saml_source.rb +11 -1
- data/lib/authentik/api/models/saml_source_request.rb +11 -1
- data/lib/authentik/api/models/scim_provider.rb +11 -1
- data/lib/authentik/api/models/ssf_provider.rb +41 -4
- data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
- data/lib/authentik/api/models/ssf_stream.rb +10 -1
- data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
- data/lib/authentik/api/models/task.rb +1 -1
- data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
- data/lib/authentik/api/models/token_model.rb +1 -1
- data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
- data/lib/authentik/api/models/usage_enum.rb +33 -0
- data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
- data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/user_ldap_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
- data/lib/authentik/api/models/user_plex_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_saml_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_telegram_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/vendor_enum.rb +2 -1
- data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/admin_api_spec.rb +2 -2
- data/spec/api/core_api_spec.rb +27 -3
- data/spec/api/crypto_api_spec.rb +1 -1
- data/spec/api/endpoints_api_spec.rb +167 -0
- data/spec/api/events_api_spec.rb +33 -7
- data/spec/api/flows_api_spec.rb +4 -16
- data/spec/api/lifecycle_api_spec.rb +6 -3
- data/spec/api/managed_api_spec.rb +13 -0
- data/spec/api/policies_api_spec.rb +2 -1
- data/spec/api/providers_api_spec.rb +21 -19
- data/spec/api/schema_api_spec.rb +2 -2
- data/spec/api/sources_api_spec.rb +17 -16
- data/spec/api/ssf_api_spec.rb +12 -1
- data/spec/api/stages_api_spec.rb +117 -18
- data/spec/api/tasks_api_spec.rb +2 -2
- data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
- data/spec/models/account_lockdown_stage_spec.rb +96 -0
- data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
- data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
- data/spec/models/application_request_spec.rb +6 -0
- data/spec/models/application_spec.rb +6 -0
- data/spec/models/authenticator_email_stage_spec.rb +6 -0
- data/spec/models/authenticator_sms_stage_spec.rb +12 -0
- data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
- data/spec/models/authenticator_validate_stage_spec.rb +30 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
- data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
- data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
- data/spec/models/brand_request_spec.rb +6 -0
- data/spec/models/brand_spec.rb +6 -0
- data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
- data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
- data/spec/models/current_brand_flags_spec.rb +2 -2
- data/spec/models/current_brand_spec.rb +6 -0
- data/spec/models/event_matcher_policy_request_spec.rb +6 -0
- data/spec/models/event_matcher_policy_spec.rb +6 -0
- data/spec/models/event_stats_spec.rb +36 -0
- data/spec/models/force_binding_enum_spec.rb +24 -0
- data/spec/models/format_enum_spec.rb +24 -0
- data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
- data/spec/models/google_chrome_connector_request_spec.rb +48 -0
- data/spec/models/google_chrome_connector_spec.rb +78 -0
- data/spec/models/grant_types_enum_spec.rb +24 -0
- data/spec/models/group_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/group_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/group_ldap_source_connection_spec.rb +6 -0
- data/spec/models/group_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/group_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/group_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/group_source_connection_request_spec.rb +6 -0
- data/spec/models/group_telegram_source_connection_request_spec.rb +6 -0
- data/spec/models/invitation_send_email_request_spec.rb +48 -0
- data/spec/models/kerberos_source_spec.rb +12 -0
- data/spec/models/lang_enum_spec.rb +24 -0
- data/spec/models/lifecycle_iteration_spec.rb +2 -14
- data/spec/models/logout_url_spec.rb +60 -0
- data/spec/models/microsoft_entra_provider_spec.rb +6 -0
- data/spec/models/native_logout_challenge_spec.rb +13 -7
- data/spec/models/notification_transport_request_spec.rb +6 -0
- data/spec/models/notification_transport_spec.rb +6 -0
- data/spec/models/o_auth2_provider_request_spec.rb +6 -0
- data/spec/models/o_auth2_provider_spec.rb +6 -0
- data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
- data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
- data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
- data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
- data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
- data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
- data/spec/models/patched_application_request_spec.rb +6 -0
- data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
- data/spec/models/patched_brand_request_spec.rb +6 -0
- data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
- data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
- data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_telegram_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_notification_transport_request_spec.rb +6 -0
- data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
- data/spec/models/patched_saml_provider_request_spec.rb +7 -1
- data/spec/models/patched_saml_source_request_spec.rb +6 -0
- data/spec/models/patched_settings_request_flags_spec.rb +2 -2
- data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
- data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_telegram_source_connection_request_spec.rb +6 -0
- data/spec/models/redirect_challenge_spec.rb +0 -6
- data/spec/models/redirect_uri_request_spec.rb +6 -0
- data/spec/models/redirect_uri_spec.rb +6 -0
- data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
- data/spec/models/related_rule_spec.rb +54 -0
- data/spec/models/saml_provider_request_spec.rb +7 -1
- data/spec/models/saml_provider_spec.rb +25 -1
- data/spec/models/saml_source_request_spec.rb +6 -0
- data/spec/models/saml_source_spec.rb +6 -0
- data/spec/models/scim_provider_spec.rb +6 -0
- data/spec/models/ssf_provider_request_spec.rb +6 -0
- data/spec/models/ssf_provider_spec.rb +12 -0
- data/spec/models/ssf_stream_spec.rb +6 -0
- data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
- data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
- data/spec/models/transport_mode_enum_spec.rb +24 -0
- data/spec/models/usage_enum_spec.rb +24 -0
- data/spec/models/user_account_lockdown_request_spec.rb +30 -0
- data/spec/models/user_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/user_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/user_ldap_source_connection_spec.rb +6 -0
- data/spec/models/user_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/user_password_hash_set_request_spec.rb +30 -0
- data/spec/models/user_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/user_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/user_source_connection_request_spec.rb +6 -0
- data/spec/models/user_telegram_source_connection_request_spec.rb +6 -0
- data/spec/models/web_authn_hint_enum_spec.rb +24 -0
- data/spec/zeitwerk_spec.rb +34 -0
- metadata +113 -32
- data/spec/models/resident_key_requirement_enum_spec.rb +0 -24
data/spec/api/core_api_spec.rb
CHANGED
|
@@ -321,6 +321,7 @@ describe 'CoreApi' do
|
|
|
321
321
|
# @option opts [String] :flow_authentication
|
|
322
322
|
# @option opts [String] :flow_device_code
|
|
323
323
|
# @option opts [String] :flow_invalidation
|
|
324
|
+
# @option opts [String] :flow_lockdown
|
|
324
325
|
# @option opts [String] :flow_recovery
|
|
325
326
|
# @option opts [String] :flow_unenrollment
|
|
326
327
|
# @option opts [String] :flow_user_settings
|
|
@@ -530,7 +531,7 @@ describe 'CoreApi' do
|
|
|
530
531
|
# @option opts [Time] :expires
|
|
531
532
|
# @option opts [Boolean] :expiring
|
|
532
533
|
# @option opts [String] :identifier
|
|
533
|
-
# @option opts [
|
|
534
|
+
# @option opts [IntentEnum] :intent
|
|
534
535
|
# @option opts [String] :managed
|
|
535
536
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
536
537
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -673,6 +674,17 @@ describe 'CoreApi' do
|
|
|
673
674
|
end
|
|
674
675
|
end
|
|
675
676
|
|
|
677
|
+
# unit tests for core_users_account_lockdown_create
|
|
678
|
+
# Choose the target account, then return a flow link.
|
|
679
|
+
# @param [Hash] opts the optional parameters
|
|
680
|
+
# @option opts [UserAccountLockdownRequest] :user_account_lockdown_request
|
|
681
|
+
# @return [Link]
|
|
682
|
+
describe 'core_users_account_lockdown_create test' do
|
|
683
|
+
it 'should work' do
|
|
684
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
685
|
+
end
|
|
686
|
+
end
|
|
687
|
+
|
|
676
688
|
# unit tests for core_users_create
|
|
677
689
|
# User Viewset
|
|
678
690
|
# @param user_request
|
|
@@ -721,7 +733,7 @@ describe 'CoreApi' do
|
|
|
721
733
|
# @option opts [Array<String>] :roles_by_name
|
|
722
734
|
# @option opts [Array<String>] :roles_by_pk
|
|
723
735
|
# @option opts [String] :search A search term.
|
|
724
|
-
# @option opts [Array<
|
|
736
|
+
# @option opts [Array<UserTypeEnum>] :type
|
|
725
737
|
# @option opts [String] :username
|
|
726
738
|
# @option opts [String] :uuid
|
|
727
739
|
# @return [DataExport]
|
|
@@ -783,7 +795,7 @@ describe 'CoreApi' do
|
|
|
783
795
|
# @option opts [Array<String>] :roles_by_name
|
|
784
796
|
# @option opts [Array<String>] :roles_by_pk
|
|
785
797
|
# @option opts [String] :search A search term.
|
|
786
|
-
# @option opts [Array<
|
|
798
|
+
# @option opts [Array<UserTypeEnum>] :type
|
|
787
799
|
# @option opts [String] :username
|
|
788
800
|
# @option opts [String] :uuid
|
|
789
801
|
# @return [PaginatedUserList]
|
|
@@ -884,6 +896,18 @@ describe 'CoreApi' do
|
|
|
884
896
|
end
|
|
885
897
|
end
|
|
886
898
|
|
|
899
|
+
# unit tests for core_users_set_password_hash_create
|
|
900
|
+
# Set a user's password from a pre-hashed Django password value. Submit the Django password hash in the shared ``password`` request field. This updates authentik's local password verifier only. It does not attempt to propagate the password change to LDAP or Kerberos because no raw password is available from the request payload.
|
|
901
|
+
# @param id A unique integer value identifying this User.
|
|
902
|
+
# @param user_password_hash_set_request
|
|
903
|
+
# @param [Hash] opts the optional parameters
|
|
904
|
+
# @return [nil]
|
|
905
|
+
describe 'core_users_set_password_hash_create test' do
|
|
906
|
+
it 'should work' do
|
|
907
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
908
|
+
end
|
|
909
|
+
end
|
|
910
|
+
|
|
887
911
|
# unit tests for core_users_update
|
|
888
912
|
# User Viewset
|
|
889
913
|
# @param id A unique integer value identifying this User.
|
data/spec/api/crypto_api_spec.rb
CHANGED
|
@@ -63,7 +63,7 @@ describe 'CryptoApi' do
|
|
|
63
63
|
# CertificateKeyPair Viewset
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
65
|
# @option opts [Boolean] :has_key Only return certificate-key pairs with keys
|
|
66
|
-
# @option opts [Array<
|
|
66
|
+
# @option opts [Array<KeyTypeEnum>] :key_type
|
|
67
67
|
# @option opts [String] :managed
|
|
68
68
|
# @option opts [String] :name
|
|
69
69
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -270,6 +270,90 @@ describe 'EndpointsApi' do
|
|
|
270
270
|
end
|
|
271
271
|
end
|
|
272
272
|
|
|
273
|
+
# unit tests for endpoints_agents_psso_ise_create
|
|
274
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
275
|
+
# @param apple_independent_secure_enclave_request
|
|
276
|
+
# @param [Hash] opts the optional parameters
|
|
277
|
+
# @return [AppleIndependentSecureEnclave]
|
|
278
|
+
describe 'endpoints_agents_psso_ise_create test' do
|
|
279
|
+
it 'should work' do
|
|
280
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# unit tests for endpoints_agents_psso_ise_destroy
|
|
285
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
286
|
+
# @param uuid A UUID string identifying this Apple Independent Secure Enclave.
|
|
287
|
+
# @param [Hash] opts the optional parameters
|
|
288
|
+
# @return [nil]
|
|
289
|
+
describe 'endpoints_agents_psso_ise_destroy test' do
|
|
290
|
+
it 'should work' do
|
|
291
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# unit tests for endpoints_agents_psso_ise_list
|
|
296
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
297
|
+
# @param [Hash] opts the optional parameters
|
|
298
|
+
# @option opts [String] :apple_enclave_key_id
|
|
299
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
300
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
301
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
302
|
+
# @option opts [String] :search A search term.
|
|
303
|
+
# @option opts [Integer] :user
|
|
304
|
+
# @return [PaginatedAppleIndependentSecureEnclaveList]
|
|
305
|
+
describe 'endpoints_agents_psso_ise_list test' do
|
|
306
|
+
it 'should work' do
|
|
307
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
308
|
+
end
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# unit tests for endpoints_agents_psso_ise_partial_update
|
|
312
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
313
|
+
# @param uuid A UUID string identifying this Apple Independent Secure Enclave.
|
|
314
|
+
# @param [Hash] opts the optional parameters
|
|
315
|
+
# @option opts [PatchedAppleIndependentSecureEnclaveRequest] :patched_apple_independent_secure_enclave_request
|
|
316
|
+
# @return [AppleIndependentSecureEnclave]
|
|
317
|
+
describe 'endpoints_agents_psso_ise_partial_update test' do
|
|
318
|
+
it 'should work' do
|
|
319
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
320
|
+
end
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# unit tests for endpoints_agents_psso_ise_retrieve
|
|
324
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
325
|
+
# @param uuid A UUID string identifying this Apple Independent Secure Enclave.
|
|
326
|
+
# @param [Hash] opts the optional parameters
|
|
327
|
+
# @return [AppleIndependentSecureEnclave]
|
|
328
|
+
describe 'endpoints_agents_psso_ise_retrieve test' do
|
|
329
|
+
it 'should work' do
|
|
330
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# unit tests for endpoints_agents_psso_ise_update
|
|
335
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
336
|
+
# @param uuid A UUID string identifying this Apple Independent Secure Enclave.
|
|
337
|
+
# @param apple_independent_secure_enclave_request
|
|
338
|
+
# @param [Hash] opts the optional parameters
|
|
339
|
+
# @return [AppleIndependentSecureEnclave]
|
|
340
|
+
describe 'endpoints_agents_psso_ise_update test' do
|
|
341
|
+
it 'should work' do
|
|
342
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
343
|
+
end
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# unit tests for endpoints_agents_psso_ise_used_by_list
|
|
347
|
+
# Get a list of all objects that use this object
|
|
348
|
+
# @param uuid A UUID string identifying this Apple Independent Secure Enclave.
|
|
349
|
+
# @param [Hash] opts the optional parameters
|
|
350
|
+
# @return [Array<UsedBy>]
|
|
351
|
+
describe 'endpoints_agents_psso_ise_used_by_list test' do
|
|
352
|
+
it 'should work' do
|
|
353
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
273
357
|
# unit tests for endpoints_agents_psso_register_device_create
|
|
274
358
|
# @param agent_psso_device_registration_request
|
|
275
359
|
# @param [Hash] opts the optional parameters
|
|
@@ -686,4 +770,87 @@ describe 'EndpointsApi' do
|
|
|
686
770
|
end
|
|
687
771
|
end
|
|
688
772
|
|
|
773
|
+
# unit tests for endpoints_google_chrome_connectors_create
|
|
774
|
+
# GoogleChromeConnector Viewset
|
|
775
|
+
# @param google_chrome_connector_request
|
|
776
|
+
# @param [Hash] opts the optional parameters
|
|
777
|
+
# @return [GoogleChromeConnector]
|
|
778
|
+
describe 'endpoints_google_chrome_connectors_create test' do
|
|
779
|
+
it 'should work' do
|
|
780
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
# unit tests for endpoints_google_chrome_connectors_destroy
|
|
785
|
+
# GoogleChromeConnector Viewset
|
|
786
|
+
# @param connector_uuid A UUID string identifying this Google Device Trust Connector.
|
|
787
|
+
# @param [Hash] opts the optional parameters
|
|
788
|
+
# @return [nil]
|
|
789
|
+
describe 'endpoints_google_chrome_connectors_destroy test' do
|
|
790
|
+
it 'should work' do
|
|
791
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
792
|
+
end
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
# unit tests for endpoints_google_chrome_connectors_list
|
|
796
|
+
# GoogleChromeConnector Viewset
|
|
797
|
+
# @param [Hash] opts the optional parameters
|
|
798
|
+
# @option opts [String] :name
|
|
799
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
800
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
801
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
802
|
+
# @option opts [String] :search A search term.
|
|
803
|
+
# @return [PaginatedGoogleChromeConnectorList]
|
|
804
|
+
describe 'endpoints_google_chrome_connectors_list test' do
|
|
805
|
+
it 'should work' do
|
|
806
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
807
|
+
end
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
# unit tests for endpoints_google_chrome_connectors_partial_update
|
|
811
|
+
# GoogleChromeConnector Viewset
|
|
812
|
+
# @param connector_uuid A UUID string identifying this Google Device Trust Connector.
|
|
813
|
+
# @param [Hash] opts the optional parameters
|
|
814
|
+
# @option opts [PatchedGoogleChromeConnectorRequest] :patched_google_chrome_connector_request
|
|
815
|
+
# @return [GoogleChromeConnector]
|
|
816
|
+
describe 'endpoints_google_chrome_connectors_partial_update test' do
|
|
817
|
+
it 'should work' do
|
|
818
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
819
|
+
end
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
# unit tests for endpoints_google_chrome_connectors_retrieve
|
|
823
|
+
# GoogleChromeConnector Viewset
|
|
824
|
+
# @param connector_uuid A UUID string identifying this Google Device Trust Connector.
|
|
825
|
+
# @param [Hash] opts the optional parameters
|
|
826
|
+
# @return [GoogleChromeConnector]
|
|
827
|
+
describe 'endpoints_google_chrome_connectors_retrieve test' do
|
|
828
|
+
it 'should work' do
|
|
829
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
830
|
+
end
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# unit tests for endpoints_google_chrome_connectors_update
|
|
834
|
+
# GoogleChromeConnector Viewset
|
|
835
|
+
# @param connector_uuid A UUID string identifying this Google Device Trust Connector.
|
|
836
|
+
# @param google_chrome_connector_request
|
|
837
|
+
# @param [Hash] opts the optional parameters
|
|
838
|
+
# @return [GoogleChromeConnector]
|
|
839
|
+
describe 'endpoints_google_chrome_connectors_update test' do
|
|
840
|
+
it 'should work' do
|
|
841
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
842
|
+
end
|
|
843
|
+
end
|
|
844
|
+
|
|
845
|
+
# unit tests for endpoints_google_chrome_connectors_used_by_list
|
|
846
|
+
# Get a list of all objects that use this object
|
|
847
|
+
# @param connector_uuid A UUID string identifying this Google Device Trust Connector.
|
|
848
|
+
# @param [Hash] opts the optional parameters
|
|
849
|
+
# @return [Array<UsedBy>]
|
|
850
|
+
describe 'endpoints_google_chrome_connectors_used_by_list test' do
|
|
851
|
+
it 'should work' do
|
|
852
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
853
|
+
end
|
|
854
|
+
end
|
|
855
|
+
|
|
689
856
|
end
|
data/spec/api/events_api_spec.rb
CHANGED
|
@@ -62,10 +62,11 @@ describe 'EventsApi' do
|
|
|
62
62
|
# Create a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as well as the permanent URL to that object in the `Location` header. You can poll that URL until `completed=true`, at which point the `file_url` property will contain a URL to download
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @option opts [String] :action
|
|
65
|
-
# @option opts [Array<
|
|
65
|
+
# @option opts [Array<EventActions>] :actions
|
|
66
66
|
# @option opts [String] :brand_name Brand name
|
|
67
67
|
# @option opts [String] :client_ip
|
|
68
68
|
# @option opts [String] :context_authorized_app Context Authorized application
|
|
69
|
+
# @option opts [String] :context_device Context Device Primary Key
|
|
69
70
|
# @option opts [String] :context_model_app Context Model App
|
|
70
71
|
# @option opts [String] :context_model_name Context Model Name
|
|
71
72
|
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
@@ -83,10 +84,11 @@ describe 'EventsApi' do
|
|
|
83
84
|
# Event Read-Only Viewset
|
|
84
85
|
# @param [Hash] opts the optional parameters
|
|
85
86
|
# @option opts [String] :action
|
|
86
|
-
# @option opts [Array<
|
|
87
|
+
# @option opts [Array<EventActions>] :actions
|
|
87
88
|
# @option opts [String] :brand_name Brand name
|
|
88
89
|
# @option opts [String] :client_ip
|
|
89
90
|
# @option opts [String] :context_authorized_app Context Authorized application
|
|
91
|
+
# @option opts [String] :context_device Context Device Primary Key
|
|
90
92
|
# @option opts [String] :context_model_app Context Model App
|
|
91
93
|
# @option opts [String] :context_model_name Context Model Name
|
|
92
94
|
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
@@ -125,6 +127,29 @@ describe 'EventsApi' do
|
|
|
125
127
|
end
|
|
126
128
|
end
|
|
127
129
|
|
|
130
|
+
# unit tests for events_events_stats_retrieve
|
|
131
|
+
# Get event stats for specified filters and count steps
|
|
132
|
+
# @param count_steps Timedelta, format of 'weeks=3;days=2;hours=3,seconds=2'
|
|
133
|
+
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @option opts [String] :action
|
|
135
|
+
# @option opts [Array<EventActions>] :actions
|
|
136
|
+
# @option opts [String] :brand_name Brand name
|
|
137
|
+
# @option opts [String] :client_ip
|
|
138
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
139
|
+
# @option opts [String] :context_device Context Device Primary Key
|
|
140
|
+
# @option opts [String] :context_model_app Context Model App
|
|
141
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
142
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
143
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
144
|
+
# @option opts [String] :search A search term.
|
|
145
|
+
# @option opts [String] :username Username
|
|
146
|
+
# @return [EventStats]
|
|
147
|
+
describe 'events_events_stats_retrieve test' do
|
|
148
|
+
it 'should work' do
|
|
149
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
128
153
|
# unit tests for events_events_top_per_user_list
|
|
129
154
|
# Get the top_n events grouped by user count
|
|
130
155
|
# @param [Hash] opts the optional parameters
|
|
@@ -153,14 +178,15 @@ describe 'EventsApi' do
|
|
|
153
178
|
# Get event volume for specified filters and timeframe
|
|
154
179
|
# @param [Hash] opts the optional parameters
|
|
155
180
|
# @option opts [String] :action
|
|
156
|
-
# @option opts [Array<
|
|
181
|
+
# @option opts [Array<EventActions>] :actions
|
|
157
182
|
# @option opts [String] :brand_name Brand name
|
|
158
183
|
# @option opts [String] :client_ip
|
|
159
184
|
# @option opts [String] :context_authorized_app Context Authorized application
|
|
185
|
+
# @option opts [String] :context_device Context Device Primary Key
|
|
160
186
|
# @option opts [String] :context_model_app Context Model App
|
|
161
187
|
# @option opts [String] :context_model_name Context Model Name
|
|
162
188
|
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
163
|
-
# @option opts [
|
|
189
|
+
# @option opts [Integer] :history_days
|
|
164
190
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
165
191
|
# @option opts [String] :search A search term.
|
|
166
192
|
# @option opts [String] :username Username
|
|
@@ -193,7 +219,7 @@ describe 'EventsApi' do
|
|
|
193
219
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
194
220
|
# @option opts [String] :search A search term.
|
|
195
221
|
# @option opts [Boolean] :seen
|
|
196
|
-
# @option opts [
|
|
222
|
+
# @option opts [SeverityEnum] :severity
|
|
197
223
|
# @option opts [Integer] :user
|
|
198
224
|
# @return [PaginatedNotificationList]
|
|
199
225
|
describe 'events_notifications_list test' do
|
|
@@ -289,7 +315,7 @@ describe 'EventsApi' do
|
|
|
289
315
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
290
316
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
291
317
|
# @option opts [String] :search A search term.
|
|
292
|
-
# @option opts [
|
|
318
|
+
# @option opts [SeverityEnum] :severity
|
|
293
319
|
# @return [PaginatedNotificationRuleList]
|
|
294
320
|
describe 'events_rules_list test' do
|
|
295
321
|
it 'should work' do
|
|
@@ -368,7 +394,7 @@ describe 'EventsApi' do
|
|
|
368
394
|
# unit tests for events_transports_list
|
|
369
395
|
# NotificationTransport Viewset
|
|
370
396
|
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @option opts [
|
|
397
|
+
# @option opts [TransportModeEnum] :mode
|
|
372
398
|
# @option opts [String] :name
|
|
373
399
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
374
400
|
# @option opts [Integer] :page A page number within the paginated result set.
|
data/spec/api/flows_api_spec.rb
CHANGED
|
@@ -53,14 +53,14 @@ describe 'FlowsApi' do
|
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
54
|
# @option opts [Boolean] :evaluate_on_plan
|
|
55
55
|
# @option opts [String] :fsb_uuid
|
|
56
|
-
# @option opts [
|
|
56
|
+
# @option opts [InvalidResponseActionEnum] :invalid_response_action
|
|
57
57
|
# @option opts [Integer] :order
|
|
58
58
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
59
59
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
60
60
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
61
61
|
# @option opts [String] :pbm_uuid
|
|
62
62
|
# @option opts [Array<String>] :policies
|
|
63
|
-
# @option opts [
|
|
63
|
+
# @option opts [PolicyEngineMode] :policy_engine_mode
|
|
64
64
|
# @option opts [Boolean] :re_evaluate_policies
|
|
65
65
|
# @option opts [String] :search A search term.
|
|
66
66
|
# @option opts [String] :stage
|
|
@@ -229,23 +229,11 @@ describe 'FlowsApi' do
|
|
|
229
229
|
end
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
-
# unit tests for flows_instances_import_create
|
|
233
|
-
# Import flow from .yaml file
|
|
234
|
-
# @param [Hash] opts the optional parameters
|
|
235
|
-
# @option opts [File] :file
|
|
236
|
-
# @option opts [Boolean] :clear
|
|
237
|
-
# @return [FlowImportResult]
|
|
238
|
-
describe 'flows_instances_import_create test' do
|
|
239
|
-
it 'should work' do
|
|
240
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
|
|
244
232
|
# unit tests for flows_instances_list
|
|
245
233
|
# Flow Viewset
|
|
246
234
|
# @param [Hash] opts the optional parameters
|
|
247
|
-
# @option opts [
|
|
248
|
-
# @option opts [
|
|
235
|
+
# @option opts [DeniedActionEnum] :denied_action
|
|
236
|
+
# @option opts [FlowDesignationEnum] :designation
|
|
249
237
|
# @option opts [String] :flow_uuid
|
|
250
238
|
# @option opts [String] :name
|
|
251
239
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -37,13 +37,16 @@ describe 'LifecycleApi' do
|
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
# unit tests for
|
|
40
|
+
# unit tests for lifecycle_iterations_list_latest
|
|
41
41
|
# Mixin to validate that a valid enterprise license exists before allowing to save the object
|
|
42
42
|
# @param content_type
|
|
43
43
|
# @param obj_id
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
|
-
# @
|
|
46
|
-
|
|
45
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
46
|
+
# @option opts [String] :search A search term.
|
|
47
|
+
# @option opts [Boolean] :user_is_reviewer
|
|
48
|
+
# @return [Array<LifecycleIteration>]
|
|
49
|
+
describe 'lifecycle_iterations_list_latest test' do
|
|
47
50
|
it 'should work' do
|
|
48
51
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
52
|
end
|
|
@@ -69,6 +69,19 @@ describe 'ManagedApi' do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
# unit tests for managed_blueprints_import_create
|
|
73
|
+
# Import blueprint from .yaml file and apply it once, without creating an instance
|
|
74
|
+
# @param [Hash] opts the optional parameters
|
|
75
|
+
# @option opts [File] :file
|
|
76
|
+
# @option opts [String] :path
|
|
77
|
+
# @option opts [String] :context
|
|
78
|
+
# @return [BlueprintImportResult]
|
|
79
|
+
describe 'managed_blueprints_import_create test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
72
85
|
# unit tests for managed_blueprints_list
|
|
73
86
|
# Blueprint instances
|
|
74
87
|
# @param [Hash] opts the optional parameters
|
|
@@ -321,7 +321,7 @@ describe 'PoliciesApi' do
|
|
|
321
321
|
# unit tests for policies_event_matcher_list
|
|
322
322
|
# Event Matcher Policy Viewset
|
|
323
323
|
# @param [Hash] opts the optional parameters
|
|
324
|
-
# @option opts [
|
|
324
|
+
# @option opts [EventActions] :action
|
|
325
325
|
# @option opts [String] :app
|
|
326
326
|
# @option opts [String] :client_ip
|
|
327
327
|
# @option opts [Time] :created
|
|
@@ -333,6 +333,7 @@ describe 'PoliciesApi' do
|
|
|
333
333
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
334
334
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
335
335
|
# @option opts [String] :policy_uuid
|
|
336
|
+
# @option opts [String] :query
|
|
336
337
|
# @option opts [String] :search A search term.
|
|
337
338
|
# @return [PaginatedEventMatcherPolicyList]
|
|
338
339
|
describe 'policies_event_matcher_list test' do
|
|
@@ -667,9 +667,9 @@ describe 'ProvidersApi' do
|
|
|
667
667
|
# @option opts [String] :application
|
|
668
668
|
# @option opts [String] :authorization_flow
|
|
669
669
|
# @option opts [String] :client_id
|
|
670
|
-
# @option opts [
|
|
670
|
+
# @option opts [ClientTypeEnum] :client_type
|
|
671
671
|
# @option opts [Boolean] :include_claims_in_id_token
|
|
672
|
-
# @option opts [
|
|
672
|
+
# @option opts [IssuerModeEnum] :issuer_mode
|
|
673
673
|
# @option opts [String] :name
|
|
674
674
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
675
675
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -678,7 +678,7 @@ describe 'ProvidersApi' do
|
|
|
678
678
|
# @option opts [String] :refresh_token_validity
|
|
679
679
|
# @option opts [String] :search A search term.
|
|
680
680
|
# @option opts [String] :signing_key
|
|
681
|
-
# @option opts [
|
|
681
|
+
# @option opts [SubModeEnum] :sub_mode
|
|
682
682
|
# @return [PaginatedOAuth2ProviderList]
|
|
683
683
|
describe 'providers_oauth2_list test' do
|
|
684
684
|
it 'should work' do
|
|
@@ -1069,14 +1069,14 @@ describe 'ProvidersApi' do
|
|
|
1069
1069
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
1070
1070
|
# @option opts [String] :authorization_flow
|
|
1071
1071
|
# @option opts [String] :backchannel_application
|
|
1072
|
-
# @option opts [
|
|
1072
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
1073
1073
|
# @option opts [String] :default_relay_state
|
|
1074
|
-
# @option opts [
|
|
1074
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
1075
1075
|
# @option opts [String] :encryption_kp
|
|
1076
1076
|
# @option opts [String] :invalidation_flow
|
|
1077
1077
|
# @option opts [Boolean] :is_backchannel
|
|
1078
|
-
# @option opts [String] :
|
|
1079
|
-
# @option opts [
|
|
1078
|
+
# @option opts [String] :issuer_override
|
|
1079
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
1080
1080
|
# @option opts [String] :name
|
|
1081
1081
|
# @option opts [String] :name_id_mapping
|
|
1082
1082
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -1087,12 +1087,13 @@ describe 'ProvidersApi' do
|
|
|
1087
1087
|
# @option opts [String] :session_valid_not_on_or_after
|
|
1088
1088
|
# @option opts [Boolean] :sign_assertion
|
|
1089
1089
|
# @option opts [Boolean] :sign_logout_request
|
|
1090
|
+
# @option opts [Boolean] :sign_logout_response
|
|
1090
1091
|
# @option opts [Boolean] :sign_response
|
|
1091
|
-
# @option opts [
|
|
1092
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
1092
1093
|
# @option opts [String] :signing_kp
|
|
1093
|
-
# @option opts [
|
|
1094
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
1094
1095
|
# @option opts [String] :sls_url
|
|
1095
|
-
# @option opts [
|
|
1096
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
1096
1097
|
# @option opts [String] :verification_kp
|
|
1097
1098
|
# @return [PaginatedSAMLProviderList]
|
|
1098
1099
|
describe 'providers_saml_list test' do
|
|
@@ -1106,7 +1107,7 @@ describe 'ProvidersApi' do
|
|
|
1106
1107
|
# @param id A unique integer value identifying this SAML Provider.
|
|
1107
1108
|
# @param [Hash] opts the optional parameters
|
|
1108
1109
|
# @option opts [Boolean] :download
|
|
1109
|
-
# @option opts [
|
|
1110
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
1110
1111
|
# @return [SAMLMetadata]
|
|
1111
1112
|
describe 'providers_saml_metadata_retrieve test' do
|
|
1112
1113
|
it 'should work' do
|
|
@@ -1520,14 +1521,14 @@ describe 'ProvidersApi' do
|
|
|
1520
1521
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
1521
1522
|
# @option opts [String] :authorization_flow
|
|
1522
1523
|
# @option opts [String] :backchannel_application
|
|
1523
|
-
# @option opts [
|
|
1524
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
1524
1525
|
# @option opts [String] :default_relay_state
|
|
1525
|
-
# @option opts [
|
|
1526
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
1526
1527
|
# @option opts [String] :encryption_kp
|
|
1527
1528
|
# @option opts [String] :invalidation_flow
|
|
1528
1529
|
# @option opts [Boolean] :is_backchannel
|
|
1529
|
-
# @option opts [String] :
|
|
1530
|
-
# @option opts [
|
|
1530
|
+
# @option opts [String] :issuer_override
|
|
1531
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
1531
1532
|
# @option opts [String] :name
|
|
1532
1533
|
# @option opts [String] :name_id_mapping
|
|
1533
1534
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -1538,12 +1539,13 @@ describe 'ProvidersApi' do
|
|
|
1538
1539
|
# @option opts [String] :session_valid_not_on_or_after
|
|
1539
1540
|
# @option opts [Boolean] :sign_assertion
|
|
1540
1541
|
# @option opts [Boolean] :sign_logout_request
|
|
1542
|
+
# @option opts [Boolean] :sign_logout_response
|
|
1541
1543
|
# @option opts [Boolean] :sign_response
|
|
1542
|
-
# @option opts [
|
|
1544
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
1543
1545
|
# @option opts [String] :signing_kp
|
|
1544
|
-
# @option opts [
|
|
1546
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
1545
1547
|
# @option opts [String] :sls_url
|
|
1546
|
-
# @option opts [
|
|
1548
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
1547
1549
|
# @option opts [String] :verification_kp
|
|
1548
1550
|
# @return [PaginatedWSFederationProviderList]
|
|
1549
1551
|
describe 'providers_wsfed_list test' do
|
|
@@ -1557,7 +1559,7 @@ describe 'ProvidersApi' do
|
|
|
1557
1559
|
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1558
1560
|
# @param [Hash] opts the optional parameters
|
|
1559
1561
|
# @option opts [Boolean] :download
|
|
1560
|
-
# @option opts [
|
|
1562
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
1561
1563
|
# @return [SAMLMetadata]
|
|
1562
1564
|
describe 'providers_wsfed_metadata_retrieve test' do
|
|
1563
1565
|
it 'should work' do
|
data/spec/api/schema_api_spec.rb
CHANGED
|
@@ -29,8 +29,8 @@ describe 'SchemaApi' do
|
|
|
29
29
|
# unit tests for schema_retrieve
|
|
30
30
|
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
31
31
|
# @param [Hash] opts the optional parameters
|
|
32
|
-
# @option opts [
|
|
33
|
-
# @option opts [
|
|
32
|
+
# @option opts [FormatEnum] :format
|
|
33
|
+
# @option opts [LangEnum] :lang
|
|
34
34
|
# @return [Hash<String, Object>]
|
|
35
35
|
describe 'schema_retrieve test' do
|
|
36
36
|
it 'should work' do
|