crimson-falcon 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1156 -245
- data/lib/crimson-falcon/api/activity_monitor.rb +120 -0
- data/lib/crimson-falcon/api/alerts.rb +92 -4
- data/lib/crimson-falcon/api/api_integrations.rb +1 -1
- data/lib/crimson-falcon/api/aspm.rb +2272 -273
- data/lib/crimson-falcon/api/cao_hunting.rb +305 -0
- data/lib/crimson-falcon/api/cloud_aws_registration.rb +0 -85
- data/lib/crimson-falcon/api/cloud_azure_registration.rb +323 -5
- data/lib/crimson-falcon/api/cloud_oci_registration.rb +509 -0
- data/lib/crimson-falcon/api/cloud_security_assets.rb +93 -4
- data/lib/crimson-falcon/api/cloud_snapshots.rb +6 -6
- data/lib/crimson-falcon/api/{compliance_assessments.rb → container_image_compliance.rb} +56 -56
- data/lib/crimson-falcon/api/container_images.rb +20 -14
- data/lib/crimson-falcon/api/container_packages.rb +75 -6
- data/lib/crimson-falcon/api/container_vulnerabilities.rb +2 -2
- data/lib/crimson-falcon/api/content_update_policies.rb +90 -16
- data/lib/crimson-falcon/api/correlation_rules.rb +538 -3
- data/lib/crimson-falcon/api/cspg_iac.rb +3 -3
- data/lib/crimson-falcon/api/cspm_registration.rb +78 -134
- data/lib/crimson-falcon/api/custom_storage.rb +463 -0
- data/lib/crimson-falcon/api/d4c_registration.rb +40 -5
- data/lib/crimson-falcon/api/{handle.rb → default.rb} +14 -14
- data/lib/crimson-falcon/api/device_control_with_bluetooth.rb +420 -0
- data/lib/crimson-falcon/api/discover.rb +2 -66
- data/lib/crimson-falcon/api/execution.rb +122 -0
- data/lib/crimson-falcon/api/exposure_management.rb +133 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard.rb +71 -4
- data/lib/crimson-falcon/api/falcon_container_image.rb +121 -0
- data/lib/crimson-falcon/api/falconx_sandbox.rb +8 -8
- data/lib/crimson-falcon/api/foundry_logscale.rb +8 -8
- data/lib/crimson-falcon/api/host_migration.rb +6 -6
- data/lib/crimson-falcon/api/hosts.rb +148 -0
- data/lib/crimson-falcon/api/identity_protection.rb +2 -2
- data/lib/crimson-falcon/api/installation_tokens.rb +3 -3
- data/lib/crimson-falcon/api/installation_tokens_settings.rb +3 -3
- data/lib/crimson-falcon/api/integration_builder.rb +313 -0
- data/lib/crimson-falcon/api/intel.rb +83 -10
- data/lib/crimson-falcon/api/intelligence_feeds.rb +228 -0
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +77 -10
- data/lib/crimson-falcon/api/inventories.rb +186 -0
- data/lib/crimson-falcon/api/kubernetes_container_compliance.rb +653 -0
- data/lib/crimson-falcon/api/kubernetes_protection.rb +103 -30
- data/lib/crimson-falcon/api/lookup_files.rb +28 -0
- data/lib/crimson-falcon/api/message_center.rb +4 -70
- data/lib/crimson-falcon/api/{humio_auth_proxy.rb → ngsiem.rb} +74 -51
- data/lib/crimson-falcon/api/quarantine.rb +3 -3
- data/lib/crimson-falcon/api/quick_scan.rb +6 -6
- data/lib/crimson-falcon/api/quick_scan_pro.rb +2 -2
- data/lib/crimson-falcon/api/real_time_response_admin.rb +62 -0
- data/lib/crimson-falcon/api/release_notes.rb +81 -5
- data/lib/crimson-falcon/api/saa_s.rb +156 -0
- data/lib/crimson-falcon/api/security_check.rb +484 -0
- data/lib/crimson-falcon/api/{vulnerabilities.rb → serverless_vulnerabilities.rb} +4 -4
- data/lib/crimson-falcon/api/spotlight_vulnerabilities.rb +4 -4
- data/lib/crimson-falcon/api/system.rb +168 -0
- data/lib/crimson-falcon/api/tailored_intelligence.rb +373 -0
- data/lib/crimson-falcon/api/threatgraph.rb +4 -4
- data/lib/crimson-falcon/api/user_management.rb +175 -13
- data/lib/crimson-falcon/api/workflows.rb +72 -0
- data/lib/crimson-falcon/models/account_integration289680abbdb24ecc9e55e90a4c2f1770.rb +443 -0
- data/lib/crimson-falcon/models/activities_activity.rb +13 -1
- data/lib/crimson-falcon/models/activities_dependency.rb +285 -0
- data/lib/crimson-falcon/models/activity251e72f10e9424e568d72ab0351a6fb1b.rb +241 -0
- data/lib/crimson-falcon/models/affected_entity9f6cb0be3b91460090c751db2c883b7c.rb +392 -0
- data/lib/crimson-falcon/models/alert85f2306d175b4314b4d51d0096103dcc.rb +539 -0
- data/lib/crimson-falcon/models/api_aggregates_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_collection_metadata.rb +397 -0
- data/lib/crimson-falcon/models/api_create_rule_notification_config.rb +297 -0
- data/lib/crimson-falcon/models/api_create_rule_notifications.rb +264 -0
- data/lib/crimson-falcon/models/api_get_entities_rule_versions_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_indexed_fields.rb +267 -0
- data/lib/crimson-falcon/models/api_intelligence_query_aggregates_response.rb +266 -0
- data/lib/crimson-falcon/models/api_intelligence_query_entity.rb +516 -0
- data/lib/crimson-falcon/models/api_intelligence_query_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/api_job_link_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_meta_info.rb +1 -4
- data/lib/crimson-falcon/models/api_paging.rb +275 -0
- data/lib/crimson-falcon/models/api_patch_rule_notification_config_v1.rb +272 -0
- data/lib/crimson-falcon/models/api_patch_rule_notifications_v1.rb +254 -0
- data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +18 -4
- data/lib/crimson-falcon/models/api_query_event_distribution.rb +285 -0
- data/lib/crimson-falcon/models/api_query_job_around_input.rb +281 -0
- data/lib/crimson-falcon/models/api_query_job_input.rb +359 -0
- data/lib/crimson-falcon/models/api_query_job_response.rb +255 -0
- data/lib/crimson-falcon/models/api_query_jobs_results.rb +351 -0
- data/lib/crimson-falcon/models/api_query_metadata_json.rb +553 -0
- data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +37 -1
- data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +41 -1
- data/lib/crimson-falcon/models/api_rule_search_v1.rb +18 -4
- data/lib/crimson-falcon/models/api_rule_v1.rb +203 -132
- data/lib/crimson-falcon/models/{common_credentials.rb → api_rule_version_publish_request_v1.rb} +13 -13
- data/lib/crimson-falcon/models/{api_rule_operation_v1.rb → api_rule_version_report_request.rb} +30 -34
- data/lib/crimson-falcon/models/api_rule_version_sorted_search.rb +253 -0
- data/lib/crimson-falcon/models/api_schema_metadata.rb +366 -0
- data/lib/crimson-falcon/models/api_user_metadata.rb +266 -0
- data/lib/crimson-falcon/models/api_warning_json.rb +284 -0
- data/lib/crimson-falcon/models/api_workflow_metadata.rb +295 -0
- data/lib/crimson-falcon/models/aspm_inventory_data.rb +276 -0
- data/lib/crimson-falcon/models/assets_compliance_response.rb +261 -0
- data/lib/crimson-falcon/models/azure_additional_feature.rb +269 -0
- data/lib/crimson-falcon/models/{rest_azure_download_script_request_data.rb → azure_azure_download_script_request_data.rb} +3 -3
- data/lib/crimson-falcon/models/azure_azure_download_script_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/azure_azure_provision_get_account_script_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/azure_azure_registration_create_input.rb +497 -0
- data/lib/crimson-falcon/models/azure_azure_registration_create_request_ext_v1.rb +239 -0
- data/lib/crimson-falcon/models/azure_azure_registration_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/azure_azure_registration_update_input.rb +492 -0
- data/lib/crimson-falcon/models/azure_azure_registration_update_request_ext_v1.rb +239 -0
- data/lib/crimson-falcon/models/{rest_azure_script.rb → azure_azure_script.rb} +3 -3
- data/lib/crimson-falcon/models/{domain_azure_role_assignment.rb → azure_db_role_assignment.rb} +22 -4
- data/lib/crimson-falcon/models/azure_delete_registration_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/azure_deleted_registration.rb +383 -0
- data/lib/crimson-falcon/models/azure_deleted_subscription_info.rb +267 -0
- data/lib/crimson-falcon/models/azure_event_hub_settings.rb +295 -0
- data/lib/crimson-falcon/models/{domain_azure_resource_permission.rb → azure_resource_permission.rb} +3 -3
- data/lib/crimson-falcon/models/azure_tenant_registration.rb +578 -0
- data/lib/crimson-falcon/models/cdrioamanager_get_cloud_event_ids_response.rb +266 -0
- data/lib/crimson-falcon/models/common_count_as_resource.rb +18 -4
- data/lib/crimson-falcon/models/common_count_response.rb +20 -20
- data/lib/crimson-falcon/models/{domain_content_update_settings_v1.rb → content_update_content_update_settings_req_v1.rb} +4 -4
- data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +1 -1
- data/lib/crimson-falcon/models/content_update_policy_v1.rb +440 -0
- data/lib/crimson-falcon/models/content_update_resp_v1.rb +272 -0
- data/lib/crimson-falcon/models/content_update_ring_assignment_override_setting_v1.rb +239 -0
- data/lib/crimson-falcon/models/{domain_ring_assignment_settings_v1.rb → content_update_ring_assignment_settings_req_v1.rb} +19 -19
- data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +43 -1
- data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +1 -1
- data/lib/crimson-falcon/models/costs.rb +285 -0
- data/lib/crimson-falcon/models/criteria301f5eeae5ba41edb767b27e749f6375.rb +274 -0
- data/lib/crimson-falcon/models/custom_type1942251022.rb +271 -0
- data/lib/crimson-falcon/models/custom_type4161059146.rb +271 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto31852908d6f14d268312c3fcdb497315.rb +365 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto614da2e1369e44e596d2935db3da0365.rb +365 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto_cdc34dae7da648de941209e7e6a30770.rb +365 -0
- data/lib/crimson-falcon/models/dataclassifications_data_classification_finding.rb +267 -0
- data/lib/crimson-falcon/models/dataclassifications_response.rb +12 -1
- data/lib/crimson-falcon/models/day.rb +270 -0
- data/lib/crimson-falcon/models/detects_external_alert.rb +50 -1
- data/lib/crimson-falcon/models/detects_mitre_attack_mapping.rb +275 -0
- data/lib/crimson-falcon/models/device3550eb212db1414995c297cdbfe5cc16.rb +552 -0
- data/lib/crimson-falcon/models/device_control_req_update_default_settings_v1.rb +243 -0
- data/lib/crimson-falcon/models/device_control_resp_default_setting_v1.rb +268 -0
- data/lib/crimson-falcon/models/device_control_resp_update_default_settings_v1.rb +302 -0
- data/lib/crimson-falcon/models/device_device.rb +10 -1
- data/lib/crimson-falcon/models/device_device_policy.rb +10 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +46 -19
- data/lib/crimson-falcon/models/{releasenotes_entities_get_response_wrapper.rb → deviceapi_device_combined_response_swagger.rb} +8 -6
- data/lib/crimson-falcon/models/deviceapi_device_paging_v2.rb +289 -0
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +1 -1
- data/lib/crimson-falcon/models/deviceapi_mapped_device_policies_swagger.rb +459 -0
- data/lib/crimson-falcon/models/deviceapi_meta_info.rb +280 -0
- data/lib/crimson-falcon/models/devicecontent_content_category.rb +22 -4
- data/lib/crimson-falcon/models/devicecontent_state.rb +19 -1
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_class.rb +274 -0
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_custom_notifications.rb +234 -0
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_exception.rb +376 -0
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_exception_base.rb +331 -0
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_minor_class.rb +252 -0
- data/lib/crimson-falcon/models/devicecontrolapi_bluetooth_settings.rb +263 -0
- data/lib/crimson-falcon/models/devicecontrolapi_custom_notification.rb +255 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_create_policies_v1.rb +242 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_create_policy_v1.rb +317 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_base_v1_external.rb +278 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_bases_v1_external.rb +242 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_bluetooth_base_v1.rb +315 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_bluetooth_class_v1.rb +306 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_bluetooth_classes_v1.rb +276 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_bluetooth_minor_class_v1.rb +289 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_policies_classes_v1.rb +241 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_policy_classes_v1.rb +257 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_usb_base_v1.rb +331 -0
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_usb_base_v1_external.rb +309 -0
- data/lib/crimson-falcon/models/{domain_create_submission_v1_error_response.rb → devicecontrolapi_req_update_usb_class_v1.rb} +40 -54
- data/lib/crimson-falcon/models/devicecontrolapi_req_update_usb_classes_v1.rb +276 -0
- data/lib/crimson-falcon/models/devicecontrolapi_resp_msa_error_v1.rb +271 -0
- data/lib/crimson-falcon/models/devicecontrolapi_resp_msa_meta_v1.rb +276 -0
- data/lib/crimson-falcon/models/{domain_assessment_paging.rb → devicecontrolapi_resp_paging_details_v1.rb} +10 -14
- data/lib/crimson-falcon/models/devicecontrolapi_resp_policies_v2.rb +268 -0
- data/lib/crimson-falcon/models/{domain_content_update_policy_resp_v1.rb → devicecontrolapi_resp_policy_v2.rb} +67 -51
- data/lib/crimson-falcon/models/devicecontrolapi_resp_usb_class_settings_v2.rb +287 -0
- data/lib/crimson-falcon/models/devicecontrolapi_resp_usb_exception_v2.rb +404 -0
- data/lib/crimson-falcon/models/devicecontrolapi_resp_usb_settings_v2.rb +306 -0
- data/lib/crimson-falcon/models/devicecontrolapi_usb_custom_notification.rb +253 -0
- data/lib/crimson-falcon/models/devicecontrolapi_usb_custom_notifications.rb +243 -0
- data/lib/crimson-falcon/models/devicecontrolapi_usb_exception_base.rb +396 -0
- data/lib/crimson-falcon/models/digest_flow.rb +270 -0
- data/lib/crimson-falcon/models/dismiss_affected.rb +257 -0
- data/lib/crimson-falcon/models/dismiss_security_check.rb +257 -0
- data/lib/crimson-falcon/models/distribution_descriptor.rb +283 -0
- data/lib/crimson-falcon/models/domain_actor_document.rb +31 -12
- data/lib/crimson-falcon/models/domain_aggregates_response.rb +4 -2
- data/lib/crimson-falcon/models/domain_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/domain_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_compliance_by_asset_type_v1.rb +311 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_compliance_by_cluster_type_v1.rb +311 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_compliance_by_framework_v1.rb +339 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_failed_rules_by_clusters_v3.rb +309 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_group_by_clusters_v2.rb +519 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_asset_type_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_asset_type_v1_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_cluster_type_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_cluster_type_v1_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_framework_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_compliance_by_framework_v1_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_failed_rules_by_clusters_type_v2.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_failed_rules_by_clusters_type_v2_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_group_by_clusters_v2.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_group_by_clusters_v2_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_group_by_rules_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_group_by_rules_v1_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_top_failed_images_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_response_top_failed_images_v1_resources.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_aggregate_top_failed_images_v1.rb +337 -0
- data/lib/crimson-falcon/models/domain_api_aggregation_group_by_rules_result_v1.rb +388 -0
- data/lib/crimson-falcon/models/domain_api_asset_compliance_finding_v1.rb +346 -0
- data/lib/crimson-falcon/models/domain_api_combined_images_findings.rb +325 -0
- data/lib/crimson-falcon/models/domain_api_combined_nodes_findings.rb +359 -0
- data/lib/crimson-falcon/models/domain_api_entity_matched_v1.rb +252 -0
- data/lib/crimson-falcon/models/domain_api_error.rb +27 -25
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_host_info_v1.rb +242 -0
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_item_v1.rb +10 -15
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_v1.rb +48 -10
- data/lib/crimson-falcon/models/{flightcontrolapi_user_grant_response.rb → domain_api_response_images_findings_v1.rb} +5 -5
- data/lib/crimson-falcon/models/{rest_aws_account_validation_response.rb → domain_api_response_nodes_findings_v1.rb} +5 -5
- data/lib/crimson-falcon/models/domain_api_rule_metadata.rb +405 -0
- data/lib/crimson-falcon/models/domain_api_simplified_evaluation_logic_item_v1.rb +297 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_data_provider_v1.rb +11 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +11 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_network_scan.rb +245 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_network_scan_facet_v2.rb +237 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +12 -1
- data/lib/crimson-falcon/models/domain_asset_finding.rb +351 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +85 -13
- data/lib/crimson-falcon/models/domain_azure_client_service_principal_v1.rb +26 -12
- data/lib/crimson-falcon/models/domain_behavior.rb +10 -1
- data/lib/crimson-falcon/models/domain_botnet_config_source.rb +351 -0
- data/lib/crimson-falcon/models/domain_botnet_inject.rb +255 -0
- data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +24 -1
- data/lib/crimson-falcon/models/domain_cloud_aws_account_v1.rb +82 -1
- data/lib/crimson-falcon/models/domain_cloud_group.rb +270 -0
- data/lib/crimson-falcon/models/domain_cloud_oci_feature.rb +288 -0
- data/lib/crimson-falcon/models/domain_cloud_oci_product_feature.rb +255 -0
- data/lib/crimson-falcon/models/domain_config_data.rb +369 -0
- data/lib/crimson-falcon/models/domain_count_by_severity.rb +281 -0
- data/lib/crimson-falcon/models/domain_ddos_attack_source.rb +423 -0
- data/lib/crimson-falcon/models/domain_ddos_target_details.rb +376 -0
- data/lib/crimson-falcon/models/domain_denormalized_adversary_reference.rb +10 -1
- data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +1 -1
- data/lib/crimson-falcon/models/domain_discover_api_active_discovery_network.rb +15 -5
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +52 -1
- data/lib/crimson-falcon/models/domain_discover_api_scan_details_host.rb +245 -0
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +30 -1
- data/lib/crimson-falcon/models/domain_entity.rb +270 -0
- data/lib/crimson-falcon/models/domain_event.rb +400 -0
- data/lib/crimson-falcon/models/domain_event_entities_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_execute_command_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_export_job_metadata_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_feature_status.rb +32 -15
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_gpa.rb +341 -0
- data/lib/crimson-falcon/models/domain_gpas.rb +239 -0
- data/lib/crimson-falcon/models/domain_host.rb +69 -90
- data/lib/crimson-falcon/models/domain_ioa_counts.rb +280 -0
- data/lib/crimson-falcon/models/domain_iom_counts.rb +280 -0
- data/lib/crimson-falcon/models/domain_iot_imported_host.rb +405 -0
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +13 -1
- data/lib/crimson-falcon/models/domain_job_with_link.rb +253 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_header_computation_function.rb +269 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_header_mapping.rb +255 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_params.rb +278 -0
- data/lib/crimson-falcon/models/domain_kestrel_params.rb +15 -1
- data/lib/crimson-falcon/models/domain_key_value_pair.rb +253 -0
- data/lib/crimson-falcon/models/domain_last_scheduled_execution.rb +18 -4
- data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_matched_rule.rb +255 -0
- data/lib/crimson-falcon/models/domain_meta_info.rb +23 -5
- data/lib/crimson-falcon/models/{quickscanpro_mitre_attack.rb → domain_mitre_attack.rb} +23 -5
- data/lib/crimson-falcon/models/domain_mitre_attack_mapping.rb +266 -0
- data/lib/crimson-falcon/models/{quickscanpro_mitre_attack_parent.rb → domain_mitre_attack_parent.rb} +3 -3
- data/lib/crimson-falcon/models/domain_msa_meta_info.rb +4 -18
- data/lib/crimson-falcon/models/domain_msa_meta_info_with_search_after.rb +280 -0
- data/lib/crimson-falcon/models/domain_news_document.rb +21 -11
- data/lib/crimson-falcon/models/domain_notification_config.rb +32 -4
- data/lib/crimson-falcon/models/domain_oci_create_response.rb +254 -0
- data/lib/crimson-falcon/models/domain_oci_download_script_request_data.rb +264 -0
- data/lib/crimson-falcon/models/{rest_azure_download_script_request_v1.rb → domain_oci_download_script_request_v1.rb} +4 -4
- data/lib/crimson-falcon/models/domain_oci_issue.rb +281 -0
- data/lib/crimson-falcon/models/{domain_azure_management_group_role_assignment.rb → domain_oci_permission.rb} +9 -22
- data/lib/crimson-falcon/models/{rest_azure_provision_get_account_script_response_v1.rb → domain_oci_provision_get_account_script_response_v1.rb} +4 -4
- data/lib/crimson-falcon/models/domain_oci_tenancy_create_ext_v1.rb +310 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_create_request_ext_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_create_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_rotate_key_request_ext_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_rotate_key_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_rotated_key.rb +281 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_script.rb +280 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_update_ext_v1.rb +315 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_update_request_ext_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_update_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_v1.rb +575 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_validated.rb +300 -0
- data/lib/crimson-falcon/models/domain_oci_tenancy_validation_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_oci_validate_request_data.rb +255 -0
- data/lib/crimson-falcon/models/domain_oci_validate_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_on_prem.rb +259 -0
- data/lib/crimson-falcon/models/{api_response_pagination.rb → domain_paging_with_search_after.rb} +24 -12
- data/lib/crimson-falcon/models/domain_params.rb +261 -0
- data/lib/crimson-falcon/models/{domain_case_creation_request.rb → domain_pastebin_text_source.rb} +47 -66
- data/lib/crimson-falcon/models/domain_platform.rb +11 -11
- data/lib/crimson-falcon/models/domain_product_feature_status.rb +345 -0
- data/lib/crimson-falcon/models/domain_product_feature_status_conditions.rb +323 -0
- data/lib/crimson-falcon/models/domain_query_response.rb +8 -1
- data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_report_params.rb +2 -4
- data/lib/crimson-falcon/models/domain_request.rb +34 -12
- data/lib/crimson-falcon/models/domain_result_metadata.rb +18 -4
- data/lib/crimson-falcon/models/domain_role.rb +13 -4
- data/lib/crimson-falcon/models/domain_rule.rb +69 -63
- data/lib/crimson-falcon/models/domain_rule_entities_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_rule_metadata_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_sca_misconfigs_counts.rb +239 -0
- data/lib/crimson-falcon/models/domain_scan.rb +28 -1
- data/lib/crimson-falcon/models/domain_scan_profile.rb +19 -1
- data/lib/crimson-falcon/models/domain_scan_v2.rb +19 -1
- data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
- data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +24 -1
- data/lib/crimson-falcon/models/domain_screenshot.rb +261 -0
- data/lib/crimson-falcon/models/domain_search_after_paging.rb +29 -15
- data/lib/crimson-falcon/models/domain_simple_actor.rb +11 -2
- data/lib/crimson-falcon/models/domain_tenancy_ocid.rb +239 -0
- data/lib/crimson-falcon/models/domain_tweet_source.rb +294 -0
- data/lib/crimson-falcon/models/domain_user.rb +12 -1
- data/lib/crimson-falcon/models/domain_vulnerabilities_count.rb +239 -0
- data/lib/crimson-falcon/models/domain_vulnerability.rb +135 -38
- data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +255 -0
- data/lib/crimson-falcon/models/domain_vulnerability_affected_product.rb +245 -0
- data/lib/crimson-falcon/models/domain_vulnerability_cvss_v2.rb +303 -0
- data/lib/crimson-falcon/models/domain_vulnerability_cvss_v3.rb +325 -0
- data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +247 -0
- data/lib/crimson-falcon/models/domain_vulnerability_report.rb +265 -0
- data/lib/crimson-falcon/models/domain_xdr_params.rb +23 -1
- data/lib/crimson-falcon/models/domain_xlr8_info.rb +281 -0
- data/lib/crimson-falcon/models/empowerapi_remote_command_put_file_v1.rb +5 -0
- data/lib/crimson-falcon/models/empowerapi_remote_command_put_file_v2.rb +5 -0
- data/lib/crimson-falcon/models/entities_ods_scan_request.rb +29 -1
- data/lib/crimson-falcon/models/entities_ods_schedule_scan_request.rb +29 -1
- data/lib/crimson-falcon/models/error02abad40db9c4a4baf68f01bea6071c4.rb +264 -0
- data/lib/crimson-falcon/models/error068cf337479748d6ac14b4a9c4043a93.rb +264 -0
- data/lib/crimson-falcon/models/error208252f00cf64de68d28810846b7dd26.rb +264 -0
- data/lib/crimson-falcon/models/error20dfebe4526641bd81749e954da7890e.rb +264 -0
- data/lib/crimson-falcon/models/error2a083e88c6764d16bbb98873ef1e9e15.rb +264 -0
- data/lib/crimson-falcon/models/error2c3c8d4e65c3447a8eae772de1b0e3ef.rb +264 -0
- data/lib/crimson-falcon/models/error35d6bd13358246f9ae9ffbe791550e06.rb +264 -0
- data/lib/crimson-falcon/models/error476679d881284bdc9a5192128d50d4b6.rb +264 -0
- data/lib/crimson-falcon/models/error479167a4d6534b6a85ec7857c5fb14ba.rb +264 -0
- data/lib/crimson-falcon/models/error4bee1dd3515c454f83249366486164d0.rb +264 -0
- data/lib/crimson-falcon/models/error7bbeca3b1c2440f19c0730f62b3b6ef4.rb +264 -0
- data/lib/crimson-falcon/models/error878b6eeb86ef40cdb1ec5f1207207e09.rb +264 -0
- data/lib/crimson-falcon/models/error9cad4d8f334c467daf30ed3a72664779.rb +264 -0
- data/lib/crimson-falcon/models/error_bc084ac4caa243b199e2307fb94184c3.rb +264 -0
- data/lib/crimson-falcon/models/error_d3d26008b8464eeb912ff06244246cf2.rb +264 -0
- data/lib/crimson-falcon/models/error_f2e2dae6d0e945279a68e68afaee2d54.rb +264 -0
- data/lib/crimson-falcon/models/error_fa972818e96245a89bcee1f18b40eb0a.rb +264 -0
- data/lib/crimson-falcon/models/executions_condition_result.rb +257 -0
- data/lib/crimson-falcon/models/executions_execution_result.rb +13 -1
- data/lib/crimson-falcon/models/executions_flow_execution_result.rb +319 -0
- data/lib/crimson-falcon/models/exposure_da5345c68b174f978f19999c3e00cab9.rb +300 -0
- data/lib/crimson-falcon/models/falconx_submission_parameters_v1.rb +12 -1
- data/lib/crimson-falcon/models/falconx_submission_v1.rb +12 -1
- data/lib/crimson-falcon/models/figapi_indicator.rb +11 -11
- data/lib/crimson-falcon/models/figapi_lookup_indicator.rb +468 -0
- data/lib/crimson-falcon/models/flightcontrolapi_aggregates_response.rb +271 -0
- data/lib/crimson-falcon/models/{domain_user_grants.rb → flightcontrolapi_combined_user_roles_resource_v1.rb} +3 -3
- data/lib/crimson-falcon/models/flightcontrolapi_combined_user_roles_resource_v2.rb +329 -0
- data/lib/crimson-falcon/models/flightcontrolapi_combined_user_roles_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/flightcontrolapi_combined_user_roles_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/{domain_action_user_roles_request.rb → flightcontrolapi_grant_input.rb} +15 -4
- data/lib/crimson-falcon/models/fwmgr_api_json_diff.rb +3 -3
- data/lib/crimson-falcon/models/fwmgr_api_rule_group_modify_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/get_activity_monitor.rb +258 -0
- data/lib/crimson-falcon/models/get_affected.rb +257 -0
- data/lib/crimson-falcon/models/get_alerts_response.rb +258 -0
- data/lib/crimson-falcon/models/get_device_inventory.rb +258 -0
- data/lib/crimson-falcon/models/get_end_transaction.rb +258 -0
- data/lib/crimson-falcon/models/get_integrations.rb +258 -0
- data/lib/crimson-falcon/models/get_metrics.rb +258 -0
- data/lib/crimson-falcon/models/get_security_checks.rb +258 -0
- data/lib/crimson-falcon/models/get_security_compliance.rb +257 -0
- data/lib/crimson-falcon/models/get_supported_saas.rb +258 -0
- data/lib/crimson-falcon/models/get_system_logs.rb +258 -0
- data/lib/crimson-falcon/models/get_system_users.rb +258 -0
- data/lib/crimson-falcon/models/get_transaction_status.rb +258 -0
- data/lib/crimson-falcon/models/get_user_inventory.rb +258 -0
- data/lib/crimson-falcon/models/graph_configured_activity.rb +24 -5
- data/lib/crimson-falcon/models/graph_configured_trigger.rb +23 -4
- data/lib/crimson-falcon/models/graph_inline_activity_config.rb +253 -0
- data/lib/crimson-falcon/models/graph_validation_error.rb +14 -4
- data/lib/crimson-falcon/models/hour.rb +270 -0
- data/lib/crimson-falcon/models/insights_insight.rb +255 -0
- data/lib/crimson-falcon/models/insights_insight_details.rb +257 -0
- data/lib/crimson-falcon/models/integration_a9d173a3bf93430f84054286043aa8e5.rb +305 -0
- data/lib/crimson-falcon/models/integration_e95afa6fc5e04968b0e9d83e90042eca.rb +365 -0
- data/lib/crimson-falcon/models/issue9a61d8c8ccac45858497af4786b275c7.rb +291 -0
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +10 -1
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +7 -7
- data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +14 -4
- data/lib/crimson-falcon/models/meta17335150dd1a4934a3a031a7b41e650b.rb +270 -0
- data/lib/crimson-falcon/models/meta23005461ac9a41fbb4620fe4aa0a3438.rb +270 -0
- data/lib/crimson-falcon/models/meta27c23ca116c1477bb85e765b5e09af69.rb +270 -0
- data/lib/crimson-falcon/models/meta37a0d574ca884a2f8641e122e47a3ce9.rb +270 -0
- data/lib/crimson-falcon/models/meta4f2b2e3bbfd74a7fb14e0ca86dd47d57.rb +270 -0
- data/lib/crimson-falcon/models/meta4fda3fb731c54f5480750a508fa0142d.rb +270 -0
- data/lib/crimson-falcon/models/meta536da5d66c054c69889a624cf1068900.rb +270 -0
- data/lib/crimson-falcon/models/meta6dbc34e4022d4b5c9fe5785caf9801e7.rb +270 -0
- data/lib/crimson-falcon/models/meta77f6bf58ba0045649e59a4655807a6ab.rb +270 -0
- data/lib/crimson-falcon/models/meta9b68681eb9464c4e9612730248f519d6.rb +270 -0
- data/lib/crimson-falcon/models/meta_c84ad721c6a841869874276dd0683cbb.rb +270 -0
- data/lib/crimson-falcon/models/meta_d1db20ce08ad45b3987ead9035c153a9.rb +270 -0
- data/lib/crimson-falcon/models/meta_d43679bfb5f448afa0899baa948533d1.rb +270 -0
- data/lib/crimson-falcon/models/meta_e1df370799c7419d805c0f95b5d1ae90.rb +270 -0
- data/lib/crimson-falcon/models/meta_e4ad714b314449299eca720f9d63b718.rb +270 -0
- data/lib/crimson-falcon/models/meta_fb2fed2c461a4af583e5b3b790c82df1.rb +270 -0
- data/lib/crimson-falcon/models/meta_fe9ab4e0124e4f0fb9946562895a2c78.rb +270 -0
- data/lib/crimson-falcon/models/model_mitre_attack_mapping.rb +248 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +45 -1
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +10 -1
- data/lib/crimson-falcon/models/models_cluster.rb +15 -1
- data/lib/crimson-falcon/models/models_compliance_export_grouped_by_images_report.rb +28 -1
- data/lib/crimson-falcon/models/models_config_info_type.rb +363 -0
- data/lib/crimson-falcon/models/models_container.rb +219 -307
- data/lib/crimson-falcon/models/models_deployment.rb +81 -361
- data/lib/crimson-falcon/models/models_elf_binary_info_type.rb +327 -0
- data/lib/crimson-falcon/models/models_he_string_file_info_type.rb +273 -0
- data/lib/crimson-falcon/models/models_he_string_info_type.rb +262 -0
- data/lib/crimson-falcon/models/models_image_info_type.rb +353 -0
- data/lib/crimson-falcon/models/models_image_metadata_type.rb +279 -0
- data/lib/crimson-falcon/models/models_inventory_engine_info_type.rb +278 -0
- data/lib/crimson-falcon/models/models_inventory_scan_request_type.rb +458 -0
- data/lib/crimson-falcon/models/models_inventory_type.rb +419 -0
- data/lib/crimson-falcon/models/models_layer_info_type.rb +322 -0
- data/lib/crimson-falcon/models/models_ml_model_type.rb +332 -0
- data/lib/crimson-falcon/models/models_pod.rb +15 -1
- data/lib/crimson-falcon/models/models_registry_credentials_response.rb +2 -4
- data/lib/crimson-falcon/models/models_result_properties.rb +15 -1
- data/lib/crimson-falcon/models/models_scan_info_type.rb +279 -0
- data/lib/crimson-falcon/models/models_scan_request_type.rb +385 -0
- data/lib/crimson-falcon/models/non_compliant_by_severity.rb +281 -0
- data/lib/crimson-falcon/models/one_minute.rb +270 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_image_count.rb +266 -0
- data/lib/crimson-falcon/models/pagination033f3d78a056499b8f4877419a0ab636.rb +305 -0
- data/lib/crimson-falcon/models/pagination080eaa160ef24b9ea15b29a7376520d1.rb +305 -0
- data/lib/crimson-falcon/models/pagination10594326d99a4b3a8681178b13e58952.rb +305 -0
- data/lib/crimson-falcon/models/pagination13aeb546de8049e7b3a1c36f9c93266b.rb +305 -0
- data/lib/crimson-falcon/models/pagination210dcb9a1e7d4355aa68be7ec0fd01f5.rb +305 -0
- data/lib/crimson-falcon/models/pagination30037a29e9404616b03177274ec26e23.rb +305 -0
- data/lib/crimson-falcon/models/pagination3b8a127584ba4423a93eb7c8169b572b.rb +305 -0
- data/lib/crimson-falcon/models/pagination3f3e43ffd8e64379931bdcb29aebc087.rb +305 -0
- data/lib/crimson-falcon/models/pagination52f77164aafe4de6b6db6d957e7daa2d.rb +305 -0
- data/lib/crimson-falcon/models/pagination548073ea1b2b436ba88a22f20220668f.rb +305 -0
- data/lib/crimson-falcon/models/pagination5540128e40ad49718c1f4b4b5e4e558c.rb +305 -0
- data/lib/crimson-falcon/models/pagination6447d6d09066458cbbaa67ba2e2337cc.rb +305 -0
- data/lib/crimson-falcon/models/pagination9bacca2551f14ff5a7ca8bd9d42e3cd2.rb +305 -0
- data/lib/crimson-falcon/models/pagination_d97a43983ded4cd7b949b22c9365f3ac.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f16542f2ce284253ae3ba96625cde422.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f3897127524749a8977efcf98f6fca21.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f6ab71b91d6246e0bd736cf3af5fad6e.rb +305 -0
- data/lib/crimson-falcon/models/policyframework_benchmark.rb +10 -1
- data/lib/crimson-falcon/models/policyframework_control.rb +12 -1
- data/lib/crimson-falcon/models/query_spent.rb +281 -0
- data/lib/crimson-falcon/models/quickscanpro_error.rb +253 -0
- data/lib/crimson-falcon/models/quickscanpro_file_result.rb +2 -2
- data/lib/crimson-falcon/models/quickscanpro_file_upload_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_meta_info.rb +248 -0
- data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_scan_metadata.rb +12 -1
- data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +3 -3
- data/lib/crimson-falcon/models/quickscanpro_url_result.rb +2 -2
- data/lib/crimson-falcon/models/quota_total_spent.rb +281 -0
- data/lib/crimson-falcon/models/rbac_cloud_group.rb +270 -0
- data/lib/crimson-falcon/models/reason_result53b5512288cb4a35afeb08fb3232bc9a.rb +258 -0
- data/lib/crimson-falcon/models/reason_result85bd120760ba447ea4ed7050227cea6d.rb +258 -0
- data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +10 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +25 -1
- data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +71 -15
- data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +15 -15
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_gcp_account_validated_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +1 -1
- data/lib/crimson-falcon/models/registration_gcp_service_account_patch_v1.rb +1 -1
- data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_obj_v1.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
- data/lib/crimson-falcon/models/releasenotes_release_note_v2.rb +303 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v2.rb +271 -0
- data/lib/crimson-falcon/models/releases_release.rb +19 -1
- data/lib/crimson-falcon/models/resource_counts.rb +281 -0
- data/lib/crimson-falcon/models/resources_benchmark.rb +267 -0
- data/lib/crimson-falcon/models/resources_cloud_context.rb +19 -1
- data/lib/crimson-falcon/models/resources_cloud_resource.rb +95 -1
- data/lib/crimson-falcon/models/resources_compliance_control.rb +503 -0
- data/lib/crimson-falcon/models/resources_control_info.rb +295 -0
- data/lib/crimson-falcon/models/resources_detection_count.rb +295 -0
- data/lib/crimson-falcon/models/resources_detections.rb +19 -1
- data/lib/crimson-falcon/models/resources_rule.rb +281 -0
- data/lib/crimson-falcon/models/rest_cloud_aws_account_create_ext_v1.rb +108 -7
- data/lib/crimson-falcon/models/restapi_indicator_feed_query_item.rb +252 -0
- data/lib/crimson-falcon/models/restapi_indicator_feed_query_response.rb +270 -0
- data/lib/crimson-falcon/models/restapi_indicator_get_feeds_item.rb +254 -0
- data/lib/crimson-falcon/models/restapi_indicator_get_feeds_response.rb +261 -0
- data/lib/crimson-falcon/models/restapi_indicators_lookup_request.rb +242 -0
- data/lib/crimson-falcon/models/{common_registry_credentials_response.rb → restapi_lookup_indicator_response.rb} +7 -5
- data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +51 -1
- data/lib/crimson-falcon/models/schema2_manifest.rb +278 -0
- data/lib/crimson-falcon/models/security_check_metrics4dc2138e50b94346aca29c17db424031.rb +309 -0
- data/lib/crimson-falcon/models/security_check_with_compliance_fabac54a5b434140a3258784ea52cedd.rb +780 -0
- data/lib/crimson-falcon/models/source1a19145b2d194d208fce893f033e7d77.rb +309 -0
- data/lib/crimson-falcon/models/source_acb91d86550f449aa4b1b5310bf5ae84.rb +309 -0
- data/lib/crimson-falcon/models/source_f8f9612cb66e48f38a21f3f6c9c90ce3.rb +309 -0
- data/lib/crimson-falcon/models/{domain_condition.rb → statemgmt_condition.rb} +3 -3
- data/lib/crimson-falcon/models/status_breakdown_c9f65dddc40c4ce591a60ab63a17ab21.rb +309 -0
- data/lib/crimson-falcon/models/{rest_aws_account_validated.rb → supported_integration6399100b6064428e971df473366a4291.rb} +41 -39
- data/lib/crimson-falcon/models/system_log35829c828fcc41f99005750f1c86b16b.rb +479 -0
- data/lib/crimson-falcon/models/system_user62e536308fad4c7f8f020fb76f162088.rb +485 -0
- data/lib/crimson-falcon/models/ten_minutes.rb +270 -0
- data/lib/crimson-falcon/models/threatgraph_vertex_details.rb +13 -13
- data/lib/crimson-falcon/models/types_action_run.rb +5 -5
- data/lib/crimson-falcon/models/types_action_run_event.rb +18 -23
- data/lib/crimson-falcon/models/types_action_run_event_data.rb +3 -3
- data/lib/crimson-falcon/models/types_artifacts.rb +236 -0
- data/lib/crimson-falcon/models/types_count_response.rb +266 -0
- data/lib/crimson-falcon/models/types_create_executor_node.rb +351 -0
- data/lib/crimson-falcon/models/types_create_group_request.rb +290 -0
- data/lib/crimson-falcon/models/types_create_integration.rb +297 -0
- data/lib/crimson-falcon/models/types_create_integration_response.rb +243 -0
- data/lib/crimson-falcon/models/types_executor_node.rb +11 -2
- data/lib/crimson-falcon/models/types_executor_node_status.rb +267 -0
- data/lib/crimson-falcon/models/types_general_query_response.rb +266 -0
- data/lib/crimson-falcon/models/types_get_cloud_security_integration_state_response.rb +253 -0
- data/lib/crimson-falcon/models/types_get_services_request.rb +12 -1
- data/lib/crimson-falcon/models/types_group_details.rb +335 -0
- data/lib/crimson-falcon/models/types_group_hierarchy_response.rb +245 -0
- data/lib/crimson-falcon/models/types_group_in_hierarchy.rb +308 -0
- data/lib/crimson-falcon/models/types_group_list_item.rb +288 -0
- data/lib/crimson-falcon/models/types_group_min_details.rb +243 -0
- data/lib/crimson-falcon/models/types_group_min_details_with_parent.rb +252 -0
- data/lib/crimson-falcon/models/types_integration.rb +1 -1
- data/lib/crimson-falcon/models/types_integration_task.rb +8 -8
- data/lib/crimson-falcon/models/types_integration_task_response.rb +2 -2
- data/lib/crimson-falcon/models/types_list_integration_item.rb +297 -0
- data/lib/crimson-falcon/models/types_list_integration_tasks_response.rb +1 -1
- data/lib/crimson-falcon/models/types_list_integrations_executor_node.rb +351 -0
- data/lib/crimson-falcon/models/types_list_integrations_response.rb +1 -1
- data/lib/crimson-falcon/models/types_overtime_response.rb +266 -0
- data/lib/crimson-falcon/models/types_query_count_response.rb +243 -0
- data/lib/crimson-falcon/models/types_query_overtime_response_item.rb +243 -0
- data/lib/crimson-falcon/models/types_query_request.rb +10 -1
- data/lib/crimson-falcon/models/{types_query_result.rb → types_query_response.rb} +10 -8
- data/lib/crimson-falcon/models/types_set_cloud_security_integration_state_request.rb +239 -0
- data/lib/crimson-falcon/models/types_update_group_request.rb +299 -0
- data/lib/crimson-falcon/models/types_user.rb +381 -0
- data/lib/crimson-falcon/models/types_user_group.rb +351 -0
- data/lib/crimson-falcon/models/types_users_response.rb +255 -0
- data/lib/crimson-falcon/models/upload_data_request.rb +258 -0
- data/lib/crimson-falcon/models/upload_data_response.rb +258 -0
- data/lib/crimson-falcon/models/user_c59913813fcc4565a44e697480b8846b.rb +599 -0
- data/lib/crimson-falcon/models/v1_history.rb +270 -0
- data/lib/crimson-falcon/models/v1_image.rb +334 -0
- data/lib/crimson-falcon/models/v1_image_config.rb +327 -0
- data/lib/crimson-falcon/models/v1_platform.rb +282 -0
- data/lib/crimson-falcon/models/v1_root_fs.rb +255 -0
- data/lib/crimson-falcon/models/v2_activity.rb +20 -1
- data/lib/crimson-falcon/models/v2_agent_coverage.rb +387 -0
- data/lib/crimson-falcon/models/v2_cloud_provider_info.rb +270 -0
- data/lib/crimson-falcon/models/v2_cluster_entity_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/v2_cluster_v2.rb +385 -0
- data/lib/crimson-falcon/models/v2_inline_config.rb +252 -0
- data/lib/crimson-falcon/models/v2_timestamp_fields.rb +253 -0
- data/lib/crimson-falcon/models/v2_trigger.rb +22 -4
- data/lib/crimson-falcon/models/webhooktrigger_api_key_config.rb +255 -0
- data/lib/crimson-falcon/models/webhooktrigger_api_request.rb +288 -0
- data/lib/crimson-falcon/models/webhooktrigger_auth_config.rb +267 -0
- data/lib/crimson-falcon/models/webhooktrigger_basic_auth_config.rb +245 -0
- data/lib/crimson-falcon/models/webhooktrigger_hmac_config.rb +317 -0
- data/lib/crimson-falcon/models/webhooktrigger_response_config.rb +250 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +410 -32
- data/spec/api/activity_monitor_spec.rb +71 -0
- data/spec/api/alerts_spec.rb +22 -2
- data/spec/api/aspm_spec.rb +358 -2
- data/spec/api/cao_hunting_spec.rb +102 -0
- data/spec/api/cloud_aws_registration_spec.rb +0 -14
- data/spec/api/cloud_azure_registration_spec.rb +56 -1
- data/spec/api/cloud_oci_registration_spec.rb +133 -0
- data/spec/api/cloud_security_assets_spec.rb +18 -2
- data/spec/api/cloud_snapshots_spec.rb +2 -2
- data/spec/api/{compliance_assessments_spec.rb → container_image_compliance_spec.rb} +17 -17
- data/spec/api/container_images_spec.rb +9 -7
- data/spec/api/container_packages_spec.rb +15 -3
- data/spec/api/content_update_policies_spec.rb +17 -5
- data/spec/api/correlation_rules_spec.rb +98 -1
- data/spec/api/cspg_iac_spec.rb +1 -1
- data/spec/api/cspm_registration_spec.rb +13 -23
- data/spec/api/custom_storage_spec.rb +73 -0
- data/spec/api/d4c_registration_spec.rb +6 -1
- data/spec/api/{handle_spec.rb → default_spec.rb} +10 -10
- data/spec/api/device_control_with_bluetooth_spec.rb +117 -0
- data/spec/api/discover_spec.rb +1 -11
- data/spec/api/execution_spec.rb +66 -0
- data/spec/api/exposure_management_spec.rb +25 -0
- data/spec/api/falcon_complete_dashboard_spec.rb +16 -2
- data/spec/api/falcon_container_image_spec.rb +21 -0
- data/spec/api/falconx_sandbox_spec.rb +3 -3
- data/spec/api/host_migration_spec.rb +2 -2
- data/spec/api/hosts_spec.rb +30 -0
- data/spec/api/installation_tokens_settings_spec.rb +1 -1
- data/spec/api/installation_tokens_spec.rb +1 -1
- data/spec/api/integration_builder_spec.rb +102 -0
- data/spec/api/intel_spec.rb +21 -5
- data/spec/api/{datascanner_spec.rb → intelligence_feeds_spec.rb} +22 -21
- data/spec/api/intelligence_indicator_graph_spec.rb +14 -1
- data/spec/api/inventories_spec.rb +85 -0
- data/spec/api/kubernetes_container_compliance_spec.rb +172 -0
- data/spec/api/kubernetes_protection_spec.rb +31 -15
- data/spec/api/lookup_files_spec.rb +4 -0
- data/spec/api/message_center_spec.rb +1 -12
- data/spec/api/{humio_auth_proxy_spec.rb → ngsiem_spec.rb} +10 -8
- data/spec/api/quarantine_spec.rb +1 -1
- data/spec/api/quick_scan_pro_spec.rb +1 -1
- data/spec/api/quick_scan_spec.rb +2 -2
- data/spec/api/real_time_response_admin_spec.rb +11 -0
- data/spec/api/release_notes_spec.rb +15 -2
- data/spec/api/saa_s_spec.rb +75 -0
- data/spec/api/security_check_spec.rb +139 -0
- data/spec/api/{vulnerabilities_spec.rb → serverless_vulnerabilities_spec.rb} +6 -6
- data/spec/api/spotlight_vulnerabilities_spec.rb +2 -2
- data/spec/api/system_spec.rb +79 -0
- data/spec/api/tailored_intelligence_spec.rb +115 -0
- data/spec/api/user_management_spec.rb +33 -5
- data/spec/api/workflows_spec.rb +14 -0
- data/spec/models/account_integration289680abbdb24ecc9e55e90a4c2f1770_spec.rb +105 -0
- data/spec/models/activities_activity_spec.rb +6 -0
- data/spec/models/activities_dependency_spec.rb +69 -0
- data/spec/models/activity251e72f10e9424e568d72ab0351a6fb1b_spec.rb +51 -0
- data/spec/models/affected_entity9f6cb0be3b91460090c751db2c883b7c_spec.rb +99 -0
- data/spec/models/alert85f2306d175b4314b4d51d0096103dcc_spec.rb +129 -0
- data/spec/models/api_aggregates_response_v1_spec.rb +63 -0
- data/spec/models/api_collection_metadata_spec.rb +135 -0
- data/spec/models/api_create_rule_notification_config_spec.rb +75 -0
- data/spec/models/api_create_rule_notifications_spec.rb +63 -0
- data/spec/models/api_get_entities_rule_versions_response_v1_spec.rb +63 -0
- data/spec/models/api_indexed_fields_spec.rb +63 -0
- data/spec/models/api_intelligence_query_aggregates_response_spec.rb +63 -0
- data/spec/models/api_intelligence_query_entity_response_spec.rb +63 -0
- data/spec/models/api_intelligence_query_entity_spec.rb +189 -0
- data/spec/models/api_job_link_response_v1_spec.rb +63 -0
- data/spec/models/{domain_assessment_paging_spec.rb → api_paging_spec.rb} +13 -7
- data/spec/models/api_patch_rule_notification_config_v1_spec.rb +75 -0
- data/spec/models/api_patch_rule_notifications_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_search_v1_spec.rb +6 -0
- data/spec/models/api_query_event_distribution_spec.rb +69 -0
- data/spec/models/api_query_job_around_input_spec.rb +69 -0
- data/spec/models/api_query_job_input_spec.rb +123 -0
- data/spec/models/api_query_job_response_spec.rb +57 -0
- data/spec/models/api_query_jobs_results_spec.rb +93 -0
- data/spec/models/api_query_metadata_json_spec.rb +177 -0
- data/spec/models/api_rule_create_request_v1_spec.rb +18 -0
- data/spec/models/api_rule_patch_request_v1_spec.rb +24 -0
- data/spec/models/api_rule_search_v1_spec.rb +6 -0
- data/spec/models/api_rule_v1_spec.rb +34 -16
- data/spec/models/api_rule_version_publish_request_v1_spec.rb +51 -0
- data/spec/models/api_rule_version_report_request_spec.rb +63 -0
- data/spec/models/api_rule_version_sorted_search_spec.rb +57 -0
- data/spec/models/api_schema_metadata_spec.rb +111 -0
- data/spec/models/{domain_action_user_roles_request_spec.rb → api_user_metadata_spec.rb} +9 -9
- data/spec/models/{api_rule_operation_v1_spec.rb → api_warning_json_spec.rb} +10 -10
- data/spec/models/api_workflow_metadata_spec.rb +75 -0
- data/spec/models/aspm_inventory_data_spec.rb +75 -0
- data/spec/models/assets_compliance_response_spec.rb +63 -0
- data/spec/models/azure_additional_feature_spec.rb +63 -0
- data/spec/models/{rest_azure_download_script_request_data_spec.rb → azure_azure_download_script_request_data_spec.rb} +6 -6
- data/spec/models/azure_azure_download_script_request_v1_spec.rb +51 -0
- data/spec/models/azure_azure_provision_get_account_script_response_v1_spec.rb +63 -0
- data/spec/models/azure_azure_registration_create_input_spec.rb +189 -0
- data/spec/models/azure_azure_registration_create_request_ext_v1_spec.rb +51 -0
- data/spec/models/azure_azure_registration_response_ext_v1_spec.rb +63 -0
- data/spec/models/azure_azure_registration_update_input_spec.rb +189 -0
- data/spec/models/azure_azure_registration_update_request_ext_v1_spec.rb +51 -0
- data/spec/models/{rest_azure_script_spec.rb → azure_azure_script_spec.rb} +6 -6
- data/spec/models/azure_db_role_assignment_spec.rb +81 -0
- data/spec/models/azure_delete_registration_response_ext_v1_spec.rb +63 -0
- data/spec/models/azure_deleted_registration_spec.rb +111 -0
- data/spec/models/azure_deleted_subscription_info_spec.rb +63 -0
- data/spec/models/azure_event_hub_settings_spec.rb +75 -0
- data/spec/models/{domain_azure_resource_permission_spec.rb → azure_resource_permission_spec.rb} +6 -6
- data/spec/models/azure_tenant_registration_spec.rb +243 -0
- data/spec/models/cdrioamanager_get_cloud_event_ids_response_spec.rb +63 -0
- data/spec/models/common_count_as_resource_spec.rb +6 -0
- data/spec/models/common_count_response_spec.rb +3 -3
- data/spec/models/{domain_content_update_settings_v1_spec.rb → content_update_content_update_settings_req_v1_spec.rb} +6 -6
- data/spec/models/content_update_policy_v1_spec.rb +121 -0
- data/spec/models/content_update_resp_v1_spec.rb +63 -0
- data/spec/models/content_update_ring_assignment_override_setting_v1_spec.rb +51 -0
- data/spec/models/content_update_ring_assignment_settings_req_v1_spec.rb +63 -0
- data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +18 -0
- data/spec/models/costs_spec.rb +69 -0
- data/spec/models/criteria301f5eeae5ba41edb767b27e749f6375_spec.rb +57 -0
- data/spec/models/custom_type1942251022_spec.rb +63 -0
- data/spec/models/custom_type4161059146_spec.rb +63 -0
- data/spec/models/data_transaction_response_dto31852908d6f14d268312c3fcdb497315_spec.rb +79 -0
- data/spec/models/data_transaction_response_dto614da2e1369e44e596d2935db3da0365_spec.rb +79 -0
- data/spec/models/data_transaction_response_dto_cdc34dae7da648de941209e7e6a30770_spec.rb +79 -0
- data/spec/models/dataclassifications_data_classification_finding_spec.rb +63 -0
- data/spec/models/dataclassifications_response_spec.rb +6 -0
- data/spec/models/day_spec.rb +63 -0
- data/spec/models/detects_external_alert_spec.rb +18 -0
- data/spec/models/detects_mitre_attack_mapping_spec.rb +75 -0
- data/spec/models/device3550eb212db1414995c297cdbfe5cc16_spec.rb +147 -0
- data/spec/models/device_control_req_update_default_settings_v1_spec.rb +57 -0
- data/spec/models/{common_registry_credentials_response_spec.rb → device_control_resp_default_setting_v1_spec.rb} +6 -6
- data/spec/models/device_control_resp_update_default_settings_v1_spec.rb +93 -0
- data/spec/models/device_device_policy_spec.rb +6 -0
- data/spec/models/device_device_spec.rb +6 -0
- data/spec/models/device_mapped_device_policies_spec.rb +25 -7
- data/spec/models/{releasenotes_entities_get_response_wrapper_spec.rb → deviceapi_device_combined_response_swagger_spec.rb} +6 -6
- data/spec/models/deviceapi_device_paging_v2_spec.rb +81 -0
- data/spec/models/deviceapi_mapped_device_policies_swagger_spec.rb +201 -0
- data/spec/models/deviceapi_meta_info_spec.rb +75 -0
- data/spec/models/devicecontent_content_category_spec.rb +12 -0
- data/spec/models/devicecontent_state_spec.rb +12 -0
- data/spec/models/devicecontrolapi_bluetooth_class_spec.rb +75 -0
- data/spec/models/devicecontrolapi_bluetooth_custom_notifications_spec.rb +51 -0
- data/spec/models/devicecontrolapi_bluetooth_exception_base_spec.rb +111 -0
- data/spec/models/devicecontrolapi_bluetooth_exception_spec.rb +141 -0
- data/spec/models/devicecontrolapi_bluetooth_minor_class_spec.rb +63 -0
- data/spec/models/devicecontrolapi_bluetooth_settings_spec.rb +69 -0
- data/spec/models/devicecontrolapi_custom_notification_spec.rb +57 -0
- data/spec/models/devicecontrolapi_req_create_policies_v1_spec.rb +51 -0
- data/spec/models/devicecontrolapi_req_create_policy_v1_spec.rb +85 -0
- data/spec/models/devicecontrolapi_req_update_base_v1_external_spec.rb +75 -0
- data/spec/models/devicecontrolapi_req_update_bases_v1_external_spec.rb +51 -0
- data/spec/models/{domain_create_submission_v1_error_response_spec.rb → devicecontrolapi_req_update_bluetooth_base_v1_spec.rb} +15 -15
- data/spec/models/devicecontrolapi_req_update_bluetooth_class_v1_spec.rb +67 -0
- data/spec/models/devicecontrolapi_req_update_bluetooth_classes_v1_spec.rb +63 -0
- data/spec/models/devicecontrolapi_req_update_bluetooth_minor_class_v1_spec.rb +61 -0
- data/spec/models/devicecontrolapi_req_update_policies_classes_v1_spec.rb +51 -0
- data/spec/models/devicecontrolapi_req_update_policy_classes_v1_spec.rb +63 -0
- data/spec/models/devicecontrolapi_req_update_usb_base_v1_external_spec.rb +77 -0
- data/spec/models/devicecontrolapi_req_update_usb_base_v1_spec.rb +87 -0
- data/spec/models/devicecontrolapi_req_update_usb_class_v1_spec.rb +65 -0
- data/spec/models/devicecontrolapi_req_update_usb_classes_v1_spec.rb +63 -0
- data/spec/models/devicecontrolapi_resp_msa_error_v1_spec.rb +69 -0
- data/spec/models/devicecontrolapi_resp_msa_meta_v1_spec.rb +69 -0
- data/spec/models/devicecontrolapi_resp_paging_details_v1_spec.rb +63 -0
- data/spec/models/devicecontrolapi_resp_policies_v2_spec.rb +63 -0
- data/spec/models/{domain_content_update_policy_resp_v1_spec.rb → devicecontrolapi_resp_policy_v2_spec.rb} +17 -11
- data/spec/models/devicecontrolapi_resp_usb_class_settings_v2_spec.rb +69 -0
- data/spec/models/devicecontrolapi_resp_usb_exception_v2_spec.rb +141 -0
- data/spec/models/devicecontrolapi_resp_usb_settings_v2_spec.rb +81 -0
- data/spec/models/devicecontrolapi_usb_custom_notification_spec.rb +57 -0
- data/spec/models/devicecontrolapi_usb_custom_notifications_spec.rb +57 -0
- data/spec/models/devicecontrolapi_usb_exception_base_spec.rb +125 -0
- data/spec/models/digest_flow_spec.rb +63 -0
- data/spec/models/dismiss_affected_spec.rb +63 -0
- data/spec/models/dismiss_security_check_spec.rb +63 -0
- data/spec/models/distribution_descriptor_spec.rb +81 -0
- data/spec/models/domain_actor_document_spec.rb +12 -0
- data/spec/models/domain_aggregation_result_item_spec.rb +105 -0
- data/spec/models/domain_aggregation_result_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_compliance_by_asset_type_v1_spec.rb +81 -0
- data/spec/models/domain_api_aggregate_compliance_by_cluster_type_v1_spec.rb +81 -0
- data/spec/models/domain_api_aggregate_compliance_by_framework_v1_spec.rb +93 -0
- data/spec/models/domain_api_aggregate_failed_rules_by_clusters_v3_spec.rb +81 -0
- data/spec/models/domain_api_aggregate_group_by_clusters_v2_spec.rb +171 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_asset_type_v1_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_asset_type_v1_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_cluster_type_v1_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_cluster_type_v1_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_framework_v1_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_compliance_by_framework_v1_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_failed_rules_by_clusters_type_v2_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_failed_rules_by_clusters_type_v2_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_group_by_clusters_v2_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_group_by_clusters_v2_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_group_by_rules_v1_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_group_by_rules_v1_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_response_top_failed_images_v1_resources_spec.rb +57 -0
- data/spec/models/domain_api_aggregate_response_top_failed_images_v1_spec.rb +63 -0
- data/spec/models/domain_api_aggregate_top_failed_images_v1_spec.rb +93 -0
- data/spec/models/domain_api_aggregation_group_by_rules_result_v1_spec.rb +117 -0
- data/spec/models/domain_api_asset_compliance_finding_v1_spec.rb +99 -0
- data/spec/models/domain_api_combined_images_findings_spec.rb +87 -0
- data/spec/models/domain_api_combined_nodes_findings_spec.rb +123 -0
- data/spec/models/domain_api_entity_matched_v1_spec.rb +63 -0
- data/spec/models/domain_api_error_spec.rb +3 -3
- data/spec/models/domain_api_evaluation_logic_host_info_v1_spec.rb +51 -0
- data/spec/models/domain_api_evaluation_logic_item_v1_spec.rb +6 -6
- data/spec/models/domain_api_evaluation_logic_v1_spec.rb +20 -2
- data/spec/models/domain_api_response_images_findings_v1_spec.rb +63 -0
- data/spec/models/domain_api_response_nodes_findings_v1_spec.rb +63 -0
- data/spec/models/domain_api_rule_metadata_spec.rb +135 -0
- data/spec/models/domain_api_simplified_evaluation_logic_item_v1_spec.rb +87 -0
- data/spec/models/domain_api_vulnerability_data_provider_v1_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_network_scan_facet_v2_spec.rb +51 -0
- data/spec/models/domain_api_vulnerability_network_scan_spec.rb +57 -0
- data/spec/models/domain_api_vulnerability_v2_spec.rb +6 -0
- data/spec/models/domain_asset_finding_spec.rb +99 -0
- data/spec/models/domain_aws_account_v2_spec.rb +51 -3
- data/spec/models/domain_azure_client_service_principal_v1_spec.rb +7 -1
- data/spec/models/domain_behavior_spec.rb +6 -0
- data/spec/models/domain_botnet_config_source_spec.rb +93 -0
- data/spec/models/domain_botnet_inject_spec.rb +57 -0
- data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
- data/spec/models/domain_cloud_aws_account_v1_spec.rb +54 -0
- data/spec/models/domain_cloud_group_spec.rb +75 -0
- data/spec/models/domain_cloud_oci_feature_spec.rb +75 -0
- data/spec/models/domain_cloud_oci_product_feature_spec.rb +57 -0
- data/spec/models/domain_config_data_spec.rb +135 -0
- data/spec/models/domain_count_by_severity_spec.rb +69 -0
- data/spec/models/domain_ddos_attack_source_spec.rb +123 -0
- data/spec/models/domain_ddos_target_details_spec.rb +105 -0
- data/spec/models/domain_denormalized_adversary_reference_spec.rb +6 -0
- data/spec/models/domain_discover_api_active_discovery_network_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +30 -0
- data/spec/models/domain_discover_api_scan_details_host_spec.rb +57 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +18 -0
- data/spec/models/{domain_azure_role_assignment_spec.rb → domain_entity_spec.rb} +10 -10
- data/spec/models/domain_event_entities_response_spec.rb +63 -0
- data/spec/models/domain_event_spec.rb +129 -0
- data/spec/models/domain_execute_command_v1_spec.rb +6 -0
- data/spec/models/domain_export_job_metadata_v1_spec.rb +6 -0
- data/spec/models/domain_feature_status_spec.rb +13 -1
- data/spec/models/domain_gpa_spec.rb +111 -0
- data/spec/models/{common_credentials_spec.rb → domain_gpas_spec.rb} +7 -7
- data/spec/models/domain_host_spec.rb +9 -33
- data/spec/models/domain_ioa_counts_spec.rb +75 -0
- data/spec/models/domain_iom_counts_spec.rb +75 -0
- data/spec/models/domain_iot_imported_host_spec.rb +165 -0
- data/spec/models/domain_item_details_v1_spec.rb +6 -0
- data/spec/models/domain_job_with_link_spec.rb +57 -0
- data/spec/models/domain_kestrel_data_export_header_computation_function_spec.rb +63 -0
- data/spec/models/domain_kestrel_data_export_header_mapping_spec.rb +57 -0
- data/spec/models/domain_kestrel_data_export_params_spec.rb +69 -0
- data/spec/models/domain_kestrel_params_spec.rb +6 -0
- data/spec/models/domain_key_value_pair_spec.rb +57 -0
- data/spec/models/domain_last_scheduled_execution_spec.rb +6 -0
- data/spec/models/domain_matched_rule_spec.rb +63 -0
- data/spec/models/domain_meta_info_spec.rb +12 -0
- data/spec/models/domain_mitre_attack_mapping_spec.rb +69 -0
- data/spec/models/{quickscanpro_mitre_attack_parent_spec.rb → domain_mitre_attack_parent_spec.rb} +6 -6
- data/spec/models/domain_mitre_attack_spec.rb +99 -0
- data/spec/models/domain_msa_meta_info_spec.rb +0 -6
- data/spec/models/domain_msa_meta_info_with_search_after_spec.rb +75 -0
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_config_spec.rb +12 -0
- data/spec/models/domain_oci_create_response_spec.rb +57 -0
- data/spec/models/domain_oci_download_script_request_data_spec.rb +63 -0
- data/spec/models/{rest_azure_download_script_request_v1_spec.rb → domain_oci_download_script_request_v1_spec.rb} +6 -6
- data/spec/models/domain_oci_issue_spec.rb +69 -0
- data/spec/models/domain_oci_permission_spec.rb +57 -0
- data/spec/models/{rest_azure_provision_get_account_script_response_v1_spec.rb → domain_oci_provision_get_account_script_response_v1_spec.rb} +6 -6
- data/spec/models/domain_oci_tenancy_create_ext_v1_spec.rb +87 -0
- data/spec/models/domain_oci_tenancy_create_request_ext_v1_spec.rb +51 -0
- data/spec/models/domain_oci_tenancy_create_response_ext_v1_spec.rb +63 -0
- data/spec/models/domain_oci_tenancy_response_ext_v1_spec.rb +63 -0
- data/spec/models/domain_oci_tenancy_rotate_key_request_ext_v1_spec.rb +51 -0
- data/spec/models/domain_oci_tenancy_rotate_key_response_ext_v1_spec.rb +63 -0
- data/spec/models/domain_oci_tenancy_rotated_key_spec.rb +69 -0
- data/spec/models/domain_oci_tenancy_script_spec.rb +75 -0
- data/spec/models/domain_oci_tenancy_update_ext_v1_spec.rb +99 -0
- data/spec/models/domain_oci_tenancy_update_request_ext_v1_spec.rb +51 -0
- data/spec/models/domain_oci_tenancy_update_response_ext_v1_spec.rb +63 -0
- data/spec/models/domain_oci_tenancy_v1_spec.rb +189 -0
- data/spec/models/domain_oci_tenancy_validated_spec.rb +75 -0
- data/spec/models/domain_oci_tenancy_validation_response_spec.rb +63 -0
- data/spec/models/domain_oci_validate_request_data_spec.rb +57 -0
- data/spec/models/domain_oci_validate_request_v1_spec.rb +51 -0
- data/spec/models/domain_on_prem_spec.rb +63 -0
- data/spec/models/domain_paging_with_search_after_spec.rb +63 -0
- data/spec/models/domain_params_spec.rb +69 -0
- data/spec/models/domain_pastebin_text_source_spec.rb +75 -0
- data/spec/models/domain_platform_spec.rb +1 -1
- data/spec/models/domain_product_feature_status_conditions_spec.rb +87 -0
- data/spec/models/domain_product_feature_status_spec.rb +93 -0
- data/spec/models/domain_report_metadata_spec.rb +6 -0
- data/spec/models/domain_request_spec.rb +19 -1
- data/spec/models/domain_result_metadata_spec.rb +6 -0
- data/spec/models/domain_role_spec.rb +6 -0
- data/spec/models/domain_rule_entities_response_spec.rb +63 -0
- data/spec/models/domain_rule_metadata_response_spec.rb +63 -0
- data/spec/models/domain_rule_spec.rb +13 -7
- data/spec/models/domain_sca_misconfigs_counts_spec.rb +51 -0
- data/spec/models/domain_scan_profile_spec.rb +12 -0
- data/spec/models/domain_scan_spec.rb +18 -0
- data/spec/models/domain_scan_v2_spec.rb +12 -0
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_scheduled_report_v1_spec.rb +12 -0
- data/spec/models/domain_screenshot_spec.rb +69 -0
- data/spec/models/domain_search_after_paging_spec.rb +8 -2
- data/spec/models/domain_simple_actor_spec.rb +6 -0
- data/spec/models/domain_tenancy_ocid_spec.rb +51 -0
- data/spec/models/domain_tweet_source_spec.rb +75 -0
- data/spec/models/domain_user_spec.rb +6 -0
- data/spec/models/domain_vulnerabilities_count_spec.rb +51 -0
- data/spec/models/{domain_ring_assignment_settings_v1_spec.rb → domain_vulnerability_actor_spec.rb} +9 -9
- data/spec/models/domain_vulnerability_affected_product_spec.rb +57 -0
- data/spec/models/domain_vulnerability_cvss_v2_spec.rb +93 -0
- data/spec/models/domain_vulnerability_cvss_v3_spec.rb +105 -0
- data/spec/models/domain_vulnerability_related_threat_spec.rb +57 -0
- data/spec/models/domain_vulnerability_report_spec.rb +69 -0
- data/spec/models/domain_vulnerability_spec.rb +63 -3
- data/spec/models/domain_xdr_params_spec.rb +12 -0
- data/spec/models/domain_xlr8_info_spec.rb +69 -0
- data/spec/models/entities_ods_scan_request_spec.rb +12 -0
- data/spec/models/entities_ods_schedule_scan_request_spec.rb +12 -0
- data/spec/models/error02abad40db9c4a4baf68f01bea6071c4_spec.rb +57 -0
- data/spec/models/error068cf337479748d6ac14b4a9c4043a93_spec.rb +57 -0
- data/spec/models/error208252f00cf64de68d28810846b7dd26_spec.rb +57 -0
- data/spec/models/error20dfebe4526641bd81749e954da7890e_spec.rb +57 -0
- data/spec/models/error2a083e88c6764d16bbb98873ef1e9e15_spec.rb +57 -0
- data/spec/models/error2c3c8d4e65c3447a8eae772de1b0e3ef_spec.rb +57 -0
- data/spec/models/error35d6bd13358246f9ae9ffbe791550e06_spec.rb +57 -0
- data/spec/models/error476679d881284bdc9a5192128d50d4b6_spec.rb +57 -0
- data/spec/models/error479167a4d6534b6a85ec7857c5fb14ba_spec.rb +57 -0
- data/spec/models/error4bee1dd3515c454f83249366486164d0_spec.rb +57 -0
- data/spec/models/error7bbeca3b1c2440f19c0730f62b3b6ef4_spec.rb +57 -0
- data/spec/models/error878b6eeb86ef40cdb1ec5f1207207e09_spec.rb +57 -0
- data/spec/models/error9cad4d8f334c467daf30ed3a72664779_spec.rb +57 -0
- data/spec/models/error_bc084ac4caa243b199e2307fb94184c3_spec.rb +57 -0
- data/spec/models/error_d3d26008b8464eeb912ff06244246cf2_spec.rb +57 -0
- data/spec/models/error_f2e2dae6d0e945279a68e68afaee2d54_spec.rb +57 -0
- data/spec/models/error_fa972818e96245a89bcee1f18b40eb0a_spec.rb +57 -0
- data/spec/models/executions_condition_result_spec.rb +63 -0
- data/spec/models/executions_execution_result_spec.rb +6 -0
- data/spec/models/executions_flow_execution_result_spec.rb +93 -0
- data/spec/models/exposure_da5345c68b174f978f19999c3e00cab9_spec.rb +69 -0
- data/spec/models/falconx_submission_parameters_v1_spec.rb +6 -0
- data/spec/models/falconx_submission_v1_spec.rb +6 -0
- data/spec/models/figapi_indicator_spec.rb +6 -6
- data/spec/models/figapi_lookup_indicator_spec.rb +189 -0
- data/spec/models/{flightcontrolapi_user_grant_response_spec.rb → flightcontrolapi_aggregates_response_spec.rb} +6 -6
- data/spec/models/{domain_user_grants_spec.rb → flightcontrolapi_combined_user_roles_resource_v1_spec.rb} +6 -6
- data/spec/models/flightcontrolapi_combined_user_roles_resource_v2_spec.rb +111 -0
- data/spec/models/flightcontrolapi_combined_user_roles_response_v1_spec.rb +63 -0
- data/spec/models/flightcontrolapi_combined_user_roles_response_v2_spec.rb +63 -0
- data/spec/models/flightcontrolapi_grant_input_spec.rb +75 -0
- data/spec/models/fwmgr_api_json_diff_spec.rb +6 -6
- data/spec/models/get_activity_monitor_spec.rb +63 -0
- data/spec/models/get_affected_spec.rb +63 -0
- data/spec/models/get_alerts_response_spec.rb +63 -0
- data/spec/models/get_device_inventory_spec.rb +63 -0
- data/spec/models/get_end_transaction_spec.rb +63 -0
- data/spec/models/get_integrations_spec.rb +63 -0
- data/spec/models/get_metrics_spec.rb +63 -0
- data/spec/models/get_security_checks_spec.rb +63 -0
- data/spec/models/get_security_compliance_spec.rb +63 -0
- data/spec/models/get_supported_saas_spec.rb +63 -0
- data/spec/models/get_system_logs_spec.rb +63 -0
- data/spec/models/get_system_users_spec.rb +63 -0
- data/spec/models/get_transaction_status_spec.rb +63 -0
- data/spec/models/get_user_inventory_spec.rb +63 -0
- data/spec/models/graph_configured_activity_spec.rb +12 -0
- data/spec/models/graph_configured_trigger_spec.rb +12 -0
- data/spec/models/graph_inline_activity_config_spec.rb +63 -0
- data/spec/models/graph_validation_error_spec.rb +6 -0
- data/spec/models/hour_spec.rb +63 -0
- data/spec/models/insights_insight_details_spec.rb +63 -0
- data/spec/models/insights_insight_spec.rb +57 -0
- data/spec/models/integration_a9d173a3bf93430f84054286043aa8e5_spec.rb +63 -0
- data/spec/models/integration_e95afa6fc5e04968b0e9d83e90042eca_spec.rb +87 -0
- data/spec/models/issue9a61d8c8ccac45858497af4786b275c7_spec.rb +57 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +6 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +1 -1
- data/spec/models/jsonschema_ui_extensions_spec.rb +6 -0
- data/spec/models/meta17335150dd1a4934a3a031a7b41e650b_spec.rb +63 -0
- data/spec/models/meta23005461ac9a41fbb4620fe4aa0a3438_spec.rb +63 -0
- data/spec/models/meta27c23ca116c1477bb85e765b5e09af69_spec.rb +63 -0
- data/spec/models/meta37a0d574ca884a2f8641e122e47a3ce9_spec.rb +63 -0
- data/spec/models/meta4f2b2e3bbfd74a7fb14e0ca86dd47d57_spec.rb +63 -0
- data/spec/models/meta4fda3fb731c54f5480750a508fa0142d_spec.rb +63 -0
- data/spec/models/meta536da5d66c054c69889a624cf1068900_spec.rb +63 -0
- data/spec/models/meta6dbc34e4022d4b5c9fe5785caf9801e7_spec.rb +63 -0
- data/spec/models/meta77f6bf58ba0045649e59a4655807a6ab_spec.rb +63 -0
- data/spec/models/meta9b68681eb9464c4e9612730248f519d6_spec.rb +63 -0
- data/spec/models/meta_c84ad721c6a841869874276dd0683cbb_spec.rb +63 -0
- data/spec/models/meta_d1db20ce08ad45b3987ead9035c153a9_spec.rb +63 -0
- data/spec/models/meta_d43679bfb5f448afa0899baa948533d1_spec.rb +63 -0
- data/spec/models/meta_e1df370799c7419d805c0f95b5d1ae90_spec.rb +63 -0
- data/spec/models/meta_e4ad714b314449299eca720f9d63b718_spec.rb +63 -0
- data/spec/models/meta_fb2fed2c461a4af583e5b3b790c82df1_spec.rb +63 -0
- data/spec/models/meta_fe9ab4e0124e4f0fb9946562895a2c78_spec.rb +63 -0
- data/spec/models/model_mitre_attack_mapping_spec.rb +57 -0
- data/spec/models/models_api_image_combined_export_spec.rb +24 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +6 -0
- data/spec/models/models_cluster_spec.rb +6 -0
- data/spec/models/models_compliance_export_grouped_by_images_report_spec.rb +18 -0
- data/spec/models/models_config_info_type_spec.rb +99 -0
- data/spec/models/models_container_spec.rb +106 -16
- data/spec/models/models_deployment_spec.rb +9 -129
- data/spec/models/models_elf_binary_info_type_spec.rb +93 -0
- data/spec/models/models_he_string_file_info_type_spec.rb +69 -0
- data/spec/models/models_he_string_info_type_spec.rb +63 -0
- data/spec/models/models_image_info_type_spec.rb +117 -0
- data/spec/models/models_image_metadata_type_spec.rb +81 -0
- data/spec/models/models_inventory_engine_info_type_spec.rb +69 -0
- data/spec/models/models_inventory_scan_request_type_spec.rb +159 -0
- data/spec/models/models_inventory_type_spec.rb +135 -0
- data/spec/models/models_layer_info_type_spec.rb +93 -0
- data/spec/models/models_ml_model_type_spec.rb +93 -0
- data/spec/models/models_pod_spec.rb +6 -0
- data/spec/models/models_result_properties_spec.rb +6 -0
- data/spec/models/{domain_case_creation_request_spec.rb → models_scan_info_type_spec.rb} +12 -12
- data/spec/models/models_scan_request_type_spec.rb +117 -0
- data/spec/models/non_compliant_by_severity_spec.rb +69 -0
- data/spec/models/one_minute_spec.rb +63 -0
- data/spec/models/packages_api_packages_by_image_count_spec.rb +63 -0
- data/spec/models/pagination033f3d78a056499b8f4877419a0ab636_spec.rb +75 -0
- data/spec/models/pagination080eaa160ef24b9ea15b29a7376520d1_spec.rb +75 -0
- data/spec/models/pagination10594326d99a4b3a8681178b13e58952_spec.rb +75 -0
- data/spec/models/pagination13aeb546de8049e7b3a1c36f9c93266b_spec.rb +75 -0
- data/spec/models/pagination210dcb9a1e7d4355aa68be7ec0fd01f5_spec.rb +75 -0
- data/spec/models/pagination30037a29e9404616b03177274ec26e23_spec.rb +75 -0
- data/spec/models/pagination3b8a127584ba4423a93eb7c8169b572b_spec.rb +75 -0
- data/spec/models/pagination3f3e43ffd8e64379931bdcb29aebc087_spec.rb +75 -0
- data/spec/models/pagination52f77164aafe4de6b6db6d957e7daa2d_spec.rb +75 -0
- data/spec/models/pagination548073ea1b2b436ba88a22f20220668f_spec.rb +75 -0
- data/spec/models/pagination5540128e40ad49718c1f4b4b5e4e558c_spec.rb +75 -0
- data/spec/models/pagination6447d6d09066458cbbaa67ba2e2337cc_spec.rb +75 -0
- data/spec/models/pagination9bacca2551f14ff5a7ca8bd9d42e3cd2_spec.rb +75 -0
- data/spec/models/pagination_d97a43983ded4cd7b949b22c9365f3ac_spec.rb +75 -0
- data/spec/models/pagination_f16542f2ce284253ae3ba96625cde422_spec.rb +75 -0
- data/spec/models/pagination_f3897127524749a8977efcf98f6fca21_spec.rb +75 -0
- data/spec/models/pagination_f6ab71b91d6246e0bd736cf3af5fad6e_spec.rb +75 -0
- data/spec/models/policyframework_benchmark_spec.rb +6 -0
- data/spec/models/policyframework_control_spec.rb +6 -0
- data/spec/models/query_spent_spec.rb +69 -0
- data/spec/models/quickscanpro_error_spec.rb +57 -0
- data/spec/models/quickscanpro_file_result_spec.rb +1 -1
- data/spec/models/quickscanpro_meta_info_spec.rb +57 -0
- data/spec/models/quickscanpro_scan_metadata_spec.rb +6 -0
- data/spec/models/quickscanpro_scan_result_spec.rb +1 -1
- data/spec/models/quickscanpro_url_result_spec.rb +1 -1
- data/spec/models/quota_total_spent_spec.rb +69 -0
- data/spec/models/rbac_cloud_group_spec.rb +75 -0
- data/spec/models/reason_result53b5512288cb4a35afeb08fb3232bc9a_spec.rb +51 -0
- data/spec/models/reason_result85bd120760ba447ea4ed7050227cea6d_spec.rb +51 -0
- data/spec/models/registration_aws_account_ext_v2_spec.rb +6 -0
- data/spec/models/registration_aws_account_patch_spec.rb +6 -0
- data/spec/models/registration_azure_account_v1_ext_spec.rb +26 -2
- data/spec/models/registration_azure_management_group_v1_ext_spec.rb +6 -6
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/releasenotes_release_note_v2_spec.rb +81 -0
- data/spec/models/releasenotes_release_note_wrapper_v2_spec.rb +63 -0
- data/spec/models/releases_release_spec.rb +12 -0
- data/spec/models/resource_counts_spec.rb +69 -0
- data/spec/models/resources_benchmark_spec.rb +63 -0
- data/spec/models/resources_cloud_context_spec.rb +12 -0
- data/spec/models/resources_cloud_resource_spec.rb +60 -0
- data/spec/models/resources_compliance_control_spec.rb +171 -0
- data/spec/models/resources_control_info_spec.rb +75 -0
- data/spec/models/resources_detection_count_spec.rb +75 -0
- data/spec/models/resources_detections_spec.rb +12 -0
- data/spec/models/resources_rule_spec.rb +69 -0
- data/spec/models/rest_cloud_aws_account_create_ext_v1_spec.rb +66 -0
- data/spec/models/restapi_indicator_feed_query_item_spec.rb +63 -0
- data/spec/models/restapi_indicator_feed_query_response_spec.rb +69 -0
- data/spec/models/restapi_indicator_get_feeds_item_spec.rb +63 -0
- data/spec/models/{rest_aws_account_validation_response_spec.rb → restapi_indicator_get_feeds_response_spec.rb} +6 -6
- data/spec/models/restapi_indicators_lookup_request_spec.rb +51 -0
- data/spec/models/restapi_lookup_indicator_response_spec.rb +63 -0
- data/spec/models/sadomain_typosquatting_subdomain_spec.rb +18 -0
- data/spec/models/schema2_manifest_spec.rb +69 -0
- data/spec/models/security_check_metrics4dc2138e50b94346aca29c17db424031_spec.rb +81 -0
- data/spec/models/security_check_with_compliance_fabac54a5b434140a3258784ea52cedd_spec.rb +183 -0
- data/spec/models/{domain_azure_management_group_role_assignment_spec.rb → source1a19145b2d194d208fce893f033e7d77_spec.rb} +10 -10
- data/spec/models/source_acb91d86550f449aa4b1b5310bf5ae84_spec.rb +69 -0
- data/spec/models/source_f8f9612cb66e48f38a21f3f6c9c90ce3_spec.rb +69 -0
- data/spec/models/{domain_condition_spec.rb → statemgmt_condition_spec.rb} +6 -6
- data/spec/models/status_breakdown_c9f65dddc40c4ce591a60ab63a17ab21_spec.rb +81 -0
- data/spec/models/supported_integration6399100b6064428e971df473366a4291_spec.rb +63 -0
- data/spec/models/system_log35829c828fcc41f99005750f1c86b16b_spec.rb +105 -0
- data/spec/models/system_user62e536308fad4c7f8f020fb76f162088_spec.rb +123 -0
- data/spec/models/ten_minutes_spec.rb +63 -0
- data/spec/models/threatgraph_vertex_details_spec.rb +5 -5
- data/spec/models/types_action_run_event_spec.rb +3 -3
- data/spec/models/types_artifacts_spec.rb +51 -0
- data/spec/models/types_count_response_spec.rb +63 -0
- data/spec/models/types_create_executor_node_spec.rb +129 -0
- data/spec/models/{quickscanpro_mitre_attack_spec.rb → types_create_group_request_spec.rb} +13 -13
- data/spec/models/types_create_integration_response_spec.rb +57 -0
- data/spec/models/types_create_integration_spec.rb +93 -0
- data/spec/models/types_executor_node_spec.rb +6 -0
- data/spec/models/types_executor_node_status_spec.rb +63 -0
- data/spec/models/types_general_query_response_spec.rb +63 -0
- data/spec/models/types_get_cloud_security_integration_state_response_spec.rb +57 -0
- data/spec/models/types_get_services_request_spec.rb +6 -0
- data/spec/models/types_group_details_spec.rb +117 -0
- data/spec/models/{api_response_pagination_spec.rb → types_group_hierarchy_response_spec.rb} +8 -8
- data/spec/models/types_group_in_hierarchy_spec.rb +99 -0
- data/spec/models/types_group_list_item_spec.rb +87 -0
- data/spec/models/types_group_min_details_spec.rb +57 -0
- data/spec/models/types_group_min_details_with_parent_spec.rb +63 -0
- data/spec/models/types_list_integration_item_spec.rb +93 -0
- data/spec/models/types_list_integrations_executor_node_spec.rb +129 -0
- data/spec/models/types_overtime_response_spec.rb +63 -0
- data/spec/models/types_query_count_response_spec.rb +57 -0
- data/spec/models/types_query_overtime_response_item_spec.rb +57 -0
- data/spec/models/types_query_request_spec.rb +6 -0
- data/spec/models/{types_query_result_spec.rb → types_query_response_spec.rb} +6 -6
- data/spec/models/types_set_cloud_security_integration_state_request_spec.rb +51 -0
- data/spec/models/types_update_group_request_spec.rb +93 -0
- data/spec/models/types_user_group_spec.rb +99 -0
- data/spec/models/types_user_spec.rb +111 -0
- data/spec/models/types_users_response_spec.rb +57 -0
- data/spec/models/upload_data_request_spec.rb +51 -0
- data/spec/models/upload_data_response_spec.rb +63 -0
- data/spec/models/user_c59913813fcc4565a44e697480b8846b_spec.rb +141 -0
- data/spec/models/{rest_aws_account_validated_spec.rb → v1_history_spec.rb} +16 -10
- data/spec/models/v1_image_config_spec.rb +105 -0
- data/spec/models/v1_image_spec.rb +105 -0
- data/spec/models/v1_platform_spec.rb +75 -0
- data/spec/models/v1_root_fs_spec.rb +57 -0
- data/spec/models/v2_activity_spec.rb +12 -0
- data/spec/models/v2_agent_coverage_spec.rb +153 -0
- data/spec/models/v2_cloud_provider_info_spec.rb +75 -0
- data/spec/models/v2_cluster_entity_response_v2_spec.rb +63 -0
- data/spec/models/v2_cluster_v2_spec.rb +141 -0
- data/spec/models/v2_inline_config_spec.rb +63 -0
- data/spec/models/v2_timestamp_fields_spec.rb +57 -0
- data/spec/models/v2_trigger_spec.rb +12 -0
- data/spec/models/webhooktrigger_api_key_config_spec.rb +63 -0
- data/spec/models/webhooktrigger_api_request_spec.rb +81 -0
- data/spec/models/webhooktrigger_auth_config_spec.rb +69 -0
- data/spec/models/webhooktrigger_basic_auth_config_spec.rb +57 -0
- data/spec/models/webhooktrigger_hmac_config_spec.rb +99 -0
- data/spec/models/webhooktrigger_response_config_spec.rb +57 -0
- metadata +2867 -1733
- data/lib/crimson-falcon/api/datascanner.rb +0 -225
@@ -105,7 +105,7 @@ module Falcon
|
|
105
105
|
# Create a new integration
|
106
106
|
# @param body [TypesCreateIntegrationRequest]
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
|
-
# @return [
|
108
|
+
# @return [TypesCreateIntegrationResponse]
|
109
109
|
def create_integration(body, opts = {})
|
110
110
|
data, _status_code, _headers = create_integration_with_http_info(body, opts)
|
111
111
|
data
|
@@ -114,7 +114,7 @@ module Falcon
|
|
114
114
|
# Create a new integration
|
115
115
|
# @param body [TypesCreateIntegrationRequest]
|
116
116
|
# @param [Hash] opts the optional parameters
|
117
|
-
# @return [Array<(
|
117
|
+
# @return [Array<(TypesCreateIntegrationResponse, Integer, Hash)>] TypesCreateIntegrationResponse data, response status code and response headers
|
118
118
|
def create_integration_with_http_info(body, opts = {})
|
119
119
|
if @api_client.config.debugging
|
120
120
|
@api_client.config.logger.debug 'Calling API: ASPM.create_integration ...'
|
@@ -146,7 +146,7 @@ module Falcon
|
|
146
146
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
147
147
|
|
148
148
|
# return_type
|
149
|
-
return_type = opts[:debug_return_type] || '
|
149
|
+
return_type = opts[:debug_return_type] || 'TypesCreateIntegrationResponse'
|
150
150
|
|
151
151
|
# auth_names
|
152
152
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
@@ -300,6 +300,70 @@ module Falcon
|
|
300
300
|
return data, status_code, headers
|
301
301
|
end
|
302
302
|
|
303
|
+
# @param id [Integer] Group ID
|
304
|
+
# @param [Hash] opts the optional parameters
|
305
|
+
# @return [nil]
|
306
|
+
def delete_group_id_09(id, opts = {})
|
307
|
+
delete_group_id_09_with_http_info(id, opts)
|
308
|
+
nil
|
309
|
+
end
|
310
|
+
|
311
|
+
# @param id [Integer] Group ID
|
312
|
+
# @param [Hash] opts the optional parameters
|
313
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
314
|
+
def delete_group_id_09_with_http_info(id, opts = {})
|
315
|
+
if @api_client.config.debugging
|
316
|
+
@api_client.config.logger.debug 'Calling API: ASPM.delete_group_id_09 ...'
|
317
|
+
end
|
318
|
+
# verify the required parameter 'id' is set
|
319
|
+
if @api_client.config.client_side_validation && id.nil?
|
320
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.delete_group_id_09"
|
321
|
+
end
|
322
|
+
pattern = Regexp.new(/[0-9]+/)
|
323
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
324
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.delete_group_id_09, must conform to the pattern #{pattern}."
|
325
|
+
end
|
326
|
+
|
327
|
+
# resource path
|
328
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
329
|
+
|
330
|
+
# query parameters
|
331
|
+
query_params = opts[:query_params] || {}
|
332
|
+
|
333
|
+
# header parameters
|
334
|
+
header_params = opts[:header_params] || {}
|
335
|
+
# HTTP header 'Accept' (if needed)
|
336
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
337
|
+
|
338
|
+
# form parameters
|
339
|
+
form_params = opts[:form_params] || {}
|
340
|
+
|
341
|
+
# http body (model)
|
342
|
+
post_body = opts[:debug_body]
|
343
|
+
|
344
|
+
# return_type
|
345
|
+
return_type = opts[:debug_return_type]
|
346
|
+
|
347
|
+
# auth_names
|
348
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
349
|
+
|
350
|
+
new_options = opts.merge(
|
351
|
+
:operation => :"ASPM.delete_group_id_09",
|
352
|
+
:header_params => header_params,
|
353
|
+
:query_params => query_params,
|
354
|
+
:form_params => form_params,
|
355
|
+
:body => post_body,
|
356
|
+
:auth_names => auth_names,
|
357
|
+
:return_type => return_type
|
358
|
+
)
|
359
|
+
|
360
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
361
|
+
if @api_client.config.debugging
|
362
|
+
@api_client.config.logger.debug "API called: ASPM#delete_group_id_09\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
363
|
+
end
|
364
|
+
return data, status_code, headers
|
365
|
+
end
|
366
|
+
|
303
367
|
# Delete an existing integration by its ID
|
304
368
|
# @param id [Integer]
|
305
369
|
# @param [Hash] opts the optional parameters
|
@@ -498,57 +562,53 @@ module Falcon
|
|
498
562
|
return data, status_code, headers
|
499
563
|
end
|
500
564
|
|
501
|
-
#
|
502
|
-
# @param
|
565
|
+
# A selected list of queryLanguage queries. request & response are in MSA format
|
566
|
+
# @param field [String]
|
503
567
|
# @param [Hash] opts the optional parameters
|
504
|
-
# @return [
|
505
|
-
def
|
506
|
-
data, _status_code, _headers =
|
568
|
+
# @return [TypesGeneralQueryResponse]
|
569
|
+
def execute_function_data(field, opts = {})
|
570
|
+
data, _status_code, _headers = execute_function_data_with_http_info(field, opts)
|
507
571
|
data
|
508
572
|
end
|
509
573
|
|
510
|
-
#
|
511
|
-
# @param
|
574
|
+
# A selected list of queryLanguage queries. request & response are in MSA format
|
575
|
+
# @param field [String]
|
512
576
|
# @param [Hash] opts the optional parameters
|
513
|
-
# @return [Array<(
|
514
|
-
def
|
577
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
578
|
+
def execute_function_data_with_http_info(field, opts = {})
|
515
579
|
if @api_client.config.debugging
|
516
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
580
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_function_data ...'
|
517
581
|
end
|
518
|
-
# verify the required parameter '
|
519
|
-
if @api_client.config.client_side_validation &&
|
520
|
-
fail ArgumentError, "Missing the required parameter '
|
582
|
+
# verify the required parameter 'field' is set
|
583
|
+
if @api_client.config.client_side_validation && field.nil?
|
584
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_function_data"
|
521
585
|
end
|
522
586
|
# resource path
|
523
|
-
local_var_path = '/
|
587
|
+
local_var_path = '/application-security/combined/function-data/v1'
|
524
588
|
|
525
589
|
# query parameters
|
526
590
|
query_params = opts[:query_params] || {}
|
591
|
+
query_params[:'field'] = field
|
527
592
|
|
528
593
|
# header parameters
|
529
594
|
header_params = opts[:header_params] || {}
|
530
595
|
# HTTP header 'Accept' (if needed)
|
531
596
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
532
|
-
# HTTP header 'Content-Type'
|
533
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
534
|
-
if !content_type.nil?
|
535
|
-
header_params['Content-Type'] = content_type
|
536
|
-
end
|
537
597
|
|
538
598
|
# form parameters
|
539
599
|
form_params = opts[:form_params] || {}
|
540
600
|
|
541
601
|
# http body (model)
|
542
|
-
post_body = opts[:debug_body]
|
602
|
+
post_body = opts[:debug_body]
|
543
603
|
|
544
604
|
# return_type
|
545
|
-
return_type = opts[:debug_return_type] || '
|
605
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
546
606
|
|
547
607
|
# auth_names
|
548
608
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
549
609
|
|
550
610
|
new_options = opts.merge(
|
551
|
-
:operation => :"ASPM.
|
611
|
+
:operation => :"ASPM.execute_function_data",
|
552
612
|
:header_params => header_params,
|
553
613
|
:query_params => query_params,
|
554
614
|
:form_params => form_params,
|
@@ -557,75 +617,72 @@ module Falcon
|
|
557
617
|
:return_type => return_type
|
558
618
|
)
|
559
619
|
|
560
|
-
data, status_code, headers = @api_client.call_api(:
|
620
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
561
621
|
if @api_client.config.debugging
|
562
|
-
@api_client.config.logger.debug "API called: ASPM#
|
622
|
+
@api_client.config.logger.debug "API called: ASPM#execute_function_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
563
623
|
end
|
564
624
|
return data, status_code, headers
|
565
625
|
end
|
566
626
|
|
567
|
-
#
|
568
|
-
# @param
|
627
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
628
|
+
# @param query_name [String]
|
629
|
+
# @param cloud_provider [String]
|
569
630
|
# @param [Hash] opts the optional parameters
|
570
|
-
# @option opts [
|
571
|
-
# @option opts [
|
572
|
-
# @option opts [
|
573
|
-
# @option opts [String] :
|
574
|
-
# @option opts [String] :
|
575
|
-
# @
|
576
|
-
|
577
|
-
|
578
|
-
# @option opts [Array<String>] :executor_node_types executor node types
|
579
|
-
# @return [TypesListExecutorNodesResponse]
|
580
|
-
def get_executor_nodes(node_type, opts = {})
|
581
|
-
data, _status_code, _headers = get_executor_nodes_with_http_info(node_type, opts)
|
631
|
+
# @option opts [String] :aws_lambda_arn required for 'aws' cloud provider
|
632
|
+
# @option opts [String] :gcp_cloud_function_url required for 'gcp' cloud provider
|
633
|
+
# @option opts [String] :azure_site_subscription_id required for 'azure' cloud provider
|
634
|
+
# @option opts [String] :azure_site_resource_group required for 'azure' cloud provider
|
635
|
+
# @option opts [String] :azure_function_app_name required for 'azure' cloud provider
|
636
|
+
# @return [TypesCountResponse]
|
637
|
+
def execute_function_data_count(query_name, cloud_provider, opts = {})
|
638
|
+
data, _status_code, _headers = execute_function_data_count_with_http_info(query_name, cloud_provider, opts)
|
582
639
|
data
|
583
640
|
end
|
584
641
|
|
585
|
-
#
|
586
|
-
# @param
|
642
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
643
|
+
# @param query_name [String]
|
644
|
+
# @param cloud_provider [String]
|
587
645
|
# @param [Hash] opts the optional parameters
|
588
|
-
# @option opts [
|
589
|
-
# @option opts [
|
590
|
-
# @option opts [
|
591
|
-
# @option opts [String] :
|
592
|
-
# @option opts [String] :
|
593
|
-
# @
|
594
|
-
|
595
|
-
# @option opts [Array<Integer>] :executor_node_states executor node states
|
596
|
-
# @option opts [Array<String>] :executor_node_types executor node types
|
597
|
-
# @return [Array<(TypesListExecutorNodesResponse, Integer, Hash)>] TypesListExecutorNodesResponse data, response status code and response headers
|
598
|
-
def get_executor_nodes_with_http_info(node_type, opts = {})
|
646
|
+
# @option opts [String] :aws_lambda_arn required for 'aws' cloud provider
|
647
|
+
# @option opts [String] :gcp_cloud_function_url required for 'gcp' cloud provider
|
648
|
+
# @option opts [String] :azure_site_subscription_id required for 'azure' cloud provider
|
649
|
+
# @option opts [String] :azure_site_resource_group required for 'azure' cloud provider
|
650
|
+
# @option opts [String] :azure_function_app_name required for 'azure' cloud provider
|
651
|
+
# @return [Array<(TypesCountResponse, Integer, Hash)>] TypesCountResponse data, response status code and response headers
|
652
|
+
def execute_function_data_count_with_http_info(query_name, cloud_provider, opts = {})
|
599
653
|
if @api_client.config.debugging
|
600
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
654
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_function_data_count ...'
|
601
655
|
end
|
602
|
-
# verify the required parameter '
|
603
|
-
if @api_client.config.client_side_validation &&
|
604
|
-
fail ArgumentError, "Missing the required parameter '
|
656
|
+
# verify the required parameter 'query_name' is set
|
657
|
+
if @api_client.config.client_side_validation && query_name.nil?
|
658
|
+
fail ArgumentError, "Missing the required parameter 'query_name' when calling ASPM.execute_function_data_count"
|
605
659
|
end
|
606
|
-
|
607
|
-
|
608
|
-
|
660
|
+
# verify enum value
|
661
|
+
allowable_values = ["sensitive_data", "reachable", "sensitive_datasources", "dependencies", "vulnerable_libraries", "risk_severity", "sensitive_data_tags"]
|
662
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(query_name)
|
663
|
+
fail ArgumentError, "invalid value for \"query_name\", must be one of #{allowable_values}"
|
609
664
|
end
|
610
|
-
|
611
|
-
if @api_client.config.client_side_validation &&
|
612
|
-
fail ArgumentError, "
|
665
|
+
# verify the required parameter 'cloud_provider' is set
|
666
|
+
if @api_client.config.client_side_validation && cloud_provider.nil?
|
667
|
+
fail ArgumentError, "Missing the required parameter 'cloud_provider' when calling ASPM.execute_function_data_count"
|
668
|
+
end
|
669
|
+
# verify enum value
|
670
|
+
allowable_values = ["aws", "azure", "gcp"]
|
671
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(cloud_provider)
|
672
|
+
fail ArgumentError, "invalid value for \"cloud_provider\", must be one of #{allowable_values}"
|
613
673
|
end
|
614
674
|
# resource path
|
615
|
-
local_var_path = '/
|
675
|
+
local_var_path = '/application-security/aggregates/function-data/count/v1'
|
616
676
|
|
617
677
|
# query parameters
|
618
678
|
query_params = opts[:query_params] || {}
|
619
|
-
query_params[:'
|
620
|
-
query_params[:'
|
621
|
-
query_params[:'
|
622
|
-
query_params[:'
|
623
|
-
query_params[:'
|
624
|
-
query_params[:'
|
625
|
-
query_params[:'
|
626
|
-
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
627
|
-
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
628
|
-
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
679
|
+
query_params[:'query_name'] = query_name
|
680
|
+
query_params[:'cloud_provider'] = cloud_provider
|
681
|
+
query_params[:'aws_lambda_arn'] = opts[:'aws_lambda_arn'] if !opts[:'aws_lambda_arn'].nil?
|
682
|
+
query_params[:'gcp_cloud_function_url'] = opts[:'gcp_cloud_function_url'] if !opts[:'gcp_cloud_function_url'].nil?
|
683
|
+
query_params[:'azure_site_subscription_id'] = opts[:'azure_site_subscription_id'] if !opts[:'azure_site_subscription_id'].nil?
|
684
|
+
query_params[:'azure_site_resource_group'] = opts[:'azure_site_resource_group'] if !opts[:'azure_site_resource_group'].nil?
|
685
|
+
query_params[:'azure_function_app_name'] = opts[:'azure_function_app_name'] if !opts[:'azure_function_app_name'].nil?
|
629
686
|
|
630
687
|
# header parameters
|
631
688
|
header_params = opts[:header_params] || {}
|
@@ -639,13 +696,13 @@ module Falcon
|
|
639
696
|
post_body = opts[:debug_body]
|
640
697
|
|
641
698
|
# return_type
|
642
|
-
return_type = opts[:debug_return_type] || '
|
699
|
+
return_type = opts[:debug_return_type] || 'TypesCountResponse'
|
643
700
|
|
644
701
|
# auth_names
|
645
702
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
646
703
|
|
647
704
|
new_options = opts.merge(
|
648
|
-
:operation => :"ASPM.
|
705
|
+
:operation => :"ASPM.execute_function_data_count",
|
649
706
|
:header_params => header_params,
|
650
707
|
:query_params => query_params,
|
651
708
|
:form_params => form_params,
|
@@ -654,45 +711,40 @@ module Falcon
|
|
654
711
|
:return_type => return_type
|
655
712
|
)
|
656
713
|
|
657
|
-
data, status_code, headers = @api_client.call_api(:
|
714
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
658
715
|
if @api_client.config.debugging
|
659
|
-
@api_client.config.logger.debug "API called: ASPM#
|
716
|
+
@api_client.config.logger.debug "API called: ASPM#execute_function_data_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
660
717
|
end
|
661
718
|
return data, status_code, headers
|
662
719
|
end
|
663
720
|
|
664
|
-
#
|
721
|
+
# A selected list of queryLanguage queries. request & response are in MSA format
|
722
|
+
# @param field [String]
|
665
723
|
# @param [Hash] opts the optional parameters
|
666
|
-
# @
|
667
|
-
|
668
|
-
|
669
|
-
# @option opts [Array<String>] :executor_node_types executor node types
|
670
|
-
# @return [TypesGetExecutorNodesMetadataResponse]
|
671
|
-
def get_executor_nodes_metadata(opts = {})
|
672
|
-
data, _status_code, _headers = get_executor_nodes_metadata_with_http_info(opts)
|
724
|
+
# @return [TypesGeneralQueryResponse]
|
725
|
+
def execute_function_data_query(field, opts = {})
|
726
|
+
data, _status_code, _headers = execute_function_data_query_with_http_info(field, opts)
|
673
727
|
data
|
674
728
|
end
|
675
729
|
|
676
|
-
#
|
730
|
+
# A selected list of queryLanguage queries. request & response are in MSA format
|
731
|
+
# @param field [String]
|
677
732
|
# @param [Hash] opts the optional parameters
|
678
|
-
# @
|
679
|
-
|
680
|
-
# @option opts [Array<Integer>] :executor_node_states executor node states
|
681
|
-
# @option opts [Array<String>] :executor_node_types executor node types
|
682
|
-
# @return [Array<(TypesGetExecutorNodesMetadataResponse, Integer, Hash)>] TypesGetExecutorNodesMetadataResponse data, response status code and response headers
|
683
|
-
def get_executor_nodes_metadata_with_http_info(opts = {})
|
733
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
734
|
+
def execute_function_data_query_with_http_info(field, opts = {})
|
684
735
|
if @api_client.config.debugging
|
685
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
736
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_function_data_query ...'
|
737
|
+
end
|
738
|
+
# verify the required parameter 'field' is set
|
739
|
+
if @api_client.config.client_side_validation && field.nil?
|
740
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_function_data_query"
|
686
741
|
end
|
687
742
|
# resource path
|
688
|
-
local_var_path = '/
|
743
|
+
local_var_path = '/application-security/combined/query-function-data/v1'
|
689
744
|
|
690
745
|
# query parameters
|
691
746
|
query_params = opts[:query_params] || {}
|
692
|
-
query_params[:'
|
693
|
-
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
694
|
-
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
695
|
-
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
747
|
+
query_params[:'field'] = field
|
696
748
|
|
697
749
|
# header parameters
|
698
750
|
header_params = opts[:header_params] || {}
|
@@ -706,13 +758,13 @@ module Falcon
|
|
706
758
|
post_body = opts[:debug_body]
|
707
759
|
|
708
760
|
# return_type
|
709
|
-
return_type = opts[:debug_return_type] || '
|
761
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
710
762
|
|
711
763
|
# auth_names
|
712
764
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
713
765
|
|
714
766
|
new_options = opts.merge(
|
715
|
-
:operation => :"ASPM.
|
767
|
+
:operation => :"ASPM.execute_function_data_query",
|
716
768
|
:header_params => header_params,
|
717
769
|
:query_params => query_params,
|
718
770
|
:form_params => form_params,
|
@@ -723,66 +775,38 @@ module Falcon
|
|
723
775
|
|
724
776
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
725
777
|
if @api_client.config.debugging
|
726
|
-
@api_client.config.logger.debug "API called: ASPM#
|
778
|
+
@api_client.config.logger.debug "API called: ASPM#execute_function_data_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
727
779
|
end
|
728
780
|
return data, status_code, headers
|
729
781
|
end
|
730
782
|
|
731
|
-
#
|
783
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
784
|
+
# @param field [String]
|
732
785
|
# @param [Hash] opts the optional parameters
|
733
|
-
# @
|
734
|
-
|
735
|
-
|
736
|
-
# @option opts [Integer] :limit
|
737
|
-
# @option opts [String] :order_by
|
738
|
-
# @option opts [String] :direction
|
739
|
-
# @option opts [Integer] :integration_task_types
|
740
|
-
# @option opts [Integer] :ids
|
741
|
-
# @option opts [String] :names
|
742
|
-
# @return [TypesListIntegrationTasksResponse]
|
743
|
-
def get_integration_tasks(opts = {})
|
744
|
-
data, _status_code, _headers = get_integration_tasks_with_http_info(opts)
|
786
|
+
# @return [TypesCountResponse]
|
787
|
+
def execute_function_data_query_count(field, opts = {})
|
788
|
+
data, _status_code, _headers = execute_function_data_query_count_with_http_info(field, opts)
|
745
789
|
data
|
746
790
|
end
|
747
791
|
|
748
|
-
#
|
792
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
793
|
+
# @param field [String]
|
749
794
|
# @param [Hash] opts the optional parameters
|
750
|
-
# @
|
751
|
-
|
752
|
-
# @option opts [Integer] :offset
|
753
|
-
# @option opts [Integer] :limit
|
754
|
-
# @option opts [String] :order_by
|
755
|
-
# @option opts [String] :direction
|
756
|
-
# @option opts [Integer] :integration_task_types
|
757
|
-
# @option opts [Integer] :ids
|
758
|
-
# @option opts [String] :names
|
759
|
-
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
760
|
-
def get_integration_tasks_with_http_info(opts = {})
|
795
|
+
# @return [Array<(TypesCountResponse, Integer, Hash)>] TypesCountResponse data, response status code and response headers
|
796
|
+
def execute_function_data_query_count_with_http_info(field, opts = {})
|
761
797
|
if @api_client.config.debugging
|
762
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
798
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_function_data_query_count ...'
|
763
799
|
end
|
764
|
-
|
765
|
-
if @api_client.config.client_side_validation &&
|
766
|
-
fail ArgumentError, "
|
767
|
-
end
|
768
|
-
allowable_values = ["asc", "desc"]
|
769
|
-
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
770
|
-
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
800
|
+
# verify the required parameter 'field' is set
|
801
|
+
if @api_client.config.client_side_validation && field.nil?
|
802
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_function_data_query_count"
|
771
803
|
end
|
772
804
|
# resource path
|
773
|
-
local_var_path = '/
|
805
|
+
local_var_path = '/application-security/aggregates/query-function-data-count/v1'
|
774
806
|
|
775
807
|
# query parameters
|
776
808
|
query_params = opts[:query_params] || {}
|
777
|
-
query_params[:'
|
778
|
-
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
779
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
780
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
781
|
-
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
782
|
-
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
783
|
-
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
784
|
-
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
785
|
-
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
809
|
+
query_params[:'field'] = field
|
786
810
|
|
787
811
|
# header parameters
|
788
812
|
header_params = opts[:header_params] || {}
|
@@ -796,13 +820,13 @@ module Falcon
|
|
796
820
|
post_body = opts[:debug_body]
|
797
821
|
|
798
822
|
# return_type
|
799
|
-
return_type = opts[:debug_return_type] || '
|
823
|
+
return_type = opts[:debug_return_type] || 'TypesCountResponse'
|
800
824
|
|
801
825
|
# auth_names
|
802
826
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
803
827
|
|
804
828
|
new_options = opts.merge(
|
805
|
-
:operation => :"ASPM.
|
829
|
+
:operation => :"ASPM.execute_function_data_query_count",
|
806
830
|
:header_params => header_params,
|
807
831
|
:query_params => query_params,
|
808
832
|
:form_params => form_params,
|
@@ -813,47 +837,38 @@ module Falcon
|
|
813
837
|
|
814
838
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
815
839
|
if @api_client.config.debugging
|
816
|
-
@api_client.config.logger.debug "API called: ASPM#
|
840
|
+
@api_client.config.logger.debug "API called: ASPM#execute_function_data_query_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
817
841
|
end
|
818
842
|
return data, status_code, headers
|
819
843
|
end
|
820
844
|
|
821
|
-
#
|
845
|
+
# A selected list of queryLanguage services queries. request & response are in MSA format
|
846
|
+
# @param field [String]
|
822
847
|
# @param [Hash] opts the optional parameters
|
823
|
-
# @
|
824
|
-
|
825
|
-
|
826
|
-
# @option opts [String] :names
|
827
|
-
# @return [TypesGetIntegrationTasksMetadataResponse]
|
828
|
-
def get_integration_tasks_metadata(opts = {})
|
829
|
-
data, _status_code, _headers = get_integration_tasks_metadata_with_http_info(opts)
|
848
|
+
# @return [TypesGeneralQueryResponse]
|
849
|
+
def execute_functions(field, opts = {})
|
850
|
+
data, _status_code, _headers = execute_functions_with_http_info(field, opts)
|
830
851
|
data
|
831
852
|
end
|
832
853
|
|
833
|
-
#
|
854
|
+
# A selected list of queryLanguage services queries. request & response are in MSA format
|
855
|
+
# @param field [String]
|
834
856
|
# @param [Hash] opts the optional parameters
|
835
|
-
# @
|
836
|
-
|
837
|
-
# @option opts [Integer] :ids
|
838
|
-
# @option opts [String] :names
|
839
|
-
# @return [Array<(TypesGetIntegrationTasksMetadataResponse, Integer, Hash)>] TypesGetIntegrationTasksMetadataResponse data, response status code and response headers
|
840
|
-
def get_integration_tasks_metadata_with_http_info(opts = {})
|
857
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
858
|
+
def execute_functions_with_http_info(field, opts = {})
|
841
859
|
if @api_client.config.debugging
|
842
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
860
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions ...'
|
843
861
|
end
|
844
|
-
|
845
|
-
if @api_client.config.client_side_validation &&
|
846
|
-
fail ArgumentError, "
|
862
|
+
# verify the required parameter 'field' is set
|
863
|
+
if @api_client.config.client_side_validation && field.nil?
|
864
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_functions"
|
847
865
|
end
|
848
866
|
# resource path
|
849
|
-
local_var_path = '/
|
867
|
+
local_var_path = '/application-security/combined/functions/v1'
|
850
868
|
|
851
869
|
# query parameters
|
852
870
|
query_params = opts[:query_params] || {}
|
853
|
-
query_params[:'
|
854
|
-
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
855
|
-
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
856
|
-
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
871
|
+
query_params[:'field'] = field
|
857
872
|
|
858
873
|
# header parameters
|
859
874
|
header_params = opts[:header_params] || {}
|
@@ -867,13 +882,13 @@ module Falcon
|
|
867
882
|
post_body = opts[:debug_body]
|
868
883
|
|
869
884
|
# return_type
|
870
|
-
return_type = opts[:debug_return_type] || '
|
885
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
871
886
|
|
872
887
|
# auth_names
|
873
888
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
874
889
|
|
875
890
|
new_options = opts.merge(
|
876
|
-
:operation => :"ASPM.
|
891
|
+
:operation => :"ASPM.execute_functions",
|
877
892
|
:header_params => header_params,
|
878
893
|
:query_params => query_params,
|
879
894
|
:form_params => form_params,
|
@@ -884,31 +899,59 @@ module Falcon
|
|
884
899
|
|
885
900
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
886
901
|
if @api_client.config.debugging
|
887
|
-
@api_client.config.logger.debug "API called: ASPM#
|
902
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
888
903
|
end
|
889
904
|
return data, status_code, headers
|
890
905
|
end
|
891
906
|
|
892
|
-
#
|
907
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
908
|
+
# @param query_name [String]
|
893
909
|
# @param [Hash] opts the optional parameters
|
894
|
-
# @
|
895
|
-
|
896
|
-
|
910
|
+
# @option opts [Array<String>] :cloud_provider
|
911
|
+
# @option opts [Array<String>] :cloud_account_id required for 'aws' cloud provider
|
912
|
+
# @option opts [Array<String>] :region required for 'gcp' cloud provider
|
913
|
+
# @option opts [Array<String>] :cid required for 'azure' cloud provider
|
914
|
+
# @return [TypesCountResponse]
|
915
|
+
def execute_functions_count(query_name, opts = {})
|
916
|
+
data, _status_code, _headers = execute_functions_count_with_http_info(query_name, opts)
|
897
917
|
data
|
898
918
|
end
|
899
919
|
|
900
|
-
#
|
920
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
921
|
+
# @param query_name [String]
|
901
922
|
# @param [Hash] opts the optional parameters
|
902
|
-
# @
|
903
|
-
|
923
|
+
# @option opts [Array<String>] :cloud_provider
|
924
|
+
# @option opts [Array<String>] :cloud_account_id required for 'aws' cloud provider
|
925
|
+
# @option opts [Array<String>] :region required for 'gcp' cloud provider
|
926
|
+
# @option opts [Array<String>] :cid required for 'azure' cloud provider
|
927
|
+
# @return [Array<(TypesCountResponse, Integer, Hash)>] TypesCountResponse data, response status code and response headers
|
928
|
+
def execute_functions_count_with_http_info(query_name, opts = {})
|
904
929
|
if @api_client.config.debugging
|
905
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
930
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions_count ...'
|
931
|
+
end
|
932
|
+
# verify the required parameter 'query_name' is set
|
933
|
+
if @api_client.config.client_side_validation && query_name.nil?
|
934
|
+
fail ArgumentError, "Missing the required parameter 'query_name' when calling ASPM.execute_functions_count"
|
935
|
+
end
|
936
|
+
# verify enum value
|
937
|
+
allowable_values = ["sensitive_data", "reachable", "sensitive_datasources", "dependencies", "vulnerable_libraries"]
|
938
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(query_name)
|
939
|
+
fail ArgumentError, "invalid value for \"query_name\", must be one of #{allowable_values}"
|
940
|
+
end
|
941
|
+
allowable_values = []
|
942
|
+
if @api_client.config.client_side_validation && opts[:'cloud_provider'] && !opts[:'cloud_provider'].all? { |item| allowable_values.include?(item) }
|
943
|
+
fail ArgumentError, "invalid value for \"cloud_provider\", must include one of #{allowable_values}"
|
906
944
|
end
|
907
945
|
# resource path
|
908
|
-
local_var_path = '/
|
946
|
+
local_var_path = '/application-security/aggregates/functions/count/v1'
|
909
947
|
|
910
948
|
# query parameters
|
911
949
|
query_params = opts[:query_params] || {}
|
950
|
+
query_params[:'query_name'] = query_name
|
951
|
+
query_params[:'cloud_provider'] = @api_client.build_collection_param(opts[:'cloud_provider'], :csv) if !opts[:'cloud_provider'].nil?
|
952
|
+
query_params[:'cloud_account_id'] = @api_client.build_collection_param(opts[:'cloud_account_id'], :csv) if !opts[:'cloud_account_id'].nil?
|
953
|
+
query_params[:'region'] = @api_client.build_collection_param(opts[:'region'], :csv) if !opts[:'region'].nil?
|
954
|
+
query_params[:'cid'] = @api_client.build_collection_param(opts[:'cid'], :csv) if !opts[:'cid'].nil?
|
912
955
|
|
913
956
|
# header parameters
|
914
957
|
header_params = opts[:header_params] || {}
|
@@ -922,13 +965,13 @@ module Falcon
|
|
922
965
|
post_body = opts[:debug_body]
|
923
966
|
|
924
967
|
# return_type
|
925
|
-
return_type = opts[:debug_return_type] || '
|
968
|
+
return_type = opts[:debug_return_type] || 'TypesCountResponse'
|
926
969
|
|
927
970
|
# auth_names
|
928
971
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
929
972
|
|
930
973
|
new_options = opts.merge(
|
931
|
-
:operation => :"ASPM.
|
974
|
+
:operation => :"ASPM.execute_functions_count",
|
932
975
|
:header_params => header_params,
|
933
976
|
:query_params => query_params,
|
934
977
|
:form_params => form_params,
|
@@ -937,39 +980,1825 @@ module Falcon
|
|
937
980
|
:return_type => return_type
|
938
981
|
)
|
939
982
|
|
940
|
-
data, status_code, headers = @api_client.call_api(:
|
983
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
941
984
|
if @api_client.config.debugging
|
942
|
-
@api_client.config.logger.debug "API called: ASPM#
|
985
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
943
986
|
end
|
944
987
|
return data, status_code, headers
|
945
988
|
end
|
946
989
|
|
947
|
-
#
|
990
|
+
# A selected list of queryLanguage overtime queries. request & response are in MSA format
|
991
|
+
# @param field [String]
|
948
992
|
# @param [Hash] opts the optional parameters
|
949
|
-
# @
|
950
|
-
|
951
|
-
|
952
|
-
def get_integrations(opts = {})
|
953
|
-
data, _status_code, _headers = get_integrations_with_http_info(opts)
|
993
|
+
# @return [TypesOvertimeResponse]
|
994
|
+
def execute_functions_overtime(field, opts = {})
|
995
|
+
data, _status_code, _headers = execute_functions_overtime_with_http_info(field, opts)
|
954
996
|
data
|
955
997
|
end
|
956
998
|
|
957
|
-
#
|
999
|
+
# A selected list of queryLanguage overtime queries. request & response are in MSA format
|
1000
|
+
# @param field [String]
|
958
1001
|
# @param [Hash] opts the optional parameters
|
959
|
-
# @
|
1002
|
+
# @return [Array<(TypesOvertimeResponse, Integer, Hash)>] TypesOvertimeResponse data, response status code and response headers
|
1003
|
+
def execute_functions_overtime_with_http_info(field, opts = {})
|
1004
|
+
if @api_client.config.debugging
|
1005
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions_overtime ...'
|
1006
|
+
end
|
1007
|
+
# verify the required parameter 'field' is set
|
1008
|
+
if @api_client.config.client_side_validation && field.nil?
|
1009
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_functions_overtime"
|
1010
|
+
end
|
1011
|
+
# resource path
|
1012
|
+
local_var_path = '/application-security/combined/functions-overtime/v1'
|
1013
|
+
|
1014
|
+
# query parameters
|
1015
|
+
query_params = opts[:query_params] || {}
|
1016
|
+
query_params[:'field'] = field
|
1017
|
+
|
1018
|
+
# header parameters
|
1019
|
+
header_params = opts[:header_params] || {}
|
1020
|
+
# HTTP header 'Accept' (if needed)
|
1021
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1022
|
+
|
1023
|
+
# form parameters
|
1024
|
+
form_params = opts[:form_params] || {}
|
1025
|
+
|
1026
|
+
# http body (model)
|
1027
|
+
post_body = opts[:debug_body]
|
1028
|
+
|
1029
|
+
# return_type
|
1030
|
+
return_type = opts[:debug_return_type] || 'TypesOvertimeResponse'
|
1031
|
+
|
1032
|
+
# auth_names
|
1033
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1034
|
+
|
1035
|
+
new_options = opts.merge(
|
1036
|
+
:operation => :"ASPM.execute_functions_overtime",
|
1037
|
+
:header_params => header_params,
|
1038
|
+
:query_params => query_params,
|
1039
|
+
:form_params => form_params,
|
1040
|
+
:body => post_body,
|
1041
|
+
:auth_names => auth_names,
|
1042
|
+
:return_type => return_type
|
1043
|
+
)
|
1044
|
+
|
1045
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1046
|
+
if @api_client.config.debugging
|
1047
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions_overtime\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1048
|
+
end
|
1049
|
+
return data, status_code, headers
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# A selected list of queryLanguage services queries. request & response are in MSA format
|
1053
|
+
# @param field [String]
|
1054
|
+
# @param [Hash] opts the optional parameters
|
1055
|
+
# @return [TypesGeneralQueryResponse]
|
1056
|
+
def execute_functions_query(field, opts = {})
|
1057
|
+
data, _status_code, _headers = execute_functions_query_with_http_info(field, opts)
|
1058
|
+
data
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# A selected list of queryLanguage services queries. request & response are in MSA format
|
1062
|
+
# @param field [String]
|
1063
|
+
# @param [Hash] opts the optional parameters
|
1064
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
1065
|
+
def execute_functions_query_with_http_info(field, opts = {})
|
1066
|
+
if @api_client.config.debugging
|
1067
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions_query ...'
|
1068
|
+
end
|
1069
|
+
# verify the required parameter 'field' is set
|
1070
|
+
if @api_client.config.client_side_validation && field.nil?
|
1071
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_functions_query"
|
1072
|
+
end
|
1073
|
+
# resource path
|
1074
|
+
local_var_path = '/application-security/combined/query-functions/v1'
|
1075
|
+
|
1076
|
+
# query parameters
|
1077
|
+
query_params = opts[:query_params] || {}
|
1078
|
+
query_params[:'field'] = field
|
1079
|
+
|
1080
|
+
# header parameters
|
1081
|
+
header_params = opts[:header_params] || {}
|
1082
|
+
# HTTP header 'Accept' (if needed)
|
1083
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1084
|
+
|
1085
|
+
# form parameters
|
1086
|
+
form_params = opts[:form_params] || {}
|
1087
|
+
|
1088
|
+
# http body (model)
|
1089
|
+
post_body = opts[:debug_body]
|
1090
|
+
|
1091
|
+
# return_type
|
1092
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
1093
|
+
|
1094
|
+
# auth_names
|
1095
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1096
|
+
|
1097
|
+
new_options = opts.merge(
|
1098
|
+
:operation => :"ASPM.execute_functions_query",
|
1099
|
+
:header_params => header_params,
|
1100
|
+
:query_params => query_params,
|
1101
|
+
:form_params => form_params,
|
1102
|
+
:body => post_body,
|
1103
|
+
:auth_names => auth_names,
|
1104
|
+
:return_type => return_type
|
1105
|
+
)
|
1106
|
+
|
1107
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1108
|
+
if @api_client.config.debugging
|
1109
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1110
|
+
end
|
1111
|
+
return data, status_code, headers
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
1115
|
+
# @param field [String]
|
1116
|
+
# @param [Hash] opts the optional parameters
|
1117
|
+
# @return [TypesCountResponse]
|
1118
|
+
def execute_functions_query_count(field, opts = {})
|
1119
|
+
data, _status_code, _headers = execute_functions_query_count_with_http_info(field, opts)
|
1120
|
+
data
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# A selected list of queryLanguage count queries. request & response are in MSA format
|
1124
|
+
# @param field [String]
|
1125
|
+
# @param [Hash] opts the optional parameters
|
1126
|
+
# @return [Array<(TypesCountResponse, Integer, Hash)>] TypesCountResponse data, response status code and response headers
|
1127
|
+
def execute_functions_query_count_with_http_info(field, opts = {})
|
1128
|
+
if @api_client.config.debugging
|
1129
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions_query_count ...'
|
1130
|
+
end
|
1131
|
+
# verify the required parameter 'field' is set
|
1132
|
+
if @api_client.config.client_side_validation && field.nil?
|
1133
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_functions_query_count"
|
1134
|
+
end
|
1135
|
+
# resource path
|
1136
|
+
local_var_path = '/application-security/aggregates/query-functions-count/v1'
|
1137
|
+
|
1138
|
+
# query parameters
|
1139
|
+
query_params = opts[:query_params] || {}
|
1140
|
+
query_params[:'field'] = field
|
1141
|
+
|
1142
|
+
# header parameters
|
1143
|
+
header_params = opts[:header_params] || {}
|
1144
|
+
# HTTP header 'Accept' (if needed)
|
1145
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1146
|
+
|
1147
|
+
# form parameters
|
1148
|
+
form_params = opts[:form_params] || {}
|
1149
|
+
|
1150
|
+
# http body (model)
|
1151
|
+
post_body = opts[:debug_body]
|
1152
|
+
|
1153
|
+
# return_type
|
1154
|
+
return_type = opts[:debug_return_type] || 'TypesCountResponse'
|
1155
|
+
|
1156
|
+
# auth_names
|
1157
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1158
|
+
|
1159
|
+
new_options = opts.merge(
|
1160
|
+
:operation => :"ASPM.execute_functions_query_count",
|
1161
|
+
:header_params => header_params,
|
1162
|
+
:query_params => query_params,
|
1163
|
+
:form_params => form_params,
|
1164
|
+
:body => post_body,
|
1165
|
+
:auth_names => auth_names,
|
1166
|
+
:return_type => return_type
|
1167
|
+
)
|
1168
|
+
|
1169
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1170
|
+
if @api_client.config.debugging
|
1171
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions_query_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1172
|
+
end
|
1173
|
+
return data, status_code, headers
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# A selected list of queryLanguage overtime queries. request & response are in MSA format
|
1177
|
+
# @param field [String]
|
1178
|
+
# @param [Hash] opts the optional parameters
|
1179
|
+
# @return [TypesOvertimeResponse]
|
1180
|
+
def execute_functions_query_overtime(field, opts = {})
|
1181
|
+
data, _status_code, _headers = execute_functions_query_overtime_with_http_info(field, opts)
|
1182
|
+
data
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# A selected list of queryLanguage overtime queries. request & response are in MSA format
|
1186
|
+
# @param field [String]
|
1187
|
+
# @param [Hash] opts the optional parameters
|
1188
|
+
# @return [Array<(TypesOvertimeResponse, Integer, Hash)>] TypesOvertimeResponse data, response status code and response headers
|
1189
|
+
def execute_functions_query_overtime_with_http_info(field, opts = {})
|
1190
|
+
if @api_client.config.debugging
|
1191
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_functions_query_overtime ...'
|
1192
|
+
end
|
1193
|
+
# verify the required parameter 'field' is set
|
1194
|
+
if @api_client.config.client_side_validation && field.nil?
|
1195
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling ASPM.execute_functions_query_overtime"
|
1196
|
+
end
|
1197
|
+
# resource path
|
1198
|
+
local_var_path = '/application-security/combined/query-functions-overtime/v1'
|
1199
|
+
|
1200
|
+
# query parameters
|
1201
|
+
query_params = opts[:query_params] || {}
|
1202
|
+
query_params[:'field'] = field
|
1203
|
+
|
1204
|
+
# header parameters
|
1205
|
+
header_params = opts[:header_params] || {}
|
1206
|
+
# HTTP header 'Accept' (if needed)
|
1207
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1208
|
+
|
1209
|
+
# form parameters
|
1210
|
+
form_params = opts[:form_params] || {}
|
1211
|
+
|
1212
|
+
# http body (model)
|
1213
|
+
post_body = opts[:debug_body]
|
1214
|
+
|
1215
|
+
# return_type
|
1216
|
+
return_type = opts[:debug_return_type] || 'TypesOvertimeResponse'
|
1217
|
+
|
1218
|
+
# auth_names
|
1219
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1220
|
+
|
1221
|
+
new_options = opts.merge(
|
1222
|
+
:operation => :"ASPM.execute_functions_query_overtime",
|
1223
|
+
:header_params => header_params,
|
1224
|
+
:query_params => query_params,
|
1225
|
+
:form_params => form_params,
|
1226
|
+
:body => post_body,
|
1227
|
+
:auth_names => auth_names,
|
1228
|
+
:return_type => return_type
|
1229
|
+
)
|
1230
|
+
|
1231
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1232
|
+
if @api_client.config.debugging
|
1233
|
+
@api_client.config.logger.debug "API called: ASPM#execute_functions_query_overtime\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1234
|
+
end
|
1235
|
+
return data, status_code, headers
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# Execute a query. The syntax used is identical to that of the query page.
|
1239
|
+
# @param body [TypesQueryRequest] **params details:** - selectFields: - **fields** - For filtering relevant fields only. - **withoutServices** - Default is set to **true**, you will not receive information about the services. If you want to get the relevant service, set to **false**. - **serviceFields**- For filtering relevant fields of the service (if you chose to get it)
|
1240
|
+
# @param [Hash] opts the optional parameters
|
1241
|
+
# @return [TypesQueryResponse]
|
1242
|
+
def execute_query(body, opts = {})
|
1243
|
+
data, _status_code, _headers = execute_query_with_http_info(body, opts)
|
1244
|
+
data
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# Execute a query. The syntax used is identical to that of the query page.
|
1248
|
+
# @param body [TypesQueryRequest] **params details:** - selectFields: - **fields** - For filtering relevant fields only. - **withoutServices** - Default is set to **true**, you will not receive information about the services. If you want to get the relevant service, set to **false**. - **serviceFields**- For filtering relevant fields of the service (if you chose to get it)
|
1249
|
+
# @param [Hash] opts the optional parameters
|
1250
|
+
# @return [Array<(TypesQueryResponse, Integer, Hash)>] TypesQueryResponse data, response status code and response headers
|
1251
|
+
def execute_query_with_http_info(body, opts = {})
|
1252
|
+
if @api_client.config.debugging
|
1253
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_query ...'
|
1254
|
+
end
|
1255
|
+
# verify the required parameter 'body' is set
|
1256
|
+
if @api_client.config.client_side_validation && body.nil?
|
1257
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.execute_query"
|
1258
|
+
end
|
1259
|
+
# resource path
|
1260
|
+
local_var_path = '/aspm-api-gateway/api/v1/query'
|
1261
|
+
|
1262
|
+
# query parameters
|
1263
|
+
query_params = opts[:query_params] || {}
|
1264
|
+
|
1265
|
+
# header parameters
|
1266
|
+
header_params = opts[:header_params] || {}
|
1267
|
+
# HTTP header 'Accept' (if needed)
|
1268
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1269
|
+
# HTTP header 'Content-Type'
|
1270
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1271
|
+
if !content_type.nil?
|
1272
|
+
header_params['Content-Type'] = content_type
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# form parameters
|
1276
|
+
form_params = opts[:form_params] || {}
|
1277
|
+
|
1278
|
+
# http body (model)
|
1279
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1280
|
+
|
1281
|
+
# return_type
|
1282
|
+
return_type = opts[:debug_return_type] || 'TypesQueryResponse'
|
1283
|
+
|
1284
|
+
# auth_names
|
1285
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1286
|
+
|
1287
|
+
new_options = opts.merge(
|
1288
|
+
:operation => :"ASPM.execute_query",
|
1289
|
+
:header_params => header_params,
|
1290
|
+
:query_params => query_params,
|
1291
|
+
:form_params => form_params,
|
1292
|
+
:body => post_body,
|
1293
|
+
:auth_names => auth_names,
|
1294
|
+
:return_type => return_type
|
1295
|
+
)
|
1296
|
+
|
1297
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1298
|
+
if @api_client.config.debugging
|
1299
|
+
@api_client.config.logger.debug "API called: ASPM#execute_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1300
|
+
end
|
1301
|
+
return data, status_code, headers
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# Get Cloud Security integration state
|
1305
|
+
# @param [Hash] opts the optional parameters
|
1306
|
+
# @return [TypesGetCloudSecurityIntegrationStateResponse]
|
1307
|
+
def get_cloud_security_integration_state(opts = {})
|
1308
|
+
data, _status_code, _headers = get_cloud_security_integration_state_with_http_info(opts)
|
1309
|
+
data
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# Get Cloud Security integration state
|
1313
|
+
# @param [Hash] opts the optional parameters
|
1314
|
+
# @return [Array<(TypesGetCloudSecurityIntegrationStateResponse, Integer, Hash)>] TypesGetCloudSecurityIntegrationStateResponse data, response status code and response headers
|
1315
|
+
def get_cloud_security_integration_state_with_http_info(opts = {})
|
1316
|
+
if @api_client.config.debugging
|
1317
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_cloud_security_integration_state ...'
|
1318
|
+
end
|
1319
|
+
# resource path
|
1320
|
+
local_var_path = '/aspm-api-gateway/api/v1/cloud_security_config'
|
1321
|
+
|
1322
|
+
# query parameters
|
1323
|
+
query_params = opts[:query_params] || {}
|
1324
|
+
|
1325
|
+
# header parameters
|
1326
|
+
header_params = opts[:header_params] || {}
|
1327
|
+
# HTTP header 'Accept' (if needed)
|
1328
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1329
|
+
|
1330
|
+
# form parameters
|
1331
|
+
form_params = opts[:form_params] || {}
|
1332
|
+
|
1333
|
+
# http body (model)
|
1334
|
+
post_body = opts[:debug_body]
|
1335
|
+
|
1336
|
+
# return_type
|
1337
|
+
return_type = opts[:debug_return_type] || 'TypesGetCloudSecurityIntegrationStateResponse'
|
1338
|
+
|
1339
|
+
# auth_names
|
1340
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1341
|
+
|
1342
|
+
new_options = opts.merge(
|
1343
|
+
:operation => :"ASPM.get_cloud_security_integration_state",
|
1344
|
+
:header_params => header_params,
|
1345
|
+
:query_params => query_params,
|
1346
|
+
:form_params => form_params,
|
1347
|
+
:body => post_body,
|
1348
|
+
:auth_names => auth_names,
|
1349
|
+
:return_type => return_type
|
1350
|
+
)
|
1351
|
+
|
1352
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1353
|
+
if @api_client.config.debugging
|
1354
|
+
@api_client.config.logger.debug "API called: ASPM#get_cloud_security_integration_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1355
|
+
end
|
1356
|
+
return data, status_code, headers
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# Gets services ordered by risk score for given BA
|
1360
|
+
# @param business_application_name [String] Business application name
|
1361
|
+
# @param [Hash] opts the optional parameters
|
1362
|
+
# @option opts [Integer] :offset Pagination offset
|
1363
|
+
# @option opts [Integer] :limit Pagination limit
|
1364
|
+
# @return [TypesGeneralQueryResponse]
|
1365
|
+
def get_cspm_inventory_ba_services(business_application_name, opts = {})
|
1366
|
+
data, _status_code, _headers = get_cspm_inventory_ba_services_with_http_info(business_application_name, opts)
|
1367
|
+
data
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# Gets services ordered by risk score for given BA
|
1371
|
+
# @param business_application_name [String] Business application name
|
1372
|
+
# @param [Hash] opts the optional parameters
|
1373
|
+
# @option opts [Integer] :offset Pagination offset
|
1374
|
+
# @option opts [Integer] :limit Pagination limit
|
1375
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
1376
|
+
def get_cspm_inventory_ba_services_with_http_info(business_application_name, opts = {})
|
1377
|
+
if @api_client.config.debugging
|
1378
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_cspm_inventory_ba_services ...'
|
1379
|
+
end
|
1380
|
+
# verify the required parameter 'business_application_name' is set
|
1381
|
+
if @api_client.config.client_side_validation && business_application_name.nil?
|
1382
|
+
fail ArgumentError, "Missing the required parameter 'business_application_name' when calling ASPM.get_cspm_inventory_ba_services"
|
1383
|
+
end
|
1384
|
+
# resource path
|
1385
|
+
local_var_path = '/application-security/combined/cspm-inventory-ba-services/v1'
|
1386
|
+
|
1387
|
+
# query parameters
|
1388
|
+
query_params = opts[:query_params] || {}
|
1389
|
+
query_params[:'business_application_name'] = business_application_name
|
1390
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1391
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1392
|
+
|
1393
|
+
# header parameters
|
1394
|
+
header_params = opts[:header_params] || {}
|
1395
|
+
# HTTP header 'Accept' (if needed)
|
1396
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1397
|
+
|
1398
|
+
# form parameters
|
1399
|
+
form_params = opts[:form_params] || {}
|
1400
|
+
|
1401
|
+
# http body (model)
|
1402
|
+
post_body = opts[:debug_body]
|
1403
|
+
|
1404
|
+
# return_type
|
1405
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
1406
|
+
|
1407
|
+
# auth_names
|
1408
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1409
|
+
|
1410
|
+
new_options = opts.merge(
|
1411
|
+
:operation => :"ASPM.get_cspm_inventory_ba_services",
|
1412
|
+
:header_params => header_params,
|
1413
|
+
:query_params => query_params,
|
1414
|
+
:form_params => form_params,
|
1415
|
+
:body => post_body,
|
1416
|
+
:auth_names => auth_names,
|
1417
|
+
:return_type => return_type
|
1418
|
+
)
|
1419
|
+
|
1420
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1421
|
+
if @api_client.config.debugging
|
1422
|
+
@api_client.config.logger.debug "API called: ASPM#get_cspm_inventory_ba_services\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1423
|
+
end
|
1424
|
+
return data, status_code, headers
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# Gets all service details for CSPM Inventory.
|
1428
|
+
# @param persistent_signature [String] Service signature
|
1429
|
+
# @param [Hash] opts the optional parameters
|
1430
|
+
# @return [TypesGeneralQueryResponse]
|
1431
|
+
def get_cspm_inventory_service_details(persistent_signature, opts = {})
|
1432
|
+
data, _status_code, _headers = get_cspm_inventory_service_details_with_http_info(persistent_signature, opts)
|
1433
|
+
data
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# Gets all service details for CSPM Inventory.
|
1437
|
+
# @param persistent_signature [String] Service signature
|
1438
|
+
# @param [Hash] opts the optional parameters
|
1439
|
+
# @return [Array<(TypesGeneralQueryResponse, Integer, Hash)>] TypesGeneralQueryResponse data, response status code and response headers
|
1440
|
+
def get_cspm_inventory_service_details_with_http_info(persistent_signature, opts = {})
|
1441
|
+
if @api_client.config.debugging
|
1442
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_cspm_inventory_service_details ...'
|
1443
|
+
end
|
1444
|
+
# verify the required parameter 'persistent_signature' is set
|
1445
|
+
if @api_client.config.client_side_validation && persistent_signature.nil?
|
1446
|
+
fail ArgumentError, "Missing the required parameter 'persistent_signature' when calling ASPM.get_cspm_inventory_service_details"
|
1447
|
+
end
|
1448
|
+
# resource path
|
1449
|
+
local_var_path = '/application-security/combined/cspm-inventory-service-data/v1'
|
1450
|
+
|
1451
|
+
# query parameters
|
1452
|
+
query_params = opts[:query_params] || {}
|
1453
|
+
query_params[:'persistent_signature'] = persistent_signature
|
1454
|
+
|
1455
|
+
# header parameters
|
1456
|
+
header_params = opts[:header_params] || {}
|
1457
|
+
# HTTP header 'Accept' (if needed)
|
1458
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1459
|
+
|
1460
|
+
# form parameters
|
1461
|
+
form_params = opts[:form_params] || {}
|
1462
|
+
|
1463
|
+
# http body (model)
|
1464
|
+
post_body = opts[:debug_body]
|
1465
|
+
|
1466
|
+
# return_type
|
1467
|
+
return_type = opts[:debug_return_type] || 'TypesGeneralQueryResponse'
|
1468
|
+
|
1469
|
+
# auth_names
|
1470
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1471
|
+
|
1472
|
+
new_options = opts.merge(
|
1473
|
+
:operation => :"ASPM.get_cspm_inventory_service_details",
|
1474
|
+
:header_params => header_params,
|
1475
|
+
:query_params => query_params,
|
1476
|
+
:form_params => form_params,
|
1477
|
+
:body => post_body,
|
1478
|
+
:auth_names => auth_names,
|
1479
|
+
:return_type => return_type
|
1480
|
+
)
|
1481
|
+
|
1482
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1483
|
+
if @api_client.config.debugging
|
1484
|
+
@api_client.config.logger.debug "API called: ASPM#get_cspm_inventory_service_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1485
|
+
end
|
1486
|
+
return data, status_code, headers
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Get all the relay nodes
|
1490
|
+
# @param node_type [String]
|
1491
|
+
# @param [Hash] opts the optional parameters
|
1492
|
+
# @option opts [Integer] :integration_type
|
1493
|
+
# @option opts [Integer] :offset
|
1494
|
+
# @option opts [Integer] :limit
|
1495
|
+
# @option opts [String] :order_by
|
1496
|
+
# @option opts [String] :direction
|
1497
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1498
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1499
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1500
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1501
|
+
# @return [TypesListExecutorNodesResponse]
|
1502
|
+
def get_executor_nodes(node_type, opts = {})
|
1503
|
+
data, _status_code, _headers = get_executor_nodes_with_http_info(node_type, opts)
|
1504
|
+
data
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# Get all the relay nodes
|
1508
|
+
# @param node_type [String]
|
1509
|
+
# @param [Hash] opts the optional parameters
|
1510
|
+
# @option opts [Integer] :integration_type
|
1511
|
+
# @option opts [Integer] :offset
|
1512
|
+
# @option opts [Integer] :limit
|
1513
|
+
# @option opts [String] :order_by
|
1514
|
+
# @option opts [String] :direction
|
1515
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1516
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1517
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1518
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1519
|
+
# @return [Array<(TypesListExecutorNodesResponse, Integer, Hash)>] TypesListExecutorNodesResponse data, response status code and response headers
|
1520
|
+
def get_executor_nodes_with_http_info(node_type, opts = {})
|
1521
|
+
if @api_client.config.debugging
|
1522
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes ...'
|
1523
|
+
end
|
1524
|
+
# verify the required parameter 'node_type' is set
|
1525
|
+
if @api_client.config.client_side_validation && node_type.nil?
|
1526
|
+
fail ArgumentError, "Missing the required parameter 'node_type' when calling ASPM.get_executor_nodes"
|
1527
|
+
end
|
1528
|
+
allowable_values = ["name", "id", "state", "type"]
|
1529
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
1530
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
1531
|
+
end
|
1532
|
+
allowable_values = ["asc", "desc"]
|
1533
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
1534
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
1535
|
+
end
|
1536
|
+
# resource path
|
1537
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes'
|
1538
|
+
|
1539
|
+
# query parameters
|
1540
|
+
query_params = opts[:query_params] || {}
|
1541
|
+
query_params[:'node_type'] = node_type
|
1542
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
1543
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1544
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1545
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
1546
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
1547
|
+
query_params[:'executor_node_ids'] = @api_client.build_collection_param(opts[:'executor_node_ids'], :csv) if !opts[:'executor_node_ids'].nil?
|
1548
|
+
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
1549
|
+
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
1550
|
+
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
1551
|
+
|
1552
|
+
# header parameters
|
1553
|
+
header_params = opts[:header_params] || {}
|
1554
|
+
# HTTP header 'Accept' (if needed)
|
1555
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1556
|
+
|
1557
|
+
# form parameters
|
1558
|
+
form_params = opts[:form_params] || {}
|
1559
|
+
|
1560
|
+
# http body (model)
|
1561
|
+
post_body = opts[:debug_body]
|
1562
|
+
|
1563
|
+
# return_type
|
1564
|
+
return_type = opts[:debug_return_type] || 'TypesListExecutorNodesResponse'
|
1565
|
+
|
1566
|
+
# auth_names
|
1567
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1568
|
+
|
1569
|
+
new_options = opts.merge(
|
1570
|
+
:operation => :"ASPM.get_executor_nodes",
|
1571
|
+
:header_params => header_params,
|
1572
|
+
:query_params => query_params,
|
1573
|
+
:form_params => form_params,
|
1574
|
+
:body => post_body,
|
1575
|
+
:auth_names => auth_names,
|
1576
|
+
:return_type => return_type
|
1577
|
+
)
|
1578
|
+
|
1579
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1580
|
+
if @api_client.config.debugging
|
1581
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1582
|
+
end
|
1583
|
+
return data, status_code, headers
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# Retrieve the relay instances in CSV format
|
1587
|
+
# @param id [Integer]
|
1588
|
+
# @param body [TypesExecutorNode]
|
1589
|
+
# @param [Hash] opts the optional parameters
|
1590
|
+
# @return [String]
|
1591
|
+
def get_executor_nodes_id_09_instances_csv(id, body, opts = {})
|
1592
|
+
data, _status_code, _headers = get_executor_nodes_id_09_instances_csv_with_http_info(id, body, opts)
|
1593
|
+
data
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
# Retrieve the relay instances in CSV format
|
1597
|
+
# @param id [Integer]
|
1598
|
+
# @param body [TypesExecutorNode]
|
1599
|
+
# @param [Hash] opts the optional parameters
|
1600
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
1601
|
+
def get_executor_nodes_id_09_instances_csv_with_http_info(id, body, opts = {})
|
1602
|
+
if @api_client.config.debugging
|
1603
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes_id_09_instances_csv ...'
|
1604
|
+
end
|
1605
|
+
# verify the required parameter 'id' is set
|
1606
|
+
if @api_client.config.client_side_validation && id.nil?
|
1607
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.get_executor_nodes_id_09_instances_csv"
|
1608
|
+
end
|
1609
|
+
pattern = Regexp.new(/[0-9]+/)
|
1610
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
1611
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.get_executor_nodes_id_09_instances_csv, must conform to the pattern #{pattern}."
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# verify the required parameter 'body' is set
|
1615
|
+
if @api_client.config.client_side_validation && body.nil?
|
1616
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_executor_nodes_id_09_instances_csv"
|
1617
|
+
end
|
1618
|
+
# resource path
|
1619
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes/{ID}/instances/csv'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1620
|
+
|
1621
|
+
# query parameters
|
1622
|
+
query_params = opts[:query_params] || {}
|
1623
|
+
|
1624
|
+
# header parameters
|
1625
|
+
header_params = opts[:header_params] || {}
|
1626
|
+
# HTTP header 'Accept' (if needed)
|
1627
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1628
|
+
# HTTP header 'Content-Type'
|
1629
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1630
|
+
if !content_type.nil?
|
1631
|
+
header_params['Content-Type'] = content_type
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
# form parameters
|
1635
|
+
form_params = opts[:form_params] || {}
|
1636
|
+
|
1637
|
+
# http body (model)
|
1638
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1639
|
+
|
1640
|
+
# return_type
|
1641
|
+
return_type = opts[:debug_return_type] || 'String'
|
1642
|
+
|
1643
|
+
# auth_names
|
1644
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1645
|
+
|
1646
|
+
new_options = opts.merge(
|
1647
|
+
:operation => :"ASPM.get_executor_nodes_id_09_instances_csv",
|
1648
|
+
:header_params => header_params,
|
1649
|
+
:query_params => query_params,
|
1650
|
+
:form_params => form_params,
|
1651
|
+
:body => post_body,
|
1652
|
+
:auth_names => auth_names,
|
1653
|
+
:return_type => return_type
|
1654
|
+
)
|
1655
|
+
|
1656
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1657
|
+
if @api_client.config.debugging
|
1658
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes_id_09_instances_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1659
|
+
end
|
1660
|
+
return data, status_code, headers
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# Get metadata about all executor nodes
|
1664
|
+
# @param [Hash] opts the optional parameters
|
1665
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1666
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1667
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1668
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1669
|
+
# @return [TypesGetExecutorNodesMetadataResponse]
|
1670
|
+
def get_executor_nodes_metadata(opts = {})
|
1671
|
+
data, _status_code, _headers = get_executor_nodes_metadata_with_http_info(opts)
|
1672
|
+
data
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
# Get metadata about all executor nodes
|
1676
|
+
# @param [Hash] opts the optional parameters
|
1677
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1678
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1679
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1680
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1681
|
+
# @return [Array<(TypesGetExecutorNodesMetadataResponse, Integer, Hash)>] TypesGetExecutorNodesMetadataResponse data, response status code and response headers
|
1682
|
+
def get_executor_nodes_metadata_with_http_info(opts = {})
|
1683
|
+
if @api_client.config.debugging
|
1684
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes_metadata ...'
|
1685
|
+
end
|
1686
|
+
# resource path
|
1687
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes/metadata'
|
1688
|
+
|
1689
|
+
# query parameters
|
1690
|
+
query_params = opts[:query_params] || {}
|
1691
|
+
query_params[:'executor_node_ids'] = @api_client.build_collection_param(opts[:'executor_node_ids'], :csv) if !opts[:'executor_node_ids'].nil?
|
1692
|
+
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
1693
|
+
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
1694
|
+
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
1695
|
+
|
1696
|
+
# header parameters
|
1697
|
+
header_params = opts[:header_params] || {}
|
1698
|
+
# HTTP header 'Accept' (if needed)
|
1699
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1700
|
+
|
1701
|
+
# form parameters
|
1702
|
+
form_params = opts[:form_params] || {}
|
1703
|
+
|
1704
|
+
# http body (model)
|
1705
|
+
post_body = opts[:debug_body]
|
1706
|
+
|
1707
|
+
# return_type
|
1708
|
+
return_type = opts[:debug_return_type] || 'TypesGetExecutorNodesMetadataResponse'
|
1709
|
+
|
1710
|
+
# auth_names
|
1711
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1712
|
+
|
1713
|
+
new_options = opts.merge(
|
1714
|
+
:operation => :"ASPM.get_executor_nodes_metadata",
|
1715
|
+
:header_params => header_params,
|
1716
|
+
:query_params => query_params,
|
1717
|
+
:form_params => form_params,
|
1718
|
+
:body => post_body,
|
1719
|
+
:auth_names => auth_names,
|
1720
|
+
:return_type => return_type
|
1721
|
+
)
|
1722
|
+
|
1723
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1724
|
+
if @api_client.config.debugging
|
1725
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1726
|
+
end
|
1727
|
+
return data, status_code, headers
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# Get group details
|
1731
|
+
# @param id [Integer] Group ID
|
1732
|
+
# @param [Hash] opts the optional parameters
|
1733
|
+
# @return [TypesGroupDetails]
|
1734
|
+
def get_group_id_09_v2(id, opts = {})
|
1735
|
+
data, _status_code, _headers = get_group_id_09_v2_with_http_info(id, opts)
|
1736
|
+
data
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# Get group details
|
1740
|
+
# @param id [Integer] Group ID
|
1741
|
+
# @param [Hash] opts the optional parameters
|
1742
|
+
# @return [Array<(TypesGroupDetails, Integer, Hash)>] TypesGroupDetails data, response status code and response headers
|
1743
|
+
def get_group_id_09_v2_with_http_info(id, opts = {})
|
1744
|
+
if @api_client.config.debugging
|
1745
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_group_id_09_v2 ...'
|
1746
|
+
end
|
1747
|
+
# verify the required parameter 'id' is set
|
1748
|
+
if @api_client.config.client_side_validation && id.nil?
|
1749
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.get_group_id_09_v2"
|
1750
|
+
end
|
1751
|
+
pattern = Regexp.new(/[0-9]+/)
|
1752
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
1753
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.get_group_id_09_v2, must conform to the pattern #{pattern}."
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
# resource path
|
1757
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1758
|
+
|
1759
|
+
# query parameters
|
1760
|
+
query_params = opts[:query_params] || {}
|
1761
|
+
|
1762
|
+
# header parameters
|
1763
|
+
header_params = opts[:header_params] || {}
|
1764
|
+
# HTTP header 'Accept' (if needed)
|
1765
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1766
|
+
|
1767
|
+
# form parameters
|
1768
|
+
form_params = opts[:form_params] || {}
|
1769
|
+
|
1770
|
+
# http body (model)
|
1771
|
+
post_body = opts[:debug_body]
|
1772
|
+
|
1773
|
+
# return_type
|
1774
|
+
return_type = opts[:debug_return_type] || 'TypesGroupDetails'
|
1775
|
+
|
1776
|
+
# auth_names
|
1777
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1778
|
+
|
1779
|
+
new_options = opts.merge(
|
1780
|
+
:operation => :"ASPM.get_group_id_09_v2",
|
1781
|
+
:header_params => header_params,
|
1782
|
+
:query_params => query_params,
|
1783
|
+
:form_params => form_params,
|
1784
|
+
:body => post_body,
|
1785
|
+
:auth_names => auth_names,
|
1786
|
+
:return_type => return_type
|
1787
|
+
)
|
1788
|
+
|
1789
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1790
|
+
if @api_client.config.debugging
|
1791
|
+
@api_client.config.logger.debug "API called: ASPM#get_group_id_09_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1792
|
+
end
|
1793
|
+
return data, status_code, headers
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
# Get group hierarchy
|
1797
|
+
# @param [Hash] opts the optional parameters
|
1798
|
+
# @return [TypesGroupHierarchyResponse]
|
1799
|
+
def get_groups_hier_v2(opts = {})
|
1800
|
+
data, _status_code, _headers = get_groups_hier_v2_with_http_info(opts)
|
1801
|
+
data
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
# Get group hierarchy
|
1805
|
+
# @param [Hash] opts the optional parameters
|
1806
|
+
# @return [Array<(TypesGroupHierarchyResponse, Integer, Hash)>] TypesGroupHierarchyResponse data, response status code and response headers
|
1807
|
+
def get_groups_hier_v2_with_http_info(opts = {})
|
1808
|
+
if @api_client.config.debugging
|
1809
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_groups_hier_v2 ...'
|
1810
|
+
end
|
1811
|
+
# resource path
|
1812
|
+
local_var_path = '/aspm-api-gateway/api/v1/groups/hier/v2'
|
1813
|
+
|
1814
|
+
# query parameters
|
1815
|
+
query_params = opts[:query_params] || {}
|
1816
|
+
|
1817
|
+
# header parameters
|
1818
|
+
header_params = opts[:header_params] || {}
|
1819
|
+
# HTTP header 'Accept' (if needed)
|
1820
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1821
|
+
|
1822
|
+
# form parameters
|
1823
|
+
form_params = opts[:form_params] || {}
|
1824
|
+
|
1825
|
+
# http body (model)
|
1826
|
+
post_body = opts[:debug_body]
|
1827
|
+
|
1828
|
+
# return_type
|
1829
|
+
return_type = opts[:debug_return_type] || 'TypesGroupHierarchyResponse'
|
1830
|
+
|
1831
|
+
# auth_names
|
1832
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1833
|
+
|
1834
|
+
new_options = opts.merge(
|
1835
|
+
:operation => :"ASPM.get_groups_hier_v2",
|
1836
|
+
:header_params => header_params,
|
1837
|
+
:query_params => query_params,
|
1838
|
+
:form_params => form_params,
|
1839
|
+
:body => post_body,
|
1840
|
+
:auth_names => auth_names,
|
1841
|
+
:return_type => return_type
|
1842
|
+
)
|
1843
|
+
|
1844
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1845
|
+
if @api_client.config.debugging
|
1846
|
+
@api_client.config.logger.debug "API called: ASPM#get_groups_hier_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1847
|
+
end
|
1848
|
+
return data, status_code, headers
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
# @param [Hash] opts the optional parameters
|
1852
|
+
# @option opts [String] :type Group types to query - can either be empty (all), parents, children
|
1853
|
+
# @return [Array<TypesGroupListItem>]
|
1854
|
+
def get_groups_list_v2(opts = {})
|
1855
|
+
data, _status_code, _headers = get_groups_list_v2_with_http_info(opts)
|
1856
|
+
data
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# @param [Hash] opts the optional parameters
|
1860
|
+
# @option opts [String] :type Group types to query - can either be empty (all), parents, children
|
1861
|
+
# @return [Array<(Array<TypesGroupListItem>, Integer, Hash)>] Array<TypesGroupListItem> data, response status code and response headers
|
1862
|
+
def get_groups_list_v2_with_http_info(opts = {})
|
1863
|
+
if @api_client.config.debugging
|
1864
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_groups_list_v2 ...'
|
1865
|
+
end
|
1866
|
+
# resource path
|
1867
|
+
local_var_path = '/aspm-api-gateway/api/v1/groups/list/v2'
|
1868
|
+
|
1869
|
+
# query parameters
|
1870
|
+
query_params = opts[:query_params] || {}
|
1871
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
1872
|
+
|
1873
|
+
# header parameters
|
1874
|
+
header_params = opts[:header_params] || {}
|
1875
|
+
# HTTP header 'Accept' (if needed)
|
1876
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1877
|
+
|
1878
|
+
# form parameters
|
1879
|
+
form_params = opts[:form_params] || {}
|
1880
|
+
|
1881
|
+
# http body (model)
|
1882
|
+
post_body = opts[:debug_body]
|
1883
|
+
|
1884
|
+
# return_type
|
1885
|
+
return_type = opts[:debug_return_type] || 'Array<TypesGroupListItem>'
|
1886
|
+
|
1887
|
+
# auth_names
|
1888
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1889
|
+
|
1890
|
+
new_options = opts.merge(
|
1891
|
+
:operation => :"ASPM.get_groups_list_v2",
|
1892
|
+
:header_params => header_params,
|
1893
|
+
:query_params => query_params,
|
1894
|
+
:form_params => form_params,
|
1895
|
+
:body => post_body,
|
1896
|
+
:auth_names => auth_names,
|
1897
|
+
:return_type => return_type
|
1898
|
+
)
|
1899
|
+
|
1900
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1901
|
+
if @api_client.config.debugging
|
1902
|
+
@api_client.config.logger.debug "API called: ASPM#get_groups_list_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1903
|
+
end
|
1904
|
+
return data, status_code, headers
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
# Get all the integration tasks
|
1908
|
+
# @param [Hash] opts the optional parameters
|
1909
|
+
# @option opts [Integer] :integration_task_type
|
1910
|
+
# @option opts [String] :category
|
1911
|
+
# @option opts [Integer] :offset
|
1912
|
+
# @option opts [Integer] :limit
|
1913
|
+
# @option opts [String] :order_by
|
1914
|
+
# @option opts [String] :direction
|
1915
|
+
# @option opts [Integer] :integration_task_types
|
1916
|
+
# @option opts [Integer] :ids
|
1917
|
+
# @option opts [String] :names
|
1918
|
+
# @return [TypesListIntegrationTasksResponse]
|
1919
|
+
def get_integration_tasks(opts = {})
|
1920
|
+
data, _status_code, _headers = get_integration_tasks_with_http_info(opts)
|
1921
|
+
data
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
# Get all the integration tasks
|
1925
|
+
# @param [Hash] opts the optional parameters
|
1926
|
+
# @option opts [Integer] :integration_task_type
|
1927
|
+
# @option opts [String] :category
|
1928
|
+
# @option opts [Integer] :offset
|
1929
|
+
# @option opts [Integer] :limit
|
1930
|
+
# @option opts [String] :order_by
|
1931
|
+
# @option opts [String] :direction
|
1932
|
+
# @option opts [Integer] :integration_task_types
|
1933
|
+
# @option opts [Integer] :ids
|
1934
|
+
# @option opts [String] :names
|
1935
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
1936
|
+
def get_integration_tasks_with_http_info(opts = {})
|
1937
|
+
if @api_client.config.debugging
|
1938
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks ...'
|
1939
|
+
end
|
1940
|
+
allowable_values = ["name", "id", "integrationTask"]
|
1941
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
1942
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
1943
|
+
end
|
1944
|
+
allowable_values = ["asc", "desc"]
|
1945
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
1946
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
1947
|
+
end
|
1948
|
+
# resource path
|
1949
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks'
|
1950
|
+
|
1951
|
+
# query parameters
|
1952
|
+
query_params = opts[:query_params] || {}
|
1953
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
1954
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1955
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1956
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1957
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
1958
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
1959
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
1960
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
1961
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
1962
|
+
|
1963
|
+
# header parameters
|
1964
|
+
header_params = opts[:header_params] || {}
|
1965
|
+
# HTTP header 'Accept' (if needed)
|
1966
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1967
|
+
|
1968
|
+
# form parameters
|
1969
|
+
form_params = opts[:form_params] || {}
|
1970
|
+
|
1971
|
+
# http body (model)
|
1972
|
+
post_body = opts[:debug_body]
|
1973
|
+
|
1974
|
+
# return_type
|
1975
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
1976
|
+
|
1977
|
+
# auth_names
|
1978
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1979
|
+
|
1980
|
+
new_options = opts.merge(
|
1981
|
+
:operation => :"ASPM.get_integration_tasks",
|
1982
|
+
:header_params => header_params,
|
1983
|
+
:query_params => query_params,
|
1984
|
+
:form_params => form_params,
|
1985
|
+
:body => post_body,
|
1986
|
+
:auth_names => auth_names,
|
1987
|
+
:return_type => return_type
|
1988
|
+
)
|
1989
|
+
|
1990
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1991
|
+
if @api_client.config.debugging
|
1992
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1993
|
+
end
|
1994
|
+
return data, status_code, headers
|
1995
|
+
end
|
1996
|
+
|
1997
|
+
# Get all the integration tasks, requires admin scope
|
1998
|
+
# @param [Hash] opts the optional parameters
|
1999
|
+
# @option opts [Integer] :integration_task_type
|
2000
|
+
# @option opts [String] :category
|
2001
|
+
# @option opts [Integer] :offset
|
2002
|
+
# @option opts [Integer] :limit
|
2003
|
+
# @option opts [String] :order_by
|
2004
|
+
# @option opts [String] :direction
|
2005
|
+
# @option opts [Integer] :integration_task_types
|
2006
|
+
# @option opts [Integer] :ids
|
2007
|
+
# @option opts [String] :names
|
2008
|
+
# @return [TypesListIntegrationTasksResponse]
|
2009
|
+
def get_integration_tasks_admin(opts = {})
|
2010
|
+
data, _status_code, _headers = get_integration_tasks_admin_with_http_info(opts)
|
2011
|
+
data
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Get all the integration tasks, requires admin scope
|
2015
|
+
# @param [Hash] opts the optional parameters
|
2016
|
+
# @option opts [Integer] :integration_task_type
|
2017
|
+
# @option opts [String] :category
|
2018
|
+
# @option opts [Integer] :offset
|
2019
|
+
# @option opts [Integer] :limit
|
2020
|
+
# @option opts [String] :order_by
|
2021
|
+
# @option opts [String] :direction
|
2022
|
+
# @option opts [Integer] :integration_task_types
|
2023
|
+
# @option opts [Integer] :ids
|
2024
|
+
# @option opts [String] :names
|
2025
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
2026
|
+
def get_integration_tasks_admin_with_http_info(opts = {})
|
2027
|
+
if @api_client.config.debugging
|
2028
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_admin ...'
|
2029
|
+
end
|
2030
|
+
allowable_values = ["name", "id", "integrationTask"]
|
2031
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
2032
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
2033
|
+
end
|
2034
|
+
allowable_values = ["asc", "desc"]
|
2035
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
2036
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
2037
|
+
end
|
2038
|
+
# resource path
|
2039
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/admin'
|
2040
|
+
|
2041
|
+
# query parameters
|
2042
|
+
query_params = opts[:query_params] || {}
|
2043
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
2044
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2045
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2046
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2047
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
2048
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
2049
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
2050
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
2051
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
2052
|
+
|
2053
|
+
# header parameters
|
2054
|
+
header_params = opts[:header_params] || {}
|
2055
|
+
# HTTP header 'Accept' (if needed)
|
2056
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2057
|
+
|
2058
|
+
# form parameters
|
2059
|
+
form_params = opts[:form_params] || {}
|
2060
|
+
|
2061
|
+
# http body (model)
|
2062
|
+
post_body = opts[:debug_body]
|
2063
|
+
|
2064
|
+
# return_type
|
2065
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
2066
|
+
|
2067
|
+
# auth_names
|
2068
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2069
|
+
|
2070
|
+
new_options = opts.merge(
|
2071
|
+
:operation => :"ASPM.get_integration_tasks_admin",
|
2072
|
+
:header_params => header_params,
|
2073
|
+
:query_params => query_params,
|
2074
|
+
:form_params => form_params,
|
2075
|
+
:body => post_body,
|
2076
|
+
:auth_names => auth_names,
|
2077
|
+
:return_type => return_type
|
2078
|
+
)
|
2079
|
+
|
2080
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2081
|
+
if @api_client.config.debugging
|
2082
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_admin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2083
|
+
end
|
2084
|
+
return data, status_code, headers
|
2085
|
+
end
|
2086
|
+
|
2087
|
+
# Get metadata about all integration tasks
|
2088
|
+
# @param [Hash] opts the optional parameters
|
2089
|
+
# @option opts [String] :category
|
2090
|
+
# @option opts [Integer] :integration_task_types
|
2091
|
+
# @option opts [Integer] :ids
|
2092
|
+
# @option opts [String] :names
|
2093
|
+
# @return [TypesGetIntegrationTasksMetadataResponse]
|
2094
|
+
def get_integration_tasks_metadata(opts = {})
|
2095
|
+
data, _status_code, _headers = get_integration_tasks_metadata_with_http_info(opts)
|
2096
|
+
data
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# Get metadata about all integration tasks
|
2100
|
+
# @param [Hash] opts the optional parameters
|
2101
|
+
# @option opts [String] :category
|
2102
|
+
# @option opts [Integer] :integration_task_types
|
2103
|
+
# @option opts [Integer] :ids
|
2104
|
+
# @option opts [String] :names
|
2105
|
+
# @return [Array<(TypesGetIntegrationTasksMetadataResponse, Integer, Hash)>] TypesGetIntegrationTasksMetadataResponse data, response status code and response headers
|
2106
|
+
def get_integration_tasks_metadata_with_http_info(opts = {})
|
2107
|
+
if @api_client.config.debugging
|
2108
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_metadata ...'
|
2109
|
+
end
|
2110
|
+
allowable_values = ["collecting", "exporting"]
|
2111
|
+
if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
|
2112
|
+
fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
|
2113
|
+
end
|
2114
|
+
# resource path
|
2115
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/metadata'
|
2116
|
+
|
2117
|
+
# query parameters
|
2118
|
+
query_params = opts[:query_params] || {}
|
2119
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2120
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
2121
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
2122
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
2123
|
+
|
2124
|
+
# header parameters
|
2125
|
+
header_params = opts[:header_params] || {}
|
2126
|
+
# HTTP header 'Accept' (if needed)
|
2127
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2128
|
+
|
2129
|
+
# form parameters
|
2130
|
+
form_params = opts[:form_params] || {}
|
2131
|
+
|
2132
|
+
# http body (model)
|
2133
|
+
post_body = opts[:debug_body]
|
2134
|
+
|
2135
|
+
# return_type
|
2136
|
+
return_type = opts[:debug_return_type] || 'TypesGetIntegrationTasksMetadataResponse'
|
2137
|
+
|
2138
|
+
# auth_names
|
2139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2140
|
+
|
2141
|
+
new_options = opts.merge(
|
2142
|
+
:operation => :"ASPM.get_integration_tasks_metadata",
|
2143
|
+
:header_params => header_params,
|
2144
|
+
:query_params => query_params,
|
2145
|
+
:form_params => form_params,
|
2146
|
+
:body => post_body,
|
2147
|
+
:auth_names => auth_names,
|
2148
|
+
:return_type => return_type
|
2149
|
+
)
|
2150
|
+
|
2151
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2152
|
+
if @api_client.config.debugging
|
2153
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2154
|
+
end
|
2155
|
+
return data, status_code, headers
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
# Get all the integration tasks
|
2159
|
+
# @param [Hash] opts the optional parameters
|
2160
|
+
# @option opts [Integer] :integration_task_type
|
2161
|
+
# @option opts [String] :category
|
2162
|
+
# @option opts [Integer] :offset
|
2163
|
+
# @option opts [Integer] :limit
|
2164
|
+
# @option opts [String] :order_by
|
2165
|
+
# @option opts [String] :direction
|
2166
|
+
# @option opts [Integer] :integration_task_types
|
2167
|
+
# @option opts [Integer] :ids
|
2168
|
+
# @option opts [String] :names
|
2169
|
+
# @return [TypesListIntegrationTasksResponse]
|
2170
|
+
def get_integration_tasks_v2(opts = {})
|
2171
|
+
data, _status_code, _headers = get_integration_tasks_v2_with_http_info(opts)
|
2172
|
+
data
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
# Get all the integration tasks
|
2176
|
+
# @param [Hash] opts the optional parameters
|
2177
|
+
# @option opts [Integer] :integration_task_type
|
2178
|
+
# @option opts [String] :category
|
2179
|
+
# @option opts [Integer] :offset
|
2180
|
+
# @option opts [Integer] :limit
|
2181
|
+
# @option opts [String] :order_by
|
2182
|
+
# @option opts [String] :direction
|
2183
|
+
# @option opts [Integer] :integration_task_types
|
2184
|
+
# @option opts [Integer] :ids
|
2185
|
+
# @option opts [String] :names
|
2186
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
2187
|
+
def get_integration_tasks_v2_with_http_info(opts = {})
|
2188
|
+
if @api_client.config.debugging
|
2189
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_v2 ...'
|
2190
|
+
end
|
2191
|
+
allowable_values = ["name", "id", "integrationTask"]
|
2192
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
2193
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
2194
|
+
end
|
2195
|
+
allowable_values = ["asc", "desc"]
|
2196
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
2197
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
2198
|
+
end
|
2199
|
+
# resource path
|
2200
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/v2'
|
2201
|
+
|
2202
|
+
# query parameters
|
2203
|
+
query_params = opts[:query_params] || {}
|
2204
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
2205
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2206
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2207
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2208
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
2209
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
2210
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
2211
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
2212
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
2213
|
+
|
2214
|
+
# header parameters
|
2215
|
+
header_params = opts[:header_params] || {}
|
2216
|
+
# HTTP header 'Accept' (if needed)
|
2217
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2218
|
+
|
2219
|
+
# form parameters
|
2220
|
+
form_params = opts[:form_params] || {}
|
2221
|
+
|
2222
|
+
# http body (model)
|
2223
|
+
post_body = opts[:debug_body]
|
2224
|
+
|
2225
|
+
# return_type
|
2226
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
2227
|
+
|
2228
|
+
# auth_names
|
2229
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2230
|
+
|
2231
|
+
new_options = opts.merge(
|
2232
|
+
:operation => :"ASPM.get_integration_tasks_v2",
|
2233
|
+
:header_params => header_params,
|
2234
|
+
:query_params => query_params,
|
2235
|
+
:form_params => form_params,
|
2236
|
+
:body => post_body,
|
2237
|
+
:auth_names => auth_names,
|
2238
|
+
:return_type => return_type
|
2239
|
+
)
|
2240
|
+
|
2241
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2242
|
+
if @api_client.config.debugging
|
2243
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2244
|
+
end
|
2245
|
+
return data, status_code, headers
|
2246
|
+
end
|
2247
|
+
|
2248
|
+
# Get all the integration types
|
2249
|
+
# @param [Hash] opts the optional parameters
|
2250
|
+
# @return [TypesListIntegrationTypesResponse]
|
2251
|
+
def get_integration_types(opts = {})
|
2252
|
+
data, _status_code, _headers = get_integration_types_with_http_info(opts)
|
2253
|
+
data
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
# Get all the integration types
|
2257
|
+
# @param [Hash] opts the optional parameters
|
2258
|
+
# @return [Array<(TypesListIntegrationTypesResponse, Integer, Hash)>] TypesListIntegrationTypesResponse data, response status code and response headers
|
2259
|
+
def get_integration_types_with_http_info(opts = {})
|
2260
|
+
if @api_client.config.debugging
|
2261
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_types ...'
|
2262
|
+
end
|
2263
|
+
# resource path
|
2264
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_types'
|
2265
|
+
|
2266
|
+
# query parameters
|
2267
|
+
query_params = opts[:query_params] || {}
|
2268
|
+
|
2269
|
+
# header parameters
|
2270
|
+
header_params = opts[:header_params] || {}
|
2271
|
+
# HTTP header 'Accept' (if needed)
|
2272
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2273
|
+
|
2274
|
+
# form parameters
|
2275
|
+
form_params = opts[:form_params] || {}
|
2276
|
+
|
2277
|
+
# http body (model)
|
2278
|
+
post_body = opts[:debug_body]
|
2279
|
+
|
2280
|
+
# return_type
|
2281
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTypesResponse'
|
2282
|
+
|
2283
|
+
# auth_names
|
2284
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2285
|
+
|
2286
|
+
new_options = opts.merge(
|
2287
|
+
:operation => :"ASPM.get_integration_types",
|
2288
|
+
:header_params => header_params,
|
2289
|
+
:query_params => query_params,
|
2290
|
+
:form_params => form_params,
|
2291
|
+
:body => post_body,
|
2292
|
+
:auth_names => auth_names,
|
2293
|
+
:return_type => return_type
|
2294
|
+
)
|
2295
|
+
|
2296
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2297
|
+
if @api_client.config.debugging
|
2298
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2299
|
+
end
|
2300
|
+
return data, status_code, headers
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
# Get a list of all the integrations
|
2304
|
+
# @param [Hash] opts the optional parameters
|
2305
|
+
# @option opts [Integer] :integration_type
|
2306
|
+
# @option opts [String] :category
|
2307
|
+
# @return [TypesListIntegrationsResponse]
|
2308
|
+
def get_integrations(opts = {})
|
2309
|
+
data, _status_code, _headers = get_integrations_with_http_info(opts)
|
2310
|
+
data
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
# Get a list of all the integrations
|
2314
|
+
# @param [Hash] opts the optional parameters
|
2315
|
+
# @option opts [Integer] :integration_type
|
960
2316
|
# @option opts [String] :category
|
961
2317
|
# @return [Array<(TypesListIntegrationsResponse, Integer, Hash)>] TypesListIntegrationsResponse data, response status code and response headers
|
962
2318
|
def get_integrations_with_http_info(opts = {})
|
963
2319
|
if @api_client.config.debugging
|
964
|
-
@api_client.config.logger.debug 'Calling API: ASPM.get_integrations ...'
|
2320
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integrations ...'
|
2321
|
+
end
|
2322
|
+
# resource path
|
2323
|
+
local_var_path = '/aspm-api-gateway/api/v1/integrations'
|
2324
|
+
|
2325
|
+
# query parameters
|
2326
|
+
query_params = opts[:query_params] || {}
|
2327
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
2328
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2329
|
+
|
2330
|
+
# header parameters
|
2331
|
+
header_params = opts[:header_params] || {}
|
2332
|
+
# HTTP header 'Accept' (if needed)
|
2333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2334
|
+
|
2335
|
+
# form parameters
|
2336
|
+
form_params = opts[:form_params] || {}
|
2337
|
+
|
2338
|
+
# http body (model)
|
2339
|
+
post_body = opts[:debug_body]
|
2340
|
+
|
2341
|
+
# return_type
|
2342
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationsResponse'
|
2343
|
+
|
2344
|
+
# auth_names
|
2345
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2346
|
+
|
2347
|
+
new_options = opts.merge(
|
2348
|
+
:operation => :"ASPM.get_integrations",
|
2349
|
+
:header_params => header_params,
|
2350
|
+
:query_params => query_params,
|
2351
|
+
:form_params => form_params,
|
2352
|
+
:body => post_body,
|
2353
|
+
:auth_names => auth_names,
|
2354
|
+
:return_type => return_type
|
2355
|
+
)
|
2356
|
+
|
2357
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2358
|
+
if @api_client.config.debugging
|
2359
|
+
@api_client.config.logger.debug "API called: ASPM#get_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2360
|
+
end
|
2361
|
+
return data, status_code, headers
|
2362
|
+
end
|
2363
|
+
|
2364
|
+
# Get a list of all the integrations
|
2365
|
+
# @param [Hash] opts the optional parameters
|
2366
|
+
# @option opts [Integer] :integration_type
|
2367
|
+
# @option opts [String] :category
|
2368
|
+
# @return [TypesListIntegrationsResponse]
|
2369
|
+
def get_integrations_v2(opts = {})
|
2370
|
+
data, _status_code, _headers = get_integrations_v2_with_http_info(opts)
|
2371
|
+
data
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# Get a list of all the integrations
|
2375
|
+
# @param [Hash] opts the optional parameters
|
2376
|
+
# @option opts [Integer] :integration_type
|
2377
|
+
# @option opts [String] :category
|
2378
|
+
# @return [Array<(TypesListIntegrationsResponse, Integer, Hash)>] TypesListIntegrationsResponse data, response status code and response headers
|
2379
|
+
def get_integrations_v2_with_http_info(opts = {})
|
2380
|
+
if @api_client.config.debugging
|
2381
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integrations_v2 ...'
|
2382
|
+
end
|
2383
|
+
# resource path
|
2384
|
+
local_var_path = '/aspm-api-gateway/api/v1/integrations/v2'
|
2385
|
+
|
2386
|
+
# query parameters
|
2387
|
+
query_params = opts[:query_params] || {}
|
2388
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
2389
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2390
|
+
|
2391
|
+
# header parameters
|
2392
|
+
header_params = opts[:header_params] || {}
|
2393
|
+
# HTTP header 'Accept' (if needed)
|
2394
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2395
|
+
|
2396
|
+
# form parameters
|
2397
|
+
form_params = opts[:form_params] || {}
|
2398
|
+
|
2399
|
+
# http body (model)
|
2400
|
+
post_body = opts[:debug_body]
|
2401
|
+
|
2402
|
+
# return_type
|
2403
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationsResponse'
|
2404
|
+
|
2405
|
+
# auth_names
|
2406
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2407
|
+
|
2408
|
+
new_options = opts.merge(
|
2409
|
+
:operation => :"ASPM.get_integrations_v2",
|
2410
|
+
:header_params => header_params,
|
2411
|
+
:query_params => query_params,
|
2412
|
+
:form_params => form_params,
|
2413
|
+
:body => post_body,
|
2414
|
+
:auth_names => auth_names,
|
2415
|
+
:return_type => return_type
|
2416
|
+
)
|
2417
|
+
|
2418
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2419
|
+
if @api_client.config.debugging
|
2420
|
+
@api_client.config.logger.debug "API called: ASPM#get_integrations_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2421
|
+
end
|
2422
|
+
return data, status_code, headers
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
# @param persistent_signature [String]
|
2426
|
+
# @param [Hash] opts the optional parameters
|
2427
|
+
# @option opts [Integer] :optional_time
|
2428
|
+
# @option opts [Integer] :revision_id
|
2429
|
+
# @option opts [Integer] :limit
|
2430
|
+
# @option opts [Integer] :offset
|
2431
|
+
# @option opts [Array<String>] :order_by
|
2432
|
+
# @option opts [String] :direction
|
2433
|
+
# @return [TypesArtifacts]
|
2434
|
+
def get_service_artifacts(persistent_signature, opts = {})
|
2435
|
+
data, _status_code, _headers = get_service_artifacts_with_http_info(persistent_signature, opts)
|
2436
|
+
data
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
# @param persistent_signature [String]
|
2440
|
+
# @param [Hash] opts the optional parameters
|
2441
|
+
# @option opts [Integer] :optional_time
|
2442
|
+
# @option opts [Integer] :revision_id
|
2443
|
+
# @option opts [Integer] :limit
|
2444
|
+
# @option opts [Integer] :offset
|
2445
|
+
# @option opts [Array<String>] :order_by
|
2446
|
+
# @option opts [String] :direction
|
2447
|
+
# @return [Array<(TypesArtifacts, Integer, Hash)>] TypesArtifacts data, response status code and response headers
|
2448
|
+
def get_service_artifacts_with_http_info(persistent_signature, opts = {})
|
2449
|
+
if @api_client.config.debugging
|
2450
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_service_artifacts ...'
|
2451
|
+
end
|
2452
|
+
# verify the required parameter 'persistent_signature' is set
|
2453
|
+
if @api_client.config.client_side_validation && persistent_signature.nil?
|
2454
|
+
fail ArgumentError, "Missing the required parameter 'persistent_signature' when calling ASPM.get_service_artifacts"
|
2455
|
+
end
|
2456
|
+
allowable_values = []
|
2457
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
|
2458
|
+
fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
|
2459
|
+
end
|
2460
|
+
allowable_values = ["asc", "desc"]
|
2461
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
2462
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
2463
|
+
end
|
2464
|
+
# resource path
|
2465
|
+
local_var_path = '/aspm-api-gateway/api/v1/artifacts'
|
2466
|
+
|
2467
|
+
# query parameters
|
2468
|
+
query_params = opts[:query_params] || {}
|
2469
|
+
query_params[:'persistentSignature'] = persistent_signature
|
2470
|
+
query_params[:'optionalTime'] = opts[:'optional_time'] if !opts[:'optional_time'].nil?
|
2471
|
+
query_params[:'revisionId'] = opts[:'revision_id'] if !opts[:'revision_id'].nil?
|
2472
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2473
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2474
|
+
query_params[:'orderBy'] = @api_client.build_collection_param(opts[:'order_by'], :csv) if !opts[:'order_by'].nil?
|
2475
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
2476
|
+
|
2477
|
+
# header parameters
|
2478
|
+
header_params = opts[:header_params] || {}
|
2479
|
+
# HTTP header 'Accept' (if needed)
|
2480
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2481
|
+
|
2482
|
+
# form parameters
|
2483
|
+
form_params = opts[:form_params] || {}
|
2484
|
+
|
2485
|
+
# http body (model)
|
2486
|
+
post_body = opts[:debug_body]
|
2487
|
+
|
2488
|
+
# return_type
|
2489
|
+
return_type = opts[:debug_return_type] || 'TypesArtifacts'
|
2490
|
+
|
2491
|
+
# auth_names
|
2492
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2493
|
+
|
2494
|
+
new_options = opts.merge(
|
2495
|
+
:operation => :"ASPM.get_service_artifacts",
|
2496
|
+
:header_params => header_params,
|
2497
|
+
:query_params => query_params,
|
2498
|
+
:form_params => form_params,
|
2499
|
+
:body => post_body,
|
2500
|
+
:auth_names => auth_names,
|
2501
|
+
:return_type => return_type
|
2502
|
+
)
|
2503
|
+
|
2504
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2505
|
+
if @api_client.config.debugging
|
2506
|
+
@api_client.config.logger.debug "API called: ASPM#get_service_artifacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2507
|
+
end
|
2508
|
+
return data, status_code, headers
|
2509
|
+
end
|
2510
|
+
|
2511
|
+
# Get the different types of violation
|
2512
|
+
# @param body [TypesGenericUserFacingRequest]
|
2513
|
+
# @param [Hash] opts the optional parameters
|
2514
|
+
# @return [TypesGetViolationTypesResponse]
|
2515
|
+
def get_service_violation_types(body, opts = {})
|
2516
|
+
data, _status_code, _headers = get_service_violation_types_with_http_info(body, opts)
|
2517
|
+
data
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# Get the different types of violation
|
2521
|
+
# @param body [TypesGenericUserFacingRequest]
|
2522
|
+
# @param [Hash] opts the optional parameters
|
2523
|
+
# @return [Array<(TypesGetViolationTypesResponse, Integer, Hash)>] TypesGetViolationTypesResponse data, response status code and response headers
|
2524
|
+
def get_service_violation_types_with_http_info(body, opts = {})
|
2525
|
+
if @api_client.config.debugging
|
2526
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_service_violation_types ...'
|
2527
|
+
end
|
2528
|
+
# verify the required parameter 'body' is set
|
2529
|
+
if @api_client.config.client_side_validation && body.nil?
|
2530
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_service_violation_types"
|
2531
|
+
end
|
2532
|
+
# resource path
|
2533
|
+
local_var_path = '/aspm-api-gateway/api/v1/services/violations/types'
|
2534
|
+
|
2535
|
+
# query parameters
|
2536
|
+
query_params = opts[:query_params] || {}
|
2537
|
+
|
2538
|
+
# header parameters
|
2539
|
+
header_params = opts[:header_params] || {}
|
2540
|
+
# HTTP header 'Accept' (if needed)
|
2541
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2542
|
+
# HTTP header 'Content-Type'
|
2543
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2544
|
+
if !content_type.nil?
|
2545
|
+
header_params['Content-Type'] = content_type
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
# form parameters
|
2549
|
+
form_params = opts[:form_params] || {}
|
2550
|
+
|
2551
|
+
# http body (model)
|
2552
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2553
|
+
|
2554
|
+
# return_type
|
2555
|
+
return_type = opts[:debug_return_type] || 'TypesGetViolationTypesResponse'
|
2556
|
+
|
2557
|
+
# auth_names
|
2558
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2559
|
+
|
2560
|
+
new_options = opts.merge(
|
2561
|
+
:operation => :"ASPM.get_service_violation_types",
|
2562
|
+
:header_params => header_params,
|
2563
|
+
:query_params => query_params,
|
2564
|
+
:form_params => form_params,
|
2565
|
+
:body => post_body,
|
2566
|
+
:auth_names => auth_names,
|
2567
|
+
:return_type => return_type
|
2568
|
+
)
|
2569
|
+
|
2570
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2571
|
+
if @api_client.config.debugging
|
2572
|
+
@api_client.config.logger.debug "API called: ASPM#get_service_violation_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2573
|
+
end
|
2574
|
+
return data, status_code, headers
|
2575
|
+
end
|
2576
|
+
|
2577
|
+
# Get the total amount of existing services
|
2578
|
+
# @param body [TypesGetServicesRequest]
|
2579
|
+
# @param [Hash] opts the optional parameters
|
2580
|
+
# @return [nil]
|
2581
|
+
def get_services_count(body, opts = {})
|
2582
|
+
get_services_count_with_http_info(body, opts)
|
2583
|
+
nil
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
# Get the total amount of existing services
|
2587
|
+
# @param body [TypesGetServicesRequest]
|
2588
|
+
# @param [Hash] opts the optional parameters
|
2589
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2590
|
+
def get_services_count_with_http_info(body, opts = {})
|
2591
|
+
if @api_client.config.debugging
|
2592
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_services_count ...'
|
2593
|
+
end
|
2594
|
+
# verify the required parameter 'body' is set
|
2595
|
+
if @api_client.config.client_side_validation && body.nil?
|
2596
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_services_count"
|
2597
|
+
end
|
2598
|
+
# resource path
|
2599
|
+
local_var_path = '/aspm-api-gateway/api/v1/services/count'
|
2600
|
+
|
2601
|
+
# query parameters
|
2602
|
+
query_params = opts[:query_params] || {}
|
2603
|
+
|
2604
|
+
# header parameters
|
2605
|
+
header_params = opts[:header_params] || {}
|
2606
|
+
# HTTP header 'Accept' (if needed)
|
2607
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2608
|
+
# HTTP header 'Content-Type'
|
2609
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2610
|
+
if !content_type.nil?
|
2611
|
+
header_params['Content-Type'] = content_type
|
2612
|
+
end
|
2613
|
+
|
2614
|
+
# form parameters
|
2615
|
+
form_params = opts[:form_params] || {}
|
2616
|
+
|
2617
|
+
# http body (model)
|
2618
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2619
|
+
|
2620
|
+
# return_type
|
2621
|
+
return_type = opts[:debug_return_type]
|
2622
|
+
|
2623
|
+
# auth_names
|
2624
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2625
|
+
|
2626
|
+
new_options = opts.merge(
|
2627
|
+
:operation => :"ASPM.get_services_count",
|
2628
|
+
:header_params => header_params,
|
2629
|
+
:query_params => query_params,
|
2630
|
+
:form_params => form_params,
|
2631
|
+
:body => post_body,
|
2632
|
+
:auth_names => auth_names,
|
2633
|
+
:return_type => return_type
|
2634
|
+
)
|
2635
|
+
|
2636
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
2637
|
+
if @api_client.config.debugging
|
2638
|
+
@api_client.config.logger.debug "API called: ASPM#get_services_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2639
|
+
end
|
2640
|
+
return data, status_code, headers
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
# Get all the tags
|
2644
|
+
# @param [Hash] opts the optional parameters
|
2645
|
+
# @option opts [Boolean] :is_unique
|
2646
|
+
# @option opts [String] :tag_name
|
2647
|
+
# @option opts [Integer] :limit
|
2648
|
+
# @option opts [Integer] :offset
|
2649
|
+
# @option opts [Array<String>] :name
|
2650
|
+
# @return [TypesTagsDataResponse]
|
2651
|
+
def get_tags(opts = {})
|
2652
|
+
data, _status_code, _headers = get_tags_with_http_info(opts)
|
2653
|
+
data
|
2654
|
+
end
|
2655
|
+
|
2656
|
+
# Get all the tags
|
2657
|
+
# @param [Hash] opts the optional parameters
|
2658
|
+
# @option opts [Boolean] :is_unique
|
2659
|
+
# @option opts [String] :tag_name
|
2660
|
+
# @option opts [Integer] :limit
|
2661
|
+
# @option opts [Integer] :offset
|
2662
|
+
# @option opts [Array<String>] :name
|
2663
|
+
# @return [Array<(TypesTagsDataResponse, Integer, Hash)>] TypesTagsDataResponse data, response status code and response headers
|
2664
|
+
def get_tags_with_http_info(opts = {})
|
2665
|
+
if @api_client.config.debugging
|
2666
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_tags ...'
|
2667
|
+
end
|
2668
|
+
# resource path
|
2669
|
+
local_var_path = '/aspm-api-gateway/api/v1/tags'
|
2670
|
+
|
2671
|
+
# query parameters
|
2672
|
+
query_params = opts[:query_params] || {}
|
2673
|
+
query_params[:'isUnique'] = opts[:'is_unique'] if !opts[:'is_unique'].nil?
|
2674
|
+
query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
|
2675
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2676
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2677
|
+
query_params[:'name'] = @api_client.build_collection_param(opts[:'name'], :csv) if !opts[:'name'].nil?
|
2678
|
+
|
2679
|
+
# header parameters
|
2680
|
+
header_params = opts[:header_params] || {}
|
2681
|
+
# HTTP header 'Accept' (if needed)
|
2682
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2683
|
+
|
2684
|
+
# form parameters
|
2685
|
+
form_params = opts[:form_params] || {}
|
2686
|
+
|
2687
|
+
# http body (model)
|
2688
|
+
post_body = opts[:debug_body]
|
2689
|
+
|
2690
|
+
# return_type
|
2691
|
+
return_type = opts[:debug_return_type] || 'TypesTagsDataResponse'
|
2692
|
+
|
2693
|
+
# auth_names
|
2694
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2695
|
+
|
2696
|
+
new_options = opts.merge(
|
2697
|
+
:operation => :"ASPM.get_tags",
|
2698
|
+
:header_params => header_params,
|
2699
|
+
:query_params => query_params,
|
2700
|
+
:form_params => form_params,
|
2701
|
+
:body => post_body,
|
2702
|
+
:auth_names => auth_names,
|
2703
|
+
:return_type => return_type
|
2704
|
+
)
|
2705
|
+
|
2706
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2707
|
+
if @api_client.config.debugging
|
2708
|
+
@api_client.config.logger.debug "API called: ASPM#get_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2709
|
+
end
|
2710
|
+
return data, status_code, headers
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
# List users
|
2714
|
+
# @param [Hash] opts the optional parameters
|
2715
|
+
# @option opts [String] :pagination URL encoded pagination JSON - limit, offset, direction, orderBy
|
2716
|
+
# @return [TypesUsersResponse]
|
2717
|
+
def get_users_v2(opts = {})
|
2718
|
+
data, _status_code, _headers = get_users_v2_with_http_info(opts)
|
2719
|
+
data
|
2720
|
+
end
|
2721
|
+
|
2722
|
+
# List users
|
2723
|
+
# @param [Hash] opts the optional parameters
|
2724
|
+
# @option opts [String] :pagination URL encoded pagination JSON - limit, offset, direction, orderBy
|
2725
|
+
# @return [Array<(TypesUsersResponse, Integer, Hash)>] TypesUsersResponse data, response status code and response headers
|
2726
|
+
def get_users_v2_with_http_info(opts = {})
|
2727
|
+
if @api_client.config.debugging
|
2728
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_users_v2 ...'
|
2729
|
+
end
|
2730
|
+
# resource path
|
2731
|
+
local_var_path = '/aspm-api-gateway/api/v1/users/v2'
|
2732
|
+
|
2733
|
+
# query parameters
|
2734
|
+
query_params = opts[:query_params] || {}
|
2735
|
+
query_params[:'pagination'] = opts[:'pagination'] if !opts[:'pagination'].nil?
|
2736
|
+
|
2737
|
+
# header parameters
|
2738
|
+
header_params = opts[:header_params] || {}
|
2739
|
+
# HTTP header 'Accept' (if needed)
|
2740
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2741
|
+
|
2742
|
+
# form parameters
|
2743
|
+
form_params = opts[:form_params] || {}
|
2744
|
+
|
2745
|
+
# http body (model)
|
2746
|
+
post_body = opts[:debug_body]
|
2747
|
+
|
2748
|
+
# return_type
|
2749
|
+
return_type = opts[:debug_return_type] || 'TypesUsersResponse'
|
2750
|
+
|
2751
|
+
# auth_names
|
2752
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2753
|
+
|
2754
|
+
new_options = opts.merge(
|
2755
|
+
:operation => :"ASPM.get_users_v2",
|
2756
|
+
:header_params => header_params,
|
2757
|
+
:query_params => query_params,
|
2758
|
+
:form_params => form_params,
|
2759
|
+
:body => post_body,
|
2760
|
+
:auth_names => auth_names,
|
2761
|
+
:return_type => return_type
|
2762
|
+
)
|
2763
|
+
|
2764
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2765
|
+
if @api_client.config.debugging
|
2766
|
+
@api_client.config.logger.debug "API called: ASPM#get_users_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2767
|
+
end
|
2768
|
+
return data, status_code, headers
|
2769
|
+
end
|
2770
|
+
|
2771
|
+
# Update default group
|
2772
|
+
# @param id [Integer] Group ID
|
2773
|
+
# @param [Hash] opts the optional parameters
|
2774
|
+
# @return [nil]
|
2775
|
+
def post_group_id_09_update_default(id, opts = {})
|
2776
|
+
post_group_id_09_update_default_with_http_info(id, opts)
|
2777
|
+
nil
|
2778
|
+
end
|
2779
|
+
|
2780
|
+
# Update default group
|
2781
|
+
# @param id [Integer] Group ID
|
2782
|
+
# @param [Hash] opts the optional parameters
|
2783
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2784
|
+
def post_group_id_09_update_default_with_http_info(id, opts = {})
|
2785
|
+
if @api_client.config.debugging
|
2786
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_id_09_update_default ...'
|
2787
|
+
end
|
2788
|
+
# verify the required parameter 'id' is set
|
2789
|
+
if @api_client.config.client_side_validation && id.nil?
|
2790
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.post_group_id_09_update_default"
|
2791
|
+
end
|
2792
|
+
pattern = Regexp.new(/[0-9]+/)
|
2793
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2794
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.post_group_id_09_update_default, must conform to the pattern #{pattern}."
|
965
2795
|
end
|
2796
|
+
|
966
2797
|
# resource path
|
967
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2798
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/update_default'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
968
2799
|
|
969
2800
|
# query parameters
|
970
2801
|
query_params = opts[:query_params] || {}
|
971
|
-
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
972
|
-
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
973
2802
|
|
974
2803
|
# header parameters
|
975
2804
|
header_params = opts[:header_params] || {}
|
@@ -983,13 +2812,13 @@ module Falcon
|
|
983
2812
|
post_body = opts[:debug_body]
|
984
2813
|
|
985
2814
|
# return_type
|
986
|
-
return_type = opts[:debug_return_type]
|
2815
|
+
return_type = opts[:debug_return_type]
|
987
2816
|
|
988
2817
|
# auth_names
|
989
2818
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
990
2819
|
|
991
2820
|
new_options = opts.merge(
|
992
|
-
:operation => :"ASPM.
|
2821
|
+
:operation => :"ASPM.post_group_id_09_update_default",
|
993
2822
|
:header_params => header_params,
|
994
2823
|
:query_params => query_params,
|
995
2824
|
:form_params => form_params,
|
@@ -998,36 +2827,47 @@ module Falcon
|
|
998
2827
|
:return_type => return_type
|
999
2828
|
)
|
1000
2829
|
|
1001
|
-
data, status_code, headers = @api_client.call_api(:
|
2830
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1002
2831
|
if @api_client.config.debugging
|
1003
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2832
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_id_09_update_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1004
2833
|
end
|
1005
2834
|
return data, status_code, headers
|
1006
2835
|
end
|
1007
2836
|
|
1008
|
-
#
|
1009
|
-
# @param
|
2837
|
+
# Update group
|
2838
|
+
# @param id [Integer] Group ID
|
2839
|
+
# @param body [TypesUpdateGroupRequest]
|
1010
2840
|
# @param [Hash] opts the optional parameters
|
1011
|
-
# @return [
|
1012
|
-
def
|
1013
|
-
|
1014
|
-
|
2841
|
+
# @return [nil]
|
2842
|
+
def post_group_id_09_v2(id, body, opts = {})
|
2843
|
+
post_group_id_09_v2_with_http_info(id, body, opts)
|
2844
|
+
nil
|
1015
2845
|
end
|
1016
2846
|
|
1017
|
-
#
|
1018
|
-
# @param
|
2847
|
+
# Update group
|
2848
|
+
# @param id [Integer] Group ID
|
2849
|
+
# @param body [TypesUpdateGroupRequest]
|
1019
2850
|
# @param [Hash] opts the optional parameters
|
1020
|
-
# @return [Array<(
|
1021
|
-
def
|
2851
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2852
|
+
def post_group_id_09_v2_with_http_info(id, body, opts = {})
|
1022
2853
|
if @api_client.config.debugging
|
1023
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2854
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_id_09_v2 ...'
|
2855
|
+
end
|
2856
|
+
# verify the required parameter 'id' is set
|
2857
|
+
if @api_client.config.client_side_validation && id.nil?
|
2858
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.post_group_id_09_v2"
|
1024
2859
|
end
|
2860
|
+
pattern = Regexp.new(/[0-9]+/)
|
2861
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2862
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.post_group_id_09_v2, must conform to the pattern #{pattern}."
|
2863
|
+
end
|
2864
|
+
|
1025
2865
|
# verify the required parameter 'body' is set
|
1026
2866
|
if @api_client.config.client_side_validation && body.nil?
|
1027
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
2867
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.post_group_id_09_v2"
|
1028
2868
|
end
|
1029
2869
|
# resource path
|
1030
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2870
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1031
2871
|
|
1032
2872
|
# query parameters
|
1033
2873
|
query_params = opts[:query_params] || {}
|
@@ -1049,13 +2889,13 @@ module Falcon
|
|
1049
2889
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1050
2890
|
|
1051
2891
|
# return_type
|
1052
|
-
return_type = opts[:debug_return_type]
|
2892
|
+
return_type = opts[:debug_return_type]
|
1053
2893
|
|
1054
2894
|
# auth_names
|
1055
2895
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1056
2896
|
|
1057
2897
|
new_options = opts.merge(
|
1058
|
-
:operation => :"ASPM.
|
2898
|
+
:operation => :"ASPM.post_group_id_09_v2",
|
1059
2899
|
:header_params => header_params,
|
1060
2900
|
:query_params => query_params,
|
1061
2901
|
:form_params => form_params,
|
@@ -1064,36 +2904,36 @@ module Falcon
|
|
1064
2904
|
:return_type => return_type
|
1065
2905
|
)
|
1066
2906
|
|
1067
|
-
data, status_code, headers = @api_client.call_api(:
|
2907
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1068
2908
|
if @api_client.config.debugging
|
1069
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2909
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_id_09_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1070
2910
|
end
|
1071
2911
|
return data, status_code, headers
|
1072
2912
|
end
|
1073
2913
|
|
1074
|
-
#
|
1075
|
-
# @param body [
|
2914
|
+
# Create group
|
2915
|
+
# @param body [TypesCreateGroupRequest]
|
1076
2916
|
# @param [Hash] opts the optional parameters
|
1077
2917
|
# @return [nil]
|
1078
|
-
def
|
1079
|
-
|
2918
|
+
def post_group_v2(body, opts = {})
|
2919
|
+
post_group_v2_with_http_info(body, opts)
|
1080
2920
|
nil
|
1081
2921
|
end
|
1082
2922
|
|
1083
|
-
#
|
1084
|
-
# @param body [
|
2923
|
+
# Create group
|
2924
|
+
# @param body [TypesCreateGroupRequest]
|
1085
2925
|
# @param [Hash] opts the optional parameters
|
1086
2926
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1087
|
-
def
|
2927
|
+
def post_group_v2_with_http_info(body, opts = {})
|
1088
2928
|
if @api_client.config.debugging
|
1089
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2929
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_v2 ...'
|
1090
2930
|
end
|
1091
2931
|
# verify the required parameter 'body' is set
|
1092
2932
|
if @api_client.config.client_side_validation && body.nil?
|
1093
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
2933
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.post_group_v2"
|
1094
2934
|
end
|
1095
2935
|
# resource path
|
1096
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2936
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/v2'
|
1097
2937
|
|
1098
2938
|
# query parameters
|
1099
2939
|
query_params = opts[:query_params] || {}
|
@@ -1121,7 +2961,7 @@ module Falcon
|
|
1121
2961
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1122
2962
|
|
1123
2963
|
new_options = opts.merge(
|
1124
|
-
:operation => :"ASPM.
|
2964
|
+
:operation => :"ASPM.post_group_v2",
|
1125
2965
|
:header_params => header_params,
|
1126
2966
|
:query_params => query_params,
|
1127
2967
|
:form_params => form_params,
|
@@ -1132,66 +2972,76 @@ module Falcon
|
|
1132
2972
|
|
1133
2973
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1134
2974
|
if @api_client.config.debugging
|
1135
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2975
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1136
2976
|
end
|
1137
2977
|
return data, status_code, headers
|
1138
2978
|
end
|
1139
2979
|
|
1140
|
-
#
|
2980
|
+
# Run an integration task by its ID
|
2981
|
+
# @param id [Integer]
|
2982
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
1141
2983
|
# @param [Hash] opts the optional parameters
|
1142
|
-
# @option opts [
|
1143
|
-
# @
|
1144
|
-
|
1145
|
-
|
1146
|
-
# @option opts [Array<String>] :name
|
1147
|
-
# @return [TypesTagsDataResponse]
|
1148
|
-
def get_tags(opts = {})
|
1149
|
-
data, _status_code, _headers = get_tags_with_http_info(opts)
|
2984
|
+
# @option opts [String] :category
|
2985
|
+
# @return [TypesIntegrationTaskTestConnectionResponse]
|
2986
|
+
def run_integration_task(id, body, opts = {})
|
2987
|
+
data, _status_code, _headers = run_integration_task_with_http_info(id, body, opts)
|
1150
2988
|
data
|
1151
2989
|
end
|
1152
2990
|
|
1153
|
-
#
|
2991
|
+
# Run an integration task by its ID
|
2992
|
+
# @param id [Integer]
|
2993
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
1154
2994
|
# @param [Hash] opts the optional parameters
|
1155
|
-
# @option opts [
|
1156
|
-
# @
|
1157
|
-
|
1158
|
-
# @option opts [Integer] :offset
|
1159
|
-
# @option opts [Array<String>] :name
|
1160
|
-
# @return [Array<(TypesTagsDataResponse, Integer, Hash)>] TypesTagsDataResponse data, response status code and response headers
|
1161
|
-
def get_tags_with_http_info(opts = {})
|
2995
|
+
# @option opts [String] :category
|
2996
|
+
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
2997
|
+
def run_integration_task_with_http_info(id, body, opts = {})
|
1162
2998
|
if @api_client.config.debugging
|
1163
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2999
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task ...'
|
3000
|
+
end
|
3001
|
+
# verify the required parameter 'id' is set
|
3002
|
+
if @api_client.config.client_side_validation && id.nil?
|
3003
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task"
|
3004
|
+
end
|
3005
|
+
pattern = Regexp.new(/[0-9]+/)
|
3006
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
3007
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task, must conform to the pattern #{pattern}."
|
3008
|
+
end
|
3009
|
+
|
3010
|
+
# verify the required parameter 'body' is set
|
3011
|
+
if @api_client.config.client_side_validation && body.nil?
|
3012
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task"
|
1164
3013
|
end
|
1165
3014
|
# resource path
|
1166
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
3015
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1167
3016
|
|
1168
3017
|
# query parameters
|
1169
3018
|
query_params = opts[:query_params] || {}
|
1170
|
-
query_params[:'
|
1171
|
-
query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
|
1172
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1173
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1174
|
-
query_params[:'name'] = @api_client.build_collection_param(opts[:'name'], :csv) if !opts[:'name'].nil?
|
3019
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1175
3020
|
|
1176
3021
|
# header parameters
|
1177
3022
|
header_params = opts[:header_params] || {}
|
1178
3023
|
# HTTP header 'Accept' (if needed)
|
1179
3024
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3025
|
+
# HTTP header 'Content-Type'
|
3026
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
3027
|
+
if !content_type.nil?
|
3028
|
+
header_params['Content-Type'] = content_type
|
3029
|
+
end
|
1180
3030
|
|
1181
3031
|
# form parameters
|
1182
3032
|
form_params = opts[:form_params] || {}
|
1183
3033
|
|
1184
3034
|
# http body (model)
|
1185
|
-
post_body = opts[:debug_body]
|
3035
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1186
3036
|
|
1187
3037
|
# return_type
|
1188
|
-
return_type = opts[:debug_return_type] || '
|
3038
|
+
return_type = opts[:debug_return_type] || 'TypesIntegrationTaskTestConnectionResponse'
|
1189
3039
|
|
1190
3040
|
# auth_names
|
1191
3041
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1192
3042
|
|
1193
3043
|
new_options = opts.merge(
|
1194
|
-
:operation => :"ASPM.
|
3044
|
+
:operation => :"ASPM.run_integration_task",
|
1195
3045
|
:header_params => header_params,
|
1196
3046
|
:query_params => query_params,
|
1197
3047
|
:form_params => form_params,
|
@@ -1200,9 +3050,89 @@ module Falcon
|
|
1200
3050
|
:return_type => return_type
|
1201
3051
|
)
|
1202
3052
|
|
1203
|
-
data, status_code, headers = @api_client.call_api(:
|
3053
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1204
3054
|
if @api_client.config.debugging
|
1205
|
-
@api_client.config.logger.debug "API called: ASPM#
|
3055
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3056
|
+
end
|
3057
|
+
return data, status_code, headers
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
# Run an integration task by its ID - for admin scope
|
3061
|
+
# @param id [Integer]
|
3062
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
3063
|
+
# @param [Hash] opts the optional parameters
|
3064
|
+
# @option opts [String] :category
|
3065
|
+
# @return [TypesIntegrationTaskTestConnectionResponse]
|
3066
|
+
def run_integration_task_admin(id, body, opts = {})
|
3067
|
+
data, _status_code, _headers = run_integration_task_admin_with_http_info(id, body, opts)
|
3068
|
+
data
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
# Run an integration task by its ID - for admin scope
|
3072
|
+
# @param id [Integer]
|
3073
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
3074
|
+
# @param [Hash] opts the optional parameters
|
3075
|
+
# @option opts [String] :category
|
3076
|
+
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
3077
|
+
def run_integration_task_admin_with_http_info(id, body, opts = {})
|
3078
|
+
if @api_client.config.debugging
|
3079
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task_admin ...'
|
3080
|
+
end
|
3081
|
+
# verify the required parameter 'id' is set
|
3082
|
+
if @api_client.config.client_side_validation && id.nil?
|
3083
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task_admin"
|
3084
|
+
end
|
3085
|
+
pattern = Regexp.new(/[0-9]+/)
|
3086
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
3087
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task_admin, must conform to the pattern #{pattern}."
|
3088
|
+
end
|
3089
|
+
|
3090
|
+
# verify the required parameter 'body' is set
|
3091
|
+
if @api_client.config.client_side_validation && body.nil?
|
3092
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task_admin"
|
3093
|
+
end
|
3094
|
+
# resource path
|
3095
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run/admin'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
3096
|
+
|
3097
|
+
# query parameters
|
3098
|
+
query_params = opts[:query_params] || {}
|
3099
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
3100
|
+
|
3101
|
+
# header parameters
|
3102
|
+
header_params = opts[:header_params] || {}
|
3103
|
+
# HTTP header 'Accept' (if needed)
|
3104
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3105
|
+
# HTTP header 'Content-Type'
|
3106
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
3107
|
+
if !content_type.nil?
|
3108
|
+
header_params['Content-Type'] = content_type
|
3109
|
+
end
|
3110
|
+
|
3111
|
+
# form parameters
|
3112
|
+
form_params = opts[:form_params] || {}
|
3113
|
+
|
3114
|
+
# http body (model)
|
3115
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3116
|
+
|
3117
|
+
# return_type
|
3118
|
+
return_type = opts[:debug_return_type] || 'TypesIntegrationTaskTestConnectionResponse'
|
3119
|
+
|
3120
|
+
# auth_names
|
3121
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3122
|
+
|
3123
|
+
new_options = opts.merge(
|
3124
|
+
:operation => :"ASPM.run_integration_task_admin",
|
3125
|
+
:header_params => header_params,
|
3126
|
+
:query_params => query_params,
|
3127
|
+
:form_params => form_params,
|
3128
|
+
:body => post_body,
|
3129
|
+
:auth_names => auth_names,
|
3130
|
+
:return_type => return_type
|
3131
|
+
)
|
3132
|
+
|
3133
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3134
|
+
if @api_client.config.debugging
|
3135
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task_admin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1206
3136
|
end
|
1207
3137
|
return data, status_code, headers
|
1208
3138
|
end
|
@@ -1213,8 +3143,8 @@ module Falcon
|
|
1213
3143
|
# @param [Hash] opts the optional parameters
|
1214
3144
|
# @option opts [String] :category
|
1215
3145
|
# @return [TypesIntegrationTaskTestConnectionResponse]
|
1216
|
-
def
|
1217
|
-
data, _status_code, _headers =
|
3146
|
+
def run_integration_task_v2(id, body, opts = {})
|
3147
|
+
data, _status_code, _headers = run_integration_task_v2_with_http_info(id, body, opts)
|
1218
3148
|
data
|
1219
3149
|
end
|
1220
3150
|
|
@@ -1224,25 +3154,25 @@ module Falcon
|
|
1224
3154
|
# @param [Hash] opts the optional parameters
|
1225
3155
|
# @option opts [String] :category
|
1226
3156
|
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
1227
|
-
def
|
3157
|
+
def run_integration_task_v2_with_http_info(id, body, opts = {})
|
1228
3158
|
if @api_client.config.debugging
|
1229
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
3159
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task_v2 ...'
|
1230
3160
|
end
|
1231
3161
|
# verify the required parameter 'id' is set
|
1232
3162
|
if @api_client.config.client_side_validation && id.nil?
|
1233
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.
|
3163
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task_v2"
|
1234
3164
|
end
|
1235
3165
|
pattern = Regexp.new(/[0-9]+/)
|
1236
3166
|
if @api_client.config.client_side_validation && id !~ pattern
|
1237
|
-
fail ArgumentError, "invalid value for 'id' when calling ASPM.
|
3167
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task_v2, must conform to the pattern #{pattern}."
|
1238
3168
|
end
|
1239
3169
|
|
1240
3170
|
# verify the required parameter 'body' is set
|
1241
3171
|
if @api_client.config.client_side_validation && body.nil?
|
1242
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
3172
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task_v2"
|
1243
3173
|
end
|
1244
3174
|
# resource path
|
1245
|
-
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
3175
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1246
3176
|
|
1247
3177
|
# query parameters
|
1248
3178
|
query_params = opts[:query_params] || {}
|
@@ -1271,7 +3201,7 @@ module Falcon
|
|
1271
3201
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1272
3202
|
|
1273
3203
|
new_options = opts.merge(
|
1274
|
-
:operation => :"ASPM.
|
3204
|
+
:operation => :"ASPM.run_integration_task_v2",
|
1275
3205
|
:header_params => header_params,
|
1276
3206
|
:query_params => query_params,
|
1277
3207
|
:form_params => form_params,
|
@@ -1282,7 +3212,7 @@ module Falcon
|
|
1282
3212
|
|
1283
3213
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1284
3214
|
if @api_client.config.debugging
|
1285
|
-
@api_client.config.logger.debug "API called: ASPM#
|
3215
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1286
3216
|
end
|
1287
3217
|
return data, status_code, headers
|
1288
3218
|
end
|
@@ -1357,6 +3287,7 @@ module Falcon
|
|
1357
3287
|
|
1358
3288
|
# @param [Hash] opts the optional parameters
|
1359
3289
|
# @option opts [String] :ql_filters
|
3290
|
+
# @option opts [Boolean] :exclude_artifacts
|
1360
3291
|
# @option opts [Integer] :limit
|
1361
3292
|
# @option opts [Integer] :offset
|
1362
3293
|
# @option opts [String] :order_by
|
@@ -1369,6 +3300,7 @@ module Falcon
|
|
1369
3300
|
|
1370
3301
|
# @param [Hash] opts the optional parameters
|
1371
3302
|
# @option opts [String] :ql_filters
|
3303
|
+
# @option opts [Boolean] :exclude_artifacts
|
1372
3304
|
# @option opts [Integer] :limit
|
1373
3305
|
# @option opts [Integer] :offset
|
1374
3306
|
# @option opts [String] :order_by
|
@@ -1384,6 +3316,7 @@ module Falcon
|
|
1384
3316
|
# query parameters
|
1385
3317
|
query_params = opts[:query_params] || {}
|
1386
3318
|
query_params[:'ql_filters'] = opts[:'ql_filters'] if !opts[:'ql_filters'].nil?
|
3319
|
+
query_params[:'exclude_artifacts'] = opts[:'exclude_artifacts'] if !opts[:'exclude_artifacts'].nil?
|
1387
3320
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1388
3321
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1389
3322
|
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
@@ -1423,6 +3356,72 @@ module Falcon
|
|
1423
3356
|
return data, status_code, headers
|
1424
3357
|
end
|
1425
3358
|
|
3359
|
+
# Set Cloud Security integration state
|
3360
|
+
# @param body [TypesSetCloudSecurityIntegrationStateRequest]
|
3361
|
+
# @param [Hash] opts the optional parameters
|
3362
|
+
# @return [nil]
|
3363
|
+
def set_cloud_security_integration_state(body, opts = {})
|
3364
|
+
set_cloud_security_integration_state_with_http_info(body, opts)
|
3365
|
+
nil
|
3366
|
+
end
|
3367
|
+
|
3368
|
+
# Set Cloud Security integration state
|
3369
|
+
# @param body [TypesSetCloudSecurityIntegrationStateRequest]
|
3370
|
+
# @param [Hash] opts the optional parameters
|
3371
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
3372
|
+
def set_cloud_security_integration_state_with_http_info(body, opts = {})
|
3373
|
+
if @api_client.config.debugging
|
3374
|
+
@api_client.config.logger.debug 'Calling API: ASPM.set_cloud_security_integration_state ...'
|
3375
|
+
end
|
3376
|
+
# verify the required parameter 'body' is set
|
3377
|
+
if @api_client.config.client_side_validation && body.nil?
|
3378
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.set_cloud_security_integration_state"
|
3379
|
+
end
|
3380
|
+
# resource path
|
3381
|
+
local_var_path = '/aspm-api-gateway/api/v1/cloud_security_config'
|
3382
|
+
|
3383
|
+
# query parameters
|
3384
|
+
query_params = opts[:query_params] || {}
|
3385
|
+
|
3386
|
+
# header parameters
|
3387
|
+
header_params = opts[:header_params] || {}
|
3388
|
+
# HTTP header 'Accept' (if needed)
|
3389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3390
|
+
# HTTP header 'Content-Type'
|
3391
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
3392
|
+
if !content_type.nil?
|
3393
|
+
header_params['Content-Type'] = content_type
|
3394
|
+
end
|
3395
|
+
|
3396
|
+
# form parameters
|
3397
|
+
form_params = opts[:form_params] || {}
|
3398
|
+
|
3399
|
+
# http body (model)
|
3400
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3401
|
+
|
3402
|
+
# return_type
|
3403
|
+
return_type = opts[:debug_return_type]
|
3404
|
+
|
3405
|
+
# auth_names
|
3406
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3407
|
+
|
3408
|
+
new_options = opts.merge(
|
3409
|
+
:operation => :"ASPM.set_cloud_security_integration_state",
|
3410
|
+
:header_params => header_params,
|
3411
|
+
:query_params => query_params,
|
3412
|
+
:form_params => form_params,
|
3413
|
+
:body => post_body,
|
3414
|
+
:auth_names => auth_names,
|
3415
|
+
:return_type => return_type
|
3416
|
+
)
|
3417
|
+
|
3418
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3419
|
+
if @api_client.config.debugging
|
3420
|
+
@api_client.config.logger.debug "API called: ASPM#set_cloud_security_integration_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3421
|
+
end
|
3422
|
+
return data, status_code, headers
|
3423
|
+
end
|
3424
|
+
|
1426
3425
|
# Update an existing relay node
|
1427
3426
|
# @param body [TypesExecutorNode]
|
1428
3427
|
# @param [Hash] opts the optional parameters
|