crimson-falcon 1.0.1 → 1.1.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 +873 -185
- data/lib/crimson-falcon/api/alerts.rb +4 -4
- data/lib/crimson-falcon/api/api_integrations.rb +1 -1
- data/lib/crimson-falcon/api/aspm.rb +2144 -275
- 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 +5 -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 +9 -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/datascanner.rb +1 -1
- data/lib/crimson-falcon/api/default.rb +156 -0
- 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 +66 -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/installation_tokens.rb +3 -3
- data/lib/crimson-falcon/api/installation_tokens_settings.rb +3 -3
- data/lib/crimson-falcon/api/intel.rb +10 -10
- data/lib/crimson-falcon/api/intelligence_feeds.rb +228 -0
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +69 -10
- data/lib/crimson-falcon/api/kubernetes_container_compliance.rb +591 -0
- data/lib/crimson-falcon/api/kubernetes_protection.rb +100 -30
- data/lib/crimson-falcon/api/lookup_files.rb +28 -0
- 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/release_notes.rb +5 -5
- 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/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/activities_activity.rb +13 -1
- data/lib/crimson-falcon/models/activities_dependency.rb +285 -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 +13 -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 +13 -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_data.rb +276 -0
- data/lib/crimson-falcon/models/assets_compliance_response.rb +261 -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/{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/{domain_azure_resource_permission.rb → azure_resource_permission.rb} +3 -3
- 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/custom_type1942251022.rb +271 -0
- data/lib/crimson-falcon/models/{common_registry_credentials_response.rb → custom_type4161059146.rb} +8 -6
- 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 +33 -1
- data/lib/crimson-falcon/models/detects_mitre_attack_mapping.rb +275 -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/domain_actor_document.rb +22 -12
- 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_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 +23 -1
- data/lib/crimson-falcon/models/domain_discover_api_scan_details_host.rb +245 -0
- 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_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_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_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/domain_mitre_attack_mapping.rb +266 -0
- data/lib/crimson-falcon/models/domain_msa_meta_info_with_search_after.rb +280 -0
- data/lib/crimson-falcon/models/domain_news_document.rb +19 -9
- 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/domain_paging_with_search_after.rb +262 -0
- data/lib/crimson-falcon/models/domain_params.rb +261 -0
- data/lib/crimson-falcon/models/domain_pastebin_text_source.rb +294 -0
- 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_report_metadata.rb +15 -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_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 +19 -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 +10 -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_xdr_params.rb +12 -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/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/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/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} +4 -3
- 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/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/model_mitre_attack_mapping.rb +248 -0
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +10 -1
- data/lib/crimson-falcon/models/models_compliance_export_grouped_by_images_report.rb +28 -1
- 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_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/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/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_file_result.rb +2 -2
- data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +2 -2
- 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/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/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 +84 -1
- data/lib/crimson-falcon/models/resources_compliance_control.rb +470 -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_aggregates_request.rb +241 -0
- data/lib/crimson-falcon/models/restapi_indicators_aggregates_response.rb +271 -0
- data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +51 -1
- data/lib/crimson-falcon/models/{domain_condition.rb → statemgmt_condition.rb} +3 -3
- 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/{api_response_pagination.rb → types_group_hierarchy_response.rb} +18 -23
- 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 +253 -0
- data/lib/crimson-falcon/models/types_query_overtime_response_item.rb +253 -0
- data/lib/crimson-falcon/models/types_query_response.rb +255 -0
- data/lib/crimson-falcon/models/types_set_cloud_security_integration_state_request.rb +239 -0
- data/lib/crimson-falcon/models/{rest_aws_account_validated.rb → types_update_group_request.rb} +65 -50
- 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/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 +260 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +257 -26
- data/spec/api/alerts_spec.rb +2 -2
- data/spec/api/aspm_spec.rb +333 -1
- 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 +1 -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 +1 -23
- data/spec/api/custom_storage_spec.rb +73 -0
- data/spec/api/d4c_registration_spec.rb +6 -1
- data/spec/api/default_spec.rb +73 -0
- 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 +11 -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/intel_spec.rb +5 -5
- data/spec/api/intelligence_feeds_spec.rb +86 -0
- data/spec/api/intelligence_indicator_graph_spec.rb +11 -1
- data/spec/api/kubernetes_container_compliance_spec.rb +161 -0
- data/spec/api/kubernetes_protection_spec.rb +30 -15
- data/spec/api/lookup_files_spec.rb +4 -0
- 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/release_notes_spec.rb +2 -2
- data/spec/api/{vulnerabilities_spec.rb → serverless_vulnerabilities_spec.rb} +6 -6
- data/spec/api/spotlight_vulnerabilities_spec.rb +2 -2
- data/spec/api/tailored_intelligence_spec.rb +115 -0
- data/spec/api/user_management_spec.rb +32 -4
- data/spec/api/workflows_spec.rb +14 -0
- data/spec/models/activities_activity_spec.rb +6 -0
- data/spec/models/activities_dependency_spec.rb +69 -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/{api_rule_operation_v1_spec.rb → api_user_metadata_spec.rb} +10 -10
- data/spec/models/api_warning_json_spec.rb +69 -0
- data/spec/models/api_workflow_metadata_spec.rb +75 -0
- data/spec/models/aspm_data_spec.rb +75 -0
- data/spec/models/assets_compliance_response_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/{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/{domain_azure_resource_permission_spec.rb → azure_resource_permission_spec.rb} +6 -6
- 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/custom_type1942251022_spec.rb +63 -0
- data/spec/models/custom_type4161059146_spec.rb +63 -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 +12 -0
- data/spec/models/detects_mitre_attack_mapping_spec.rb +75 -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/domain_actor_document_spec.rb +6 -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_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 +12 -0
- data/spec/models/domain_discover_api_scan_details_host_spec.rb +57 -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_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/{rest_aws_account_validated_spec.rb → domain_ioa_counts_spec.rb} +16 -10
- data/spec/models/domain_iom_counts_spec.rb +75 -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_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/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_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_sca_misconfigs_counts_spec.rb +51 -0
- data/spec/models/domain_scan_profile_spec.rb +12 -0
- data/spec/models/domain_scan_spec.rb +12 -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 +6 -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_xdr_params_spec.rb +6 -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/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/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/{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/{domain_action_user_roles_request_spec.rb → flightcontrolapi_grant_input_spec.rb} +6 -6
- 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/{domain_ring_assignment_settings_v1_spec.rb → insights_insight_details_spec.rb} +9 -9
- data/spec/models/insights_insight_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/model_mitre_attack_mapping_spec.rb +57 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +6 -0
- data/spec/models/models_compliance_export_grouped_by_images_report_spec.rb +18 -0
- data/spec/models/models_container_spec.rb +106 -16
- data/spec/models/models_deployment_spec.rb +9 -129
- data/spec/models/models_pod_spec.rb +6 -0
- data/spec/models/models_result_properties_spec.rb +6 -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/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_file_result_spec.rb +1 -1
- 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/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/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 +54 -0
- data/spec/models/resources_compliance_control_spec.rb +153 -0
- data/spec/models/{domain_azure_management_group_role_assignment_spec.rb → resources_control_info_spec.rb} +15 -9
- 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_aggregates_request_spec.rb +51 -0
- data/spec/models/restapi_indicators_aggregates_response_spec.rb +63 -0
- data/spec/models/sadomain_typosquatting_subdomain_spec.rb +18 -0
- data/spec/models/{domain_condition_spec.rb → statemgmt_condition_spec.rb} +6 -6
- 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/types_create_group_request_spec.rb +87 -0
- 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_response_spec.rb +57 -0
- 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/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 +63 -0
- metadata +2400 -1707
@@ -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.
|
763
|
-
end
|
764
|
-
allowable_values = ["name", "id", "integrationTask"]
|
765
|
-
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
766
|
-
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
798
|
+
@api_client.config.logger.debug 'Calling API: ASPM.execute_function_data_query_count ...'
|
767
799
|
end
|
768
|
-
|
769
|
-
if @api_client.config.client_side_validation &&
|
770
|
-
fail ArgumentError, "
|
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,1695 @@ 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
|
-
|
993
|
+
# @return [TypesOvertimeResponse]
|
994
|
+
def execute_functions_overtime(field, opts = {})
|
995
|
+
data, _status_code, _headers = execute_functions_overtime_with_http_info(field, opts)
|
996
|
+
data
|
997
|
+
end
|
998
|
+
|
999
|
+
# A selected list of queryLanguage overtime queries. request & response are in MSA format
|
1000
|
+
# @param field [String]
|
1001
|
+
# @param [Hash] opts the optional parameters
|
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 [TypesQueryResult]
|
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<(TypesQueryResult, Integer, Hash)>] TypesQueryResult 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] || 'TypesQueryResult'
|
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
|
+
# Get all the relay nodes
|
1360
|
+
# @param node_type [String]
|
1361
|
+
# @param [Hash] opts the optional parameters
|
1362
|
+
# @option opts [Integer] :integration_type
|
1363
|
+
# @option opts [Integer] :offset
|
1364
|
+
# @option opts [Integer] :limit
|
1365
|
+
# @option opts [String] :order_by
|
1366
|
+
# @option opts [String] :direction
|
1367
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1368
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1369
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1370
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1371
|
+
# @return [TypesListExecutorNodesResponse]
|
1372
|
+
def get_executor_nodes(node_type, opts = {})
|
1373
|
+
data, _status_code, _headers = get_executor_nodes_with_http_info(node_type, opts)
|
1374
|
+
data
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# Get all the relay nodes
|
1378
|
+
# @param node_type [String]
|
1379
|
+
# @param [Hash] opts the optional parameters
|
1380
|
+
# @option opts [Integer] :integration_type
|
1381
|
+
# @option opts [Integer] :offset
|
1382
|
+
# @option opts [Integer] :limit
|
1383
|
+
# @option opts [String] :order_by
|
1384
|
+
# @option opts [String] :direction
|
1385
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1386
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1387
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1388
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1389
|
+
# @return [Array<(TypesListExecutorNodesResponse, Integer, Hash)>] TypesListExecutorNodesResponse data, response status code and response headers
|
1390
|
+
def get_executor_nodes_with_http_info(node_type, opts = {})
|
1391
|
+
if @api_client.config.debugging
|
1392
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes ...'
|
1393
|
+
end
|
1394
|
+
# verify the required parameter 'node_type' is set
|
1395
|
+
if @api_client.config.client_side_validation && node_type.nil?
|
1396
|
+
fail ArgumentError, "Missing the required parameter 'node_type' when calling ASPM.get_executor_nodes"
|
1397
|
+
end
|
1398
|
+
allowable_values = ["name", "id", "state", "type"]
|
1399
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
1400
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
1401
|
+
end
|
1402
|
+
allowable_values = ["asc", "desc"]
|
1403
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
1404
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
1405
|
+
end
|
1406
|
+
# resource path
|
1407
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes'
|
1408
|
+
|
1409
|
+
# query parameters
|
1410
|
+
query_params = opts[:query_params] || {}
|
1411
|
+
query_params[:'node_type'] = node_type
|
1412
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
1413
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1414
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1415
|
+
query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
1416
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
1417
|
+
query_params[:'executor_node_ids'] = @api_client.build_collection_param(opts[:'executor_node_ids'], :csv) if !opts[:'executor_node_ids'].nil?
|
1418
|
+
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
1419
|
+
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
1420
|
+
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
1421
|
+
|
1422
|
+
# header parameters
|
1423
|
+
header_params = opts[:header_params] || {}
|
1424
|
+
# HTTP header 'Accept' (if needed)
|
1425
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1426
|
+
|
1427
|
+
# form parameters
|
1428
|
+
form_params = opts[:form_params] || {}
|
1429
|
+
|
1430
|
+
# http body (model)
|
1431
|
+
post_body = opts[:debug_body]
|
1432
|
+
|
1433
|
+
# return_type
|
1434
|
+
return_type = opts[:debug_return_type] || 'TypesListExecutorNodesResponse'
|
1435
|
+
|
1436
|
+
# auth_names
|
1437
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1438
|
+
|
1439
|
+
new_options = opts.merge(
|
1440
|
+
:operation => :"ASPM.get_executor_nodes",
|
1441
|
+
:header_params => header_params,
|
1442
|
+
:query_params => query_params,
|
1443
|
+
:form_params => form_params,
|
1444
|
+
:body => post_body,
|
1445
|
+
:auth_names => auth_names,
|
1446
|
+
:return_type => return_type
|
1447
|
+
)
|
1448
|
+
|
1449
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1450
|
+
if @api_client.config.debugging
|
1451
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1452
|
+
end
|
1453
|
+
return data, status_code, headers
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
# Retrieve the relay instances in CSV format
|
1457
|
+
# @param id [Integer]
|
1458
|
+
# @param body [TypesExecutorNode]
|
1459
|
+
# @param [Hash] opts the optional parameters
|
1460
|
+
# @return [String]
|
1461
|
+
def get_executor_nodes_id_09_instances_csv(id, body, opts = {})
|
1462
|
+
data, _status_code, _headers = get_executor_nodes_id_09_instances_csv_with_http_info(id, body, opts)
|
1463
|
+
data
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# Retrieve the relay instances in CSV format
|
1467
|
+
# @param id [Integer]
|
1468
|
+
# @param body [TypesExecutorNode]
|
1469
|
+
# @param [Hash] opts the optional parameters
|
1470
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
1471
|
+
def get_executor_nodes_id_09_instances_csv_with_http_info(id, body, opts = {})
|
1472
|
+
if @api_client.config.debugging
|
1473
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes_id_09_instances_csv ...'
|
1474
|
+
end
|
1475
|
+
# verify the required parameter 'id' is set
|
1476
|
+
if @api_client.config.client_side_validation && id.nil?
|
1477
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.get_executor_nodes_id_09_instances_csv"
|
1478
|
+
end
|
1479
|
+
pattern = Regexp.new(/[0-9]+/)
|
1480
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
1481
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.get_executor_nodes_id_09_instances_csv, must conform to the pattern #{pattern}."
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# verify the required parameter 'body' is set
|
1485
|
+
if @api_client.config.client_side_validation && body.nil?
|
1486
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_executor_nodes_id_09_instances_csv"
|
1487
|
+
end
|
1488
|
+
# resource path
|
1489
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes/{ID}/instances/csv'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1490
|
+
|
1491
|
+
# query parameters
|
1492
|
+
query_params = opts[:query_params] || {}
|
1493
|
+
|
1494
|
+
# header parameters
|
1495
|
+
header_params = opts[:header_params] || {}
|
1496
|
+
# HTTP header 'Accept' (if needed)
|
1497
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1498
|
+
# HTTP header 'Content-Type'
|
1499
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1500
|
+
if !content_type.nil?
|
1501
|
+
header_params['Content-Type'] = content_type
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# form parameters
|
1505
|
+
form_params = opts[:form_params] || {}
|
1506
|
+
|
1507
|
+
# http body (model)
|
1508
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1509
|
+
|
1510
|
+
# return_type
|
1511
|
+
return_type = opts[:debug_return_type] || 'String'
|
1512
|
+
|
1513
|
+
# auth_names
|
1514
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1515
|
+
|
1516
|
+
new_options = opts.merge(
|
1517
|
+
:operation => :"ASPM.get_executor_nodes_id_09_instances_csv",
|
1518
|
+
:header_params => header_params,
|
1519
|
+
:query_params => query_params,
|
1520
|
+
:form_params => form_params,
|
1521
|
+
:body => post_body,
|
1522
|
+
:auth_names => auth_names,
|
1523
|
+
:return_type => return_type
|
1524
|
+
)
|
1525
|
+
|
1526
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1527
|
+
if @api_client.config.debugging
|
1528
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes_id_09_instances_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1529
|
+
end
|
1530
|
+
return data, status_code, headers
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
# Get metadata about all executor nodes
|
1534
|
+
# @param [Hash] opts the optional parameters
|
1535
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1536
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1537
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1538
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1539
|
+
# @return [TypesGetExecutorNodesMetadataResponse]
|
1540
|
+
def get_executor_nodes_metadata(opts = {})
|
1541
|
+
data, _status_code, _headers = get_executor_nodes_metadata_with_http_info(opts)
|
1542
|
+
data
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
# Get metadata about all executor nodes
|
1546
|
+
# @param [Hash] opts the optional parameters
|
1547
|
+
# @option opts [Array<String>] :executor_node_ids executor node ids
|
1548
|
+
# @option opts [Array<String>] :executor_node_names executor node names
|
1549
|
+
# @option opts [Array<Integer>] :executor_node_states executor node states
|
1550
|
+
# @option opts [Array<String>] :executor_node_types executor node types
|
1551
|
+
# @return [Array<(TypesGetExecutorNodesMetadataResponse, Integer, Hash)>] TypesGetExecutorNodesMetadataResponse data, response status code and response headers
|
1552
|
+
def get_executor_nodes_metadata_with_http_info(opts = {})
|
1553
|
+
if @api_client.config.debugging
|
1554
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_executor_nodes_metadata ...'
|
1555
|
+
end
|
1556
|
+
# resource path
|
1557
|
+
local_var_path = '/aspm-api-gateway/api/v1/executor_nodes/metadata'
|
1558
|
+
|
1559
|
+
# query parameters
|
1560
|
+
query_params = opts[:query_params] || {}
|
1561
|
+
query_params[:'executor_node_ids'] = @api_client.build_collection_param(opts[:'executor_node_ids'], :csv) if !opts[:'executor_node_ids'].nil?
|
1562
|
+
query_params[:'executor_node_names'] = @api_client.build_collection_param(opts[:'executor_node_names'], :csv) if !opts[:'executor_node_names'].nil?
|
1563
|
+
query_params[:'executor_node_states'] = @api_client.build_collection_param(opts[:'executor_node_states'], :csv) if !opts[:'executor_node_states'].nil?
|
1564
|
+
query_params[:'executor_node_types'] = @api_client.build_collection_param(opts[:'executor_node_types'], :csv) if !opts[:'executor_node_types'].nil?
|
1565
|
+
|
1566
|
+
# header parameters
|
1567
|
+
header_params = opts[:header_params] || {}
|
1568
|
+
# HTTP header 'Accept' (if needed)
|
1569
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1570
|
+
|
1571
|
+
# form parameters
|
1572
|
+
form_params = opts[:form_params] || {}
|
1573
|
+
|
1574
|
+
# http body (model)
|
1575
|
+
post_body = opts[:debug_body]
|
1576
|
+
|
1577
|
+
# return_type
|
1578
|
+
return_type = opts[:debug_return_type] || 'TypesGetExecutorNodesMetadataResponse'
|
1579
|
+
|
1580
|
+
# auth_names
|
1581
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1582
|
+
|
1583
|
+
new_options = opts.merge(
|
1584
|
+
:operation => :"ASPM.get_executor_nodes_metadata",
|
1585
|
+
:header_params => header_params,
|
1586
|
+
:query_params => query_params,
|
1587
|
+
:form_params => form_params,
|
1588
|
+
:body => post_body,
|
1589
|
+
:auth_names => auth_names,
|
1590
|
+
:return_type => return_type
|
1591
|
+
)
|
1592
|
+
|
1593
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1594
|
+
if @api_client.config.debugging
|
1595
|
+
@api_client.config.logger.debug "API called: ASPM#get_executor_nodes_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1596
|
+
end
|
1597
|
+
return data, status_code, headers
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
# Get group details
|
1601
|
+
# @param id [Integer] Group ID
|
1602
|
+
# @param [Hash] opts the optional parameters
|
1603
|
+
# @return [TypesGroupDetails]
|
1604
|
+
def get_group_id_09_v2(id, opts = {})
|
1605
|
+
data, _status_code, _headers = get_group_id_09_v2_with_http_info(id, opts)
|
1606
|
+
data
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# Get group details
|
1610
|
+
# @param id [Integer] Group ID
|
1611
|
+
# @param [Hash] opts the optional parameters
|
1612
|
+
# @return [Array<(TypesGroupDetails, Integer, Hash)>] TypesGroupDetails data, response status code and response headers
|
1613
|
+
def get_group_id_09_v2_with_http_info(id, opts = {})
|
1614
|
+
if @api_client.config.debugging
|
1615
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_group_id_09_v2 ...'
|
1616
|
+
end
|
1617
|
+
# verify the required parameter 'id' is set
|
1618
|
+
if @api_client.config.client_side_validation && id.nil?
|
1619
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.get_group_id_09_v2"
|
1620
|
+
end
|
1621
|
+
pattern = Regexp.new(/[0-9]+/)
|
1622
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
1623
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.get_group_id_09_v2, must conform to the pattern #{pattern}."
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
# resource path
|
1627
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1628
|
+
|
1629
|
+
# query parameters
|
1630
|
+
query_params = opts[:query_params] || {}
|
1631
|
+
|
1632
|
+
# header parameters
|
1633
|
+
header_params = opts[:header_params] || {}
|
1634
|
+
# HTTP header 'Accept' (if needed)
|
1635
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1636
|
+
|
1637
|
+
# form parameters
|
1638
|
+
form_params = opts[:form_params] || {}
|
1639
|
+
|
1640
|
+
# http body (model)
|
1641
|
+
post_body = opts[:debug_body]
|
1642
|
+
|
1643
|
+
# return_type
|
1644
|
+
return_type = opts[:debug_return_type] || 'TypesGroupDetails'
|
1645
|
+
|
1646
|
+
# auth_names
|
1647
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1648
|
+
|
1649
|
+
new_options = opts.merge(
|
1650
|
+
:operation => :"ASPM.get_group_id_09_v2",
|
1651
|
+
:header_params => header_params,
|
1652
|
+
:query_params => query_params,
|
1653
|
+
:form_params => form_params,
|
1654
|
+
:body => post_body,
|
1655
|
+
:auth_names => auth_names,
|
1656
|
+
:return_type => return_type
|
1657
|
+
)
|
1658
|
+
|
1659
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1660
|
+
if @api_client.config.debugging
|
1661
|
+
@api_client.config.logger.debug "API called: ASPM#get_group_id_09_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1662
|
+
end
|
1663
|
+
return data, status_code, headers
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
# Get group hierarchy
|
1667
|
+
# @param [Hash] opts the optional parameters
|
1668
|
+
# @return [TypesGroupHierarchyResponse]
|
1669
|
+
def get_groups_hier_v2(opts = {})
|
1670
|
+
data, _status_code, _headers = get_groups_hier_v2_with_http_info(opts)
|
1671
|
+
data
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# Get group hierarchy
|
1675
|
+
# @param [Hash] opts the optional parameters
|
1676
|
+
# @return [Array<(TypesGroupHierarchyResponse, Integer, Hash)>] TypesGroupHierarchyResponse data, response status code and response headers
|
1677
|
+
def get_groups_hier_v2_with_http_info(opts = {})
|
1678
|
+
if @api_client.config.debugging
|
1679
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_groups_hier_v2 ...'
|
1680
|
+
end
|
1681
|
+
# resource path
|
1682
|
+
local_var_path = '/aspm-api-gateway/api/v1/groups/hier/v2'
|
1683
|
+
|
1684
|
+
# query parameters
|
1685
|
+
query_params = opts[:query_params] || {}
|
1686
|
+
|
1687
|
+
# header parameters
|
1688
|
+
header_params = opts[:header_params] || {}
|
1689
|
+
# HTTP header 'Accept' (if needed)
|
1690
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1691
|
+
|
1692
|
+
# form parameters
|
1693
|
+
form_params = opts[:form_params] || {}
|
1694
|
+
|
1695
|
+
# http body (model)
|
1696
|
+
post_body = opts[:debug_body]
|
1697
|
+
|
1698
|
+
# return_type
|
1699
|
+
return_type = opts[:debug_return_type] || 'TypesGroupHierarchyResponse'
|
1700
|
+
|
1701
|
+
# auth_names
|
1702
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1703
|
+
|
1704
|
+
new_options = opts.merge(
|
1705
|
+
:operation => :"ASPM.get_groups_hier_v2",
|
1706
|
+
:header_params => header_params,
|
1707
|
+
:query_params => query_params,
|
1708
|
+
:form_params => form_params,
|
1709
|
+
:body => post_body,
|
1710
|
+
:auth_names => auth_names,
|
1711
|
+
:return_type => return_type
|
1712
|
+
)
|
1713
|
+
|
1714
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1715
|
+
if @api_client.config.debugging
|
1716
|
+
@api_client.config.logger.debug "API called: ASPM#get_groups_hier_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1717
|
+
end
|
1718
|
+
return data, status_code, headers
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# @param [Hash] opts the optional parameters
|
1722
|
+
# @option opts [String] :type Group types to query - can either be empty (all), parents, children
|
1723
|
+
# @return [Array<TypesGroupListItem>]
|
1724
|
+
def get_groups_list_v2(opts = {})
|
1725
|
+
data, _status_code, _headers = get_groups_list_v2_with_http_info(opts)
|
1726
|
+
data
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
# @param [Hash] opts the optional parameters
|
1730
|
+
# @option opts [String] :type Group types to query - can either be empty (all), parents, children
|
1731
|
+
# @return [Array<(Array<TypesGroupListItem>, Integer, Hash)>] Array<TypesGroupListItem> data, response status code and response headers
|
1732
|
+
def get_groups_list_v2_with_http_info(opts = {})
|
1733
|
+
if @api_client.config.debugging
|
1734
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_groups_list_v2 ...'
|
1735
|
+
end
|
1736
|
+
# resource path
|
1737
|
+
local_var_path = '/aspm-api-gateway/api/v1/groups/list/v2'
|
1738
|
+
|
1739
|
+
# query parameters
|
1740
|
+
query_params = opts[:query_params] || {}
|
1741
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
1742
|
+
|
1743
|
+
# header parameters
|
1744
|
+
header_params = opts[:header_params] || {}
|
1745
|
+
# HTTP header 'Accept' (if needed)
|
1746
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1747
|
+
|
1748
|
+
# form parameters
|
1749
|
+
form_params = opts[:form_params] || {}
|
1750
|
+
|
1751
|
+
# http body (model)
|
1752
|
+
post_body = opts[:debug_body]
|
1753
|
+
|
1754
|
+
# return_type
|
1755
|
+
return_type = opts[:debug_return_type] || 'Array<TypesGroupListItem>'
|
1756
|
+
|
1757
|
+
# auth_names
|
1758
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1759
|
+
|
1760
|
+
new_options = opts.merge(
|
1761
|
+
:operation => :"ASPM.get_groups_list_v2",
|
1762
|
+
:header_params => header_params,
|
1763
|
+
:query_params => query_params,
|
1764
|
+
:form_params => form_params,
|
1765
|
+
:body => post_body,
|
1766
|
+
:auth_names => auth_names,
|
1767
|
+
:return_type => return_type
|
1768
|
+
)
|
1769
|
+
|
1770
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1771
|
+
if @api_client.config.debugging
|
1772
|
+
@api_client.config.logger.debug "API called: ASPM#get_groups_list_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1773
|
+
end
|
1774
|
+
return data, status_code, headers
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Get all the integration tasks
|
1778
|
+
# @param [Hash] opts the optional parameters
|
1779
|
+
# @option opts [Integer] :integration_task_type
|
1780
|
+
# @option opts [String] :category
|
1781
|
+
# @option opts [Integer] :offset
|
1782
|
+
# @option opts [Integer] :limit
|
1783
|
+
# @option opts [String] :order_by
|
1784
|
+
# @option opts [String] :direction
|
1785
|
+
# @option opts [Integer] :integration_task_types
|
1786
|
+
# @option opts [Integer] :ids
|
1787
|
+
# @option opts [String] :names
|
1788
|
+
# @return [TypesListIntegrationTasksResponse]
|
1789
|
+
def get_integration_tasks(opts = {})
|
1790
|
+
data, _status_code, _headers = get_integration_tasks_with_http_info(opts)
|
1791
|
+
data
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
# Get all the integration tasks
|
1795
|
+
# @param [Hash] opts the optional parameters
|
1796
|
+
# @option opts [Integer] :integration_task_type
|
1797
|
+
# @option opts [String] :category
|
1798
|
+
# @option opts [Integer] :offset
|
1799
|
+
# @option opts [Integer] :limit
|
1800
|
+
# @option opts [String] :order_by
|
1801
|
+
# @option opts [String] :direction
|
1802
|
+
# @option opts [Integer] :integration_task_types
|
1803
|
+
# @option opts [Integer] :ids
|
1804
|
+
# @option opts [String] :names
|
1805
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
1806
|
+
def get_integration_tasks_with_http_info(opts = {})
|
1807
|
+
if @api_client.config.debugging
|
1808
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks ...'
|
1809
|
+
end
|
1810
|
+
allowable_values = ["name", "id", "integrationTask"]
|
1811
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
1812
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
1813
|
+
end
|
1814
|
+
allowable_values = ["asc", "desc"]
|
1815
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
1816
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
1817
|
+
end
|
1818
|
+
# resource path
|
1819
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks'
|
1820
|
+
|
1821
|
+
# query parameters
|
1822
|
+
query_params = opts[:query_params] || {}
|
1823
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
1824
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1825
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1826
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1827
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
1828
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
1829
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
1830
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
1831
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
1832
|
+
|
1833
|
+
# header parameters
|
1834
|
+
header_params = opts[:header_params] || {}
|
1835
|
+
# HTTP header 'Accept' (if needed)
|
1836
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1837
|
+
|
1838
|
+
# form parameters
|
1839
|
+
form_params = opts[:form_params] || {}
|
1840
|
+
|
1841
|
+
# http body (model)
|
1842
|
+
post_body = opts[:debug_body]
|
1843
|
+
|
1844
|
+
# return_type
|
1845
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
1846
|
+
|
1847
|
+
# auth_names
|
1848
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1849
|
+
|
1850
|
+
new_options = opts.merge(
|
1851
|
+
:operation => :"ASPM.get_integration_tasks",
|
1852
|
+
:header_params => header_params,
|
1853
|
+
:query_params => query_params,
|
1854
|
+
:form_params => form_params,
|
1855
|
+
:body => post_body,
|
1856
|
+
:auth_names => auth_names,
|
1857
|
+
:return_type => return_type
|
1858
|
+
)
|
1859
|
+
|
1860
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1861
|
+
if @api_client.config.debugging
|
1862
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1863
|
+
end
|
1864
|
+
return data, status_code, headers
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
# Get all the integration tasks, requires admin scope
|
1868
|
+
# @param [Hash] opts the optional parameters
|
1869
|
+
# @option opts [Integer] :integration_task_type
|
1870
|
+
# @option opts [String] :category
|
1871
|
+
# @option opts [Integer] :offset
|
1872
|
+
# @option opts [Integer] :limit
|
1873
|
+
# @option opts [String] :order_by
|
1874
|
+
# @option opts [String] :direction
|
1875
|
+
# @option opts [Integer] :integration_task_types
|
1876
|
+
# @option opts [Integer] :ids
|
1877
|
+
# @option opts [String] :names
|
1878
|
+
# @return [TypesListIntegrationTasksResponse]
|
1879
|
+
def get_integration_tasks_admin(opts = {})
|
1880
|
+
data, _status_code, _headers = get_integration_tasks_admin_with_http_info(opts)
|
1881
|
+
data
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
# Get all the integration tasks, requires admin scope
|
1885
|
+
# @param [Hash] opts the optional parameters
|
1886
|
+
# @option opts [Integer] :integration_task_type
|
1887
|
+
# @option opts [String] :category
|
1888
|
+
# @option opts [Integer] :offset
|
1889
|
+
# @option opts [Integer] :limit
|
1890
|
+
# @option opts [String] :order_by
|
1891
|
+
# @option opts [String] :direction
|
1892
|
+
# @option opts [Integer] :integration_task_types
|
1893
|
+
# @option opts [Integer] :ids
|
1894
|
+
# @option opts [String] :names
|
1895
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
1896
|
+
def get_integration_tasks_admin_with_http_info(opts = {})
|
1897
|
+
if @api_client.config.debugging
|
1898
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_admin ...'
|
1899
|
+
end
|
1900
|
+
allowable_values = ["name", "id", "integrationTask"]
|
1901
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
1902
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
1903
|
+
end
|
1904
|
+
allowable_values = ["asc", "desc"]
|
1905
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
1906
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
1907
|
+
end
|
1908
|
+
# resource path
|
1909
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/admin'
|
1910
|
+
|
1911
|
+
# query parameters
|
1912
|
+
query_params = opts[:query_params] || {}
|
1913
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
1914
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1915
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1916
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1917
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
1918
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
1919
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
1920
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
1921
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
1922
|
+
|
1923
|
+
# header parameters
|
1924
|
+
header_params = opts[:header_params] || {}
|
1925
|
+
# HTTP header 'Accept' (if needed)
|
1926
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1927
|
+
|
1928
|
+
# form parameters
|
1929
|
+
form_params = opts[:form_params] || {}
|
1930
|
+
|
1931
|
+
# http body (model)
|
1932
|
+
post_body = opts[:debug_body]
|
1933
|
+
|
1934
|
+
# return_type
|
1935
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
1936
|
+
|
1937
|
+
# auth_names
|
1938
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1939
|
+
|
1940
|
+
new_options = opts.merge(
|
1941
|
+
:operation => :"ASPM.get_integration_tasks_admin",
|
1942
|
+
:header_params => header_params,
|
1943
|
+
:query_params => query_params,
|
1944
|
+
:form_params => form_params,
|
1945
|
+
:body => post_body,
|
1946
|
+
:auth_names => auth_names,
|
1947
|
+
:return_type => return_type
|
1948
|
+
)
|
1949
|
+
|
1950
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1951
|
+
if @api_client.config.debugging
|
1952
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_admin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1953
|
+
end
|
1954
|
+
return data, status_code, headers
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# Get metadata about all integration tasks
|
1958
|
+
# @param [Hash] opts the optional parameters
|
1959
|
+
# @option opts [String] :category
|
1960
|
+
# @option opts [Integer] :integration_task_types
|
1961
|
+
# @option opts [Integer] :ids
|
1962
|
+
# @option opts [String] :names
|
1963
|
+
# @return [TypesGetIntegrationTasksMetadataResponse]
|
1964
|
+
def get_integration_tasks_metadata(opts = {})
|
1965
|
+
data, _status_code, _headers = get_integration_tasks_metadata_with_http_info(opts)
|
1966
|
+
data
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# Get metadata about all integration tasks
|
1970
|
+
# @param [Hash] opts the optional parameters
|
1971
|
+
# @option opts [String] :category
|
1972
|
+
# @option opts [Integer] :integration_task_types
|
1973
|
+
# @option opts [Integer] :ids
|
1974
|
+
# @option opts [String] :names
|
1975
|
+
# @return [Array<(TypesGetIntegrationTasksMetadataResponse, Integer, Hash)>] TypesGetIntegrationTasksMetadataResponse data, response status code and response headers
|
1976
|
+
def get_integration_tasks_metadata_with_http_info(opts = {})
|
1977
|
+
if @api_client.config.debugging
|
1978
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_metadata ...'
|
1979
|
+
end
|
1980
|
+
allowable_values = ["collecting", "exporting"]
|
1981
|
+
if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
|
1982
|
+
fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
|
1983
|
+
end
|
1984
|
+
# resource path
|
1985
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/metadata'
|
1986
|
+
|
1987
|
+
# query parameters
|
1988
|
+
query_params = opts[:query_params] || {}
|
1989
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1990
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
1991
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
1992
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
1993
|
+
|
1994
|
+
# header parameters
|
1995
|
+
header_params = opts[:header_params] || {}
|
1996
|
+
# HTTP header 'Accept' (if needed)
|
1997
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1998
|
+
|
1999
|
+
# form parameters
|
2000
|
+
form_params = opts[:form_params] || {}
|
2001
|
+
|
2002
|
+
# http body (model)
|
2003
|
+
post_body = opts[:debug_body]
|
2004
|
+
|
2005
|
+
# return_type
|
2006
|
+
return_type = opts[:debug_return_type] || 'TypesGetIntegrationTasksMetadataResponse'
|
2007
|
+
|
2008
|
+
# auth_names
|
2009
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2010
|
+
|
2011
|
+
new_options = opts.merge(
|
2012
|
+
:operation => :"ASPM.get_integration_tasks_metadata",
|
2013
|
+
:header_params => header_params,
|
2014
|
+
:query_params => query_params,
|
2015
|
+
:form_params => form_params,
|
2016
|
+
:body => post_body,
|
2017
|
+
:auth_names => auth_names,
|
2018
|
+
:return_type => return_type
|
2019
|
+
)
|
2020
|
+
|
2021
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2022
|
+
if @api_client.config.debugging
|
2023
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2024
|
+
end
|
2025
|
+
return data, status_code, headers
|
2026
|
+
end
|
2027
|
+
|
2028
|
+
# Get all the integration tasks
|
2029
|
+
# @param [Hash] opts the optional parameters
|
2030
|
+
# @option opts [Integer] :integration_task_type
|
2031
|
+
# @option opts [String] :category
|
2032
|
+
# @option opts [Integer] :offset
|
2033
|
+
# @option opts [Integer] :limit
|
2034
|
+
# @option opts [String] :order_by
|
2035
|
+
# @option opts [String] :direction
|
2036
|
+
# @option opts [Integer] :integration_task_types
|
2037
|
+
# @option opts [Integer] :ids
|
2038
|
+
# @option opts [String] :names
|
2039
|
+
# @return [TypesListIntegrationTasksResponse]
|
2040
|
+
def get_integration_tasks_v2(opts = {})
|
2041
|
+
data, _status_code, _headers = get_integration_tasks_v2_with_http_info(opts)
|
2042
|
+
data
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
# Get all the integration tasks
|
2046
|
+
# @param [Hash] opts the optional parameters
|
2047
|
+
# @option opts [Integer] :integration_task_type
|
2048
|
+
# @option opts [String] :category
|
2049
|
+
# @option opts [Integer] :offset
|
2050
|
+
# @option opts [Integer] :limit
|
2051
|
+
# @option opts [String] :order_by
|
2052
|
+
# @option opts [String] :direction
|
2053
|
+
# @option opts [Integer] :integration_task_types
|
2054
|
+
# @option opts [Integer] :ids
|
2055
|
+
# @option opts [String] :names
|
2056
|
+
# @return [Array<(TypesListIntegrationTasksResponse, Integer, Hash)>] TypesListIntegrationTasksResponse data, response status code and response headers
|
2057
|
+
def get_integration_tasks_v2_with_http_info(opts = {})
|
2058
|
+
if @api_client.config.debugging
|
2059
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_tasks_v2 ...'
|
2060
|
+
end
|
2061
|
+
allowable_values = ["name", "id", "integrationTask"]
|
2062
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !allowable_values.include?(opts[:'order_by'])
|
2063
|
+
fail ArgumentError, "invalid value for \"order_by\", must be one of #{allowable_values}"
|
2064
|
+
end
|
2065
|
+
allowable_values = ["asc", "desc"]
|
2066
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
2067
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
2068
|
+
end
|
2069
|
+
# resource path
|
2070
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/v2'
|
2071
|
+
|
2072
|
+
# query parameters
|
2073
|
+
query_params = opts[:query_params] || {}
|
2074
|
+
query_params[:'integration_task_type'] = opts[:'integration_task_type'] if !opts[:'integration_task_type'].nil?
|
2075
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2076
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2077
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2078
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
2079
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
2080
|
+
query_params[:'integration_task_types'] = opts[:'integration_task_types'] if !opts[:'integration_task_types'].nil?
|
2081
|
+
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
2082
|
+
query_params[:'names'] = opts[:'names'] if !opts[:'names'].nil?
|
2083
|
+
|
2084
|
+
# header parameters
|
2085
|
+
header_params = opts[:header_params] || {}
|
2086
|
+
# HTTP header 'Accept' (if needed)
|
2087
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2088
|
+
|
2089
|
+
# form parameters
|
2090
|
+
form_params = opts[:form_params] || {}
|
2091
|
+
|
2092
|
+
# http body (model)
|
2093
|
+
post_body = opts[:debug_body]
|
2094
|
+
|
2095
|
+
# return_type
|
2096
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTasksResponse'
|
2097
|
+
|
2098
|
+
# auth_names
|
2099
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2100
|
+
|
2101
|
+
new_options = opts.merge(
|
2102
|
+
:operation => :"ASPM.get_integration_tasks_v2",
|
2103
|
+
:header_params => header_params,
|
2104
|
+
:query_params => query_params,
|
2105
|
+
:form_params => form_params,
|
2106
|
+
:body => post_body,
|
2107
|
+
:auth_names => auth_names,
|
2108
|
+
:return_type => return_type
|
2109
|
+
)
|
2110
|
+
|
2111
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2112
|
+
if @api_client.config.debugging
|
2113
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_tasks_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2114
|
+
end
|
2115
|
+
return data, status_code, headers
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
# Get all the integration types
|
2119
|
+
# @param [Hash] opts the optional parameters
|
2120
|
+
# @return [TypesListIntegrationTypesResponse]
|
2121
|
+
def get_integration_types(opts = {})
|
2122
|
+
data, _status_code, _headers = get_integration_types_with_http_info(opts)
|
2123
|
+
data
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
# Get all the integration types
|
2127
|
+
# @param [Hash] opts the optional parameters
|
2128
|
+
# @return [Array<(TypesListIntegrationTypesResponse, Integer, Hash)>] TypesListIntegrationTypesResponse data, response status code and response headers
|
2129
|
+
def get_integration_types_with_http_info(opts = {})
|
2130
|
+
if @api_client.config.debugging
|
2131
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integration_types ...'
|
2132
|
+
end
|
2133
|
+
# resource path
|
2134
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_types'
|
2135
|
+
|
2136
|
+
# query parameters
|
2137
|
+
query_params = opts[:query_params] || {}
|
2138
|
+
|
2139
|
+
# header parameters
|
2140
|
+
header_params = opts[:header_params] || {}
|
2141
|
+
# HTTP header 'Accept' (if needed)
|
2142
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2143
|
+
|
2144
|
+
# form parameters
|
2145
|
+
form_params = opts[:form_params] || {}
|
2146
|
+
|
2147
|
+
# http body (model)
|
2148
|
+
post_body = opts[:debug_body]
|
2149
|
+
|
2150
|
+
# return_type
|
2151
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationTypesResponse'
|
2152
|
+
|
2153
|
+
# auth_names
|
2154
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2155
|
+
|
2156
|
+
new_options = opts.merge(
|
2157
|
+
:operation => :"ASPM.get_integration_types",
|
2158
|
+
:header_params => header_params,
|
2159
|
+
:query_params => query_params,
|
2160
|
+
:form_params => form_params,
|
2161
|
+
:body => post_body,
|
2162
|
+
:auth_names => auth_names,
|
2163
|
+
:return_type => return_type
|
2164
|
+
)
|
2165
|
+
|
2166
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2167
|
+
if @api_client.config.debugging
|
2168
|
+
@api_client.config.logger.debug "API called: ASPM#get_integration_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2169
|
+
end
|
2170
|
+
return data, status_code, headers
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# Get a list of all the integrations
|
2174
|
+
# @param [Hash] opts the optional parameters
|
2175
|
+
# @option opts [Integer] :integration_type
|
2176
|
+
# @option opts [String] :category
|
2177
|
+
# @return [TypesListIntegrationsResponse]
|
2178
|
+
def get_integrations(opts = {})
|
953
2179
|
data, _status_code, _headers = get_integrations_with_http_info(opts)
|
954
2180
|
data
|
955
2181
|
end
|
956
2182
|
|
957
|
-
# Get a list of all the integrations
|
2183
|
+
# Get a list of all the integrations
|
2184
|
+
# @param [Hash] opts the optional parameters
|
2185
|
+
# @option opts [Integer] :integration_type
|
2186
|
+
# @option opts [String] :category
|
2187
|
+
# @return [Array<(TypesListIntegrationsResponse, Integer, Hash)>] TypesListIntegrationsResponse data, response status code and response headers
|
2188
|
+
def get_integrations_with_http_info(opts = {})
|
2189
|
+
if @api_client.config.debugging
|
2190
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integrations ...'
|
2191
|
+
end
|
2192
|
+
# resource path
|
2193
|
+
local_var_path = '/aspm-api-gateway/api/v1/integrations'
|
2194
|
+
|
2195
|
+
# query parameters
|
2196
|
+
query_params = opts[:query_params] || {}
|
2197
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
2198
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2199
|
+
|
2200
|
+
# header parameters
|
2201
|
+
header_params = opts[:header_params] || {}
|
2202
|
+
# HTTP header 'Accept' (if needed)
|
2203
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2204
|
+
|
2205
|
+
# form parameters
|
2206
|
+
form_params = opts[:form_params] || {}
|
2207
|
+
|
2208
|
+
# http body (model)
|
2209
|
+
post_body = opts[:debug_body]
|
2210
|
+
|
2211
|
+
# return_type
|
2212
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationsResponse'
|
2213
|
+
|
2214
|
+
# auth_names
|
2215
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2216
|
+
|
2217
|
+
new_options = opts.merge(
|
2218
|
+
:operation => :"ASPM.get_integrations",
|
2219
|
+
:header_params => header_params,
|
2220
|
+
:query_params => query_params,
|
2221
|
+
:form_params => form_params,
|
2222
|
+
:body => post_body,
|
2223
|
+
:auth_names => auth_names,
|
2224
|
+
:return_type => return_type
|
2225
|
+
)
|
2226
|
+
|
2227
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2228
|
+
if @api_client.config.debugging
|
2229
|
+
@api_client.config.logger.debug "API called: ASPM#get_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2230
|
+
end
|
2231
|
+
return data, status_code, headers
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# Get a list of all the integrations
|
2235
|
+
# @param [Hash] opts the optional parameters
|
2236
|
+
# @option opts [Integer] :integration_type
|
2237
|
+
# @option opts [String] :category
|
2238
|
+
# @return [TypesListIntegrationsResponse]
|
2239
|
+
def get_integrations_v2(opts = {})
|
2240
|
+
data, _status_code, _headers = get_integrations_v2_with_http_info(opts)
|
2241
|
+
data
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
# Get a list of all the integrations
|
2245
|
+
# @param [Hash] opts the optional parameters
|
2246
|
+
# @option opts [Integer] :integration_type
|
2247
|
+
# @option opts [String] :category
|
2248
|
+
# @return [Array<(TypesListIntegrationsResponse, Integer, Hash)>] TypesListIntegrationsResponse data, response status code and response headers
|
2249
|
+
def get_integrations_v2_with_http_info(opts = {})
|
2250
|
+
if @api_client.config.debugging
|
2251
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_integrations_v2 ...'
|
2252
|
+
end
|
2253
|
+
# resource path
|
2254
|
+
local_var_path = '/aspm-api-gateway/api/v1/integrations/v2'
|
2255
|
+
|
2256
|
+
# query parameters
|
2257
|
+
query_params = opts[:query_params] || {}
|
2258
|
+
query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil?
|
2259
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2260
|
+
|
2261
|
+
# header parameters
|
2262
|
+
header_params = opts[:header_params] || {}
|
2263
|
+
# HTTP header 'Accept' (if needed)
|
2264
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2265
|
+
|
2266
|
+
# form parameters
|
2267
|
+
form_params = opts[:form_params] || {}
|
2268
|
+
|
2269
|
+
# http body (model)
|
2270
|
+
post_body = opts[:debug_body]
|
2271
|
+
|
2272
|
+
# return_type
|
2273
|
+
return_type = opts[:debug_return_type] || 'TypesListIntegrationsResponse'
|
2274
|
+
|
2275
|
+
# auth_names
|
2276
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2277
|
+
|
2278
|
+
new_options = opts.merge(
|
2279
|
+
:operation => :"ASPM.get_integrations_v2",
|
2280
|
+
:header_params => header_params,
|
2281
|
+
:query_params => query_params,
|
2282
|
+
:form_params => form_params,
|
2283
|
+
:body => post_body,
|
2284
|
+
:auth_names => auth_names,
|
2285
|
+
:return_type => return_type
|
2286
|
+
)
|
2287
|
+
|
2288
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2289
|
+
if @api_client.config.debugging
|
2290
|
+
@api_client.config.logger.debug "API called: ASPM#get_integrations_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2291
|
+
end
|
2292
|
+
return data, status_code, headers
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
# @param persistent_signature [String]
|
2296
|
+
# @param [Hash] opts the optional parameters
|
2297
|
+
# @option opts [Integer] :optional_time
|
2298
|
+
# @option opts [Integer] :revision_id
|
2299
|
+
# @option opts [Integer] :limit
|
2300
|
+
# @option opts [Integer] :offset
|
2301
|
+
# @option opts [Array<String>] :order_by
|
2302
|
+
# @option opts [String] :direction
|
2303
|
+
# @return [TypesArtifacts]
|
2304
|
+
def get_service_artifacts(persistent_signature, opts = {})
|
2305
|
+
data, _status_code, _headers = get_service_artifacts_with_http_info(persistent_signature, opts)
|
2306
|
+
data
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# @param persistent_signature [String]
|
2310
|
+
# @param [Hash] opts the optional parameters
|
2311
|
+
# @option opts [Integer] :optional_time
|
2312
|
+
# @option opts [Integer] :revision_id
|
2313
|
+
# @option opts [Integer] :limit
|
2314
|
+
# @option opts [Integer] :offset
|
2315
|
+
# @option opts [Array<String>] :order_by
|
2316
|
+
# @option opts [String] :direction
|
2317
|
+
# @return [Array<(TypesArtifacts, Integer, Hash)>] TypesArtifacts data, response status code and response headers
|
2318
|
+
def get_service_artifacts_with_http_info(persistent_signature, opts = {})
|
2319
|
+
if @api_client.config.debugging
|
2320
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_service_artifacts ...'
|
2321
|
+
end
|
2322
|
+
# verify the required parameter 'persistent_signature' is set
|
2323
|
+
if @api_client.config.client_side_validation && persistent_signature.nil?
|
2324
|
+
fail ArgumentError, "Missing the required parameter 'persistent_signature' when calling ASPM.get_service_artifacts"
|
2325
|
+
end
|
2326
|
+
allowable_values = []
|
2327
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
|
2328
|
+
fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
|
2329
|
+
end
|
2330
|
+
allowable_values = ["asc", "desc"]
|
2331
|
+
if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
|
2332
|
+
fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
|
2333
|
+
end
|
2334
|
+
# resource path
|
2335
|
+
local_var_path = '/aspm-api-gateway/api/v1/artifacts'
|
2336
|
+
|
2337
|
+
# query parameters
|
2338
|
+
query_params = opts[:query_params] || {}
|
2339
|
+
query_params[:'persistentSignature'] = persistent_signature
|
2340
|
+
query_params[:'optionalTime'] = opts[:'optional_time'] if !opts[:'optional_time'].nil?
|
2341
|
+
query_params[:'revisionId'] = opts[:'revision_id'] if !opts[:'revision_id'].nil?
|
2342
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2343
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2344
|
+
query_params[:'orderBy'] = @api_client.build_collection_param(opts[:'order_by'], :csv) if !opts[:'order_by'].nil?
|
2345
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
2346
|
+
|
2347
|
+
# header parameters
|
2348
|
+
header_params = opts[:header_params] || {}
|
2349
|
+
# HTTP header 'Accept' (if needed)
|
2350
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2351
|
+
|
2352
|
+
# form parameters
|
2353
|
+
form_params = opts[:form_params] || {}
|
2354
|
+
|
2355
|
+
# http body (model)
|
2356
|
+
post_body = opts[:debug_body]
|
2357
|
+
|
2358
|
+
# return_type
|
2359
|
+
return_type = opts[:debug_return_type] || 'TypesArtifacts'
|
2360
|
+
|
2361
|
+
# auth_names
|
2362
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2363
|
+
|
2364
|
+
new_options = opts.merge(
|
2365
|
+
:operation => :"ASPM.get_service_artifacts",
|
2366
|
+
:header_params => header_params,
|
2367
|
+
:query_params => query_params,
|
2368
|
+
:form_params => form_params,
|
2369
|
+
:body => post_body,
|
2370
|
+
:auth_names => auth_names,
|
2371
|
+
:return_type => return_type
|
2372
|
+
)
|
2373
|
+
|
2374
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2375
|
+
if @api_client.config.debugging
|
2376
|
+
@api_client.config.logger.debug "API called: ASPM#get_service_artifacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2377
|
+
end
|
2378
|
+
return data, status_code, headers
|
2379
|
+
end
|
2380
|
+
|
2381
|
+
# Get the different types of violation
|
2382
|
+
# @param body [TypesGenericUserFacingRequest]
|
2383
|
+
# @param [Hash] opts the optional parameters
|
2384
|
+
# @return [TypesGetViolationTypesResponse]
|
2385
|
+
def get_service_violation_types(body, opts = {})
|
2386
|
+
data, _status_code, _headers = get_service_violation_types_with_http_info(body, opts)
|
2387
|
+
data
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
# Get the different types of violation
|
2391
|
+
# @param body [TypesGenericUserFacingRequest]
|
958
2392
|
# @param [Hash] opts the optional parameters
|
959
|
-
# @
|
960
|
-
|
961
|
-
# @return [Array<(TypesListIntegrationsResponse, Integer, Hash)>] TypesListIntegrationsResponse data, response status code and response headers
|
962
|
-
def get_integrations_with_http_info(opts = {})
|
2393
|
+
# @return [Array<(TypesGetViolationTypesResponse, Integer, Hash)>] TypesGetViolationTypesResponse data, response status code and response headers
|
2394
|
+
def get_service_violation_types_with_http_info(body, opts = {})
|
963
2395
|
if @api_client.config.debugging
|
964
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2396
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_service_violation_types ...'
|
2397
|
+
end
|
2398
|
+
# verify the required parameter 'body' is set
|
2399
|
+
if @api_client.config.client_side_validation && body.nil?
|
2400
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_service_violation_types"
|
2401
|
+
end
|
2402
|
+
# resource path
|
2403
|
+
local_var_path = '/aspm-api-gateway/api/v1/services/violations/types'
|
2404
|
+
|
2405
|
+
# query parameters
|
2406
|
+
query_params = opts[:query_params] || {}
|
2407
|
+
|
2408
|
+
# header parameters
|
2409
|
+
header_params = opts[:header_params] || {}
|
2410
|
+
# HTTP header 'Accept' (if needed)
|
2411
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2412
|
+
# HTTP header 'Content-Type'
|
2413
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2414
|
+
if !content_type.nil?
|
2415
|
+
header_params['Content-Type'] = content_type
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
# form parameters
|
2419
|
+
form_params = opts[:form_params] || {}
|
2420
|
+
|
2421
|
+
# http body (model)
|
2422
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2423
|
+
|
2424
|
+
# return_type
|
2425
|
+
return_type = opts[:debug_return_type] || 'TypesGetViolationTypesResponse'
|
2426
|
+
|
2427
|
+
# auth_names
|
2428
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2429
|
+
|
2430
|
+
new_options = opts.merge(
|
2431
|
+
:operation => :"ASPM.get_service_violation_types",
|
2432
|
+
:header_params => header_params,
|
2433
|
+
:query_params => query_params,
|
2434
|
+
:form_params => form_params,
|
2435
|
+
:body => post_body,
|
2436
|
+
:auth_names => auth_names,
|
2437
|
+
:return_type => return_type
|
2438
|
+
)
|
2439
|
+
|
2440
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2441
|
+
if @api_client.config.debugging
|
2442
|
+
@api_client.config.logger.debug "API called: ASPM#get_service_violation_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2443
|
+
end
|
2444
|
+
return data, status_code, headers
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
# Get the total amount of existing services
|
2448
|
+
# @param body [TypesGetServicesRequest]
|
2449
|
+
# @param [Hash] opts the optional parameters
|
2450
|
+
# @return [nil]
|
2451
|
+
def get_services_count(body, opts = {})
|
2452
|
+
get_services_count_with_http_info(body, opts)
|
2453
|
+
nil
|
2454
|
+
end
|
2455
|
+
|
2456
|
+
# Get the total amount of existing services
|
2457
|
+
# @param body [TypesGetServicesRequest]
|
2458
|
+
# @param [Hash] opts the optional parameters
|
2459
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2460
|
+
def get_services_count_with_http_info(body, opts = {})
|
2461
|
+
if @api_client.config.debugging
|
2462
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_services_count ...'
|
2463
|
+
end
|
2464
|
+
# verify the required parameter 'body' is set
|
2465
|
+
if @api_client.config.client_side_validation && body.nil?
|
2466
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.get_services_count"
|
2467
|
+
end
|
2468
|
+
# resource path
|
2469
|
+
local_var_path = '/aspm-api-gateway/api/v1/services/count'
|
2470
|
+
|
2471
|
+
# query parameters
|
2472
|
+
query_params = opts[:query_params] || {}
|
2473
|
+
|
2474
|
+
# header parameters
|
2475
|
+
header_params = opts[:header_params] || {}
|
2476
|
+
# HTTP header 'Accept' (if needed)
|
2477
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2478
|
+
# HTTP header 'Content-Type'
|
2479
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2480
|
+
if !content_type.nil?
|
2481
|
+
header_params['Content-Type'] = content_type
|
2482
|
+
end
|
2483
|
+
|
2484
|
+
# form parameters
|
2485
|
+
form_params = opts[:form_params] || {}
|
2486
|
+
|
2487
|
+
# http body (model)
|
2488
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2489
|
+
|
2490
|
+
# return_type
|
2491
|
+
return_type = opts[:debug_return_type]
|
2492
|
+
|
2493
|
+
# auth_names
|
2494
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2495
|
+
|
2496
|
+
new_options = opts.merge(
|
2497
|
+
:operation => :"ASPM.get_services_count",
|
2498
|
+
:header_params => header_params,
|
2499
|
+
:query_params => query_params,
|
2500
|
+
:form_params => form_params,
|
2501
|
+
:body => post_body,
|
2502
|
+
:auth_names => auth_names,
|
2503
|
+
:return_type => return_type
|
2504
|
+
)
|
2505
|
+
|
2506
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
2507
|
+
if @api_client.config.debugging
|
2508
|
+
@api_client.config.logger.debug "API called: ASPM#get_services_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2509
|
+
end
|
2510
|
+
return data, status_code, headers
|
2511
|
+
end
|
2512
|
+
|
2513
|
+
# Get all the tags
|
2514
|
+
# @param [Hash] opts the optional parameters
|
2515
|
+
# @option opts [Boolean] :is_unique
|
2516
|
+
# @option opts [String] :tag_name
|
2517
|
+
# @option opts [Integer] :limit
|
2518
|
+
# @option opts [Integer] :offset
|
2519
|
+
# @option opts [Array<String>] :name
|
2520
|
+
# @return [TypesTagsDataResponse]
|
2521
|
+
def get_tags(opts = {})
|
2522
|
+
data, _status_code, _headers = get_tags_with_http_info(opts)
|
2523
|
+
data
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
# Get all the tags
|
2527
|
+
# @param [Hash] opts the optional parameters
|
2528
|
+
# @option opts [Boolean] :is_unique
|
2529
|
+
# @option opts [String] :tag_name
|
2530
|
+
# @option opts [Integer] :limit
|
2531
|
+
# @option opts [Integer] :offset
|
2532
|
+
# @option opts [Array<String>] :name
|
2533
|
+
# @return [Array<(TypesTagsDataResponse, Integer, Hash)>] TypesTagsDataResponse data, response status code and response headers
|
2534
|
+
def get_tags_with_http_info(opts = {})
|
2535
|
+
if @api_client.config.debugging
|
2536
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_tags ...'
|
2537
|
+
end
|
2538
|
+
# resource path
|
2539
|
+
local_var_path = '/aspm-api-gateway/api/v1/tags'
|
2540
|
+
|
2541
|
+
# query parameters
|
2542
|
+
query_params = opts[:query_params] || {}
|
2543
|
+
query_params[:'isUnique'] = opts[:'is_unique'] if !opts[:'is_unique'].nil?
|
2544
|
+
query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
|
2545
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2546
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2547
|
+
query_params[:'name'] = @api_client.build_collection_param(opts[:'name'], :csv) if !opts[:'name'].nil?
|
2548
|
+
|
2549
|
+
# header parameters
|
2550
|
+
header_params = opts[:header_params] || {}
|
2551
|
+
# HTTP header 'Accept' (if needed)
|
2552
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2553
|
+
|
2554
|
+
# form parameters
|
2555
|
+
form_params = opts[:form_params] || {}
|
2556
|
+
|
2557
|
+
# http body (model)
|
2558
|
+
post_body = opts[:debug_body]
|
2559
|
+
|
2560
|
+
# return_type
|
2561
|
+
return_type = opts[:debug_return_type] || 'TypesTagsDataResponse'
|
2562
|
+
|
2563
|
+
# auth_names
|
2564
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2565
|
+
|
2566
|
+
new_options = opts.merge(
|
2567
|
+
:operation => :"ASPM.get_tags",
|
2568
|
+
:header_params => header_params,
|
2569
|
+
:query_params => query_params,
|
2570
|
+
:form_params => form_params,
|
2571
|
+
:body => post_body,
|
2572
|
+
:auth_names => auth_names,
|
2573
|
+
:return_type => return_type
|
2574
|
+
)
|
2575
|
+
|
2576
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2577
|
+
if @api_client.config.debugging
|
2578
|
+
@api_client.config.logger.debug "API called: ASPM#get_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2579
|
+
end
|
2580
|
+
return data, status_code, headers
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
# List users
|
2584
|
+
# @param [Hash] opts the optional parameters
|
2585
|
+
# @option opts [String] :pagination URL encoded pagination JSON - limit, offset, direction, orderBy
|
2586
|
+
# @return [TypesUsersResponse]
|
2587
|
+
def get_users_v2(opts = {})
|
2588
|
+
data, _status_code, _headers = get_users_v2_with_http_info(opts)
|
2589
|
+
data
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
# List users
|
2593
|
+
# @param [Hash] opts the optional parameters
|
2594
|
+
# @option opts [String] :pagination URL encoded pagination JSON - limit, offset, direction, orderBy
|
2595
|
+
# @return [Array<(TypesUsersResponse, Integer, Hash)>] TypesUsersResponse data, response status code and response headers
|
2596
|
+
def get_users_v2_with_http_info(opts = {})
|
2597
|
+
if @api_client.config.debugging
|
2598
|
+
@api_client.config.logger.debug 'Calling API: ASPM.get_users_v2 ...'
|
2599
|
+
end
|
2600
|
+
# resource path
|
2601
|
+
local_var_path = '/aspm-api-gateway/api/v1/users/v2'
|
2602
|
+
|
2603
|
+
# query parameters
|
2604
|
+
query_params = opts[:query_params] || {}
|
2605
|
+
query_params[:'pagination'] = opts[:'pagination'] if !opts[:'pagination'].nil?
|
2606
|
+
|
2607
|
+
# header parameters
|
2608
|
+
header_params = opts[:header_params] || {}
|
2609
|
+
# HTTP header 'Accept' (if needed)
|
2610
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2611
|
+
|
2612
|
+
# form parameters
|
2613
|
+
form_params = opts[:form_params] || {}
|
2614
|
+
|
2615
|
+
# http body (model)
|
2616
|
+
post_body = opts[:debug_body]
|
2617
|
+
|
2618
|
+
# return_type
|
2619
|
+
return_type = opts[:debug_return_type] || 'TypesUsersResponse'
|
2620
|
+
|
2621
|
+
# auth_names
|
2622
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2623
|
+
|
2624
|
+
new_options = opts.merge(
|
2625
|
+
:operation => :"ASPM.get_users_v2",
|
2626
|
+
:header_params => header_params,
|
2627
|
+
:query_params => query_params,
|
2628
|
+
:form_params => form_params,
|
2629
|
+
:body => post_body,
|
2630
|
+
:auth_names => auth_names,
|
2631
|
+
:return_type => return_type
|
2632
|
+
)
|
2633
|
+
|
2634
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2635
|
+
if @api_client.config.debugging
|
2636
|
+
@api_client.config.logger.debug "API called: ASPM#get_users_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2637
|
+
end
|
2638
|
+
return data, status_code, headers
|
2639
|
+
end
|
2640
|
+
|
2641
|
+
# Update default group
|
2642
|
+
# @param id [Integer] Group ID
|
2643
|
+
# @param [Hash] opts the optional parameters
|
2644
|
+
# @return [nil]
|
2645
|
+
def post_group_id_09_update_default(id, opts = {})
|
2646
|
+
post_group_id_09_update_default_with_http_info(id, opts)
|
2647
|
+
nil
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
# Update default group
|
2651
|
+
# @param id [Integer] Group ID
|
2652
|
+
# @param [Hash] opts the optional parameters
|
2653
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2654
|
+
def post_group_id_09_update_default_with_http_info(id, opts = {})
|
2655
|
+
if @api_client.config.debugging
|
2656
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_id_09_update_default ...'
|
2657
|
+
end
|
2658
|
+
# verify the required parameter 'id' is set
|
2659
|
+
if @api_client.config.client_side_validation && id.nil?
|
2660
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.post_group_id_09_update_default"
|
2661
|
+
end
|
2662
|
+
pattern = Regexp.new(/[0-9]+/)
|
2663
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2664
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.post_group_id_09_update_default, must conform to the pattern #{pattern}."
|
965
2665
|
end
|
2666
|
+
|
966
2667
|
# resource path
|
967
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2668
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/update_default'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
968
2669
|
|
969
2670
|
# query parameters
|
970
2671
|
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
2672
|
|
974
2673
|
# header parameters
|
975
2674
|
header_params = opts[:header_params] || {}
|
@@ -983,13 +2682,13 @@ module Falcon
|
|
983
2682
|
post_body = opts[:debug_body]
|
984
2683
|
|
985
2684
|
# return_type
|
986
|
-
return_type = opts[:debug_return_type]
|
2685
|
+
return_type = opts[:debug_return_type]
|
987
2686
|
|
988
2687
|
# auth_names
|
989
2688
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
990
2689
|
|
991
2690
|
new_options = opts.merge(
|
992
|
-
:operation => :"ASPM.
|
2691
|
+
:operation => :"ASPM.post_group_id_09_update_default",
|
993
2692
|
:header_params => header_params,
|
994
2693
|
:query_params => query_params,
|
995
2694
|
:form_params => form_params,
|
@@ -998,36 +2697,47 @@ module Falcon
|
|
998
2697
|
:return_type => return_type
|
999
2698
|
)
|
1000
2699
|
|
1001
|
-
data, status_code, headers = @api_client.call_api(:
|
2700
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1002
2701
|
if @api_client.config.debugging
|
1003
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2702
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_id_09_update_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1004
2703
|
end
|
1005
2704
|
return data, status_code, headers
|
1006
2705
|
end
|
1007
2706
|
|
1008
|
-
#
|
1009
|
-
# @param
|
2707
|
+
# Update group
|
2708
|
+
# @param id [Integer] Group ID
|
2709
|
+
# @param body [TypesUpdateGroupRequest]
|
1010
2710
|
# @param [Hash] opts the optional parameters
|
1011
|
-
# @return [
|
1012
|
-
def
|
1013
|
-
|
1014
|
-
|
2711
|
+
# @return [nil]
|
2712
|
+
def post_group_id_09_v2(id, body, opts = {})
|
2713
|
+
post_group_id_09_v2_with_http_info(id, body, opts)
|
2714
|
+
nil
|
1015
2715
|
end
|
1016
2716
|
|
1017
|
-
#
|
1018
|
-
# @param
|
2717
|
+
# Update group
|
2718
|
+
# @param id [Integer] Group ID
|
2719
|
+
# @param body [TypesUpdateGroupRequest]
|
1019
2720
|
# @param [Hash] opts the optional parameters
|
1020
|
-
# @return [Array<(
|
1021
|
-
def
|
2721
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2722
|
+
def post_group_id_09_v2_with_http_info(id, body, opts = {})
|
1022
2723
|
if @api_client.config.debugging
|
1023
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2724
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_id_09_v2 ...'
|
2725
|
+
end
|
2726
|
+
# verify the required parameter 'id' is set
|
2727
|
+
if @api_client.config.client_side_validation && id.nil?
|
2728
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.post_group_id_09_v2"
|
1024
2729
|
end
|
2730
|
+
pattern = Regexp.new(/[0-9]+/)
|
2731
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2732
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.post_group_id_09_v2, must conform to the pattern #{pattern}."
|
2733
|
+
end
|
2734
|
+
|
1025
2735
|
# verify the required parameter 'body' is set
|
1026
2736
|
if @api_client.config.client_side_validation && body.nil?
|
1027
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
2737
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.post_group_id_09_v2"
|
1028
2738
|
end
|
1029
2739
|
# resource path
|
1030
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2740
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/{ID}/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1031
2741
|
|
1032
2742
|
# query parameters
|
1033
2743
|
query_params = opts[:query_params] || {}
|
@@ -1049,13 +2759,13 @@ module Falcon
|
|
1049
2759
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1050
2760
|
|
1051
2761
|
# return_type
|
1052
|
-
return_type = opts[:debug_return_type]
|
2762
|
+
return_type = opts[:debug_return_type]
|
1053
2763
|
|
1054
2764
|
# auth_names
|
1055
2765
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1056
2766
|
|
1057
2767
|
new_options = opts.merge(
|
1058
|
-
:operation => :"ASPM.
|
2768
|
+
:operation => :"ASPM.post_group_id_09_v2",
|
1059
2769
|
:header_params => header_params,
|
1060
2770
|
:query_params => query_params,
|
1061
2771
|
:form_params => form_params,
|
@@ -1064,36 +2774,36 @@ module Falcon
|
|
1064
2774
|
:return_type => return_type
|
1065
2775
|
)
|
1066
2776
|
|
1067
|
-
data, status_code, headers = @api_client.call_api(:
|
2777
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1068
2778
|
if @api_client.config.debugging
|
1069
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2779
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_id_09_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1070
2780
|
end
|
1071
2781
|
return data, status_code, headers
|
1072
2782
|
end
|
1073
2783
|
|
1074
|
-
#
|
1075
|
-
# @param body [
|
2784
|
+
# Create group
|
2785
|
+
# @param body [TypesCreateGroupRequest]
|
1076
2786
|
# @param [Hash] opts the optional parameters
|
1077
2787
|
# @return [nil]
|
1078
|
-
def
|
1079
|
-
|
2788
|
+
def post_group_v2(body, opts = {})
|
2789
|
+
post_group_v2_with_http_info(body, opts)
|
1080
2790
|
nil
|
1081
2791
|
end
|
1082
2792
|
|
1083
|
-
#
|
1084
|
-
# @param body [
|
2793
|
+
# Create group
|
2794
|
+
# @param body [TypesCreateGroupRequest]
|
1085
2795
|
# @param [Hash] opts the optional parameters
|
1086
2796
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1087
|
-
def
|
2797
|
+
def post_group_v2_with_http_info(body, opts = {})
|
1088
2798
|
if @api_client.config.debugging
|
1089
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2799
|
+
@api_client.config.logger.debug 'Calling API: ASPM.post_group_v2 ...'
|
1090
2800
|
end
|
1091
2801
|
# verify the required parameter 'body' is set
|
1092
2802
|
if @api_client.config.client_side_validation && body.nil?
|
1093
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
2803
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.post_group_v2"
|
1094
2804
|
end
|
1095
2805
|
# resource path
|
1096
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2806
|
+
local_var_path = '/aspm-api-gateway/api/v1/group/v2'
|
1097
2807
|
|
1098
2808
|
# query parameters
|
1099
2809
|
query_params = opts[:query_params] || {}
|
@@ -1121,7 +2831,7 @@ module Falcon
|
|
1121
2831
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1122
2832
|
|
1123
2833
|
new_options = opts.merge(
|
1124
|
-
:operation => :"ASPM.
|
2834
|
+
:operation => :"ASPM.post_group_v2",
|
1125
2835
|
:header_params => header_params,
|
1126
2836
|
:query_params => query_params,
|
1127
2837
|
:form_params => form_params,
|
@@ -1132,66 +2842,76 @@ module Falcon
|
|
1132
2842
|
|
1133
2843
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1134
2844
|
if @api_client.config.debugging
|
1135
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2845
|
+
@api_client.config.logger.debug "API called: ASPM#post_group_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1136
2846
|
end
|
1137
2847
|
return data, status_code, headers
|
1138
2848
|
end
|
1139
2849
|
|
1140
|
-
#
|
2850
|
+
# Run an integration task by its ID
|
2851
|
+
# @param id [Integer]
|
2852
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
1141
2853
|
# @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)
|
2854
|
+
# @option opts [String] :category
|
2855
|
+
# @return [TypesIntegrationTaskTestConnectionResponse]
|
2856
|
+
def run_integration_task(id, body, opts = {})
|
2857
|
+
data, _status_code, _headers = run_integration_task_with_http_info(id, body, opts)
|
1150
2858
|
data
|
1151
2859
|
end
|
1152
2860
|
|
1153
|
-
#
|
2861
|
+
# Run an integration task by its ID
|
2862
|
+
# @param id [Integer]
|
2863
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
1154
2864
|
# @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 = {})
|
2865
|
+
# @option opts [String] :category
|
2866
|
+
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
2867
|
+
def run_integration_task_with_http_info(id, body, opts = {})
|
1162
2868
|
if @api_client.config.debugging
|
1163
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
2869
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task ...'
|
2870
|
+
end
|
2871
|
+
# verify the required parameter 'id' is set
|
2872
|
+
if @api_client.config.client_side_validation && id.nil?
|
2873
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task"
|
2874
|
+
end
|
2875
|
+
pattern = Regexp.new(/[0-9]+/)
|
2876
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2877
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task, must conform to the pattern #{pattern}."
|
2878
|
+
end
|
2879
|
+
|
2880
|
+
# verify the required parameter 'body' is set
|
2881
|
+
if @api_client.config.client_side_validation && body.nil?
|
2882
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task"
|
1164
2883
|
end
|
1165
2884
|
# resource path
|
1166
|
-
local_var_path = '/aspm-api-gateway/api/v1/
|
2885
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1167
2886
|
|
1168
2887
|
# query parameters
|
1169
2888
|
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?
|
2889
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
1175
2890
|
|
1176
2891
|
# header parameters
|
1177
2892
|
header_params = opts[:header_params] || {}
|
1178
2893
|
# HTTP header 'Accept' (if needed)
|
1179
2894
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2895
|
+
# HTTP header 'Content-Type'
|
2896
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2897
|
+
if !content_type.nil?
|
2898
|
+
header_params['Content-Type'] = content_type
|
2899
|
+
end
|
1180
2900
|
|
1181
2901
|
# form parameters
|
1182
2902
|
form_params = opts[:form_params] || {}
|
1183
2903
|
|
1184
2904
|
# http body (model)
|
1185
|
-
post_body = opts[:debug_body]
|
2905
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1186
2906
|
|
1187
2907
|
# return_type
|
1188
|
-
return_type = opts[:debug_return_type] || '
|
2908
|
+
return_type = opts[:debug_return_type] || 'TypesIntegrationTaskTestConnectionResponse'
|
1189
2909
|
|
1190
2910
|
# auth_names
|
1191
2911
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1192
2912
|
|
1193
2913
|
new_options = opts.merge(
|
1194
|
-
:operation => :"ASPM.
|
2914
|
+
:operation => :"ASPM.run_integration_task",
|
1195
2915
|
:header_params => header_params,
|
1196
2916
|
:query_params => query_params,
|
1197
2917
|
:form_params => form_params,
|
@@ -1200,9 +2920,89 @@ module Falcon
|
|
1200
2920
|
:return_type => return_type
|
1201
2921
|
)
|
1202
2922
|
|
1203
|
-
data, status_code, headers = @api_client.call_api(:
|
2923
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1204
2924
|
if @api_client.config.debugging
|
1205
|
-
@api_client.config.logger.debug "API called: ASPM#
|
2925
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2926
|
+
end
|
2927
|
+
return data, status_code, headers
|
2928
|
+
end
|
2929
|
+
|
2930
|
+
# Run an integration task by its ID - for admin scope
|
2931
|
+
# @param id [Integer]
|
2932
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
2933
|
+
# @param [Hash] opts the optional parameters
|
2934
|
+
# @option opts [String] :category
|
2935
|
+
# @return [TypesIntegrationTaskTestConnectionResponse]
|
2936
|
+
def run_integration_task_admin(id, body, opts = {})
|
2937
|
+
data, _status_code, _headers = run_integration_task_admin_with_http_info(id, body, opts)
|
2938
|
+
data
|
2939
|
+
end
|
2940
|
+
|
2941
|
+
# Run an integration task by its ID - for admin scope
|
2942
|
+
# @param id [Integer]
|
2943
|
+
# @param body [TypesRunIntegrationTaskRequest]
|
2944
|
+
# @param [Hash] opts the optional parameters
|
2945
|
+
# @option opts [String] :category
|
2946
|
+
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
2947
|
+
def run_integration_task_admin_with_http_info(id, body, opts = {})
|
2948
|
+
if @api_client.config.debugging
|
2949
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task_admin ...'
|
2950
|
+
end
|
2951
|
+
# verify the required parameter 'id' is set
|
2952
|
+
if @api_client.config.client_side_validation && id.nil?
|
2953
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task_admin"
|
2954
|
+
end
|
2955
|
+
pattern = Regexp.new(/[0-9]+/)
|
2956
|
+
if @api_client.config.client_side_validation && id !~ pattern
|
2957
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task_admin, must conform to the pattern #{pattern}."
|
2958
|
+
end
|
2959
|
+
|
2960
|
+
# verify the required parameter 'body' is set
|
2961
|
+
if @api_client.config.client_side_validation && body.nil?
|
2962
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task_admin"
|
2963
|
+
end
|
2964
|
+
# resource path
|
2965
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run/admin'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
2966
|
+
|
2967
|
+
# query parameters
|
2968
|
+
query_params = opts[:query_params] || {}
|
2969
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
2970
|
+
|
2971
|
+
# header parameters
|
2972
|
+
header_params = opts[:header_params] || {}
|
2973
|
+
# HTTP header 'Accept' (if needed)
|
2974
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2975
|
+
# HTTP header 'Content-Type'
|
2976
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2977
|
+
if !content_type.nil?
|
2978
|
+
header_params['Content-Type'] = content_type
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
# form parameters
|
2982
|
+
form_params = opts[:form_params] || {}
|
2983
|
+
|
2984
|
+
# http body (model)
|
2985
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2986
|
+
|
2987
|
+
# return_type
|
2988
|
+
return_type = opts[:debug_return_type] || 'TypesIntegrationTaskTestConnectionResponse'
|
2989
|
+
|
2990
|
+
# auth_names
|
2991
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2992
|
+
|
2993
|
+
new_options = opts.merge(
|
2994
|
+
:operation => :"ASPM.run_integration_task_admin",
|
2995
|
+
:header_params => header_params,
|
2996
|
+
:query_params => query_params,
|
2997
|
+
:form_params => form_params,
|
2998
|
+
:body => post_body,
|
2999
|
+
:auth_names => auth_names,
|
3000
|
+
:return_type => return_type
|
3001
|
+
)
|
3002
|
+
|
3003
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3004
|
+
if @api_client.config.debugging
|
3005
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task_admin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1206
3006
|
end
|
1207
3007
|
return data, status_code, headers
|
1208
3008
|
end
|
@@ -1213,8 +3013,8 @@ module Falcon
|
|
1213
3013
|
# @param [Hash] opts the optional parameters
|
1214
3014
|
# @option opts [String] :category
|
1215
3015
|
# @return [TypesIntegrationTaskTestConnectionResponse]
|
1216
|
-
def
|
1217
|
-
data, _status_code, _headers =
|
3016
|
+
def run_integration_task_v2(id, body, opts = {})
|
3017
|
+
data, _status_code, _headers = run_integration_task_v2_with_http_info(id, body, opts)
|
1218
3018
|
data
|
1219
3019
|
end
|
1220
3020
|
|
@@ -1224,25 +3024,25 @@ module Falcon
|
|
1224
3024
|
# @param [Hash] opts the optional parameters
|
1225
3025
|
# @option opts [String] :category
|
1226
3026
|
# @return [Array<(TypesIntegrationTaskTestConnectionResponse, Integer, Hash)>] TypesIntegrationTaskTestConnectionResponse data, response status code and response headers
|
1227
|
-
def
|
3027
|
+
def run_integration_task_v2_with_http_info(id, body, opts = {})
|
1228
3028
|
if @api_client.config.debugging
|
1229
|
-
@api_client.config.logger.debug 'Calling API: ASPM.
|
3029
|
+
@api_client.config.logger.debug 'Calling API: ASPM.run_integration_task_v2 ...'
|
1230
3030
|
end
|
1231
3031
|
# verify the required parameter 'id' is set
|
1232
3032
|
if @api_client.config.client_side_validation && id.nil?
|
1233
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.
|
3033
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ASPM.run_integration_task_v2"
|
1234
3034
|
end
|
1235
3035
|
pattern = Regexp.new(/[0-9]+/)
|
1236
3036
|
if @api_client.config.client_side_validation && id !~ pattern
|
1237
|
-
fail ArgumentError, "invalid value for 'id' when calling ASPM.
|
3037
|
+
fail ArgumentError, "invalid value for 'id' when calling ASPM.run_integration_task_v2, must conform to the pattern #{pattern}."
|
1238
3038
|
end
|
1239
3039
|
|
1240
3040
|
# verify the required parameter 'body' is set
|
1241
3041
|
if @api_client.config.client_side_validation && body.nil?
|
1242
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.
|
3042
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.run_integration_task_v2"
|
1243
3043
|
end
|
1244
3044
|
# resource path
|
1245
|
-
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
3045
|
+
local_var_path = '/aspm-api-gateway/api/v1/integration_tasks/{ID}/run/v2'.sub('{' + 'ID' + '}', CGI.escape(id.to_s))
|
1246
3046
|
|
1247
3047
|
# query parameters
|
1248
3048
|
query_params = opts[:query_params] || {}
|
@@ -1271,7 +3071,7 @@ module Falcon
|
|
1271
3071
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1272
3072
|
|
1273
3073
|
new_options = opts.merge(
|
1274
|
-
:operation => :"ASPM.
|
3074
|
+
:operation => :"ASPM.run_integration_task_v2",
|
1275
3075
|
:header_params => header_params,
|
1276
3076
|
:query_params => query_params,
|
1277
3077
|
:form_params => form_params,
|
@@ -1282,7 +3082,7 @@ module Falcon
|
|
1282
3082
|
|
1283
3083
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1284
3084
|
if @api_client.config.debugging
|
1285
|
-
@api_client.config.logger.debug "API called: ASPM#
|
3085
|
+
@api_client.config.logger.debug "API called: ASPM#run_integration_task_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1286
3086
|
end
|
1287
3087
|
return data, status_code, headers
|
1288
3088
|
end
|
@@ -1357,6 +3157,7 @@ module Falcon
|
|
1357
3157
|
|
1358
3158
|
# @param [Hash] opts the optional parameters
|
1359
3159
|
# @option opts [String] :ql_filters
|
3160
|
+
# @option opts [Boolean] :exclude_artifacts
|
1360
3161
|
# @option opts [Integer] :limit
|
1361
3162
|
# @option opts [Integer] :offset
|
1362
3163
|
# @option opts [String] :order_by
|
@@ -1369,6 +3170,7 @@ module Falcon
|
|
1369
3170
|
|
1370
3171
|
# @param [Hash] opts the optional parameters
|
1371
3172
|
# @option opts [String] :ql_filters
|
3173
|
+
# @option opts [Boolean] :exclude_artifacts
|
1372
3174
|
# @option opts [Integer] :limit
|
1373
3175
|
# @option opts [Integer] :offset
|
1374
3176
|
# @option opts [String] :order_by
|
@@ -1384,6 +3186,7 @@ module Falcon
|
|
1384
3186
|
# query parameters
|
1385
3187
|
query_params = opts[:query_params] || {}
|
1386
3188
|
query_params[:'ql_filters'] = opts[:'ql_filters'] if !opts[:'ql_filters'].nil?
|
3189
|
+
query_params[:'exclude_artifacts'] = opts[:'exclude_artifacts'] if !opts[:'exclude_artifacts'].nil?
|
1387
3190
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1388
3191
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1389
3192
|
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
@@ -1423,6 +3226,72 @@ module Falcon
|
|
1423
3226
|
return data, status_code, headers
|
1424
3227
|
end
|
1425
3228
|
|
3229
|
+
# Set Cloud Security integration state
|
3230
|
+
# @param body [TypesSetCloudSecurityIntegrationStateRequest]
|
3231
|
+
# @param [Hash] opts the optional parameters
|
3232
|
+
# @return [nil]
|
3233
|
+
def set_cloud_security_integration_state(body, opts = {})
|
3234
|
+
set_cloud_security_integration_state_with_http_info(body, opts)
|
3235
|
+
nil
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
# Set Cloud Security integration state
|
3239
|
+
# @param body [TypesSetCloudSecurityIntegrationStateRequest]
|
3240
|
+
# @param [Hash] opts the optional parameters
|
3241
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
3242
|
+
def set_cloud_security_integration_state_with_http_info(body, opts = {})
|
3243
|
+
if @api_client.config.debugging
|
3244
|
+
@api_client.config.logger.debug 'Calling API: ASPM.set_cloud_security_integration_state ...'
|
3245
|
+
end
|
3246
|
+
# verify the required parameter 'body' is set
|
3247
|
+
if @api_client.config.client_side_validation && body.nil?
|
3248
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ASPM.set_cloud_security_integration_state"
|
3249
|
+
end
|
3250
|
+
# resource path
|
3251
|
+
local_var_path = '/aspm-api-gateway/api/v1/cloud_security_config'
|
3252
|
+
|
3253
|
+
# query parameters
|
3254
|
+
query_params = opts[:query_params] || {}
|
3255
|
+
|
3256
|
+
# header parameters
|
3257
|
+
header_params = opts[:header_params] || {}
|
3258
|
+
# HTTP header 'Accept' (if needed)
|
3259
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3260
|
+
# HTTP header 'Content-Type'
|
3261
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
3262
|
+
if !content_type.nil?
|
3263
|
+
header_params['Content-Type'] = content_type
|
3264
|
+
end
|
3265
|
+
|
3266
|
+
# form parameters
|
3267
|
+
form_params = opts[:form_params] || {}
|
3268
|
+
|
3269
|
+
# http body (model)
|
3270
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3271
|
+
|
3272
|
+
# return_type
|
3273
|
+
return_type = opts[:debug_return_type]
|
3274
|
+
|
3275
|
+
# auth_names
|
3276
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3277
|
+
|
3278
|
+
new_options = opts.merge(
|
3279
|
+
:operation => :"ASPM.set_cloud_security_integration_state",
|
3280
|
+
:header_params => header_params,
|
3281
|
+
:query_params => query_params,
|
3282
|
+
:form_params => form_params,
|
3283
|
+
:body => post_body,
|
3284
|
+
:auth_names => auth_names,
|
3285
|
+
:return_type => return_type
|
3286
|
+
)
|
3287
|
+
|
3288
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3289
|
+
if @api_client.config.debugging
|
3290
|
+
@api_client.config.logger.debug "API called: ASPM#set_cloud_security_integration_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3291
|
+
end
|
3292
|
+
return data, status_code, headers
|
3293
|
+
end
|
3294
|
+
|
1426
3295
|
# Update an existing relay node
|
1427
3296
|
# @param body [TypesExecutorNode]
|
1428
3297
|
# @param [Hash] opts the optional parameters
|