crimson-falcon 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1655 -208
- data/lib/crimson-falcon/api/alerts_api.rb +307 -19
- data/lib/crimson-falcon/api/{inventories_api.rb → cloud_snapshots_api.rb} +16 -16
- data/lib/crimson-falcon/api/configuration_assessment_api.rb +62 -0
- data/lib/crimson-falcon/api/container_alerts_api.rb +222 -0
- data/lib/crimson-falcon/api/container_detections_api.rb +408 -0
- data/lib/crimson-falcon/api/container_images_api.rb +711 -0
- data/lib/crimson-falcon/api/container_packages_api.rb +365 -0
- data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +693 -0
- data/lib/crimson-falcon/api/cspm_registration_api.rb +719 -49
- data/lib/crimson-falcon/api/custom_ioa_api.rb +2 -2
- data/lib/crimson-falcon/api/custom_storage_api.rb +590 -0
- data/lib/crimson-falcon/api/d4c_registration_api.rb +263 -6
- data/lib/crimson-falcon/api/drift_indicators_api.rb +350 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +352 -21
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -67
- data/lib/crimson-falcon/api/falconx_sandbox_api.rb +2 -2
- data/lib/crimson-falcon/api/filevantage_api.rb +1730 -45
- data/lib/crimson-falcon/api/foundry_logscale_api.rb +959 -0
- data/lib/crimson-falcon/api/hosts_api.rb +68 -64
- data/lib/crimson-falcon/api/image_assessment_policies_api.rb +738 -0
- data/lib/crimson-falcon/api/installation_tokens_api.rb +12 -12
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +3 -3
- data/lib/crimson-falcon/api/intel_api.rb +4 -4
- data/lib/crimson-falcon/api/ioc_api.rb +226 -0
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +2498 -13
- data/lib/crimson-falcon/api/message_center_api.rb +11 -11
- data/lib/crimson-falcon/api/ods_api.rb +68 -6
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +149 -0
- data/lib/crimson-falcon/api/real_time_response_audit_api.rb +113 -0
- data/lib/crimson-falcon/api/recon_api.rb +6 -6
- data/lib/crimson-falcon/api/runtime_detections_api.rb +106 -0
- data/lib/crimson-falcon/api/{vulnerabilities_evaluation_logic_api.rb → spotlight_evaluation_logic_api.rb} +13 -13
- data/lib/crimson-falcon/api/{vulnerabilities_api.rb → spotlight_vulnerabilities_api.rb} +25 -25
- data/lib/crimson-falcon/api/unidentified_containers_api.rb +222 -0
- data/lib/crimson-falcon/api/workflows_api.rb +1037 -0
- data/lib/crimson-falcon/configuration.rb +1 -1
- data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
- data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
- data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
- data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
- data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
- data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
- data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
- data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
- data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
- data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
- data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
- data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
- data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
- data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
- data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
- data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
- data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
- data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
- data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
- data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
- data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
- data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
- data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
- data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
- data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
- data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
- data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
- data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
- data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
- data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
- data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
- data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
- data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
- data/lib/crimson-falcon/models/client_action_request.rb +242 -0
- data/lib/crimson-falcon/models/client_cost.rb +267 -0
- data/lib/crimson-falcon/models/client_costs.rb +281 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
- data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
- data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
- data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
- data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
- data/lib/crimson-falcon/models/client_field.rb +269 -0
- data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
- data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
- data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
- data/lib/crimson-falcon/models/client_repository.rb +281 -0
- data/lib/crimson-falcon/models/client_spent.rb +281 -0
- data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
- data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
- data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
- data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
- data/lib/crimson-falcon/models/client_top_value.rb +253 -0
- data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
- data/lib/crimson-falcon/models/common_count_response.rb +266 -0
- data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
- data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
- data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
- data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
- data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
- data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
- data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
- data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
- data/lib/crimson-falcon/models/detects_alert.rb +110 -6
- data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
- data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/device_device.rb +19 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
- data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
- data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
- data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
- data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
- data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
- data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
- data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
- data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
- data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
- data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
- data/lib/crimson-falcon/models/domain_card.rb +288 -0
- data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
- data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
- data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
- data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
- data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_device.rb +10 -1
- data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
- data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
- data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
- data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_host.rb +342 -0
- data/lib/crimson-falcon/models/domain_incident.rb +4 -13
- data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
- data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
- data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
- data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
- data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
- data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
- data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
- data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
- data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
- data/lib/crimson-falcon/models/domain_rule.rb +63 -69
- data/lib/crimson-falcon/models/domain_scan.rb +67 -4
- data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
- data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
- data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
- data/lib/crimson-falcon/models/domain_session.rb +0 -25
- data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
- data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
- data/lib/crimson-falcon/models/domain_user.rb +9 -27
- data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
- data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
- data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
- data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
- data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
- data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
- data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
- data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
- data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
- data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
- data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
- data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
- data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
- data/lib/crimson-falcon/models/flows.rb +269 -0
- data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/graph_condition.rb +257 -0
- data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
- data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
- data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
- data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
- data/lib/crimson-falcon/models/graph_flow.rb +274 -0
- data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
- data/lib/crimson-falcon/models/graph_multi.rb +285 -0
- data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
- data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
- data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
- data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
- data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
- data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
- data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
- data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
- data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
- data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
- data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
- data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
- data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
- data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
- data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
- data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
- data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
- data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
- data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
- data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
- data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
- data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
- data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
- data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
- data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
- data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
- data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
- data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
- data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
- data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
- data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
- data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
- data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
- data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
- data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
- data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
- data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
- data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
- data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
- data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
- data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
- data/lib/crimson-falcon/models/models_cluster.rb +539 -0
- data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container.rb +831 -0
- data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
- data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
- data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container_image.rb +453 -0
- data/lib/crimson-falcon/models/models_container_information.rb +253 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
- data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
- data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
- data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
- data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
- data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
- data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
- data/lib/crimson-falcon/models/models_image_information.rb +267 -0
- data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
- data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
- data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
- data/lib/crimson-falcon/models/models_node.rb +723 -0
- data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
- data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
- data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
- data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
- data/lib/crimson-falcon/models/models_pod.rb +827 -0
- data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
- data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
- data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
- data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
- data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
- data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
- data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
- data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
- data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
- data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
- data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
- data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
- data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_policy.rb +362 -0
- data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
- data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
- data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
- data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
- data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
- data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
- data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
- data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
- data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
- data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
- data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
- data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
- data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
- data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
- data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
- data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
- data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
- data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
- data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
- data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
- data/lib/crimson-falcon/models/v2_activity.rb +264 -0
- data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
- data/lib/crimson-falcon/models/v2_condition.rb +286 -0
- data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_definition.rb +374 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
- data/lib/crimson-falcon/models/v2_loop.rb +281 -0
- data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
- data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +366 -37
- data/spec/api/alerts_api_spec.rb +60 -8
- data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
- data/spec/api/configuration_assessment_api_spec.rb +11 -0
- data/spec/api/container_alerts_api_spec.rb +88 -0
- data/spec/api/container_detections_api_spec.rb +125 -0
- data/spec/api/container_images_api_spec.rb +182 -0
- data/spec/api/container_packages_api_spec.rb +119 -0
- data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
- data/spec/api/cspm_registration_api_spec.rb +123 -1
- data/spec/api/custom_ioa_api_spec.rb +1 -1
- data/spec/api/custom_storage_api_spec.rb +133 -0
- data/spec/api/d4c_registration_api_spec.rb +47 -0
- data/spec/api/drift_indicators_api_spec.rb +114 -0
- data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
- data/spec/api/falcon_container_image_api_spec.rb +0 -14
- data/spec/api/falconx_sandbox_api_spec.rb +1 -1
- data/spec/api/filevantage_api_spec.rb +315 -8
- data/spec/api/foundry_logscale_api_spec.rb +226 -0
- data/spec/api/hosts_api_spec.rb +12 -12
- data/spec/api/image_assessment_policies_api_spec.rb +172 -0
- data/spec/api/installation_tokens_api_spec.rb +4 -4
- data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
- data/spec/api/intel_api_spec.rb +2 -2
- data/spec/api/ioc_api_spec.rb +41 -0
- data/spec/api/kubernetes_protection_api_spec.rb +480 -0
- data/spec/api/message_center_api_spec.rb +3 -3
- data/spec/api/ods_api_spec.rb +13 -2
- data/spec/api/real_time_response_admin_api_spec.rb +25 -0
- data/spec/api/real_time_response_audit_api_spec.rb +67 -0
- data/spec/api/recon_api_spec.rb +3 -3
- data/spec/api/runtime_detections_api_spec.rb +66 -0
- data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
- data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
- data/spec/api/unidentified_containers_api_spec.rb +88 -0
- data/spec/api/workflows_api_spec.rb +224 -0
- data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
- data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
- data/spec/models/api_detects_query_meta_spec.rb +69 -0
- data/spec/models/api_detects_query_paging_spec.rb +63 -0
- data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
- data/spec/models/api_device_count_v1_spec.rb +69 -0
- data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/api_entities_response_spec.rb +63 -0
- data/spec/models/api_execution_results_response_spec.rb +63 -0
- data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
- data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/api_meta_info_spec.rb +69 -0
- data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
- data/spec/models/api_object_metadata_spec.rb +75 -0
- data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
- data/spec/models/api_response_pagination_spec.rb +57 -0
- data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
- data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
- data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
- data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
- data/spec/models/apidomain_repository_v1_spec.rb +75 -0
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
- data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
- data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
- data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
- data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
- data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
- data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
- data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
- data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
- data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
- data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
- data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
- data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
- data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
- data/spec/models/changes_get_changes_response_spec.rb +63 -0
- data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
- data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
- data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
- data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
- data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
- data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
- data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
- data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
- data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
- data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
- data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
- data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
- data/spec/models/client_action_request_spec.rb +51 -0
- data/spec/models/client_cost_spec.rb +63 -0
- data/spec/models/client_costs_spec.rb +69 -0
- data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
- data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/client_digest_flow_spec.rb +63 -0
- data/spec/models/client_extra_in_spec.rb +57 -0
- data/spec/models/client_extra_limit_spec.rb +57 -0
- data/spec/models/client_extra_rename_spec.rb +57 -0
- data/spec/models/client_extra_sort_spec.rb +75 -0
- data/spec/models/client_field_spec.rb +63 -0
- data/spec/models/client_job_status_spec.rb +117 -0
- data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
- data/spec/models/client_query_result_metadata_spec.rb +159 -0
- data/spec/models/client_repository_spec.rb +69 -0
- data/spec/models/client_spent_spec.rb +69 -0
- data/spec/models/client_system_definition_create_response_spec.rb +63 -0
- data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
- data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
- data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
- data/spec/models/client_top_value_spec.rb +57 -0
- data/spec/models/common_count_as_resource_spec.rb +57 -0
- data/spec/models/common_count_response_spec.rb +63 -0
- data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
- data/spec/models/custom_type1255839303_spec.rb +63 -0
- data/spec/models/custom_type3191042536_spec.rb +63 -0
- data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
- data/spec/models/definitions_definition_ext_spec.rb +75 -0
- data/spec/models/definitions_definition_external_response_spec.rb +63 -0
- data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
- data/spec/models/definitions_definition_import_response_spec.rb +63 -0
- data/spec/models/definitions_flight_control_request_spec.rb +69 -0
- data/spec/models/definitions_parameter_property_spec.rb +51 -0
- data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
- data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
- data/spec/models/detections_api_combined_detections_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
- data/spec/models/detections_api_detections_count_spec.rb +63 -0
- data/spec/models/detects_alert_spec.rb +42 -0
- data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
- data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
- data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
- data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
- data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
- data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
- data/spec/models/detectsapi_response_fields_spec.rb +57 -0
- data/spec/models/device_device_spec.rb +12 -0
- data/spec/models/device_mapped_device_policies_spec.rb +6 -0
- data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
- data/spec/models/domain_actor_document_spec.rb +162 -0
- data/spec/models/domain_actor_entity_spec.rb +63 -0
- data/spec/models/domain_actor_news_document_spec.rb +69 -0
- data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
- data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
- data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
- data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
- data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
- data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
- data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
- data/spec/models/domain_attachment_spec.rb +87 -0
- data/spec/models/domain_aws_account_input_spec.rb +81 -0
- data/spec/models/domain_aws_account_v2_spec.rb +6 -0
- data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
- data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
- data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_breached_item_v1_spec.rb +18 -0
- data/spec/models/domain_card_spec.rb +87 -0
- data/spec/models/domain_cid_group_spec.rb +12 -0
- data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
- data/spec/models/domain_cloud_scope_spec.rb +6 -0
- data/spec/models/domain_credentials_spec.rb +13 -1
- data/spec/models/domain_device_policy_spec.rb +51 -0
- data/spec/models/domain_device_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +36 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
- data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
- data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
- data/spec/models/domain_file_count_v2_spec.rb +75 -0
- data/spec/models/domain_fragment_info_spec.rb +87 -0
- data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
- data/spec/models/domain_host_spec.rb +123 -0
- data/spec/models/domain_incident_spec.rb +0 -6
- data/spec/models/domain_ioc_spec.rb +261 -0
- data/spec/models/domain_item_details_v1_spec.rb +207 -0
- data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
- data/spec/models/domain_marketplace_product_spec.rb +87 -0
- data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
- data/spec/models/domain_meta_info_spec.rb +25 -1
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_v1_spec.rb +6 -0
- data/spec/models/domain_policy_info_spec.rb +12 -0
- data/spec/models/domain_report_malware_spec.rb +63 -0
- data/spec/models/domain_rule_spec.rb +7 -13
- data/spec/models/domain_scan_profile_spec.rb +6 -0
- data/spec/models/domain_scan_spec.rb +42 -0
- data/spec/models/domain_scan_v2_spec.rb +273 -0
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
- data/spec/models/domain_telegram_info_spec.rb +63 -0
- data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
- data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
- data/spec/models/domain_threat_entity_spec.rb +51 -0
- data/spec/models/domain_user_spec.rb +1 -13
- data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
- data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
- data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
- data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
- data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
- data/spec/models/executions_activity_execution_result_spec.rb +117 -0
- data/spec/models/executions_ancestor_execution_spec.rb +63 -0
- data/spec/models/executions_child_execution_result_spec.rb +75 -0
- data/spec/models/executions_execution_result_spec.rb +111 -0
- data/spec/models/executions_iterations_spec.rb +81 -0
- data/spec/models/executions_loop_result_spec.rb +105 -0
- data/spec/models/executions_reference_link_spec.rb +57 -0
- data/spec/models/executions_trigger_result_spec.rb +69 -0
- data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
- data/spec/models/falconx_submission_v1_spec.rb +24 -0
- data/spec/models/flows_spec.rb +63 -0
- data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
- data/spec/models/graph_condition_spec.rb +63 -0
- data/spec/models/graph_configured_activity_spec.rb +81 -0
- data/spec/models/graph_configured_trigger_spec.rb +87 -0
- data/spec/models/graph_definition_model_spec.rb +87 -0
- data/spec/models/graph_end_spec.rb +57 -0
- data/spec/models/graph_flow_spec.rb +69 -0
- data/spec/models/graph_gateway_spec.rb +63 -0
- data/spec/models/graph_multi_spec.rb +69 -0
- data/spec/models/graph_sub_model_spec.rb +81 -0
- data/spec/models/graph_timer_event_definition_spec.rb +75 -0
- data/spec/models/graph_validation_error_spec.rb +87 -0
- data/spec/models/images_api_combined_image_export_spec.rb +63 -0
- data/spec/models/images_api_customer_and_image_spec.rb +63 -0
- data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
- data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
- data/spec/models/images_api_image_count_spec.rb +63 -0
- data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
- data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
- data/spec/models/internal_sensor_status_spec.rb +48 -0
- data/spec/models/jsonschema_authorization_spec.rb +69 -0
- data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
- data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
- data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
- data/spec/models/jsonschema_permission_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +99 -0
- data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
- data/spec/models/jsonschema_schema_spec.rb +57 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
- data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
- data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_info_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
- data/spec/models/model_user_input_read_response_spec.rb +63 -0
- data/spec/models/model_user_input_update_request_spec.rb +57 -0
- data/spec/models/model_user_input_view_model_spec.rb +105 -0
- data/spec/models/models_account_entities_input_spec.rb +51 -0
- data/spec/models/models_account_status_response_spec.rb +63 -0
- data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
- data/spec/models/models_api_assessment_detections_spec.rb +153 -0
- data/spec/models/models_api_combined_detections_spec.rb +117 -0
- data/spec/models/models_api_container_alert_spec.rb +93 -0
- data/spec/models/models_api_customer_and_image_spec.rb +147 -0
- data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
- data/spec/models/models_api_detection_count_spec.rb +51 -0
- data/spec/models/models_api_drift_indicators_spec.rb +195 -0
- data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
- data/spec/models/models_api_filter_response_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_spec.rb +81 -0
- data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
- data/spec/models/models_api_image_combined_export_spec.rb +165 -0
- data/spec/models/models_api_image_count_spec.rb +51 -0
- data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
- data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
- data/spec/models/models_api_package_combined_spec.rb +93 -0
- data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
- data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
- data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
- data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
- data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
- data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
- data/spec/models/models_api_policy_group_data_spec.rb +51 -0
- data/spec/models/models_api_policy_group_spec.rb +87 -0
- data/spec/models/models_api_policy_rule_spec.rb +57 -0
- data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
- data/spec/models/models_api_precedence_request_spec.rb +51 -0
- data/spec/models/models_api_runtime_detection_spec.rb +369 -0
- data/spec/models/models_api_unidentified_container_spec.rb +171 -0
- data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
- data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
- data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
- data/spec/models/models_api_vuln_count_spec.rb +51 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
- data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
- data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
- data/spec/models/models_cluster_entity_response_spec.rb +63 -0
- data/spec/models/models_cluster_spec.rb +177 -0
- data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
- data/spec/models/models_container_coverage_spec.rb +57 -0
- data/spec/models/models_container_entity_response_spec.rb +63 -0
- data/spec/models/models_container_image_spec.rb +141 -0
- data/spec/models/models_container_information_spec.rb +57 -0
- data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
- data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
- data/spec/models/models_container_spec.rb +429 -0
- data/spec/models/models_create_image_group_request_spec.rb +69 -0
- data/spec/models/models_create_policy_request_spec.rb +57 -0
- data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
- data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
- data/spec/models/models_deployment_entity_response_spec.rb +63 -0
- data/spec/models/models_deployment_spec.rb +99 -0
- data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
- data/spec/models/models_exclusion_condition_spec.rb +87 -0
- data/spec/models/models_image_information_spec.rb +63 -0
- data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
- data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
- data/spec/models/models_light_weight_config_spec.rb +93 -0
- data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
- data/spec/models/models_node_spec.rb +255 -0
- data/spec/models/models_package_name_version_type_spec.rb +75 -0
- data/spec/models/models_patch_image_group_request_spec.rb +63 -0
- data/spec/models/models_patch_policy_request_spec.rb +69 -0
- data/spec/models/models_pod_entity_response_spec.rb +63 -0
- data/spec/models/models_pod_spec.rb +297 -0
- data/spec/models/models_policy_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
- data/spec/models/models_request_api_policy_data_spec.rb +51 -0
- data/spec/models/models_snapshot_account_status_spec.rb +93 -0
- data/spec/models/models_update_exclusions_request_spec.rb +51 -0
- data/spec/models/msa_aggregation_result_spec.rb +6 -0
- data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_spec.rb +63 -0
- data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
- data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
- data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
- data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
- data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
- data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
- data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
- data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
- data/spec/models/policies_assigned_host_group_spec.rb +57 -0
- data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
- data/spec/models/policies_create_request_spec.rb +63 -0
- data/spec/models/policies_delete_response_spec.rb +63 -0
- data/spec/models/policies_policy_spec.rb +117 -0
- data/spec/models/policies_precedence_response_spec.rb +63 -0
- data/spec/models/policies_response_spec.rb +63 -0
- data/spec/models/policies_update_request_spec.rb +69 -0
- data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
- data/spec/models/registration_aws_account_patch_spec.rb +6 -0
- data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
- data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
- data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
- data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
- data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
- data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
- data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
- data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
- data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
- data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
- data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
- data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
- data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
- data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/registration_next_token_pagination_spec.rb +69 -0
- data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
- data/spec/models/rulegroups_create_request_spec.rb +63 -0
- data/spec/models/rulegroups_delete_response_spec.rb +63 -0
- data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
- data/spec/models/rulegroups_response_spec.rb +63 -0
- data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
- data/spec/models/rulegroups_rule_spec.rb +255 -0
- data/spec/models/rulegroups_rules_response_spec.rb +63 -0
- data/spec/models/rulegroups_update_request_spec.rb +63 -0
- data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
- data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
- data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
- data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
- data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
- data/spec/models/scheduledexclusions_response_spec.rb +63 -0
- data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
- data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
- data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
- data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
- data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
- data/spec/models/v2_activity_parameters_spec.rb +51 -0
- data/spec/models/v2_activity_properties_spec.rb +51 -0
- data/spec/models/v2_activity_spec.rb +63 -0
- data/spec/models/v2_condition_parameters_spec.rb +51 -0
- data/spec/models/v2_condition_spec.rb +75 -0
- data/spec/models/v2_definition_spec.rb +123 -0
- data/spec/models/v2_for_loop_spec.rb +57 -0
- data/spec/models/v2_loop_spec.rb +75 -0
- data/spec/models/v2_parameters_spec.rb +69 -0
- data/spec/models/v2_trigger_spec.rb +75 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
- metadata +1935 -948
@@ -117,6 +117,72 @@ module Falcon
|
|
117
117
|
return data, status_code, headers
|
118
118
|
end
|
119
119
|
|
120
|
+
# Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id
|
121
|
+
# @param body [RegistrationGCPAccountExtRequestV2]
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @return [RegistrationGCPAccountResponseExtV2]
|
124
|
+
def connect_cspmgcp_account(body, opts = {})
|
125
|
+
data, _status_code, _headers = connect_cspmgcp_account_with_http_info(body, opts)
|
126
|
+
data
|
127
|
+
end
|
128
|
+
|
129
|
+
# Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id
|
130
|
+
# @param body [RegistrationGCPAccountExtRequestV2]
|
131
|
+
# @param [Hash] opts the optional parameters
|
132
|
+
# @return [Array<(RegistrationGCPAccountResponseExtV2, Integer, Hash)>] RegistrationGCPAccountResponseExtV2 data, response status code and response headers
|
133
|
+
def connect_cspmgcp_account_with_http_info(body, opts = {})
|
134
|
+
if @api_client.config.debugging
|
135
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.connect_cspmgcp_account ...'
|
136
|
+
end
|
137
|
+
# verify the required parameter 'body' is set
|
138
|
+
if @api_client.config.client_side_validation && body.nil?
|
139
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.connect_cspmgcp_account"
|
140
|
+
end
|
141
|
+
# resource path
|
142
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/account/v2'
|
143
|
+
|
144
|
+
# query parameters
|
145
|
+
query_params = opts[:query_params] || {}
|
146
|
+
|
147
|
+
# header parameters
|
148
|
+
header_params = opts[:header_params] || {}
|
149
|
+
# HTTP header 'Accept' (if needed)
|
150
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
151
|
+
# HTTP header 'Content-Type'
|
152
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
153
|
+
if !content_type.nil?
|
154
|
+
header_params['Content-Type'] = content_type
|
155
|
+
end
|
156
|
+
|
157
|
+
# form parameters
|
158
|
+
form_params = opts[:form_params] || {}
|
159
|
+
|
160
|
+
# http body (model)
|
161
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
162
|
+
|
163
|
+
# return_type
|
164
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseExtV2'
|
165
|
+
|
166
|
+
# auth_names
|
167
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
168
|
+
|
169
|
+
new_options = opts.merge(
|
170
|
+
:operation => :"CspmRegistrationApi.connect_cspmgcp_account",
|
171
|
+
:header_params => header_params,
|
172
|
+
:query_params => query_params,
|
173
|
+
:form_params => form_params,
|
174
|
+
:body => post_body,
|
175
|
+
:auth_names => auth_names,
|
176
|
+
:return_type => return_type
|
177
|
+
)
|
178
|
+
|
179
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
180
|
+
if @api_client.config.debugging
|
181
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#connect_cspmgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
182
|
+
end
|
183
|
+
return data, status_code, headers
|
184
|
+
end
|
185
|
+
|
120
186
|
# Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
|
121
187
|
# @param body [RegistrationAWSAccountCreateRequestExtV2]
|
122
188
|
# @param [Hash] opts the optional parameters
|
@@ -249,6 +315,138 @@ module Falcon
|
|
249
315
|
return data, status_code, headers
|
250
316
|
end
|
251
317
|
|
318
|
+
# Creates a new management group in our system for a customer.
|
319
|
+
# @param body [RegistrationAzureManagementGroupCreateRequestExternalV1]
|
320
|
+
# @param [Hash] opts the optional parameters
|
321
|
+
# @return [RegistrationAzureAccountResponseV1]
|
322
|
+
def create_cspm_azure_management_group(body, opts = {})
|
323
|
+
data, _status_code, _headers = create_cspm_azure_management_group_with_http_info(body, opts)
|
324
|
+
data
|
325
|
+
end
|
326
|
+
|
327
|
+
# Creates a new management group in our system for a customer.
|
328
|
+
# @param body [RegistrationAzureManagementGroupCreateRequestExternalV1]
|
329
|
+
# @param [Hash] opts the optional parameters
|
330
|
+
# @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
|
331
|
+
def create_cspm_azure_management_group_with_http_info(body, opts = {})
|
332
|
+
if @api_client.config.debugging
|
333
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.create_cspm_azure_management_group ...'
|
334
|
+
end
|
335
|
+
# verify the required parameter 'body' is set
|
336
|
+
if @api_client.config.client_side_validation && body.nil?
|
337
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.create_cspm_azure_management_group"
|
338
|
+
end
|
339
|
+
# resource path
|
340
|
+
local_var_path = '/cloud-connect-cspm-azure/entities/management-group/v1'
|
341
|
+
|
342
|
+
# query parameters
|
343
|
+
query_params = opts[:query_params] || {}
|
344
|
+
|
345
|
+
# header parameters
|
346
|
+
header_params = opts[:header_params] || {}
|
347
|
+
# HTTP header 'Accept' (if needed)
|
348
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
349
|
+
# HTTP header 'Content-Type'
|
350
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
351
|
+
if !content_type.nil?
|
352
|
+
header_params['Content-Type'] = content_type
|
353
|
+
end
|
354
|
+
|
355
|
+
# form parameters
|
356
|
+
form_params = opts[:form_params] || {}
|
357
|
+
|
358
|
+
# http body (model)
|
359
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
360
|
+
|
361
|
+
# return_type
|
362
|
+
return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1'
|
363
|
+
|
364
|
+
# auth_names
|
365
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
366
|
+
|
367
|
+
new_options = opts.merge(
|
368
|
+
:operation => :"CspmRegistrationApi.create_cspm_azure_management_group",
|
369
|
+
:header_params => header_params,
|
370
|
+
:query_params => query_params,
|
371
|
+
:form_params => form_params,
|
372
|
+
:body => post_body,
|
373
|
+
:auth_names => auth_names,
|
374
|
+
:return_type => return_type
|
375
|
+
)
|
376
|
+
|
377
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
378
|
+
if @api_client.config.debugging
|
379
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#create_cspm_azure_management_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
380
|
+
end
|
381
|
+
return data, status_code, headers
|
382
|
+
end
|
383
|
+
|
384
|
+
# Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
|
385
|
+
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
386
|
+
# @param [Hash] opts the optional parameters
|
387
|
+
# @return [RegistrationGCPAccountResponseV1]
|
388
|
+
def create_cspmgcp_account(body, opts = {})
|
389
|
+
data, _status_code, _headers = create_cspmgcp_account_with_http_info(body, opts)
|
390
|
+
data
|
391
|
+
end
|
392
|
+
|
393
|
+
# Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
|
394
|
+
# @param body [RegistrationGCPAccountCreateRequestExtV1]
|
395
|
+
# @param [Hash] opts the optional parameters
|
396
|
+
# @return [Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>] RegistrationGCPAccountResponseV1 data, response status code and response headers
|
397
|
+
def create_cspmgcp_account_with_http_info(body, opts = {})
|
398
|
+
if @api_client.config.debugging
|
399
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.create_cspmgcp_account ...'
|
400
|
+
end
|
401
|
+
# verify the required parameter 'body' is set
|
402
|
+
if @api_client.config.client_side_validation && body.nil?
|
403
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.create_cspmgcp_account"
|
404
|
+
end
|
405
|
+
# resource path
|
406
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/account/v1'
|
407
|
+
|
408
|
+
# query parameters
|
409
|
+
query_params = opts[:query_params] || {}
|
410
|
+
|
411
|
+
# header parameters
|
412
|
+
header_params = opts[:header_params] || {}
|
413
|
+
# HTTP header 'Accept' (if needed)
|
414
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
415
|
+
# HTTP header 'Content-Type'
|
416
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
417
|
+
if !content_type.nil?
|
418
|
+
header_params['Content-Type'] = content_type
|
419
|
+
end
|
420
|
+
|
421
|
+
# form parameters
|
422
|
+
form_params = opts[:form_params] || {}
|
423
|
+
|
424
|
+
# http body (model)
|
425
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
426
|
+
|
427
|
+
# return_type
|
428
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseV1'
|
429
|
+
|
430
|
+
# auth_names
|
431
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
432
|
+
|
433
|
+
new_options = opts.merge(
|
434
|
+
:operation => :"CspmRegistrationApi.create_cspmgcp_account",
|
435
|
+
:header_params => header_params,
|
436
|
+
:query_params => query_params,
|
437
|
+
:form_params => form_params,
|
438
|
+
:body => post_body,
|
439
|
+
:auth_names => auth_names,
|
440
|
+
:return_type => return_type
|
441
|
+
)
|
442
|
+
|
443
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
444
|
+
if @api_client.config.debugging
|
445
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#create_cspmgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
446
|
+
end
|
447
|
+
return data, status_code, headers
|
448
|
+
end
|
449
|
+
|
252
450
|
# Deletes an existing AWS account or organization in our system.
|
253
451
|
# @param [Hash] opts the optional parameters
|
254
452
|
# @option opts [Array<String>] :ids AWS account IDs to remove
|
@@ -387,6 +585,64 @@ module Falcon
|
|
387
585
|
return data, status_code, headers
|
388
586
|
end
|
389
587
|
|
588
|
+
# Deletes a GCP account from the system.
|
589
|
+
# @param [Hash] opts the optional parameters
|
590
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
591
|
+
# @return [MsaBaseEntitiesResponse]
|
592
|
+
def delete_cspmgcp_account(opts = {})
|
593
|
+
data, _status_code, _headers = delete_cspmgcp_account_with_http_info(opts)
|
594
|
+
data
|
595
|
+
end
|
596
|
+
|
597
|
+
# Deletes a GCP account from the system.
|
598
|
+
# @param [Hash] opts the optional parameters
|
599
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
600
|
+
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
601
|
+
def delete_cspmgcp_account_with_http_info(opts = {})
|
602
|
+
if @api_client.config.debugging
|
603
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.delete_cspmgcp_account ...'
|
604
|
+
end
|
605
|
+
# resource path
|
606
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/account/v1'
|
607
|
+
|
608
|
+
# query parameters
|
609
|
+
query_params = opts[:query_params] || {}
|
610
|
+
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
|
611
|
+
|
612
|
+
# header parameters
|
613
|
+
header_params = opts[:header_params] || {}
|
614
|
+
# HTTP header 'Accept' (if needed)
|
615
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
616
|
+
|
617
|
+
# form parameters
|
618
|
+
form_params = opts[:form_params] || {}
|
619
|
+
|
620
|
+
# http body (model)
|
621
|
+
post_body = opts[:debug_body]
|
622
|
+
|
623
|
+
# return_type
|
624
|
+
return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
|
625
|
+
|
626
|
+
# auth_names
|
627
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
628
|
+
|
629
|
+
new_options = opts.merge(
|
630
|
+
:operation => :"CspmRegistrationApi.delete_cspmgcp_account",
|
631
|
+
:header_params => header_params,
|
632
|
+
:query_params => query_params,
|
633
|
+
:form_params => form_params,
|
634
|
+
:body => post_body,
|
635
|
+
:auth_names => auth_names,
|
636
|
+
:return_type => return_type
|
637
|
+
)
|
638
|
+
|
639
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
640
|
+
if @api_client.config.debugging
|
641
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#delete_cspmgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
642
|
+
end
|
643
|
+
return data, status_code, headers
|
644
|
+
end
|
645
|
+
|
390
646
|
# Get list of detected behaviors
|
391
647
|
# @param [Hash] opts the optional parameters
|
392
648
|
# @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure)
|
@@ -654,7 +910,7 @@ module Falcon
|
|
654
910
|
return data, status_code, headers
|
655
911
|
end
|
656
912
|
|
657
|
-
# Get list of active misconfigurations
|
913
|
+
# Get list of active misconfigurations. This endpoint is deprecated, please use /queries/iom/v2 and /entities/iom/v2 instead
|
658
914
|
# @param [Hash] opts the optional parameters
|
659
915
|
# @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure|gcp)
|
660
916
|
# @option opts [String] :account_id AWS account ID or GCP Project Number or Azure subscription ID
|
@@ -672,7 +928,7 @@ module Falcon
|
|
672
928
|
data
|
673
929
|
end
|
674
930
|
|
675
|
-
# Get list of active misconfigurations
|
931
|
+
# Get list of active misconfigurations. This endpoint is deprecated, please use /queries/iom/v2 and /entities/iom/v2 instead
|
676
932
|
# @param [Hash] opts the optional parameters
|
677
933
|
# @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure|gcp)
|
678
934
|
# @option opts [String] :account_id AWS account ID or GCP Project Number or Azure subscription ID
|
@@ -773,6 +1029,7 @@ module Falcon
|
|
773
1029
|
# @option opts [Array<String>] :organization_ids AWS organization IDs
|
774
1030
|
# @option opts [String] :status Account status to filter results by.
|
775
1031
|
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1032
|
+
# @option opts [String] :cspm_lite Only return CSPM Lite accounts
|
776
1033
|
# @option opts [String] :migrated Only return migrated d4c accounts
|
777
1034
|
# @option opts [Integer] :offset The offset to start retrieving records from
|
778
1035
|
# @option opts [String] :group_by Field to group by.
|
@@ -790,6 +1047,7 @@ module Falcon
|
|
790
1047
|
# @option opts [Array<String>] :organization_ids AWS organization IDs
|
791
1048
|
# @option opts [String] :status Account status to filter results by.
|
792
1049
|
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1050
|
+
# @option opts [String] :cspm_lite Only return CSPM Lite accounts
|
793
1051
|
# @option opts [String] :migrated Only return migrated d4c accounts
|
794
1052
|
# @option opts [Integer] :offset The offset to start retrieving records from
|
795
1053
|
# @option opts [String] :group_by Field to group by.
|
@@ -798,33 +1056,22 @@ module Falcon
|
|
798
1056
|
if @api_client.config.debugging
|
799
1057
|
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_aws_account ...'
|
800
1058
|
end
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length < 3
|
806
|
-
fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling CspmRegistrationApi.get_cspm_aws_account, the character length must be great than or equal to 3.'
|
1059
|
+
allowable_values = ["dry", "full"]
|
1060
|
+
if @api_client.config.client_side_validation && opts[:'scan_type'] && !allowable_values.include?(opts[:'scan_type'])
|
1061
|
+
fail ArgumentError, "invalid value for \"scan_type\", must be one of #{allowable_values}"
|
807
1062
|
end
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
fail ArgumentError, "invalid value for 'opts[:\"scan_type\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
|
1063
|
+
allowable_values = ["provisioned", "operational"]
|
1064
|
+
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
1065
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
812
1066
|
end
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
|
1067
|
+
allowable_values = ["true", "false"]
|
1068
|
+
if @api_client.config.client_side_validation && opts[:'cspm_lite'] && !allowable_values.include?(opts[:'cspm_lite'])
|
1069
|
+
fail ArgumentError, "invalid value for \"cspm_lite\", must be one of #{allowable_values}"
|
817
1070
|
end
|
818
|
-
|
819
|
-
allowable_values = ["false", "true"]
|
1071
|
+
allowable_values = ["true", "false"]
|
820
1072
|
if @api_client.config.client_side_validation && opts[:'migrated'] && !allowable_values.include?(opts[:'migrated'])
|
821
1073
|
fail ArgumentError, "invalid value for \"migrated\", must be one of #{allowable_values}"
|
822
1074
|
end
|
823
|
-
pattern = Regexp.new(/^(true|false)$/)
|
824
|
-
if @api_client.config.client_side_validation && !opts[:'migrated'].nil? && opts[:'migrated'] !~ pattern
|
825
|
-
fail ArgumentError, "invalid value for 'opts[:\"migrated\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
|
826
|
-
end
|
827
|
-
|
828
1075
|
allowable_values = ["organization"]
|
829
1076
|
if @api_client.config.client_side_validation && opts[:'group_by'] && !allowable_values.include?(opts[:'group_by'])
|
830
1077
|
fail ArgumentError, "invalid value for \"group_by\", must be one of #{allowable_values}"
|
@@ -840,6 +1087,7 @@ module Falcon
|
|
840
1087
|
query_params[:'organization-ids'] = @api_client.build_collection_param(opts[:'organization_ids'], :multi) if !opts[:'organization_ids'].nil?
|
841
1088
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
842
1089
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1090
|
+
query_params[:'cspm_lite'] = opts[:'cspm_lite'] if !opts[:'cspm_lite'].nil?
|
843
1091
|
query_params[:'migrated'] = opts[:'migrated'] if !opts[:'migrated'].nil?
|
844
1092
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
845
1093
|
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
@@ -957,15 +1205,10 @@ module Falcon
|
|
957
1205
|
if @api_client.config.debugging
|
958
1206
|
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_aws_console_setup_urls ...'
|
959
1207
|
end
|
960
|
-
allowable_values = ["
|
1208
|
+
allowable_values = ["true", "false"]
|
961
1209
|
if @api_client.config.client_side_validation && opts[:'use_existing_cloudtrail'] && !allowable_values.include?(opts[:'use_existing_cloudtrail'])
|
962
1210
|
fail ArgumentError, "invalid value for \"use_existing_cloudtrail\", must be one of #{allowable_values}"
|
963
1211
|
end
|
964
|
-
pattern = Regexp.new(/^(true|false)$/)
|
965
|
-
if @api_client.config.client_side_validation && !opts[:'use_existing_cloudtrail'].nil? && opts[:'use_existing_cloudtrail'] !~ pattern
|
966
|
-
fail ArgumentError, "invalid value for 'opts[:\"use_existing_cloudtrail\"]' when calling CspmRegistrationApi.get_cspm_aws_console_setup_urls, must conform to the pattern #{pattern}."
|
967
|
-
end
|
968
|
-
|
969
1212
|
pattern = Regexp.new(/^[0-9a-z-]{2,}$/)
|
970
1213
|
if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
|
971
1214
|
fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling CspmRegistrationApi.get_cspm_aws_console_setup_urls, must conform to the pattern #{pattern}."
|
@@ -1020,6 +1263,7 @@ module Falcon
|
|
1020
1263
|
# @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
|
1021
1264
|
# @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
|
1022
1265
|
# @option opts [String] :status Account status to filter results by.
|
1266
|
+
# @option opts [String] :cspm_lite Only return CSPM Lite accounts
|
1023
1267
|
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1024
1268
|
# @option opts [Integer] :offset The offset to start retrieving records from
|
1025
1269
|
# @return [RegistrationAzureAccountResponseV1]
|
@@ -1034,6 +1278,7 @@ module Falcon
|
|
1034
1278
|
# @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
|
1035
1279
|
# @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
|
1036
1280
|
# @option opts [String] :status Account status to filter results by.
|
1281
|
+
# @option opts [String] :cspm_lite Only return CSPM Lite accounts
|
1037
1282
|
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1038
1283
|
# @option opts [Integer] :offset The offset to start retrieving records from
|
1039
1284
|
# @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
|
@@ -1059,6 +1304,15 @@ module Falcon
|
|
1059
1304
|
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling CspmRegistrationApi.get_cspm_azure_account, must conform to the pattern #{pattern}."
|
1060
1305
|
end
|
1061
1306
|
|
1307
|
+
allowable_values = ["false", "true"]
|
1308
|
+
if @api_client.config.client_side_validation && opts[:'cspm_lite'] && !allowable_values.include?(opts[:'cspm_lite'])
|
1309
|
+
fail ArgumentError, "invalid value for \"cspm_lite\", must be one of #{allowable_values}"
|
1310
|
+
end
|
1311
|
+
pattern = Regexp.new(/^(true|false)$/)
|
1312
|
+
if @api_client.config.client_side_validation && !opts[:'cspm_lite'].nil? && opts[:'cspm_lite'] !~ pattern
|
1313
|
+
fail ArgumentError, "invalid value for 'opts[:\"cspm_lite\"]' when calling CspmRegistrationApi.get_cspm_azure_account, must conform to the pattern #{pattern}."
|
1314
|
+
end
|
1315
|
+
|
1062
1316
|
# resource path
|
1063
1317
|
local_var_path = '/cloud-connect-cspm-azure/entities/account/v1'
|
1064
1318
|
|
@@ -1068,6 +1322,7 @@ module Falcon
|
|
1068
1322
|
query_params[:'tenant_ids'] = @api_client.build_collection_param(opts[:'tenant_ids'], :multi) if !opts[:'tenant_ids'].nil?
|
1069
1323
|
query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil?
|
1070
1324
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
1325
|
+
query_params[:'cspm_lite'] = opts[:'cspm_lite'] if !opts[:'cspm_lite'].nil?
|
1071
1326
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1072
1327
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1073
1328
|
|
@@ -1105,34 +1360,100 @@ module Falcon
|
|
1105
1360
|
return data, status_code, headers
|
1106
1361
|
end
|
1107
1362
|
|
1108
|
-
# Return
|
1363
|
+
# Return information about Azure management group registration
|
1109
1364
|
# @param [Hash] opts the optional parameters
|
1110
|
-
# @option opts [String] :
|
1111
|
-
# @option opts [
|
1112
|
-
# @option opts [
|
1113
|
-
# @
|
1114
|
-
|
1115
|
-
|
1116
|
-
data, _status_code, _headers = get_cspm_azure_user_scripts_attachment_with_http_info(opts)
|
1365
|
+
# @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
|
1366
|
+
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1367
|
+
# @option opts [Integer] :offset The offset to start retrieving records from
|
1368
|
+
# @return [RegistrationAzureManagementGroupResponseV1]
|
1369
|
+
def get_cspm_azure_management_group(opts = {})
|
1370
|
+
data, _status_code, _headers = get_cspm_azure_management_group_with_http_info(opts)
|
1117
1371
|
data
|
1118
1372
|
end
|
1119
1373
|
|
1120
|
-
# Return
|
1374
|
+
# Return information about Azure management group registration
|
1121
1375
|
# @param [Hash] opts the optional parameters
|
1122
|
-
# @option opts [String] :
|
1123
|
-
# @option opts [
|
1124
|
-
# @option opts [
|
1125
|
-
# @
|
1126
|
-
|
1127
|
-
def get_cspm_azure_user_scripts_attachment_with_http_info(opts = {})
|
1376
|
+
# @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
|
1377
|
+
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1378
|
+
# @option opts [Integer] :offset The offset to start retrieving records from
|
1379
|
+
# @return [Array<(RegistrationAzureManagementGroupResponseV1, Integer, Hash)>] RegistrationAzureManagementGroupResponseV1 data, response status code and response headers
|
1380
|
+
def get_cspm_azure_management_group_with_http_info(opts = {})
|
1128
1381
|
if @api_client.config.debugging
|
1129
|
-
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.
|
1130
|
-
end
|
1131
|
-
if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36
|
1132
|
-
fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, the character length must be smaller than or equal to 36.'
|
1382
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_azure_management_group ...'
|
1133
1383
|
end
|
1384
|
+
# resource path
|
1385
|
+
local_var_path = '/cloud-connect-cspm-azure/entities/management-group/v1'
|
1134
1386
|
|
1135
|
-
|
1387
|
+
# query parameters
|
1388
|
+
query_params = opts[:query_params] || {}
|
1389
|
+
query_params[:'tenant_ids'] = @api_client.build_collection_param(opts[:'tenant_ids'], :multi) if !opts[:'tenant_ids'].nil?
|
1390
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1391
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1392
|
+
|
1393
|
+
# header parameters
|
1394
|
+
header_params = opts[:header_params] || {}
|
1395
|
+
# HTTP header 'Accept' (if needed)
|
1396
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1397
|
+
|
1398
|
+
# form parameters
|
1399
|
+
form_params = opts[:form_params] || {}
|
1400
|
+
|
1401
|
+
# http body (model)
|
1402
|
+
post_body = opts[:debug_body]
|
1403
|
+
|
1404
|
+
# return_type
|
1405
|
+
return_type = opts[:debug_return_type] || 'RegistrationAzureManagementGroupResponseV1'
|
1406
|
+
|
1407
|
+
# auth_names
|
1408
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1409
|
+
|
1410
|
+
new_options = opts.merge(
|
1411
|
+
:operation => :"CspmRegistrationApi.get_cspm_azure_management_group",
|
1412
|
+
:header_params => header_params,
|
1413
|
+
:query_params => query_params,
|
1414
|
+
:form_params => form_params,
|
1415
|
+
:body => post_body,
|
1416
|
+
:auth_names => auth_names,
|
1417
|
+
:return_type => return_type
|
1418
|
+
)
|
1419
|
+
|
1420
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1421
|
+
if @api_client.config.debugging
|
1422
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_azure_management_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1423
|
+
end
|
1424
|
+
return data, status_code, headers
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
|
1428
|
+
# @param [Hash] opts the optional parameters
|
1429
|
+
# @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
|
1430
|
+
# @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
|
1431
|
+
# @option opts [String] :account_type
|
1432
|
+
# @option opts [String] :template Template to be rendered
|
1433
|
+
# @option opts [Boolean] :azure_management_group Use Azure Management Group
|
1434
|
+
# @return [RegistrationAzureProvisionGetUserScriptResponseV1]
|
1435
|
+
def get_cspm_azure_user_scripts_attachment(opts = {})
|
1436
|
+
data, _status_code, _headers = get_cspm_azure_user_scripts_attachment_with_http_info(opts)
|
1437
|
+
data
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
|
1441
|
+
# @param [Hash] opts the optional parameters
|
1442
|
+
# @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
|
1443
|
+
# @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
|
1444
|
+
# @option opts [String] :account_type
|
1445
|
+
# @option opts [String] :template Template to be rendered
|
1446
|
+
# @option opts [Boolean] :azure_management_group Use Azure Management Group
|
1447
|
+
# @return [Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>] RegistrationAzureProvisionGetUserScriptResponseV1 data, response status code and response headers
|
1448
|
+
def get_cspm_azure_user_scripts_attachment_with_http_info(opts = {})
|
1449
|
+
if @api_client.config.debugging
|
1450
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_azure_user_scripts_attachment ...'
|
1451
|
+
end
|
1452
|
+
if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36
|
1453
|
+
fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, the character length must be smaller than or equal to 36.'
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length < 36
|
1136
1457
|
fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, the character length must be great than or equal to 36.'
|
1137
1458
|
end
|
1138
1459
|
|
@@ -1159,6 +1480,7 @@ module Falcon
|
|
1159
1480
|
query_params[:'subscription_ids'] = @api_client.build_collection_param(opts[:'subscription_ids'], :multi) if !opts[:'subscription_ids'].nil?
|
1160
1481
|
query_params[:'account_type'] = opts[:'account_type'] if !opts[:'account_type'].nil?
|
1161
1482
|
query_params[:'template'] = opts[:'template'] if !opts[:'template'].nil?
|
1483
|
+
query_params[:'azure_management_group'] = opts[:'azure_management_group'] if !opts[:'azure_management_group'].nil?
|
1162
1484
|
|
1163
1485
|
# header parameters
|
1164
1486
|
header_params = opts[:header_params] || {}
|
@@ -1463,6 +1785,222 @@ module Falcon
|
|
1463
1785
|
return data, status_code, headers
|
1464
1786
|
end
|
1465
1787
|
|
1788
|
+
# Returns information about the current status of an GCP account.
|
1789
|
+
# @param [Hash] opts the optional parameters
|
1790
|
+
# @option opts [String] :parent_type GCP Hierarchy Parent Type, organization/folder/project
|
1791
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
1792
|
+
# @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
|
1793
|
+
# @option opts [String] :status Account status to filter results by.
|
1794
|
+
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1795
|
+
# @option opts [Integer] :offset The offset to start retrieving records from
|
1796
|
+
# @option opts [String] :sort Order fields in ascending or descending order. Ex: parent_type|asc.
|
1797
|
+
# @return [RegistrationGCPAccountResponseV1]
|
1798
|
+
def get_cspmcgp_account(opts = {})
|
1799
|
+
data, _status_code, _headers = get_cspmcgp_account_with_http_info(opts)
|
1800
|
+
data
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# Returns information about the current status of an GCP account.
|
1804
|
+
# @param [Hash] opts the optional parameters
|
1805
|
+
# @option opts [String] :parent_type GCP Hierarchy Parent Type, organization/folder/project
|
1806
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
1807
|
+
# @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
|
1808
|
+
# @option opts [String] :status Account status to filter results by.
|
1809
|
+
# @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
|
1810
|
+
# @option opts [Integer] :offset The offset to start retrieving records from
|
1811
|
+
# @option opts [String] :sort Order fields in ascending or descending order. Ex: parent_type|asc.
|
1812
|
+
# @return [Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>] RegistrationGCPAccountResponseV1 data, response status code and response headers
|
1813
|
+
def get_cspmcgp_account_with_http_info(opts = {})
|
1814
|
+
if @api_client.config.debugging
|
1815
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspmcgp_account ...'
|
1816
|
+
end
|
1817
|
+
allowable_values = ["Folder", "Organization", "Project"]
|
1818
|
+
if @api_client.config.client_side_validation && opts[:'parent_type'] && !allowable_values.include?(opts[:'parent_type'])
|
1819
|
+
fail ArgumentError, "invalid value for \"parent_type\", must be one of #{allowable_values}"
|
1820
|
+
end
|
1821
|
+
allowable_values = ["dry", "full"]
|
1822
|
+
if @api_client.config.client_side_validation && opts[:'scan_type'] && !allowable_values.include?(opts[:'scan_type'])
|
1823
|
+
fail ArgumentError, "invalid value for \"scan_type\", must be one of #{allowable_values}"
|
1824
|
+
end
|
1825
|
+
allowable_values = ["operational", "provisioned"]
|
1826
|
+
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
1827
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
1828
|
+
end
|
1829
|
+
# resource path
|
1830
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/account/v1'
|
1831
|
+
|
1832
|
+
# query parameters
|
1833
|
+
query_params = opts[:query_params] || {}
|
1834
|
+
query_params[:'parent_type'] = opts[:'parent_type'] if !opts[:'parent_type'].nil?
|
1835
|
+
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
|
1836
|
+
query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil?
|
1837
|
+
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
1838
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1839
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1840
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1841
|
+
|
1842
|
+
# header parameters
|
1843
|
+
header_params = opts[:header_params] || {}
|
1844
|
+
# HTTP header 'Accept' (if needed)
|
1845
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1846
|
+
|
1847
|
+
# form parameters
|
1848
|
+
form_params = opts[:form_params] || {}
|
1849
|
+
|
1850
|
+
# http body (model)
|
1851
|
+
post_body = opts[:debug_body]
|
1852
|
+
|
1853
|
+
# return_type
|
1854
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseV1'
|
1855
|
+
|
1856
|
+
# auth_names
|
1857
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1858
|
+
|
1859
|
+
new_options = opts.merge(
|
1860
|
+
:operation => :"CspmRegistrationApi.get_cspmcgp_account",
|
1861
|
+
:header_params => header_params,
|
1862
|
+
:query_params => query_params,
|
1863
|
+
:form_params => form_params,
|
1864
|
+
:body => post_body,
|
1865
|
+
:auth_names => auth_names,
|
1866
|
+
:return_type => return_type
|
1867
|
+
)
|
1868
|
+
|
1869
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1870
|
+
if @api_client.config.debugging
|
1871
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspmcgp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1872
|
+
end
|
1873
|
+
return data, status_code, headers
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Returns the service account id and client email for external clients.
|
1877
|
+
# @param [Hash] opts the optional parameters
|
1878
|
+
# @option opts [String] :id Service Account ID
|
1879
|
+
# @return [RegistrationGCPServiceAccountResponseExtV1]
|
1880
|
+
def get_cspmgcp_service_accounts_ext(opts = {})
|
1881
|
+
data, _status_code, _headers = get_cspmgcp_service_accounts_ext_with_http_info(opts)
|
1882
|
+
data
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
# Returns the service account id and client email for external clients.
|
1886
|
+
# @param [Hash] opts the optional parameters
|
1887
|
+
# @option opts [String] :id Service Account ID
|
1888
|
+
# @return [Array<(RegistrationGCPServiceAccountResponseExtV1, Integer, Hash)>] RegistrationGCPServiceAccountResponseExtV1 data, response status code and response headers
|
1889
|
+
def get_cspmgcp_service_accounts_ext_with_http_info(opts = {})
|
1890
|
+
if @api_client.config.debugging
|
1891
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspmgcp_service_accounts_ext ...'
|
1892
|
+
end
|
1893
|
+
pattern = Regexp.new(/^\d+$/)
|
1894
|
+
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'] !~ pattern
|
1895
|
+
fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling CspmRegistrationApi.get_cspmgcp_service_accounts_ext, must conform to the pattern #{pattern}."
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# resource path
|
1899
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/service-accounts/v1'
|
1900
|
+
|
1901
|
+
# query parameters
|
1902
|
+
query_params = opts[:query_params] || {}
|
1903
|
+
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
1904
|
+
|
1905
|
+
# header parameters
|
1906
|
+
header_params = opts[:header_params] || {}
|
1907
|
+
# HTTP header 'Accept' (if needed)
|
1908
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1909
|
+
|
1910
|
+
# form parameters
|
1911
|
+
form_params = opts[:form_params] || {}
|
1912
|
+
|
1913
|
+
# http body (model)
|
1914
|
+
post_body = opts[:debug_body]
|
1915
|
+
|
1916
|
+
# return_type
|
1917
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPServiceAccountResponseExtV1'
|
1918
|
+
|
1919
|
+
# auth_names
|
1920
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1921
|
+
|
1922
|
+
new_options = opts.merge(
|
1923
|
+
:operation => :"CspmRegistrationApi.get_cspmgcp_service_accounts_ext",
|
1924
|
+
:header_params => header_params,
|
1925
|
+
:query_params => query_params,
|
1926
|
+
:form_params => form_params,
|
1927
|
+
:body => post_body,
|
1928
|
+
:auth_names => auth_names,
|
1929
|
+
:return_type => return_type
|
1930
|
+
)
|
1931
|
+
|
1932
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1933
|
+
if @api_client.config.debugging
|
1934
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspmgcp_service_accounts_ext\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1935
|
+
end
|
1936
|
+
return data, status_code, headers
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment
|
1940
|
+
# @param [Hash] opts the optional parameters
|
1941
|
+
# @option opts [String] :parent_type GCP Hierarchy Parent Type, organization/folder/project
|
1942
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
1943
|
+
# @return [RegistrationGCPProvisionGetUserScriptResponseV1]
|
1944
|
+
def get_cspmgcp_user_scripts_attachment(opts = {})
|
1945
|
+
data, _status_code, _headers = get_cspmgcp_user_scripts_attachment_with_http_info(opts)
|
1946
|
+
data
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment
|
1950
|
+
# @param [Hash] opts the optional parameters
|
1951
|
+
# @option opts [String] :parent_type GCP Hierarchy Parent Type, organization/folder/project
|
1952
|
+
# @option opts [Array<String>] :ids Hierarchical Resource IDs of accounts
|
1953
|
+
# @return [Array<(RegistrationGCPProvisionGetUserScriptResponseV1, Integer, Hash)>] RegistrationGCPProvisionGetUserScriptResponseV1 data, response status code and response headers
|
1954
|
+
def get_cspmgcp_user_scripts_attachment_with_http_info(opts = {})
|
1955
|
+
if @api_client.config.debugging
|
1956
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspmgcp_user_scripts_attachment ...'
|
1957
|
+
end
|
1958
|
+
allowable_values = ["Folder", "Organization", "Project"]
|
1959
|
+
if @api_client.config.client_side_validation && opts[:'parent_type'] && !allowable_values.include?(opts[:'parent_type'])
|
1960
|
+
fail ArgumentError, "invalid value for \"parent_type\", must be one of #{allowable_values}"
|
1961
|
+
end
|
1962
|
+
# resource path
|
1963
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/user-scripts-download/v1'
|
1964
|
+
|
1965
|
+
# query parameters
|
1966
|
+
query_params = opts[:query_params] || {}
|
1967
|
+
query_params[:'parent_type'] = opts[:'parent_type'] if !opts[:'parent_type'].nil?
|
1968
|
+
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
|
1969
|
+
|
1970
|
+
# header parameters
|
1971
|
+
header_params = opts[:header_params] || {}
|
1972
|
+
# HTTP header 'Accept' (if needed)
|
1973
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream'])
|
1974
|
+
|
1975
|
+
# form parameters
|
1976
|
+
form_params = opts[:form_params] || {}
|
1977
|
+
|
1978
|
+
# http body (model)
|
1979
|
+
post_body = opts[:debug_body]
|
1980
|
+
|
1981
|
+
# return_type
|
1982
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPProvisionGetUserScriptResponseV1'
|
1983
|
+
|
1984
|
+
# auth_names
|
1985
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1986
|
+
|
1987
|
+
new_options = opts.merge(
|
1988
|
+
:operation => :"CspmRegistrationApi.get_cspmgcp_user_scripts_attachment",
|
1989
|
+
:header_params => header_params,
|
1990
|
+
:query_params => query_params,
|
1991
|
+
:form_params => form_params,
|
1992
|
+
:body => post_body,
|
1993
|
+
:auth_names => auth_names,
|
1994
|
+
:return_type => return_type
|
1995
|
+
)
|
1996
|
+
|
1997
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1998
|
+
if @api_client.config.debugging
|
1999
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspmgcp_user_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2000
|
+
end
|
2001
|
+
return data, status_code, headers
|
2002
|
+
end
|
2003
|
+
|
1466
2004
|
# Patches a existing account in our system for a customer.
|
1467
2005
|
# @param body [RegistrationAWSAccountPatchRequest]
|
1468
2006
|
# @param [Hash] opts the optional parameters
|
@@ -1529,6 +2067,72 @@ module Falcon
|
|
1529
2067
|
return data, status_code, headers
|
1530
2068
|
end
|
1531
2069
|
|
2070
|
+
# Patches a existing account in our system for a customer.
|
2071
|
+
# @param body [RegistrationAzureAccountPatchRequest]
|
2072
|
+
# @param [Hash] opts the optional parameters
|
2073
|
+
# @return [RegistrationAzureAccountResponseV1]
|
2074
|
+
def update_cspm_azure_account(body, opts = {})
|
2075
|
+
data, _status_code, _headers = update_cspm_azure_account_with_http_info(body, opts)
|
2076
|
+
data
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
# Patches a existing account in our system for a customer.
|
2080
|
+
# @param body [RegistrationAzureAccountPatchRequest]
|
2081
|
+
# @param [Hash] opts the optional parameters
|
2082
|
+
# @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
|
2083
|
+
def update_cspm_azure_account_with_http_info(body, opts = {})
|
2084
|
+
if @api_client.config.debugging
|
2085
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspm_azure_account ...'
|
2086
|
+
end
|
2087
|
+
# verify the required parameter 'body' is set
|
2088
|
+
if @api_client.config.client_side_validation && body.nil?
|
2089
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.update_cspm_azure_account"
|
2090
|
+
end
|
2091
|
+
# resource path
|
2092
|
+
local_var_path = '/cloud-connect-cspm-azure/entities/account/v1'
|
2093
|
+
|
2094
|
+
# query parameters
|
2095
|
+
query_params = opts[:query_params] || {}
|
2096
|
+
|
2097
|
+
# header parameters
|
2098
|
+
header_params = opts[:header_params] || {}
|
2099
|
+
# HTTP header 'Accept' (if needed)
|
2100
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2101
|
+
# HTTP header 'Content-Type'
|
2102
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2103
|
+
if !content_type.nil?
|
2104
|
+
header_params['Content-Type'] = content_type
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
# form parameters
|
2108
|
+
form_params = opts[:form_params] || {}
|
2109
|
+
|
2110
|
+
# http body (model)
|
2111
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2112
|
+
|
2113
|
+
# return_type
|
2114
|
+
return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1'
|
2115
|
+
|
2116
|
+
# auth_names
|
2117
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2118
|
+
|
2119
|
+
new_options = opts.merge(
|
2120
|
+
:operation => :"CspmRegistrationApi.update_cspm_azure_account",
|
2121
|
+
:header_params => header_params,
|
2122
|
+
:query_params => query_params,
|
2123
|
+
:form_params => form_params,
|
2124
|
+
:body => post_body,
|
2125
|
+
:auth_names => auth_names,
|
2126
|
+
:return_type => return_type
|
2127
|
+
)
|
2128
|
+
|
2129
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
2130
|
+
if @api_client.config.debugging
|
2131
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspm_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2132
|
+
end
|
2133
|
+
return data, status_code, headers
|
2134
|
+
end
|
2135
|
+
|
1532
2136
|
# Update an Azure service account in our system by with the user-created client_id created with the public key we've provided
|
1533
2137
|
# @param id [String] ClientID to use for the Service Principal associated with the customer's Azure account
|
1534
2138
|
# @param [Hash] opts the optional parameters
|
@@ -1842,5 +2446,71 @@ module Falcon
|
|
1842
2446
|
end
|
1843
2447
|
return data, status_code, headers
|
1844
2448
|
end
|
2449
|
+
|
2450
|
+
# Patches a existing account in our system for a customer.
|
2451
|
+
# @param body [RegistrationGCPAccountPatchRequest]
|
2452
|
+
# @param [Hash] opts the optional parameters
|
2453
|
+
# @return [RegistrationGCPAccountResponseV1]
|
2454
|
+
def update_cspmgcp_account(body, opts = {})
|
2455
|
+
data, _status_code, _headers = update_cspmgcp_account_with_http_info(body, opts)
|
2456
|
+
data
|
2457
|
+
end
|
2458
|
+
|
2459
|
+
# Patches a existing account in our system for a customer.
|
2460
|
+
# @param body [RegistrationGCPAccountPatchRequest]
|
2461
|
+
# @param [Hash] opts the optional parameters
|
2462
|
+
# @return [Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>] RegistrationGCPAccountResponseV1 data, response status code and response headers
|
2463
|
+
def update_cspmgcp_account_with_http_info(body, opts = {})
|
2464
|
+
if @api_client.config.debugging
|
2465
|
+
@api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspmgcp_account ...'
|
2466
|
+
end
|
2467
|
+
# verify the required parameter 'body' is set
|
2468
|
+
if @api_client.config.client_side_validation && body.nil?
|
2469
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.update_cspmgcp_account"
|
2470
|
+
end
|
2471
|
+
# resource path
|
2472
|
+
local_var_path = '/cloud-connect-cspm-gcp/entities/account/v1'
|
2473
|
+
|
2474
|
+
# query parameters
|
2475
|
+
query_params = opts[:query_params] || {}
|
2476
|
+
|
2477
|
+
# header parameters
|
2478
|
+
header_params = opts[:header_params] || {}
|
2479
|
+
# HTTP header 'Accept' (if needed)
|
2480
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2481
|
+
# HTTP header 'Content-Type'
|
2482
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2483
|
+
if !content_type.nil?
|
2484
|
+
header_params['Content-Type'] = content_type
|
2485
|
+
end
|
2486
|
+
|
2487
|
+
# form parameters
|
2488
|
+
form_params = opts[:form_params] || {}
|
2489
|
+
|
2490
|
+
# http body (model)
|
2491
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2492
|
+
|
2493
|
+
# return_type
|
2494
|
+
return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseV1'
|
2495
|
+
|
2496
|
+
# auth_names
|
2497
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2498
|
+
|
2499
|
+
new_options = opts.merge(
|
2500
|
+
:operation => :"CspmRegistrationApi.update_cspmgcp_account",
|
2501
|
+
:header_params => header_params,
|
2502
|
+
:query_params => query_params,
|
2503
|
+
:form_params => form_params,
|
2504
|
+
:body => post_body,
|
2505
|
+
:auth_names => auth_names,
|
2506
|
+
:return_type => return_type
|
2507
|
+
)
|
2508
|
+
|
2509
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
2510
|
+
if @api_client.config.debugging
|
2511
|
+
@api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspmgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2512
|
+
end
|
2513
|
+
return data, status_code, headers
|
2514
|
+
end
|
1845
2515
|
end
|
1846
2516
|
end
|