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
@@ -0,0 +1,827 @@
|
|
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 'date'
|
31
|
+
require 'time'
|
32
|
+
|
33
|
+
module Falcon
|
34
|
+
class ModelsPod
|
35
|
+
attr_accessor :agents
|
36
|
+
|
37
|
+
attr_accessor :allow_privilege_escalation
|
38
|
+
|
39
|
+
attr_accessor :annotations_list
|
40
|
+
|
41
|
+
attr_accessor :automount_service_token
|
42
|
+
|
43
|
+
attr_accessor :cid
|
44
|
+
|
45
|
+
attr_accessor :cloud_account_id
|
46
|
+
|
47
|
+
attr_accessor :cloud_name
|
48
|
+
|
49
|
+
attr_accessor :cloud_region
|
50
|
+
|
51
|
+
attr_accessor :cluster_id
|
52
|
+
|
53
|
+
attr_accessor :cluster_name
|
54
|
+
|
55
|
+
attr_accessor :container_count
|
56
|
+
|
57
|
+
attr_accessor :containers
|
58
|
+
|
59
|
+
attr_accessor :created_at
|
60
|
+
|
61
|
+
attr_accessor :first_seen
|
62
|
+
|
63
|
+
attr_accessor :host_ipc
|
64
|
+
|
65
|
+
attr_accessor :host_network
|
66
|
+
|
67
|
+
attr_accessor :host_pid
|
68
|
+
|
69
|
+
attr_accessor :image_pull_secrets
|
70
|
+
|
71
|
+
attr_accessor :ipv4
|
72
|
+
|
73
|
+
attr_accessor :ipv6
|
74
|
+
|
75
|
+
attr_accessor :labels
|
76
|
+
|
77
|
+
attr_accessor :labels_list
|
78
|
+
|
79
|
+
attr_accessor :last_seen
|
80
|
+
|
81
|
+
attr_accessor :namespace
|
82
|
+
|
83
|
+
attr_accessor :node_ipv4
|
84
|
+
|
85
|
+
attr_accessor :node_name
|
86
|
+
|
87
|
+
attr_accessor :node_selector
|
88
|
+
|
89
|
+
attr_accessor :node_uid
|
90
|
+
|
91
|
+
attr_accessor :owner_id
|
92
|
+
|
93
|
+
attr_accessor :owner_type
|
94
|
+
|
95
|
+
attr_accessor :pod_external_id
|
96
|
+
|
97
|
+
attr_accessor :pod_id
|
98
|
+
|
99
|
+
attr_accessor :pod_name
|
100
|
+
|
101
|
+
attr_accessor :ports
|
102
|
+
|
103
|
+
attr_accessor :privileged
|
104
|
+
|
105
|
+
attr_accessor :root_write_access
|
106
|
+
|
107
|
+
attr_accessor :run_as_root_group
|
108
|
+
|
109
|
+
attr_accessor :run_as_root_user
|
110
|
+
|
111
|
+
attr_accessor :scheduler_name
|
112
|
+
|
113
|
+
attr_accessor :service_account_name
|
114
|
+
|
115
|
+
attr_accessor :share_process_namespace
|
116
|
+
|
117
|
+
attr_accessor :volume_mounts
|
118
|
+
|
119
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
120
|
+
def self.attribute_map
|
121
|
+
{
|
122
|
+
:'agents' => :'agents',
|
123
|
+
:'allow_privilege_escalation' => :'allow_privilege_escalation',
|
124
|
+
:'annotations_list' => :'annotations_list',
|
125
|
+
:'automount_service_token' => :'automount_service_token',
|
126
|
+
:'cid' => :'cid',
|
127
|
+
:'cloud_account_id' => :'cloud_account_id',
|
128
|
+
:'cloud_name' => :'cloud_name',
|
129
|
+
:'cloud_region' => :'cloud_region',
|
130
|
+
:'cluster_id' => :'cluster_id',
|
131
|
+
:'cluster_name' => :'cluster_name',
|
132
|
+
:'container_count' => :'container_count',
|
133
|
+
:'containers' => :'containers',
|
134
|
+
:'created_at' => :'created_at',
|
135
|
+
:'first_seen' => :'first_seen',
|
136
|
+
:'host_ipc' => :'host_ipc',
|
137
|
+
:'host_network' => :'host_network',
|
138
|
+
:'host_pid' => :'host_pid',
|
139
|
+
:'image_pull_secrets' => :'image_pull_secrets',
|
140
|
+
:'ipv4' => :'ipv4',
|
141
|
+
:'ipv6' => :'ipv6',
|
142
|
+
:'labels' => :'labels',
|
143
|
+
:'labels_list' => :'labels_list',
|
144
|
+
:'last_seen' => :'last_seen',
|
145
|
+
:'namespace' => :'namespace',
|
146
|
+
:'node_ipv4' => :'node_ipv4',
|
147
|
+
:'node_name' => :'node_name',
|
148
|
+
:'node_selector' => :'node_selector',
|
149
|
+
:'node_uid' => :'node_uid',
|
150
|
+
:'owner_id' => :'owner_id',
|
151
|
+
:'owner_type' => :'owner_type',
|
152
|
+
:'pod_external_id' => :'pod_external_id',
|
153
|
+
:'pod_id' => :'pod_id',
|
154
|
+
:'pod_name' => :'pod_name',
|
155
|
+
:'ports' => :'ports',
|
156
|
+
:'privileged' => :'privileged',
|
157
|
+
:'root_write_access' => :'root_write_access',
|
158
|
+
:'run_as_root_group' => :'run_as_root_group',
|
159
|
+
:'run_as_root_user' => :'run_as_root_user',
|
160
|
+
:'scheduler_name' => :'scheduler_name',
|
161
|
+
:'service_account_name' => :'service_account_name',
|
162
|
+
:'share_process_namespace' => :'share_process_namespace',
|
163
|
+
:'volume_mounts' => :'volume_mounts'
|
164
|
+
}
|
165
|
+
end
|
166
|
+
|
167
|
+
# Returns all the JSON keys this model knows about
|
168
|
+
def self.acceptable_attributes
|
169
|
+
attribute_map.values
|
170
|
+
end
|
171
|
+
|
172
|
+
# Attribute type mapping.
|
173
|
+
def self.openapi_types
|
174
|
+
{
|
175
|
+
:'agents' => :'Array<Hash>',
|
176
|
+
:'allow_privilege_escalation' => :'Boolean',
|
177
|
+
:'annotations_list' => :'Array<String>',
|
178
|
+
:'automount_service_token' => :'Boolean',
|
179
|
+
:'cid' => :'String',
|
180
|
+
:'cloud_account_id' => :'String',
|
181
|
+
:'cloud_name' => :'String',
|
182
|
+
:'cloud_region' => :'String',
|
183
|
+
:'cluster_id' => :'String',
|
184
|
+
:'cluster_name' => :'String',
|
185
|
+
:'container_count' => :'Integer',
|
186
|
+
:'containers' => :'Array<Hash>',
|
187
|
+
:'created_at' => :'String',
|
188
|
+
:'first_seen' => :'String',
|
189
|
+
:'host_ipc' => :'Boolean',
|
190
|
+
:'host_network' => :'Boolean',
|
191
|
+
:'host_pid' => :'Boolean',
|
192
|
+
:'image_pull_secrets' => :'Array<String>',
|
193
|
+
:'ipv4' => :'String',
|
194
|
+
:'ipv6' => :'String',
|
195
|
+
:'labels' => :'Hash<String, String>',
|
196
|
+
:'labels_list' => :'Array<String>',
|
197
|
+
:'last_seen' => :'String',
|
198
|
+
:'namespace' => :'String',
|
199
|
+
:'node_ipv4' => :'String',
|
200
|
+
:'node_name' => :'String',
|
201
|
+
:'node_selector' => :'String',
|
202
|
+
:'node_uid' => :'String',
|
203
|
+
:'owner_id' => :'String',
|
204
|
+
:'owner_type' => :'String',
|
205
|
+
:'pod_external_id' => :'String',
|
206
|
+
:'pod_id' => :'String',
|
207
|
+
:'pod_name' => :'String',
|
208
|
+
:'ports' => :'Array<Hash>',
|
209
|
+
:'privileged' => :'Boolean',
|
210
|
+
:'root_write_access' => :'Boolean',
|
211
|
+
:'run_as_root_group' => :'Boolean',
|
212
|
+
:'run_as_root_user' => :'Boolean',
|
213
|
+
:'scheduler_name' => :'String',
|
214
|
+
:'service_account_name' => :'String',
|
215
|
+
:'share_process_namespace' => :'Boolean',
|
216
|
+
:'volume_mounts' => :'String'
|
217
|
+
}
|
218
|
+
end
|
219
|
+
|
220
|
+
# List of attributes with nullable: true
|
221
|
+
def self.openapi_nullable
|
222
|
+
Set.new([
|
223
|
+
])
|
224
|
+
end
|
225
|
+
|
226
|
+
# Initializes the object
|
227
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
228
|
+
def initialize(attributes = {})
|
229
|
+
if (!attributes.is_a?(Hash))
|
230
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Falcon::ModelsPod` initialize method"
|
231
|
+
end
|
232
|
+
|
233
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
234
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
235
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
236
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Falcon::ModelsPod`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
237
|
+
end
|
238
|
+
h[k.to_sym] = v
|
239
|
+
}
|
240
|
+
|
241
|
+
if attributes.key?(:'agents')
|
242
|
+
if (value = attributes[:'agents']).is_a?(Array)
|
243
|
+
self.agents = value
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
if attributes.key?(:'allow_privilege_escalation')
|
248
|
+
self.allow_privilege_escalation = attributes[:'allow_privilege_escalation']
|
249
|
+
end
|
250
|
+
|
251
|
+
if attributes.key?(:'annotations_list')
|
252
|
+
if (value = attributes[:'annotations_list']).is_a?(Array)
|
253
|
+
self.annotations_list = value
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
if attributes.key?(:'automount_service_token')
|
258
|
+
self.automount_service_token = attributes[:'automount_service_token']
|
259
|
+
end
|
260
|
+
|
261
|
+
if attributes.key?(:'cid')
|
262
|
+
self.cid = attributes[:'cid']
|
263
|
+
end
|
264
|
+
|
265
|
+
if attributes.key?(:'cloud_account_id')
|
266
|
+
self.cloud_account_id = attributes[:'cloud_account_id']
|
267
|
+
end
|
268
|
+
|
269
|
+
if attributes.key?(:'cloud_name')
|
270
|
+
self.cloud_name = attributes[:'cloud_name']
|
271
|
+
end
|
272
|
+
|
273
|
+
if attributes.key?(:'cloud_region')
|
274
|
+
self.cloud_region = attributes[:'cloud_region']
|
275
|
+
end
|
276
|
+
|
277
|
+
if attributes.key?(:'cluster_id')
|
278
|
+
self.cluster_id = attributes[:'cluster_id']
|
279
|
+
end
|
280
|
+
|
281
|
+
if attributes.key?(:'cluster_name')
|
282
|
+
self.cluster_name = attributes[:'cluster_name']
|
283
|
+
end
|
284
|
+
|
285
|
+
if attributes.key?(:'container_count')
|
286
|
+
self.container_count = attributes[:'container_count']
|
287
|
+
end
|
288
|
+
|
289
|
+
if attributes.key?(:'containers')
|
290
|
+
if (value = attributes[:'containers']).is_a?(Array)
|
291
|
+
self.containers = value
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
if attributes.key?(:'created_at')
|
296
|
+
self.created_at = attributes[:'created_at']
|
297
|
+
end
|
298
|
+
|
299
|
+
if attributes.key?(:'first_seen')
|
300
|
+
self.first_seen = attributes[:'first_seen']
|
301
|
+
end
|
302
|
+
|
303
|
+
if attributes.key?(:'host_ipc')
|
304
|
+
self.host_ipc = attributes[:'host_ipc']
|
305
|
+
end
|
306
|
+
|
307
|
+
if attributes.key?(:'host_network')
|
308
|
+
self.host_network = attributes[:'host_network']
|
309
|
+
end
|
310
|
+
|
311
|
+
if attributes.key?(:'host_pid')
|
312
|
+
self.host_pid = attributes[:'host_pid']
|
313
|
+
end
|
314
|
+
|
315
|
+
if attributes.key?(:'image_pull_secrets')
|
316
|
+
if (value = attributes[:'image_pull_secrets']).is_a?(Array)
|
317
|
+
self.image_pull_secrets = value
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
if attributes.key?(:'ipv4')
|
322
|
+
self.ipv4 = attributes[:'ipv4']
|
323
|
+
end
|
324
|
+
|
325
|
+
if attributes.key?(:'ipv6')
|
326
|
+
self.ipv6 = attributes[:'ipv6']
|
327
|
+
end
|
328
|
+
|
329
|
+
if attributes.key?(:'labels')
|
330
|
+
if (value = attributes[:'labels']).is_a?(Hash)
|
331
|
+
self.labels = value
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
if attributes.key?(:'labels_list')
|
336
|
+
if (value = attributes[:'labels_list']).is_a?(Array)
|
337
|
+
self.labels_list = value
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
if attributes.key?(:'last_seen')
|
342
|
+
self.last_seen = attributes[:'last_seen']
|
343
|
+
end
|
344
|
+
|
345
|
+
if attributes.key?(:'namespace')
|
346
|
+
self.namespace = attributes[:'namespace']
|
347
|
+
end
|
348
|
+
|
349
|
+
if attributes.key?(:'node_ipv4')
|
350
|
+
self.node_ipv4 = attributes[:'node_ipv4']
|
351
|
+
end
|
352
|
+
|
353
|
+
if attributes.key?(:'node_name')
|
354
|
+
self.node_name = attributes[:'node_name']
|
355
|
+
end
|
356
|
+
|
357
|
+
if attributes.key?(:'node_selector')
|
358
|
+
self.node_selector = attributes[:'node_selector']
|
359
|
+
end
|
360
|
+
|
361
|
+
if attributes.key?(:'node_uid')
|
362
|
+
self.node_uid = attributes[:'node_uid']
|
363
|
+
end
|
364
|
+
|
365
|
+
if attributes.key?(:'owner_id')
|
366
|
+
self.owner_id = attributes[:'owner_id']
|
367
|
+
end
|
368
|
+
|
369
|
+
if attributes.key?(:'owner_type')
|
370
|
+
self.owner_type = attributes[:'owner_type']
|
371
|
+
end
|
372
|
+
|
373
|
+
if attributes.key?(:'pod_external_id')
|
374
|
+
self.pod_external_id = attributes[:'pod_external_id']
|
375
|
+
end
|
376
|
+
|
377
|
+
if attributes.key?(:'pod_id')
|
378
|
+
self.pod_id = attributes[:'pod_id']
|
379
|
+
end
|
380
|
+
|
381
|
+
if attributes.key?(:'pod_name')
|
382
|
+
self.pod_name = attributes[:'pod_name']
|
383
|
+
end
|
384
|
+
|
385
|
+
if attributes.key?(:'ports')
|
386
|
+
if (value = attributes[:'ports']).is_a?(Array)
|
387
|
+
self.ports = value
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
if attributes.key?(:'privileged')
|
392
|
+
self.privileged = attributes[:'privileged']
|
393
|
+
end
|
394
|
+
|
395
|
+
if attributes.key?(:'root_write_access')
|
396
|
+
self.root_write_access = attributes[:'root_write_access']
|
397
|
+
end
|
398
|
+
|
399
|
+
if attributes.key?(:'run_as_root_group')
|
400
|
+
self.run_as_root_group = attributes[:'run_as_root_group']
|
401
|
+
end
|
402
|
+
|
403
|
+
if attributes.key?(:'run_as_root_user')
|
404
|
+
self.run_as_root_user = attributes[:'run_as_root_user']
|
405
|
+
end
|
406
|
+
|
407
|
+
if attributes.key?(:'scheduler_name')
|
408
|
+
self.scheduler_name = attributes[:'scheduler_name']
|
409
|
+
end
|
410
|
+
|
411
|
+
if attributes.key?(:'service_account_name')
|
412
|
+
self.service_account_name = attributes[:'service_account_name']
|
413
|
+
end
|
414
|
+
|
415
|
+
if attributes.key?(:'share_process_namespace')
|
416
|
+
self.share_process_namespace = attributes[:'share_process_namespace']
|
417
|
+
end
|
418
|
+
|
419
|
+
if attributes.key?(:'volume_mounts')
|
420
|
+
self.volume_mounts = attributes[:'volume_mounts']
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
425
|
+
# @return Array for valid properties with the reasons
|
426
|
+
def list_invalid_properties
|
427
|
+
invalid_properties = Array.new
|
428
|
+
if @agents.nil?
|
429
|
+
invalid_properties.push('invalid value for "agents", agents cannot be nil.')
|
430
|
+
end
|
431
|
+
|
432
|
+
if @allow_privilege_escalation.nil?
|
433
|
+
invalid_properties.push('invalid value for "allow_privilege_escalation", allow_privilege_escalation cannot be nil.')
|
434
|
+
end
|
435
|
+
|
436
|
+
if @annotations_list.nil?
|
437
|
+
invalid_properties.push('invalid value for "annotations_list", annotations_list cannot be nil.')
|
438
|
+
end
|
439
|
+
|
440
|
+
if @automount_service_token.nil?
|
441
|
+
invalid_properties.push('invalid value for "automount_service_token", automount_service_token cannot be nil.')
|
442
|
+
end
|
443
|
+
|
444
|
+
if @cid.nil?
|
445
|
+
invalid_properties.push('invalid value for "cid", cid cannot be nil.')
|
446
|
+
end
|
447
|
+
|
448
|
+
if @cloud_account_id.nil?
|
449
|
+
invalid_properties.push('invalid value for "cloud_account_id", cloud_account_id cannot be nil.')
|
450
|
+
end
|
451
|
+
|
452
|
+
if @cloud_name.nil?
|
453
|
+
invalid_properties.push('invalid value for "cloud_name", cloud_name cannot be nil.')
|
454
|
+
end
|
455
|
+
|
456
|
+
if @cloud_region.nil?
|
457
|
+
invalid_properties.push('invalid value for "cloud_region", cloud_region cannot be nil.')
|
458
|
+
end
|
459
|
+
|
460
|
+
if @cluster_id.nil?
|
461
|
+
invalid_properties.push('invalid value for "cluster_id", cluster_id cannot be nil.')
|
462
|
+
end
|
463
|
+
|
464
|
+
if @cluster_name.nil?
|
465
|
+
invalid_properties.push('invalid value for "cluster_name", cluster_name cannot be nil.')
|
466
|
+
end
|
467
|
+
|
468
|
+
if @container_count.nil?
|
469
|
+
invalid_properties.push('invalid value for "container_count", container_count cannot be nil.')
|
470
|
+
end
|
471
|
+
|
472
|
+
if @containers.nil?
|
473
|
+
invalid_properties.push('invalid value for "containers", containers cannot be nil.')
|
474
|
+
end
|
475
|
+
|
476
|
+
if @created_at.nil?
|
477
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
478
|
+
end
|
479
|
+
|
480
|
+
if @first_seen.nil?
|
481
|
+
invalid_properties.push('invalid value for "first_seen", first_seen cannot be nil.')
|
482
|
+
end
|
483
|
+
|
484
|
+
if @host_ipc.nil?
|
485
|
+
invalid_properties.push('invalid value for "host_ipc", host_ipc cannot be nil.')
|
486
|
+
end
|
487
|
+
|
488
|
+
if @host_network.nil?
|
489
|
+
invalid_properties.push('invalid value for "host_network", host_network cannot be nil.')
|
490
|
+
end
|
491
|
+
|
492
|
+
if @host_pid.nil?
|
493
|
+
invalid_properties.push('invalid value for "host_pid", host_pid cannot be nil.')
|
494
|
+
end
|
495
|
+
|
496
|
+
if @image_pull_secrets.nil?
|
497
|
+
invalid_properties.push('invalid value for "image_pull_secrets", image_pull_secrets cannot be nil.')
|
498
|
+
end
|
499
|
+
|
500
|
+
if @ipv4.nil?
|
501
|
+
invalid_properties.push('invalid value for "ipv4", ipv4 cannot be nil.')
|
502
|
+
end
|
503
|
+
|
504
|
+
if @ipv6.nil?
|
505
|
+
invalid_properties.push('invalid value for "ipv6", ipv6 cannot be nil.')
|
506
|
+
end
|
507
|
+
|
508
|
+
if @labels.nil?
|
509
|
+
invalid_properties.push('invalid value for "labels", labels cannot be nil.')
|
510
|
+
end
|
511
|
+
|
512
|
+
if @labels_list.nil?
|
513
|
+
invalid_properties.push('invalid value for "labels_list", labels_list cannot be nil.')
|
514
|
+
end
|
515
|
+
|
516
|
+
if @last_seen.nil?
|
517
|
+
invalid_properties.push('invalid value for "last_seen", last_seen cannot be nil.')
|
518
|
+
end
|
519
|
+
|
520
|
+
if @namespace.nil?
|
521
|
+
invalid_properties.push('invalid value for "namespace", namespace cannot be nil.')
|
522
|
+
end
|
523
|
+
|
524
|
+
if @node_ipv4.nil?
|
525
|
+
invalid_properties.push('invalid value for "node_ipv4", node_ipv4 cannot be nil.')
|
526
|
+
end
|
527
|
+
|
528
|
+
if @node_name.nil?
|
529
|
+
invalid_properties.push('invalid value for "node_name", node_name cannot be nil.')
|
530
|
+
end
|
531
|
+
|
532
|
+
if @node_selector.nil?
|
533
|
+
invalid_properties.push('invalid value for "node_selector", node_selector cannot be nil.')
|
534
|
+
end
|
535
|
+
|
536
|
+
if @node_uid.nil?
|
537
|
+
invalid_properties.push('invalid value for "node_uid", node_uid cannot be nil.')
|
538
|
+
end
|
539
|
+
|
540
|
+
if @owner_id.nil?
|
541
|
+
invalid_properties.push('invalid value for "owner_id", owner_id cannot be nil.')
|
542
|
+
end
|
543
|
+
|
544
|
+
if @owner_type.nil?
|
545
|
+
invalid_properties.push('invalid value for "owner_type", owner_type cannot be nil.')
|
546
|
+
end
|
547
|
+
|
548
|
+
if @pod_external_id.nil?
|
549
|
+
invalid_properties.push('invalid value for "pod_external_id", pod_external_id cannot be nil.')
|
550
|
+
end
|
551
|
+
|
552
|
+
if @pod_id.nil?
|
553
|
+
invalid_properties.push('invalid value for "pod_id", pod_id cannot be nil.')
|
554
|
+
end
|
555
|
+
|
556
|
+
if @pod_name.nil?
|
557
|
+
invalid_properties.push('invalid value for "pod_name", pod_name cannot be nil.')
|
558
|
+
end
|
559
|
+
|
560
|
+
if @ports.nil?
|
561
|
+
invalid_properties.push('invalid value for "ports", ports cannot be nil.')
|
562
|
+
end
|
563
|
+
|
564
|
+
if @privileged.nil?
|
565
|
+
invalid_properties.push('invalid value for "privileged", privileged cannot be nil.')
|
566
|
+
end
|
567
|
+
|
568
|
+
if @root_write_access.nil?
|
569
|
+
invalid_properties.push('invalid value for "root_write_access", root_write_access cannot be nil.')
|
570
|
+
end
|
571
|
+
|
572
|
+
if @run_as_root_group.nil?
|
573
|
+
invalid_properties.push('invalid value for "run_as_root_group", run_as_root_group cannot be nil.')
|
574
|
+
end
|
575
|
+
|
576
|
+
if @run_as_root_user.nil?
|
577
|
+
invalid_properties.push('invalid value for "run_as_root_user", run_as_root_user cannot be nil.')
|
578
|
+
end
|
579
|
+
|
580
|
+
if @scheduler_name.nil?
|
581
|
+
invalid_properties.push('invalid value for "scheduler_name", scheduler_name cannot be nil.')
|
582
|
+
end
|
583
|
+
|
584
|
+
if @service_account_name.nil?
|
585
|
+
invalid_properties.push('invalid value for "service_account_name", service_account_name cannot be nil.')
|
586
|
+
end
|
587
|
+
|
588
|
+
if @share_process_namespace.nil?
|
589
|
+
invalid_properties.push('invalid value for "share_process_namespace", share_process_namespace cannot be nil.')
|
590
|
+
end
|
591
|
+
|
592
|
+
if @volume_mounts.nil?
|
593
|
+
invalid_properties.push('invalid value for "volume_mounts", volume_mounts cannot be nil.')
|
594
|
+
end
|
595
|
+
|
596
|
+
invalid_properties
|
597
|
+
end
|
598
|
+
|
599
|
+
# Check to see if the all the properties in the model are valid
|
600
|
+
# @return true if the model is valid
|
601
|
+
def valid?
|
602
|
+
return false if @agents.nil?
|
603
|
+
return false if @allow_privilege_escalation.nil?
|
604
|
+
return false if @annotations_list.nil?
|
605
|
+
return false if @automount_service_token.nil?
|
606
|
+
return false if @cid.nil?
|
607
|
+
return false if @cloud_account_id.nil?
|
608
|
+
return false if @cloud_name.nil?
|
609
|
+
return false if @cloud_region.nil?
|
610
|
+
return false if @cluster_id.nil?
|
611
|
+
return false if @cluster_name.nil?
|
612
|
+
return false if @container_count.nil?
|
613
|
+
return false if @containers.nil?
|
614
|
+
return false if @created_at.nil?
|
615
|
+
return false if @first_seen.nil?
|
616
|
+
return false if @host_ipc.nil?
|
617
|
+
return false if @host_network.nil?
|
618
|
+
return false if @host_pid.nil?
|
619
|
+
return false if @image_pull_secrets.nil?
|
620
|
+
return false if @ipv4.nil?
|
621
|
+
return false if @ipv6.nil?
|
622
|
+
return false if @labels.nil?
|
623
|
+
return false if @labels_list.nil?
|
624
|
+
return false if @last_seen.nil?
|
625
|
+
return false if @namespace.nil?
|
626
|
+
return false if @node_ipv4.nil?
|
627
|
+
return false if @node_name.nil?
|
628
|
+
return false if @node_selector.nil?
|
629
|
+
return false if @node_uid.nil?
|
630
|
+
return false if @owner_id.nil?
|
631
|
+
return false if @owner_type.nil?
|
632
|
+
return false if @pod_external_id.nil?
|
633
|
+
return false if @pod_id.nil?
|
634
|
+
return false if @pod_name.nil?
|
635
|
+
return false if @ports.nil?
|
636
|
+
return false if @privileged.nil?
|
637
|
+
return false if @root_write_access.nil?
|
638
|
+
return false if @run_as_root_group.nil?
|
639
|
+
return false if @run_as_root_user.nil?
|
640
|
+
return false if @scheduler_name.nil?
|
641
|
+
return false if @service_account_name.nil?
|
642
|
+
return false if @share_process_namespace.nil?
|
643
|
+
return false if @volume_mounts.nil?
|
644
|
+
true
|
645
|
+
end
|
646
|
+
|
647
|
+
# Checks equality by comparing each attribute.
|
648
|
+
# @param [Object] Object to be compared
|
649
|
+
def ==(o)
|
650
|
+
return true if self.equal?(o)
|
651
|
+
self.class == o.class &&
|
652
|
+
agents == o.agents &&
|
653
|
+
allow_privilege_escalation == o.allow_privilege_escalation &&
|
654
|
+
annotations_list == o.annotations_list &&
|
655
|
+
automount_service_token == o.automount_service_token &&
|
656
|
+
cid == o.cid &&
|
657
|
+
cloud_account_id == o.cloud_account_id &&
|
658
|
+
cloud_name == o.cloud_name &&
|
659
|
+
cloud_region == o.cloud_region &&
|
660
|
+
cluster_id == o.cluster_id &&
|
661
|
+
cluster_name == o.cluster_name &&
|
662
|
+
container_count == o.container_count &&
|
663
|
+
containers == o.containers &&
|
664
|
+
created_at == o.created_at &&
|
665
|
+
first_seen == o.first_seen &&
|
666
|
+
host_ipc == o.host_ipc &&
|
667
|
+
host_network == o.host_network &&
|
668
|
+
host_pid == o.host_pid &&
|
669
|
+
image_pull_secrets == o.image_pull_secrets &&
|
670
|
+
ipv4 == o.ipv4 &&
|
671
|
+
ipv6 == o.ipv6 &&
|
672
|
+
labels == o.labels &&
|
673
|
+
labels_list == o.labels_list &&
|
674
|
+
last_seen == o.last_seen &&
|
675
|
+
namespace == o.namespace &&
|
676
|
+
node_ipv4 == o.node_ipv4 &&
|
677
|
+
node_name == o.node_name &&
|
678
|
+
node_selector == o.node_selector &&
|
679
|
+
node_uid == o.node_uid &&
|
680
|
+
owner_id == o.owner_id &&
|
681
|
+
owner_type == o.owner_type &&
|
682
|
+
pod_external_id == o.pod_external_id &&
|
683
|
+
pod_id == o.pod_id &&
|
684
|
+
pod_name == o.pod_name &&
|
685
|
+
ports == o.ports &&
|
686
|
+
privileged == o.privileged &&
|
687
|
+
root_write_access == o.root_write_access &&
|
688
|
+
run_as_root_group == o.run_as_root_group &&
|
689
|
+
run_as_root_user == o.run_as_root_user &&
|
690
|
+
scheduler_name == o.scheduler_name &&
|
691
|
+
service_account_name == o.service_account_name &&
|
692
|
+
share_process_namespace == o.share_process_namespace &&
|
693
|
+
volume_mounts == o.volume_mounts
|
694
|
+
end
|
695
|
+
|
696
|
+
# @see the `==` method
|
697
|
+
# @param [Object] Object to be compared
|
698
|
+
def eql?(o)
|
699
|
+
self == o
|
700
|
+
end
|
701
|
+
|
702
|
+
# Calculates hash code according to all attributes.
|
703
|
+
# @return [Integer] Hash code
|
704
|
+
def hash
|
705
|
+
[agents, allow_privilege_escalation, annotations_list, automount_service_token, cid, cloud_account_id, cloud_name, cloud_region, cluster_id, cluster_name, container_count, containers, created_at, first_seen, host_ipc, host_network, host_pid, image_pull_secrets, ipv4, ipv6, labels, labels_list, last_seen, namespace, node_ipv4, node_name, node_selector, node_uid, owner_id, owner_type, pod_external_id, pod_id, pod_name, ports, privileged, root_write_access, run_as_root_group, run_as_root_user, scheduler_name, service_account_name, share_process_namespace, volume_mounts].hash
|
706
|
+
end
|
707
|
+
|
708
|
+
# Builds the object from hash
|
709
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
710
|
+
# @return [Object] Returns the model itself
|
711
|
+
def self.build_from_hash(attributes)
|
712
|
+
new.build_from_hash(attributes)
|
713
|
+
end
|
714
|
+
|
715
|
+
# Builds the object from hash
|
716
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
717
|
+
# @return [Object] Returns the model itself
|
718
|
+
def build_from_hash(attributes)
|
719
|
+
return nil unless attributes.is_a?(Hash)
|
720
|
+
attributes = attributes.transform_keys(&:to_sym)
|
721
|
+
self.class.openapi_types.each_pair do |key, type|
|
722
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
723
|
+
self.send("#{key}=", nil)
|
724
|
+
elsif type =~ /\AArray<(.*)>/i
|
725
|
+
# check to ensure the input is an array given that the attribute
|
726
|
+
# is documented as an array but the input is not
|
727
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
728
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
729
|
+
end
|
730
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
731
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
self
|
736
|
+
end
|
737
|
+
|
738
|
+
# Deserializes the data based on type
|
739
|
+
# @param string type Data type
|
740
|
+
# @param string value Value to be deserialized
|
741
|
+
# @return [Object] Deserialized data
|
742
|
+
def _deserialize(type, value)
|
743
|
+
case type.to_sym
|
744
|
+
when :Time
|
745
|
+
Time.parse(value)
|
746
|
+
when :Date
|
747
|
+
Date.parse(value)
|
748
|
+
when :String
|
749
|
+
value.to_s
|
750
|
+
when :Integer
|
751
|
+
value.to_i
|
752
|
+
when :Float
|
753
|
+
value.to_f
|
754
|
+
when :Boolean
|
755
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
756
|
+
true
|
757
|
+
else
|
758
|
+
false
|
759
|
+
end
|
760
|
+
when :Object
|
761
|
+
# generic object (usually a Hash), return directly
|
762
|
+
value
|
763
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
764
|
+
inner_type = Regexp.last_match[:inner_type]
|
765
|
+
value.map { |v| _deserialize(inner_type, v) }
|
766
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
767
|
+
k_type = Regexp.last_match[:k_type]
|
768
|
+
v_type = Regexp.last_match[:v_type]
|
769
|
+
{}.tap do |hash|
|
770
|
+
value.each do |k, v|
|
771
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
772
|
+
end
|
773
|
+
end
|
774
|
+
else # model
|
775
|
+
# models (e.g. Pet) or oneOf
|
776
|
+
klass = Falcon.const_get(type)
|
777
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
781
|
+
# Returns the string representation of the object
|
782
|
+
# @return [String] String presentation of the object
|
783
|
+
def to_s
|
784
|
+
to_hash.to_s
|
785
|
+
end
|
786
|
+
|
787
|
+
# to_body is an alias to to_hash (backward compatibility)
|
788
|
+
# @return [Hash] Returns the object in the form of hash
|
789
|
+
def to_body
|
790
|
+
to_hash
|
791
|
+
end
|
792
|
+
|
793
|
+
# Returns the object in the form of hash
|
794
|
+
# @return [Hash] Returns the object in the form of hash
|
795
|
+
def to_hash
|
796
|
+
hash = {}
|
797
|
+
self.class.attribute_map.each_pair do |attr, param|
|
798
|
+
value = self.send(attr)
|
799
|
+
if value.nil?
|
800
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
801
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
802
|
+
end
|
803
|
+
|
804
|
+
hash[param] = _to_hash(value)
|
805
|
+
end
|
806
|
+
hash
|
807
|
+
end
|
808
|
+
|
809
|
+
# Outputs non-array value in the form of hash
|
810
|
+
# For object, use to_hash. Otherwise, just return the value
|
811
|
+
# @param [Object] value Any valid value
|
812
|
+
# @return [Hash] Returns the value in the form of hash
|
813
|
+
def _to_hash(value)
|
814
|
+
if value.is_a?(Array)
|
815
|
+
value.compact.map { |v| _to_hash(v) }
|
816
|
+
elsif value.is_a?(Hash)
|
817
|
+
{}.tap do |hash|
|
818
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
819
|
+
end
|
820
|
+
elsif value.respond_to? :to_hash
|
821
|
+
value.to_hash
|
822
|
+
else
|
823
|
+
value
|
824
|
+
end
|
825
|
+
end
|
826
|
+
end
|
827
|
+
end
|