crimson-falcon 0.5.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2151 -1857
- data/lib/crimson-falcon/api/{alerts_api.rb → alerts.rb} +105 -39
- data/lib/crimson-falcon/api/{api_integrations_api.rb → api_integrations.rb} +12 -12
- data/lib/crimson-falcon/api/{aspm_api.rb → aspm.rb} +295 -96
- data/lib/crimson-falcon/api/{certificate_based_exclusions_api.rb → certificate_based_exclusions.rb} +25 -25
- data/lib/crimson-falcon/api/{default_api.rb → cloud_aws_registration.rb} +29 -29
- data/lib/crimson-falcon/api/cloud_azure_registration.rb +105 -0
- data/lib/crimson-falcon/api/{cloud_connect_aws_api.rb → cloud_connect_aws.rb} +35 -35
- data/lib/crimson-falcon/api/cloud_security_assets.rb +179 -0
- data/lib/crimson-falcon/api/{cloud_snapshots_api.rb → cloud_snapshots.rb} +22 -22
- data/lib/crimson-falcon/api/{compliance_assessments_api.rb → compliance_assessments.rb} +34 -34
- data/lib/crimson-falcon/api/{configuration_assessment_api.rb → configuration_assessment.rb} +11 -11
- data/lib/crimson-falcon/api/{configuration_assessment_evaluation_logic_api.rb → configuration_assessment_evaluation_logic.rb} +5 -5
- data/lib/crimson-falcon/api/{container_alerts_api.rb → container_alerts.rb} +20 -20
- data/lib/crimson-falcon/api/{container_detections_api.rb → container_detections.rb} +46 -46
- data/lib/crimson-falcon/api/{container_images_api.rb → container_images.rb} +116 -116
- data/lib/crimson-falcon/api/{container_packages_api.rb → container_packages.rb} +122 -52
- data/lib/crimson-falcon/api/{container_vulnerabilities_api.rb → container_vulnerabilities.rb} +93 -93
- data/lib/crimson-falcon/api/content_update_policies.rb +769 -0
- data/lib/crimson-falcon/api/correlation_rules.rb +505 -0
- data/lib/crimson-falcon/api/{cspg_iacapi_api.rb → cspg_iac.rb} +4 -4
- data/lib/crimson-falcon/api/{cspm_registration_api.rb → cspm_registration.rb} +473 -414
- data/lib/crimson-falcon/api/{custom_ioa_api.rb → custom_ioa.rb} +82 -82
- data/lib/crimson-falcon/api/{custom_storage_api.rb → custom_storage.rb} +136 -136
- data/lib/crimson-falcon/api/{d4c_registration_api.rb → d4c_registration.rb} +97 -178
- data/lib/crimson-falcon/api/{datascanner_api.rb → datascanner.rb} +13 -13
- data/lib/crimson-falcon/api/{delivery_settings_api.rb → delivery_settings.rb} +8 -8
- data/lib/crimson-falcon/api/deployments.rb +115 -0
- data/lib/crimson-falcon/api/{detects_api.rb → detects.rb} +18 -18
- data/lib/crimson-falcon/api/device_content.rb +176 -0
- data/lib/crimson-falcon/api/{device_control_policies_api.rb → device_control_policies.rb} +57 -57
- data/lib/crimson-falcon/api/{discover_api.rb → discover.rb} +119 -53
- data/lib/crimson-falcon/api/{discover_iot_api.rb → discover_iot.rb} +16 -16
- data/lib/crimson-falcon/api/downloads.rb +108 -0
- data/lib/crimson-falcon/api/{downloads_api_api.rb → downloads_api.rb} +4 -73
- data/lib/crimson-falcon/api/{drift_indicators_api.rb → drift_indicators.rb} +38 -38
- data/lib/crimson-falcon/api/{event_schema_api.rb → event_schema.rb} +10 -10
- data/lib/crimson-falcon/api/{event_streams_api.rb → event_streams.rb} +11 -11
- data/lib/crimson-falcon/api/{exposure_management_api.rb → exposure_management.rb} +47 -41
- data/lib/crimson-falcon/api/{falcon_complete_dashboard_api.rb → falcon_complete_dashboard.rb} +73 -73
- data/lib/crimson-falcon/api/{falcon_container_api.rb → falcon_container.rb} +4 -4
- data/lib/crimson-falcon/api/{falcon_container_cli_api.rb → falcon_container_cli.rb} +5 -5
- data/lib/crimson-falcon/api/{falcon_container_image_api.rb → falcon_container_image.rb} +46 -46
- data/lib/crimson-falcon/api/{falconx_sandbox_api.rb → falconx_sandbox.rb} +62 -62
- data/lib/crimson-falcon/api/{field_schema_api.rb → field_schema.rb} +7 -7
- data/lib/crimson-falcon/api/{filevantage_api.rb → filevantage.rb} +149 -149
- data/lib/crimson-falcon/api/{firewall_management_api.rb → firewall_management.rb} +138 -138
- data/lib/crimson-falcon/api/{firewall_policies_api.rb → firewall_policies.rb} +52 -52
- data/lib/crimson-falcon/api/{foundry_logscale_api.rb → foundry_logscale.rb} +65 -65
- data/lib/crimson-falcon/api/{handle_api.rb → handle.rb} +4 -4
- data/lib/crimson-falcon/api/{host_group_api.rb → host_group.rb} +46 -46
- data/lib/crimson-falcon/api/{host_migration_api.rb → host_migration.rb} +49 -49
- data/lib/crimson-falcon/api/{hosts_api.rb → hosts.rb} +50 -50
- data/lib/crimson-falcon/api/{humio_auth_proxy_api.rb → humio_auth_proxy.rb} +37 -37
- data/lib/crimson-falcon/api/{identity_entities_api.rb → identity_entities.rb} +12 -12
- data/lib/crimson-falcon/api/{identity_protection_api.rb → identity_protection.rb} +28 -28
- data/lib/crimson-falcon/api/{image_assessment_policies_api.rb → image_assessment_policies.rb} +44 -44
- data/lib/crimson-falcon/api/{incidents_api.rb → incidents.rb} +22 -22
- data/lib/crimson-falcon/api/{installation_tokens_api.rb → installation_tokens.rb} +29 -29
- data/lib/crimson-falcon/api/{installation_tokens_settings_api.rb → installation_tokens_settings.rb} +5 -5
- data/lib/crimson-falcon/api/{intel_api.rb → intel.rb} +85 -85
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +118 -0
- data/lib/crimson-falcon/api/{ioa_exclusions_api.rb → ioa_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{ioc_api.rb → ioc.rb} +61 -61
- data/lib/crimson-falcon/api/{iocs_api.rb → iocs.rb} +21 -21
- data/lib/crimson-falcon/api/{kubernetes_protection_api.rb → kubernetes_protection.rb} +370 -370
- data/lib/crimson-falcon/api/lookup_files.rb +239 -0
- data/lib/crimson-falcon/api/{malquery_api.rb → malquery.rb} +36 -36
- data/lib/crimson-falcon/api/{message_center_api.rb → message_center.rb} +42 -42
- data/lib/crimson-falcon/api/{ml_exclusions_api.rb → ml_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{mobile_enrollment_api.rb → mobile_enrollment.rb} +9 -9
- data/lib/crimson-falcon/api/{mssp_api.rb → mssp.rb} +117 -117
- data/lib/crimson-falcon/api/{oauth2_api.rb → oauth2.rb} +10 -10
- data/lib/crimson-falcon/api/{ods_api.rb → ods.rb} +61 -61
- data/lib/crimson-falcon/api/{overwatch_dashboard_api.rb → overwatch_dashboard.rb} +21 -21
- data/lib/crimson-falcon/api/{prevention_policies_api.rb → prevention_policies.rb} +50 -50
- data/lib/crimson-falcon/api/{quarantine_api.rb → quarantine.rb} +24 -24
- data/lib/crimson-falcon/api/{quick_scan_api.rb → quick_scan.rb} +16 -16
- data/lib/crimson-falcon/api/{quick_scan_pro_api.rb → quick_scan_pro.rb} +25 -25
- data/lib/crimson-falcon/api/{real_time_response_api.rb → real_time_response.rb} +98 -98
- data/lib/crimson-falcon/api/{real_time_response_admin_api.rb → real_time_response_admin.rb} +72 -72
- data/lib/crimson-falcon/api/{real_time_response_audit_api.rb → real_time_response_audit.rb} +4 -4
- data/lib/crimson-falcon/api/{recon_api.rb → recon.rb} +109 -109
- data/lib/crimson-falcon/api/release_notes.rb +287 -0
- data/lib/crimson-falcon/api/releases.rb +125 -0
- data/lib/crimson-falcon/api/{report_executions_api.rb → report_executions.rb} +16 -16
- data/lib/crimson-falcon/api/{response_policies_api.rb → response_policies.rb} +50 -50
- data/lib/crimson-falcon/api/{runtime_detections_api.rb → runtime_detections.rb} +13 -13
- data/lib/crimson-falcon/api/{sample_uploads_api.rb → sample_uploads.rb} +49 -49
- data/lib/crimson-falcon/api/{scheduled_reports_api.rb → scheduled_reports.rb} +12 -12
- data/lib/crimson-falcon/api/{sensor_download_api.rb → sensor_download.rb} +32 -32
- data/lib/crimson-falcon/api/{sensor_update_policies_api.rb → sensor_update_policies.rb} +88 -88
- data/lib/crimson-falcon/api/{sensor_usage_api_api.rb → sensor_usage.rb} +4 -4
- data/lib/crimson-falcon/api/{sensor_visibility_exclusions_api.rb → sensor_visibility_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{spotlight_evaluation_logic_api.rb → spotlight_evaluation_logic.rb} +13 -13
- data/lib/crimson-falcon/api/{spotlight_vulnerabilities_api.rb → spotlight_vulnerabilities.rb} +27 -27
- data/lib/crimson-falcon/api/{threatgraph_api.rb → threatgraph.rb} +42 -42
- data/lib/crimson-falcon/api/{unidentified_containers_api.rb → unidentified_containers.rb} +23 -23
- data/lib/crimson-falcon/api/{user_management_api.rb → user_management.rb} +94 -94
- data/lib/crimson-falcon/api/vulnerabilities.rb +106 -0
- data/lib/crimson-falcon/api/{workflows_api.rb → workflows.rb} +76 -76
- data/lib/crimson-falcon/api/{zero_trust_assessment_api.rb → zero_trust_assessment.rb} +12 -12
- data/lib/crimson-falcon/models/api_create_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_get_entities_rules_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_patch_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +354 -0
- data/lib/crimson-falcon/models/api_rule_operation_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +311 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1_patch.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_search_v1.rb +276 -0
- data/lib/crimson-falcon/models/api_rule_v1.rb +132 -203
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +1 -89
- data/lib/crimson-falcon/models/assets_get_resource_ids_response.rb +261 -0
- data/lib/crimson-falcon/models/assets_get_resources_response.rb +266 -0
- data/lib/crimson-falcon/models/base_set_content_update_policy_precedence_req_v1.rb +242 -0
- data/lib/crimson-falcon/models/content_update_create_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +259 -0
- data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +253 -0
- data/lib/crimson-falcon/models/content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +269 -0
- data/lib/crimson-falcon/models/dataclassifications_label.rb +267 -0
- data/lib/crimson-falcon/models/dataclassifications_response.rb +284 -0
- data/lib/crimson-falcon/models/dataclassifications_tag.rb +283 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_ring_view.rb +302 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view.rb +309 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_meta.rb +271 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_paging.rb +262 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_request_swagger.rb +261 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_response_swagger.rb +272 -0
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +3 -3
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +3 -3
- data/lib/crimson-falcon/models/devicecontent_content_category.rb +234 -0
- data/lib/crimson-falcon/models/devicecontent_state.rb +345 -0
- data/lib/crimson-falcon/models/devicecontentapi_entities_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/devicecontentapi_query_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/domain_aws_account_resource_metadata.rb +66 -1
- data/lib/crimson-falcon/models/domain_benchmark.rb +12 -1
- data/lib/crimson-falcon/models/domain_content_update_policy_resp_v1.rb +474 -0
- data/lib/crimson-falcon/models/domain_content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +21 -1
- data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +13 -1
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +33 -1
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +33 -1
- data/lib/crimson-falcon/models/domain_kestrel_params.rb +239 -0
- data/lib/crimson-falcon/models/domain_lookup_file.rb +453 -0
- data/lib/crimson-falcon/models/domain_lookup_file_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_ring_assignment_settings_v1.rb +267 -0
- data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +18 -1
- data/lib/crimson-falcon/models/figapi_adversary.rb +235 -0
- data/lib/crimson-falcon/models/figapi_country.rb +245 -0
- data/lib/crimson-falcon/models/figapi_domain.rb +345 -0
- data/lib/crimson-falcon/models/figapi_email_address.rb +252 -0
- data/lib/crimson-falcon/models/figapi_file.rb +299 -0
- data/lib/crimson-falcon/models/figapi_indicator.rb +458 -0
- data/lib/crimson-falcon/models/figapi_ipv4.rb +269 -0
- data/lib/crimson-falcon/models/figapi_ipv6.rb +269 -0
- data/lib/crimson-falcon/models/figapi_mx_record.rb +284 -0
- data/lib/crimson-falcon/models/figapi_name_server.rb +254 -0
- data/lib/crimson-falcon/models/figapi_report.rb +235 -0
- data/lib/crimson-falcon/models/figapi_sector.rb +245 -0
- data/lib/crimson-falcon/models/figapi_threat.rb +235 -0
- data/lib/crimson-falcon/models/figapi_url.rb +247 -0
- data/lib/crimson-falcon/models/figapi_vulnerability.rb +374 -0
- data/lib/crimson-falcon/models/figapi_who_is.rb +261 -0
- data/lib/crimson-falcon/models/figapi_whois_record.rb +306 -0
- data/lib/crimson-falcon/models/figapi_x509_certificate.rb +297 -0
- data/lib/crimson-falcon/models/graph_condition.rb +2 -12
- data/lib/crimson-falcon/models/help.rb +239 -0
- data/lib/crimson-falcon/models/ingestion_cve_exploit_reference.rb +267 -0
- data/lib/crimson-falcon/models/ingestion_cve_exploit_source.rb +283 -0
- data/lib/crimson-falcon/models/ingestion_ex_prt_rating_factors.rb +281 -0
- data/lib/crimson-falcon/models/ingestion_reference.rb +255 -0
- data/lib/crimson-falcon/models/inventoryapi_surface_error.rb +260 -0
- data/lib/crimson-falcon/models/{client_fql_statement.rb → inventoryapi_user_external_asset.rb} +16 -28
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create.rb +257 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_request_v1.rb +242 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_result.rb +322 -0
- data/lib/crimson-falcon/models/inventoryapidomain_subsidiary.rb +245 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +19 -1
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +22 -4
- data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +34 -4
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +15 -1
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +26 -1
- data/lib/crimson-falcon/models/models_api_package_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_api_package_combined_v2.rb +381 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_application_library.rb +13 -4
- data/lib/crimson-falcon/models/models_container.rb +15 -1
- data/lib/crimson-falcon/models/models_ext_api_image_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_message.rb +239 -0
- data/lib/crimson-falcon/models/models_partial_fingerprints.rb +239 -0
- data/lib/crimson-falcon/models/models_result.rb +339 -0
- data/lib/crimson-falcon/models/models_result_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_location_properties.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location_artifact_location.rb +239 -0
- data/lib/crimson-falcon/models/models_result_physical_location_region.rb +239 -0
- data/lib/crimson-falcon/models/models_result_properties.rb +365 -0
- data/lib/crimson-falcon/models/models_rule.rb +337 -0
- data/lib/crimson-falcon/models/models_rule_default_configuration.rb +239 -0
- data/lib/crimson-falcon/models/models_rule_properties.rb +669 -0
- data/lib/crimson-falcon/models/models_run.rb +255 -0
- data/lib/crimson-falcon/models/models_run_tool.rb +239 -0
- data/lib/crimson-falcon/models/models_run_tool_driver.rb +283 -0
- data/lib/crimson-falcon/models/models_vulnerability_sarif.rb +269 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_v2.rb +266 -0
- data/lib/crimson-falcon/models/policyframework_benchmark.rb +253 -0
- data/lib/crimson-falcon/models/policyframework_control.rb +290 -0
- data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +10 -1
- data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +19 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +19 -1
- data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +0 -5
- data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +0 -5
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
- data/lib/crimson-falcon/models/releasecontents_release_content.rb +327 -0
- data/lib/crimson-falcon/models/releasecontents_release_content_version.rb +267 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_request.rb +241 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_response_wrapper.rb +269 -0
- data/lib/crimson-falcon/models/releasenotes_note_detail.rb +270 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_v1.rb +303 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/releases_release.rb +328 -0
- data/lib/crimson-falcon/models/releases_release_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/resources_app.rb +243 -0
- data/lib/crimson-falcon/models/resources_asset_graph.rb +243 -0
- data/lib/crimson-falcon/models/resources_cloud_context.rb +378 -0
- data/lib/crimson-falcon/models/resources_cloud_resource.rb +604 -0
- data/lib/crimson-falcon/models/resources_compliance.rb +307 -0
- data/lib/crimson-falcon/models/resources_detections.rb +291 -0
- data/lib/crimson-falcon/models/resources_host.rb +390 -0
- data/lib/crimson-falcon/models/resources_relationship.rb +261 -0
- data/lib/crimson-falcon/models/resources_vulnerability.rb +262 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_data.rb +239 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/rest_azure_provision_get_account_script_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/rest_azure_script.rb +276 -0
- data/lib/crimson-falcon/models/rest_cursor_and_limit_meta_info.rb +289 -0
- data/lib/crimson-falcon/models/rest_cursor_meta_info.rb +280 -0
- data/lib/crimson-falcon/models/rest_cursor_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/rest_paging.rb +262 -0
- data/lib/crimson-falcon/models/restapi_indicator_response.rb +271 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_request.rb +255 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_sort_request.rb +267 -0
- data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +19 -1
- data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +1 -15
- data/lib/crimson-falcon/models/string_wrapper.rb +266 -0
- data/lib/crimson-falcon/models/types_get_executor_nodes_metadata_response.rb +278 -0
- data/lib/crimson-falcon/models/types_get_integration_tasks_metadata_response.rb +267 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +10 -1
- data/lib/crimson-falcon/models/vulnerabilities_vulnerability_entity_sarif_response.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +223 -90
- data/spec/api/{alerts_api_spec.rb → alerts_spec.rb} +21 -10
- data/spec/api/{api_integrations_api_spec.rb → api_integrations_spec.rb} +8 -8
- data/spec/api/{aspm_api_spec.rb → aspm_spec.rb} +51 -8
- data/spec/api/{certificate_based_exclusions_api_spec.rb → certificate_based_exclusions_spec.rb} +8 -8
- data/spec/api/{default_api_spec.rb → cloud_aws_registration_spec.rb} +8 -8
- data/spec/api/cloud_azure_registration_spec.rb +63 -0
- data/spec/api/{cloud_connect_aws_api_spec.rb → cloud_connect_aws_spec.rb} +8 -8
- data/spec/api/cloud_security_assets_spec.rb +78 -0
- data/spec/api/{cloud_snapshots_api_spec.rb → cloud_snapshots_spec.rb} +8 -8
- data/spec/api/{compliance_assessments_api_spec.rb → compliance_assessments_spec.rb} +8 -8
- data/spec/api/{configuration_assessment_evaluation_logic_api_spec.rb → configuration_assessment_evaluation_logic_spec.rb} +8 -8
- data/spec/api/{configuration_assessment_api_spec.rb → configuration_assessment_spec.rb} +8 -8
- data/spec/api/{container_alerts_api_spec.rb → container_alerts_spec.rb} +12 -12
- data/spec/api/{container_detections_api_spec.rb → container_detections_spec.rb} +18 -18
- data/spec/api/{container_images_api_spec.rb → container_images_spec.rb} +38 -38
- data/spec/api/{container_packages_api_spec.rb → container_packages_spec.rb} +36 -21
- data/spec/api/{container_vulnerabilities_api_spec.rb → container_vulnerabilities_spec.rb} +28 -28
- data/spec/api/content_update_policies_spec.rb +177 -0
- data/spec/api/correlation_rules_spec.rb +137 -0
- data/spec/api/{cspg_iacapi_api_spec.rb → cspg_iac_spec.rb} +8 -8
- data/spec/api/{cspm_registration_api_spec.rb → cspm_registration_spec.rb} +94 -84
- data/spec/api/{custom_ioa_api_spec.rb → custom_ioa_spec.rb} +12 -12
- data/spec/api/{custom_storage_api_spec.rb → custom_storage_spec.rb} +8 -8
- data/spec/api/{d4c_registration_api_spec.rb → d4c_registration_spec.rb} +9 -22
- data/spec/api/{datascanner_api_spec.rb → datascanner_spec.rb} +8 -8
- data/spec/api/{delivery_settings_api_spec.rb → delivery_settings_spec.rb} +8 -8
- data/spec/api/deployments_spec.rb +65 -0
- data/spec/api/{detects_api_spec.rb → detects_spec.rb} +8 -8
- data/spec/api/device_content_spec.rb +77 -0
- data/spec/api/{device_control_policies_api_spec.rb → device_control_policies_spec.rb} +8 -8
- data/spec/api/{discover_iot_api_spec.rb → discover_iot_spec.rb} +8 -8
- data/spec/api/{discover_api_spec.rb → discover_spec.rb} +19 -8
- data/spec/api/{downloads_api_api_spec.rb → downloads_spec.rb} +8 -20
- data/spec/api/{drift_indicators_api_spec.rb → drift_indicators_spec.rb} +16 -16
- data/spec/api/{event_schema_api_spec.rb → event_schema_spec.rb} +8 -8
- data/spec/api/{event_streams_api_spec.rb → event_streams_spec.rb} +8 -8
- data/spec/api/{exposure_management_api_spec.rb → exposure_management_spec.rb} +10 -8
- data/spec/api/{falcon_complete_dashboard_api_spec.rb → falcon_complete_dashboard_spec.rb} +8 -8
- data/spec/api/{falcon_container_cli_api_spec.rb → falcon_container_cli_spec.rb} +8 -8
- data/spec/api/{falcon_container_image_api_spec.rb → falcon_container_image_spec.rb} +13 -13
- data/spec/api/{falcon_container_api_spec.rb → falcon_container_spec.rb} +8 -8
- data/spec/api/{falconx_sandbox_api_spec.rb → falconx_sandbox_spec.rb} +8 -8
- data/spec/api/{field_schema_api_spec.rb → field_schema_spec.rb} +8 -8
- data/spec/api/{filevantage_api_spec.rb → filevantage_spec.rb} +14 -14
- data/spec/api/{firewall_management_api_spec.rb → firewall_management_spec.rb} +16 -16
- data/spec/api/{firewall_policies_api_spec.rb → firewall_policies_spec.rb} +8 -8
- data/spec/api/{foundry_logscale_api_spec.rb → foundry_logscale_spec.rb} +8 -8
- data/spec/api/{handle_api_spec.rb → handle_spec.rb} +8 -8
- data/spec/api/{host_group_api_spec.rb → host_group_spec.rb} +8 -8
- data/spec/api/{host_migration_api_spec.rb → host_migration_spec.rb} +10 -10
- data/spec/api/{hosts_api_spec.rb → hosts_spec.rb} +8 -8
- data/spec/api/{humio_auth_proxy_api_spec.rb → humio_auth_proxy_spec.rb} +8 -8
- data/spec/api/{identity_entities_api_spec.rb → identity_entities_spec.rb} +8 -8
- data/spec/api/{identity_protection_api_spec.rb → identity_protection_spec.rb} +8 -8
- data/spec/api/{image_assessment_policies_api_spec.rb → image_assessment_policies_spec.rb} +8 -8
- data/spec/api/{incidents_api_spec.rb → incidents_spec.rb} +8 -8
- data/spec/api/{installation_tokens_settings_api_spec.rb → installation_tokens_settings_spec.rb} +8 -8
- data/spec/api/{installation_tokens_api_spec.rb → installation_tokens_spec.rb} +8 -8
- data/spec/api/{intel_api_spec.rb → intel_spec.rb} +8 -8
- data/spec/api/intelligence_indicator_graph_spec.rb +66 -0
- data/spec/api/{ioa_exclusions_api_spec.rb → ioa_exclusions_spec.rb} +8 -8
- data/spec/api/{ioc_api_spec.rb → ioc_spec.rb} +8 -8
- data/spec/api/{iocs_api_spec.rb → iocs_spec.rb} +8 -8
- data/spec/api/{kubernetes_protection_api_spec.rb → kubernetes_protection_spec.rb} +66 -66
- data/spec/api/lookup_files_spec.rb +80 -0
- data/spec/api/{malquery_api_spec.rb → malquery_spec.rb} +8 -8
- data/spec/api/{message_center_api_spec.rb → message_center_spec.rb} +8 -8
- data/spec/api/{ml_exclusions_api_spec.rb → ml_exclusions_spec.rb} +8 -8
- data/spec/api/{mobile_enrollment_api_spec.rb → mobile_enrollment_spec.rb} +8 -8
- data/spec/api/{mssp_api_spec.rb → mssp_spec.rb} +8 -8
- data/spec/api/{oauth2_api_spec.rb → oauth2_spec.rb} +8 -8
- data/spec/api/{ods_api_spec.rb → ods_spec.rb} +8 -8
- data/spec/api/{overwatch_dashboard_api_spec.rb → overwatch_dashboard_spec.rb} +8 -8
- data/spec/api/{prevention_policies_api_spec.rb → prevention_policies_spec.rb} +8 -8
- data/spec/api/{quarantine_api_spec.rb → quarantine_spec.rb} +8 -8
- data/spec/api/{quick_scan_pro_api_spec.rb → quick_scan_pro_spec.rb} +8 -8
- data/spec/api/{quick_scan_api_spec.rb → quick_scan_spec.rb} +8 -8
- data/spec/api/{real_time_response_admin_api_spec.rb → real_time_response_admin_spec.rb} +8 -8
- data/spec/api/{real_time_response_audit_api_spec.rb → real_time_response_audit_spec.rb} +8 -8
- data/spec/api/{real_time_response_api_spec.rb → real_time_response_spec.rb} +8 -8
- data/spec/api/{recon_api_spec.rb → recon_spec.rb} +8 -8
- data/spec/api/release_notes_spec.rb +97 -0
- data/spec/api/releases_spec.rb +68 -0
- data/spec/api/{report_executions_api_spec.rb → report_executions_spec.rb} +8 -8
- data/spec/api/{response_policies_api_spec.rb → response_policies_spec.rb} +8 -8
- data/spec/api/{runtime_detections_api_spec.rb → runtime_detections_spec.rb} +11 -11
- data/spec/api/{sample_uploads_api_spec.rb → sample_uploads_spec.rb} +8 -8
- data/spec/api/{scheduled_reports_api_spec.rb → scheduled_reports_spec.rb} +8 -8
- data/spec/api/{sensor_download_api_spec.rb → sensor_download_spec.rb} +8 -8
- data/spec/api/{sensor_update_policies_api_spec.rb → sensor_update_policies_spec.rb} +8 -8
- data/spec/api/{sensor_usage_api_api_spec.rb → sensor_usage_spec.rb} +8 -8
- data/spec/api/{sensor_visibility_exclusions_api_spec.rb → sensor_visibility_exclusions_spec.rb} +8 -8
- data/spec/api/{spotlight_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_spec.rb} +8 -8
- data/spec/api/{spotlight_vulnerabilities_api_spec.rb → spotlight_vulnerabilities_spec.rb} +12 -12
- data/spec/api/{threatgraph_api_spec.rb → threatgraph_spec.rb} +8 -8
- data/spec/api/{unidentified_containers_api_spec.rb → unidentified_containers_spec.rb} +13 -13
- data/spec/api/{user_management_api_spec.rb → user_management_spec.rb} +8 -8
- data/spec/api/vulnerabilities_spec.rb +66 -0
- data/spec/api/{workflows_api_spec.rb → workflows_spec.rb} +8 -8
- data/spec/api/{zero_trust_assessment_api_spec.rb → zero_trust_assessment_spec.rb} +8 -8
- data/spec/models/api_create_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_get_entities_rules_response_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_rule_create_request_v1_spec.rb +111 -0
- data/spec/models/api_rule_operation_v1_spec.rb +69 -0
- data/spec/models/api_rule_patch_request_v1_spec.rb +99 -0
- data/spec/models/api_rule_schedule_v1_patch_spec.rb +51 -0
- data/spec/models/api_rule_schedule_v1_spec.rb +51 -0
- data/spec/models/api_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_rule_v1_spec.rb +16 -34
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +0 -36
- data/spec/models/assets_get_resource_ids_response_spec.rb +63 -0
- data/spec/models/assets_get_resources_response_spec.rb +63 -0
- data/spec/models/base_set_content_update_policy_precedence_req_v1_spec.rb +51 -0
- data/spec/models/content_update_create_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_create_policy_req_v1_spec.rb +63 -0
- data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +57 -0
- data/spec/models/content_update_settings_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policy_req_v1_spec.rb +69 -0
- data/spec/models/dataclassifications_label_spec.rb +63 -0
- data/spec/models/dataclassifications_response_spec.rb +75 -0
- data/spec/models/dataclassifications_tag_spec.rb +69 -0
- data/spec/models/deployments_api_deployment_ring_view_spec.rb +87 -0
- data/spec/models/deployments_api_deployment_view_spec.rb +93 -0
- data/spec/models/deployments_api_deployment_view_wrapper_spec.rb +63 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_meta_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_paging_spec.rb +63 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_request_swagger_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_response_swagger_spec.rb +63 -0
- data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +1 -1
- data/spec/models/device_control_usb_class_exceptions_response_spec.rb +1 -1
- data/spec/models/devicecontent_content_category_spec.rb +51 -0
- data/spec/models/devicecontent_state_spec.rb +117 -0
- data/spec/models/devicecontentapi_entities_response_v1_spec.rb +63 -0
- data/spec/models/devicecontentapi_query_response_v1_spec.rb +63 -0
- data/spec/models/domain_aws_account_resource_metadata_spec.rb +30 -0
- data/spec/models/domain_benchmark_spec.rb +6 -0
- data/spec/models/domain_content_update_policy_resp_v1_spec.rb +153 -0
- data/spec/models/domain_content_update_settings_v1_spec.rb +51 -0
- data/spec/models/domain_discover_api_active_discovery_host_spec.rb +12 -0
- data/spec/models/domain_discover_api_application_host_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +18 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +18 -0
- data/spec/models/domain_kestrel_params_spec.rb +51 -0
- data/spec/models/domain_lookup_file_spec.rb +147 -0
- data/spec/models/domain_lookup_file_wrapper_spec.rb +63 -0
- data/spec/models/domain_report_metadata_spec.rb +6 -0
- data/spec/models/domain_ring_assignment_settings_v1_spec.rb +63 -0
- data/spec/models/domain_scheduled_report_v1_spec.rb +6 -0
- data/spec/models/domain_update_rule_request_v1_spec.rb +6 -0
- data/spec/models/figapi_adversary_spec.rb +51 -0
- data/spec/models/figapi_country_spec.rb +57 -0
- data/spec/models/figapi_domain_spec.rb +117 -0
- data/spec/models/figapi_email_address_spec.rb +63 -0
- data/spec/models/figapi_file_spec.rb +87 -0
- data/spec/models/figapi_indicator_spec.rb +183 -0
- data/spec/models/figapi_ipv4_spec.rb +69 -0
- data/spec/models/figapi_ipv6_spec.rb +69 -0
- data/spec/models/figapi_mx_record_spec.rb +75 -0
- data/spec/models/figapi_name_server_spec.rb +63 -0
- data/spec/models/figapi_report_spec.rb +51 -0
- data/spec/models/figapi_sector_spec.rb +57 -0
- data/spec/models/figapi_threat_spec.rb +51 -0
- data/spec/models/figapi_url_spec.rb +57 -0
- data/spec/models/figapi_vulnerability_spec.rb +141 -0
- data/spec/models/figapi_who_is_spec.rb +69 -0
- data/spec/models/figapi_whois_record_spec.rb +99 -0
- data/spec/models/figapi_x509_certificate_spec.rb +93 -0
- data/spec/models/graph_condition_spec.rb +0 -6
- data/spec/models/help_spec.rb +51 -0
- data/spec/models/ingestion_cve_exploit_reference_spec.rb +63 -0
- data/spec/models/ingestion_cve_exploit_source_spec.rb +69 -0
- data/spec/models/ingestion_ex_prt_rating_factors_spec.rb +69 -0
- data/spec/models/ingestion_reference_spec.rb +57 -0
- data/spec/models/inventoryapi_surface_error_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_request_v1_spec.rb +51 -0
- data/spec/models/inventoryapi_user_external_asset_create_response_v1_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_spec.rb +57 -0
- data/spec/models/inventoryapi_user_external_asset_result_spec.rb +93 -0
- data/spec/models/inventoryapi_user_external_asset_spec.rb +57 -0
- data/spec/models/inventoryapidomain_subsidiary_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +12 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +12 -0
- data/spec/models/jsonschema_ui_extensions_spec.rb +18 -0
- data/spec/models/models_api_customer_and_image_spec.rb +6 -0
- data/spec/models/models_api_image_combined_export_spec.rb +12 -0
- data/spec/models/models_api_package_combined_spec.rb +6 -0
- data/spec/models/models_api_package_combined_v2_spec.rb +111 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +6 -0
- data/spec/models/models_application_library_spec.rb +6 -0
- data/spec/models/models_container_spec.rb +6 -0
- data/spec/models/models_ext_api_image_combined_spec.rb +6 -0
- data/spec/models/models_message_spec.rb +51 -0
- data/spec/models/models_partial_fingerprints_spec.rb +51 -0
- data/spec/models/models_result_location_properties_spec.rb +57 -0
- data/spec/models/models_result_location_spec.rb +57 -0
- data/spec/models/models_result_physical_location_artifact_location_spec.rb +51 -0
- data/spec/models/models_result_physical_location_region_spec.rb +51 -0
- data/spec/models/models_result_physical_location_spec.rb +57 -0
- data/spec/models/models_result_properties_spec.rb +105 -0
- data/spec/models/models_result_spec.rb +93 -0
- data/spec/models/models_rule_default_configuration_spec.rb +51 -0
- data/spec/models/models_rule_properties_spec.rb +231 -0
- data/spec/models/models_rule_spec.rb +93 -0
- data/spec/models/models_run_spec.rb +57 -0
- data/spec/models/models_run_tool_driver_spec.rb +69 -0
- data/spec/models/models_run_tool_spec.rb +51 -0
- data/spec/models/models_vulnerability_sarif_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_v2_spec.rb +63 -0
- data/spec/models/policyframework_benchmark_spec.rb +57 -0
- data/spec/models/policyframework_control_spec.rb +87 -0
- data/spec/models/quickscanpro_query_scan_results_response_spec.rb +6 -0
- data/spec/models/registration_aws_account_ext_v2_spec.rb +12 -0
- data/spec/models/registration_aws_account_patch_spec.rb +12 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/releasecontents_release_content_spec.rb +93 -0
- data/spec/models/releasecontents_release_content_version_spec.rb +63 -0
- data/spec/models/releasenotes_entities_get_request_spec.rb +51 -0
- data/spec/models/releasenotes_entities_get_response_wrapper_spec.rb +63 -0
- data/spec/models/releasenotes_note_detail_spec.rb +69 -0
- data/spec/models/releasenotes_release_note_v1_spec.rb +81 -0
- data/spec/models/releasenotes_release_note_wrapper_v1_spec.rb +63 -0
- data/spec/models/releases_release_spec.rb +99 -0
- data/spec/models/releases_release_wrapper_spec.rb +63 -0
- data/spec/models/resources_app_spec.rb +57 -0
- data/spec/models/resources_asset_graph_spec.rb +57 -0
- data/spec/models/resources_cloud_context_spec.rb +147 -0
- data/spec/models/resources_cloud_resource_spec.rb +291 -0
- data/spec/models/resources_compliance_spec.rb +87 -0
- data/spec/models/resources_detections_spec.rb +81 -0
- data/spec/models/resources_host_spec.rb +147 -0
- data/spec/models/resources_relationship_spec.rb +69 -0
- data/spec/models/resources_vulnerability_spec.rb +63 -0
- data/spec/models/rest_azure_download_script_request_data_spec.rb +51 -0
- data/spec/models/rest_azure_download_script_request_v1_spec.rb +51 -0
- data/spec/models/rest_azure_provision_get_account_script_response_v1_spec.rb +63 -0
- data/spec/models/rest_azure_script_spec.rb +69 -0
- data/spec/models/rest_cursor_and_limit_meta_info_spec.rb +81 -0
- data/spec/models/rest_cursor_meta_info_spec.rb +75 -0
- data/spec/models/rest_cursor_response_fields_spec.rb +57 -0
- data/spec/models/{client_fql_statement_spec.rb → rest_paging_spec.rb} +9 -9
- data/spec/models/restapi_indicator_response_spec.rb +63 -0
- data/spec/models/restapi_indicators_query_request_spec.rb +57 -0
- data/spec/models/restapi_indicators_query_sort_request_spec.rb +63 -0
- data/spec/models/sadomain_typosquatting_base_domain_spec.rb +12 -0
- data/spec/models/sadomain_typosquatting_subdomain_spec.rb +0 -6
- data/spec/models/string_wrapper_spec.rb +63 -0
- data/spec/models/types_get_executor_nodes_metadata_response_spec.rb +75 -0
- data/spec/models/types_get_integration_tasks_metadata_response_spec.rb +69 -0
- data/spec/models/v2_for_loop_spec.rb +6 -0
- data/spec/models/vulnerabilities_vulnerability_entity_sarif_response_spec.rb +63 -0
- data/spec/spec_helper.rb +8 -0
- metadata +2129 -1732
@@ -30,7 +30,7 @@ SOFTWARE.
|
|
30
30
|
require 'cgi'
|
31
31
|
|
32
32
|
module Falcon
|
33
|
-
class
|
33
|
+
class Alerts
|
34
34
|
attr_accessor :api_client
|
35
35
|
|
36
36
|
def initialize(api_client = ApiClient.default)
|
@@ -39,7 +39,7 @@ module Falcon
|
|
39
39
|
# Deprecated: please use version v2 of this endpoint. Retrieves all Alerts ids that match a given query.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @option opts [Integer] :offset The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
|
42
|
-
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
|
42
|
+
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use this parameter together with the `offset` parameter to manage pagination of the results.
|
43
43
|
# @option opts [String] :sort Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering
|
44
44
|
# @option opts [String] :filter Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
|
45
45
|
# @option opts [String] :q Search all alert metadata for the provided string
|
@@ -52,21 +52,21 @@ module Falcon
|
|
52
52
|
# Deprecated: please use version v2 of this endpoint. Retrieves all Alerts ids that match a given query.
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @option opts [Integer] :offset The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
|
55
|
-
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
|
55
|
+
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use this parameter together with the `offset` parameter to manage pagination of the results.
|
56
56
|
# @option opts [String] :sort Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering
|
57
57
|
# @option opts [String] :filter Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
|
58
58
|
# @option opts [String] :q Search all alert metadata for the provided string
|
59
59
|
# @return [Array<(DetectsapiAlertQueryResponse, Integer, Hash)>] DetectsapiAlertQueryResponse data, response status code and response headers
|
60
60
|
def get_queries_alerts_v1_with_http_info(opts = {})
|
61
61
|
if @api_client.config.debugging
|
62
|
-
@api_client.config.logger.debug 'Calling API:
|
62
|
+
@api_client.config.logger.debug 'Calling API: Alerts.get_queries_alerts_v1 ...'
|
63
63
|
end
|
64
64
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
|
65
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
65
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Alerts.get_queries_alerts_v1, must be smaller than or equal to 10000.'
|
66
66
|
end
|
67
67
|
|
68
68
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
69
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
69
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Alerts.get_queries_alerts_v1, must be greater than or equal to 0.'
|
70
70
|
end
|
71
71
|
|
72
72
|
# resource path
|
@@ -98,7 +98,7 @@ module Falcon
|
|
98
98
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
99
99
|
|
100
100
|
new_options = opts.merge(
|
101
|
-
:operation => :"
|
101
|
+
:operation => :"Alerts.get_queries_alerts_v1",
|
102
102
|
:header_params => header_params,
|
103
103
|
:query_params => query_params,
|
104
104
|
:form_params => form_params,
|
@@ -109,7 +109,7 @@ module Falcon
|
|
109
109
|
|
110
110
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
111
111
|
if @api_client.config.debugging
|
112
|
-
@api_client.config.logger.debug "API called:
|
112
|
+
@api_client.config.logger.debug "API called: Alerts#get_queries_alerts_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
113
113
|
end
|
114
114
|
return data, status_code, headers
|
115
115
|
end
|
@@ -118,7 +118,7 @@ module Falcon
|
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @option opts [Boolean] :include_hidden allows previously hidden alerts to be retrieved (default to true)
|
120
120
|
# @option opts [Integer] :offset The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
|
121
|
-
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
|
121
|
+
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use this parameter together with the `offset` parameter to manage pagination of the results.
|
122
122
|
# @option opts [String] :sort Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering
|
123
123
|
# @option opts [String] :filter Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
|
124
124
|
# @option opts [String] :q Search all alert metadata for the provided string
|
@@ -132,21 +132,21 @@ module Falcon
|
|
132
132
|
# @param [Hash] opts the optional parameters
|
133
133
|
# @option opts [Boolean] :include_hidden allows previously hidden alerts to be retrieved (default to true)
|
134
134
|
# @option opts [Integer] :offset The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
|
135
|
-
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
|
135
|
+
# @option opts [Integer] :limit The maximum number of detections to return in this response (default: 100; max: 10000). Use this parameter together with the `offset` parameter to manage pagination of the results.
|
136
136
|
# @option opts [String] :sort Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering
|
137
137
|
# @option opts [String] :filter Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
|
138
138
|
# @option opts [String] :q Search all alert metadata for the provided string
|
139
139
|
# @return [Array<(DetectsapiAlertQueryResponse, Integer, Hash)>] DetectsapiAlertQueryResponse data, response status code and response headers
|
140
140
|
def get_queries_alerts_v2_with_http_info(opts = {})
|
141
141
|
if @api_client.config.debugging
|
142
|
-
@api_client.config.logger.debug 'Calling API:
|
142
|
+
@api_client.config.logger.debug 'Calling API: Alerts.get_queries_alerts_v2 ...'
|
143
143
|
end
|
144
144
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
|
145
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
145
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Alerts.get_queries_alerts_v2, must be smaller than or equal to 10000.'
|
146
146
|
end
|
147
147
|
|
148
148
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
149
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
149
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Alerts.get_queries_alerts_v2, must be greater than or equal to 0.'
|
150
150
|
end
|
151
151
|
|
152
152
|
# resource path
|
@@ -179,7 +179,7 @@ module Falcon
|
|
179
179
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
180
180
|
|
181
181
|
new_options = opts.merge(
|
182
|
-
:operation => :"
|
182
|
+
:operation => :"Alerts.get_queries_alerts_v2",
|
183
183
|
:header_params => header_params,
|
184
184
|
:query_params => query_params,
|
185
185
|
:form_params => form_params,
|
@@ -190,7 +190,7 @@ module Falcon
|
|
190
190
|
|
191
191
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
192
192
|
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug "API called:
|
193
|
+
@api_client.config.logger.debug "API called: Alerts#get_queries_alerts_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
194
194
|
end
|
195
195
|
return data, status_code, headers
|
196
196
|
end
|
@@ -210,11 +210,11 @@ module Falcon
|
|
210
210
|
# @return [Array<(DetectsapiResponseFields, Integer, Hash)>] DetectsapiResponseFields data, response status code and response headers
|
211
211
|
def patch_entities_alerts_v2_with_http_info(body, opts = {})
|
212
212
|
if @api_client.config.debugging
|
213
|
-
@api_client.config.logger.debug 'Calling API:
|
213
|
+
@api_client.config.logger.debug 'Calling API: Alerts.patch_entities_alerts_v2 ...'
|
214
214
|
end
|
215
215
|
# verify the required parameter 'body' is set
|
216
216
|
if @api_client.config.client_side_validation && body.nil?
|
217
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
217
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.patch_entities_alerts_v2"
|
218
218
|
end
|
219
219
|
# resource path
|
220
220
|
local_var_path = '/alerts/entities/alerts/v2'
|
@@ -245,7 +245,7 @@ module Falcon
|
|
245
245
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
246
246
|
|
247
247
|
new_options = opts.merge(
|
248
|
-
:operation => :"
|
248
|
+
:operation => :"Alerts.patch_entities_alerts_v2",
|
249
249
|
:header_params => header_params,
|
250
250
|
:query_params => query_params,
|
251
251
|
:form_params => form_params,
|
@@ -256,7 +256,7 @@ module Falcon
|
|
256
256
|
|
257
257
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
258
258
|
if @api_client.config.debugging
|
259
|
-
@api_client.config.logger.debug "API called:
|
259
|
+
@api_client.config.logger.debug "API called: Alerts#patch_entities_alerts_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
260
260
|
end
|
261
261
|
return data, status_code, headers
|
262
262
|
end
|
@@ -278,11 +278,11 @@ module Falcon
|
|
278
278
|
# @return [Array<(DetectsapiResponseFields, Integer, Hash)>] DetectsapiResponseFields data, response status code and response headers
|
279
279
|
def patch_entities_alerts_v3_with_http_info(body, opts = {})
|
280
280
|
if @api_client.config.debugging
|
281
|
-
@api_client.config.logger.debug 'Calling API:
|
281
|
+
@api_client.config.logger.debug 'Calling API: Alerts.patch_entities_alerts_v3 ...'
|
282
282
|
end
|
283
283
|
# verify the required parameter 'body' is set
|
284
284
|
if @api_client.config.client_side_validation && body.nil?
|
285
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
285
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.patch_entities_alerts_v3"
|
286
286
|
end
|
287
287
|
# resource path
|
288
288
|
local_var_path = '/alerts/entities/alerts/v3'
|
@@ -314,7 +314,7 @@ module Falcon
|
|
314
314
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
315
315
|
|
316
316
|
new_options = opts.merge(
|
317
|
-
:operation => :"
|
317
|
+
:operation => :"Alerts.patch_entities_alerts_v3",
|
318
318
|
:header_params => header_params,
|
319
319
|
:query_params => query_params,
|
320
320
|
:form_params => form_params,
|
@@ -325,7 +325,7 @@ module Falcon
|
|
325
325
|
|
326
326
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
327
327
|
if @api_client.config.debugging
|
328
|
-
@api_client.config.logger.debug "API called:
|
328
|
+
@api_client.config.logger.debug "API called: Alerts#patch_entities_alerts_v3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
329
|
end
|
330
330
|
return data, status_code, headers
|
331
331
|
end
|
@@ -345,11 +345,11 @@ module Falcon
|
|
345
345
|
# @return [Array<(DetectsapiAggregatesResponse, Integer, Hash)>] DetectsapiAggregatesResponse data, response status code and response headers
|
346
346
|
def post_aggregates_alerts_v1_with_http_info(body, opts = {})
|
347
347
|
if @api_client.config.debugging
|
348
|
-
@api_client.config.logger.debug 'Calling API:
|
348
|
+
@api_client.config.logger.debug 'Calling API: Alerts.post_aggregates_alerts_v1 ...'
|
349
349
|
end
|
350
350
|
# verify the required parameter 'body' is set
|
351
351
|
if @api_client.config.client_side_validation && body.nil?
|
352
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
352
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.post_aggregates_alerts_v1"
|
353
353
|
end
|
354
354
|
# resource path
|
355
355
|
local_var_path = '/alerts/aggregates/alerts/v1'
|
@@ -380,7 +380,7 @@ module Falcon
|
|
380
380
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
381
381
|
|
382
382
|
new_options = opts.merge(
|
383
|
-
:operation => :"
|
383
|
+
:operation => :"Alerts.post_aggregates_alerts_v1",
|
384
384
|
:header_params => header_params,
|
385
385
|
:query_params => query_params,
|
386
386
|
:form_params => form_params,
|
@@ -391,7 +391,7 @@ module Falcon
|
|
391
391
|
|
392
392
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
393
393
|
if @api_client.config.debugging
|
394
|
-
@api_client.config.logger.debug "API called:
|
394
|
+
@api_client.config.logger.debug "API called: Alerts#post_aggregates_alerts_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
395
395
|
end
|
396
396
|
return data, status_code, headers
|
397
397
|
end
|
@@ -413,11 +413,11 @@ module Falcon
|
|
413
413
|
# @return [Array<(DetectsapiAggregatesResponse, Integer, Hash)>] DetectsapiAggregatesResponse data, response status code and response headers
|
414
414
|
def post_aggregates_alerts_v2_with_http_info(body, opts = {})
|
415
415
|
if @api_client.config.debugging
|
416
|
-
@api_client.config.logger.debug 'Calling API:
|
416
|
+
@api_client.config.logger.debug 'Calling API: Alerts.post_aggregates_alerts_v2 ...'
|
417
417
|
end
|
418
418
|
# verify the required parameter 'body' is set
|
419
419
|
if @api_client.config.client_side_validation && body.nil?
|
420
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
420
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.post_aggregates_alerts_v2"
|
421
421
|
end
|
422
422
|
# resource path
|
423
423
|
local_var_path = '/alerts/aggregates/alerts/v2'
|
@@ -449,7 +449,7 @@ module Falcon
|
|
449
449
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
450
450
|
|
451
451
|
new_options = opts.merge(
|
452
|
-
:operation => :"
|
452
|
+
:operation => :"Alerts.post_aggregates_alerts_v2",
|
453
453
|
:header_params => header_params,
|
454
454
|
:query_params => query_params,
|
455
455
|
:form_params => form_params,
|
@@ -460,7 +460,73 @@ module Falcon
|
|
460
460
|
|
461
461
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
462
462
|
if @api_client.config.debugging
|
463
|
-
@api_client.config.logger.debug "API called:
|
463
|
+
@api_client.config.logger.debug "API called: Alerts#post_aggregates_alerts_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
464
|
+
end
|
465
|
+
return data, status_code, headers
|
466
|
+
end
|
467
|
+
|
468
|
+
# Retrieves all Alerts that match a particular FQL filter.
|
469
|
+
# @param body [DetectsapiPostCombinedAlertsV1RequestSwagger] `after` - Token used to access the next page. The `after` token will be populated only when the service expects more results expected on the next page. Once you reach the last page (which usually has less than `limit` results), the `after` token will not be returned anymore. The best way to retrieve all the results is to paginate them till you get to the last page where the `after` token blank. This value is highly dependant on the `sort` parameter, so if you plan to change the sort order, you will have to re-start your search from the first page (without `after` parameter). `filter` - Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql). `limit` - The maximum number of detections to return in this response (default: 100; max: 1000). Use this parameter together with the `after` parameter to manage pagination of the results. `sort` - Sort parameter takes the form of `<field|direction>`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields for sorting are: timestamp, created_timestamp, updated_timestamp, status, aggregate_id, assigned_to_name, assigned_to_uid, assigned_to_uuid, tactic_id, tactic, technique, technique_id, pattern_id or product. By default all the results are sorted by the `created_timestamp` field in the descending order. **Important:** The pagination is done on live data in the order defined by the `sort` field parameter (default: `created_timestamp|desc`), so if you want to avoid inconsistent results where the same record might appear on multiple pages (or none), sort only on the fields that do not change over time (e.g. created_timestamp, composite_id, ...).
|
470
|
+
# @param [Hash] opts the optional parameters
|
471
|
+
# @return [DetectsapiPostCombinedAlertsV1ResponseSwagger]
|
472
|
+
def post_combined_alerts_v1(body, opts = {})
|
473
|
+
data, _status_code, _headers = post_combined_alerts_v1_with_http_info(body, opts)
|
474
|
+
data
|
475
|
+
end
|
476
|
+
|
477
|
+
# Retrieves all Alerts that match a particular FQL filter.
|
478
|
+
# @param body [DetectsapiPostCombinedAlertsV1RequestSwagger] `after` - Token used to access the next page. The `after` token will be populated only when the service expects more results expected on the next page. Once you reach the last page (which usually has less than `limit` results), the `after` token will not be returned anymore. The best way to retrieve all the results is to paginate them till you get to the last page where the `after` token blank. This value is highly dependant on the `sort` parameter, so if you plan to change the sort order, you will have to re-start your search from the first page (without `after` parameter). `filter` - Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql). `limit` - The maximum number of detections to return in this response (default: 100; max: 1000). Use this parameter together with the `after` parameter to manage pagination of the results. `sort` - Sort parameter takes the form of `<field|direction>`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields for sorting are: timestamp, created_timestamp, updated_timestamp, status, aggregate_id, assigned_to_name, assigned_to_uid, assigned_to_uuid, tactic_id, tactic, technique, technique_id, pattern_id or product. By default all the results are sorted by the `created_timestamp` field in the descending order. **Important:** The pagination is done on live data in the order defined by the `sort` field parameter (default: `created_timestamp|desc`), so if you want to avoid inconsistent results where the same record might appear on multiple pages (or none), sort only on the fields that do not change over time (e.g. created_timestamp, composite_id, ...).
|
479
|
+
# @param [Hash] opts the optional parameters
|
480
|
+
# @return [Array<(DetectsapiPostCombinedAlertsV1ResponseSwagger, Integer, Hash)>] DetectsapiPostCombinedAlertsV1ResponseSwagger data, response status code and response headers
|
481
|
+
def post_combined_alerts_v1_with_http_info(body, opts = {})
|
482
|
+
if @api_client.config.debugging
|
483
|
+
@api_client.config.logger.debug 'Calling API: Alerts.post_combined_alerts_v1 ...'
|
484
|
+
end
|
485
|
+
# verify the required parameter 'body' is set
|
486
|
+
if @api_client.config.client_side_validation && body.nil?
|
487
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.post_combined_alerts_v1"
|
488
|
+
end
|
489
|
+
# resource path
|
490
|
+
local_var_path = '/alerts/combined/alerts/v1'
|
491
|
+
|
492
|
+
# query parameters
|
493
|
+
query_params = opts[:query_params] || {}
|
494
|
+
|
495
|
+
# header parameters
|
496
|
+
header_params = opts[:header_params] || {}
|
497
|
+
# HTTP header 'Accept' (if needed)
|
498
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
499
|
+
# HTTP header 'Content-Type'
|
500
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
501
|
+
if !content_type.nil?
|
502
|
+
header_params['Content-Type'] = content_type
|
503
|
+
end
|
504
|
+
|
505
|
+
# form parameters
|
506
|
+
form_params = opts[:form_params] || {}
|
507
|
+
|
508
|
+
# http body (model)
|
509
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
510
|
+
|
511
|
+
# return_type
|
512
|
+
return_type = opts[:debug_return_type] || 'DetectsapiPostCombinedAlertsV1ResponseSwagger'
|
513
|
+
|
514
|
+
# auth_names
|
515
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
516
|
+
|
517
|
+
new_options = opts.merge(
|
518
|
+
:operation => :"Alerts.post_combined_alerts_v1",
|
519
|
+
:header_params => header_params,
|
520
|
+
:query_params => query_params,
|
521
|
+
:form_params => form_params,
|
522
|
+
:body => post_body,
|
523
|
+
:auth_names => auth_names,
|
524
|
+
:return_type => return_type
|
525
|
+
)
|
526
|
+
|
527
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
528
|
+
if @api_client.config.debugging
|
529
|
+
@api_client.config.logger.debug "API called: Alerts#post_combined_alerts_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
464
530
|
end
|
465
531
|
return data, status_code, headers
|
466
532
|
end
|
@@ -480,11 +546,11 @@ module Falcon
|
|
480
546
|
# @return [Array<(DetectsapiPostEntitiesAlertsV1ResponseSwagger, Integer, Hash)>] DetectsapiPostEntitiesAlertsV1ResponseSwagger data, response status code and response headers
|
481
547
|
def post_entities_alerts_v1_with_http_info(body, opts = {})
|
482
548
|
if @api_client.config.debugging
|
483
|
-
@api_client.config.logger.debug 'Calling API:
|
549
|
+
@api_client.config.logger.debug 'Calling API: Alerts.post_entities_alerts_v1 ...'
|
484
550
|
end
|
485
551
|
# verify the required parameter 'body' is set
|
486
552
|
if @api_client.config.client_side_validation && body.nil?
|
487
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
553
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.post_entities_alerts_v1"
|
488
554
|
end
|
489
555
|
# resource path
|
490
556
|
local_var_path = '/alerts/entities/alerts/v1'
|
@@ -515,7 +581,7 @@ module Falcon
|
|
515
581
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
516
582
|
|
517
583
|
new_options = opts.merge(
|
518
|
-
:operation => :"
|
584
|
+
:operation => :"Alerts.post_entities_alerts_v1",
|
519
585
|
:header_params => header_params,
|
520
586
|
:query_params => query_params,
|
521
587
|
:form_params => form_params,
|
@@ -526,7 +592,7 @@ module Falcon
|
|
526
592
|
|
527
593
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
528
594
|
if @api_client.config.debugging
|
529
|
-
@api_client.config.logger.debug "API called:
|
595
|
+
@api_client.config.logger.debug "API called: Alerts#post_entities_alerts_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
530
596
|
end
|
531
597
|
return data, status_code, headers
|
532
598
|
end
|
@@ -548,11 +614,11 @@ module Falcon
|
|
548
614
|
# @return [Array<(DetectsapiPostEntitiesAlertsV2ResponseSwagger, Integer, Hash)>] DetectsapiPostEntitiesAlertsV2ResponseSwagger data, response status code and response headers
|
549
615
|
def post_entities_alerts_v2_with_http_info(body, opts = {})
|
550
616
|
if @api_client.config.debugging
|
551
|
-
@api_client.config.logger.debug 'Calling API:
|
617
|
+
@api_client.config.logger.debug 'Calling API: Alerts.post_entities_alerts_v2 ...'
|
552
618
|
end
|
553
619
|
# verify the required parameter 'body' is set
|
554
620
|
if @api_client.config.client_side_validation && body.nil?
|
555
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
621
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling Alerts.post_entities_alerts_v2"
|
556
622
|
end
|
557
623
|
# resource path
|
558
624
|
local_var_path = '/alerts/entities/alerts/v2'
|
@@ -584,7 +650,7 @@ module Falcon
|
|
584
650
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
585
651
|
|
586
652
|
new_options = opts.merge(
|
587
|
-
:operation => :"
|
653
|
+
:operation => :"Alerts.post_entities_alerts_v2",
|
588
654
|
:header_params => header_params,
|
589
655
|
:query_params => query_params,
|
590
656
|
:form_params => form_params,
|
@@ -595,7 +661,7 @@ module Falcon
|
|
595
661
|
|
596
662
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
597
663
|
if @api_client.config.debugging
|
598
|
-
@api_client.config.logger.debug "API called:
|
664
|
+
@api_client.config.logger.debug "API called: Alerts#post_entities_alerts_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
599
665
|
end
|
600
666
|
return data, status_code, headers
|
601
667
|
end
|
@@ -30,7 +30,7 @@ SOFTWARE.
|
|
30
30
|
require 'cgi'
|
31
31
|
|
32
32
|
module Falcon
|
33
|
-
class
|
33
|
+
class ApiIntegrations
|
34
34
|
attr_accessor :api_client
|
35
35
|
|
36
36
|
def initialize(api_client = ApiClient.default)
|
@@ -51,11 +51,11 @@ module Falcon
|
|
51
51
|
# @return [Array<(DomainExecuteCommandResultsV1, Integer, Hash)>] DomainExecuteCommandResultsV1 data, response status code and response headers
|
52
52
|
def execute_command_with_http_info(resources, opts = {})
|
53
53
|
if @api_client.config.debugging
|
54
|
-
@api_client.config.logger.debug 'Calling API:
|
54
|
+
@api_client.config.logger.debug 'Calling API: ApiIntegrations.execute_command ...'
|
55
55
|
end
|
56
56
|
# verify the required parameter 'resources' is set
|
57
57
|
if @api_client.config.client_side_validation && resources.nil?
|
58
|
-
fail ArgumentError, "Missing the required parameter 'resources' when calling
|
58
|
+
fail ArgumentError, "Missing the required parameter 'resources' when calling ApiIntegrations.execute_command"
|
59
59
|
end
|
60
60
|
# resource path
|
61
61
|
local_var_path = '/plugins/entities/execute/v1'
|
@@ -87,7 +87,7 @@ module Falcon
|
|
87
87
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
88
88
|
|
89
89
|
new_options = opts.merge(
|
90
|
-
:operation => :"
|
90
|
+
:operation => :"ApiIntegrations.execute_command",
|
91
91
|
:header_params => header_params,
|
92
92
|
:query_params => query_params,
|
93
93
|
:form_params => form_params,
|
@@ -98,7 +98,7 @@ module Falcon
|
|
98
98
|
|
99
99
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
100
100
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "API called:
|
101
|
+
@api_client.config.logger.debug "API called: ApiIntegrations#execute_command\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
102
|
end
|
103
103
|
return data, status_code, headers
|
104
104
|
end
|
@@ -118,11 +118,11 @@ module Falcon
|
|
118
118
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
119
119
|
def execute_command_proxy_with_http_info(body, opts = {})
|
120
120
|
if @api_client.config.debugging
|
121
|
-
@api_client.config.logger.debug 'Calling API:
|
121
|
+
@api_client.config.logger.debug 'Calling API: ApiIntegrations.execute_command_proxy ...'
|
122
122
|
end
|
123
123
|
# verify the required parameter 'body' is set
|
124
124
|
if @api_client.config.client_side_validation && body.nil?
|
125
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
125
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ApiIntegrations.execute_command_proxy"
|
126
126
|
end
|
127
127
|
# resource path
|
128
128
|
local_var_path = '/plugins/entities/execute-proxy/v1'
|
@@ -153,7 +153,7 @@ module Falcon
|
|
153
153
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
154
154
|
|
155
155
|
new_options = opts.merge(
|
156
|
-
:operation => :"
|
156
|
+
:operation => :"ApiIntegrations.execute_command_proxy",
|
157
157
|
:header_params => header_params,
|
158
158
|
:query_params => query_params,
|
159
159
|
:form_params => form_params,
|
@@ -164,7 +164,7 @@ module Falcon
|
|
164
164
|
|
165
165
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
166
166
|
if @api_client.config.debugging
|
167
|
-
@api_client.config.logger.debug "API called:
|
167
|
+
@api_client.config.logger.debug "API called: ApiIntegrations#execute_command_proxy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
168
168
|
end
|
169
169
|
return data, status_code, headers
|
170
170
|
end
|
@@ -190,7 +190,7 @@ module Falcon
|
|
190
190
|
# @return [Array<(DomainConfigsV1, Integer, Hash)>] DomainConfigsV1 data, response status code and response headers
|
191
191
|
def get_combined_plugin_configs_with_http_info(opts = {})
|
192
192
|
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug 'Calling API:
|
193
|
+
@api_client.config.logger.debug 'Calling API: ApiIntegrations.get_combined_plugin_configs ...'
|
194
194
|
end
|
195
195
|
# resource path
|
196
196
|
local_var_path = '/plugins/combined/configs/v1'
|
@@ -220,7 +220,7 @@ module Falcon
|
|
220
220
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
221
221
|
|
222
222
|
new_options = opts.merge(
|
223
|
-
:operation => :"
|
223
|
+
:operation => :"ApiIntegrations.get_combined_plugin_configs",
|
224
224
|
:header_params => header_params,
|
225
225
|
:query_params => query_params,
|
226
226
|
:form_params => form_params,
|
@@ -231,7 +231,7 @@ module Falcon
|
|
231
231
|
|
232
232
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
233
233
|
if @api_client.config.debugging
|
234
|
-
@api_client.config.logger.debug "API called:
|
234
|
+
@api_client.config.logger.debug "API called: ApiIntegrations#get_combined_plugin_configs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
235
235
|
end
|
236
236
|
return data, status_code, headers
|
237
237
|
end
|