authentik-api 2025.12.4 → 2026.2.1.1
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_API.md +59 -7
- data/lib/authentik/api/api/core_api.rb +109 -12
- data/lib/authentik/api/api/crypto_api.rb +0 -3
- data/lib/authentik/api/api/endpoints_api.rb +459 -0
- data/lib/authentik/api/api/events_api.rb +3 -3
- data/lib/authentik/api/api/lifecycle_api.rb +681 -0
- data/lib/authentik/api/api/policies_api.rb +1 -1
- data/lib/authentik/api/api/providers_api.rb +705 -3
- data/lib/authentik/api/api/rbac_api.rb +6 -9
- data/lib/authentik/api/api/stages_api.rb +1 -1
- data/lib/authentik/api/models/alg_enum.rb +3 -1
- data/lib/authentik/api/models/app_enum.rb +4 -1
- data/lib/authentik/api/models/bulk_delete_session_response.rb +158 -0
- data/lib/authentik/api/models/certificate_key_pair.rb +5 -4
- data/lib/authentik/api/models/content_type_enum.rb +35 -0
- data/lib/authentik/api/models/contextual_flow_info_layout_enum.rb +3 -1
- data/lib/authentik/api/models/current_brand_flags.rb +27 -1
- data/lib/authentik/api/models/device_access_group.rb +15 -4
- data/lib/authentik/api/models/device_access_group_request.rb +15 -4
- data/lib/authentik/api/models/device_fact_snapshot.rb +53 -5
- data/lib/authentik/api/models/event_actions.rb +6 -1
- data/lib/authentik/api/models/fleet_connector.rb +349 -0
- data/lib/authentik/api/models/fleet_connector_request.rb +294 -0
- data/lib/authentik/api/models/flow_layout_enum.rb +3 -1
- data/lib/authentik/api/models/identification_challenge.rb +11 -1
- data/lib/authentik/api/models/lifecycle_iteration.rb +525 -0
- data/lib/authentik/api/models/lifecycle_iteration_request.rb +181 -0
- data/lib/authentik/api/models/lifecycle_iteration_state_enum.rb +36 -0
- data/lib/authentik/api/models/lifecycle_rule.rb +440 -0
- data/lib/authentik/api/models/lifecycle_rule_request.rb +394 -0
- data/lib/authentik/api/models/model_enum.rb +6 -1
- data/lib/authentik/api/models/model_request.rb +4 -2
- data/lib/authentik/api/models/operating_system.rb +3 -0
- data/lib/authentik/api/models/operating_system_request.rb +3 -0
- data/lib/authentik/api/models/paginated_fleet_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_lifecycle_iteration_list.rb +214 -0
- data/lib/authentik/api/models/paginated_lifecycle_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ws_federation_provider_list.rb +214 -0
- data/lib/authentik/api/models/patched_device_access_group_request.rb +15 -4
- data/lib/authentik/api/models/patched_fleet_connector_request.rb +273 -0
- data/lib/authentik/api/models/patched_lifecycle_rule_request.rb +353 -0
- data/lib/authentik/api/models/patched_role_request.rb +0 -9
- data/lib/authentik/api/models/patched_saml_provider_request.rb +1 -1
- data/lib/authentik/api/models/patched_scim_provider_request.rb +13 -11
- data/lib/authentik/api/models/patched_settings_request_flags.rb +27 -1
- data/lib/authentik/api/models/patched_ws_federation_provider_request.rb +457 -0
- data/lib/authentik/api/models/provider_model_enum.rb +2 -1
- data/lib/authentik/api/models/review.rb +247 -0
- data/lib/authentik/api/models/review_request.rb +184 -0
- data/lib/authentik/api/models/reviewer_group.rb +184 -0
- data/lib/authentik/api/models/reviewer_user.rb +258 -0
- data/lib/authentik/api/models/role.rb +0 -9
- data/lib/authentik/api/models/role_request.rb +0 -9
- data/lib/authentik/api/models/{saml_provider_logout_method_enum.rb → saml_logout_methods.rb} +3 -3
- data/lib/authentik/api/models/saml_provider.rb +1 -1
- data/lib/authentik/api/models/saml_provider_request.rb +1 -1
- data/lib/authentik/api/models/scim_provider.rb +13 -11
- data/lib/authentik/api/models/scim_provider_request.rb +13 -11
- data/lib/authentik/api/models/task.rb +1 -1
- data/lib/authentik/api/models/{state_enum.rb → task_state_enum.rb} +3 -3
- data/lib/authentik/api/models/user_recovery_email_request.rb +187 -0
- data/lib/authentik/api/models/user_recovery_link_request.rb +161 -0
- data/lib/authentik/api/models/vendor_enum.rb +35 -0
- data/lib/authentik/api/models/ws_federation_provider.rb +668 -0
- data/lib/authentik/api/models/ws_federation_provider_request.rb +512 -0
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/core_api_spec.rb +21 -1
- data/spec/api/crypto_api_spec.rb +0 -1
- data/spec/api/endpoints_api_spec.rb +83 -0
- data/spec/api/lifecycle_api_spec.rb +144 -0
- data/spec/api/providers_api_spec.rb +137 -1
- data/spec/api/rbac_api_spec.rb +2 -3
- data/spec/models/bulk_delete_session_response_spec.rb +30 -0
- data/spec/models/content_type_enum_spec.rb +24 -0
- data/spec/models/current_brand_flags_spec.rb +6 -0
- data/spec/models/device_access_group_request_spec.rb +6 -0
- data/spec/models/device_access_group_spec.rb +6 -0
- data/spec/models/device_fact_snapshot_spec.rb +6 -0
- data/spec/models/fleet_connector_request_spec.rb +72 -0
- data/spec/models/fleet_connector_spec.rb +90 -0
- data/spec/models/identification_challenge_spec.rb +6 -0
- data/spec/models/lifecycle_iteration_request_spec.rb +30 -0
- data/spec/models/lifecycle_iteration_spec.rb +108 -0
- data/spec/models/lifecycle_iteration_state_enum_spec.rb +24 -0
- data/spec/models/lifecycle_rule_request_spec.rb +84 -0
- data/spec/models/lifecycle_rule_spec.rb +108 -0
- data/spec/models/paginated_fleet_connector_list_spec.rb +42 -0
- data/spec/models/paginated_lifecycle_iteration_list_spec.rb +42 -0
- data/spec/models/paginated_lifecycle_rule_list_spec.rb +42 -0
- data/spec/models/paginated_ws_federation_provider_list_spec.rb +42 -0
- data/spec/models/patched_device_access_group_request_spec.rb +6 -0
- data/spec/models/patched_fleet_connector_request_spec.rb +72 -0
- data/spec/models/patched_lifecycle_rule_request_spec.rb +84 -0
- data/spec/models/patched_scim_provider_request_spec.rb +3 -3
- data/spec/models/patched_settings_request_flags_spec.rb +6 -0
- data/spec/models/patched_ws_federation_provider_request_spec.rb +138 -0
- data/spec/models/review_request_spec.rb +36 -0
- data/spec/models/review_spec.rb +54 -0
- data/spec/models/reviewer_group_spec.rb +36 -0
- data/spec/models/reviewer_user_spec.rb +48 -0
- data/spec/models/saml_logout_methods_spec.rb +24 -0
- data/spec/models/scim_provider_request_spec.rb +3 -3
- data/spec/models/scim_provider_spec.rb +3 -3
- data/spec/models/task_state_enum_spec.rb +24 -0
- data/spec/models/user_recovery_email_request_spec.rb +36 -0
- data/spec/models/user_recovery_link_request_spec.rb +30 -0
- data/spec/models/{state_enum_spec.rb → vendor_enum_spec.rb} +6 -6
- data/spec/models/ws_federation_provider_request_spec.rb +138 -0
- data/spec/models/ws_federation_provider_spec.rb +204 -0
- metadata +85 -7
- data/spec/models/saml_provider_logout_method_enum_spec.rb +0 -24
|
@@ -3192,5 +3192,464 @@ module Authentik::Api
|
|
|
3192
3192
|
end
|
|
3193
3193
|
return data, status_code, headers
|
|
3194
3194
|
end
|
|
3195
|
+
|
|
3196
|
+
# FleetConnector Viewset
|
|
3197
|
+
# @param fleet_connector_request [FleetConnectorRequest]
|
|
3198
|
+
# @param [Hash] opts the optional parameters
|
|
3199
|
+
# @return [FleetConnector]
|
|
3200
|
+
def endpoints_fleet_connectors_create(fleet_connector_request, opts = {})
|
|
3201
|
+
data, _status_code, _headers = endpoints_fleet_connectors_create_with_http_info(fleet_connector_request, opts)
|
|
3202
|
+
data
|
|
3203
|
+
end
|
|
3204
|
+
|
|
3205
|
+
# FleetConnector Viewset
|
|
3206
|
+
# @param fleet_connector_request [FleetConnectorRequest]
|
|
3207
|
+
# @param [Hash] opts the optional parameters
|
|
3208
|
+
# @return [Array<(FleetConnector, Integer, Hash)>] FleetConnector data, response status code and response headers
|
|
3209
|
+
def endpoints_fleet_connectors_create_with_http_info(fleet_connector_request, opts = {})
|
|
3210
|
+
if @api_client.config.debugging
|
|
3211
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_create ...'
|
|
3212
|
+
end
|
|
3213
|
+
# verify the required parameter 'fleet_connector_request' is set
|
|
3214
|
+
if @api_client.config.client_side_validation && fleet_connector_request.nil?
|
|
3215
|
+
fail ArgumentError, "Missing the required parameter 'fleet_connector_request' when calling EndpointsApi.endpoints_fleet_connectors_create"
|
|
3216
|
+
end
|
|
3217
|
+
# resource path
|
|
3218
|
+
local_var_path = '/endpoints/fleet/connectors/'
|
|
3219
|
+
|
|
3220
|
+
# query parameters
|
|
3221
|
+
query_params = opts[:query_params] || {}
|
|
3222
|
+
|
|
3223
|
+
# header parameters
|
|
3224
|
+
header_params = opts[:header_params] || {}
|
|
3225
|
+
# HTTP header 'Accept' (if needed)
|
|
3226
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3227
|
+
# HTTP header 'Content-Type'
|
|
3228
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3229
|
+
if !content_type.nil?
|
|
3230
|
+
header_params['Content-Type'] = content_type
|
|
3231
|
+
end
|
|
3232
|
+
|
|
3233
|
+
# form parameters
|
|
3234
|
+
form_params = opts[:form_params] || {}
|
|
3235
|
+
|
|
3236
|
+
# http body (model)
|
|
3237
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(fleet_connector_request)
|
|
3238
|
+
|
|
3239
|
+
# return_type
|
|
3240
|
+
return_type = opts[:debug_return_type] || 'FleetConnector'
|
|
3241
|
+
|
|
3242
|
+
# auth_names
|
|
3243
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3244
|
+
|
|
3245
|
+
new_options = opts.merge(
|
|
3246
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_create",
|
|
3247
|
+
:header_params => header_params,
|
|
3248
|
+
:query_params => query_params,
|
|
3249
|
+
:form_params => form_params,
|
|
3250
|
+
:body => post_body,
|
|
3251
|
+
:auth_names => auth_names,
|
|
3252
|
+
:return_type => return_type
|
|
3253
|
+
)
|
|
3254
|
+
|
|
3255
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
3256
|
+
if @api_client.config.debugging
|
|
3257
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3258
|
+
end
|
|
3259
|
+
return data, status_code, headers
|
|
3260
|
+
end
|
|
3261
|
+
|
|
3262
|
+
# FleetConnector Viewset
|
|
3263
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3264
|
+
# @param [Hash] opts the optional parameters
|
|
3265
|
+
# @return [nil]
|
|
3266
|
+
def endpoints_fleet_connectors_destroy(connector_uuid, opts = {})
|
|
3267
|
+
endpoints_fleet_connectors_destroy_with_http_info(connector_uuid, opts)
|
|
3268
|
+
nil
|
|
3269
|
+
end
|
|
3270
|
+
|
|
3271
|
+
# FleetConnector Viewset
|
|
3272
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3273
|
+
# @param [Hash] opts the optional parameters
|
|
3274
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3275
|
+
def endpoints_fleet_connectors_destroy_with_http_info(connector_uuid, opts = {})
|
|
3276
|
+
if @api_client.config.debugging
|
|
3277
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_destroy ...'
|
|
3278
|
+
end
|
|
3279
|
+
# verify the required parameter 'connector_uuid' is set
|
|
3280
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
3281
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_fleet_connectors_destroy"
|
|
3282
|
+
end
|
|
3283
|
+
# resource path
|
|
3284
|
+
local_var_path = '/endpoints/fleet/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
3285
|
+
|
|
3286
|
+
# query parameters
|
|
3287
|
+
query_params = opts[:query_params] || {}
|
|
3288
|
+
|
|
3289
|
+
# header parameters
|
|
3290
|
+
header_params = opts[:header_params] || {}
|
|
3291
|
+
# HTTP header 'Accept' (if needed)
|
|
3292
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3293
|
+
|
|
3294
|
+
# form parameters
|
|
3295
|
+
form_params = opts[:form_params] || {}
|
|
3296
|
+
|
|
3297
|
+
# http body (model)
|
|
3298
|
+
post_body = opts[:debug_body]
|
|
3299
|
+
|
|
3300
|
+
# return_type
|
|
3301
|
+
return_type = opts[:debug_return_type]
|
|
3302
|
+
|
|
3303
|
+
# auth_names
|
|
3304
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3305
|
+
|
|
3306
|
+
new_options = opts.merge(
|
|
3307
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_destroy",
|
|
3308
|
+
:header_params => header_params,
|
|
3309
|
+
:query_params => query_params,
|
|
3310
|
+
:form_params => form_params,
|
|
3311
|
+
:body => post_body,
|
|
3312
|
+
:auth_names => auth_names,
|
|
3313
|
+
:return_type => return_type
|
|
3314
|
+
)
|
|
3315
|
+
|
|
3316
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
3317
|
+
if @api_client.config.debugging
|
|
3318
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3319
|
+
end
|
|
3320
|
+
return data, status_code, headers
|
|
3321
|
+
end
|
|
3322
|
+
|
|
3323
|
+
# FleetConnector Viewset
|
|
3324
|
+
# @param [Hash] opts the optional parameters
|
|
3325
|
+
# @option opts [String] :name
|
|
3326
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3327
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3328
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3329
|
+
# @option opts [String] :search A search term.
|
|
3330
|
+
# @return [PaginatedFleetConnectorList]
|
|
3331
|
+
def endpoints_fleet_connectors_list(opts = {})
|
|
3332
|
+
data, _status_code, _headers = endpoints_fleet_connectors_list_with_http_info(opts)
|
|
3333
|
+
data
|
|
3334
|
+
end
|
|
3335
|
+
|
|
3336
|
+
# FleetConnector Viewset
|
|
3337
|
+
# @param [Hash] opts the optional parameters
|
|
3338
|
+
# @option opts [String] :name
|
|
3339
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3340
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3341
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3342
|
+
# @option opts [String] :search A search term.
|
|
3343
|
+
# @return [Array<(PaginatedFleetConnectorList, Integer, Hash)>] PaginatedFleetConnectorList data, response status code and response headers
|
|
3344
|
+
def endpoints_fleet_connectors_list_with_http_info(opts = {})
|
|
3345
|
+
if @api_client.config.debugging
|
|
3346
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_list ...'
|
|
3347
|
+
end
|
|
3348
|
+
# resource path
|
|
3349
|
+
local_var_path = '/endpoints/fleet/connectors/'
|
|
3350
|
+
|
|
3351
|
+
# query parameters
|
|
3352
|
+
query_params = opts[:query_params] || {}
|
|
3353
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
3354
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
3355
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
3356
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
3357
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
3358
|
+
|
|
3359
|
+
# header parameters
|
|
3360
|
+
header_params = opts[:header_params] || {}
|
|
3361
|
+
# HTTP header 'Accept' (if needed)
|
|
3362
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3363
|
+
|
|
3364
|
+
# form parameters
|
|
3365
|
+
form_params = opts[:form_params] || {}
|
|
3366
|
+
|
|
3367
|
+
# http body (model)
|
|
3368
|
+
post_body = opts[:debug_body]
|
|
3369
|
+
|
|
3370
|
+
# return_type
|
|
3371
|
+
return_type = opts[:debug_return_type] || 'PaginatedFleetConnectorList'
|
|
3372
|
+
|
|
3373
|
+
# auth_names
|
|
3374
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3375
|
+
|
|
3376
|
+
new_options = opts.merge(
|
|
3377
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_list",
|
|
3378
|
+
:header_params => header_params,
|
|
3379
|
+
:query_params => query_params,
|
|
3380
|
+
:form_params => form_params,
|
|
3381
|
+
:body => post_body,
|
|
3382
|
+
:auth_names => auth_names,
|
|
3383
|
+
:return_type => return_type
|
|
3384
|
+
)
|
|
3385
|
+
|
|
3386
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3387
|
+
if @api_client.config.debugging
|
|
3388
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3389
|
+
end
|
|
3390
|
+
return data, status_code, headers
|
|
3391
|
+
end
|
|
3392
|
+
|
|
3393
|
+
# FleetConnector Viewset
|
|
3394
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3395
|
+
# @param [Hash] opts the optional parameters
|
|
3396
|
+
# @option opts [PatchedFleetConnectorRequest] :patched_fleet_connector_request
|
|
3397
|
+
# @return [FleetConnector]
|
|
3398
|
+
def endpoints_fleet_connectors_partial_update(connector_uuid, opts = {})
|
|
3399
|
+
data, _status_code, _headers = endpoints_fleet_connectors_partial_update_with_http_info(connector_uuid, opts)
|
|
3400
|
+
data
|
|
3401
|
+
end
|
|
3402
|
+
|
|
3403
|
+
# FleetConnector Viewset
|
|
3404
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3405
|
+
# @param [Hash] opts the optional parameters
|
|
3406
|
+
# @option opts [PatchedFleetConnectorRequest] :patched_fleet_connector_request
|
|
3407
|
+
# @return [Array<(FleetConnector, Integer, Hash)>] FleetConnector data, response status code and response headers
|
|
3408
|
+
def endpoints_fleet_connectors_partial_update_with_http_info(connector_uuid, opts = {})
|
|
3409
|
+
if @api_client.config.debugging
|
|
3410
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_partial_update ...'
|
|
3411
|
+
end
|
|
3412
|
+
# verify the required parameter 'connector_uuid' is set
|
|
3413
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
3414
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_fleet_connectors_partial_update"
|
|
3415
|
+
end
|
|
3416
|
+
# resource path
|
|
3417
|
+
local_var_path = '/endpoints/fleet/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
3418
|
+
|
|
3419
|
+
# query parameters
|
|
3420
|
+
query_params = opts[:query_params] || {}
|
|
3421
|
+
|
|
3422
|
+
# header parameters
|
|
3423
|
+
header_params = opts[:header_params] || {}
|
|
3424
|
+
# HTTP header 'Accept' (if needed)
|
|
3425
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3426
|
+
# HTTP header 'Content-Type'
|
|
3427
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3428
|
+
if !content_type.nil?
|
|
3429
|
+
header_params['Content-Type'] = content_type
|
|
3430
|
+
end
|
|
3431
|
+
|
|
3432
|
+
# form parameters
|
|
3433
|
+
form_params = opts[:form_params] || {}
|
|
3434
|
+
|
|
3435
|
+
# http body (model)
|
|
3436
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_fleet_connector_request'])
|
|
3437
|
+
|
|
3438
|
+
# return_type
|
|
3439
|
+
return_type = opts[:debug_return_type] || 'FleetConnector'
|
|
3440
|
+
|
|
3441
|
+
# auth_names
|
|
3442
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3443
|
+
|
|
3444
|
+
new_options = opts.merge(
|
|
3445
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_partial_update",
|
|
3446
|
+
:header_params => header_params,
|
|
3447
|
+
:query_params => query_params,
|
|
3448
|
+
:form_params => form_params,
|
|
3449
|
+
:body => post_body,
|
|
3450
|
+
:auth_names => auth_names,
|
|
3451
|
+
:return_type => return_type
|
|
3452
|
+
)
|
|
3453
|
+
|
|
3454
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
3455
|
+
if @api_client.config.debugging
|
|
3456
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3457
|
+
end
|
|
3458
|
+
return data, status_code, headers
|
|
3459
|
+
end
|
|
3460
|
+
|
|
3461
|
+
# FleetConnector Viewset
|
|
3462
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3463
|
+
# @param [Hash] opts the optional parameters
|
|
3464
|
+
# @return [FleetConnector]
|
|
3465
|
+
def endpoints_fleet_connectors_retrieve(connector_uuid, opts = {})
|
|
3466
|
+
data, _status_code, _headers = endpoints_fleet_connectors_retrieve_with_http_info(connector_uuid, opts)
|
|
3467
|
+
data
|
|
3468
|
+
end
|
|
3469
|
+
|
|
3470
|
+
# FleetConnector Viewset
|
|
3471
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3472
|
+
# @param [Hash] opts the optional parameters
|
|
3473
|
+
# @return [Array<(FleetConnector, Integer, Hash)>] FleetConnector data, response status code and response headers
|
|
3474
|
+
def endpoints_fleet_connectors_retrieve_with_http_info(connector_uuid, opts = {})
|
|
3475
|
+
if @api_client.config.debugging
|
|
3476
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_retrieve ...'
|
|
3477
|
+
end
|
|
3478
|
+
# verify the required parameter 'connector_uuid' is set
|
|
3479
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
3480
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_fleet_connectors_retrieve"
|
|
3481
|
+
end
|
|
3482
|
+
# resource path
|
|
3483
|
+
local_var_path = '/endpoints/fleet/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
3484
|
+
|
|
3485
|
+
# query parameters
|
|
3486
|
+
query_params = opts[:query_params] || {}
|
|
3487
|
+
|
|
3488
|
+
# header parameters
|
|
3489
|
+
header_params = opts[:header_params] || {}
|
|
3490
|
+
# HTTP header 'Accept' (if needed)
|
|
3491
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3492
|
+
|
|
3493
|
+
# form parameters
|
|
3494
|
+
form_params = opts[:form_params] || {}
|
|
3495
|
+
|
|
3496
|
+
# http body (model)
|
|
3497
|
+
post_body = opts[:debug_body]
|
|
3498
|
+
|
|
3499
|
+
# return_type
|
|
3500
|
+
return_type = opts[:debug_return_type] || 'FleetConnector'
|
|
3501
|
+
|
|
3502
|
+
# auth_names
|
|
3503
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3504
|
+
|
|
3505
|
+
new_options = opts.merge(
|
|
3506
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_retrieve",
|
|
3507
|
+
:header_params => header_params,
|
|
3508
|
+
:query_params => query_params,
|
|
3509
|
+
:form_params => form_params,
|
|
3510
|
+
:body => post_body,
|
|
3511
|
+
:auth_names => auth_names,
|
|
3512
|
+
:return_type => return_type
|
|
3513
|
+
)
|
|
3514
|
+
|
|
3515
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3516
|
+
if @api_client.config.debugging
|
|
3517
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3518
|
+
end
|
|
3519
|
+
return data, status_code, headers
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
# FleetConnector Viewset
|
|
3523
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3524
|
+
# @param fleet_connector_request [FleetConnectorRequest]
|
|
3525
|
+
# @param [Hash] opts the optional parameters
|
|
3526
|
+
# @return [FleetConnector]
|
|
3527
|
+
def endpoints_fleet_connectors_update(connector_uuid, fleet_connector_request, opts = {})
|
|
3528
|
+
data, _status_code, _headers = endpoints_fleet_connectors_update_with_http_info(connector_uuid, fleet_connector_request, opts)
|
|
3529
|
+
data
|
|
3530
|
+
end
|
|
3531
|
+
|
|
3532
|
+
# FleetConnector Viewset
|
|
3533
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3534
|
+
# @param fleet_connector_request [FleetConnectorRequest]
|
|
3535
|
+
# @param [Hash] opts the optional parameters
|
|
3536
|
+
# @return [Array<(FleetConnector, Integer, Hash)>] FleetConnector data, response status code and response headers
|
|
3537
|
+
def endpoints_fleet_connectors_update_with_http_info(connector_uuid, fleet_connector_request, opts = {})
|
|
3538
|
+
if @api_client.config.debugging
|
|
3539
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_update ...'
|
|
3540
|
+
end
|
|
3541
|
+
# verify the required parameter 'connector_uuid' is set
|
|
3542
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
3543
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_fleet_connectors_update"
|
|
3544
|
+
end
|
|
3545
|
+
# verify the required parameter 'fleet_connector_request' is set
|
|
3546
|
+
if @api_client.config.client_side_validation && fleet_connector_request.nil?
|
|
3547
|
+
fail ArgumentError, "Missing the required parameter 'fleet_connector_request' when calling EndpointsApi.endpoints_fleet_connectors_update"
|
|
3548
|
+
end
|
|
3549
|
+
# resource path
|
|
3550
|
+
local_var_path = '/endpoints/fleet/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
3551
|
+
|
|
3552
|
+
# query parameters
|
|
3553
|
+
query_params = opts[:query_params] || {}
|
|
3554
|
+
|
|
3555
|
+
# header parameters
|
|
3556
|
+
header_params = opts[:header_params] || {}
|
|
3557
|
+
# HTTP header 'Accept' (if needed)
|
|
3558
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3559
|
+
# HTTP header 'Content-Type'
|
|
3560
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3561
|
+
if !content_type.nil?
|
|
3562
|
+
header_params['Content-Type'] = content_type
|
|
3563
|
+
end
|
|
3564
|
+
|
|
3565
|
+
# form parameters
|
|
3566
|
+
form_params = opts[:form_params] || {}
|
|
3567
|
+
|
|
3568
|
+
# http body (model)
|
|
3569
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(fleet_connector_request)
|
|
3570
|
+
|
|
3571
|
+
# return_type
|
|
3572
|
+
return_type = opts[:debug_return_type] || 'FleetConnector'
|
|
3573
|
+
|
|
3574
|
+
# auth_names
|
|
3575
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3576
|
+
|
|
3577
|
+
new_options = opts.merge(
|
|
3578
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_update",
|
|
3579
|
+
:header_params => header_params,
|
|
3580
|
+
:query_params => query_params,
|
|
3581
|
+
:form_params => form_params,
|
|
3582
|
+
:body => post_body,
|
|
3583
|
+
:auth_names => auth_names,
|
|
3584
|
+
:return_type => return_type
|
|
3585
|
+
)
|
|
3586
|
+
|
|
3587
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3588
|
+
if @api_client.config.debugging
|
|
3589
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3590
|
+
end
|
|
3591
|
+
return data, status_code, headers
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3594
|
+
# Get a list of all objects that use this object
|
|
3595
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3596
|
+
# @param [Hash] opts the optional parameters
|
|
3597
|
+
# @return [Array<UsedBy>]
|
|
3598
|
+
def endpoints_fleet_connectors_used_by_list(connector_uuid, opts = {})
|
|
3599
|
+
data, _status_code, _headers = endpoints_fleet_connectors_used_by_list_with_http_info(connector_uuid, opts)
|
|
3600
|
+
data
|
|
3601
|
+
end
|
|
3602
|
+
|
|
3603
|
+
# Get a list of all objects that use this object
|
|
3604
|
+
# @param connector_uuid [String] A UUID string identifying this Fleet Connector.
|
|
3605
|
+
# @param [Hash] opts the optional parameters
|
|
3606
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
3607
|
+
def endpoints_fleet_connectors_used_by_list_with_http_info(connector_uuid, opts = {})
|
|
3608
|
+
if @api_client.config.debugging
|
|
3609
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_fleet_connectors_used_by_list ...'
|
|
3610
|
+
end
|
|
3611
|
+
# verify the required parameter 'connector_uuid' is set
|
|
3612
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
3613
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_fleet_connectors_used_by_list"
|
|
3614
|
+
end
|
|
3615
|
+
# resource path
|
|
3616
|
+
local_var_path = '/endpoints/fleet/connectors/{connector_uuid}/used_by/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
3617
|
+
|
|
3618
|
+
# query parameters
|
|
3619
|
+
query_params = opts[:query_params] || {}
|
|
3620
|
+
|
|
3621
|
+
# header parameters
|
|
3622
|
+
header_params = opts[:header_params] || {}
|
|
3623
|
+
# HTTP header 'Accept' (if needed)
|
|
3624
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3625
|
+
|
|
3626
|
+
# form parameters
|
|
3627
|
+
form_params = opts[:form_params] || {}
|
|
3628
|
+
|
|
3629
|
+
# http body (model)
|
|
3630
|
+
post_body = opts[:debug_body]
|
|
3631
|
+
|
|
3632
|
+
# return_type
|
|
3633
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
3634
|
+
|
|
3635
|
+
# auth_names
|
|
3636
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3637
|
+
|
|
3638
|
+
new_options = opts.merge(
|
|
3639
|
+
:operation => :"EndpointsApi.endpoints_fleet_connectors_used_by_list",
|
|
3640
|
+
:header_params => header_params,
|
|
3641
|
+
:query_params => query_params,
|
|
3642
|
+
:form_params => form_params,
|
|
3643
|
+
:body => post_body,
|
|
3644
|
+
:auth_names => auth_names,
|
|
3645
|
+
:return_type => return_type
|
|
3646
|
+
)
|
|
3647
|
+
|
|
3648
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3649
|
+
if @api_client.config.debugging
|
|
3650
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_fleet_connectors_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3651
|
+
end
|
|
3652
|
+
return data, status_code, headers
|
|
3653
|
+
end
|
|
3195
3654
|
end
|
|
3196
3655
|
end
|
|
@@ -232,7 +232,7 @@ module Authentik::Api
|
|
|
232
232
|
if @api_client.config.debugging
|
|
233
233
|
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_export_create ...'
|
|
234
234
|
end
|
|
235
|
-
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
235
|
+
allowable_values = ["authorize_application", "configuration_error", "configuration_warning", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "review_attested", "review_completed", "review_initiated", "review_overdue", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
236
236
|
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
237
237
|
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
238
238
|
end
|
|
@@ -328,7 +328,7 @@ module Authentik::Api
|
|
|
328
328
|
if @api_client.config.debugging
|
|
329
329
|
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_list ...'
|
|
330
330
|
end
|
|
331
|
-
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
331
|
+
allowable_values = ["authorize_application", "configuration_error", "configuration_warning", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "review_attested", "review_completed", "review_initiated", "review_overdue", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
332
332
|
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
333
333
|
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
334
334
|
end
|
|
@@ -686,7 +686,7 @@ module Authentik::Api
|
|
|
686
686
|
if @api_client.config.debugging
|
|
687
687
|
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_volume_list ...'
|
|
688
688
|
end
|
|
689
|
-
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
689
|
+
allowable_values = ["authorize_application", "configuration_error", "configuration_warning", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "review_attested", "review_completed", "review_initiated", "review_overdue", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
690
690
|
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
691
691
|
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
692
692
|
end
|