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 CloudConnectAws
|
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<(ModelsCustomerConfigurationsV1, Integer, Hash)>] ModelsCustomerConfigurationsV1 data, response status code and response headers
|
52
52
|
def create_or_update_aws_settings_with_http_info(body, opts = {})
|
53
53
|
if @api_client.config.debugging
|
54
|
-
@api_client.config.logger.debug 'Calling API:
|
54
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.create_or_update_aws_settings ...'
|
55
55
|
end
|
56
56
|
# verify the required parameter 'body' is set
|
57
57
|
if @api_client.config.client_side_validation && body.nil?
|
58
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
58
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CloudConnectAws.create_or_update_aws_settings"
|
59
59
|
end
|
60
60
|
# resource path
|
61
61
|
local_var_path = '/cloud-connect-aws/entities/settings/v1'
|
@@ -86,7 +86,7 @@ module Falcon
|
|
86
86
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
87
87
|
|
88
88
|
new_options = opts.merge(
|
89
|
-
:operation => :"
|
89
|
+
:operation => :"CloudConnectAws.create_or_update_aws_settings",
|
90
90
|
:header_params => header_params,
|
91
91
|
:query_params => query_params,
|
92
92
|
:form_params => form_params,
|
@@ -97,7 +97,7 @@ module Falcon
|
|
97
97
|
|
98
98
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
99
99
|
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug "API called:
|
100
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#create_or_update_aws_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
101
101
|
end
|
102
102
|
return data, status_code, headers
|
103
103
|
end
|
@@ -117,11 +117,11 @@ module Falcon
|
|
117
117
|
# @return [Array<(ModelsBaseResponseV1, Integer, Hash)>] ModelsBaseResponseV1 data, response status code and response headers
|
118
118
|
def delete_aws_accounts_with_http_info(ids, opts = {})
|
119
119
|
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug 'Calling API:
|
120
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.delete_aws_accounts ...'
|
121
121
|
end
|
122
122
|
# verify the required parameter 'ids' is set
|
123
123
|
if @api_client.config.client_side_validation && ids.nil?
|
124
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
124
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling CloudConnectAws.delete_aws_accounts"
|
125
125
|
end
|
126
126
|
# resource path
|
127
127
|
local_var_path = '/cloud-connect-aws/entities/accounts/v1'
|
@@ -148,7 +148,7 @@ module Falcon
|
|
148
148
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
149
149
|
|
150
150
|
new_options = opts.merge(
|
151
|
-
:operation => :"
|
151
|
+
:operation => :"CloudConnectAws.delete_aws_accounts",
|
152
152
|
:header_params => header_params,
|
153
153
|
:query_params => query_params,
|
154
154
|
:form_params => form_params,
|
@@ -159,7 +159,7 @@ module Falcon
|
|
159
159
|
|
160
160
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
161
161
|
if @api_client.config.debugging
|
162
|
-
@api_client.config.logger.debug "API called:
|
162
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#delete_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
163
163
|
end
|
164
164
|
return data, status_code, headers
|
165
165
|
end
|
@@ -179,14 +179,14 @@ module Falcon
|
|
179
179
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
180
180
|
def get_aws_accounts_with_http_info(ids, opts = {})
|
181
181
|
if @api_client.config.debugging
|
182
|
-
@api_client.config.logger.debug 'Calling API:
|
182
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.get_aws_accounts ...'
|
183
183
|
end
|
184
184
|
# verify the required parameter 'ids' is set
|
185
185
|
if @api_client.config.client_side_validation && ids.nil?
|
186
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
186
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling CloudConnectAws.get_aws_accounts"
|
187
187
|
end
|
188
188
|
if @api_client.config.client_side_validation && ids.length > 5000
|
189
|
-
fail ArgumentError, 'invalid value for "ids" when calling
|
189
|
+
fail ArgumentError, 'invalid value for "ids" when calling CloudConnectAws.get_aws_accounts, number of items must be less than or equal to 5000.'
|
190
190
|
end
|
191
191
|
|
192
192
|
# resource path
|
@@ -214,7 +214,7 @@ module Falcon
|
|
214
214
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
215
215
|
|
216
216
|
new_options = opts.merge(
|
217
|
-
:operation => :"
|
217
|
+
:operation => :"CloudConnectAws.get_aws_accounts",
|
218
218
|
:header_params => header_params,
|
219
219
|
:query_params => query_params,
|
220
220
|
:form_params => form_params,
|
@@ -225,7 +225,7 @@ module Falcon
|
|
225
225
|
|
226
226
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
227
227
|
if @api_client.config.debugging
|
228
|
-
@api_client.config.logger.debug "API called:
|
228
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#get_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
229
229
|
end
|
230
230
|
return data, status_code, headers
|
231
231
|
end
|
@@ -243,7 +243,7 @@ module Falcon
|
|
243
243
|
# @return [Array<(ModelsCustomerConfigurationsV1, Integer, Hash)>] ModelsCustomerConfigurationsV1 data, response status code and response headers
|
244
244
|
def get_aws_settings_with_http_info(opts = {})
|
245
245
|
if @api_client.config.debugging
|
246
|
-
@api_client.config.logger.debug 'Calling API:
|
246
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.get_aws_settings ...'
|
247
247
|
end
|
248
248
|
# resource path
|
249
249
|
local_var_path = '/cloud-connect-aws/combined/settings/v1'
|
@@ -269,7 +269,7 @@ module Falcon
|
|
269
269
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
270
270
|
|
271
271
|
new_options = opts.merge(
|
272
|
-
:operation => :"
|
272
|
+
:operation => :"CloudConnectAws.get_aws_settings",
|
273
273
|
:header_params => header_params,
|
274
274
|
:query_params => query_params,
|
275
275
|
:form_params => form_params,
|
@@ -280,7 +280,7 @@ module Falcon
|
|
280
280
|
|
281
281
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
282
282
|
if @api_client.config.debugging
|
283
|
-
@api_client.config.logger.debug "API called:
|
283
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#get_aws_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
284
284
|
end
|
285
285
|
return data, status_code, headers
|
286
286
|
end
|
@@ -302,11 +302,11 @@ module Falcon
|
|
302
302
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
303
303
|
def provision_aws_accounts_with_http_info(body, opts = {})
|
304
304
|
if @api_client.config.debugging
|
305
|
-
@api_client.config.logger.debug 'Calling API:
|
305
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.provision_aws_accounts ...'
|
306
306
|
end
|
307
307
|
# verify the required parameter 'body' is set
|
308
308
|
if @api_client.config.client_side_validation && body.nil?
|
309
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
309
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CloudConnectAws.provision_aws_accounts"
|
310
310
|
end
|
311
311
|
allowable_values = ["cloudformation", "manual"]
|
312
312
|
if @api_client.config.client_side_validation && opts[:'mode'] && !allowable_values.include?(opts[:'mode'])
|
@@ -342,7 +342,7 @@ module Falcon
|
|
342
342
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
343
343
|
|
344
344
|
new_options = opts.merge(
|
345
|
-
:operation => :"
|
345
|
+
:operation => :"CloudConnectAws.provision_aws_accounts",
|
346
346
|
:header_params => header_params,
|
347
347
|
:query_params => query_params,
|
348
348
|
:form_params => form_params,
|
@@ -353,7 +353,7 @@ module Falcon
|
|
353
353
|
|
354
354
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
355
355
|
if @api_client.config.debugging
|
356
|
-
@api_client.config.logger.debug "API called:
|
356
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#provision_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
357
357
|
end
|
358
358
|
return data, status_code, headers
|
359
359
|
end
|
@@ -379,7 +379,7 @@ module Falcon
|
|
379
379
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
380
380
|
def query_aws_accounts_with_http_info(opts = {})
|
381
381
|
if @api_client.config.debugging
|
382
|
-
@api_client.config.logger.debug 'Calling API:
|
382
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.query_aws_accounts ...'
|
383
383
|
end
|
384
384
|
# resource path
|
385
385
|
local_var_path = '/cloud-connect-aws/combined/accounts/v1'
|
@@ -409,7 +409,7 @@ module Falcon
|
|
409
409
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
410
410
|
|
411
411
|
new_options = opts.merge(
|
412
|
-
:operation => :"
|
412
|
+
:operation => :"CloudConnectAws.query_aws_accounts",
|
413
413
|
:header_params => header_params,
|
414
414
|
:query_params => query_params,
|
415
415
|
:form_params => form_params,
|
@@ -420,7 +420,7 @@ module Falcon
|
|
420
420
|
|
421
421
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
422
422
|
if @api_client.config.debugging
|
423
|
-
@api_client.config.logger.debug "API called:
|
423
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#query_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
424
424
|
end
|
425
425
|
return data, status_code, headers
|
426
426
|
end
|
@@ -446,7 +446,7 @@ module Falcon
|
|
446
446
|
# @return [Array<(MsaQueryResponse, Integer, Hash)>] MsaQueryResponse data, response status code and response headers
|
447
447
|
def query_aws_accounts_for_ids_with_http_info(opts = {})
|
448
448
|
if @api_client.config.debugging
|
449
|
-
@api_client.config.logger.debug 'Calling API:
|
449
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.query_aws_accounts_for_ids ...'
|
450
450
|
end
|
451
451
|
# resource path
|
452
452
|
local_var_path = '/cloud-connect-aws/queries/accounts/v1'
|
@@ -476,7 +476,7 @@ module Falcon
|
|
476
476
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
477
477
|
|
478
478
|
new_options = opts.merge(
|
479
|
-
:operation => :"
|
479
|
+
:operation => :"CloudConnectAws.query_aws_accounts_for_ids",
|
480
480
|
:header_params => header_params,
|
481
481
|
:query_params => query_params,
|
482
482
|
:form_params => form_params,
|
@@ -487,7 +487,7 @@ module Falcon
|
|
487
487
|
|
488
488
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
489
489
|
if @api_client.config.debugging
|
490
|
-
@api_client.config.logger.debug "API called:
|
490
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#query_aws_accounts_for_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
491
491
|
end
|
492
492
|
return data, status_code, headers
|
493
493
|
end
|
@@ -507,11 +507,11 @@ module Falcon
|
|
507
507
|
# @return [Array<(ModelsAWSAccountsV1, Integer, Hash)>] ModelsAWSAccountsV1 data, response status code and response headers
|
508
508
|
def update_aws_accounts_with_http_info(body, opts = {})
|
509
509
|
if @api_client.config.debugging
|
510
|
-
@api_client.config.logger.debug 'Calling API:
|
510
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.update_aws_accounts ...'
|
511
511
|
end
|
512
512
|
# verify the required parameter 'body' is set
|
513
513
|
if @api_client.config.client_side_validation && body.nil?
|
514
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
514
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CloudConnectAws.update_aws_accounts"
|
515
515
|
end
|
516
516
|
# resource path
|
517
517
|
local_var_path = '/cloud-connect-aws/entities/accounts/v1'
|
@@ -542,7 +542,7 @@ module Falcon
|
|
542
542
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
543
543
|
|
544
544
|
new_options = opts.merge(
|
545
|
-
:operation => :"
|
545
|
+
:operation => :"CloudConnectAws.update_aws_accounts",
|
546
546
|
:header_params => header_params,
|
547
547
|
:query_params => query_params,
|
548
548
|
:form_params => form_params,
|
@@ -553,7 +553,7 @@ module Falcon
|
|
553
553
|
|
554
554
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
555
555
|
if @api_client.config.debugging
|
556
|
-
@api_client.config.logger.debug "API called:
|
556
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#update_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
557
557
|
end
|
558
558
|
return data, status_code, headers
|
559
559
|
end
|
@@ -573,11 +573,11 @@ module Falcon
|
|
573
573
|
# @return [Array<(ModelsVerifyAccessResponseV1, Integer, Hash)>] ModelsVerifyAccessResponseV1 data, response status code and response headers
|
574
574
|
def verify_aws_account_access_with_http_info(ids, opts = {})
|
575
575
|
if @api_client.config.debugging
|
576
|
-
@api_client.config.logger.debug 'Calling API:
|
576
|
+
@api_client.config.logger.debug 'Calling API: CloudConnectAws.verify_aws_account_access ...'
|
577
577
|
end
|
578
578
|
# verify the required parameter 'ids' is set
|
579
579
|
if @api_client.config.client_side_validation && ids.nil?
|
580
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
580
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling CloudConnectAws.verify_aws_account_access"
|
581
581
|
end
|
582
582
|
# resource path
|
583
583
|
local_var_path = '/cloud-connect-aws/entities/verify-account-access/v1'
|
@@ -604,7 +604,7 @@ module Falcon
|
|
604
604
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
605
605
|
|
606
606
|
new_options = opts.merge(
|
607
|
-
:operation => :"
|
607
|
+
:operation => :"CloudConnectAws.verify_aws_account_access",
|
608
608
|
:header_params => header_params,
|
609
609
|
:query_params => query_params,
|
610
610
|
:form_params => form_params,
|
@@ -615,7 +615,7 @@ module Falcon
|
|
615
615
|
|
616
616
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
617
617
|
if @api_client.config.debugging
|
618
|
-
@api_client.config.logger.debug "API called:
|
618
|
+
@api_client.config.logger.debug "API called: CloudConnectAws#verify_aws_account_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
619
619
|
end
|
620
620
|
return data, status_code, headers
|
621
621
|
end
|
@@ -0,0 +1,179 @@
|
|
1
|
+
=begin
|
2
|
+
Crimson Falcon - Ruby Client SDK
|
3
|
+
|
4
|
+
Code auto-generated by OpenAPI Generator; DO NOT EDIT.
|
5
|
+
|
6
|
+
MIT License
|
7
|
+
|
8
|
+
Copyright (c) 2023 Crowdstrike
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
12
|
+
in the Software without restriction, including without limitation the rights
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
15
|
+
furnished to do so, subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
18
|
+
copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
SOFTWARE.
|
27
|
+
|
28
|
+
=end
|
29
|
+
|
30
|
+
require 'cgi'
|
31
|
+
|
32
|
+
module Falcon
|
33
|
+
class CloudSecurityAssets
|
34
|
+
attr_accessor :api_client
|
35
|
+
|
36
|
+
def initialize(api_client = ApiClient.default)
|
37
|
+
@api_client = api_client
|
38
|
+
end
|
39
|
+
# Gets raw resources based on the provided IDs param. Maximum of 100 resources can be requested with this method. Use POST method with same path if more are required.
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :ids List of assets to return (maximum 100 IDs allowed). Use POST method with same path if more entities are required.
|
42
|
+
# @return [AssetsGetResourcesResponse]
|
43
|
+
def cloud_security_assets_entities_get(opts = {})
|
44
|
+
data, _status_code, _headers = cloud_security_assets_entities_get_with_http_info(opts)
|
45
|
+
data
|
46
|
+
end
|
47
|
+
|
48
|
+
# Gets raw resources based on the provided IDs param. Maximum of 100 resources can be requested with this method. Use POST method with same path if more are required.
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @option opts [Array<String>] :ids List of assets to return (maximum 100 IDs allowed). Use POST method with same path if more entities are required.
|
51
|
+
# @return [Array<(AssetsGetResourcesResponse, Integer, Hash)>] AssetsGetResourcesResponse data, response status code and response headers
|
52
|
+
def cloud_security_assets_entities_get_with_http_info(opts = {})
|
53
|
+
if @api_client.config.debugging
|
54
|
+
@api_client.config.logger.debug 'Calling API: CloudSecurityAssets.cloud_security_assets_entities_get ...'
|
55
|
+
end
|
56
|
+
# resource path
|
57
|
+
local_var_path = '/cloud-security-assets/entities/resources/v1'
|
58
|
+
|
59
|
+
# query parameters
|
60
|
+
query_params = opts[:query_params] || {}
|
61
|
+
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
|
62
|
+
|
63
|
+
# header parameters
|
64
|
+
header_params = opts[:header_params] || {}
|
65
|
+
# HTTP header 'Accept' (if needed)
|
66
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
67
|
+
|
68
|
+
# form parameters
|
69
|
+
form_params = opts[:form_params] || {}
|
70
|
+
|
71
|
+
# http body (model)
|
72
|
+
post_body = opts[:debug_body]
|
73
|
+
|
74
|
+
# return_type
|
75
|
+
return_type = opts[:debug_return_type] || 'AssetsGetResourcesResponse'
|
76
|
+
|
77
|
+
# auth_names
|
78
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
79
|
+
|
80
|
+
new_options = opts.merge(
|
81
|
+
:operation => :"CloudSecurityAssets.cloud_security_assets_entities_get",
|
82
|
+
:header_params => header_params,
|
83
|
+
:query_params => query_params,
|
84
|
+
:form_params => form_params,
|
85
|
+
:body => post_body,
|
86
|
+
:auth_names => auth_names,
|
87
|
+
:return_type => return_type
|
88
|
+
)
|
89
|
+
|
90
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
91
|
+
if @api_client.config.debugging
|
92
|
+
@api_client.config.logger.debug "API called: CloudSecurityAssets#cloud_security_assets_entities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
93
|
+
end
|
94
|
+
return data, status_code, headers
|
95
|
+
end
|
96
|
+
|
97
|
+
# Gets a list of resource IDs for the given parameters, filters and sort criteria
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [String] :after token-based pagination. use for paginating through an entire result set. Use only one of 'offset' and 'after' parameters for paginating
|
100
|
+
# @option opts [String] :filter FQL string to filter on asset contents. Filterable fields include: - `account_id` - `account_name` - `active` - `business_impact` - `cloud_group` - `cloud_label` - `cloud_label_id` - `cloud_provider` - `cluster_id` - `cluster_name` - `compliant.benchmark_name` - `compliant.benchmark_version` - `compliant.framework` - `compliant.policy_id` - `compliant.requirement` - `compliant.rule` - `compliant.section` - `configuration.id` - `creation_time` - `cve_ids` - `data_classifications.found` - `data_classifications.label` - `data_classifications.label_id` - `data_classifications.scanned` - `data_classifications.tag` - `data_classifications.tag_id` - `environment` - `exprt_ratings` - `first_seen` - `highest_severity` - `id` - `instance_id` - `instance_state` - `ioa_count` - `iom_count` - `legacy_resource_id` - `legacy_uuid` - `managed_by` - `non_compliant.benchmark_name` - `non_compliant.benchmark_version` - `non_compliant.framework` - `non_compliant.policy_id` - `non_compliant.requirement` - `non_compliant.rule` - `non_compliant.section` - `organization_Id` - `os_version` - `platform_name` - `publicly_exposed` - `region` - `resource_id` - `resource_name` - `resource_type` - `resource_type_name` - `sensor_priority` - `service` - `severity` - `snapshot_detections` - `ssm_managed` - `status` - `tag_key` - `tag_value` - `tenant_id` - `updated_at` - `vmware.guest_os_id` - `vmware.guest_os_version` - `vmware.host_system_name` - `vmware.host_type` - `vmware.instance_uuid` - `vmware.vm_host_name` - `vmware.vm_tools_status` - `zone`
|
101
|
+
# @option opts [String] :sort The field to sort on. Sortable fields include: - `account_id` - `account_name` - `active` - `cloud_provider` - `cluster_id` - `cluster_name` - `creation_time` - `data_classifications.found` - `data_classifications.scanned` - `first_seen` - `id` - `instance_id` - `instance_state` - `ioa_count` - `iom_count` - `managed_by` - `organization_Id` - `os_version` - `platform_name` - `publicly_exposed` - `region` - `resource_id` - `resource_name` - `resource_type` - `resource_type_name` - `service` - `ssm_managed` - `status` - `tenant_id` - `updated_at` - `vmware.guest_os_id` - `vmware.guest_os_version` - `vmware.host_system_name` - `vmware.host_type` - `vmware.instance_uuid` - `vmware.vm_host_name` - `vmware.vm_tools_status` - `zone` Use `|asc` or `|desc` suffix to specify sort direction.
|
102
|
+
# @option opts [Integer] :limit The maximum number of items to return. When not specified or 0, 500 is used. When larger than 1000, 1000 is used. (default to 500)
|
103
|
+
# @option opts [Integer] :offset Offset returned assets. Use only one of 'offset' and 'after' parameter for paginating. 'offset' can only be used on offsets < 10,000. For paginating through the entire result set, use 'after' parameter
|
104
|
+
# @return [AssetsGetResourceIDsResponse]
|
105
|
+
def cloud_security_assets_queries(opts = {})
|
106
|
+
data, _status_code, _headers = cloud_security_assets_queries_with_http_info(opts)
|
107
|
+
data
|
108
|
+
end
|
109
|
+
|
110
|
+
# Gets a list of resource IDs for the given parameters, filters and sort criteria
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @option opts [String] :after token-based pagination. use for paginating through an entire result set. Use only one of 'offset' and 'after' parameters for paginating
|
113
|
+
# @option opts [String] :filter FQL string to filter on asset contents. Filterable fields include: - `account_id` - `account_name` - `active` - `business_impact` - `cloud_group` - `cloud_label` - `cloud_label_id` - `cloud_provider` - `cluster_id` - `cluster_name` - `compliant.benchmark_name` - `compliant.benchmark_version` - `compliant.framework` - `compliant.policy_id` - `compliant.requirement` - `compliant.rule` - `compliant.section` - `configuration.id` - `creation_time` - `cve_ids` - `data_classifications.found` - `data_classifications.label` - `data_classifications.label_id` - `data_classifications.scanned` - `data_classifications.tag` - `data_classifications.tag_id` - `environment` - `exprt_ratings` - `first_seen` - `highest_severity` - `id` - `instance_id` - `instance_state` - `ioa_count` - `iom_count` - `legacy_resource_id` - `legacy_uuid` - `managed_by` - `non_compliant.benchmark_name` - `non_compliant.benchmark_version` - `non_compliant.framework` - `non_compliant.policy_id` - `non_compliant.requirement` - `non_compliant.rule` - `non_compliant.section` - `organization_Id` - `os_version` - `platform_name` - `publicly_exposed` - `region` - `resource_id` - `resource_name` - `resource_type` - `resource_type_name` - `sensor_priority` - `service` - `severity` - `snapshot_detections` - `ssm_managed` - `status` - `tag_key` - `tag_value` - `tenant_id` - `updated_at` - `vmware.guest_os_id` - `vmware.guest_os_version` - `vmware.host_system_name` - `vmware.host_type` - `vmware.instance_uuid` - `vmware.vm_host_name` - `vmware.vm_tools_status` - `zone`
|
114
|
+
# @option opts [String] :sort The field to sort on. Sortable fields include: - `account_id` - `account_name` - `active` - `cloud_provider` - `cluster_id` - `cluster_name` - `creation_time` - `data_classifications.found` - `data_classifications.scanned` - `first_seen` - `id` - `instance_id` - `instance_state` - `ioa_count` - `iom_count` - `managed_by` - `organization_Id` - `os_version` - `platform_name` - `publicly_exposed` - `region` - `resource_id` - `resource_name` - `resource_type` - `resource_type_name` - `service` - `ssm_managed` - `status` - `tenant_id` - `updated_at` - `vmware.guest_os_id` - `vmware.guest_os_version` - `vmware.host_system_name` - `vmware.host_type` - `vmware.instance_uuid` - `vmware.vm_host_name` - `vmware.vm_tools_status` - `zone` Use `|asc` or `|desc` suffix to specify sort direction.
|
115
|
+
# @option opts [Integer] :limit The maximum number of items to return. When not specified or 0, 500 is used. When larger than 1000, 1000 is used. (default to 500)
|
116
|
+
# @option opts [Integer] :offset Offset returned assets. Use only one of 'offset' and 'after' parameter for paginating. 'offset' can only be used on offsets < 10,000. For paginating through the entire result set, use 'after' parameter
|
117
|
+
# @return [Array<(AssetsGetResourceIDsResponse, Integer, Hash)>] AssetsGetResourceIDsResponse data, response status code and response headers
|
118
|
+
def cloud_security_assets_queries_with_http_info(opts = {})
|
119
|
+
if @api_client.config.debugging
|
120
|
+
@api_client.config.logger.debug 'Calling API: CloudSecurityAssets.cloud_security_assets_queries ...'
|
121
|
+
end
|
122
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
123
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudSecurityAssets.cloud_security_assets_queries, must be smaller than or equal to 1000.'
|
124
|
+
end
|
125
|
+
|
126
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
127
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudSecurityAssets.cloud_security_assets_queries, must be greater than or equal to 0.'
|
128
|
+
end
|
129
|
+
|
130
|
+
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
131
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling CloudSecurityAssets.cloud_security_assets_queries, must be greater than or equal to 0.'
|
132
|
+
end
|
133
|
+
|
134
|
+
# resource path
|
135
|
+
local_var_path = '/cloud-security-assets/queries/resources/v1'
|
136
|
+
|
137
|
+
# query parameters
|
138
|
+
query_params = opts[:query_params] || {}
|
139
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
140
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
141
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
142
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
143
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
144
|
+
|
145
|
+
# header parameters
|
146
|
+
header_params = opts[:header_params] || {}
|
147
|
+
# HTTP header 'Accept' (if needed)
|
148
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
149
|
+
|
150
|
+
# form parameters
|
151
|
+
form_params = opts[:form_params] || {}
|
152
|
+
|
153
|
+
# http body (model)
|
154
|
+
post_body = opts[:debug_body]
|
155
|
+
|
156
|
+
# return_type
|
157
|
+
return_type = opts[:debug_return_type] || 'AssetsGetResourceIDsResponse'
|
158
|
+
|
159
|
+
# auth_names
|
160
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
161
|
+
|
162
|
+
new_options = opts.merge(
|
163
|
+
:operation => :"CloudSecurityAssets.cloud_security_assets_queries",
|
164
|
+
:header_params => header_params,
|
165
|
+
:query_params => query_params,
|
166
|
+
:form_params => form_params,
|
167
|
+
:body => post_body,
|
168
|
+
:auth_names => auth_names,
|
169
|
+
:return_type => return_type
|
170
|
+
)
|
171
|
+
|
172
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
173
|
+
if @api_client.config.debugging
|
174
|
+
@api_client.config.logger.debug "API called: CloudSecurityAssets#cloud_security_assets_queries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
175
|
+
end
|
176
|
+
return data, status_code, headers
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
@@ -30,7 +30,7 @@ SOFTWARE.
|
|
30
30
|
require 'cgi'
|
31
31
|
|
32
32
|
module Falcon
|
33
|
-
class
|
33
|
+
class CloudSnapshots
|
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<(DeploymentsEntityResponse, Integer, Hash)>] DeploymentsEntityResponse data, response status code and response headers
|
52
52
|
def create_deployment_entity_with_http_info(body, opts = {})
|
53
53
|
if @api_client.config.debugging
|
54
|
-
@api_client.config.logger.debug 'Calling API:
|
54
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.create_deployment_entity ...'
|
55
55
|
end
|
56
56
|
# verify the required parameter 'body' is set
|
57
57
|
if @api_client.config.client_side_validation && body.nil?
|
58
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
58
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CloudSnapshots.create_deployment_entity"
|
59
59
|
end
|
60
60
|
# resource path
|
61
61
|
local_var_path = '/snapshots/entities/deployments/v1'
|
@@ -86,7 +86,7 @@ module Falcon
|
|
86
86
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
87
87
|
|
88
88
|
new_options = opts.merge(
|
89
|
-
:operation => :"
|
89
|
+
:operation => :"CloudSnapshots.create_deployment_entity",
|
90
90
|
:header_params => header_params,
|
91
91
|
:query_params => query_params,
|
92
92
|
:form_params => form_params,
|
@@ -97,7 +97,7 @@ module Falcon
|
|
97
97
|
|
98
98
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
99
99
|
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug "API called:
|
100
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#create_deployment_entity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
101
101
|
end
|
102
102
|
return data, status_code, headers
|
103
103
|
end
|
@@ -115,7 +115,7 @@ module Falcon
|
|
115
115
|
# @return [Array<(ModelsRegistryCredentialsResponse, Integer, Hash)>] ModelsRegistryCredentialsResponse data, response status code and response headers
|
116
116
|
def get_credentials_mixin0_mixin57_with_http_info(opts = {})
|
117
117
|
if @api_client.config.debugging
|
118
|
-
@api_client.config.logger.debug 'Calling API:
|
118
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.get_credentials_mixin0_mixin57 ...'
|
119
119
|
end
|
120
120
|
# resource path
|
121
121
|
local_var_path = '/snapshots/entities/image-registry-credentials/v1'
|
@@ -141,7 +141,7 @@ module Falcon
|
|
141
141
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
142
142
|
|
143
143
|
new_options = opts.merge(
|
144
|
-
:operation => :"
|
144
|
+
:operation => :"CloudSnapshots.get_credentials_mixin0_mixin57",
|
145
145
|
:header_params => header_params,
|
146
146
|
:query_params => query_params,
|
147
147
|
:form_params => form_params,
|
@@ -152,7 +152,7 @@ module Falcon
|
|
152
152
|
|
153
153
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
154
154
|
if @api_client.config.debugging
|
155
|
-
@api_client.config.logger.debug "API called:
|
155
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#get_credentials_mixin0_mixin57\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
156
156
|
end
|
157
157
|
return data, status_code, headers
|
158
158
|
end
|
@@ -172,11 +172,11 @@ module Falcon
|
|
172
172
|
# @return [Array<(ScanreportsEntitiesResponse, Integer, Hash)>] ScanreportsEntitiesResponse data, response status code and response headers
|
173
173
|
def get_scan_report_with_http_info(ids, opts = {})
|
174
174
|
if @api_client.config.debugging
|
175
|
-
@api_client.config.logger.debug 'Calling API:
|
175
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.get_scan_report ...'
|
176
176
|
end
|
177
177
|
# verify the required parameter 'ids' is set
|
178
178
|
if @api_client.config.client_side_validation && ids.nil?
|
179
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
179
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling CloudSnapshots.get_scan_report"
|
180
180
|
end
|
181
181
|
# resource path
|
182
182
|
local_var_path = '/snapshots/entities/scanreports/v1'
|
@@ -203,7 +203,7 @@ module Falcon
|
|
203
203
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
204
204
|
|
205
205
|
new_options = opts.merge(
|
206
|
-
:operation => :"
|
206
|
+
:operation => :"CloudSnapshots.get_scan_report",
|
207
207
|
:header_params => header_params,
|
208
208
|
:query_params => query_params,
|
209
209
|
:form_params => form_params,
|
@@ -214,7 +214,7 @@ module Falcon
|
|
214
214
|
|
215
215
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
216
216
|
if @api_client.config.debugging
|
217
|
-
@api_client.config.logger.debug "API called:
|
217
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#get_scan_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
218
218
|
end
|
219
219
|
return data, status_code, headers
|
220
220
|
end
|
@@ -240,7 +240,7 @@ module Falcon
|
|
240
240
|
# @return [Array<(DeploymentsEntityResponse, Integer, Hash)>] DeploymentsEntityResponse data, response status code and response headers
|
241
241
|
def read_deployments_combined_with_http_info(opts = {})
|
242
242
|
if @api_client.config.debugging
|
243
|
-
@api_client.config.logger.debug 'Calling API:
|
243
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.read_deployments_combined ...'
|
244
244
|
end
|
245
245
|
# resource path
|
246
246
|
local_var_path = '/snapshots/combined/deployments/v1'
|
@@ -270,7 +270,7 @@ module Falcon
|
|
270
270
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
271
271
|
|
272
272
|
new_options = opts.merge(
|
273
|
-
:operation => :"
|
273
|
+
:operation => :"CloudSnapshots.read_deployments_combined",
|
274
274
|
:header_params => header_params,
|
275
275
|
:query_params => query_params,
|
276
276
|
:form_params => form_params,
|
@@ -281,7 +281,7 @@ module Falcon
|
|
281
281
|
|
282
282
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
283
283
|
if @api_client.config.debugging
|
284
|
-
@api_client.config.logger.debug "API called:
|
284
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#read_deployments_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
285
285
|
end
|
286
286
|
return data, status_code, headers
|
287
287
|
end
|
@@ -301,7 +301,7 @@ module Falcon
|
|
301
301
|
# @return [Array<(DeploymentsEntityResponse, Integer, Hash)>] DeploymentsEntityResponse data, response status code and response headers
|
302
302
|
def read_deployments_entities_with_http_info(opts = {})
|
303
303
|
if @api_client.config.debugging
|
304
|
-
@api_client.config.logger.debug 'Calling API:
|
304
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.read_deployments_entities ...'
|
305
305
|
end
|
306
306
|
# resource path
|
307
307
|
local_var_path = '/snapshots/entities/deployments/v1'
|
@@ -328,7 +328,7 @@ module Falcon
|
|
328
328
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
329
329
|
|
330
330
|
new_options = opts.merge(
|
331
|
-
:operation => :"
|
331
|
+
:operation => :"CloudSnapshots.read_deployments_entities",
|
332
332
|
:header_params => header_params,
|
333
333
|
:query_params => query_params,
|
334
334
|
:form_params => form_params,
|
@@ -339,7 +339,7 @@ module Falcon
|
|
339
339
|
|
340
340
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
341
341
|
if @api_client.config.debugging
|
342
|
-
@api_client.config.logger.debug "API called:
|
342
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#read_deployments_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
343
343
|
end
|
344
344
|
return data, status_code, headers
|
345
345
|
end
|
@@ -359,11 +359,11 @@ module Falcon
|
|
359
359
|
# @return [Array<(ModelsAccountStatusResponse, Integer, Hash)>] ModelsAccountStatusResponse data, response status code and response headers
|
360
360
|
def register_cspm_snapshot_account_with_http_info(body, opts = {})
|
361
361
|
if @api_client.config.debugging
|
362
|
-
@api_client.config.logger.debug 'Calling API:
|
362
|
+
@api_client.config.logger.debug 'Calling API: CloudSnapshots.register_cspm_snapshot_account ...'
|
363
363
|
end
|
364
364
|
# verify the required parameter 'body' is set
|
365
365
|
if @api_client.config.client_side_validation && body.nil?
|
366
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
366
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CloudSnapshots.register_cspm_snapshot_account"
|
367
367
|
end
|
368
368
|
# resource path
|
369
369
|
local_var_path = '/snapshots/entities/accounts/v1'
|
@@ -394,7 +394,7 @@ module Falcon
|
|
394
394
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
395
395
|
|
396
396
|
new_options = opts.merge(
|
397
|
-
:operation => :"
|
397
|
+
:operation => :"CloudSnapshots.register_cspm_snapshot_account",
|
398
398
|
:header_params => header_params,
|
399
399
|
:query_params => query_params,
|
400
400
|
:form_params => form_params,
|
@@ -405,7 +405,7 @@ module Falcon
|
|
405
405
|
|
406
406
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
407
407
|
if @api_client.config.debugging
|
408
|
-
@api_client.config.logger.debug "API called:
|
408
|
+
@api_client.config.logger.debug "API called: CloudSnapshots#register_cspm_snapshot_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
409
409
|
end
|
410
410
|
return data, status_code, headers
|
411
411
|
end
|