crimson-falcon 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1655 -208
- data/lib/crimson-falcon/api/alerts_api.rb +307 -19
- data/lib/crimson-falcon/api/{inventories_api.rb → cloud_snapshots_api.rb} +16 -16
- data/lib/crimson-falcon/api/configuration_assessment_api.rb +62 -0
- data/lib/crimson-falcon/api/container_alerts_api.rb +222 -0
- data/lib/crimson-falcon/api/container_detections_api.rb +408 -0
- data/lib/crimson-falcon/api/container_images_api.rb +711 -0
- data/lib/crimson-falcon/api/container_packages_api.rb +365 -0
- data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +693 -0
- data/lib/crimson-falcon/api/cspm_registration_api.rb +719 -49
- data/lib/crimson-falcon/api/custom_ioa_api.rb +2 -2
- data/lib/crimson-falcon/api/custom_storage_api.rb +590 -0
- data/lib/crimson-falcon/api/d4c_registration_api.rb +263 -6
- data/lib/crimson-falcon/api/drift_indicators_api.rb +350 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +352 -21
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -67
- data/lib/crimson-falcon/api/falconx_sandbox_api.rb +2 -2
- data/lib/crimson-falcon/api/filevantage_api.rb +1730 -45
- data/lib/crimson-falcon/api/foundry_logscale_api.rb +959 -0
- data/lib/crimson-falcon/api/hosts_api.rb +68 -64
- data/lib/crimson-falcon/api/image_assessment_policies_api.rb +738 -0
- data/lib/crimson-falcon/api/installation_tokens_api.rb +12 -12
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +3 -3
- data/lib/crimson-falcon/api/intel_api.rb +4 -4
- data/lib/crimson-falcon/api/ioc_api.rb +226 -0
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +2498 -13
- data/lib/crimson-falcon/api/message_center_api.rb +11 -11
- data/lib/crimson-falcon/api/ods_api.rb +68 -6
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +149 -0
- data/lib/crimson-falcon/api/real_time_response_audit_api.rb +113 -0
- data/lib/crimson-falcon/api/recon_api.rb +6 -6
- data/lib/crimson-falcon/api/runtime_detections_api.rb +106 -0
- data/lib/crimson-falcon/api/{vulnerabilities_evaluation_logic_api.rb → spotlight_evaluation_logic_api.rb} +13 -13
- data/lib/crimson-falcon/api/{vulnerabilities_api.rb → spotlight_vulnerabilities_api.rb} +25 -25
- data/lib/crimson-falcon/api/unidentified_containers_api.rb +222 -0
- data/lib/crimson-falcon/api/workflows_api.rb +1037 -0
- data/lib/crimson-falcon/configuration.rb +1 -1
- data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
- data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
- data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
- data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
- data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
- data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
- data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
- data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
- data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
- data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
- data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
- data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
- data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
- data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
- data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
- data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
- data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
- data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
- data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
- data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
- data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
- data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
- data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
- data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
- data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
- data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
- data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
- data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
- data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
- data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
- data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
- data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
- data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
- data/lib/crimson-falcon/models/client_action_request.rb +242 -0
- data/lib/crimson-falcon/models/client_cost.rb +267 -0
- data/lib/crimson-falcon/models/client_costs.rb +281 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
- data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
- data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
- data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
- data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
- data/lib/crimson-falcon/models/client_field.rb +269 -0
- data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
- data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
- data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
- data/lib/crimson-falcon/models/client_repository.rb +281 -0
- data/lib/crimson-falcon/models/client_spent.rb +281 -0
- data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
- data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
- data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
- data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
- data/lib/crimson-falcon/models/client_top_value.rb +253 -0
- data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
- data/lib/crimson-falcon/models/common_count_response.rb +266 -0
- data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
- data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
- data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
- data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
- data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
- data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
- data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
- data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
- data/lib/crimson-falcon/models/detects_alert.rb +110 -6
- data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
- data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/device_device.rb +19 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
- data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
- data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
- data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
- data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
- data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
- data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
- data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
- data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
- data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
- data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
- data/lib/crimson-falcon/models/domain_card.rb +288 -0
- data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
- data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
- data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
- data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
- data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_device.rb +10 -1
- data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
- data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
- data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
- data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_host.rb +342 -0
- data/lib/crimson-falcon/models/domain_incident.rb +4 -13
- data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
- data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
- data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
- data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
- data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
- data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
- data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
- data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
- data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
- data/lib/crimson-falcon/models/domain_rule.rb +63 -69
- data/lib/crimson-falcon/models/domain_scan.rb +67 -4
- data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
- data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
- data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
- data/lib/crimson-falcon/models/domain_session.rb +0 -25
- data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
- data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
- data/lib/crimson-falcon/models/domain_user.rb +9 -27
- data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
- data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
- data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
- data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
- data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
- data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
- data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
- data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
- data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
- data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
- data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
- data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
- data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
- data/lib/crimson-falcon/models/flows.rb +269 -0
- data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/graph_condition.rb +257 -0
- data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
- data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
- data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
- data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
- data/lib/crimson-falcon/models/graph_flow.rb +274 -0
- data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
- data/lib/crimson-falcon/models/graph_multi.rb +285 -0
- data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
- data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
- data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
- data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
- data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
- data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
- data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
- data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
- data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
- data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
- data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
- data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
- data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
- data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
- data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
- data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
- data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
- data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
- data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
- data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
- data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
- data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
- data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
- data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
- data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
- data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
- data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
- data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
- data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
- data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
- data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
- data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
- data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
- data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
- data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
- data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
- data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
- data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
- data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
- data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
- data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
- data/lib/crimson-falcon/models/models_cluster.rb +539 -0
- data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container.rb +831 -0
- data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
- data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
- data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container_image.rb +453 -0
- data/lib/crimson-falcon/models/models_container_information.rb +253 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
- data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
- data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
- data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
- data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
- data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
- data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
- data/lib/crimson-falcon/models/models_image_information.rb +267 -0
- data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
- data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
- data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
- data/lib/crimson-falcon/models/models_node.rb +723 -0
- data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
- data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
- data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
- data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
- data/lib/crimson-falcon/models/models_pod.rb +827 -0
- data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
- data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
- data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
- data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
- data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
- data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
- data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
- data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
- data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
- data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
- data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
- data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
- data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_policy.rb +362 -0
- data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
- data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
- data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
- data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
- data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
- data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
- data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
- data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
- data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
- data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
- data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
- data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
- data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
- data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
- data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
- data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
- data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
- data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
- data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
- data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
- data/lib/crimson-falcon/models/v2_activity.rb +264 -0
- data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
- data/lib/crimson-falcon/models/v2_condition.rb +286 -0
- data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_definition.rb +374 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
- data/lib/crimson-falcon/models/v2_loop.rb +281 -0
- data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
- data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +366 -37
- data/spec/api/alerts_api_spec.rb +60 -8
- data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
- data/spec/api/configuration_assessment_api_spec.rb +11 -0
- data/spec/api/container_alerts_api_spec.rb +88 -0
- data/spec/api/container_detections_api_spec.rb +125 -0
- data/spec/api/container_images_api_spec.rb +182 -0
- data/spec/api/container_packages_api_spec.rb +119 -0
- data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
- data/spec/api/cspm_registration_api_spec.rb +123 -1
- data/spec/api/custom_ioa_api_spec.rb +1 -1
- data/spec/api/custom_storage_api_spec.rb +133 -0
- data/spec/api/d4c_registration_api_spec.rb +47 -0
- data/spec/api/drift_indicators_api_spec.rb +114 -0
- data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
- data/spec/api/falcon_container_image_api_spec.rb +0 -14
- data/spec/api/falconx_sandbox_api_spec.rb +1 -1
- data/spec/api/filevantage_api_spec.rb +315 -8
- data/spec/api/foundry_logscale_api_spec.rb +226 -0
- data/spec/api/hosts_api_spec.rb +12 -12
- data/spec/api/image_assessment_policies_api_spec.rb +172 -0
- data/spec/api/installation_tokens_api_spec.rb +4 -4
- data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
- data/spec/api/intel_api_spec.rb +2 -2
- data/spec/api/ioc_api_spec.rb +41 -0
- data/spec/api/kubernetes_protection_api_spec.rb +480 -0
- data/spec/api/message_center_api_spec.rb +3 -3
- data/spec/api/ods_api_spec.rb +13 -2
- data/spec/api/real_time_response_admin_api_spec.rb +25 -0
- data/spec/api/real_time_response_audit_api_spec.rb +67 -0
- data/spec/api/recon_api_spec.rb +3 -3
- data/spec/api/runtime_detections_api_spec.rb +66 -0
- data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
- data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
- data/spec/api/unidentified_containers_api_spec.rb +88 -0
- data/spec/api/workflows_api_spec.rb +224 -0
- data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
- data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
- data/spec/models/api_detects_query_meta_spec.rb +69 -0
- data/spec/models/api_detects_query_paging_spec.rb +63 -0
- data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
- data/spec/models/api_device_count_v1_spec.rb +69 -0
- data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/api_entities_response_spec.rb +63 -0
- data/spec/models/api_execution_results_response_spec.rb +63 -0
- data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
- data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/api_meta_info_spec.rb +69 -0
- data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
- data/spec/models/api_object_metadata_spec.rb +75 -0
- data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
- data/spec/models/api_response_pagination_spec.rb +57 -0
- data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
- data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
- data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
- data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
- data/spec/models/apidomain_repository_v1_spec.rb +75 -0
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
- data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
- data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
- data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
- data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
- data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
- data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
- data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
- data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
- data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
- data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
- data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
- data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
- data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
- data/spec/models/changes_get_changes_response_spec.rb +63 -0
- data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
- data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
- data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
- data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
- data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
- data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
- data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
- data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
- data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
- data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
- data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
- data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
- data/spec/models/client_action_request_spec.rb +51 -0
- data/spec/models/client_cost_spec.rb +63 -0
- data/spec/models/client_costs_spec.rb +69 -0
- data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
- data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/client_digest_flow_spec.rb +63 -0
- data/spec/models/client_extra_in_spec.rb +57 -0
- data/spec/models/client_extra_limit_spec.rb +57 -0
- data/spec/models/client_extra_rename_spec.rb +57 -0
- data/spec/models/client_extra_sort_spec.rb +75 -0
- data/spec/models/client_field_spec.rb +63 -0
- data/spec/models/client_job_status_spec.rb +117 -0
- data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
- data/spec/models/client_query_result_metadata_spec.rb +159 -0
- data/spec/models/client_repository_spec.rb +69 -0
- data/spec/models/client_spent_spec.rb +69 -0
- data/spec/models/client_system_definition_create_response_spec.rb +63 -0
- data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
- data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
- data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
- data/spec/models/client_top_value_spec.rb +57 -0
- data/spec/models/common_count_as_resource_spec.rb +57 -0
- data/spec/models/common_count_response_spec.rb +63 -0
- data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
- data/spec/models/custom_type1255839303_spec.rb +63 -0
- data/spec/models/custom_type3191042536_spec.rb +63 -0
- data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
- data/spec/models/definitions_definition_ext_spec.rb +75 -0
- data/spec/models/definitions_definition_external_response_spec.rb +63 -0
- data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
- data/spec/models/definitions_definition_import_response_spec.rb +63 -0
- data/spec/models/definitions_flight_control_request_spec.rb +69 -0
- data/spec/models/definitions_parameter_property_spec.rb +51 -0
- data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
- data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
- data/spec/models/detections_api_combined_detections_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
- data/spec/models/detections_api_detections_count_spec.rb +63 -0
- data/spec/models/detects_alert_spec.rb +42 -0
- data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
- data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
- data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
- data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
- data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
- data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
- data/spec/models/detectsapi_response_fields_spec.rb +57 -0
- data/spec/models/device_device_spec.rb +12 -0
- data/spec/models/device_mapped_device_policies_spec.rb +6 -0
- data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
- data/spec/models/domain_actor_document_spec.rb +162 -0
- data/spec/models/domain_actor_entity_spec.rb +63 -0
- data/spec/models/domain_actor_news_document_spec.rb +69 -0
- data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
- data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
- data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
- data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
- data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
- data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
- data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
- data/spec/models/domain_attachment_spec.rb +87 -0
- data/spec/models/domain_aws_account_input_spec.rb +81 -0
- data/spec/models/domain_aws_account_v2_spec.rb +6 -0
- data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
- data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
- data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_breached_item_v1_spec.rb +18 -0
- data/spec/models/domain_card_spec.rb +87 -0
- data/spec/models/domain_cid_group_spec.rb +12 -0
- data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
- data/spec/models/domain_cloud_scope_spec.rb +6 -0
- data/spec/models/domain_credentials_spec.rb +13 -1
- data/spec/models/domain_device_policy_spec.rb +51 -0
- data/spec/models/domain_device_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +36 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
- data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
- data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
- data/spec/models/domain_file_count_v2_spec.rb +75 -0
- data/spec/models/domain_fragment_info_spec.rb +87 -0
- data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
- data/spec/models/domain_host_spec.rb +123 -0
- data/spec/models/domain_incident_spec.rb +0 -6
- data/spec/models/domain_ioc_spec.rb +261 -0
- data/spec/models/domain_item_details_v1_spec.rb +207 -0
- data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
- data/spec/models/domain_marketplace_product_spec.rb +87 -0
- data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
- data/spec/models/domain_meta_info_spec.rb +25 -1
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_v1_spec.rb +6 -0
- data/spec/models/domain_policy_info_spec.rb +12 -0
- data/spec/models/domain_report_malware_spec.rb +63 -0
- data/spec/models/domain_rule_spec.rb +7 -13
- data/spec/models/domain_scan_profile_spec.rb +6 -0
- data/spec/models/domain_scan_spec.rb +42 -0
- data/spec/models/domain_scan_v2_spec.rb +273 -0
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
- data/spec/models/domain_telegram_info_spec.rb +63 -0
- data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
- data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
- data/spec/models/domain_threat_entity_spec.rb +51 -0
- data/spec/models/domain_user_spec.rb +1 -13
- data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
- data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
- data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
- data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
- data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
- data/spec/models/executions_activity_execution_result_spec.rb +117 -0
- data/spec/models/executions_ancestor_execution_spec.rb +63 -0
- data/spec/models/executions_child_execution_result_spec.rb +75 -0
- data/spec/models/executions_execution_result_spec.rb +111 -0
- data/spec/models/executions_iterations_spec.rb +81 -0
- data/spec/models/executions_loop_result_spec.rb +105 -0
- data/spec/models/executions_reference_link_spec.rb +57 -0
- data/spec/models/executions_trigger_result_spec.rb +69 -0
- data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
- data/spec/models/falconx_submission_v1_spec.rb +24 -0
- data/spec/models/flows_spec.rb +63 -0
- data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
- data/spec/models/graph_condition_spec.rb +63 -0
- data/spec/models/graph_configured_activity_spec.rb +81 -0
- data/spec/models/graph_configured_trigger_spec.rb +87 -0
- data/spec/models/graph_definition_model_spec.rb +87 -0
- data/spec/models/graph_end_spec.rb +57 -0
- data/spec/models/graph_flow_spec.rb +69 -0
- data/spec/models/graph_gateway_spec.rb +63 -0
- data/spec/models/graph_multi_spec.rb +69 -0
- data/spec/models/graph_sub_model_spec.rb +81 -0
- data/spec/models/graph_timer_event_definition_spec.rb +75 -0
- data/spec/models/graph_validation_error_spec.rb +87 -0
- data/spec/models/images_api_combined_image_export_spec.rb +63 -0
- data/spec/models/images_api_customer_and_image_spec.rb +63 -0
- data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
- data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
- data/spec/models/images_api_image_count_spec.rb +63 -0
- data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
- data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
- data/spec/models/internal_sensor_status_spec.rb +48 -0
- data/spec/models/jsonschema_authorization_spec.rb +69 -0
- data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
- data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
- data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
- data/spec/models/jsonschema_permission_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +99 -0
- data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
- data/spec/models/jsonschema_schema_spec.rb +57 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
- data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
- data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_info_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
- data/spec/models/model_user_input_read_response_spec.rb +63 -0
- data/spec/models/model_user_input_update_request_spec.rb +57 -0
- data/spec/models/model_user_input_view_model_spec.rb +105 -0
- data/spec/models/models_account_entities_input_spec.rb +51 -0
- data/spec/models/models_account_status_response_spec.rb +63 -0
- data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
- data/spec/models/models_api_assessment_detections_spec.rb +153 -0
- data/spec/models/models_api_combined_detections_spec.rb +117 -0
- data/spec/models/models_api_container_alert_spec.rb +93 -0
- data/spec/models/models_api_customer_and_image_spec.rb +147 -0
- data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
- data/spec/models/models_api_detection_count_spec.rb +51 -0
- data/spec/models/models_api_drift_indicators_spec.rb +195 -0
- data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
- data/spec/models/models_api_filter_response_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_spec.rb +81 -0
- data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
- data/spec/models/models_api_image_combined_export_spec.rb +165 -0
- data/spec/models/models_api_image_count_spec.rb +51 -0
- data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
- data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
- data/spec/models/models_api_package_combined_spec.rb +93 -0
- data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
- data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
- data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
- data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
- data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
- data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
- data/spec/models/models_api_policy_group_data_spec.rb +51 -0
- data/spec/models/models_api_policy_group_spec.rb +87 -0
- data/spec/models/models_api_policy_rule_spec.rb +57 -0
- data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
- data/spec/models/models_api_precedence_request_spec.rb +51 -0
- data/spec/models/models_api_runtime_detection_spec.rb +369 -0
- data/spec/models/models_api_unidentified_container_spec.rb +171 -0
- data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
- data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
- data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
- data/spec/models/models_api_vuln_count_spec.rb +51 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
- data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
- data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
- data/spec/models/models_cluster_entity_response_spec.rb +63 -0
- data/spec/models/models_cluster_spec.rb +177 -0
- data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
- data/spec/models/models_container_coverage_spec.rb +57 -0
- data/spec/models/models_container_entity_response_spec.rb +63 -0
- data/spec/models/models_container_image_spec.rb +141 -0
- data/spec/models/models_container_information_spec.rb +57 -0
- data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
- data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
- data/spec/models/models_container_spec.rb +429 -0
- data/spec/models/models_create_image_group_request_spec.rb +69 -0
- data/spec/models/models_create_policy_request_spec.rb +57 -0
- data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
- data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
- data/spec/models/models_deployment_entity_response_spec.rb +63 -0
- data/spec/models/models_deployment_spec.rb +99 -0
- data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
- data/spec/models/models_exclusion_condition_spec.rb +87 -0
- data/spec/models/models_image_information_spec.rb +63 -0
- data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
- data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
- data/spec/models/models_light_weight_config_spec.rb +93 -0
- data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
- data/spec/models/models_node_spec.rb +255 -0
- data/spec/models/models_package_name_version_type_spec.rb +75 -0
- data/spec/models/models_patch_image_group_request_spec.rb +63 -0
- data/spec/models/models_patch_policy_request_spec.rb +69 -0
- data/spec/models/models_pod_entity_response_spec.rb +63 -0
- data/spec/models/models_pod_spec.rb +297 -0
- data/spec/models/models_policy_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
- data/spec/models/models_request_api_policy_data_spec.rb +51 -0
- data/spec/models/models_snapshot_account_status_spec.rb +93 -0
- data/spec/models/models_update_exclusions_request_spec.rb +51 -0
- data/spec/models/msa_aggregation_result_spec.rb +6 -0
- data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_spec.rb +63 -0
- data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
- data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
- data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
- data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
- data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
- data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
- data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
- data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
- data/spec/models/policies_assigned_host_group_spec.rb +57 -0
- data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
- data/spec/models/policies_create_request_spec.rb +63 -0
- data/spec/models/policies_delete_response_spec.rb +63 -0
- data/spec/models/policies_policy_spec.rb +117 -0
- data/spec/models/policies_precedence_response_spec.rb +63 -0
- data/spec/models/policies_response_spec.rb +63 -0
- data/spec/models/policies_update_request_spec.rb +69 -0
- data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
- data/spec/models/registration_aws_account_patch_spec.rb +6 -0
- data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
- data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
- data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
- data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
- data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
- data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
- data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
- data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
- data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
- data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
- data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
- data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
- data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
- data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/registration_next_token_pagination_spec.rb +69 -0
- data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
- data/spec/models/rulegroups_create_request_spec.rb +63 -0
- data/spec/models/rulegroups_delete_response_spec.rb +63 -0
- data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
- data/spec/models/rulegroups_response_spec.rb +63 -0
- data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
- data/spec/models/rulegroups_rule_spec.rb +255 -0
- data/spec/models/rulegroups_rules_response_spec.rb +63 -0
- data/spec/models/rulegroups_update_request_spec.rb +63 -0
- data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
- data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
- data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
- data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
- data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
- data/spec/models/scheduledexclusions_response_spec.rb +63 -0
- data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
- data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
- data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
- data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
- data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
- data/spec/models/v2_activity_parameters_spec.rb +51 -0
- data/spec/models/v2_activity_properties_spec.rb +51 -0
- data/spec/models/v2_activity_spec.rb +63 -0
- data/spec/models/v2_condition_parameters_spec.rb +51 -0
- data/spec/models/v2_condition_spec.rb +75 -0
- data/spec/models/v2_definition_spec.rb +123 -0
- data/spec/models/v2_for_loop_spec.rb +57 -0
- data/spec/models/v2_loop_spec.rb +75 -0
- data/spec/models/v2_parameters_spec.rb +69 -0
- data/spec/models/v2_trigger_spec.rb +75 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
- metadata +1935 -948
@@ -0,0 +1,1037 @@
|
|
1
|
+
=begin
|
2
|
+
Crimson Falcon - Ruby Client SDK
|
3
|
+
|
4
|
+
Code auto-generated by OpenAPI Generator; DO NOT EDIT.
|
5
|
+
|
6
|
+
MIT License
|
7
|
+
|
8
|
+
Copyright (c) 2023 Crowdstrike
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
12
|
+
in the Software without restriction, including without limitation the rights
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
15
|
+
furnished to do so, subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
18
|
+
copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
SOFTWARE.
|
27
|
+
|
28
|
+
=end
|
29
|
+
|
30
|
+
require 'cgi'
|
31
|
+
|
32
|
+
module Falcon
|
33
|
+
class WorkflowsApi
|
34
|
+
attr_accessor :api_client
|
35
|
+
|
36
|
+
def initialize(api_client = ApiClient.default)
|
37
|
+
@api_client = api_client
|
38
|
+
end
|
39
|
+
# Search workflow definitions based on the provided filter
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :filter FQL query specifying filter parameters.
|
42
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
43
|
+
# @option opts [Integer] :limit Maximum number of records to return.
|
44
|
+
# @option opts [String] :sort Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
|
45
|
+
# @return [DefinitionsDefinitionExternalResponse]
|
46
|
+
def workflow_definitions_combined(opts = {})
|
47
|
+
data, _status_code, _headers = workflow_definitions_combined_with_http_info(opts)
|
48
|
+
data
|
49
|
+
end
|
50
|
+
|
51
|
+
# Search workflow definitions based on the provided filter
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [String] :filter FQL query specifying filter parameters.
|
54
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
55
|
+
# @option opts [Integer] :limit Maximum number of records to return.
|
56
|
+
# @option opts [String] :sort Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
|
57
|
+
# @return [Array<(DefinitionsDefinitionExternalResponse, Integer, Hash)>] DefinitionsDefinitionExternalResponse data, response status code and response headers
|
58
|
+
def workflow_definitions_combined_with_http_info(opts = {})
|
59
|
+
if @api_client.config.debugging
|
60
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_definitions_combined ...'
|
61
|
+
end
|
62
|
+
pattern = Regexp.new(/^\w+(\.asc|\.desc)?(,\w+(\.asc|\.desc)?)*$/)
|
63
|
+
if @api_client.config.client_side_validation && !opts[:'sort'].nil? && opts[:'sort'] !~ pattern
|
64
|
+
fail ArgumentError, "invalid value for 'opts[:\"sort\"]' when calling WorkflowsApi.workflow_definitions_combined, must conform to the pattern #{pattern}."
|
65
|
+
end
|
66
|
+
|
67
|
+
# resource path
|
68
|
+
local_var_path = '/workflows/combined/definitions/v1'
|
69
|
+
|
70
|
+
# query parameters
|
71
|
+
query_params = opts[:query_params] || {}
|
72
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
73
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
74
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
75
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
76
|
+
|
77
|
+
# header parameters
|
78
|
+
header_params = opts[:header_params] || {}
|
79
|
+
# HTTP header 'Accept' (if needed)
|
80
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = opts[:form_params] || {}
|
84
|
+
|
85
|
+
# http body (model)
|
86
|
+
post_body = opts[:debug_body]
|
87
|
+
|
88
|
+
# return_type
|
89
|
+
return_type = opts[:debug_return_type] || 'DefinitionsDefinitionExternalResponse'
|
90
|
+
|
91
|
+
# auth_names
|
92
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
93
|
+
|
94
|
+
new_options = opts.merge(
|
95
|
+
:operation => :"WorkflowsApi.workflow_definitions_combined",
|
96
|
+
:header_params => header_params,
|
97
|
+
:query_params => query_params,
|
98
|
+
:form_params => form_params,
|
99
|
+
:body => post_body,
|
100
|
+
:auth_names => auth_names,
|
101
|
+
:return_type => return_type
|
102
|
+
)
|
103
|
+
|
104
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
105
|
+
if @api_client.config.debugging
|
106
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_definitions_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
107
|
+
end
|
108
|
+
return data, status_code, headers
|
109
|
+
end
|
110
|
+
|
111
|
+
# Creates a workflow definition based on the provided model
|
112
|
+
# @param body [ModelsDefinitionCreateRequestV2]
|
113
|
+
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
115
|
+
# @return [ApiResourceIDsResponse]
|
116
|
+
def workflow_definitions_create(body, opts = {})
|
117
|
+
data, _status_code, _headers = workflow_definitions_create_with_http_info(body, opts)
|
118
|
+
data
|
119
|
+
end
|
120
|
+
|
121
|
+
# Creates a workflow definition based on the provided model
|
122
|
+
# @param body [ModelsDefinitionCreateRequestV2]
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
125
|
+
# @return [Array<(ApiResourceIDsResponse, Integer, Hash)>] ApiResourceIDsResponse data, response status code and response headers
|
126
|
+
def workflow_definitions_create_with_http_info(body, opts = {})
|
127
|
+
if @api_client.config.debugging
|
128
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_definitions_create ...'
|
129
|
+
end
|
130
|
+
# verify the required parameter 'body' is set
|
131
|
+
if @api_client.config.client_side_validation && body.nil?
|
132
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_definitions_create"
|
133
|
+
end
|
134
|
+
# resource path
|
135
|
+
local_var_path = '/workflows/entities/definitions/v1'
|
136
|
+
|
137
|
+
# query parameters
|
138
|
+
query_params = opts[:query_params] || {}
|
139
|
+
query_params[:'validate_only'] = opts[:'validate_only'] if !opts[:'validate_only'].nil?
|
140
|
+
|
141
|
+
# header parameters
|
142
|
+
header_params = opts[:header_params] || {}
|
143
|
+
# HTTP header 'Accept' (if needed)
|
144
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
145
|
+
# HTTP header 'Content-Type'
|
146
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/yaml'])
|
147
|
+
if !content_type.nil?
|
148
|
+
header_params['Content-Type'] = content_type
|
149
|
+
end
|
150
|
+
|
151
|
+
# form parameters
|
152
|
+
form_params = opts[:form_params] || {}
|
153
|
+
|
154
|
+
# http body (model)
|
155
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
156
|
+
|
157
|
+
# return_type
|
158
|
+
return_type = opts[:debug_return_type] || 'ApiResourceIDsResponse'
|
159
|
+
|
160
|
+
# auth_names
|
161
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
162
|
+
|
163
|
+
new_options = opts.merge(
|
164
|
+
:operation => :"WorkflowsApi.workflow_definitions_create",
|
165
|
+
:header_params => header_params,
|
166
|
+
:query_params => query_params,
|
167
|
+
:form_params => form_params,
|
168
|
+
:body => post_body,
|
169
|
+
:auth_names => auth_names,
|
170
|
+
:return_type => return_type
|
171
|
+
)
|
172
|
+
|
173
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
174
|
+
if @api_client.config.debugging
|
175
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_definitions_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
176
|
+
end
|
177
|
+
return data, status_code, headers
|
178
|
+
end
|
179
|
+
|
180
|
+
# Exports a workflow definition for the given definition ID
|
181
|
+
# @param id [String] ID of workflow definitions to return details for
|
182
|
+
# @param [Hash] opts the optional parameters
|
183
|
+
# @return [Array<Integer>]
|
184
|
+
def workflow_definitions_export(id, opts = {})
|
185
|
+
data, _status_code, _headers = workflow_definitions_export_with_http_info(id, opts)
|
186
|
+
data
|
187
|
+
end
|
188
|
+
|
189
|
+
# Exports a workflow definition for the given definition ID
|
190
|
+
# @param id [String] ID of workflow definitions to return details for
|
191
|
+
# @param [Hash] opts the optional parameters
|
192
|
+
# @return [Array<(Array<Integer>, Integer, Hash)>] Array<Integer> data, response status code and response headers
|
193
|
+
def workflow_definitions_export_with_http_info(id, opts = {})
|
194
|
+
if @api_client.config.debugging
|
195
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_definitions_export ...'
|
196
|
+
end
|
197
|
+
# verify the required parameter 'id' is set
|
198
|
+
if @api_client.config.client_side_validation && id.nil?
|
199
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling WorkflowsApi.workflow_definitions_export"
|
200
|
+
end
|
201
|
+
if @api_client.config.client_side_validation && id.to_s.length > 40
|
202
|
+
fail ArgumentError, 'invalid value for "id" when calling WorkflowsApi.workflow_definitions_export, the character length must be smaller than or equal to 40.'
|
203
|
+
end
|
204
|
+
|
205
|
+
if @api_client.config.client_side_validation && id.to_s.length < 32
|
206
|
+
fail ArgumentError, 'invalid value for "id" when calling WorkflowsApi.workflow_definitions_export, the character length must be great than or equal to 32.'
|
207
|
+
end
|
208
|
+
|
209
|
+
# resource path
|
210
|
+
local_var_path = '/workflows/entities/definitions/export/v1'
|
211
|
+
|
212
|
+
# query parameters
|
213
|
+
query_params = opts[:query_params] || {}
|
214
|
+
query_params[:'id'] = id
|
215
|
+
|
216
|
+
# header parameters
|
217
|
+
header_params = opts[:header_params] || {}
|
218
|
+
# HTTP header 'Accept' (if needed)
|
219
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/yaml'])
|
220
|
+
|
221
|
+
# form parameters
|
222
|
+
form_params = opts[:form_params] || {}
|
223
|
+
|
224
|
+
# http body (model)
|
225
|
+
post_body = opts[:debug_body]
|
226
|
+
|
227
|
+
# return_type
|
228
|
+
return_type = opts[:debug_return_type] || 'Array<Integer>'
|
229
|
+
|
230
|
+
# auth_names
|
231
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
232
|
+
|
233
|
+
new_options = opts.merge(
|
234
|
+
:operation => :"WorkflowsApi.workflow_definitions_export",
|
235
|
+
:header_params => header_params,
|
236
|
+
:query_params => query_params,
|
237
|
+
:form_params => form_params,
|
238
|
+
:body => post_body,
|
239
|
+
:auth_names => auth_names,
|
240
|
+
:return_type => return_type
|
241
|
+
)
|
242
|
+
|
243
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
244
|
+
if @api_client.config.debugging
|
245
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_definitions_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
246
|
+
end
|
247
|
+
return data, status_code, headers
|
248
|
+
end
|
249
|
+
|
250
|
+
# Imports a workflow definition based on the provided model
|
251
|
+
# @param data_file [File] A workflow definition in YAML format to import
|
252
|
+
# @param [Hash] opts the optional parameters
|
253
|
+
# @option opts [String] :name Workflow name to override
|
254
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
255
|
+
# @return [DefinitionsDefinitionImportResponse]
|
256
|
+
def workflow_definitions_import(data_file, opts = {})
|
257
|
+
data, _status_code, _headers = workflow_definitions_import_with_http_info(data_file, opts)
|
258
|
+
data
|
259
|
+
end
|
260
|
+
|
261
|
+
# Imports a workflow definition based on the provided model
|
262
|
+
# @param data_file [File] A workflow definition in YAML format to import
|
263
|
+
# @param [Hash] opts the optional parameters
|
264
|
+
# @option opts [String] :name Workflow name to override
|
265
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
266
|
+
# @return [Array<(DefinitionsDefinitionImportResponse, Integer, Hash)>] DefinitionsDefinitionImportResponse data, response status code and response headers
|
267
|
+
def workflow_definitions_import_with_http_info(data_file, opts = {})
|
268
|
+
if @api_client.config.debugging
|
269
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_definitions_import ...'
|
270
|
+
end
|
271
|
+
# verify the required parameter 'data_file' is set
|
272
|
+
if @api_client.config.client_side_validation && data_file.nil?
|
273
|
+
fail ArgumentError, "Missing the required parameter 'data_file' when calling WorkflowsApi.workflow_definitions_import"
|
274
|
+
end
|
275
|
+
# resource path
|
276
|
+
local_var_path = '/workflows/entities/definitions/import/v1'
|
277
|
+
|
278
|
+
# query parameters
|
279
|
+
query_params = opts[:query_params] || {}
|
280
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
281
|
+
query_params[:'validate_only'] = opts[:'validate_only'] if !opts[:'validate_only'].nil?
|
282
|
+
|
283
|
+
# header parameters
|
284
|
+
header_params = opts[:header_params] || {}
|
285
|
+
# HTTP header 'Accept' (if needed)
|
286
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
287
|
+
# HTTP header 'Content-Type'
|
288
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
289
|
+
if !content_type.nil?
|
290
|
+
header_params['Content-Type'] = content_type
|
291
|
+
end
|
292
|
+
|
293
|
+
# form parameters
|
294
|
+
form_params = opts[:form_params] || {}
|
295
|
+
form_params['data_file'] = data_file
|
296
|
+
|
297
|
+
# http body (model)
|
298
|
+
post_body = opts[:debug_body]
|
299
|
+
|
300
|
+
# return_type
|
301
|
+
return_type = opts[:debug_return_type] || 'DefinitionsDefinitionImportResponse'
|
302
|
+
|
303
|
+
# auth_names
|
304
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
305
|
+
|
306
|
+
new_options = opts.merge(
|
307
|
+
:operation => :"WorkflowsApi.workflow_definitions_import",
|
308
|
+
:header_params => header_params,
|
309
|
+
:query_params => query_params,
|
310
|
+
:form_params => form_params,
|
311
|
+
:body => post_body,
|
312
|
+
:auth_names => auth_names,
|
313
|
+
:return_type => return_type
|
314
|
+
)
|
315
|
+
|
316
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
317
|
+
if @api_client.config.debugging
|
318
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_definitions_import\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
319
|
+
end
|
320
|
+
return data, status_code, headers
|
321
|
+
end
|
322
|
+
|
323
|
+
# Updates a workflow definition based on the provided model
|
324
|
+
# @param body [ModelsDefinitionUpdateRequestV2]
|
325
|
+
# @param [Hash] opts the optional parameters
|
326
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
327
|
+
# @return [ApiResourceIDsResponse]
|
328
|
+
def workflow_definitions_update(body, opts = {})
|
329
|
+
data, _status_code, _headers = workflow_definitions_update_with_http_info(body, opts)
|
330
|
+
data
|
331
|
+
end
|
332
|
+
|
333
|
+
# Updates a workflow definition based on the provided model
|
334
|
+
# @param body [ModelsDefinitionUpdateRequestV2]
|
335
|
+
# @param [Hash] opts the optional parameters
|
336
|
+
# @option opts [Boolean] :validate_only When enabled, prevents saving workflow after validating (default to false)
|
337
|
+
# @return [Array<(ApiResourceIDsResponse, Integer, Hash)>] ApiResourceIDsResponse data, response status code and response headers
|
338
|
+
def workflow_definitions_update_with_http_info(body, opts = {})
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_definitions_update ...'
|
341
|
+
end
|
342
|
+
# verify the required parameter 'body' is set
|
343
|
+
if @api_client.config.client_side_validation && body.nil?
|
344
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_definitions_update"
|
345
|
+
end
|
346
|
+
# resource path
|
347
|
+
local_var_path = '/workflows/entities/definitions/v1'
|
348
|
+
|
349
|
+
# query parameters
|
350
|
+
query_params = opts[:query_params] || {}
|
351
|
+
query_params[:'validate_only'] = opts[:'validate_only'] if !opts[:'validate_only'].nil?
|
352
|
+
|
353
|
+
# header parameters
|
354
|
+
header_params = opts[:header_params] || {}
|
355
|
+
# HTTP header 'Accept' (if needed)
|
356
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
357
|
+
# HTTP header 'Content-Type'
|
358
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/yaml'])
|
359
|
+
if !content_type.nil?
|
360
|
+
header_params['Content-Type'] = content_type
|
361
|
+
end
|
362
|
+
|
363
|
+
# form parameters
|
364
|
+
form_params = opts[:form_params] || {}
|
365
|
+
|
366
|
+
# http body (model)
|
367
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
368
|
+
|
369
|
+
# return_type
|
370
|
+
return_type = opts[:debug_return_type] || 'ApiResourceIDsResponse'
|
371
|
+
|
372
|
+
# auth_names
|
373
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
374
|
+
|
375
|
+
new_options = opts.merge(
|
376
|
+
:operation => :"WorkflowsApi.workflow_definitions_update",
|
377
|
+
:header_params => header_params,
|
378
|
+
:query_params => query_params,
|
379
|
+
:form_params => form_params,
|
380
|
+
:body => post_body,
|
381
|
+
:auth_names => auth_names,
|
382
|
+
:return_type => return_type
|
383
|
+
)
|
384
|
+
|
385
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
386
|
+
if @api_client.config.debugging
|
387
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_definitions_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
388
|
+
end
|
389
|
+
return data, status_code, headers
|
390
|
+
end
|
391
|
+
|
392
|
+
# Executes an on-demand Workflow, the body is JSON used to trigger the execution, the response the execution ID(s)
|
393
|
+
# @param body [Object]
|
394
|
+
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :execution_cid CID(s) to execute on. This can be a child if this is a flight control enabled definition. If unset the definition CID is used.
|
396
|
+
# @option opts [Array<String>] :definition_id Definition ID to execute, either a name or an ID can be specified.
|
397
|
+
# @option opts [String] :name Workflow name to execute, either a name or an ID can be specified.
|
398
|
+
# @option opts [String] :key Key used to help deduplicate executions, if unset a new UUID is used
|
399
|
+
# @option opts [Integer] :depth Used to record the execution depth to help limit execution loops when a workflow triggers another. The maximum depth is 4.
|
400
|
+
# @option opts [String] :source_event_url Used to record a URL to the source that led to triggering this workflow
|
401
|
+
# @return [ApiResourceIDsResponse]
|
402
|
+
def workflow_execute(body, opts = {})
|
403
|
+
data, _status_code, _headers = workflow_execute_with_http_info(body, opts)
|
404
|
+
data
|
405
|
+
end
|
406
|
+
|
407
|
+
# Executes an on-demand Workflow, the body is JSON used to trigger the execution, the response the execution ID(s)
|
408
|
+
# @param body [Object]
|
409
|
+
# @param [Hash] opts the optional parameters
|
410
|
+
# @option opts [Array<String>] :execution_cid CID(s) to execute on. This can be a child if this is a flight control enabled definition. If unset the definition CID is used.
|
411
|
+
# @option opts [Array<String>] :definition_id Definition ID to execute, either a name or an ID can be specified.
|
412
|
+
# @option opts [String] :name Workflow name to execute, either a name or an ID can be specified.
|
413
|
+
# @option opts [String] :key Key used to help deduplicate executions, if unset a new UUID is used
|
414
|
+
# @option opts [Integer] :depth Used to record the execution depth to help limit execution loops when a workflow triggers another. The maximum depth is 4.
|
415
|
+
# @option opts [String] :source_event_url Used to record a URL to the source that led to triggering this workflow
|
416
|
+
# @return [Array<(ApiResourceIDsResponse, Integer, Hash)>] ApiResourceIDsResponse data, response status code and response headers
|
417
|
+
def workflow_execute_with_http_info(body, opts = {})
|
418
|
+
if @api_client.config.debugging
|
419
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_execute ...'
|
420
|
+
end
|
421
|
+
# verify the required parameter 'body' is set
|
422
|
+
if @api_client.config.client_side_validation && body.nil?
|
423
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_execute"
|
424
|
+
end
|
425
|
+
# resource path
|
426
|
+
local_var_path = '/workflows/entities/execute/v1'
|
427
|
+
|
428
|
+
# query parameters
|
429
|
+
query_params = opts[:query_params] || {}
|
430
|
+
query_params[:'execution_cid'] = @api_client.build_collection_param(opts[:'execution_cid'], :csv) if !opts[:'execution_cid'].nil?
|
431
|
+
query_params[:'definition_id'] = @api_client.build_collection_param(opts[:'definition_id'], :csv) if !opts[:'definition_id'].nil?
|
432
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
433
|
+
query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
|
434
|
+
query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
|
435
|
+
query_params[:'source_event_url'] = opts[:'source_event_url'] if !opts[:'source_event_url'].nil?
|
436
|
+
|
437
|
+
# header parameters
|
438
|
+
header_params = opts[:header_params] || {}
|
439
|
+
# HTTP header 'Accept' (if needed)
|
440
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
441
|
+
# HTTP header 'Content-Type'
|
442
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
443
|
+
if !content_type.nil?
|
444
|
+
header_params['Content-Type'] = content_type
|
445
|
+
end
|
446
|
+
|
447
|
+
# form parameters
|
448
|
+
form_params = opts[:form_params] || {}
|
449
|
+
|
450
|
+
# http body (model)
|
451
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
452
|
+
|
453
|
+
# return_type
|
454
|
+
return_type = opts[:debug_return_type] || 'ApiResourceIDsResponse'
|
455
|
+
|
456
|
+
# auth_names
|
457
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
458
|
+
|
459
|
+
new_options = opts.merge(
|
460
|
+
:operation => :"WorkflowsApi.workflow_execute",
|
461
|
+
:header_params => header_params,
|
462
|
+
:query_params => query_params,
|
463
|
+
:form_params => form_params,
|
464
|
+
:body => post_body,
|
465
|
+
:auth_names => auth_names,
|
466
|
+
:return_type => return_type
|
467
|
+
)
|
468
|
+
|
469
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
470
|
+
if @api_client.config.debugging
|
471
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_execute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
472
|
+
end
|
473
|
+
return data, status_code, headers
|
474
|
+
end
|
475
|
+
|
476
|
+
# Get execution result of a given execution
|
477
|
+
# @param ids [Array<String>] workflow execution id to return results for.
|
478
|
+
# @param [Hash] opts the optional parameters
|
479
|
+
# @return [ApiExecutionResultsResponse]
|
480
|
+
def workflow_execution_results(ids, opts = {})
|
481
|
+
data, _status_code, _headers = workflow_execution_results_with_http_info(ids, opts)
|
482
|
+
data
|
483
|
+
end
|
484
|
+
|
485
|
+
# Get execution result of a given execution
|
486
|
+
# @param ids [Array<String>] workflow execution id to return results for.
|
487
|
+
# @param [Hash] opts the optional parameters
|
488
|
+
# @return [Array<(ApiExecutionResultsResponse, Integer, Hash)>] ApiExecutionResultsResponse data, response status code and response headers
|
489
|
+
def workflow_execution_results_with_http_info(ids, opts = {})
|
490
|
+
if @api_client.config.debugging
|
491
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_execution_results ...'
|
492
|
+
end
|
493
|
+
# verify the required parameter 'ids' is set
|
494
|
+
if @api_client.config.client_side_validation && ids.nil?
|
495
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling WorkflowsApi.workflow_execution_results"
|
496
|
+
end
|
497
|
+
if @api_client.config.client_side_validation && ids.length > 500
|
498
|
+
fail ArgumentError, 'invalid value for "ids" when calling WorkflowsApi.workflow_execution_results, number of items must be less than or equal to 500.'
|
499
|
+
end
|
500
|
+
|
501
|
+
if @api_client.config.client_side_validation && ids.length < 1
|
502
|
+
fail ArgumentError, 'invalid value for "ids" when calling WorkflowsApi.workflow_execution_results, number of items must be greater than or equal to 1.'
|
503
|
+
end
|
504
|
+
|
505
|
+
# resource path
|
506
|
+
local_var_path = '/workflows/entities/execution-results/v1'
|
507
|
+
|
508
|
+
# query parameters
|
509
|
+
query_params = opts[:query_params] || {}
|
510
|
+
query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
|
511
|
+
|
512
|
+
# header parameters
|
513
|
+
header_params = opts[:header_params] || {}
|
514
|
+
# HTTP header 'Accept' (if needed)
|
515
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
516
|
+
|
517
|
+
# form parameters
|
518
|
+
form_params = opts[:form_params] || {}
|
519
|
+
|
520
|
+
# http body (model)
|
521
|
+
post_body = opts[:debug_body]
|
522
|
+
|
523
|
+
# return_type
|
524
|
+
return_type = opts[:debug_return_type] || 'ApiExecutionResultsResponse'
|
525
|
+
|
526
|
+
# auth_names
|
527
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
528
|
+
|
529
|
+
new_options = opts.merge(
|
530
|
+
:operation => :"WorkflowsApi.workflow_execution_results",
|
531
|
+
:header_params => header_params,
|
532
|
+
:query_params => query_params,
|
533
|
+
:form_params => form_params,
|
534
|
+
:body => post_body,
|
535
|
+
:auth_names => auth_names,
|
536
|
+
:return_type => return_type
|
537
|
+
)
|
538
|
+
|
539
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
540
|
+
if @api_client.config.debugging
|
541
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_execution_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
542
|
+
end
|
543
|
+
return data, status_code, headers
|
544
|
+
end
|
545
|
+
|
546
|
+
# Allows a user to resume/retry a failed workflow execution.
|
547
|
+
# @param action_name [String] Specify one of these actions: - `resume`: resume/retry the workflow execution(s) specified in ids
|
548
|
+
# @param body [ClientActionRequest]
|
549
|
+
# @param [Hash] opts the optional parameters
|
550
|
+
# @return [DefinitionsDefinitionEntitiesResponse]
|
551
|
+
def workflow_executions_action(action_name, body, opts = {})
|
552
|
+
data, _status_code, _headers = workflow_executions_action_with_http_info(action_name, body, opts)
|
553
|
+
data
|
554
|
+
end
|
555
|
+
|
556
|
+
# Allows a user to resume/retry a failed workflow execution.
|
557
|
+
# @param action_name [String] Specify one of these actions: - `resume`: resume/retry the workflow execution(s) specified in ids
|
558
|
+
# @param body [ClientActionRequest]
|
559
|
+
# @param [Hash] opts the optional parameters
|
560
|
+
# @return [Array<(DefinitionsDefinitionEntitiesResponse, Integer, Hash)>] DefinitionsDefinitionEntitiesResponse data, response status code and response headers
|
561
|
+
def workflow_executions_action_with_http_info(action_name, body, opts = {})
|
562
|
+
if @api_client.config.debugging
|
563
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_executions_action ...'
|
564
|
+
end
|
565
|
+
# verify the required parameter 'action_name' is set
|
566
|
+
if @api_client.config.client_side_validation && action_name.nil?
|
567
|
+
fail ArgumentError, "Missing the required parameter 'action_name' when calling WorkflowsApi.workflow_executions_action"
|
568
|
+
end
|
569
|
+
# verify enum value
|
570
|
+
allowable_values = ["resume"]
|
571
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(action_name)
|
572
|
+
fail ArgumentError, "invalid value for \"action_name\", must be one of #{allowable_values}"
|
573
|
+
end
|
574
|
+
# verify the required parameter 'body' is set
|
575
|
+
if @api_client.config.client_side_validation && body.nil?
|
576
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_executions_action"
|
577
|
+
end
|
578
|
+
# resource path
|
579
|
+
local_var_path = '/workflows/entities/execution-actions/v1'
|
580
|
+
|
581
|
+
# query parameters
|
582
|
+
query_params = opts[:query_params] || {}
|
583
|
+
query_params[:'action_name'] = action_name
|
584
|
+
|
585
|
+
# header parameters
|
586
|
+
header_params = opts[:header_params] || {}
|
587
|
+
# HTTP header 'Accept' (if needed)
|
588
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
589
|
+
# HTTP header 'Content-Type'
|
590
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
591
|
+
if !content_type.nil?
|
592
|
+
header_params['Content-Type'] = content_type
|
593
|
+
end
|
594
|
+
|
595
|
+
# form parameters
|
596
|
+
form_params = opts[:form_params] || {}
|
597
|
+
|
598
|
+
# http body (model)
|
599
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
600
|
+
|
601
|
+
# return_type
|
602
|
+
return_type = opts[:debug_return_type] || 'DefinitionsDefinitionEntitiesResponse'
|
603
|
+
|
604
|
+
# auth_names
|
605
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
606
|
+
|
607
|
+
new_options = opts.merge(
|
608
|
+
:operation => :"WorkflowsApi.workflow_executions_action",
|
609
|
+
:header_params => header_params,
|
610
|
+
:query_params => query_params,
|
611
|
+
:form_params => form_params,
|
612
|
+
:body => post_body,
|
613
|
+
:auth_names => auth_names,
|
614
|
+
:return_type => return_type
|
615
|
+
)
|
616
|
+
|
617
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
618
|
+
if @api_client.config.debugging
|
619
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_executions_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
620
|
+
end
|
621
|
+
return data, status_code, headers
|
622
|
+
end
|
623
|
+
|
624
|
+
# Search workflow executions based on the provided filter
|
625
|
+
# @param [Hash] opts the optional parameters
|
626
|
+
# @option opts [String] :filter FQL query specifying filter parameters.
|
627
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
628
|
+
# @option opts [Integer] :limit Maximum number of records to return.
|
629
|
+
# @option opts [String] :sort Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
|
630
|
+
# @return [ApiExecutionResultsResponse]
|
631
|
+
def workflow_executions_combined(opts = {})
|
632
|
+
data, _status_code, _headers = workflow_executions_combined_with_http_info(opts)
|
633
|
+
data
|
634
|
+
end
|
635
|
+
|
636
|
+
# Search workflow executions based on the provided filter
|
637
|
+
# @param [Hash] opts the optional parameters
|
638
|
+
# @option opts [String] :filter FQL query specifying filter parameters.
|
639
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
640
|
+
# @option opts [Integer] :limit Maximum number of records to return.
|
641
|
+
# @option opts [String] :sort Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
|
642
|
+
# @return [Array<(ApiExecutionResultsResponse, Integer, Hash)>] ApiExecutionResultsResponse data, response status code and response headers
|
643
|
+
def workflow_executions_combined_with_http_info(opts = {})
|
644
|
+
if @api_client.config.debugging
|
645
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_executions_combined ...'
|
646
|
+
end
|
647
|
+
pattern = Regexp.new(/^\w+(\.asc|\.desc)?(,\w+(\.asc|\.desc)?)*$/)
|
648
|
+
if @api_client.config.client_side_validation && !opts[:'sort'].nil? && opts[:'sort'] !~ pattern
|
649
|
+
fail ArgumentError, "invalid value for 'opts[:\"sort\"]' when calling WorkflowsApi.workflow_executions_combined, must conform to the pattern #{pattern}."
|
650
|
+
end
|
651
|
+
|
652
|
+
# resource path
|
653
|
+
local_var_path = '/workflows/combined/executions/v1'
|
654
|
+
|
655
|
+
# query parameters
|
656
|
+
query_params = opts[:query_params] || {}
|
657
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
658
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
659
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
660
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
661
|
+
|
662
|
+
# header parameters
|
663
|
+
header_params = opts[:header_params] || {}
|
664
|
+
# HTTP header 'Accept' (if needed)
|
665
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
666
|
+
|
667
|
+
# form parameters
|
668
|
+
form_params = opts[:form_params] || {}
|
669
|
+
|
670
|
+
# http body (model)
|
671
|
+
post_body = opts[:debug_body]
|
672
|
+
|
673
|
+
# return_type
|
674
|
+
return_type = opts[:debug_return_type] || 'ApiExecutionResultsResponse'
|
675
|
+
|
676
|
+
# auth_names
|
677
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
678
|
+
|
679
|
+
new_options = opts.merge(
|
680
|
+
:operation => :"WorkflowsApi.workflow_executions_combined",
|
681
|
+
:header_params => header_params,
|
682
|
+
:query_params => query_params,
|
683
|
+
:form_params => form_params,
|
684
|
+
:body => post_body,
|
685
|
+
:auth_names => auth_names,
|
686
|
+
:return_type => return_type
|
687
|
+
)
|
688
|
+
|
689
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
690
|
+
if @api_client.config.debugging
|
691
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_executions_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
692
|
+
end
|
693
|
+
return data, status_code, headers
|
694
|
+
end
|
695
|
+
|
696
|
+
# Gets one or more specific human inputs by their IDs.
|
697
|
+
# @param ids [Array<String>] IDs of human inputs to read
|
698
|
+
# @param [Hash] opts the optional parameters
|
699
|
+
# @return [ModelUserInputReadResponse]
|
700
|
+
def workflow_get_human_input_v1(ids, opts = {})
|
701
|
+
data, _status_code, _headers = workflow_get_human_input_v1_with_http_info(ids, opts)
|
702
|
+
data
|
703
|
+
end
|
704
|
+
|
705
|
+
# Gets one or more specific human inputs by their IDs.
|
706
|
+
# @param ids [Array<String>] IDs of human inputs to read
|
707
|
+
# @param [Hash] opts the optional parameters
|
708
|
+
# @return [Array<(ModelUserInputReadResponse, Integer, Hash)>] ModelUserInputReadResponse data, response status code and response headers
|
709
|
+
def workflow_get_human_input_v1_with_http_info(ids, opts = {})
|
710
|
+
if @api_client.config.debugging
|
711
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_get_human_input_v1 ...'
|
712
|
+
end
|
713
|
+
# verify the required parameter 'ids' is set
|
714
|
+
if @api_client.config.client_side_validation && ids.nil?
|
715
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling WorkflowsApi.workflow_get_human_input_v1"
|
716
|
+
end
|
717
|
+
# resource path
|
718
|
+
local_var_path = '/workflows/entities/human-inputs/v1'
|
719
|
+
|
720
|
+
# query parameters
|
721
|
+
query_params = opts[:query_params] || {}
|
722
|
+
query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
|
723
|
+
|
724
|
+
# header parameters
|
725
|
+
header_params = opts[:header_params] || {}
|
726
|
+
# HTTP header 'Accept' (if needed)
|
727
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
728
|
+
|
729
|
+
# form parameters
|
730
|
+
form_params = opts[:form_params] || {}
|
731
|
+
|
732
|
+
# http body (model)
|
733
|
+
post_body = opts[:debug_body]
|
734
|
+
|
735
|
+
# return_type
|
736
|
+
return_type = opts[:debug_return_type] || 'ModelUserInputReadResponse'
|
737
|
+
|
738
|
+
# auth_names
|
739
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
740
|
+
|
741
|
+
new_options = opts.merge(
|
742
|
+
:operation => :"WorkflowsApi.workflow_get_human_input_v1",
|
743
|
+
:header_params => header_params,
|
744
|
+
:query_params => query_params,
|
745
|
+
:form_params => form_params,
|
746
|
+
:body => post_body,
|
747
|
+
:auth_names => auth_names,
|
748
|
+
:return_type => return_type
|
749
|
+
)
|
750
|
+
|
751
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
752
|
+
if @api_client.config.debugging
|
753
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_get_human_input_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
754
|
+
end
|
755
|
+
return data, status_code, headers
|
756
|
+
end
|
757
|
+
|
758
|
+
# Deprovisions a system definition that was previously provisioned on the target CID
|
759
|
+
# @param body [ClientSystemDefinitionDeProvisionRequest]
|
760
|
+
# @param [Hash] opts the optional parameters
|
761
|
+
# @return [ClientSystemDefinitionCreateResponse]
|
762
|
+
def workflow_system_definitions_de_provision(body, opts = {})
|
763
|
+
data, _status_code, _headers = workflow_system_definitions_de_provision_with_http_info(body, opts)
|
764
|
+
data
|
765
|
+
end
|
766
|
+
|
767
|
+
# Deprovisions a system definition that was previously provisioned on the target CID
|
768
|
+
# @param body [ClientSystemDefinitionDeProvisionRequest]
|
769
|
+
# @param [Hash] opts the optional parameters
|
770
|
+
# @return [Array<(ClientSystemDefinitionCreateResponse, Integer, Hash)>] ClientSystemDefinitionCreateResponse data, response status code and response headers
|
771
|
+
def workflow_system_definitions_de_provision_with_http_info(body, opts = {})
|
772
|
+
if @api_client.config.debugging
|
773
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_system_definitions_de_provision ...'
|
774
|
+
end
|
775
|
+
# verify the required parameter 'body' is set
|
776
|
+
if @api_client.config.client_side_validation && body.nil?
|
777
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_system_definitions_de_provision"
|
778
|
+
end
|
779
|
+
# resource path
|
780
|
+
local_var_path = '/workflows/system-definitions/deprovision/v1'
|
781
|
+
|
782
|
+
# query parameters
|
783
|
+
query_params = opts[:query_params] || {}
|
784
|
+
|
785
|
+
# header parameters
|
786
|
+
header_params = opts[:header_params] || {}
|
787
|
+
# HTTP header 'Accept' (if needed)
|
788
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
789
|
+
# HTTP header 'Content-Type'
|
790
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
791
|
+
if !content_type.nil?
|
792
|
+
header_params['Content-Type'] = content_type
|
793
|
+
end
|
794
|
+
|
795
|
+
# form parameters
|
796
|
+
form_params = opts[:form_params] || {}
|
797
|
+
|
798
|
+
# http body (model)
|
799
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
800
|
+
|
801
|
+
# return_type
|
802
|
+
return_type = opts[:debug_return_type] || 'ClientSystemDefinitionCreateResponse'
|
803
|
+
|
804
|
+
# auth_names
|
805
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
806
|
+
|
807
|
+
new_options = opts.merge(
|
808
|
+
:operation => :"WorkflowsApi.workflow_system_definitions_de_provision",
|
809
|
+
:header_params => header_params,
|
810
|
+
:query_params => query_params,
|
811
|
+
:form_params => form_params,
|
812
|
+
:body => post_body,
|
813
|
+
:auth_names => auth_names,
|
814
|
+
:return_type => return_type
|
815
|
+
)
|
816
|
+
|
817
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
818
|
+
if @api_client.config.debugging
|
819
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_system_definitions_de_provision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
820
|
+
end
|
821
|
+
return data, status_code, headers
|
822
|
+
end
|
823
|
+
|
824
|
+
# Promotes a version of a system definition for a customer. The customer must already have been provisioned. This allows the caller to apply an updated template version to a specific cid and expects all parameters to be supplied. If the template supports multi-instance the customer scope definition ID must be supplied to determine which customer workflow should be updated.
|
825
|
+
# @param body [ClientSystemDefinitionPromoteRequest]
|
826
|
+
# @param [Hash] opts the optional parameters
|
827
|
+
# @return [ClientSystemDefinitionCreateResponse]
|
828
|
+
def workflow_system_definitions_promote(body, opts = {})
|
829
|
+
data, _status_code, _headers = workflow_system_definitions_promote_with_http_info(body, opts)
|
830
|
+
data
|
831
|
+
end
|
832
|
+
|
833
|
+
# Promotes a version of a system definition for a customer. The customer must already have been provisioned. This allows the caller to apply an updated template version to a specific cid and expects all parameters to be supplied. If the template supports multi-instance the customer scope definition ID must be supplied to determine which customer workflow should be updated.
|
834
|
+
# @param body [ClientSystemDefinitionPromoteRequest]
|
835
|
+
# @param [Hash] opts the optional parameters
|
836
|
+
# @return [Array<(ClientSystemDefinitionCreateResponse, Integer, Hash)>] ClientSystemDefinitionCreateResponse data, response status code and response headers
|
837
|
+
def workflow_system_definitions_promote_with_http_info(body, opts = {})
|
838
|
+
if @api_client.config.debugging
|
839
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_system_definitions_promote ...'
|
840
|
+
end
|
841
|
+
# verify the required parameter 'body' is set
|
842
|
+
if @api_client.config.client_side_validation && body.nil?
|
843
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_system_definitions_promote"
|
844
|
+
end
|
845
|
+
# resource path
|
846
|
+
local_var_path = '/workflows/system-definitions/promote/v1'
|
847
|
+
|
848
|
+
# query parameters
|
849
|
+
query_params = opts[:query_params] || {}
|
850
|
+
|
851
|
+
# header parameters
|
852
|
+
header_params = opts[:header_params] || {}
|
853
|
+
# HTTP header 'Accept' (if needed)
|
854
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
855
|
+
# HTTP header 'Content-Type'
|
856
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
857
|
+
if !content_type.nil?
|
858
|
+
header_params['Content-Type'] = content_type
|
859
|
+
end
|
860
|
+
|
861
|
+
# form parameters
|
862
|
+
form_params = opts[:form_params] || {}
|
863
|
+
|
864
|
+
# http body (model)
|
865
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
866
|
+
|
867
|
+
# return_type
|
868
|
+
return_type = opts[:debug_return_type] || 'ClientSystemDefinitionCreateResponse'
|
869
|
+
|
870
|
+
# auth_names
|
871
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
872
|
+
|
873
|
+
new_options = opts.merge(
|
874
|
+
:operation => :"WorkflowsApi.workflow_system_definitions_promote",
|
875
|
+
:header_params => header_params,
|
876
|
+
:query_params => query_params,
|
877
|
+
:form_params => form_params,
|
878
|
+
:body => post_body,
|
879
|
+
:auth_names => auth_names,
|
880
|
+
:return_type => return_type
|
881
|
+
)
|
882
|
+
|
883
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
884
|
+
if @api_client.config.debugging
|
885
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_system_definitions_promote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
886
|
+
end
|
887
|
+
return data, status_code, headers
|
888
|
+
end
|
889
|
+
|
890
|
+
# Provisions a system definition onto the target CID by using the template and provided parameters
|
891
|
+
# @param body [ClientSystemDefinitionProvisionRequest]
|
892
|
+
# @param [Hash] opts the optional parameters
|
893
|
+
# @return [ClientSystemDefinitionCreateResponse]
|
894
|
+
def workflow_system_definitions_provision(body, opts = {})
|
895
|
+
data, _status_code, _headers = workflow_system_definitions_provision_with_http_info(body, opts)
|
896
|
+
data
|
897
|
+
end
|
898
|
+
|
899
|
+
# Provisions a system definition onto the target CID by using the template and provided parameters
|
900
|
+
# @param body [ClientSystemDefinitionProvisionRequest]
|
901
|
+
# @param [Hash] opts the optional parameters
|
902
|
+
# @return [Array<(ClientSystemDefinitionCreateResponse, Integer, Hash)>] ClientSystemDefinitionCreateResponse data, response status code and response headers
|
903
|
+
def workflow_system_definitions_provision_with_http_info(body, opts = {})
|
904
|
+
if @api_client.config.debugging
|
905
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_system_definitions_provision ...'
|
906
|
+
end
|
907
|
+
# verify the required parameter 'body' is set
|
908
|
+
if @api_client.config.client_side_validation && body.nil?
|
909
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_system_definitions_provision"
|
910
|
+
end
|
911
|
+
# resource path
|
912
|
+
local_var_path = '/workflows/system-definitions/provision/v1'
|
913
|
+
|
914
|
+
# query parameters
|
915
|
+
query_params = opts[:query_params] || {}
|
916
|
+
|
917
|
+
# header parameters
|
918
|
+
header_params = opts[:header_params] || {}
|
919
|
+
# HTTP header 'Accept' (if needed)
|
920
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
921
|
+
# HTTP header 'Content-Type'
|
922
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
923
|
+
if !content_type.nil?
|
924
|
+
header_params['Content-Type'] = content_type
|
925
|
+
end
|
926
|
+
|
927
|
+
# form parameters
|
928
|
+
form_params = opts[:form_params] || {}
|
929
|
+
|
930
|
+
# http body (model)
|
931
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
932
|
+
|
933
|
+
# return_type
|
934
|
+
return_type = opts[:debug_return_type] || 'ClientSystemDefinitionCreateResponse'
|
935
|
+
|
936
|
+
# auth_names
|
937
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
938
|
+
|
939
|
+
new_options = opts.merge(
|
940
|
+
:operation => :"WorkflowsApi.workflow_system_definitions_provision",
|
941
|
+
:header_params => header_params,
|
942
|
+
:query_params => query_params,
|
943
|
+
:form_params => form_params,
|
944
|
+
:body => post_body,
|
945
|
+
:auth_names => auth_names,
|
946
|
+
:return_type => return_type
|
947
|
+
)
|
948
|
+
|
949
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
950
|
+
if @api_client.config.debugging
|
951
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_system_definitions_provision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
952
|
+
end
|
953
|
+
return data, status_code, headers
|
954
|
+
end
|
955
|
+
|
956
|
+
# Provides an input in response to a human input action. Depending on action configuration, one or more of Approve, Decline, and/or Escalate are permitted.
|
957
|
+
# @param id [String] ID of human input to provide an input to
|
958
|
+
# @param body [ModelUserInputUpdateRequest]
|
959
|
+
# @param [Hash] opts the optional parameters
|
960
|
+
# @return [ApiResourceIDsResponse]
|
961
|
+
def workflow_update_human_input_v1(id, body, opts = {})
|
962
|
+
data, _status_code, _headers = workflow_update_human_input_v1_with_http_info(id, body, opts)
|
963
|
+
data
|
964
|
+
end
|
965
|
+
|
966
|
+
# Provides an input in response to a human input action. Depending on action configuration, one or more of Approve, Decline, and/or Escalate are permitted.
|
967
|
+
# @param id [String] ID of human input to provide an input to
|
968
|
+
# @param body [ModelUserInputUpdateRequest]
|
969
|
+
# @param [Hash] opts the optional parameters
|
970
|
+
# @return [Array<(ApiResourceIDsResponse, Integer, Hash)>] ApiResourceIDsResponse data, response status code and response headers
|
971
|
+
def workflow_update_human_input_v1_with_http_info(id, body, opts = {})
|
972
|
+
if @api_client.config.debugging
|
973
|
+
@api_client.config.logger.debug 'Calling API: WorkflowsApi.workflow_update_human_input_v1 ...'
|
974
|
+
end
|
975
|
+
# verify the required parameter 'id' is set
|
976
|
+
if @api_client.config.client_side_validation && id.nil?
|
977
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling WorkflowsApi.workflow_update_human_input_v1"
|
978
|
+
end
|
979
|
+
if @api_client.config.client_side_validation && id.to_s.length > 32
|
980
|
+
fail ArgumentError, 'invalid value for "id" when calling WorkflowsApi.workflow_update_human_input_v1, the character length must be smaller than or equal to 32.'
|
981
|
+
end
|
982
|
+
|
983
|
+
if @api_client.config.client_side_validation && id.to_s.length < 32
|
984
|
+
fail ArgumentError, 'invalid value for "id" when calling WorkflowsApi.workflow_update_human_input_v1, the character length must be great than or equal to 32.'
|
985
|
+
end
|
986
|
+
|
987
|
+
# verify the required parameter 'body' is set
|
988
|
+
if @api_client.config.client_side_validation && body.nil?
|
989
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowsApi.workflow_update_human_input_v1"
|
990
|
+
end
|
991
|
+
# resource path
|
992
|
+
local_var_path = '/workflows/entities/human-inputs/v1'
|
993
|
+
|
994
|
+
# query parameters
|
995
|
+
query_params = opts[:query_params] || {}
|
996
|
+
query_params[:'id'] = id
|
997
|
+
|
998
|
+
# header parameters
|
999
|
+
header_params = opts[:header_params] || {}
|
1000
|
+
# HTTP header 'Accept' (if needed)
|
1001
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1002
|
+
# HTTP header 'Content-Type'
|
1003
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1004
|
+
if !content_type.nil?
|
1005
|
+
header_params['Content-Type'] = content_type
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# form parameters
|
1009
|
+
form_params = opts[:form_params] || {}
|
1010
|
+
|
1011
|
+
# http body (model)
|
1012
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1013
|
+
|
1014
|
+
# return_type
|
1015
|
+
return_type = opts[:debug_return_type] || 'ApiResourceIDsResponse'
|
1016
|
+
|
1017
|
+
# auth_names
|
1018
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1019
|
+
|
1020
|
+
new_options = opts.merge(
|
1021
|
+
:operation => :"WorkflowsApi.workflow_update_human_input_v1",
|
1022
|
+
:header_params => header_params,
|
1023
|
+
:query_params => query_params,
|
1024
|
+
:form_params => form_params,
|
1025
|
+
:body => post_body,
|
1026
|
+
:auth_names => auth_names,
|
1027
|
+
:return_type => return_type
|
1028
|
+
)
|
1029
|
+
|
1030
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1031
|
+
if @api_client.config.debugging
|
1032
|
+
@api_client.config.logger.debug "API called: WorkflowsApi#workflow_update_human_input_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1033
|
+
end
|
1034
|
+
return data, status_code, headers
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
end
|