crimson-falcon 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1655 -208
- data/lib/crimson-falcon/api/alerts_api.rb +307 -19
- data/lib/crimson-falcon/api/{inventories_api.rb → cloud_snapshots_api.rb} +16 -16
- data/lib/crimson-falcon/api/configuration_assessment_api.rb +62 -0
- data/lib/crimson-falcon/api/container_alerts_api.rb +222 -0
- data/lib/crimson-falcon/api/container_detections_api.rb +408 -0
- data/lib/crimson-falcon/api/container_images_api.rb +711 -0
- data/lib/crimson-falcon/api/container_packages_api.rb +365 -0
- data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +693 -0
- data/lib/crimson-falcon/api/cspm_registration_api.rb +719 -49
- data/lib/crimson-falcon/api/custom_ioa_api.rb +2 -2
- data/lib/crimson-falcon/api/custom_storage_api.rb +590 -0
- data/lib/crimson-falcon/api/d4c_registration_api.rb +263 -6
- data/lib/crimson-falcon/api/drift_indicators_api.rb +350 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +352 -21
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -67
- data/lib/crimson-falcon/api/falconx_sandbox_api.rb +2 -2
- data/lib/crimson-falcon/api/filevantage_api.rb +1730 -45
- data/lib/crimson-falcon/api/foundry_logscale_api.rb +959 -0
- data/lib/crimson-falcon/api/hosts_api.rb +68 -64
- data/lib/crimson-falcon/api/image_assessment_policies_api.rb +738 -0
- data/lib/crimson-falcon/api/installation_tokens_api.rb +12 -12
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +3 -3
- data/lib/crimson-falcon/api/intel_api.rb +4 -4
- data/lib/crimson-falcon/api/ioc_api.rb +226 -0
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +2498 -13
- data/lib/crimson-falcon/api/message_center_api.rb +11 -11
- data/lib/crimson-falcon/api/ods_api.rb +68 -6
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +149 -0
- data/lib/crimson-falcon/api/real_time_response_audit_api.rb +113 -0
- data/lib/crimson-falcon/api/recon_api.rb +6 -6
- data/lib/crimson-falcon/api/runtime_detections_api.rb +106 -0
- data/lib/crimson-falcon/api/{vulnerabilities_evaluation_logic_api.rb → spotlight_evaluation_logic_api.rb} +13 -13
- data/lib/crimson-falcon/api/{vulnerabilities_api.rb → spotlight_vulnerabilities_api.rb} +25 -25
- data/lib/crimson-falcon/api/unidentified_containers_api.rb +222 -0
- data/lib/crimson-falcon/api/workflows_api.rb +1037 -0
- data/lib/crimson-falcon/configuration.rb +1 -1
- data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
- data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
- data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
- data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
- data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
- data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
- data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
- data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
- data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
- data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
- data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
- data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
- data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
- data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
- data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
- data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
- data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
- data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
- data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
- data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
- data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
- data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
- data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
- data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
- data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
- data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
- data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
- data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
- data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
- data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
- data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
- data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
- data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
- data/lib/crimson-falcon/models/client_action_request.rb +242 -0
- data/lib/crimson-falcon/models/client_cost.rb +267 -0
- data/lib/crimson-falcon/models/client_costs.rb +281 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
- data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
- data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
- data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
- data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
- data/lib/crimson-falcon/models/client_field.rb +269 -0
- data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
- data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
- data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
- data/lib/crimson-falcon/models/client_repository.rb +281 -0
- data/lib/crimson-falcon/models/client_spent.rb +281 -0
- data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
- data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
- data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
- data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
- data/lib/crimson-falcon/models/client_top_value.rb +253 -0
- data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
- data/lib/crimson-falcon/models/common_count_response.rb +266 -0
- data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
- data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
- data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
- data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
- data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
- data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
- data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
- data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
- data/lib/crimson-falcon/models/detects_alert.rb +110 -6
- data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
- data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/device_device.rb +19 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
- data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
- data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
- data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
- data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
- data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
- data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
- data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
- data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
- data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
- data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
- data/lib/crimson-falcon/models/domain_card.rb +288 -0
- data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
- data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
- data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
- data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
- data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_device.rb +10 -1
- data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
- data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
- data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
- data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_host.rb +342 -0
- data/lib/crimson-falcon/models/domain_incident.rb +4 -13
- data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
- data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
- data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
- data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
- data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
- data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
- data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
- data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
- data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
- data/lib/crimson-falcon/models/domain_rule.rb +63 -69
- data/lib/crimson-falcon/models/domain_scan.rb +67 -4
- data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
- data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
- data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
- data/lib/crimson-falcon/models/domain_session.rb +0 -25
- data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
- data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
- data/lib/crimson-falcon/models/domain_user.rb +9 -27
- data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
- data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
- data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
- data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
- data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
- data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
- data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
- data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
- data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
- data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
- data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
- data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
- data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
- data/lib/crimson-falcon/models/flows.rb +269 -0
- data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/graph_condition.rb +257 -0
- data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
- data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
- data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
- data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
- data/lib/crimson-falcon/models/graph_flow.rb +274 -0
- data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
- data/lib/crimson-falcon/models/graph_multi.rb +285 -0
- data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
- data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
- data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
- data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
- data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
- data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
- data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
- data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
- data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
- data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
- data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
- data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
- data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
- data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
- data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
- data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
- data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
- data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
- data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
- data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
- data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
- data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
- data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
- data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
- data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
- data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
- data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
- data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
- data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
- data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
- data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
- data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
- data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
- data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
- data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
- data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
- data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
- data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
- data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
- data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
- data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
- data/lib/crimson-falcon/models/models_cluster.rb +539 -0
- data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container.rb +831 -0
- data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
- data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
- data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container_image.rb +453 -0
- data/lib/crimson-falcon/models/models_container_information.rb +253 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
- data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
- data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
- data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
- data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
- data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
- data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
- data/lib/crimson-falcon/models/models_image_information.rb +267 -0
- data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
- data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
- data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
- data/lib/crimson-falcon/models/models_node.rb +723 -0
- data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
- data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
- data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
- data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
- data/lib/crimson-falcon/models/models_pod.rb +827 -0
- data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
- data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
- data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
- data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
- data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
- data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
- data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
- data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
- data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
- data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
- data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
- data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
- data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_policy.rb +362 -0
- data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
- data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
- data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
- data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
- data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
- data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
- data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
- data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
- data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
- data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
- data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
- data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
- data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
- data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
- data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
- data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
- data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
- data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
- data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
- data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
- data/lib/crimson-falcon/models/v2_activity.rb +264 -0
- data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
- data/lib/crimson-falcon/models/v2_condition.rb +286 -0
- data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_definition.rb +374 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
- data/lib/crimson-falcon/models/v2_loop.rb +281 -0
- data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
- data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +366 -37
- data/spec/api/alerts_api_spec.rb +60 -8
- data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
- data/spec/api/configuration_assessment_api_spec.rb +11 -0
- data/spec/api/container_alerts_api_spec.rb +88 -0
- data/spec/api/container_detections_api_spec.rb +125 -0
- data/spec/api/container_images_api_spec.rb +182 -0
- data/spec/api/container_packages_api_spec.rb +119 -0
- data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
- data/spec/api/cspm_registration_api_spec.rb +123 -1
- data/spec/api/custom_ioa_api_spec.rb +1 -1
- data/spec/api/custom_storage_api_spec.rb +133 -0
- data/spec/api/d4c_registration_api_spec.rb +47 -0
- data/spec/api/drift_indicators_api_spec.rb +114 -0
- data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
- data/spec/api/falcon_container_image_api_spec.rb +0 -14
- data/spec/api/falconx_sandbox_api_spec.rb +1 -1
- data/spec/api/filevantage_api_spec.rb +315 -8
- data/spec/api/foundry_logscale_api_spec.rb +226 -0
- data/spec/api/hosts_api_spec.rb +12 -12
- data/spec/api/image_assessment_policies_api_spec.rb +172 -0
- data/spec/api/installation_tokens_api_spec.rb +4 -4
- data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
- data/spec/api/intel_api_spec.rb +2 -2
- data/spec/api/ioc_api_spec.rb +41 -0
- data/spec/api/kubernetes_protection_api_spec.rb +480 -0
- data/spec/api/message_center_api_spec.rb +3 -3
- data/spec/api/ods_api_spec.rb +13 -2
- data/spec/api/real_time_response_admin_api_spec.rb +25 -0
- data/spec/api/real_time_response_audit_api_spec.rb +67 -0
- data/spec/api/recon_api_spec.rb +3 -3
- data/spec/api/runtime_detections_api_spec.rb +66 -0
- data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
- data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
- data/spec/api/unidentified_containers_api_spec.rb +88 -0
- data/spec/api/workflows_api_spec.rb +224 -0
- data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
- data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
- data/spec/models/api_detects_query_meta_spec.rb +69 -0
- data/spec/models/api_detects_query_paging_spec.rb +63 -0
- data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
- data/spec/models/api_device_count_v1_spec.rb +69 -0
- data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/api_entities_response_spec.rb +63 -0
- data/spec/models/api_execution_results_response_spec.rb +63 -0
- data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
- data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/api_meta_info_spec.rb +69 -0
- data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
- data/spec/models/api_object_metadata_spec.rb +75 -0
- data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
- data/spec/models/api_response_pagination_spec.rb +57 -0
- data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
- data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
- data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
- data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
- data/spec/models/apidomain_repository_v1_spec.rb +75 -0
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
- data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
- data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
- data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
- data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
- data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
- data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
- data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
- data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
- data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
- data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
- data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
- data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
- data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
- data/spec/models/changes_get_changes_response_spec.rb +63 -0
- data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
- data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
- data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
- data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
- data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
- data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
- data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
- data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
- data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
- data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
- data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
- data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
- data/spec/models/client_action_request_spec.rb +51 -0
- data/spec/models/client_cost_spec.rb +63 -0
- data/spec/models/client_costs_spec.rb +69 -0
- data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
- data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/client_digest_flow_spec.rb +63 -0
- data/spec/models/client_extra_in_spec.rb +57 -0
- data/spec/models/client_extra_limit_spec.rb +57 -0
- data/spec/models/client_extra_rename_spec.rb +57 -0
- data/spec/models/client_extra_sort_spec.rb +75 -0
- data/spec/models/client_field_spec.rb +63 -0
- data/spec/models/client_job_status_spec.rb +117 -0
- data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
- data/spec/models/client_query_result_metadata_spec.rb +159 -0
- data/spec/models/client_repository_spec.rb +69 -0
- data/spec/models/client_spent_spec.rb +69 -0
- data/spec/models/client_system_definition_create_response_spec.rb +63 -0
- data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
- data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
- data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
- data/spec/models/client_top_value_spec.rb +57 -0
- data/spec/models/common_count_as_resource_spec.rb +57 -0
- data/spec/models/common_count_response_spec.rb +63 -0
- data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
- data/spec/models/custom_type1255839303_spec.rb +63 -0
- data/spec/models/custom_type3191042536_spec.rb +63 -0
- data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
- data/spec/models/definitions_definition_ext_spec.rb +75 -0
- data/spec/models/definitions_definition_external_response_spec.rb +63 -0
- data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
- data/spec/models/definitions_definition_import_response_spec.rb +63 -0
- data/spec/models/definitions_flight_control_request_spec.rb +69 -0
- data/spec/models/definitions_parameter_property_spec.rb +51 -0
- data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
- data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
- data/spec/models/detections_api_combined_detections_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
- data/spec/models/detections_api_detections_count_spec.rb +63 -0
- data/spec/models/detects_alert_spec.rb +42 -0
- data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
- data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
- data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
- data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
- data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
- data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
- data/spec/models/detectsapi_response_fields_spec.rb +57 -0
- data/spec/models/device_device_spec.rb +12 -0
- data/spec/models/device_mapped_device_policies_spec.rb +6 -0
- data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
- data/spec/models/domain_actor_document_spec.rb +162 -0
- data/spec/models/domain_actor_entity_spec.rb +63 -0
- data/spec/models/domain_actor_news_document_spec.rb +69 -0
- data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
- data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
- data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
- data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
- data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
- data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
- data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
- data/spec/models/domain_attachment_spec.rb +87 -0
- data/spec/models/domain_aws_account_input_spec.rb +81 -0
- data/spec/models/domain_aws_account_v2_spec.rb +6 -0
- data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
- data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
- data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_breached_item_v1_spec.rb +18 -0
- data/spec/models/domain_card_spec.rb +87 -0
- data/spec/models/domain_cid_group_spec.rb +12 -0
- data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
- data/spec/models/domain_cloud_scope_spec.rb +6 -0
- data/spec/models/domain_credentials_spec.rb +13 -1
- data/spec/models/domain_device_policy_spec.rb +51 -0
- data/spec/models/domain_device_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +36 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
- data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
- data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
- data/spec/models/domain_file_count_v2_spec.rb +75 -0
- data/spec/models/domain_fragment_info_spec.rb +87 -0
- data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
- data/spec/models/domain_host_spec.rb +123 -0
- data/spec/models/domain_incident_spec.rb +0 -6
- data/spec/models/domain_ioc_spec.rb +261 -0
- data/spec/models/domain_item_details_v1_spec.rb +207 -0
- data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
- data/spec/models/domain_marketplace_product_spec.rb +87 -0
- data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
- data/spec/models/domain_meta_info_spec.rb +25 -1
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_v1_spec.rb +6 -0
- data/spec/models/domain_policy_info_spec.rb +12 -0
- data/spec/models/domain_report_malware_spec.rb +63 -0
- data/spec/models/domain_rule_spec.rb +7 -13
- data/spec/models/domain_scan_profile_spec.rb +6 -0
- data/spec/models/domain_scan_spec.rb +42 -0
- data/spec/models/domain_scan_v2_spec.rb +273 -0
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
- data/spec/models/domain_telegram_info_spec.rb +63 -0
- data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
- data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
- data/spec/models/domain_threat_entity_spec.rb +51 -0
- data/spec/models/domain_user_spec.rb +1 -13
- data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
- data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
- data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
- data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
- data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
- data/spec/models/executions_activity_execution_result_spec.rb +117 -0
- data/spec/models/executions_ancestor_execution_spec.rb +63 -0
- data/spec/models/executions_child_execution_result_spec.rb +75 -0
- data/spec/models/executions_execution_result_spec.rb +111 -0
- data/spec/models/executions_iterations_spec.rb +81 -0
- data/spec/models/executions_loop_result_spec.rb +105 -0
- data/spec/models/executions_reference_link_spec.rb +57 -0
- data/spec/models/executions_trigger_result_spec.rb +69 -0
- data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
- data/spec/models/falconx_submission_v1_spec.rb +24 -0
- data/spec/models/flows_spec.rb +63 -0
- data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
- data/spec/models/graph_condition_spec.rb +63 -0
- data/spec/models/graph_configured_activity_spec.rb +81 -0
- data/spec/models/graph_configured_trigger_spec.rb +87 -0
- data/spec/models/graph_definition_model_spec.rb +87 -0
- data/spec/models/graph_end_spec.rb +57 -0
- data/spec/models/graph_flow_spec.rb +69 -0
- data/spec/models/graph_gateway_spec.rb +63 -0
- data/spec/models/graph_multi_spec.rb +69 -0
- data/spec/models/graph_sub_model_spec.rb +81 -0
- data/spec/models/graph_timer_event_definition_spec.rb +75 -0
- data/spec/models/graph_validation_error_spec.rb +87 -0
- data/spec/models/images_api_combined_image_export_spec.rb +63 -0
- data/spec/models/images_api_customer_and_image_spec.rb +63 -0
- data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
- data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
- data/spec/models/images_api_image_count_spec.rb +63 -0
- data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
- data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
- data/spec/models/internal_sensor_status_spec.rb +48 -0
- data/spec/models/jsonschema_authorization_spec.rb +69 -0
- data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
- data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
- data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
- data/spec/models/jsonschema_permission_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +99 -0
- data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
- data/spec/models/jsonschema_schema_spec.rb +57 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
- data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
- data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_info_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
- data/spec/models/model_user_input_read_response_spec.rb +63 -0
- data/spec/models/model_user_input_update_request_spec.rb +57 -0
- data/spec/models/model_user_input_view_model_spec.rb +105 -0
- data/spec/models/models_account_entities_input_spec.rb +51 -0
- data/spec/models/models_account_status_response_spec.rb +63 -0
- data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
- data/spec/models/models_api_assessment_detections_spec.rb +153 -0
- data/spec/models/models_api_combined_detections_spec.rb +117 -0
- data/spec/models/models_api_container_alert_spec.rb +93 -0
- data/spec/models/models_api_customer_and_image_spec.rb +147 -0
- data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
- data/spec/models/models_api_detection_count_spec.rb +51 -0
- data/spec/models/models_api_drift_indicators_spec.rb +195 -0
- data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
- data/spec/models/models_api_filter_response_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_spec.rb +81 -0
- data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
- data/spec/models/models_api_image_combined_export_spec.rb +165 -0
- data/spec/models/models_api_image_count_spec.rb +51 -0
- data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
- data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
- data/spec/models/models_api_package_combined_spec.rb +93 -0
- data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
- data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
- data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
- data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
- data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
- data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
- data/spec/models/models_api_policy_group_data_spec.rb +51 -0
- data/spec/models/models_api_policy_group_spec.rb +87 -0
- data/spec/models/models_api_policy_rule_spec.rb +57 -0
- data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
- data/spec/models/models_api_precedence_request_spec.rb +51 -0
- data/spec/models/models_api_runtime_detection_spec.rb +369 -0
- data/spec/models/models_api_unidentified_container_spec.rb +171 -0
- data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
- data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
- data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
- data/spec/models/models_api_vuln_count_spec.rb +51 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
- data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
- data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
- data/spec/models/models_cluster_entity_response_spec.rb +63 -0
- data/spec/models/models_cluster_spec.rb +177 -0
- data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
- data/spec/models/models_container_coverage_spec.rb +57 -0
- data/spec/models/models_container_entity_response_spec.rb +63 -0
- data/spec/models/models_container_image_spec.rb +141 -0
- data/spec/models/models_container_information_spec.rb +57 -0
- data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
- data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
- data/spec/models/models_container_spec.rb +429 -0
- data/spec/models/models_create_image_group_request_spec.rb +69 -0
- data/spec/models/models_create_policy_request_spec.rb +57 -0
- data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
- data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
- data/spec/models/models_deployment_entity_response_spec.rb +63 -0
- data/spec/models/models_deployment_spec.rb +99 -0
- data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
- data/spec/models/models_exclusion_condition_spec.rb +87 -0
- data/spec/models/models_image_information_spec.rb +63 -0
- data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
- data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
- data/spec/models/models_light_weight_config_spec.rb +93 -0
- data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
- data/spec/models/models_node_spec.rb +255 -0
- data/spec/models/models_package_name_version_type_spec.rb +75 -0
- data/spec/models/models_patch_image_group_request_spec.rb +63 -0
- data/spec/models/models_patch_policy_request_spec.rb +69 -0
- data/spec/models/models_pod_entity_response_spec.rb +63 -0
- data/spec/models/models_pod_spec.rb +297 -0
- data/spec/models/models_policy_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
- data/spec/models/models_request_api_policy_data_spec.rb +51 -0
- data/spec/models/models_snapshot_account_status_spec.rb +93 -0
- data/spec/models/models_update_exclusions_request_spec.rb +51 -0
- data/spec/models/msa_aggregation_result_spec.rb +6 -0
- data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_spec.rb +63 -0
- data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
- data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
- data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
- data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
- data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
- data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
- data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
- data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
- data/spec/models/policies_assigned_host_group_spec.rb +57 -0
- data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
- data/spec/models/policies_create_request_spec.rb +63 -0
- data/spec/models/policies_delete_response_spec.rb +63 -0
- data/spec/models/policies_policy_spec.rb +117 -0
- data/spec/models/policies_precedence_response_spec.rb +63 -0
- data/spec/models/policies_response_spec.rb +63 -0
- data/spec/models/policies_update_request_spec.rb +69 -0
- data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
- data/spec/models/registration_aws_account_patch_spec.rb +6 -0
- data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
- data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
- data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
- data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
- data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
- data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
- data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
- data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
- data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
- data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
- data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
- data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
- data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
- data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/registration_next_token_pagination_spec.rb +69 -0
- data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
- data/spec/models/rulegroups_create_request_spec.rb +63 -0
- data/spec/models/rulegroups_delete_response_spec.rb +63 -0
- data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
- data/spec/models/rulegroups_response_spec.rb +63 -0
- data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
- data/spec/models/rulegroups_rule_spec.rb +255 -0
- data/spec/models/rulegroups_rules_response_spec.rb +63 -0
- data/spec/models/rulegroups_update_request_spec.rb +63 -0
- data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
- data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
- data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
- data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
- data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
- data/spec/models/scheduledexclusions_response_spec.rb +63 -0
- data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
- data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
- data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
- data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
- data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
- data/spec/models/v2_activity_parameters_spec.rb +51 -0
- data/spec/models/v2_activity_properties_spec.rb +51 -0
- data/spec/models/v2_activity_spec.rb +63 -0
- data/spec/models/v2_condition_parameters_spec.rb +51 -0
- data/spec/models/v2_condition_spec.rb +75 -0
- data/spec/models/v2_definition_spec.rb +123 -0
- data/spec/models/v2_for_loop_spec.rb +57 -0
- data/spec/models/v2_loop_spec.rb +75 -0
- data/spec/models/v2_parameters_spec.rb +69 -0
- data/spec/models/v2_trigger_spec.rb +75 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
- metadata +1935 -948
@@ -49,26 +49,189 @@ describe 'FilevantageApi' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
# unit tests for create_policies
|
53
|
+
# Creates a new policy of the specified type. New policies are always added at the end of the precedence list for the provided policy type.
|
54
|
+
# After they are created, host and rule groups can be assigned, scheduled exclusions can be defined, and policy precedence can be set.
|
55
|
+
# @param body Create a new policy. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `platform` must be one of `Windows`, `Linux`, or `Mac` Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [PoliciesResponse]
|
58
|
+
describe 'create_policies 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 create_rule_groups
|
65
|
+
# Creates a new rule group of the specified type.
|
66
|
+
# Individual rules can be assigned to a rule group after it has been created.
|
67
|
+
# @param body Create a new rule group of a specific type. * `name` must be between 1 and 100 characters. * `type` must be one of `WindowsFiles`, `WindowsRegistry`, `LinuxFiles` or `MacFiles`. * `description` can be between 0 and 500 characters. Note: rules are added/removed from rule groups using their dedicated end-points.
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [RulegroupsResponse]
|
70
|
+
describe 'create_rule_groups 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 create_rules
|
77
|
+
# Creates a new rule configuration within the specified rule group.
|
78
|
+
# Creates a new rule configuration within the specified rule group.
|
79
|
+
# @param body Create a new rule configuration for the specified rule group. * `id` is not supported for creation of a rule, the new id of the created rule will be included in the response. * `rule_group_id` to add the new rule configuration. * `description` can be between 0 and 500 characters. * `path` representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * `severity` to categorize change events produced by this rule; must be one of: `Low`, `Medium`, `High` or `Critical` * `depth` below the base path to monitor; must be one of: `1`, `2`, `3`, `4`, `5` or `ANY` * `precedence` - is not supported for creation of a rule, new rules will be added last in precedence order. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * `include` represents the files, directories, registry keys, or registry values that will be monitored. * `exclude` represents the files, directories, registry keys, or registry values that will `NOT` be monitored. * `include_users` represents the changes performed by specific users that will be monitored. * `exclude_users` represents the changes performed by specific users that will `NOT` be monitored. * `include_processes` represents the changes performed by specific processes that will be monitored. * `exclude_processes` represents the changes performed by specific processes that will be `NOT` monitored. * `content_files` represents the files whose content will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * `content_registry_values` represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * `enable_content_capture` File system directory monitoring: * `watch_delete_directory_changes` * `watch_create_directory_changes` * `watch_rename_directory_changes` * `watch_attributes_directory_changes` (`macOS` is not supported at this time) * `watch_permissions_directory_changes` (`macOS` is not supported at this time) File system file monitoring: * `watch_rename_file_changes` * `watch_write_file_changes` * `watch_create_file_changes` * `watch_delete_file_changes` * `watch_attributes_file_changes` (`macOS` is not supported at this time) * `watch_permissions_file_changes` (`macOS` is not supported at this time) Windows registry key and value monitoring: * `watch_create_key_changes` * `watch_delete_key_changes` * `watch_rename_key_changes` * `watch_set_value_changes` * `watch_delete_value_changes` * `watch_create_file_changes`
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [RulegroupsRulesResponse]
|
82
|
+
describe 'create_rules 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 create_scheduled_exclusions
|
89
|
+
# Creates a new scheduled exclusion configuration for the provided policy id.
|
90
|
+
# Creates a new scheduled exclusion configuration for the provided policy id.
|
91
|
+
# @param body Create a new scheduled exclusion configuration for the specified policy. * `policy_id` to add the scheduled exclusion to. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `users` can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * `processes` can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * `schedule_start` must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * `schedule_end` optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * `timezone` must be provided to indicate the TimeZone Name set for the provided `scheduled_start` and `scheduled_end` values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * `repeated` optionally provided to indicate that the exclusion is applied repeatedly within the `scheduled_start` and `scheduled_end` time. * `start_time` must be the hour(00-23) and minute(00-59) of the day formatted as `HH:MM`. Required if `all_day` is not set to `true` * `end_time` must be the hour(00-23) and minute(00-59) of the day formatted as `HH:MM`. Required if `all_day` is not set to `true` * `all_day` must be `true` or `false` to indicate the exclusion is applied all day. * `frequency` must be one of `daily`, `weekly` or `monthly`. * `occurrence` must be one of the following when `frequency` is set to `monthly`: * `1st`, `2nd`, `3rd`, `4th` or `Last` represents the week. * `Days` represents specific calendar days. * `weekly_days` must be one or more of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` or `Sunday` when `frequency` is set to `weekly` or `frequency` is set to `monthly` and `occurrence` is NOT set to `Days`. * `monthly_days` must be set to one or more calendar days, between 1 and 31 when `frequency` is set to `monthly` and `occurrence` is set to `Days`.
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [ScheduledexclusionsResponse]
|
94
|
+
describe 'create_scheduled_exclusions test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# unit tests for delete_policies
|
101
|
+
# Deletes 1 or more policies.
|
102
|
+
# Only disabled policies are allowed to be deleted.
|
103
|
+
# @param ids One or more (up to 500) policy ids in the form of `ids=ID1&ids=ID2`
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @return [PoliciesDeleteResponse]
|
106
|
+
describe 'delete_policies test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# unit tests for delete_rule_groups
|
113
|
+
# Deletes 1 or more rule groups
|
114
|
+
# The rule groups represented by the provided ids and all rules that they contain will be deleted. Rule groups can only be deleted if they are not assigned to a policy.
|
115
|
+
# @param ids One or more (up to 500) rule group ids in the form of `ids=ID1&ids=ID2`
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @return [RulegroupsDeleteResponse]
|
118
|
+
describe 'delete_rule_groups test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# unit tests for delete_rules
|
125
|
+
# Deletes 1 or more rules from the specified rule group.
|
126
|
+
# Rules that match a provided id will be deleted from the provided rule group id.
|
127
|
+
# @param rule_group_id The id of the rule group from which the rules will be deleted.
|
128
|
+
# @param ids One or more (up to 500) rule ids in the form of `ids=ID1&ids=ID2`
|
129
|
+
# @param [Hash] opts the optional parameters
|
130
|
+
# @return [MsaspecQueryResponse]
|
131
|
+
describe 'delete_rules test' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# unit tests for delete_scheduled_exclusions
|
138
|
+
# Deletes 1 or more scheduled exclusions from the provided policy id.
|
139
|
+
# Scheduled exclusions that match a provided id will be deleted from the provided policy id.
|
140
|
+
# @param policy_id ID of the policy to delete the scheduled exclusions from.
|
141
|
+
# @param ids One or more (up to 500) scheduled exclusion ids in the form of `ids=ID1&ids=ID2`.
|
142
|
+
# @param [Hash] opts the optional parameters
|
143
|
+
# @return [MsaspecQueryResponse]
|
144
|
+
describe 'delete_scheduled_exclusions test' do
|
145
|
+
it 'should work' do
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
52
150
|
# unit tests for get_changes
|
53
151
|
# Retrieve information on changes
|
54
152
|
# Retrieve key attributes of Falcon FileVantage changes for the specified ids.
|
55
|
-
# @param ids One or more change ids in the form of ids=ID1&ids=ID2
|
153
|
+
# @param ids One or more change ids in the form of `ids=ID1&ids=ID2`. The maximum number of ids that can be requested at once is `500`.
|
56
154
|
# @param [Hash] opts the optional parameters
|
57
|
-
# @return [
|
155
|
+
# @return [ChangesGetChangesResponse]
|
58
156
|
describe 'get_changes test' do
|
59
157
|
it 'should work' do
|
60
158
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
159
|
end
|
62
160
|
end
|
63
161
|
|
162
|
+
# unit tests for get_policies
|
163
|
+
# Retrieves the configuration for 1 or more policies.
|
164
|
+
# The configuration of each policy that match the provided id will be returned.
|
165
|
+
# @param ids One or more (up to 500) policy ids in the form of `ids=ID1&ids=ID2`
|
166
|
+
# @param [Hash] opts the optional parameters
|
167
|
+
# @return [PoliciesResponse]
|
168
|
+
describe 'get_policies test' do
|
169
|
+
it 'should work' do
|
170
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# unit tests for get_rule_groups
|
175
|
+
# Retrieves the rule group details for 1 or more rule groups.
|
176
|
+
# Full details of each rule group that matches a provided id will be returned in the response
|
177
|
+
# @param ids One or more (up to 500) rule group ids in the form of `ids=ID1&ids=ID2`
|
178
|
+
# @param [Hash] opts the optional parameters
|
179
|
+
# @return [RulegroupsResponse]
|
180
|
+
describe 'get_rule_groups test' do
|
181
|
+
it 'should work' do
|
182
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# unit tests for get_rules
|
187
|
+
# Retrieves the configuration for 1 or more rules.
|
188
|
+
# Rules within the provided rule group id that match a provided id will be returned within the response.
|
189
|
+
# @param rule_group_id Rule group from which to retrieve the rule configuration.
|
190
|
+
# @param ids One or more (up to 500) rule ids in the form of `ids=ID1&ids=ID2`.
|
191
|
+
# @param [Hash] opts the optional parameters
|
192
|
+
# @return [RulegroupsRulesResponse]
|
193
|
+
describe 'get_rules test' do
|
194
|
+
it 'should work' do
|
195
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
# unit tests for get_scheduled_exclusions
|
200
|
+
# Retrieves the configuration of 1 or more scheduled exclusions from the provided policy id.
|
201
|
+
# Full details of each each scheduled exclusion that match a provided id will be returned in the response.
|
202
|
+
# @param policy_id The id of the policy to retrieve the scheduled exclusion configurations.
|
203
|
+
# @param ids One or more (up to 500) scheduled exclusion ids in the form of `ids=ID1&ids=ID2`.
|
204
|
+
# @param [Hash] opts the optional parameters
|
205
|
+
# @return [ScheduledexclusionsResponse]
|
206
|
+
describe 'get_scheduled_exclusions test' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# unit tests for high_volume_query_changes
|
213
|
+
# Returns 1 or more change ids
|
214
|
+
# Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided. It can retrieve an unlimited number of results using multiple requests.
|
215
|
+
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [String] :after A pagination token used with the `limit` parameter to manage pagination of results. On your first request don't provide a value for the `after` token. On subsequent requests provide the `after` token value from the previous response to continue pagination from where you left. If the response returns an empty `after` token it means there are no more results to return.
|
217
|
+
# @option opts [Integer] :limit The maximum number of ids to return. Defaults to `100` if not specified. The maximum number of results that can be returned in a single call is `5000`.
|
218
|
+
# @option opts [String] :sort Sort results using options like: - `action_timestamp` (timestamp of the change occurrence) Sort either `asc` (ascending) or `desc` (descending). For example: `action_timestamp|asc`. Defaults to `action_timestamp|desc` no value is specified. The full list of allowed sorting options can be reviewed in our API documentation.
|
219
|
+
# @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - `host.name` - `action_timestamp` The full list of allowed filter parameters can be reviewed in our API documentation.
|
220
|
+
# @return [ChangesHighVolumeQueryResponse]
|
221
|
+
describe 'high_volume_query_changes 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
|
+
|
64
227
|
# unit tests for query_changes
|
65
|
-
# Returns
|
66
|
-
# Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided
|
228
|
+
# Returns 1 or more change ids
|
229
|
+
# Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided. Using this endpoint you can retrieve up to `10000` results by using pagination with multiple requests. If you need to retrieve more than `10000` results consider using the `/queries/changes/v3` endpoint
|
67
230
|
# @param [Hash] opts the optional parameters
|
68
|
-
# @option opts [Integer] :offset The
|
69
|
-
# @option opts [Integer] :limit The maximum number of
|
70
|
-
# @option opts [String] :sort Sort
|
71
|
-
# @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - `host.
|
231
|
+
# @option opts [Integer] :offset The offset to start retrieving records from. Defaults to `0` if not specified.
|
232
|
+
# @option opts [Integer] :limit The maximum number of ids to return. Defaults to `100` if not specified. The maximum number of results that can be returned in a single call is `500`.
|
233
|
+
# @option opts [String] :sort Sort results using options like: - `action_timestamp` (timestamp of the change occurrence) Sort either `asc` (ascending) or `desc` (descending). For example: `action_timestamp|asc`. The full list of allowed sorting options can be reviewed in our API documentation.
|
234
|
+
# @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - `host.name` - `action_timestamp` The full list of allowed filter parameters can be reviewed in our API documentation.
|
72
235
|
# @return [MsaspecQueryResponse]
|
73
236
|
describe 'query_changes test' do
|
74
237
|
it 'should work' do
|
@@ -76,4 +239,148 @@ describe 'FilevantageApi' do
|
|
76
239
|
end
|
77
240
|
end
|
78
241
|
|
242
|
+
# unit tests for query_policies
|
243
|
+
# Retrieve the ids of all policies that are assigned the provided policy type.
|
244
|
+
# Policy ids will be returned sorted by a `precedence` order of ascending when a `sort` parameter is not provided.
|
245
|
+
# @param type The types of policies to retrieve. Allowed values are: `Windows`, `Linux` or `Mac`.
|
246
|
+
# @param [Hash] opts the optional parameters
|
247
|
+
# @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
|
248
|
+
# @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
|
249
|
+
# @option opts [String] :sort Sort the returned ids based on one of the following properties: `precedence`, `created_timestamp` or `modified_timestamp` Sort either `asc` (ascending) or `desc` (descending); for example: `precedence|asc`.
|
250
|
+
# @return [MsaspecQueryResponse]
|
251
|
+
describe 'query_policies test' do
|
252
|
+
it 'should work' do
|
253
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# unit tests for query_rule_groups
|
258
|
+
# Retrieve the ids of all rule groups that are of the provided rule group type.
|
259
|
+
# Rule group ids will be returned sorted by `created_timestamp` order if a `sort` parameter is not provided
|
260
|
+
# @param type The rule group type to retrieve the ids of. Allowed values are: `WindowsFiles`, `WindowsRegistry`, `LinuxFiles` or `MacFiles`.
|
261
|
+
# @param [Hash] opts the optional parameters
|
262
|
+
# @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
|
263
|
+
# @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
|
264
|
+
# @option opts [String] :sort Sort the returned ids based on one of the following properties: `created_timestamp` or `modified_timestamp` Sort either `asc` (ascending) or `desc` (descending); for example: `created_timestamp|asc`.
|
265
|
+
# @return [MsaspecQueryResponse]
|
266
|
+
describe 'query_rule_groups test' do
|
267
|
+
it 'should work' do
|
268
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# unit tests for query_scheduled_exclusions
|
273
|
+
# Retrieve the ids of all scheduled exclusions contained within the provided policy id.
|
274
|
+
# Retrieve the ids of all scheduled exclusions contained within the provided policy id
|
275
|
+
# @param policy_id The id of the policy from which to retrieve the scheduled exclusion ids.
|
276
|
+
# @param [Hash] opts the optional parameters
|
277
|
+
# @return [MsaspecQueryResponse]
|
278
|
+
describe 'query_scheduled_exclusions test' do
|
279
|
+
it 'should work' do
|
280
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# unit tests for update_policies
|
285
|
+
# Updates the general information of the provided policy.
|
286
|
+
# Only name, description, and enabled status of the policy is allowed to be update. Rule and host group assignment is performed via their respective patch end points.
|
287
|
+
# @param body Enables updates to the following fields for an existing policy. * `id` of the policy to update. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `platform` may not be modified after the policy is created. * `enabled` must be one of `true` or `false`. Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
|
288
|
+
# @param [Hash] opts the optional parameters
|
289
|
+
# @return [PoliciesResponse]
|
290
|
+
describe 'update_policies test' do
|
291
|
+
it 'should work' do
|
292
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# unit tests for update_policy_host_groups
|
297
|
+
# Manage host groups assigned to a policy.
|
298
|
+
# Manage host groups assigned to a policy.
|
299
|
+
# @param policy_id The id of the policy for which to perform the action.
|
300
|
+
# @param action The action to perform with the provided ids, must be one of: `assign` or `unassign`.
|
301
|
+
# @param ids One or more host group ids in the form of `ids=ID1&ids=ID2`
|
302
|
+
# @param [Hash] opts the optional parameters
|
303
|
+
# @return [PoliciesResponse]
|
304
|
+
describe 'update_policy_host_groups test' do
|
305
|
+
it 'should work' do
|
306
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# unit tests for update_policy_precedence
|
311
|
+
# Updates the policy precedence for all policies of a specific type.
|
312
|
+
# Requests that do not represent all ids of the provided policy type will not be processed.
|
313
|
+
# @param ids Precedence of the policies for the provided type in the form of `ids=ID1&ids=ID2`
|
314
|
+
# @param type The policy type for which to set the precedence order, must be one of `Windows`, `Linux` or `Mac`.
|
315
|
+
# @param [Hash] opts the optional parameters
|
316
|
+
# @return [PoliciesPrecedenceResponse]
|
317
|
+
describe 'update_policy_precedence test' do
|
318
|
+
it 'should work' do
|
319
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# unit tests for update_policy_rule_groups
|
324
|
+
# Manage the rule groups assigned to the policy or set the rule group precedence for all rule groups within the policy.
|
325
|
+
# Manage the rule groups assigned to the policy. Rule groups must be of the same type as the policy they are being added: * `WindowsRegistry` and `WindowsFiles` groups can only be added to a `Windows` policy. * `LinuxFiles` groups can only be added to a `Linux` policy. * `MacFiles` groups can only be added to a `Mac` policy. When setting rule group precedence, the precedence for `all` rule group ids within the policy must be provided.
|
326
|
+
# @param policy_id The id of the policy for which to perform the action.
|
327
|
+
# @param action The action to perform with the provided ids, must be one of: `assign`, `unassign`, or `precedence`.
|
328
|
+
# @param ids One or more rule group ids in the form of ids=ID1&ids=ID2. Note, for the precedence action, precedence is controlled by the order of the ids as they are specified in the request.
|
329
|
+
# @param [Hash] opts the optional parameters
|
330
|
+
# @return [PoliciesResponse]
|
331
|
+
describe 'update_policy_rule_groups test' do
|
332
|
+
it 'should work' do
|
333
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# unit tests for update_rule_group_precedence
|
338
|
+
# Updates the rule precedence for all rules in the identified rule group.
|
339
|
+
# The ids for `all` rules contained within the rule group must be specified in the desired precedence order. Requests that do not represent all ids will not be processed.
|
340
|
+
# @param rule_group_id Rule group from which to set the precedence.
|
341
|
+
# @param ids One or more (up to 500) rule group ids in the form of `ids=ID1&ids=ID2`.
|
342
|
+
# @param [Hash] opts the optional parameters
|
343
|
+
# @return [RulegroupsResponse]
|
344
|
+
describe 'update_rule_group_precedence test' do
|
345
|
+
it 'should work' do
|
346
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
# unit tests for update_rule_groups
|
351
|
+
# Updates the provided rule group.
|
352
|
+
# Provides the ability to update the name and description of the rule group.
|
353
|
+
# @param body Enables updates to the following fields for an existing rule group. * `id` of the rule group to update. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `type` may not be modified after the rule group is created. Note: rules are added/removed from rule groups using their dedicated end-points.
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @return [RulegroupsResponse]
|
356
|
+
describe 'update_rule_groups test' do
|
357
|
+
it 'should work' do
|
358
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
# unit tests for update_rules
|
363
|
+
# Updates the provided rule configuration within the specified rule group.
|
364
|
+
# The rule must currently exist within the specified rule group.
|
365
|
+
# @param body Update the rule configuration for the specified rule ID and group. * `id` of the rule to update. * `rule_group_id` that contains the rule configuration. * `description` can be between 0 and 500 characters. * `path` representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * `severity` to categorize change events produced by this rule; must be one of: `Low`, `Medium`, `High` or `Critical` * `depth` below the base path to monitor; must be one of: `1`, `2`, `3`, `4`, `5` or `ANY` * `precedence` is the order in which rules will be evaluated starting with 1. Specifying a precedence value that is already set for another rule in the group will result this rule being placed before that existing rule. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * `include` represents the files, directories, registry keys, or registry values that will be monitored. * `exclude` represents the files, directories, registry keys, or registry values that will `NOT` be monitored. * `include_users` represents the changes performed by specific users that will be monitored. * `exclude_users` represents the changes performed by specific users that will `NOT` be monitored. * `include_processes` represents the changes performed by specific processes that will be monitored. * `exclude_processes` represents the changes performed by specific processes that will be `NOT` monitored. * `content_files` represents the files that will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * `content_registry_values` represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * `enable_content_capture` File system directory monitoring: * `watch_delete_directory_changes` * `watch_create_directory_changes` * `watch_rename_directory_changes` * `watch_attributes_directory_changes` (`macOS` is not supported at this time) * `watch_permissions_directory_changes` (`macOS` is not supported at this time) File system file monitoring: * `watch_rename_file_changes` * `watch_write_file_changes` * `watch_create_file_changes` * `watch_delete_file_changes` * `watch_attributes_file_changes` (`macOS` is not supported at this time) * `watch_permissions_file_changes` (`macOS` is not supported at this time) Windows registry key and value monitoring: * `watch_create_key_changes` * `watch_delete_key_changes` * `watch_rename_key_changes` * `watch_set_value_changes` * `watch_delete_value_changes` * `watch_create_file_changes`
|
366
|
+
# @param [Hash] opts the optional parameters
|
367
|
+
# @return [RulegroupsRulesResponse]
|
368
|
+
describe 'update_rules test' do
|
369
|
+
it 'should work' do
|
370
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# unit tests for update_scheduled_exclusions
|
375
|
+
# Updates the provided scheduled exclusion configuration within the provided policy.
|
376
|
+
# Updates the provided scheduled exclusion configuration within the provided policy.
|
377
|
+
# @param body Update an existing scheduled exclusion for the specified policy. * `policy_id` to add the scheduled exclusion to. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `users` can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * `processes` can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * `schedule_start` must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * `schedule_end` optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * `timezone` must be provided to indicate the TimeZone Name set for the provided `scheduled_start` and `scheduled_end` values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * `repeated` optionally provided to indicate that the exclusion is applied repeatedly within the `scheduled_start` and `scheduled_end` time. * `start_time` must be the hour(00-23) and minute(00-59) of the day formatted as `HH:MM`. Required if `all_day` is not set to `true` * `end_time` must be the hour(00-23) and minute(00-59) of the day formatted as `HH:MM`. Required if `all_day` is not set to `true` * `all_day` must be `true` or `false` to indicate the exclusion is applied all day. * `frequency` must be one of `daily`, `weekly` or `monthly`. * `occurrence` must be one of the following when `frequency` is set to `monthly`: * `1st`, `2nd`, `3rd`, `4th` or `Last` represents the week. * `Days` represents specific calendar days. * `weekly_days` must be one or more of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` or `Sunday` when `frequency` is set to `weekly` or `frequency` is set to `monthly` and `occurrence` is NOT set to `Days`. * `monthly_days` must be set to one or more calendar days, between 1 and 31 when `frequency` is set to `monthly` and `occurrence` is set to `Days`.
|
378
|
+
# @param [Hash] opts the optional parameters
|
379
|
+
# @return [ScheduledexclusionsResponse]
|
380
|
+
describe 'update_scheduled_exclusions test' do
|
381
|
+
it 'should work' do
|
382
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
79
386
|
end
|
@@ -0,0 +1,226 @@
|
|
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::FoundryLogscaleApi
|
34
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
35
|
+
# Please update as you see appropriate
|
36
|
+
describe 'FoundryLogscaleApi' do
|
37
|
+
before do
|
38
|
+
# run before each test
|
39
|
+
@api_instance = Falcon::FoundryLogscaleApi.new
|
40
|
+
end
|
41
|
+
|
42
|
+
after do
|
43
|
+
# run after each test
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test an instance of FoundryLogscaleApi' do
|
47
|
+
it 'should create an instance of FoundryLogscaleApi' do
|
48
|
+
expect(@api_instance).to be_instance_of(Falcon::FoundryLogscaleApi)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# unit tests for create_saved_searches_dynamic_execute_alt_v1
|
53
|
+
# Execute a dynamic saved search
|
54
|
+
# @param body
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @option opts [String] :app_id Application ID.
|
57
|
+
# @option opts [Boolean] :include_schema_generation Include generated schemas in the response
|
58
|
+
# @option opts [Boolean] :include_test_data Include test data when executing searches
|
59
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
60
|
+
# @option opts [String] :mode Mode to execute the query under.
|
61
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
62
|
+
describe 'create_saved_searches_dynamic_execute_alt_v1 test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# unit tests for create_saved_searches_dynamic_execute_v1
|
69
|
+
# Execute a dynamic saved search
|
70
|
+
# @param body
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :app_id Application ID.
|
73
|
+
# @option opts [Boolean] :include_schema_generation Include generated schemas in the response
|
74
|
+
# @option opts [Boolean] :include_test_data Include test data when executing searches
|
75
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
76
|
+
# @option opts [String] :mode Mode to execute the query under.
|
77
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
78
|
+
describe 'create_saved_searches_dynamic_execute_v1 test' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# unit tests for create_saved_searches_execute_alt_v1
|
85
|
+
# Execute a saved search
|
86
|
+
# @param body
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [String] :app_id Application ID.
|
89
|
+
# @option opts [Boolean] :detailed Whether to include search field details
|
90
|
+
# @option opts [Boolean] :include_test_data Include test data when executing searches
|
91
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
92
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
93
|
+
describe 'create_saved_searches_execute_alt_v1 test' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# unit tests for create_saved_searches_execute_v1
|
100
|
+
# Execute a saved search
|
101
|
+
# @param body
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [String] :app_id Application ID.
|
104
|
+
# @option opts [Boolean] :detailed Whether to include search field details
|
105
|
+
# @option opts [Boolean] :include_test_data Include test data when executing searches
|
106
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
107
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
108
|
+
describe 'create_saved_searches_execute_v1 test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# unit tests for create_saved_searches_ingest_alt_v1
|
115
|
+
# Populate a saved search
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @option opts [String] :app_id Application ID.
|
118
|
+
# @return [ClientDataIngestResponseWrapperV1]
|
119
|
+
describe 'create_saved_searches_ingest_alt_v1 test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# unit tests for create_saved_searches_ingest_v1
|
126
|
+
# Populate a saved search
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [String] :app_id Application ID.
|
129
|
+
# @return [ClientDataIngestResponseWrapperV1]
|
130
|
+
describe 'create_saved_searches_ingest_v1 test' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# unit tests for get_saved_searches_execute_alt_v1
|
137
|
+
# Get the results of a saved search
|
138
|
+
# @param job_id Job ID for a previously executed async query
|
139
|
+
# @param [Hash] opts the optional parameters
|
140
|
+
# @option opts [String] :app_id Application ID.
|
141
|
+
# @option opts [String] :limit Maximum number of records to return.
|
142
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
143
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
144
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
145
|
+
describe 'get_saved_searches_execute_alt_v1 test' do
|
146
|
+
it 'should work' do
|
147
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# unit tests for get_saved_searches_execute_v1
|
152
|
+
# Get the results of a saved search
|
153
|
+
# @param job_id Job ID for a previously executed async query
|
154
|
+
# @param [Hash] opts the optional parameters
|
155
|
+
# @option opts [String] :app_id Application ID.
|
156
|
+
# @option opts [String] :limit Maximum number of records to return.
|
157
|
+
# @option opts [Boolean] :metadata Whether to include metadata in the response
|
158
|
+
# @option opts [String] :offset Starting pagination offset of records to return.
|
159
|
+
# @return [ApidomainQueryResponseWrapperV1]
|
160
|
+
describe 'get_saved_searches_execute_v1 test' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# unit tests for get_saved_searches_job_results_download_alt_v1
|
167
|
+
# Get the results of a saved search as a file
|
168
|
+
# @param job_id Job ID for a previously executed async query
|
169
|
+
# @param [Hash] opts the optional parameters
|
170
|
+
# @option opts [String] :result_format Result Format
|
171
|
+
# @return [File]
|
172
|
+
describe 'get_saved_searches_job_results_download_alt_v1 test' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# unit tests for get_saved_searches_job_results_download_v1
|
179
|
+
# Get the results of a saved search as a file
|
180
|
+
# @param job_id Job ID for a previously executed async query
|
181
|
+
# @param [Hash] opts the optional parameters
|
182
|
+
# @option opts [String] :result_format Result Format
|
183
|
+
# @return [File]
|
184
|
+
describe 'get_saved_searches_job_results_download_v1 test' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# unit tests for ingest_data_v1
|
191
|
+
# Ingest data into the application repository
|
192
|
+
# @param data_file Data file to ingest
|
193
|
+
# @param [Hash] opts the optional parameters
|
194
|
+
# @option opts [Array<String>] :tag Custom tag for ingested data in the form tag:value
|
195
|
+
# @option opts [String] :tag_source Tag the data with the specified source
|
196
|
+
# @option opts [Boolean] :test_data Tag the data with test-ingest
|
197
|
+
# @return [ClientDataIngestResponseWrapperV1]
|
198
|
+
describe 'ingest_data_v1 test' do
|
199
|
+
it 'should work' do
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# unit tests for list_repos_v1
|
205
|
+
# Lists available repositories and views
|
206
|
+
# @param [Hash] opts the optional parameters
|
207
|
+
# @option opts [Boolean] :check_test_data Include whether test data is present in the application repository
|
208
|
+
# @return [ApidomainRepoViewListItemWrapperV1]
|
209
|
+
describe 'list_repos_v1 test' do
|
210
|
+
it 'should work' do
|
211
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# unit tests for list_view_v1
|
216
|
+
# List views
|
217
|
+
# @param [Hash] opts the optional parameters
|
218
|
+
# @option opts [Boolean] :check_test_data Include whether test data is present in the application repository
|
219
|
+
# @return [ApidomainRepoViewListItemWrapperV1]
|
220
|
+
describe 'list_view_v1 test' do
|
221
|
+
it 'should work' do
|
222
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
end
|
data/spec/api/hosts_api_spec.rb
CHANGED
@@ -50,7 +50,7 @@ describe 'HostsApi' do
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# unit tests for entities_perform_action
|
53
|
-
# Performs the specified action on the provided
|
53
|
+
# Performs the specified action on the provided group IDs.
|
54
54
|
# @param ids The group ids to act on
|
55
55
|
# @param action_name The action to perform.
|
56
56
|
# @param body
|
@@ -63,17 +63,6 @@ describe 'HostsApi' do
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
# unit tests for get_device_details
|
67
|
-
# Deprecated: Please use new GET or POST /devices/entities/devices/v2 endpoints. This endpoint will be removed on or sometime after February 9, 2023. Get details on one or more hosts by providing agent IDs (AID). You can get a host's agent IDs (AIDs) from the /devices/queries/devices/v1 endpoint, the Falcon console or the Streaming API
|
68
|
-
# @param ids The host agentIDs used to get details on
|
69
|
-
# @param [Hash] opts the optional parameters
|
70
|
-
# @return [DeviceapiDeviceDetailsResponseSwagger]
|
71
|
-
describe 'get_device_details test' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
66
|
# unit tests for get_device_details_v2
|
78
67
|
# Get details on one or more hosts by providing host IDs as a query parameter. Supports up to a maximum 100 IDs.
|
79
68
|
# @param ids The host agentIDs used to get details on
|
@@ -130,6 +119,17 @@ describe 'HostsApi' do
|
|
130
119
|
end
|
131
120
|
end
|
132
121
|
|
122
|
+
# unit tests for query_device_login_history_v2
|
123
|
+
# Retrieve details about recent interactive login sessions for a set of devices powered by the Host Timeline. A max of 10 device ids can be specified
|
124
|
+
# @param body
|
125
|
+
# @param [Hash] opts the optional parameters
|
126
|
+
# @return [DeviceapiLoginHistoryResponseV1]
|
127
|
+
describe 'query_device_login_history_v2 test' do
|
128
|
+
it 'should work' do
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
133
|
# unit tests for query_devices_by_filter
|
134
134
|
# Search for hosts in your environment by platform, hostname, IP, and other criteria.
|
135
135
|
# @param [Hash] opts the optional parameters
|