You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opened from failing KB functional tests in test/functional/kb/definitions/. The serverless run targets a project tier whose route table omits the security/observability/apm/slo/streams solution APIs, so 159 definitions get a generic 404 Not Found and are currently blanket-skipped in codegen/functional/kb.ts. Most of the serverless input_error failures are downstream symptoms of a solution-API setup step 404ing.
Fix
Extend the requires block in codegen/functional/parser.ts with an optional serverless_project: security | observability | elasticsearch (array allowed). In codegen/functional/kb.ts, skip a definition when ELASTIC_ENVIRONMENT=serverless and the run's configured project type is not in the definition's list, then annotate the affected definitions. This replaces most of skippedFilesServerless with self-documenting gating and lets the suite pass on the matching project type. Add a codegen unit test per branch.
Failing test definitions (159, serverless generic 404)
Opened from failing KB functional tests in
test/functional/kb/definitions/. The serverless run targets a project tier whose route table omits the security/observability/apm/slo/streams solution APIs, so 159 definitions get a generic404 Not Foundand are currently blanket-skipped incodegen/functional/kb.ts. Most of the serverlessinput_errorfailures are downstream symptoms of a solution-API setup step 404ing.Fix
Extend the
requiresblock incodegen/functional/parser.tswith an optionalserverless_project: security | observability | elasticsearch(array allowed). Incodegen/functional/kb.ts, skip a definition whenELASTIC_ENVIRONMENT=serverlessand the run's configured project type is not in the definition's list, then annotate the affected definitions. This replaces most ofskippedFilesServerlesswith self-documenting gating and lets the suite pass on the matching project type. Add a codegen unit test per branch.Failing test definitions (159, serverless generic 404)
agent_builder_get_plugins.ymlapm_agent_configuration_create_update_agent_configuration.ymlapm_agent_configuration_delete_agent_configuration.ymlapm_agent_configuration_get_agent_configurations.ymlapm_agent_configuration_get_agent_name_for_service.ymlapm_agent_configuration_get_environments_for_service.ymlapm_agent_configuration_get_single_agent_configuration.ymlapm_agent_configuration_search_single_configuration.ymlapm_agent_keys_create_agent_key.ymlapm_annotations_create_annotation.ymlapm_annotations_get_annotation.ymlapm_server_schema_save_apm_server_schema.ymlsecurity_ai_assistant_api_create_knowledge_base.ymlsecurity_ai_assistant_api_find_anonymization_fields.ymlsecurity_ai_assistant_api_find_conversations.ymlsecurity_ai_assistant_api_find_knowledge_base_entries.ymlsecurity_ai_assistant_api_find_prompts.ymlsecurity_ai_assistant_api_get_knowledge_base.ymlsecurity_ai_assistant_api_perform_anonymization_fields_bulk_action.ymlsecurity_ai_assistant_api_perform_knowledge_base_entry_bulk_action.ymlsecurity_ai_assistant_api_perform_prompts_bulk_action.ymlsecurity_ai_assistant_api_post_knowledge_base.ymlsecurity_ai_assistant_api_read_knowledge_base.ymlsecurity_attack_discovery_api_attack_discovery_find.ymlsecurity_attack_discovery_api_find_attack_discovery_schedules.ymlsecurity_attack_discovery_api_get_attack_discovery_generations.ymlsecurity_attack_discovery_api_post_attack_discovery_bulk.ymlsecurity_detections_api_create_rule.ymlsecurity_detections_api_delete_rule.ymlsecurity_detections_api_export_rules.ymlsecurity_detections_api_find_rules.ymlsecurity_detections_api_import_rules.ymlsecurity_detections_api_patch_rule.ymlsecurity_detections_api_perform_rules_bulk_action.ymlsecurity_detections_api_read_privileges.ymlsecurity_detections_api_read_rule.ymlsecurity_detections_api_read_tags.ymlsecurity_detections_api_rule_preview.ymlsecurity_detections_api_search_alerts.ymlsecurity_detections_api_set_alert_assignees.ymlsecurity_detections_api_set_alert_tags.ymlsecurity_detections_api_set_alerts_status.ymlsecurity_detections_api_update_rule.ymlsecurity_endpoint_exceptions_api_create_endpoint_list.ymlsecurity_endpoint_exceptions_api_create_endpoint_list_item.ymlsecurity_endpoint_exceptions_api_delete_endpoint_list_item.ymlsecurity_endpoint_exceptions_api_find_endpoint_list_items.ymlsecurity_endpoint_exceptions_api_read_endpoint_list_item.ymlsecurity_endpoint_exceptions_api_update_endpoint_list_item.ymlsecurity_endpoint_management_api_endpoint_get_actions_list.ymlsecurity_endpoint_management_api_endpoint_get_actions_state.ymlsecurity_endpoint_management_api_endpoint_get_actions_status.ymlsecurity_endpoint_management_api_endpoint_script_library_list_scripts.ymlsecurity_endpoint_management_api_get_endpoint_metadata_list.ymlsecurity_entity_analytics_api_bulk_upsert_asset_criticality_records.ymlsecurity_entity_analytics_api_clean_up_risk_engine.ymlsecurity_entity_analytics_api_configure_risk_engine_saved_object.ymlsecurity_entity_analytics_api_create_asset_criticality_record.ymlsecurity_entity_analytics_api_create_priv_mon_user.ymlsecurity_entity_analytics_api_create_watchlist.ymlsecurity_entity_analytics_api_delete_asset_criticality_record.ymlsecurity_entity_analytics_api_delete_monitoring_engine.ymlsecurity_entity_analytics_api_delete_priv_mon_user.ymlsecurity_entity_analytics_api_disable_monitoring_engine.ymlsecurity_entity_analytics_api_find_asset_criticality_records.ymlsecurity_entity_analytics_api_get_asset_criticality_record.ymlsecurity_entity_analytics_api_get_privileged_access_detection_package_status.ymlsecurity_entity_analytics_api_get_watchlist.ymlsecurity_entity_analytics_api_init_monitoring_engine.ymlsecurity_entity_analytics_api_install_privileged_access_detection_package.ymlsecurity_entity_analytics_api_list_priv_mon_users.ymlsecurity_entity_analytics_api_list_watchlists.ymlsecurity_entity_analytics_api_priv_mon_health.ymlsecurity_entity_analytics_api_priv_mon_privileges.ymlsecurity_entity_analytics_api_privmon_bulk_upload_users_c_s_v.ymlsecurity_entity_analytics_api_schedule_monitoring_engine.ymlsecurity_entity_analytics_api_schedule_risk_engine_now.ymlsecurity_entity_analytics_api_unassign_watchlist_entities.ymlsecurity_entity_analytics_api_update_priv_mon_user.ymlsecurity_entity_analytics_api_update_watchlist.ymlsecurity_entity_analytics_api_upload_watchlist_csv.ymlsecurity_exceptions_api_create_exception_list.ymlsecurity_exceptions_api_create_exception_list_item.ymlsecurity_exceptions_api_create_rule_exception_list_items.ymlsecurity_exceptions_api_create_shared_exception_list.ymlsecurity_exceptions_api_delete_exception_list.ymlsecurity_exceptions_api_delete_exception_list_item.ymlsecurity_exceptions_api_duplicate_exception_list.ymlsecurity_exceptions_api_export_exception_list.ymlsecurity_exceptions_api_find_exception_list_items.ymlsecurity_exceptions_api_find_exception_lists.ymlsecurity_exceptions_api_import_exception_list.ymlsecurity_exceptions_api_read_exception_list.ymlsecurity_exceptions_api_read_exception_list_item.ymlsecurity_exceptions_api_read_exception_list_summary.ymlsecurity_exceptions_api_update_exception_list.ymlsecurity_exceptions_api_update_exception_list_item.ymlsecurity_lists_api_create_list.ymlsecurity_lists_api_create_list_index.ymlsecurity_lists_api_create_list_item.ymlsecurity_lists_api_delete_list.ymlsecurity_lists_api_delete_list_index.ymlsecurity_lists_api_delete_list_item.ymlsecurity_lists_api_export_list_items.ymlsecurity_lists_api_find_list_items.ymlsecurity_lists_api_find_lists.ymlsecurity_lists_api_import_list_items.ymlsecurity_lists_api_patch_list.ymlsecurity_lists_api_patch_list_item.ymlsecurity_lists_api_read_list.ymlsecurity_lists_api_read_list_index.ymlsecurity_lists_api_read_list_item.ymlsecurity_lists_api_read_list_privileges.ymlsecurity_lists_api_update_list.ymlsecurity_lists_api_update_list_item.ymlsecurity_osquery_api_osquery_create_live_query.ymlsecurity_osquery_api_osquery_export_live_query_results.ymlsecurity_osquery_api_osquery_find_live_queries.ymlsecurity_osquery_api_osquery_find_packs.ymlsecurity_osquery_api_osquery_find_saved_queries.ymlsecurity_osquery_api_osquery_get_live_query_details.ymlsecurity_osquery_api_osquery_get_live_query_results.ymlsecurity_osquery_api_osquery_get_unified_history.ymlsecurity_timeline_api_clean_draft_timelines.ymlsecurity_timeline_api_copy_timeline.ymlsecurity_timeline_api_create_timelines.ymlsecurity_timeline_api_delete_note.ymlsecurity_timeline_api_delete_timelines.ymlsecurity_timeline_api_export_timelines.ymlsecurity_timeline_api_get_draft_timelines.ymlsecurity_timeline_api_get_notes.ymlsecurity_timeline_api_get_timeline.ymlsecurity_timeline_api_get_timelines.ymlsecurity_timeline_api_import_timelines.ymlsecurity_timeline_api_install_prepacked_timelines.ymlsecurity_timeline_api_patch_timeline.ymlsecurity_timeline_api_persist_favorite_route.ymlsecurity_timeline_api_persist_note_route.ymlsecurity_timeline_api_persist_pinned_event_route.ymlsecurity_timeline_api_resolve_timeline.ymlsignificantevents_delete_streams_name_queries_queryid.ymlsignificantevents_get_streams_name_queries.ymlsignificantevents_get_streams_name_significant_events.ymlsignificantevents_post_streams_name_queries_bulk.ymlsignificantevents_put_streams_name_queries_queryid.ymlslo_bulk_delete_op.ymlslo_bulk_snapshot_op.ymlslo_create_slo_op.ymlslo_delete_rollup_data_op.ymlslo_delete_slo_instances_op.ymlslo_delete_slo_op.ymlslo_disable_slo_op.ymlslo_enable_slo_op.ymlslo_find_slos_op.ymlslo_get_definitions_op.ymlslo_get_slo_op.ymlslo_get_snapshot_op.ymlslo_reset_slo_op.ymlslo_update_slo_op.yml