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
@@ -0,0 +1,186 @@
|
|
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 Inventories
|
34
|
+
attr_accessor :api_client
|
35
|
+
|
36
|
+
def initialize(api_client = ApiClient.default)
|
37
|
+
@api_client = api_client
|
38
|
+
end
|
39
|
+
# GET Device Inventory
|
40
|
+
# Get a list of all devices
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
43
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
44
|
+
# @option opts [Integer] :offset The starting index of the results
|
45
|
+
# @option opts [String] :email Email
|
46
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
47
|
+
# @option opts [Boolean] :unassociated_devices Unassociated Devices
|
48
|
+
# @return [GetDeviceInventory]
|
49
|
+
def get_device_inventory_v3(opts = {})
|
50
|
+
data, _status_code, _headers = get_device_inventory_v3_with_http_info(opts)
|
51
|
+
data
|
52
|
+
end
|
53
|
+
|
54
|
+
# GET Device Inventory
|
55
|
+
# Get a list of all devices
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
58
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
59
|
+
# @option opts [Integer] :offset The starting index of the results
|
60
|
+
# @option opts [String] :email Email
|
61
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
62
|
+
# @option opts [Boolean] :unassociated_devices Unassociated Devices
|
63
|
+
# @return [Array<(GetDeviceInventory, Integer, Hash)>] GetDeviceInventory data, response status code and response headers
|
64
|
+
def get_device_inventory_v3_with_http_info(opts = {})
|
65
|
+
if @api_client.config.debugging
|
66
|
+
@api_client.config.logger.debug 'Calling API: Inventories.get_device_inventory_v3 ...'
|
67
|
+
end
|
68
|
+
# resource path
|
69
|
+
local_var_path = '/saas-security/entities/devices/v3'
|
70
|
+
|
71
|
+
# query parameters
|
72
|
+
query_params = opts[:query_params] || {}
|
73
|
+
query_params[:'integration_id'] = opts[:'integration_id'] if !opts[:'integration_id'].nil?
|
74
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
75
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
|
+
query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
|
77
|
+
query_params[:'privileged_only'] = opts[:'privileged_only'] if !opts[:'privileged_only'].nil?
|
78
|
+
query_params[:'unassociated_devices'] = opts[:'unassociated_devices'] if !opts[:'unassociated_devices'].nil?
|
79
|
+
|
80
|
+
# header parameters
|
81
|
+
header_params = opts[:header_params] || {}
|
82
|
+
# HTTP header 'Accept' (if needed)
|
83
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
84
|
+
|
85
|
+
# form parameters
|
86
|
+
form_params = opts[:form_params] || {}
|
87
|
+
|
88
|
+
# http body (model)
|
89
|
+
post_body = opts[:debug_body]
|
90
|
+
|
91
|
+
# return_type
|
92
|
+
return_type = opts[:debug_return_type] || 'GetDeviceInventory'
|
93
|
+
|
94
|
+
# auth_names
|
95
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
96
|
+
|
97
|
+
new_options = opts.merge(
|
98
|
+
:operation => :"Inventories.get_device_inventory_v3",
|
99
|
+
:header_params => header_params,
|
100
|
+
:query_params => query_params,
|
101
|
+
:form_params => form_params,
|
102
|
+
:body => post_body,
|
103
|
+
:auth_names => auth_names,
|
104
|
+
:return_type => return_type
|
105
|
+
)
|
106
|
+
|
107
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
108
|
+
if @api_client.config.debugging
|
109
|
+
@api_client.config.logger.debug "API called: Inventories#get_device_inventory_v3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
110
|
+
end
|
111
|
+
return data, status_code, headers
|
112
|
+
end
|
113
|
+
|
114
|
+
# GET User Inventory
|
115
|
+
# Get a list of all users
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
118
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
119
|
+
# @option opts [Integer] :offset The starting index of the results
|
120
|
+
# @option opts [String] :email Email
|
121
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
122
|
+
# @return [GetUserInventory]
|
123
|
+
def get_user_inventory_v3(opts = {})
|
124
|
+
data, _status_code, _headers = get_user_inventory_v3_with_http_info(opts)
|
125
|
+
data
|
126
|
+
end
|
127
|
+
|
128
|
+
# GET User Inventory
|
129
|
+
# Get a list of all users
|
130
|
+
# @param [Hash] opts the optional parameters
|
131
|
+
# @option opts [String] :integration_id Comma separated integration ID's
|
132
|
+
# @option opts [Integer] :limit The maximum number of objects to return
|
133
|
+
# @option opts [Integer] :offset The starting index of the results
|
134
|
+
# @option opts [String] :email Email
|
135
|
+
# @option opts [Boolean] :privileged_only Privileged Only
|
136
|
+
# @return [Array<(GetUserInventory, Integer, Hash)>] GetUserInventory data, response status code and response headers
|
137
|
+
def get_user_inventory_v3_with_http_info(opts = {})
|
138
|
+
if @api_client.config.debugging
|
139
|
+
@api_client.config.logger.debug 'Calling API: Inventories.get_user_inventory_v3 ...'
|
140
|
+
end
|
141
|
+
# resource path
|
142
|
+
local_var_path = '/saas-security/entities/users/v3'
|
143
|
+
|
144
|
+
# query parameters
|
145
|
+
query_params = opts[:query_params] || {}
|
146
|
+
query_params[:'integration_id'] = opts[:'integration_id'] if !opts[:'integration_id'].nil?
|
147
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
148
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
149
|
+
query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
|
150
|
+
query_params[:'privileged_only'] = opts[:'privileged_only'] if !opts[:'privileged_only'].nil?
|
151
|
+
|
152
|
+
# header parameters
|
153
|
+
header_params = opts[:header_params] || {}
|
154
|
+
# HTTP header 'Accept' (if needed)
|
155
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
156
|
+
|
157
|
+
# form parameters
|
158
|
+
form_params = opts[:form_params] || {}
|
159
|
+
|
160
|
+
# http body (model)
|
161
|
+
post_body = opts[:debug_body]
|
162
|
+
|
163
|
+
# return_type
|
164
|
+
return_type = opts[:debug_return_type] || 'GetUserInventory'
|
165
|
+
|
166
|
+
# auth_names
|
167
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
168
|
+
|
169
|
+
new_options = opts.merge(
|
170
|
+
:operation => :"Inventories.get_user_inventory_v3",
|
171
|
+
:header_params => header_params,
|
172
|
+
:query_params => query_params,
|
173
|
+
:form_params => form_params,
|
174
|
+
:body => post_body,
|
175
|
+
:auth_names => auth_names,
|
176
|
+
:return_type => return_type
|
177
|
+
)
|
178
|
+
|
179
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
180
|
+
if @api_client.config.debugging
|
181
|
+
@api_client.config.logger.debug "API called: Inventories#get_user_inventory_v3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
182
|
+
end
|
183
|
+
return data, status_code, headers
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
@@ -587,5 +587,67 @@ module Falcon
|
|
587
587
|
end
|
588
588
|
return data, status_code, headers
|
589
589
|
end
|
590
|
+
|
591
|
+
# Retrieve detailed compliance rule information including descriptions, remediation steps, and audit procedures by specifying rule identifiers.
|
592
|
+
# @param ids [Array<String>] comma separated list of rule ids
|
593
|
+
# @param [Hash] opts the optional parameters
|
594
|
+
# @return [DomainRuleMetadataResponse]
|
595
|
+
def get_rules_metadata_by_id(ids, opts = {})
|
596
|
+
data, _status_code, _headers = get_rules_metadata_by_id_with_http_info(ids, opts)
|
597
|
+
data
|
598
|
+
end
|
599
|
+
|
600
|
+
# Retrieve detailed compliance rule information including descriptions, remediation steps, and audit procedures by specifying rule identifiers.
|
601
|
+
# @param ids [Array<String>] comma separated list of rule ids
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @return [Array<(DomainRuleMetadataResponse, Integer, Hash)>] DomainRuleMetadataResponse data, response status code and response headers
|
604
|
+
def get_rules_metadata_by_id_with_http_info(ids, opts = {})
|
605
|
+
if @api_client.config.debugging
|
606
|
+
@api_client.config.logger.debug 'Calling API: KubernetesContainerCompliance.get_rules_metadata_by_id ...'
|
607
|
+
end
|
608
|
+
# verify the required parameter 'ids' is set
|
609
|
+
if @api_client.config.client_side_validation && ids.nil?
|
610
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesContainerCompliance.get_rules_metadata_by_id"
|
611
|
+
end
|
612
|
+
# resource path
|
613
|
+
local_var_path = '/container-compliance/combined/rule-details-by-rule-ids/v1'
|
614
|
+
|
615
|
+
# query parameters
|
616
|
+
query_params = opts[:query_params] || {}
|
617
|
+
query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
|
618
|
+
|
619
|
+
# header parameters
|
620
|
+
header_params = opts[:header_params] || {}
|
621
|
+
# HTTP header 'Accept' (if needed)
|
622
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
623
|
+
|
624
|
+
# form parameters
|
625
|
+
form_params = opts[:form_params] || {}
|
626
|
+
|
627
|
+
# http body (model)
|
628
|
+
post_body = opts[:debug_body]
|
629
|
+
|
630
|
+
# return_type
|
631
|
+
return_type = opts[:debug_return_type] || 'DomainRuleMetadataResponse'
|
632
|
+
|
633
|
+
# auth_names
|
634
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
635
|
+
|
636
|
+
new_options = opts.merge(
|
637
|
+
:operation => :"KubernetesContainerCompliance.get_rules_metadata_by_id",
|
638
|
+
:header_params => header_params,
|
639
|
+
:query_params => query_params,
|
640
|
+
:form_params => form_params,
|
641
|
+
:body => post_body,
|
642
|
+
:auth_names => auth_names,
|
643
|
+
:return_type => return_type
|
644
|
+
)
|
645
|
+
|
646
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
647
|
+
if @api_client.config.debugging
|
648
|
+
@api_client.config.logger.debug "API called: KubernetesContainerCompliance#get_rules_metadata_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
649
|
+
end
|
650
|
+
return data, status_code, headers
|
651
|
+
end
|
590
652
|
end
|
591
653
|
end
|
@@ -1930,6 +1930,7 @@ module Falcon
|
|
1930
1930
|
# @param [Hash] opts the optional parameters
|
1931
1931
|
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
|
1932
1932
|
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1933
|
+
# @option opts [String] :filter Retrieve count of Kubernetes container image registries that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `ai_related` - `allow_privilege_escalation` - `app_name` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_id` - `container_name` - `cve_id` - `detection_name` - `first_seen` - `image_detection_count` - `image_digest` - `image_has_been_assessed` - `image_id` - `image_registry` - `image_repository` - `image_tag` - `image_vulnerability_count` - `insecure_mount_source` - `insecure_mount_type` - `insecure_propagation_mode` - `interactive_mode` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `package_name_version` - `pod_id` - `pod_name` - `port` - `privileged` - `root_write_access` - `run_as_root_group` - `run_as_root_user` - `running_status`
|
1933
1934
|
# @return [ModelsAPIFilterResponse]
|
1934
1935
|
def read_container_count_by_registry(opts = {})
|
1935
1936
|
data, _status_code, _headers = read_container_count_by_registry_with_http_info(opts)
|
@@ -1940,6 +1941,7 @@ module Falcon
|
|
1940
1941
|
# @param [Hash] opts the optional parameters
|
1941
1942
|
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
|
1942
1943
|
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1944
|
+
# @option opts [String] :filter Retrieve count of Kubernetes container image registries that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `ai_related` - `allow_privilege_escalation` - `app_name` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_id` - `container_name` - `cve_id` - `detection_name` - `first_seen` - `image_detection_count` - `image_digest` - `image_has_been_assessed` - `image_id` - `image_registry` - `image_repository` - `image_tag` - `image_vulnerability_count` - `insecure_mount_source` - `insecure_mount_type` - `insecure_propagation_mode` - `interactive_mode` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `package_name_version` - `pod_id` - `pod_name` - `port` - `privileged` - `root_write_access` - `run_as_root_group` - `run_as_root_user` - `running_status`
|
1943
1945
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
1944
1946
|
def read_container_count_by_registry_with_http_info(opts = {})
|
1945
1947
|
if @api_client.config.debugging
|
@@ -1952,6 +1954,7 @@ module Falcon
|
|
1952
1954
|
query_params = opts[:query_params] || {}
|
1953
1955
|
query_params[:'under_assessment'] = opts[:'under_assessment'] if !opts[:'under_assessment'].nil?
|
1954
1956
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1957
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1955
1958
|
|
1956
1959
|
# header parameters
|
1957
1960
|
header_params = opts[:header_params] || {}
|
@@ -313,72 +313,6 @@ module Falcon
|
|
313
313
|
return data, status_code, headers
|
314
314
|
end
|
315
315
|
|
316
|
-
# create a new case
|
317
|
-
# @param body [DomainCaseCreationRequest]
|
318
|
-
# @param [Hash] opts the optional parameters
|
319
|
-
# @return [MsaReplyAffectedEntities]
|
320
|
-
def create_case(body, opts = {})
|
321
|
-
data, _status_code, _headers = create_case_with_http_info(body, opts)
|
322
|
-
data
|
323
|
-
end
|
324
|
-
|
325
|
-
# create a new case
|
326
|
-
# @param body [DomainCaseCreationRequest]
|
327
|
-
# @param [Hash] opts the optional parameters
|
328
|
-
# @return [Array<(MsaReplyAffectedEntities, Integer, Hash)>] MsaReplyAffectedEntities data, response status code and response headers
|
329
|
-
def create_case_with_http_info(body, opts = {})
|
330
|
-
if @api_client.config.debugging
|
331
|
-
@api_client.config.logger.debug 'Calling API: MessageCenter.create_case ...'
|
332
|
-
end
|
333
|
-
# verify the required parameter 'body' is set
|
334
|
-
if @api_client.config.client_side_validation && body.nil?
|
335
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling MessageCenter.create_case"
|
336
|
-
end
|
337
|
-
# resource path
|
338
|
-
local_var_path = '/message-center/entities/case/v1'
|
339
|
-
|
340
|
-
# query parameters
|
341
|
-
query_params = opts[:query_params] || {}
|
342
|
-
|
343
|
-
# header parameters
|
344
|
-
header_params = opts[:header_params] || {}
|
345
|
-
# HTTP header 'Accept' (if needed)
|
346
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
347
|
-
# HTTP header 'Content-Type'
|
348
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
349
|
-
if !content_type.nil?
|
350
|
-
header_params['Content-Type'] = content_type
|
351
|
-
end
|
352
|
-
|
353
|
-
# form parameters
|
354
|
-
form_params = opts[:form_params] || {}
|
355
|
-
|
356
|
-
# http body (model)
|
357
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
358
|
-
|
359
|
-
# return_type
|
360
|
-
return_type = opts[:debug_return_type] || 'MsaReplyAffectedEntities'
|
361
|
-
|
362
|
-
# auth_names
|
363
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
364
|
-
|
365
|
-
new_options = opts.merge(
|
366
|
-
:operation => :"MessageCenter.create_case",
|
367
|
-
:header_params => header_params,
|
368
|
-
:query_params => query_params,
|
369
|
-
:form_params => form_params,
|
370
|
-
:body => post_body,
|
371
|
-
:auth_names => auth_names,
|
372
|
-
:return_type => return_type
|
373
|
-
)
|
374
|
-
|
375
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
376
|
-
if @api_client.config.debugging
|
377
|
-
@api_client.config.logger.debug "API called: MessageCenter#create_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
378
|
-
end
|
379
|
-
return data, status_code, headers
|
380
|
-
end
|
381
|
-
|
382
316
|
# create a new case
|
383
317
|
# @param body [DomainCaseCreationRequestV2]
|
384
318
|
# @param [Hash] opts the optional parameters
|
@@ -606,7 +540,7 @@ module Falcon
|
|
606
540
|
if @api_client.config.client_side_validation && case_id.nil?
|
607
541
|
fail ArgumentError, "Missing the required parameter 'case_id' when calling MessageCenter.query_activity_by_case_id"
|
608
542
|
end
|
609
|
-
allowable_values = ["activity.created_time.asc", "activity.created_time.desc"]
|
543
|
+
allowable_values = ["activity.type.asc", "activity.type.desc", "activity.created_time.asc", "activity.created_time.desc"]
|
610
544
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
611
545
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
612
546
|
end
|
@@ -659,7 +593,7 @@ module Falcon
|
|
659
593
|
# @param [Hash] opts the optional parameters
|
660
594
|
# @option opts [Integer] :limit The maximum records to return. [1-500]
|
661
595
|
# @option opts [String] :sort The property to sort on, followed by a dot (.), followed by the sort direction, either \"asc\" or \"desc\".
|
662
|
-
# @option opts [String] :filter Optional filter and sort criteria in the form of an FQL query. Allowed filters are: _all activity.body case.aids case.assigner.display_name case.assigner.first_name case.assigner.last_name case.assigner.uid case.assigner.uuid case.body case.created_time case.detections.id case.hosts case.id case.incidents.id case.ip_addresses case.key case.last_modified_time case.status case.title case.type
|
596
|
+
# @option opts [String] :filter Optional filter and sort criteria in the form of an FQL query. Allowed filters are: _all activity.body case.aids case.assigner.display_name case.assigner.first_name case.assigner.last_name case.assigner.uid case.assigner.uuid case.body case.created_time case.detections.id case.hosts case.id case.incidents.id case.ip_addresses case.key case.last_modified_time case.status case.status case.title case.type
|
663
597
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
664
598
|
# @return [MsaspecQueryResponse]
|
665
599
|
def query_cases_ids_by_filter(opts = {})
|
@@ -671,14 +605,14 @@ module Falcon
|
|
671
605
|
# @param [Hash] opts the optional parameters
|
672
606
|
# @option opts [Integer] :limit The maximum records to return. [1-500]
|
673
607
|
# @option opts [String] :sort The property to sort on, followed by a dot (.), followed by the sort direction, either \"asc\" or \"desc\".
|
674
|
-
# @option opts [String] :filter Optional filter and sort criteria in the form of an FQL query. Allowed filters are: _all activity.body case.aids case.assigner.display_name case.assigner.first_name case.assigner.last_name case.assigner.uid case.assigner.uuid case.body case.created_time case.detections.id case.hosts case.id case.incidents.id case.ip_addresses case.key case.last_modified_time case.status case.title case.type
|
608
|
+
# @option opts [String] :filter Optional filter and sort criteria in the form of an FQL query. Allowed filters are: _all activity.body case.aids case.assigner.display_name case.assigner.first_name case.assigner.last_name case.assigner.uid case.assigner.uuid case.body case.created_time case.detections.id case.hosts case.id case.incidents.id case.ip_addresses case.key case.last_modified_time case.status case.status case.title case.type
|
675
609
|
# @option opts [String] :offset Starting index of overall result set from which to return ids.
|
676
610
|
# @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
|
677
611
|
def query_cases_ids_by_filter_with_http_info(opts = {})
|
678
612
|
if @api_client.config.debugging
|
679
613
|
@api_client.config.logger.debug 'Calling API: MessageCenter.query_cases_ids_by_filter ...'
|
680
614
|
end
|
681
|
-
allowable_values = ["case.id.asc", "case.id.desc"]
|
615
|
+
allowable_values = ["case.created_time.asc", "case.created_time.desc", "case.last_modified_time.asc", "case.last_modified_time.desc", "case.status.asc", "case.status.desc", "case.type.asc", "case.type.desc", "case.id.asc", "case.id.desc"]
|
682
616
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
683
617
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
684
618
|
end
|
@@ -617,6 +617,68 @@ module Falcon
|
|
617
617
|
return data, status_code, headers
|
618
618
|
end
|
619
619
|
|
620
|
+
# Get RTR put file contents for a given file ID
|
621
|
+
# @param id [String] put file ID
|
622
|
+
# @param [Hash] opts the optional parameters
|
623
|
+
# @return [Array<Integer>]
|
624
|
+
def r_tr_get_put_file_contents(id, opts = {})
|
625
|
+
data, _status_code, _headers = r_tr_get_put_file_contents_with_http_info(id, opts)
|
626
|
+
data
|
627
|
+
end
|
628
|
+
|
629
|
+
# Get RTR put file contents for a given file ID
|
630
|
+
# @param id [String] put file ID
|
631
|
+
# @param [Hash] opts the optional parameters
|
632
|
+
# @return [Array<(Array<Integer>, Integer, Hash)>] Array<Integer> data, response status code and response headers
|
633
|
+
def r_tr_get_put_file_contents_with_http_info(id, opts = {})
|
634
|
+
if @api_client.config.debugging
|
635
|
+
@api_client.config.logger.debug 'Calling API: RealTimeResponseAdmin.r_tr_get_put_file_contents ...'
|
636
|
+
end
|
637
|
+
# verify the required parameter 'id' is set
|
638
|
+
if @api_client.config.client_side_validation && id.nil?
|
639
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling RealTimeResponseAdmin.r_tr_get_put_file_contents"
|
640
|
+
end
|
641
|
+
# resource path
|
642
|
+
local_var_path = '/real-time-response/entities/put-file-contents/v1'
|
643
|
+
|
644
|
+
# query parameters
|
645
|
+
query_params = opts[:query_params] || {}
|
646
|
+
query_params[:'id'] = id
|
647
|
+
|
648
|
+
# header parameters
|
649
|
+
header_params = opts[:header_params] || {}
|
650
|
+
# HTTP header 'Accept' (if needed)
|
651
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream', 'application/json'])
|
652
|
+
|
653
|
+
# form parameters
|
654
|
+
form_params = opts[:form_params] || {}
|
655
|
+
|
656
|
+
# http body (model)
|
657
|
+
post_body = opts[:debug_body]
|
658
|
+
|
659
|
+
# return_type
|
660
|
+
return_type = opts[:debug_return_type] || 'Array<Integer>'
|
661
|
+
|
662
|
+
# auth_names
|
663
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
664
|
+
|
665
|
+
new_options = opts.merge(
|
666
|
+
:operation => :"RealTimeResponseAdmin.r_tr_get_put_file_contents",
|
667
|
+
:header_params => header_params,
|
668
|
+
:query_params => query_params,
|
669
|
+
:form_params => form_params,
|
670
|
+
:body => post_body,
|
671
|
+
:auth_names => auth_names,
|
672
|
+
:return_type => return_type
|
673
|
+
)
|
674
|
+
|
675
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
676
|
+
if @api_client.config.debugging
|
677
|
+
@api_client.config.logger.debug "API called: RealTimeResponseAdmin#r_tr_get_put_file_contents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
678
|
+
end
|
679
|
+
return data, status_code, headers
|
680
|
+
end
|
681
|
+
|
620
682
|
# Get put-files based on the ID's given. These are used for the RTR `put` command.
|
621
683
|
# @param ids [Array<String>] File IDs
|
622
684
|
# @param [Hash] opts the optional parameters
|
@@ -198,6 +198,82 @@ module Falcon
|
|
198
198
|
return data, status_code, headers
|
199
199
|
end
|
200
200
|
|
201
|
+
# returns the release notes for the IDs in the request with EA and GA dates in ISO 8601 format
|
202
|
+
# @param authorization [String] authorization header
|
203
|
+
# @param body [ReleasenotesEntitiesGetRequest]
|
204
|
+
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [String] :x_cs_username user name
|
206
|
+
# @return [ReleasenotesReleaseNoteWrapperV2]
|
207
|
+
def get_entity_ids_by_query_postv2(authorization, body, opts = {})
|
208
|
+
data, _status_code, _headers = get_entity_ids_by_query_postv2_with_http_info(authorization, body, opts)
|
209
|
+
data
|
210
|
+
end
|
211
|
+
|
212
|
+
# returns the release notes for the IDs in the request with EA and GA dates in ISO 8601 format
|
213
|
+
# @param authorization [String] authorization header
|
214
|
+
# @param body [ReleasenotesEntitiesGetRequest]
|
215
|
+
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [String] :x_cs_username user name
|
217
|
+
# @return [Array<(ReleasenotesReleaseNoteWrapperV2, Integer, Hash)>] ReleasenotesReleaseNoteWrapperV2 data, response status code and response headers
|
218
|
+
def get_entity_ids_by_query_postv2_with_http_info(authorization, body, opts = {})
|
219
|
+
if @api_client.config.debugging
|
220
|
+
@api_client.config.logger.debug 'Calling API: ReleaseNotes.get_entity_ids_by_query_postv2 ...'
|
221
|
+
end
|
222
|
+
# verify the required parameter 'authorization' is set
|
223
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
224
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling ReleaseNotes.get_entity_ids_by_query_postv2"
|
225
|
+
end
|
226
|
+
# verify the required parameter 'body' is set
|
227
|
+
if @api_client.config.client_side_validation && body.nil?
|
228
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ReleaseNotes.get_entity_ids_by_query_postv2"
|
229
|
+
end
|
230
|
+
# resource path
|
231
|
+
local_var_path = '/deployment-coordinator/entities/release-notes/GET/v2'
|
232
|
+
|
233
|
+
# query parameters
|
234
|
+
query_params = opts[:query_params] || {}
|
235
|
+
|
236
|
+
# header parameters
|
237
|
+
header_params = opts[:header_params] || {}
|
238
|
+
# HTTP header 'Accept' (if needed)
|
239
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
240
|
+
# HTTP header 'Content-Type'
|
241
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
242
|
+
if !content_type.nil?
|
243
|
+
header_params['Content-Type'] = content_type
|
244
|
+
end
|
245
|
+
header_params[:'Authorization'] = authorization
|
246
|
+
header_params[:'X-CS-USERNAME'] = opts[:'x_cs_username'] if !opts[:'x_cs_username'].nil?
|
247
|
+
|
248
|
+
# form parameters
|
249
|
+
form_params = opts[:form_params] || {}
|
250
|
+
|
251
|
+
# http body (model)
|
252
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
253
|
+
|
254
|
+
# return_type
|
255
|
+
return_type = opts[:debug_return_type] || 'ReleasenotesReleaseNoteWrapperV2'
|
256
|
+
|
257
|
+
# auth_names
|
258
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
259
|
+
|
260
|
+
new_options = opts.merge(
|
261
|
+
:operation => :"ReleaseNotes.get_entity_ids_by_query_postv2",
|
262
|
+
:header_params => header_params,
|
263
|
+
:query_params => query_params,
|
264
|
+
:form_params => form_params,
|
265
|
+
:body => post_body,
|
266
|
+
:auth_names => auth_names,
|
267
|
+
:return_type => return_type
|
268
|
+
)
|
269
|
+
|
270
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
271
|
+
if @api_client.config.debugging
|
272
|
+
@api_client.config.logger.debug "API called: ReleaseNotes#get_entity_ids_by_query_postv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
273
|
+
end
|
274
|
+
return data, status_code, headers
|
275
|
+
end
|
276
|
+
|
201
277
|
# Queries for release-notes resources and returns ids
|
202
278
|
# @param authorization [String] authorization header
|
203
279
|
# @param [Hash] opts the optional parameters
|