crimson-falcon 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +293 -70
- data/lib/crimson-falcon/api/activity_monitor.rb +120 -0
- data/lib/crimson-falcon/api/alerts.rb +88 -0
- data/lib/crimson-falcon/api/aspm.rb +133 -3
- data/lib/crimson-falcon/api/cloud_azure_registration.rb +318 -0
- data/lib/crimson-falcon/api/cloud_oci_registration.rb +4 -4
- data/lib/crimson-falcon/api/cloud_security_assets.rb +2 -2
- data/lib/crimson-falcon/api/container_image_compliance.rb +22 -22
- data/lib/crimson-falcon/api/cspm_registration.rb +69 -0
- data/lib/crimson-falcon/api/default.rb +0 -62
- data/lib/crimson-falcon/api/exposure_management.rb +67 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard.rb +71 -4
- data/lib/crimson-falcon/api/falcon_container_image.rb +121 -0
- data/lib/crimson-falcon/api/identity_protection.rb +2 -2
- data/lib/crimson-falcon/api/integration_builder.rb +313 -0
- data/lib/crimson-falcon/api/intel.rb +73 -0
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +23 -15
- data/lib/crimson-falcon/api/inventories.rb +186 -0
- data/lib/crimson-falcon/api/kubernetes_container_compliance.rb +62 -0
- data/lib/crimson-falcon/api/kubernetes_protection.rb +3 -0
- data/lib/crimson-falcon/api/message_center.rb +4 -70
- data/lib/crimson-falcon/api/real_time_response_admin.rb +62 -0
- data/lib/crimson-falcon/api/release_notes.rb +76 -0
- data/lib/crimson-falcon/api/saa_s.rb +156 -0
- data/lib/crimson-falcon/api/security_check.rb +484 -0
- data/lib/crimson-falcon/api/system.rb +168 -0
- data/lib/crimson-falcon/api/user_management.rb +4 -4
- data/lib/crimson-falcon/models/account_integration289680abbdb24ecc9e55e90a4c2f1770.rb +443 -0
- data/lib/crimson-falcon/models/{types_query_result.rb → activity251e72f10e9424e568d72ab0351a6fb1b.rb} +17 -19
- data/lib/crimson-falcon/models/affected_entity9f6cb0be3b91460090c751db2c883b7c.rb +392 -0
- data/lib/crimson-falcon/models/alert85f2306d175b4314b4d51d0096103dcc.rb +539 -0
- data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +5 -0
- data/lib/crimson-falcon/models/api_rule_search_v1.rb +5 -0
- data/lib/crimson-falcon/models/{aspm_data.rb → aspm_inventory_data.rb} +3 -3
- data/lib/crimson-falcon/models/azure_additional_feature.rb +269 -0
- data/lib/crimson-falcon/models/azure_azure_registration_create_input.rb +497 -0
- data/lib/crimson-falcon/models/azure_azure_registration_create_request_ext_v1.rb +239 -0
- data/lib/crimson-falcon/models/azure_azure_registration_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/azure_azure_registration_update_input.rb +492 -0
- data/lib/crimson-falcon/models/azure_azure_registration_update_request_ext_v1.rb +239 -0
- data/lib/crimson-falcon/models/azure_delete_registration_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/azure_deleted_registration.rb +383 -0
- data/lib/crimson-falcon/models/azure_deleted_subscription_info.rb +267 -0
- data/lib/crimson-falcon/models/azure_event_hub_settings.rb +295 -0
- data/lib/crimson-falcon/models/azure_tenant_registration.rb +578 -0
- data/lib/crimson-falcon/models/cdrioamanager_get_cloud_event_ids_response.rb +266 -0
- data/lib/crimson-falcon/models/costs.rb +4 -4
- data/lib/crimson-falcon/models/criteria301f5eeae5ba41edb767b27e749f6375.rb +274 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto31852908d6f14d268312c3fcdb497315.rb +365 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto614da2e1369e44e596d2935db3da0365.rb +365 -0
- data/lib/crimson-falcon/models/data_transaction_response_dto_cdc34dae7da648de941209e7e6a30770.rb +365 -0
- data/lib/crimson-falcon/models/detects_external_alert.rb +18 -1
- data/lib/crimson-falcon/models/device3550eb212db1414995c297cdbfe5cc16.rb +552 -0
- data/lib/crimson-falcon/models/dismiss_affected.rb +257 -0
- data/lib/crimson-falcon/models/dismiss_security_check.rb +257 -0
- data/lib/crimson-falcon/models/distribution_descriptor.rb +283 -0
- data/lib/crimson-falcon/models/domain_actor_document.rb +10 -1
- data/lib/crimson-falcon/models/domain_aggregates_response.rb +4 -2
- data/lib/crimson-falcon/models/domain_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/domain_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/domain_cloud_group.rb +270 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +30 -1
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +30 -1
- data/lib/crimson-falcon/models/domain_feature_status.rb +32 -15
- data/lib/crimson-falcon/models/domain_iot_imported_host.rb +405 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_header_computation_function.rb +269 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_header_mapping.rb +255 -0
- data/lib/crimson-falcon/models/domain_kestrel_data_export_params.rb +278 -0
- data/lib/crimson-falcon/models/{quickscanpro_mitre_attack.rb → domain_mitre_attack.rb} +23 -5
- data/lib/crimson-falcon/models/{quickscanpro_mitre_attack_parent.rb → domain_mitre_attack_parent.rb} +3 -3
- data/lib/crimson-falcon/models/domain_msa_meta_info.rb +4 -18
- data/lib/crimson-falcon/models/domain_news_document.rb +2 -2
- data/lib/crimson-falcon/models/domain_notification_config.rb +32 -4
- data/lib/crimson-falcon/models/domain_query_response.rb +8 -1
- data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -15
- data/lib/crimson-falcon/models/domain_rule.rb +69 -63
- data/lib/crimson-falcon/models/domain_scan.rb +10 -1
- data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_vulnerability.rb +135 -38
- data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +255 -0
- data/lib/crimson-falcon/models/{restapi_indicators_aggregates_request.rb → domain_vulnerability_affected_product.rb} +21 -17
- data/lib/crimson-falcon/models/domain_vulnerability_cvss_v2.rb +303 -0
- data/lib/crimson-falcon/models/domain_vulnerability_cvss_v3.rb +325 -0
- data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +247 -0
- data/lib/crimson-falcon/models/domain_vulnerability_report.rb +265 -0
- data/lib/crimson-falcon/models/domain_xdr_params.rb +12 -1
- data/lib/crimson-falcon/models/error02abad40db9c4a4baf68f01bea6071c4.rb +264 -0
- data/lib/crimson-falcon/models/error068cf337479748d6ac14b4a9c4043a93.rb +264 -0
- data/lib/crimson-falcon/models/error208252f00cf64de68d28810846b7dd26.rb +264 -0
- data/lib/crimson-falcon/models/error20dfebe4526641bd81749e954da7890e.rb +264 -0
- data/lib/crimson-falcon/models/error2a083e88c6764d16bbb98873ef1e9e15.rb +264 -0
- data/lib/crimson-falcon/models/error2c3c8d4e65c3447a8eae772de1b0e3ef.rb +264 -0
- data/lib/crimson-falcon/models/error35d6bd13358246f9ae9ffbe791550e06.rb +264 -0
- data/lib/crimson-falcon/models/error476679d881284bdc9a5192128d50d4b6.rb +264 -0
- data/lib/crimson-falcon/models/error479167a4d6534b6a85ec7857c5fb14ba.rb +264 -0
- data/lib/crimson-falcon/models/error4bee1dd3515c454f83249366486164d0.rb +264 -0
- data/lib/crimson-falcon/models/error7bbeca3b1c2440f19c0730f62b3b6ef4.rb +264 -0
- data/lib/crimson-falcon/models/error878b6eeb86ef40cdb1ec5f1207207e09.rb +264 -0
- data/lib/crimson-falcon/models/error9cad4d8f334c467daf30ed3a72664779.rb +264 -0
- data/lib/crimson-falcon/models/error_bc084ac4caa243b199e2307fb94184c3.rb +264 -0
- data/lib/crimson-falcon/models/error_d3d26008b8464eeb912ff06244246cf2.rb +264 -0
- data/lib/crimson-falcon/models/error_f2e2dae6d0e945279a68e68afaee2d54.rb +264 -0
- data/lib/crimson-falcon/models/error_fa972818e96245a89bcee1f18b40eb0a.rb +264 -0
- data/lib/crimson-falcon/models/exposure_da5345c68b174f978f19999c3e00cab9.rb +300 -0
- data/lib/crimson-falcon/models/figapi_lookup_indicator.rb +468 -0
- data/lib/crimson-falcon/models/flightcontrolapi_grant_input.rb +11 -1
- data/lib/crimson-falcon/models/fwmgr_api_json_diff.rb +3 -3
- data/lib/crimson-falcon/models/fwmgr_api_rule_group_modify_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/get_activity_monitor.rb +258 -0
- data/lib/crimson-falcon/models/get_affected.rb +257 -0
- data/lib/crimson-falcon/models/get_alerts_response.rb +258 -0
- data/lib/crimson-falcon/models/get_device_inventory.rb +258 -0
- data/lib/crimson-falcon/models/get_end_transaction.rb +258 -0
- data/lib/crimson-falcon/models/get_integrations.rb +258 -0
- data/lib/crimson-falcon/models/get_metrics.rb +258 -0
- data/lib/crimson-falcon/models/get_security_checks.rb +258 -0
- data/lib/crimson-falcon/models/get_security_compliance.rb +257 -0
- data/lib/crimson-falcon/models/get_supported_saas.rb +258 -0
- data/lib/crimson-falcon/models/get_system_logs.rb +258 -0
- data/lib/crimson-falcon/models/get_system_users.rb +258 -0
- data/lib/crimson-falcon/models/get_transaction_status.rb +258 -0
- data/lib/crimson-falcon/models/get_user_inventory.rb +258 -0
- data/lib/crimson-falcon/models/integration_a9d173a3bf93430f84054286043aa8e5.rb +305 -0
- data/lib/crimson-falcon/models/integration_e95afa6fc5e04968b0e9d83e90042eca.rb +365 -0
- data/lib/crimson-falcon/models/issue9a61d8c8ccac45858497af4786b275c7.rb +291 -0
- data/lib/crimson-falcon/models/meta17335150dd1a4934a3a031a7b41e650b.rb +270 -0
- data/lib/crimson-falcon/models/meta23005461ac9a41fbb4620fe4aa0a3438.rb +270 -0
- data/lib/crimson-falcon/models/meta27c23ca116c1477bb85e765b5e09af69.rb +270 -0
- data/lib/crimson-falcon/models/meta37a0d574ca884a2f8641e122e47a3ce9.rb +270 -0
- data/lib/crimson-falcon/models/meta4f2b2e3bbfd74a7fb14e0ca86dd47d57.rb +270 -0
- data/lib/crimson-falcon/models/meta4fda3fb731c54f5480750a508fa0142d.rb +270 -0
- data/lib/crimson-falcon/models/meta536da5d66c054c69889a624cf1068900.rb +270 -0
- data/lib/crimson-falcon/models/meta6dbc34e4022d4b5c9fe5785caf9801e7.rb +270 -0
- data/lib/crimson-falcon/models/meta77f6bf58ba0045649e59a4655807a6ab.rb +270 -0
- data/lib/crimson-falcon/models/meta9b68681eb9464c4e9612730248f519d6.rb +270 -0
- data/lib/crimson-falcon/models/meta_c84ad721c6a841869874276dd0683cbb.rb +270 -0
- data/lib/crimson-falcon/models/meta_d1db20ce08ad45b3987ead9035c153a9.rb +270 -0
- data/lib/crimson-falcon/models/meta_d43679bfb5f448afa0899baa948533d1.rb +270 -0
- data/lib/crimson-falcon/models/meta_e1df370799c7419d805c0f95b5d1ae90.rb +270 -0
- data/lib/crimson-falcon/models/meta_e4ad714b314449299eca720f9d63b718.rb +270 -0
- data/lib/crimson-falcon/models/meta_fb2fed2c461a4af583e5b3b790c82df1.rb +270 -0
- data/lib/crimson-falcon/models/meta_fe9ab4e0124e4f0fb9946562895a2c78.rb +270 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +45 -1
- data/lib/crimson-falcon/models/models_cluster.rb +15 -1
- data/lib/crimson-falcon/models/models_config_info_type.rb +363 -0
- data/lib/crimson-falcon/models/models_elf_binary_info_type.rb +327 -0
- data/lib/crimson-falcon/models/models_he_string_file_info_type.rb +273 -0
- data/lib/crimson-falcon/models/models_he_string_info_type.rb +262 -0
- data/lib/crimson-falcon/models/models_image_info_type.rb +353 -0
- data/lib/crimson-falcon/models/models_image_metadata_type.rb +279 -0
- data/lib/crimson-falcon/models/models_inventory_engine_info_type.rb +278 -0
- data/lib/crimson-falcon/models/models_inventory_scan_request_type.rb +458 -0
- data/lib/crimson-falcon/models/models_inventory_type.rb +419 -0
- data/lib/crimson-falcon/models/models_layer_info_type.rb +322 -0
- data/lib/crimson-falcon/models/models_ml_model_type.rb +332 -0
- data/lib/crimson-falcon/models/models_scan_info_type.rb +279 -0
- data/lib/crimson-falcon/models/models_scan_request_type.rb +385 -0
- data/lib/crimson-falcon/models/pagination033f3d78a056499b8f4877419a0ab636.rb +305 -0
- data/lib/crimson-falcon/models/pagination080eaa160ef24b9ea15b29a7376520d1.rb +305 -0
- data/lib/crimson-falcon/models/pagination10594326d99a4b3a8681178b13e58952.rb +305 -0
- data/lib/crimson-falcon/models/pagination13aeb546de8049e7b3a1c36f9c93266b.rb +305 -0
- data/lib/crimson-falcon/models/pagination210dcb9a1e7d4355aa68be7ec0fd01f5.rb +305 -0
- data/lib/crimson-falcon/models/pagination30037a29e9404616b03177274ec26e23.rb +305 -0
- data/lib/crimson-falcon/models/pagination3b8a127584ba4423a93eb7c8169b572b.rb +305 -0
- data/lib/crimson-falcon/models/pagination3f3e43ffd8e64379931bdcb29aebc087.rb +305 -0
- data/lib/crimson-falcon/models/pagination52f77164aafe4de6b6db6d957e7daa2d.rb +305 -0
- data/lib/crimson-falcon/models/pagination548073ea1b2b436ba88a22f20220668f.rb +305 -0
- data/lib/crimson-falcon/models/pagination5540128e40ad49718c1f4b4b5e4e558c.rb +305 -0
- data/lib/crimson-falcon/models/pagination6447d6d09066458cbbaa67ba2e2337cc.rb +305 -0
- data/lib/crimson-falcon/models/pagination9bacca2551f14ff5a7ca8bd9d42e3cd2.rb +305 -0
- data/lib/crimson-falcon/models/pagination_d97a43983ded4cd7b949b22c9365f3ac.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f16542f2ce284253ae3ba96625cde422.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f3897127524749a8977efcf98f6fca21.rb +305 -0
- data/lib/crimson-falcon/models/pagination_f6ab71b91d6246e0bd736cf3af5fad6e.rb +305 -0
- data/lib/crimson-falcon/models/quickscanpro_error.rb +253 -0
- data/lib/crimson-falcon/models/quickscanpro_file_upload_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_meta_info.rb +248 -0
- data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +1 -1
- data/lib/crimson-falcon/models/quickscanpro_scan_metadata.rb +12 -1
- data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +1 -1
- data/lib/crimson-falcon/models/rbac_cloud_group.rb +270 -0
- data/lib/crimson-falcon/models/reason_result53b5512288cb4a35afeb08fb3232bc9a.rb +258 -0
- data/lib/crimson-falcon/models/reason_result85bd120760ba447ea4ed7050227cea6d.rb +258 -0
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
- data/lib/crimson-falcon/models/{domain_case_creation_request.rb → releasenotes_release_note_v2.rb} +56 -66
- data/lib/crimson-falcon/models/{restapi_indicators_aggregates_response.rb → releasenotes_release_note_wrapper_v2.rb} +4 -4
- data/lib/crimson-falcon/models/resources_cloud_context.rb +1 -1
- data/lib/crimson-falcon/models/resources_cloud_resource.rb +12 -1
- data/lib/crimson-falcon/models/resources_compliance_control.rb +37 -4
- data/lib/crimson-falcon/models/restapi_indicators_lookup_request.rb +242 -0
- data/lib/crimson-falcon/models/restapi_lookup_indicator_response.rb +271 -0
- data/lib/crimson-falcon/models/schema2_manifest.rb +278 -0
- data/lib/crimson-falcon/models/security_check_metrics4dc2138e50b94346aca29c17db424031.rb +309 -0
- data/lib/crimson-falcon/models/security_check_with_compliance_fabac54a5b434140a3258784ea52cedd.rb +780 -0
- data/lib/crimson-falcon/models/source1a19145b2d194d208fce893f033e7d77.rb +309 -0
- data/lib/crimson-falcon/models/source_acb91d86550f449aa4b1b5310bf5ae84.rb +309 -0
- data/lib/crimson-falcon/models/source_f8f9612cb66e48f38a21f3f6c9c90ce3.rb +309 -0
- data/lib/crimson-falcon/models/status_breakdown_c9f65dddc40c4ce591a60ab63a17ab21.rb +309 -0
- data/lib/crimson-falcon/models/supported_integration6399100b6064428e971df473366a4291.rb +286 -0
- data/lib/crimson-falcon/models/system_log35829c828fcc41f99005750f1c86b16b.rb +479 -0
- data/lib/crimson-falcon/models/system_user62e536308fad4c7f8f020fb76f162088.rb +485 -0
- data/lib/crimson-falcon/models/types_query_count_response.rb +0 -10
- data/lib/crimson-falcon/models/types_query_overtime_response_item.rb +0 -10
- data/lib/crimson-falcon/models/types_query_request.rb +10 -1
- data/lib/crimson-falcon/models/types_query_response.rb +0 -10
- data/lib/crimson-falcon/models/upload_data_request.rb +258 -0
- data/lib/crimson-falcon/models/upload_data_response.rb +258 -0
- data/lib/crimson-falcon/models/user_c59913813fcc4565a44e697480b8846b.rb +599 -0
- data/lib/crimson-falcon/models/v1_history.rb +270 -0
- data/lib/crimson-falcon/models/v1_image.rb +334 -0
- data/lib/crimson-falcon/models/v1_image_config.rb +327 -0
- data/lib/crimson-falcon/models/v1_platform.rb +282 -0
- data/lib/crimson-falcon/models/v1_root_fs.rb +255 -0
- data/lib/crimson-falcon/models/webhooktrigger_response_config.rb +1 -11
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +156 -9
- data/spec/api/activity_monitor_spec.rb +71 -0
- data/spec/api/alerts_spec.rb +20 -0
- data/spec/api/aspm_spec.rb +25 -1
- data/spec/api/cloud_azure_registration_spec.rb +55 -0
- data/spec/api/cloud_oci_registration_spec.rb +2 -2
- data/spec/api/cloud_security_assets_spec.rb +1 -1
- data/spec/api/container_image_compliance_spec.rb +11 -11
- data/spec/api/cspm_registration_spec.rb +12 -0
- data/spec/api/default_spec.rb +0 -11
- data/spec/api/exposure_management_spec.rb +14 -0
- data/spec/api/falcon_complete_dashboard_spec.rb +16 -2
- data/spec/api/falcon_container_image_spec.rb +21 -0
- data/spec/api/integration_builder_spec.rb +102 -0
- data/spec/api/intel_spec.rb +16 -0
- data/spec/api/intelligence_indicator_graph_spec.rb +7 -4
- data/spec/api/{datascanner_spec.rb → inventories_spec.rb} +27 -27
- data/spec/api/kubernetes_container_compliance_spec.rb +11 -0
- data/spec/api/kubernetes_protection_spec.rb +1 -0
- data/spec/api/message_center_spec.rb +1 -12
- data/spec/api/real_time_response_admin_spec.rb +11 -0
- data/spec/api/release_notes_spec.rb +13 -0
- data/spec/api/saa_s_spec.rb +75 -0
- data/spec/api/security_check_spec.rb +139 -0
- data/spec/api/system_spec.rb +79 -0
- data/spec/api/user_management_spec.rb +1 -1
- data/spec/models/account_integration289680abbdb24ecc9e55e90a4c2f1770_spec.rb +105 -0
- data/spec/models/activity251e72f10e9424e568d72ab0351a6fb1b_spec.rb +51 -0
- data/spec/models/affected_entity9f6cb0be3b91460090c751db2c883b7c_spec.rb +99 -0
- data/spec/models/alert85f2306d175b4314b4d51d0096103dcc_spec.rb +129 -0
- data/spec/models/{aspm_data_spec.rb → aspm_inventory_data_spec.rb} +6 -6
- data/spec/models/azure_additional_feature_spec.rb +63 -0
- data/spec/models/azure_azure_registration_create_input_spec.rb +189 -0
- data/spec/models/azure_azure_registration_create_request_ext_v1_spec.rb +51 -0
- data/spec/models/azure_azure_registration_response_ext_v1_spec.rb +63 -0
- data/spec/models/azure_azure_registration_update_input_spec.rb +189 -0
- data/spec/models/azure_azure_registration_update_request_ext_v1_spec.rb +51 -0
- data/spec/models/azure_delete_registration_response_ext_v1_spec.rb +63 -0
- data/spec/models/azure_deleted_registration_spec.rb +111 -0
- data/spec/models/azure_deleted_subscription_info_spec.rb +63 -0
- data/spec/models/azure_event_hub_settings_spec.rb +75 -0
- data/spec/models/azure_tenant_registration_spec.rb +243 -0
- data/spec/models/cdrioamanager_get_cloud_event_ids_response_spec.rb +63 -0
- data/spec/models/criteria301f5eeae5ba41edb767b27e749f6375_spec.rb +57 -0
- data/spec/models/data_transaction_response_dto31852908d6f14d268312c3fcdb497315_spec.rb +79 -0
- data/spec/models/data_transaction_response_dto614da2e1369e44e596d2935db3da0365_spec.rb +79 -0
- data/spec/models/data_transaction_response_dto_cdc34dae7da648de941209e7e6a30770_spec.rb +79 -0
- data/spec/models/detects_external_alert_spec.rb +6 -0
- data/spec/models/device3550eb212db1414995c297cdbfe5cc16_spec.rb +147 -0
- data/spec/models/dismiss_affected_spec.rb +63 -0
- data/spec/models/dismiss_security_check_spec.rb +63 -0
- data/spec/models/distribution_descriptor_spec.rb +81 -0
- data/spec/models/domain_actor_document_spec.rb +6 -0
- data/spec/models/domain_aggregation_result_item_spec.rb +105 -0
- data/spec/models/domain_aggregation_result_spec.rb +63 -0
- data/spec/models/domain_cloud_group_spec.rb +75 -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_feature_status_spec.rb +13 -1
- data/spec/models/domain_iot_imported_host_spec.rb +165 -0
- data/spec/models/domain_kestrel_data_export_header_computation_function_spec.rb +63 -0
- data/spec/models/domain_kestrel_data_export_header_mapping_spec.rb +57 -0
- data/spec/models/domain_kestrel_data_export_params_spec.rb +69 -0
- data/spec/models/{quickscanpro_mitre_attack_parent_spec.rb → domain_mitre_attack_parent_spec.rb} +6 -6
- data/spec/models/{quickscanpro_mitre_attack_spec.rb → domain_mitre_attack_spec.rb} +18 -6
- data/spec/models/domain_msa_meta_info_spec.rb +0 -6
- data/spec/models/domain_notification_config_spec.rb +12 -0
- data/spec/models/domain_report_metadata_spec.rb +4 -4
- data/spec/models/domain_rule_spec.rb +13 -7
- data/spec/models/domain_scan_spec.rb +6 -0
- data/spec/models/domain_scheduled_report_v1_spec.rb +6 -0
- data/spec/models/domain_vulnerability_actor_spec.rb +63 -0
- data/spec/models/domain_vulnerability_affected_product_spec.rb +57 -0
- data/spec/models/domain_vulnerability_cvss_v2_spec.rb +93 -0
- data/spec/models/domain_vulnerability_cvss_v3_spec.rb +105 -0
- data/spec/models/domain_vulnerability_related_threat_spec.rb +57 -0
- data/spec/models/domain_vulnerability_report_spec.rb +69 -0
- data/spec/models/domain_vulnerability_spec.rb +63 -3
- data/spec/models/domain_xdr_params_spec.rb +6 -0
- data/spec/models/error02abad40db9c4a4baf68f01bea6071c4_spec.rb +57 -0
- data/spec/models/error068cf337479748d6ac14b4a9c4043a93_spec.rb +57 -0
- data/spec/models/error208252f00cf64de68d28810846b7dd26_spec.rb +57 -0
- data/spec/models/error20dfebe4526641bd81749e954da7890e_spec.rb +57 -0
- data/spec/models/error2a083e88c6764d16bbb98873ef1e9e15_spec.rb +57 -0
- data/spec/models/error2c3c8d4e65c3447a8eae772de1b0e3ef_spec.rb +57 -0
- data/spec/models/error35d6bd13358246f9ae9ffbe791550e06_spec.rb +57 -0
- data/spec/models/error476679d881284bdc9a5192128d50d4b6_spec.rb +57 -0
- data/spec/models/error479167a4d6534b6a85ec7857c5fb14ba_spec.rb +57 -0
- data/spec/models/error4bee1dd3515c454f83249366486164d0_spec.rb +57 -0
- data/spec/models/error7bbeca3b1c2440f19c0730f62b3b6ef4_spec.rb +57 -0
- data/spec/models/error878b6eeb86ef40cdb1ec5f1207207e09_spec.rb +57 -0
- data/spec/models/error9cad4d8f334c467daf30ed3a72664779_spec.rb +57 -0
- data/spec/models/error_bc084ac4caa243b199e2307fb94184c3_spec.rb +57 -0
- data/spec/models/error_d3d26008b8464eeb912ff06244246cf2_spec.rb +57 -0
- data/spec/models/error_f2e2dae6d0e945279a68e68afaee2d54_spec.rb +57 -0
- data/spec/models/error_fa972818e96245a89bcee1f18b40eb0a_spec.rb +57 -0
- data/spec/models/exposure_da5345c68b174f978f19999c3e00cab9_spec.rb +69 -0
- data/spec/models/figapi_lookup_indicator_spec.rb +189 -0
- data/spec/models/flightcontrolapi_grant_input_spec.rb +6 -0
- data/spec/models/fwmgr_api_json_diff_spec.rb +6 -6
- data/spec/models/get_activity_monitor_spec.rb +63 -0
- data/spec/models/get_affected_spec.rb +63 -0
- data/spec/models/get_alerts_response_spec.rb +63 -0
- data/spec/models/get_device_inventory_spec.rb +63 -0
- data/spec/models/get_end_transaction_spec.rb +63 -0
- data/spec/models/get_integrations_spec.rb +63 -0
- data/spec/models/get_metrics_spec.rb +63 -0
- data/spec/models/get_security_checks_spec.rb +63 -0
- data/spec/models/get_security_compliance_spec.rb +63 -0
- data/spec/models/get_supported_saas_spec.rb +63 -0
- data/spec/models/get_system_logs_spec.rb +63 -0
- data/spec/models/get_system_users_spec.rb +63 -0
- data/spec/models/get_transaction_status_spec.rb +63 -0
- data/spec/models/get_user_inventory_spec.rb +63 -0
- data/spec/models/integration_a9d173a3bf93430f84054286043aa8e5_spec.rb +63 -0
- data/spec/models/integration_e95afa6fc5e04968b0e9d83e90042eca_spec.rb +87 -0
- data/spec/models/issue9a61d8c8ccac45858497af4786b275c7_spec.rb +57 -0
- data/spec/models/meta17335150dd1a4934a3a031a7b41e650b_spec.rb +63 -0
- data/spec/models/meta23005461ac9a41fbb4620fe4aa0a3438_spec.rb +63 -0
- data/spec/models/meta27c23ca116c1477bb85e765b5e09af69_spec.rb +63 -0
- data/spec/models/meta37a0d574ca884a2f8641e122e47a3ce9_spec.rb +63 -0
- data/spec/models/meta4f2b2e3bbfd74a7fb14e0ca86dd47d57_spec.rb +63 -0
- data/spec/models/meta4fda3fb731c54f5480750a508fa0142d_spec.rb +63 -0
- data/spec/models/meta536da5d66c054c69889a624cf1068900_spec.rb +63 -0
- data/spec/models/meta6dbc34e4022d4b5c9fe5785caf9801e7_spec.rb +63 -0
- data/spec/models/meta77f6bf58ba0045649e59a4655807a6ab_spec.rb +63 -0
- data/spec/models/meta9b68681eb9464c4e9612730248f519d6_spec.rb +63 -0
- data/spec/models/meta_c84ad721c6a841869874276dd0683cbb_spec.rb +63 -0
- data/spec/models/meta_d1db20ce08ad45b3987ead9035c153a9_spec.rb +63 -0
- data/spec/models/meta_d43679bfb5f448afa0899baa948533d1_spec.rb +63 -0
- data/spec/models/meta_e1df370799c7419d805c0f95b5d1ae90_spec.rb +63 -0
- data/spec/models/meta_e4ad714b314449299eca720f9d63b718_spec.rb +63 -0
- data/spec/models/meta_fb2fed2c461a4af583e5b3b790c82df1_spec.rb +63 -0
- data/spec/models/meta_fe9ab4e0124e4f0fb9946562895a2c78_spec.rb +63 -0
- data/spec/models/models_api_image_combined_export_spec.rb +24 -0
- data/spec/models/models_cluster_spec.rb +6 -0
- data/spec/models/models_config_info_type_spec.rb +99 -0
- data/spec/models/models_elf_binary_info_type_spec.rb +93 -0
- data/spec/models/models_he_string_file_info_type_spec.rb +69 -0
- data/spec/models/models_he_string_info_type_spec.rb +63 -0
- data/spec/models/models_image_info_type_spec.rb +117 -0
- data/spec/models/models_image_metadata_type_spec.rb +81 -0
- data/spec/models/models_inventory_engine_info_type_spec.rb +69 -0
- data/spec/models/models_inventory_scan_request_type_spec.rb +159 -0
- data/spec/models/models_inventory_type_spec.rb +135 -0
- data/spec/models/models_layer_info_type_spec.rb +93 -0
- data/spec/models/models_ml_model_type_spec.rb +93 -0
- data/spec/models/{domain_case_creation_request_spec.rb → models_scan_info_type_spec.rb} +12 -12
- data/spec/models/models_scan_request_type_spec.rb +117 -0
- data/spec/models/pagination033f3d78a056499b8f4877419a0ab636_spec.rb +75 -0
- data/spec/models/pagination080eaa160ef24b9ea15b29a7376520d1_spec.rb +75 -0
- data/spec/models/pagination10594326d99a4b3a8681178b13e58952_spec.rb +75 -0
- data/spec/models/pagination13aeb546de8049e7b3a1c36f9c93266b_spec.rb +75 -0
- data/spec/models/pagination210dcb9a1e7d4355aa68be7ec0fd01f5_spec.rb +75 -0
- data/spec/models/pagination30037a29e9404616b03177274ec26e23_spec.rb +75 -0
- data/spec/models/pagination3b8a127584ba4423a93eb7c8169b572b_spec.rb +75 -0
- data/spec/models/pagination3f3e43ffd8e64379931bdcb29aebc087_spec.rb +75 -0
- data/spec/models/pagination52f77164aafe4de6b6db6d957e7daa2d_spec.rb +75 -0
- data/spec/models/pagination548073ea1b2b436ba88a22f20220668f_spec.rb +75 -0
- data/spec/models/pagination5540128e40ad49718c1f4b4b5e4e558c_spec.rb +75 -0
- data/spec/models/pagination6447d6d09066458cbbaa67ba2e2337cc_spec.rb +75 -0
- data/spec/models/pagination9bacca2551f14ff5a7ca8bd9d42e3cd2_spec.rb +75 -0
- data/spec/models/pagination_d97a43983ded4cd7b949b22c9365f3ac_spec.rb +75 -0
- data/spec/models/pagination_f16542f2ce284253ae3ba96625cde422_spec.rb +75 -0
- data/spec/models/pagination_f3897127524749a8977efcf98f6fca21_spec.rb +75 -0
- data/spec/models/pagination_f6ab71b91d6246e0bd736cf3af5fad6e_spec.rb +75 -0
- data/spec/models/{types_query_result_spec.rb → quickscanpro_error_spec.rb} +8 -8
- data/spec/{api/handle_spec.rb → models/quickscanpro_meta_info_spec.rb} +12 -17
- data/spec/models/quickscanpro_scan_metadata_spec.rb +6 -0
- data/spec/models/rbac_cloud_group_spec.rb +75 -0
- data/spec/models/reason_result53b5512288cb4a35afeb08fb3232bc9a_spec.rb +51 -0
- data/spec/models/reason_result85bd120760ba447ea4ed7050227cea6d_spec.rb +51 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/releasenotes_release_note_v2_spec.rb +81 -0
- data/spec/models/releasenotes_release_note_wrapper_v2_spec.rb +63 -0
- data/spec/models/resources_cloud_resource_spec.rb +6 -0
- data/spec/models/resources_compliance_control_spec.rb +18 -0
- data/spec/models/{restapi_indicators_aggregates_request_spec.rb → restapi_indicators_lookup_request_spec.rb} +7 -7
- data/spec/models/{restapi_indicators_aggregates_response_spec.rb → restapi_lookup_indicator_response_spec.rb} +6 -6
- data/spec/models/schema2_manifest_spec.rb +69 -0
- data/spec/models/security_check_metrics4dc2138e50b94346aca29c17db424031_spec.rb +81 -0
- data/spec/models/security_check_with_compliance_fabac54a5b434140a3258784ea52cedd_spec.rb +183 -0
- data/spec/models/source1a19145b2d194d208fce893f033e7d77_spec.rb +69 -0
- data/spec/models/source_acb91d86550f449aa4b1b5310bf5ae84_spec.rb +69 -0
- data/spec/models/source_f8f9612cb66e48f38a21f3f6c9c90ce3_spec.rb +69 -0
- data/spec/models/status_breakdown_c9f65dddc40c4ce591a60ab63a17ab21_spec.rb +81 -0
- data/spec/models/supported_integration6399100b6064428e971df473366a4291_spec.rb +63 -0
- data/spec/models/system_log35829c828fcc41f99005750f1c86b16b_spec.rb +105 -0
- data/spec/models/system_user62e536308fad4c7f8f020fb76f162088_spec.rb +123 -0
- data/spec/models/types_query_request_spec.rb +6 -0
- data/spec/models/upload_data_request_spec.rb +51 -0
- data/spec/models/upload_data_response_spec.rb +63 -0
- data/spec/models/user_c59913813fcc4565a44e697480b8846b_spec.rb +141 -0
- data/spec/models/v1_history_spec.rb +75 -0
- data/spec/models/v1_image_config_spec.rb +105 -0
- data/spec/models/v1_image_spec.rb +105 -0
- data/spec/models/v1_platform_spec.rb +75 -0
- data/spec/models/v1_root_fs_spec.rb +57 -0
- data/spec/models/webhooktrigger_response_config_spec.rb +0 -6
- metadata +2343 -1902
- data/lib/crimson-falcon/api/datascanner.rb +0 -225
- data/lib/crimson-falcon/api/handle.rb +0 -94
@@ -49,6 +49,28 @@ describe 'CloudAzureRegistration' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
# unit tests for cloud_registration_azure_create_registration
|
53
|
+
# Create an Azure registration for a tenant.
|
54
|
+
# @param body
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @return [AzureAzureRegistrationResponseExtV1]
|
57
|
+
describe 'cloud_registration_azure_create_registration test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for cloud_registration_azure_delete_registration
|
64
|
+
# Deletes existing Azure registrations.
|
65
|
+
# @param tenant_ids Azure tenant IDs
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [AzureDeleteRegistrationResponseExtV1]
|
68
|
+
describe 'cloud_registration_azure_delete_registration test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
52
74
|
# unit tests for cloud_registration_azure_download_script
|
53
75
|
# Retrieve script to create resources
|
54
76
|
# @param body
|
@@ -60,4 +82,37 @@ describe 'CloudAzureRegistration' do
|
|
60
82
|
end
|
61
83
|
end
|
62
84
|
|
85
|
+
# unit tests for cloud_registration_azure_get_registration
|
86
|
+
# Retrieve existing Azure registration for a tenant.
|
87
|
+
# @param tenant_id Tenant ID
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [AzureAzureRegistrationResponseExtV1]
|
90
|
+
describe 'cloud_registration_azure_get_registration test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for cloud_registration_azure_update_registration
|
97
|
+
# Update an existing Azure registration for a tenant.
|
98
|
+
# @param body
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [AzureAzureRegistrationResponseExtV1]
|
101
|
+
describe 'cloud_registration_azure_update_registration test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for download_azure_script
|
108
|
+
# Download Azure deployment script (Terraform or Bicep)
|
109
|
+
# @param tenant_id Azure tenant ID
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @return [nil]
|
112
|
+
describe 'download_azure_script test' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
63
118
|
end
|
@@ -85,8 +85,8 @@ describe 'CloudOciRegistration' do
|
|
85
85
|
# unit tests for cloud_security_registration_oci_get_account
|
86
86
|
# Retrieve a list of OCI tenancies with support for FQL filtering, sorting, and pagination
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :filter FQL (Falcon Query Language) string for filtering results. Allowed filters are Set{overall_status, created_at, updated_at, tenancy_ocid, tenancy_name, home_region
|
89
|
-
# @option opts [String] :sort Field and direction for sorting results - allowed sort fields are Set{updated_at, tenancy_ocid, tenancy_name, home_region, key_age
|
88
|
+
# @option opts [String] :filter FQL (Falcon Query Language) string for filtering results. Allowed filters are Set{key_age, overall_status, created_at, updated_at, tenancy_ocid, tenancy_name, home_region}
|
89
|
+
# @option opts [String] :sort Field and direction for sorting results - allowed sort fields are Set{overall_status, created_at, updated_at, tenancy_ocid, tenancy_name, home_region, key_age}
|
90
90
|
# @option opts [String] :next_token Token for cursor-based pagination. Currently unsupported.
|
91
91
|
# @option opts [Integer] :limit Maximum number of records to return (default: 100, max: 10000)
|
92
92
|
# @option opts [Integer] :offset Starting index of result
|
@@ -52,7 +52,7 @@ describe 'CloudSecurityAssets' do
|
|
52
52
|
# unit tests for cloud_security_assets_combined_compliance_by_account
|
53
53
|
# Gets combined compliance data aggregated by account and region. Results can be filtered and sorted.
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
|
-
# @option opts [String] :filter FQL string to filter on asset contents. Filterable fields include: - `account_id` - `account_name` - `assessment_id` - `business_impact` - `cloud_group` - `cloud_label` - `cloud_label_id` - `cloud_provider` - `cloud_scope` - `compliant` - `control.benchmark.name` - `control.benchmark.version` - `control.framework` - `control.name` - `control.type` - `control.version` - `environment` - `last_evaluated` - `region` - `resource_provider` - `resource_type` - `resource_type_name` - `service` - `service_category` - `severities`
|
55
|
+
# @option opts [String] :filter FQL string to filter on asset contents. Filterable fields include: - `account_id` - `account_name` - `assessment_id` - `business_impact` - `cloud_group` - `cloud_label` - `cloud_label_id` - `cloud_provider` - `cloud_scope` - `compliant` - `control.benchmark.name` - `control.benchmark.version` - `control.framework` - `control.name` - `control.type` - `control.version` - `environment` - `last_evaluated` - `region` - `resource_provider` - `resource_type` - `resource_type_name` - `service` - `service_category` - `severities` - `tag_key` - `tag_value`
|
56
56
|
# @option opts [String] :sort Sort expression in format: field|direction (e.g., last_evaluated|desc). Allowed sort fields: - `account_id` - `account_name` - `assessment_id` - `cloud_provider` - `control.benchmark.name` - `control.benchmark.version` - `control.framework` - `control.name` - `control.type` - `control.version` - `last_evaluated` - `region` - `resource_counts.compliant` - `resource_counts.non_compliant` - `resource_counts.total` - `resource_provider` - `resource_type` - `resource_type_name` - `service` - `service_category`
|
57
57
|
# @option opts [Integer] :limit The maximum number of items to return. When not specified or 0, 20 is used. When larger than 10000, 10000 is used.
|
58
58
|
# @option opts [Integer] :offset Offset returned controls. 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
|
@@ -52,7 +52,7 @@ describe 'ContainerImageCompliance' do
|
|
52
52
|
# unit tests for ext_aggregate_cluster_assessments
|
53
53
|
# get the assessments for each cluster
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
55
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: compliance_finding.framework: Compliance finding framework (available values: CIS) cid: Customer ID cloud_info.cloud_account_id: Cloud account ID cloud_info.cloud_provider: Cloud provider cloud_info.cloud_region: Cloud region cloud_info.cluster_name: Kubernetes cluster name cloud_info.namespace: Kubernetes namespace
|
56
56
|
# @return [DomainAggregateClusterAssessmentsResponse]
|
57
57
|
describe 'ext_aggregate_cluster_assessments test' do
|
58
58
|
it 'should work' do
|
@@ -63,7 +63,7 @@ describe 'ContainerImageCompliance' do
|
|
63
63
|
# unit tests for ext_aggregate_failed_containers_by_rules_path
|
64
64
|
# get the containers grouped into rules on which they failed
|
65
65
|
# @param [Hash] opts the optional parameters
|
66
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
66
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) image_digest: Image digest (sha256 digest) image_id: Image ID image_tag: Image tag cloud_info.cloud_region: Cloud region image_registry: Image registry image_repository: Image repository cloud_info.cloud_account_id: Cloud account ID cloud_info.cloud_provider: Cloud provider compliance_finding.id: Compliance finding ID cloud_info.cluster_name: Kubernetes cluster name cloud_info.namespace: Kubernetes namespace cid: Customer ID compliance_finding.name: Compliance finding Name compliance_finding.framework: Compliance finding framework (available values: CIS)
|
67
67
|
# @return [DomainAggregateFailedAssetsByRulesResponse]
|
68
68
|
describe 'ext_aggregate_failed_containers_by_rules_path test' do
|
69
69
|
it 'should work' do
|
@@ -74,7 +74,7 @@ describe 'ContainerImageCompliance' do
|
|
74
74
|
# unit tests for ext_aggregate_failed_containers_count_by_severity
|
75
75
|
# get the failed containers count grouped into severity levels
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
77
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_provider: Cloud provider compliance_finding.id: Compliance finding ID cloud_info.cloud_region: Cloud region image_registry: Image registry image_digest: Image digest (sha256 digest) cloud_info.cluster_name: Kubernetes cluster name compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) compliance_finding.name: Compliance finding Name cloud_info.cloud_account_id: Cloud account ID image_id: Image ID image_repository: Image repository image_tag: Image tag compliance_finding.framework: Compliance finding framework (available values: CIS) cloud_info.namespace: Kubernetes namespace cid: Customer ID
|
78
78
|
# @return [DomainAggregateFailedAssetCountBySeverityResponse]
|
79
79
|
describe 'ext_aggregate_failed_containers_count_by_severity test' do
|
80
80
|
it 'should work' do
|
@@ -85,7 +85,7 @@ describe 'ContainerImageCompliance' do
|
|
85
85
|
# unit tests for ext_aggregate_failed_images_by_rules_path
|
86
86
|
# get the images grouped into rules on which they failed
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
88
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_account_id: Cloud account ID image_digest: Image digest (sha256 digest) compliance_finding.name: Compliance finding Name compliance_finding.id: Compliance finding ID image_repository: Image repository cloud_info.cloud_region: Cloud region compliance_finding.framework: Compliance finding framework (available values: CIS) cloud_info.namespace: Kubernetes namespace cloud_info.cloud_provider: Cloud provider image_id: Image ID image_registry: Image registry image_tag: Image tag cloud_info.cluster_name: Kubernetes cluster name compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) cid: Customer ID
|
89
89
|
# @return [DomainAggregateFailedAssetsByRulesResponse]
|
90
90
|
describe 'ext_aggregate_failed_images_by_rules_path test' do
|
91
91
|
it 'should work' do
|
@@ -96,7 +96,7 @@ describe 'ContainerImageCompliance' do
|
|
96
96
|
# unit tests for ext_aggregate_failed_images_count_by_severity
|
97
97
|
# get the failed images count grouped into severity levels
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_region: Cloud region
|
99
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cluster_name: Kubernetes cluster name cloud_info.cloud_region: Cloud region compliance_finding.name: Compliance finding Name image_tag: Image tag cloud_info.cloud_account_id: Cloud account ID compliance_finding.id: Compliance finding ID image_repository: Image repository image_digest: Image digest (sha256 digest) cloud_info.namespace: Kubernetes namespace cid: Customer ID image_registry: Image registry compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) cloud_info.cloud_provider: Cloud provider image_id: Image ID compliance_finding.framework: Compliance finding framework (available values: CIS)
|
100
100
|
# @return [DomainAggregateFailedAssetCountBySeverityResponse]
|
101
101
|
describe 'ext_aggregate_failed_images_count_by_severity test' do
|
102
102
|
it 'should work' do
|
@@ -107,7 +107,7 @@ describe 'ContainerImageCompliance' do
|
|
107
107
|
# unit tests for ext_aggregate_failed_rules_by_clusters
|
108
108
|
# get the failed rules for each cluster grouped into severity levels
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) cloud_info.
|
110
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_region: Cloud region image_digest: Image digest (sha256 digest) cid: Customer ID image_id: Image ID compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) cloud_info.cloud_account_id: Cloud account ID compliance_finding.id: Compliance finding ID cloud_info.cloud_provider: Cloud provider image_registry: Image registry cloud_info.cluster_name: Kubernetes cluster name image_tag: Image tag asset_type: asset type (container, image) image_repository: Image repository compliance_finding.framework: Compliance finding framework (available values: CIS) compliance_finding.name: Compliance finding Name
|
111
111
|
# @return [DomainAggregateFailedRulesByClustersResponse]
|
112
112
|
describe 'ext_aggregate_failed_rules_by_clusters test' do
|
113
113
|
it 'should work' do
|
@@ -118,7 +118,7 @@ describe 'ContainerImageCompliance' do
|
|
118
118
|
# unit tests for ext_aggregate_failed_rules_by_images
|
119
119
|
# get images with failed rules, rule count grouped by severity for each image
|
120
120
|
# @param [Hash] opts the optional parameters
|
121
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
121
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: image_registry: Image registry cloud_info.cloud_region: Cloud region compliance_finding.framework: Compliance finding framework (available values: CIS) compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) compliance_finding.name: Compliance finding Name image_id: Image ID cloud_info.cloud_provider: Cloud provider cloud_info.cluster_name: Kubernetes cluster name cid: Customer ID asset_type: asset type (container, image) compliance_finding.id: Compliance finding ID cloud_info.cloud_account_id: Cloud account ID image_digest: Image digest (sha256 digest) cloud_info.namespace: Kubernetes namespace image_repository: Image repository image_tag: Image tag
|
122
122
|
# @return [DomainAggregateFailedRulesByImagesResponse]
|
123
123
|
describe 'ext_aggregate_failed_rules_by_images test' do
|
124
124
|
it 'should work' do
|
@@ -129,7 +129,7 @@ describe 'ContainerImageCompliance' do
|
|
129
129
|
# unit tests for ext_aggregate_failed_rules_count_by_severity
|
130
130
|
# get the failed rules count grouped into severity levels
|
131
131
|
# @param [Hash] opts the optional parameters
|
132
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: compliance_finding.
|
132
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_region: Cloud region compliance_finding.name: Compliance finding Name image_repository: Image repository image_digest: Image digest (sha256 digest) cloud_info.cluster_name: Kubernetes cluster name compliance_finding.framework: Compliance finding framework (available values: CIS) asset_type: asset type (container, image) image_id: Image ID cloud_info.cloud_account_id: Cloud account ID compliance_finding.id: Compliance finding ID compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) cid: Customer ID image_registry: Image registry image_tag: Image tag cloud_info.cloud_provider: Cloud provider
|
133
133
|
# @return [DomainAggregateFailedRulesCountBySeverityResponse]
|
134
134
|
describe 'ext_aggregate_failed_rules_count_by_severity test' do
|
135
135
|
it 'should work' do
|
@@ -140,7 +140,7 @@ describe 'ContainerImageCompliance' do
|
|
140
140
|
# unit tests for ext_aggregate_image_assessments
|
141
141
|
# get the assessments for each image
|
142
142
|
# @param [Hash] opts the optional parameters
|
143
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
143
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: image_digest: Image digest (sha256 digest) image_id: Image ID cloud_info.cloud_region: Cloud region compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) compliance_finding.id: Compliance finding ID cloud_info.cluster_name: Kubernetes cluster name cloud_info.namespace: Kubernetes namespace asset_type: asset type (container, image) image_registry: Image registry cloud_info.cloud_provider: Cloud provider image_tag: Image tag cloud_info.cloud_account_id: Cloud account ID compliance_finding.framework: Compliance finding framework (available values: CIS) compliance_finding.name: Compliance finding Name cid: Customer ID image_repository: Image repository
|
144
144
|
# @option opts [String] :after 'after' value from the last response. Keep it empty for the first request.
|
145
145
|
# @option opts [String] :limit number of images to return in the response after 'after' key. Keep it empty for the default number of 10000
|
146
146
|
# @return [DomainAggregateImageAssessmentsResponse]
|
@@ -153,7 +153,7 @@ describe 'ContainerImageCompliance' do
|
|
153
153
|
# unit tests for ext_aggregate_rules_assessments
|
154
154
|
# get the assessments for each rule
|
155
155
|
# @param [Hash] opts the optional parameters
|
156
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: compliance_finding.
|
156
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: cloud_info.cloud_account_id: Cloud account ID compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) compliance_finding.name: Compliance finding Name image_tag: Image tag cloud_info.cloud_region: Cloud region cid: Customer ID image_registry: Image registry image_digest: Image digest (sha256 digest) compliance_finding.id: Compliance finding ID image_repository: Image repository compliance_finding.framework: Compliance finding framework (available values: CIS) cloud_info.cluster_name: Kubernetes cluster name cloud_info.cloud_provider: Cloud provider image_id: Image ID
|
157
157
|
# @return [DomainAggregateRulesAssessmentsResponse]
|
158
158
|
describe 'ext_aggregate_rules_assessments test' do
|
159
159
|
it 'should work' do
|
@@ -164,7 +164,7 @@ describe 'ContainerImageCompliance' do
|
|
164
164
|
# unit tests for ext_aggregate_rules_by_status
|
165
165
|
# get the rules grouped by their statuses
|
166
166
|
# @param [Hash] opts the optional parameters
|
167
|
-
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters:
|
167
|
+
# @option opts [String] :filter Filter results using a query in Falcon Query Language (FQL). Supported Filters: image_registry: Image registry image_repository: Image repository image_tag: Image tag cloud_info.cloud_provider: Cloud provider compliance_finding.id: Compliance finding ID image_id: Image ID cid: Customer ID compliance_finding.framework: Compliance finding framework (available values: CIS) compliance_finding.severity: Compliance finding severity; available values: 4, 3, 2, 1 (4: critical, 3: high, 2: medium, 1:low) container_id: Container ID cloud_info.cloud_account_id: Cloud account ID compliance_finding.name: Compliance finding Name cloud_info.cloud_region: Cloud region cloud_info.cluster_name: Kubernetes cluster name image_digest: Image digest (sha256 digest) container_name: Container name asset_type: asset type (container, image)
|
168
168
|
# @return [DomainAggregateRulesByStatusResponse]
|
169
169
|
describe 'ext_aggregate_rules_by_status test' do
|
170
170
|
it 'should work' do
|
@@ -198,6 +198,18 @@ describe 'CspmRegistration' do
|
|
198
198
|
end
|
199
199
|
end
|
200
200
|
|
201
|
+
# unit tests for get_cloud_event_ids
|
202
|
+
# Get list of related cloud event LogScale IDs for a given IOA
|
203
|
+
# @param x_cs_useruuid Requester User UUID
|
204
|
+
# @param id IOA Aggregate Event ID
|
205
|
+
# @param [Hash] opts the optional parameters
|
206
|
+
# @return [CdrioamanagerGetCloudEventIDsResponse]
|
207
|
+
describe 'get_cloud_event_ids test' do
|
208
|
+
it 'should work' do
|
209
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
201
213
|
# unit tests for get_configuration_detection_entities
|
202
214
|
# Get misconfigurations based on the ID - including custom policy detections in addition to default policy detections.
|
203
215
|
# @param ids detection ids
|
data/spec/api/default_spec.rb
CHANGED
@@ -49,17 +49,6 @@ describe 'Default' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# unit tests for get_rules_metadata_by_id
|
53
|
-
# Retrieve detailed compliance rule information including descriptions, remediation steps, and audit procedures by specifying rule identifiers.
|
54
|
-
# @param ids comma separated list of rule ids
|
55
|
-
# @param [Hash] opts the optional parameters
|
56
|
-
# @return [DomainRuleMetadataResponse]
|
57
|
-
describe 'get_rules_metadata_by_id test' do
|
58
|
-
it 'should work' do
|
59
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
52
|
# unit tests for post_graphql_query_mixin0
|
64
53
|
# - request graphql query
|
65
54
|
# @param [Hash] opts the optional parameters
|
@@ -188,4 +188,18 @@ describe 'ExposureManagement' do
|
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
|
+
# unit tests for query_external_assets_v2
|
192
|
+
# Get a list of external asset IDs that match the provided filter conditions. Use these IDs with the /entities/external-assets/v1 endpoint
|
193
|
+
# @param [Hash] opts the optional parameters
|
194
|
+
# @option opts [String] :after A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results.
|
195
|
+
# @option opts [Integer] :limit number of IDs to return.
|
196
|
+
# @option opts [String] :sort Order by fields.
|
197
|
+
# @option opts [String] :filter Filter assets using an FQL query. Common filter options include:<ul><li>asset_type:'ip'</li><li>last_seen_timestamp:>'now-7d'</li></ul> </br>Available filter fields that support exact match: asset_id, asset_type, confidence, connectivity_status, criticality, criticality_description, criticality_timestamp, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.resolved_ips, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.hosting_provider, dns_domain.services.last_seen, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, first_seen, id, internet_exposure, ip.asn, ip.cloud_provider, ip.cloud_vm.description, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.ip_address, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.first_seen, ip.services.last_seen, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, last_seen, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by, triage.updated_timestamp </br>Available filter fields that supports wildcard (*): asset_id, asset_type, confidence, connectivity_status, criticality, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.resolved_ips, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.hosting_provider, dns_domain.services.id, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, id, internet_exposure, ip.asn, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.ip_address, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by </br>Available filter fields that supports in ([v1, v2]): asset_id, asset_type, confidence, connectivity_status, criticality, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.id, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, id, internet_exposure, ip.asn, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by </br>Available filter fields that supports range comparisons (>, <, >=, <=): criticality_timestamp, dns_domain.resolved_ips, dns_domain.services.first_seen, dns_domain.services.last_seen, dns_domain.services.port, dns_domain.services.status_code, first_seen, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.ip_address, ip.services.first_seen, ip.services.last_seen, ip.services.port, ip.services.status_code, last_seen, triage.updated_timestamp </br>All filter fields and operations supports negation (!).
|
198
|
+
# @return [DomainDiscoverAPIResponse]
|
199
|
+
describe 'query_external_assets_v2 test' do
|
200
|
+
it 'should work' do
|
201
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
191
205
|
end
|
@@ -50,7 +50,7 @@ describe 'FalconCompleteDashboard' do
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# unit tests for aggregate_alerts
|
53
|
-
# Retrieve aggregate alerts values based on the matched filter
|
53
|
+
# Retrieve aggregate epp alerts values based on the matched filter
|
54
54
|
# @param body
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
56
|
# @return [MsaAggregatesResponse]
|
@@ -197,7 +197,7 @@ describe 'FalconCompleteDashboard' do
|
|
197
197
|
end
|
198
198
|
|
199
199
|
# unit tests for query_alert_ids_by_filter
|
200
|
-
# Retrieve Alerts Ids that match the provided FQL filter criteria with scrolling enabled
|
200
|
+
# Retrieve Alerts Ids for epp that match the provided FQL filter criteria with scrolling enabled
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
202
|
# @option opts [Integer] :limit The maximum records to return. [1-500]
|
203
203
|
# @option opts [String] :sort The property to sort on, followed by a dot (.), followed by the sort direction, either \"asc\" or \"desc\".
|
@@ -210,6 +210,20 @@ describe 'FalconCompleteDashboard' do
|
|
210
210
|
end
|
211
211
|
end
|
212
212
|
|
213
|
+
# unit tests for query_alert_ids_by_filter_v2
|
214
|
+
# Retrieve Alerts Ids for epp, idp and ngsiem that match the provided FQL filter criteria with scrolling enabled
|
215
|
+
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [Integer] :limit The maximum records to return. [1-500]
|
217
|
+
# @option opts [String] :sort The property to sort on, followed by a dot (.), followed by the sort direction, either \"asc\" or \"desc\".
|
218
|
+
# @option opts [String] :filter Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
|
219
|
+
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
220
|
+
# @return [MsaspecQueryResponse]
|
221
|
+
describe 'query_alert_ids_by_filter_v2 test' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
213
227
|
# unit tests for query_allow_list_filter
|
214
228
|
# Retrieve allowlist tickets that match the provided filter criteria with scrolling enabled
|
215
229
|
# @param [Hash] opts the optional parameters
|
@@ -82,6 +82,16 @@ describe 'FalconContainerImage' do
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
+
# unit tests for head_image_scan_inventory
|
86
|
+
# Get headers for POST request for image scan inventory
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [nil]
|
89
|
+
describe 'head_image_scan_inventory test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
85
95
|
# unit tests for launch_export_job
|
86
96
|
# Launch an export job of a Container Security resource. Maximum of 1 job in progress per resource
|
87
97
|
# @param body Supported resources: - `assets.clusters` - `assets.containers` - `assets.deployments` - `assets.images` - `assets.namespaces` - `assets.nodes` - `assets.pods` - `images.images-assessment-detections-expanded` - `images.images-assessment-expanded` - `images.images-assessment-vulnerabilities-expanded` - `images.images-assessment` - `images.images-detections` - `images.packages` - `images.vulnerabilities` - `investigate.container-alerts` - `investigate.drift-indicators` - `investigate.kubernetes-ioms` - `investigate.runtime-detections` - `investigate.unidentified-containers` - `network.events` - `policies.exclusions`
|
@@ -93,6 +103,17 @@ describe 'FalconContainerImage' do
|
|
93
103
|
end
|
94
104
|
end
|
95
105
|
|
106
|
+
# unit tests for post_image_scan_inventory
|
107
|
+
# Post image scan inventory
|
108
|
+
# @param body
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [nil]
|
111
|
+
describe 'post_image_scan_inventory test' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
96
117
|
# unit tests for query_export_jobs
|
97
118
|
# Query export jobs entities
|
98
119
|
# @param [Hash] opts the optional parameters
|
@@ -0,0 +1,102 @@
|
|
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 'spec_helper'
|
31
|
+
require 'json'
|
32
|
+
|
33
|
+
# Unit tests for Falcon::IntegrationBuilder
|
34
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
35
|
+
# Please update as you see appropriate
|
36
|
+
describe 'IntegrationBuilder' do
|
37
|
+
before(:all) do
|
38
|
+
# run before each test
|
39
|
+
@api_instance = Falcon::IntegrationBuilder.new
|
40
|
+
end
|
41
|
+
|
42
|
+
after(:all) do
|
43
|
+
# run after each test
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test an instance of IntegrationBuilder' do
|
47
|
+
it 'should create an instance of IntegrationBuilder' do
|
48
|
+
expect(@api_instance).to be_instance_of(Falcon::IntegrationBuilder)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# unit tests for integration_builder_end_transaction_v3
|
53
|
+
# POST Data Upload Transaction Completion
|
54
|
+
# Make a close transaction call after uploading the data
|
55
|
+
# @param id Integration ID
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [GetEndTransaction]
|
58
|
+
describe 'integration_builder_end_transaction_v3 test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for integration_builder_get_status_v3
|
65
|
+
# GET Status
|
66
|
+
# Get transaction status for a custom integration
|
67
|
+
# @param id Integration ID
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [GetTransactionStatus]
|
70
|
+
describe 'integration_builder_get_status_v3 test' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for integration_builder_reset_v3
|
77
|
+
# Reset
|
78
|
+
# Make a reset call to a custom integration
|
79
|
+
# @param id Integration ID
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [GetTransactionStatus]
|
82
|
+
describe 'integration_builder_reset_v3 test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for integration_builder_upload_v3
|
89
|
+
# POST Upload
|
90
|
+
# Send data to a specific source in a custom integration
|
91
|
+
# @param id Integration ID
|
92
|
+
# @param source_id Source ID
|
93
|
+
# @param data
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [UploadDataResponse]
|
96
|
+
describe 'integration_builder_upload_v3 test' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
end
|
data/spec/api/intel_spec.rb
CHANGED
@@ -325,6 +325,22 @@ describe 'Intel' do
|
|
325
325
|
end
|
326
326
|
end
|
327
327
|
|
328
|
+
# unit tests for query_malware_entities
|
329
|
+
# Get malware entities that match provided FQL filters.
|
330
|
+
# @param [Hash] opts the optional parameters
|
331
|
+
# @option opts [Integer] :offset Set the starting row number to return malware IDs from. Defaults to 0.
|
332
|
+
# @option opts [Integer] :limit Set the number of malware IDs to return. The value must be between 1 and 5000.
|
333
|
+
# @option opts [String] :sort Order fields in ascending or descending order. Ex: created_date|asc.
|
334
|
+
# @option opts [String] :filter Filter your query by specifying FQL filter parameters.
|
335
|
+
# @option opts [String] :q Perform a generic substring search across all fields.
|
336
|
+
# @option opts [Array<String>] :fields The fields to return
|
337
|
+
# @return [DomainMalwareResponse]
|
338
|
+
describe 'query_malware_entities test' do
|
339
|
+
it 'should work' do
|
340
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
328
344
|
# unit tests for query_mitre_attacks
|
329
345
|
# Gets MITRE tactics and techniques for the given actor, returning concatenation of id and tactic and technique ids, example: fancy-bear_TA0011_T1071
|
330
346
|
# @param [Hash] opts the optional parameters
|
@@ -49,12 +49,13 @@ describe 'IntelligenceIndicatorGraph' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# unit tests for
|
53
|
-
# Get
|
52
|
+
# unit tests for lookup_indicators
|
53
|
+
# Get indicators based on their value.
|
54
|
+
# Look up intelligence data for multiple indicators. Supports various indicator types including domains, IP addresses, and file hashes (MD5, SHA1, SHA256). Provide up to 100 indicators in a single request.
|
54
55
|
# @param body
|
55
56
|
# @param [Hash] opts the optional parameters
|
56
|
-
# @return [
|
57
|
-
describe '
|
57
|
+
# @return [RestapiLookupIndicatorResponse]
|
58
|
+
describe 'lookup_indicators test' do
|
58
59
|
it 'should work' do
|
59
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
60
61
|
end
|
@@ -64,6 +65,8 @@ describe 'IntelligenceIndicatorGraph' do
|
|
64
65
|
# Search indicators based on FQL filter.
|
65
66
|
# @param body
|
66
67
|
# @param [Hash] opts the optional parameters
|
68
|
+
# @option opts [String] :sort Parameter to specify the order(field examples: FileDetails.SHA256, URLDetails.URL, PublishDate, MaliciousConfidence) Ex: 'PublishDate|asc'.
|
69
|
+
# @option opts [String] :filter FQL query specifying the filter parameters.
|
67
70
|
# @option opts [Integer] :limit Limit
|
68
71
|
# @option opts [String] :offset Offset
|
69
72
|
# @return [RestapiIndicatorResponse]
|
@@ -30,53 +30,53 @@ SOFTWARE.
|
|
30
30
|
require 'spec_helper'
|
31
31
|
require 'json'
|
32
32
|
|
33
|
-
# Unit tests for Falcon::
|
33
|
+
# Unit tests for Falcon::Inventories
|
34
34
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
35
35
|
# Please update as you see appropriate
|
36
|
-
describe '
|
36
|
+
describe 'Inventories' do
|
37
37
|
before(:all) do
|
38
38
|
# run before each test
|
39
|
-
@api_instance = Falcon::
|
39
|
+
@api_instance = Falcon::Inventories.new
|
40
40
|
end
|
41
41
|
|
42
42
|
after(:all) do
|
43
43
|
# run after each test
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test an instance of
|
47
|
-
it 'should create an instance of
|
48
|
-
expect(@api_instance).to be_instance_of(Falcon::
|
46
|
+
describe 'test an instance of Inventories' do
|
47
|
+
it 'should create an instance of Inventories' do
|
48
|
+
expect(@api_instance).to be_instance_of(Falcon::Inventories)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# unit tests for
|
53
|
-
#
|
54
|
-
#
|
52
|
+
# unit tests for get_device_inventory_v3
|
53
|
+
# GET Device Inventory
|
54
|
+
# Get a list of all devices
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
|
-
# @
|
57
|
-
|
56
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
57
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
58
|
+
# @option opts [Integer] :offset The starting index of the results
|
59
|
+
# @option opts [String] :email Email
|
60
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
61
|
+
# @option opts [Boolean] :unassociated_devices Unassociated Devices
|
62
|
+
# @return [GetDeviceInventory]
|
63
|
+
describe 'get_device_inventory_v3 test' do
|
58
64
|
it 'should work' do
|
59
65
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
60
66
|
end
|
61
67
|
end
|
62
68
|
|
63
|
-
# unit tests for
|
64
|
-
#
|
69
|
+
# unit tests for get_user_inventory_v3
|
70
|
+
# GET User Inventory
|
71
|
+
# Get a list of all users
|
65
72
|
# @param [Hash] opts the optional parameters
|
66
|
-
# @
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
# unit tests for update_data_scanner_tasks
|
74
|
-
# - PatchDataScannerTasks is a route for the data scanner to report back on tasks statuses
|
75
|
-
# @param x_scanner_id ID of the data scanner
|
76
|
-
# @param x_machine_id Provider ID of machine
|
77
|
-
# @param [Hash] opts the optional parameters
|
78
|
-
# @return [Hash<String, String>]
|
79
|
-
describe 'update_data_scanner_tasks test' do
|
73
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
74
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
75
|
+
# @option opts [Integer] :offset The starting index of the results
|
76
|
+
# @option opts [String] :email Email
|
77
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
78
|
+
# @return [GetUserInventory]
|
79
|
+
describe 'get_user_inventory_v3 test' do
|
80
80
|
it 'should work' do
|
81
81
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
82
82
|
end
|
@@ -158,4 +158,15 @@ describe 'KubernetesContainerCompliance' do
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
|
+
# unit tests for get_rules_metadata_by_id
|
162
|
+
# Retrieve detailed compliance rule information including descriptions, remediation steps, and audit procedures by specifying rule identifiers.
|
163
|
+
# @param ids comma separated list of rule ids
|
164
|
+
# @param [Hash] opts the optional parameters
|
165
|
+
# @return [DomainRuleMetadataResponse]
|
166
|
+
describe 'get_rules_metadata_by_id test' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
161
172
|
end
|