diff --git a/.rubocop_todo/graphql/graphql_name.yml b/.rubocop_todo/graphql/graphql_name.yml index b9eabed7f5695777edce2f417ad8ebc053441162..7361dfdab54876963915a28495f06351a4ec55df 100644 --- a/.rubocop_todo/graphql/graphql_name.yml +++ b/.rubocop_todo/graphql/graphql_name.yml @@ -87,19 +87,11 @@ GraphQL/GraphqlName: - 'app/graphql/types/untrusted_regexp.rb' - 'app/graphql/types/visibility_levels_enum.rb' - 'ee/app/graphql/mutations/ai/agents/base.rb' - - 'ee/app/graphql/mutations/audit_events/amazon_s3_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/external_audit_event_destinations/base.rb' - - 'ee/app/graphql/mutations/audit_events/google_cloud_logging_configurations/base.rb' - 'ee/app/graphql/mutations/audit_events/group/audit_event_streaming_destinations/base.rb' - 'ee/app/graphql/mutations/audit_events/group/namespace_filters/base.rb' - - 'ee/app/graphql/mutations/audit_events/instance/amazon_s3_configurations/base.rb' - 'ee/app/graphql/mutations/audit_events/instance/audit_event_streaming_destinations/base.rb' - - 'ee/app/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/instance_external_audit_event_destinations/base.rb' - 'ee/app/graphql/mutations/audit_events/streaming/base_event_type_filters/base_create.rb' - 'ee/app/graphql/mutations/audit_events/streaming/base_event_type_filters/base_destroy.rb' - - 'ee/app/graphql/mutations/audit_events/streaming/http/namespace_filters/base.rb' - - 'ee/app/graphql/mutations/audit_events/streaming/instance_headers/base.rb' - 'ee/app/graphql/mutations/boards/epic_boards/base.rb' - 'ee/app/graphql/mutations/epics/base.rb' - 'ee/app/graphql/mutations/incident_management/escalation_policy/base.rb' diff --git a/.rubocop_todo/layout/line_continuation_spacing.yml b/.rubocop_todo/layout/line_continuation_spacing.yml index c603a205bc48bcc9cd834811be83b6b5fa1a6a28..6bc5aad0f2bc45f2f057e91fdbd60dbc25a1fdbf 100644 --- a/.rubocop_todo/layout/line_continuation_spacing.yml +++ b/.rubocop_todo/layout/line_continuation_spacing.yml @@ -41,8 +41,6 @@ Layout/LineContinuationSpacing: - 'ee/spec/features/protected_branches_spec.rb' - 'ee/spec/features/protected_tags_spec.rb' - 'ee/spec/features/registrations/email_confirmation_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/event_type_filters/destroy_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb' - 'ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb' - 'ee/spec/helpers/ee/labels_helper_spec.rb' - 'ee/spec/helpers/push_rules_helper_spec.rb' diff --git a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml index 7989b60dc12909a76250b5644cc6bbdc8da30360..ccfc8e2813bb53a5d6ebf25ef978cb2e47bfe9f4 100644 --- a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml +++ b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml @@ -58,14 +58,6 @@ Layout/LineEndStringConcatenationIndentation: - 'ee/app/graphql/ee/types/query_type.rb' - 'ee/app/graphql/ee/types/root_storage_statistics_type.rb' - 'ee/app/graphql/mutations/app_sec/dast/site_profiles/shared_arguments.rb' - - 'ee/app/graphql/mutations/audit_events/amazon_s3_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/google_cloud_logging_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/google_cloud_logging_configurations/common_update.rb' - - 'ee/app/graphql/mutations/audit_events/google_cloud_logging_configurations/create.rb' - - 'ee/app/graphql/mutations/audit_events/instance/amazon_s3_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/base.rb' - - 'ee/app/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/create.rb' - - 'ee/app/graphql/mutations/audit_events/streaming/http/namespace_filters/base.rb' - 'ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb' - 'ee/app/graphql/mutations/dast/profiles/update.rb' - 'ee/app/graphql/mutations/dast_scanner_profiles/create.rb' @@ -88,10 +80,7 @@ Layout/LineEndStringConcatenationIndentation: - 'ee/app/graphql/types/ai/summarize_new_merge_request_input_type.rb' - 'ee/app/graphql/types/analytics/cycle_analytics/aggregation_status_type.rb' - 'ee/app/graphql/types/analytics/value_stream_dashboard/metric_enum.rb' - - 'ee/app/graphql/types/audit_events/google_cloud_logging_configuration_type.rb' - 'ee/app/graphql/types/audit_events/group/namespace_filter_type.rb' - - 'ee/app/graphql/types/audit_events/instance/google_cloud_logging_configuration_type.rb' - - 'ee/app/graphql/types/audit_events/streaming/http/namespace_filter_type.rb' - 'ee/app/graphql/types/ci/runner_cloud_provisioning_step_type.rb' - 'ee/app/graphql/types/dast/profile_type.rb' - 'ee/app/graphql/types/dast/site_profile_auth_input_type.rb' @@ -178,8 +167,6 @@ Layout/LineEndStringConcatenationIndentation: - 'ee/spec/features/projects/show_project_spec.rb' - 'ee/spec/features/protected_branches_spec.rb' - 'ee/spec/features/protected_tags_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/event_type_filters/destroy_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb' - 'ee/spec/graphql/mutations/deployments/deployment_approve_spec.rb' - 'ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb' - 'ee/spec/helpers/ee/profiles_helper_spec.rb' @@ -210,22 +197,11 @@ Layout/LineEndStringConcatenationIndentation: - 'ee/spec/requests/api/gitlab_subscriptions/add_on_purchases_spec.rb' - 'ee/spec/requests/api/graphql/ai_messages_spec.rb' - 'ee/spec/requests/api/graphql/audit_events/instance/event_type_filters/delete_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/http/namespace_filters/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/http/namespace_filters/delete_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_event_type_filters/destroy_spec.rb' - 'ee/spec/requests/api/graphql/ci/runner_usage_by_project_spec.rb' - 'ee/spec/requests/api/graphql/ci/runner_usage_spec.rb' - 'ee/spec/requests/api/graphql/environments/deployments_spec.rb' - 'ee/spec/requests/api/graphql/gitlab_subscriptions/add_on_eligible_users_spec.rb' - 'ee/spec/requests/api/graphql/gitlab_subscriptions/self_managed/add_on_eligible_users_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/delete_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/delete_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/destroy_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/lists/update_limit_metrics_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/update_epic_user_preferences_spec.rb' - 'ee/spec/requests/api/graphql/mutations/ci/project_subscriptions/create_spec.rb' diff --git a/.rubocop_todo/layout/line_length.yml b/.rubocop_todo/layout/line_length.yml index 2c61a3a2531c7fbda430f5d0861e15253830e805..d53febb3ff3573cbdbea8507707e9bd9863d02e4 100644 --- a/.rubocop_todo/layout/line_length.yml +++ b/.rubocop_todo/layout/line_length.yml @@ -1374,7 +1374,6 @@ Layout/LineLength: - 'ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/bulk_enable_spec.rb' - 'ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/disable_spec.rb' - 'ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/enable_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/lists/update_limit_metrics_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/update_epic_user_preferences_spec.rb' diff --git a/.rubocop_todo/rspec/be_eq.yml b/.rubocop_todo/rspec/be_eq.yml index 3cbc098e0e97827145cab6d35ff1191a88804e64..b7e039b20848c9845ba202fa9d6869bb0ab1d1f3 100644 --- a/.rubocop_todo/rspec/be_eq.yml +++ b/.rubocop_todo/rspec/be_eq.yml @@ -283,9 +283,6 @@ RSpec/BeEq: - 'ee/spec/requests/api/graphql/analytics/value_stream_analytics_spec.rb' - 'ee/spec/requests/api/graphql/audit_events/group/namespace_filters/create_spec.rb' - 'ee/spec/requests/api/graphql/audit_events/instance/namespace_filters/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/headers/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/http/namespace_filters/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_headers/create_spec.rb' - 'ee/spec/requests/api/graphql/boards/boards_query_spec.rb' - 'ee/spec/requests/api/graphql/group/ci_cd_settings_spec.rb' - 'ee/spec/requests/api/graphql/group/dast_profile_schedule_spec.rb' @@ -294,7 +291,6 @@ RSpec/BeEq: - 'ee/spec/requests/api/graphql/issue/issue_spec.rb' - 'ee/spec/requests/api/graphql/merge_trains/trains_spec.rb' - 'ee/spec/requests/api/graphql/mutations/analytics/devops_adoption/enabled_namespaces/disable_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/ci/namespace_ci_cd_settings_update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/compliance_management/standards/refresh_adherence_checks_spec.rb' - 'ee/spec/requests/api/graphql/mutations/dast_scanner_profiles/create_spec.rb' diff --git a/.rubocop_todo/rspec/before_all_role_assignment.yml b/.rubocop_todo/rspec/before_all_role_assignment.yml index f21528d79631f84fd888a80c288154319386c6d4..414bccbb823528db99c938486d52a0ad1cee16eb 100644 --- a/.rubocop_todo/rspec/before_all_role_assignment.yml +++ b/.rubocop_todo/rspec/before_all_role_assignment.yml @@ -331,12 +331,6 @@ RSpec/BeforeAllRoleAssignment: - 'ee/spec/requests/api/graphql/merge_requests/finding_reports_comparer_spec.rb' - 'ee/spec/requests/api/graphql/mutations/alert_management/http_integration/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/alert_management/http_integration/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/epic_boards/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb' diff --git a/.rubocop_todo/rspec/context_wording.yml b/.rubocop_todo/rspec/context_wording.yml index d5a97dc1436481e14e66cf1bb72c1d5fb5521df9..999d035582d85af8fabd9b4453e2df50cca8dcc0 100644 --- a/.rubocop_todo/rspec/context_wording.yml +++ b/.rubocop_todo/rspec/context_wording.yml @@ -185,8 +185,6 @@ RSpec/ContextWording: - 'ee/spec/graphql/ee/resolvers/clusters/agents_resolver_spec.rb' - 'ee/spec/graphql/ee/resolvers/namespace_projects_resolver_spec.rb' - 'ee/spec/graphql/ee/types/issue_type_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/create_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb' diff --git a/.rubocop_todo/rspec/example_without_description.yml b/.rubocop_todo/rspec/example_without_description.yml index 649772bbd6862e76ac36588a7e6d2ba49b58c3c1..2f5f257df2d78d09a97c274283c929cd30ddd880 100644 --- a/.rubocop_todo/rspec/example_without_description.yml +++ b/.rubocop_todo/rspec/example_without_description.yml @@ -140,9 +140,6 @@ RSpec/ExampleWithoutDescription: - 'ee/spec/requests/api/graphql/audit_events/group/namespace_filters/create_spec.rb' - 'ee/spec/requests/api/graphql/audit_events/group/namespace_filters/delete_spec.rb' - 'ee/spec/requests/api/graphql/audit_events/instance/event_type_filters/delete_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/http/namespace_filters/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/http/namespace_filters/delete_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_event_type_filters/destroy_spec.rb' - 'ee/spec/requests/api/graphql/mutations/geo/registries/bulk_update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/geo/registries/update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/security/training_provider_update_spec.rb' diff --git a/.rubocop_todo/rspec/feature_category.yml b/.rubocop_todo/rspec/feature_category.yml index f2bc3c4b22d1804dd925ade27a295931adad8a08..a6e3992a4beb26c84bc94d44d27ebf7f00caf429 100644 --- a/.rubocop_todo/rspec/feature_category.yml +++ b/.rubocop_todo/rspec/feature_category.yml @@ -119,7 +119,6 @@ RSpec/FeatureCategory: - 'ee/spec/graphql/ee/types/subscription_type_spec.rb' - 'ee/spec/graphql/ee/types/user_merge_request_interaction_type_spec.rb' - 'ee/spec/graphql/mutations/app_sec/fuzzing/coverage/corpus/create_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb' diff --git a/.rubocop_todo/rspec/named_subject.yml b/.rubocop_todo/rspec/named_subject.yml index e4605869f8fecb3d5059a050b430ad9051fef783..7c102b61de669496247e2b51f2911663cc0af856 100644 --- a/.rubocop_todo/rspec/named_subject.yml +++ b/.rubocop_todo/rspec/named_subject.yml @@ -90,10 +90,6 @@ RSpec/NamedSubject: - 'ee/spec/graphql/ee/types/ci/pipeline_type_spec.rb' - 'ee/spec/graphql/ee/types/group_type_spec.rb' - 'ee/spec/graphql/mutations/ai/action_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/event_type_filters/create_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/event_type_filters/destroy_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/create_spec.rb' - - 'ee/spec/graphql/mutations/audit_events/streaming/headers/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb' - 'ee/spec/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb' - 'ee/spec/graphql/mutations/boards/epics/create_spec.rb' @@ -571,12 +567,6 @@ RSpec/NamedSubject: - 'ee/spec/requests/api/epic_links_spec.rb' - 'ee/spec/requests/api/geo_spec.rb' - 'ee/spec/requests/api/graphql/ai_messages_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/headers/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/headers/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/headers/update_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_headers/create_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_headers/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_headers/update_spec.rb' - 'ee/spec/requests/api/graphql/boards/epic_list_query_spec.rb' - 'ee/spec/requests/api/graphql/ci/minutes/usage_spec.rb' - 'ee/spec/requests/api/graphql/environments/deployments_spec.rb' @@ -585,10 +575,6 @@ RSpec/NamedSubject: - 'ee/spec/requests/api/graphql/member_role/project_member_role_spec.rb' - 'ee/spec/requests/api/graphql/member_role/single_member_role_spec.rb' - 'ee/spec/requests/api/graphql/milestone_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/destroy_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/create_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/epic_boards/destroy_spec.rb' - 'ee/spec/requests/api/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb' diff --git a/.rubocop_todo/rspec/receive_messages.yml b/.rubocop_todo/rspec/receive_messages.yml index 77db92b5c369559e4741b238273398aa7363ee75..1fba020e8c7963235799791ce30d95f0bcb698d4 100644 --- a/.rubocop_todo/rspec/receive_messages.yml +++ b/.rubocop_todo/rspec/receive_messages.yml @@ -88,23 +88,10 @@ RSpec/ReceiveMessages: - 'ee/spec/presenters/merge_request_presenter_spec.rb' - 'ee/spec/replicators/geo/container_repository_replicator_spec.rb' - 'ee/spec/requests/api/code_suggestions_spec.rb' - - 'ee/spec/requests/api/graphql/audit_events/streaming/instance_headers/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/delete_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/amazon_s3_configurations/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/google_cloud_logging_configurations/update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/audit_events/group/audit_event_streaming_destinations/delete_spec.rb' - 'ee/spec/requests/api/graphql/mutations/audit_events/group/audit_event_streaming_destinations/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/delete_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/amazon_s3_configurations/update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/audit_event_streaming_destinations/delete_spec.rb' - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/audit_event_streaming_destinations/update_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/create_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/destroy_spec.rb' - - 'ee/spec/requests/api/graphql/mutations/audit_events/instance/google_cloud_logging_configurations/update_spec.rb' - 'ee/spec/requests/api/graphql/mutations/security/configuration/project_security_exclusion_delete_spec.rb' - 'ee/spec/requests/api/graphql/mutations/work_items/update_spec.rb' - 'ee/spec/requests/api/internal/ai/x_ray/scan_spec.rb' diff --git a/app/assets/javascripts/graphql_shared/possible_types.json b/app/assets/javascripts/graphql_shared/possible_types.json index 7b2f439a3480782a98762187511430f62434725f..b31eff46da7207db838f349e25471bd3526d273f 100644 --- a/app/assets/javascripts/graphql_shared/possible_types.json +++ b/app/assets/javascripts/graphql_shared/possible_types.json @@ -17,10 +17,6 @@ "AlertManagementHttpIntegration", "AlertManagementPrometheusIntegration" ], - "AmazonS3ConfigurationInterface": [ - "AmazonS3ConfigurationType", - "InstanceAmazonS3ConfigurationType" - ], "AuditEventStreamingDestinationInterface": [ "GroupAuditEventStreamingDestination", "InstanceAuditEventStreamingDestination" @@ -28,10 +24,6 @@ "BaseDiscussionInterface": [ "Discussion" ], - "BaseHeaderInterface": [ - "AuditEventStreamingHeader", - "AuditEventsStreamingInstanceHeader" - ], "BaseNoteInterface": [ "Note" ], @@ -113,10 +105,6 @@ "IntegerExpression", "StringExpression" ], - "ExternalAuditEventDestinationInterface": [ - "ExternalAuditEventDestination", - "InstanceExternalAuditEventDestination" - ], "GitlabSubscriptionUsageEventLocation": [ "Group", "Project" @@ -127,10 +115,6 @@ "GoogleCloudArtifactRegistryArtifactDetails": [ "GoogleCloudArtifactRegistryDockerImageDetails" ], - "GoogleCloudLoggingConfigurationInterface": [ - "GoogleCloudLoggingConfigurationType", - "InstanceGoogleCloudLoggingConfigurationType" - ], "GroupInterface": [ "Group", "GroupMinimalAccess" diff --git a/doc/api/graphql/reference/_index.md b/doc/api/graphql/reference/_index.md index 3de24f1dc42f78827992765c101ea7e1609a577b..945bcf830b6e60b0b20fa4f51e2fa176de413bb0 100644 --- a/doc/api/graphql/reference/_index.md +++ b/doc/api/graphql/reference/_index.md @@ -518,16 +518,6 @@ This field returns a [connection](#connections). It accepts the four standard [pagination arguments](#pagination-arguments): `before: String`, `after: String`, `first: Int`, and `last: Int`. -### `Query.auditEventsInstanceAmazonS3Configurations` - -Instance-level Amazon S3 configurations for audit events. - -Returns [`InstanceAmazonS3ConfigurationTypeConnection`](#instanceamazons3configurationtypeconnection). - -This field returns a [connection](#connections). It accepts the -four standard [pagination arguments](#pagination-arguments): -`before: String`, `after: String`, `first: Int`, and `last: Int`. - ### `Query.auditEventsInstanceStreamingDestinations` {{< details >}} @@ -1016,26 +1006,6 @@ four standard [pagination arguments](#pagination-arguments): | `sort` | [`String`](#string) | Sort order of results. Format: `_`, for example: `id_desc` or `name_asc`. | | `topLevelOnly` | [`Boolean`](#boolean) | Only include top-level groups. | -### `Query.instanceExternalAuditEventDestinations` - -Instance level external audit event destinations. - -Returns [`InstanceExternalAuditEventDestinationConnection`](#instanceexternalauditeventdestinationconnection). - -This field returns a [connection](#connections). It accepts the -four standard [pagination arguments](#pagination-arguments): -`before: String`, `after: String`, `first: Int`, and `last: Int`. - -### `Query.instanceGoogleCloudLoggingConfigurations` - -Instance level google cloud logging configurations. - -Returns [`InstanceGoogleCloudLoggingConfigurationTypeConnection`](#instancegooglecloudloggingconfigurationtypeconnection). - -This field returns a [connection](#connections). It accepts the -four standard [pagination arguments](#pagination-arguments): -`before: String`, `after: String`, `first: Int`, and `last: Int`. - ### `Query.instanceSecurityDashboard` Fields related to Instance Security Dashboard. @@ -3405,73 +3375,6 @@ Input type: `ArtifactDestroyInput` | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -### `Mutation.auditEventsAmazonS3ConfigurationCreate` - -Input type: `AuditEventsAmazonS3ConfigurationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String!`](#string) | Access key ID of the Amazon S3 account. | -| `awsRegion` | [`String!`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String!`](#string) | Name of the bucket where the audit events would be logged. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `groupPath` | [`ID!`](#id) | Group path. | -| `name` | [`String`](#string) | Destination name. | -| `secretAccessKey` | [`String!`](#string) | Secret access key of the Amazon S3 account. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `amazonS3Configuration` | [`AmazonS3ConfigurationType`](#amazons3configurationtype) | configuration created. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsAmazonS3ConfigurationDelete` - -Input type: `AuditEventsAmazonS3ConfigurationDeleteInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsAmazonS3ConfigurationID!`](#auditeventsamazons3configurationid) | ID of the Amazon S3 configuration to destroy. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsAmazonS3ConfigurationUpdate` - -Input type: `AuditEventsAmazonS3ConfigurationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String`](#string) | Access key ID of the Amazon S3 account. | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `awsRegion` | [`String`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String`](#string) | Name of the bucket where the audit events would be logged. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsAmazonS3ConfigurationID!`](#auditeventsamazons3configurationid) | ID of the Amazon S3 configuration to update. | -| `name` | [`String`](#string) | Destination name. | -| `secretAccessKey` | [`String`](#string) | Secret access key of the Amazon S3 account. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `amazonS3Configuration` | [`AmazonS3ConfigurationType`](#amazons3configurationtype) | Updated Amazon S3 configuration. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - ### `Mutation.auditEventsGroupDestinationEventsAdd` {{< details >}} @@ -3569,72 +3472,6 @@ Input type: `AuditEventsGroupDestinationNamespaceFilterDeleteInput` | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -### `Mutation.auditEventsInstanceAmazonS3ConfigurationCreate` - -Input type: `AuditEventsInstanceAmazonS3ConfigurationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String!`](#string) | Access key ID of the Amazon S3 account. | -| `awsRegion` | [`String!`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String!`](#string) | Name of the bucket where the audit events would be logged. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `name` | [`String`](#string) | Destination name. | -| `secretAccessKey` | [`String!`](#string) | Secret access key of the Amazon S3 account. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceAmazonS3Configuration` | [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype) | Created instance Amazon S3 configuration. | - -### `Mutation.auditEventsInstanceAmazonS3ConfigurationDelete` - -Input type: `AuditEventsInstanceAmazonS3ConfigurationDeleteInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsInstanceAmazonS3ConfigurationID!`](#auditeventsinstanceamazons3configurationid) | ID of the instance-level Amazon S3 configuration to delete. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsInstanceAmazonS3ConfigurationUpdate` - -Input type: `AuditEventsInstanceAmazonS3ConfigurationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String`](#string) | Access key ID of the Amazon S3 account. | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `awsRegion` | [`String`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String`](#string) | Name of the bucket where the audit events would be logged. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsInstanceAmazonS3ConfigurationID!`](#auditeventsinstanceamazons3configurationid) | ID of the instance-level Amazon S3 configuration to update. | -| `name` | [`String`](#string) | Destination name. | -| `secretAccessKey` | [`String`](#string) | Secret access key of the Amazon S3 account. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceAmazonS3Configuration` | [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype) | Updated instance-level Amazon S3 configuration. | - ### `Mutation.auditEventsInstanceDestinationEventsAdd` {{< details >}} @@ -3732,247 +3569,6 @@ Input type: `AuditEventsInstanceDestinationNamespaceFilterDeleteInput` | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -### `Mutation.auditEventsStreamingDestinationEventsAdd` - -Input type: `AuditEventsStreamingDestinationEventsAddInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | Destination id. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters to add for streaming. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `eventTypeFilters` | [`[String!]`](#string) | List of event type filters for the audit event external destination. | - -### `Mutation.auditEventsStreamingDestinationEventsRemove` - -Input type: `AuditEventsStreamingDestinationEventsRemoveInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | Destination id. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters to remove from streaming. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsStreamingDestinationInstanceEventsAdd` - -Input type: `AuditEventsStreamingDestinationInstanceEventsAddInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsInstanceExternalAuditEventDestinationID!`](#auditeventsinstanceexternalauditeventdestinationid) | Destination id. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters to add for streaming. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `eventTypeFilters` | [`[String!]`](#string) | List of event type filters for the audit event external destination. | - -### `Mutation.auditEventsStreamingDestinationInstanceEventsRemove` - -Input type: `AuditEventsStreamingDestinationInstanceEventsRemoveInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsInstanceExternalAuditEventDestinationID!`](#auditeventsinstanceexternalauditeventdestinationid) | Destination id. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters to remove from streaming. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsStreamingHeadersCreate` - -Input type: `AuditEventsStreamingHeadersCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Boolean option determining whether header is active or not. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | Destination to associate header with. | -| `key` | [`String!`](#string) | Header key. | -| `value` | [`String!`](#string) | Header value. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `header` | [`AuditEventStreamingHeader`](#auditeventstreamingheader) | Created header. | - -### `Mutation.auditEventsStreamingHeadersDestroy` - -Input type: `AuditEventsStreamingHeadersDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `headerId` | [`AuditEventsStreamingHeaderID!`](#auditeventsstreamingheaderid) | Header to delete. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsStreamingHeadersUpdate` - -Input type: `AuditEventsStreamingHeadersUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Boolean option determining whether header is active or not. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `headerId` | [`AuditEventsStreamingHeaderID!`](#auditeventsstreamingheaderid) | Header to update. | -| `key` | [`String`](#string) | Header key. | -| `value` | [`String`](#string) | Header value. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `header` | [`AuditEventStreamingHeader`](#auditeventstreamingheader) | Updates header. | - -### `Mutation.auditEventsStreamingHttpNamespaceFiltersAdd` - -Input type: `AuditEventsStreamingHTTPNamespaceFiltersAddInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | Destination ID. | -| `groupPath` | [`ID`](#id) | Full path of the group. | -| `projectPath` | [`ID`](#id) | Full path of the project. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `namespaceFilter` | [`AuditEventStreamingHTTPNamespaceFilter`](#auditeventstreaminghttpnamespacefilter) | Namespace filter created. | - -### `Mutation.auditEventsStreamingHttpNamespaceFiltersDelete` - -Input type: `AuditEventsStreamingHTTPNamespaceFiltersDeleteInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `namespaceFilterId` | [`AuditEventsStreamingHTTPNamespaceFilterID!`](#auditeventsstreaminghttpnamespacefilterid) | Namespace filter ID. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsStreamingInstanceHeadersCreate` - -Input type: `AuditEventsStreamingInstanceHeadersCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Boolean option determining whether header is active or not. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationId` | [`AuditEventsInstanceExternalAuditEventDestinationID!`](#auditeventsinstanceexternalauditeventdestinationid) | Instance level external destination to associate header with. | -| `key` | [`String!`](#string) | Header key. | -| `value` | [`String!`](#string) | Header value. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `header` | [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader) | Created header. | - -### `Mutation.auditEventsStreamingInstanceHeadersDestroy` - -Input type: `AuditEventsStreamingInstanceHeadersDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `headerId` | [`AuditEventsStreamingInstanceHeaderID!`](#auditeventsstreaminginstanceheaderid) | Header to delete. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.auditEventsStreamingInstanceHeadersUpdate` - -Input type: `AuditEventsStreamingInstanceHeadersUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Boolean option determining whether header is active or not. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `headerId` | [`AuditEventsStreamingInstanceHeaderID!`](#auditeventsstreaminginstanceheaderid) | Header to update. | -| `key` | [`String`](#string) | Header key. | -| `value` | [`String`](#string) | Header value. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `header` | [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader) | Updates header. | - ### `Mutation.awardEmojiAdd` Input type: `AwardEmojiAddInput` @@ -7224,68 +6820,6 @@ Input type: `ExportRequirementsInput` | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -### `Mutation.externalAuditEventDestinationCreate` - -Input type: `ExternalAuditEventDestinationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationUrl` | [`String!`](#string) | Destination URL. | -| `groupPath` | [`ID!`](#id) | Group path. | -| `name` | [`String`](#string) | Destination name. | -| `verificationToken` | [`String`](#string) | Verification token. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `externalAuditEventDestination` | [`ExternalAuditEventDestination`](#externalauditeventdestination) | Destination created. | - -### `Mutation.externalAuditEventDestinationDestroy` - -Input type: `ExternalAuditEventDestinationDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | ID of external audit event destination to destroy. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.externalAuditEventDestinationUpdate` - -Input type: `ExternalAuditEventDestinationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationUrl` | [`String`](#string) | Destination URL to change. | -| `id` | [`AuditEventsExternalAuditEventDestinationID!`](#auditeventsexternalauditeventdestinationid) | ID of external audit event destination to update. | -| `name` | [`String`](#string) | Destination name. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `externalAuditEventDestination` | [`ExternalAuditEventDestination`](#externalauditeventdestination) | Updated destination. | - ### `Mutation.geoRegistriesBulkUpdate` {{< details >}} @@ -7363,73 +6897,6 @@ Input type: `GitlabSubscriptionActivateInput` | `futureSubscriptions` | [`[SubscriptionFutureEntry!]`](#subscriptionfutureentry) | Array of future subscriptions. | | `license` | [`CurrentLicense`](#currentlicense) | Current license. | -### `Mutation.googleCloudLoggingConfigurationCreate` - -Input type: `GoogleCloudLoggingConfigurationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientEmail` | [`String!`](#string) | Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `googleProjectIdName` | [`String!`](#string) | Unique identifier of the Google Cloud project to which the logging configuration belongs. | -| `groupPath` | [`ID!`](#id) | Group path. | -| `logIdName` | [`String`](#string) | Unique identifier used to distinguish and manage different logs within the same Google Cloud project.(defaults to `audit_events`). | -| `name` | [`String`](#string) | Destination name. | -| `privateKey` | [`String!`](#string) | Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `googleCloudLoggingConfiguration` | [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype) | configuration created. | - -### `Mutation.googleCloudLoggingConfigurationDestroy` - -Input type: `GoogleCloudLoggingConfigurationDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsGoogleCloudLoggingConfigurationID!`](#auditeventsgooglecloudloggingconfigurationid) | ID of the Google Cloud logging configuration to destroy. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.googleCloudLoggingConfigurationUpdate` - -Input type: `GoogleCloudLoggingConfigurationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `clientEmail` | [`String`](#string) | Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `googleProjectIdName` | [`String`](#string) | Unique identifier of the Google Cloud project to which the logging configuration belongs. | -| `id` | [`AuditEventsGoogleCloudLoggingConfigurationID!`](#auditeventsgooglecloudloggingconfigurationid) | ID of the google Cloud configuration to update. | -| `logIdName` | [`String`](#string) | Unique identifier used to distinguish and manage different logs within the same Google Cloud project. | -| `name` | [`String`](#string) | Destination name. | -| `privateKey` | [`String`](#string) | Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `googleCloudLoggingConfiguration` | [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype) | configuration updated. | - ### `Mutation.groupAuditEventStreamingDestinationsCreate` {{< details >}} @@ -7989,132 +7456,6 @@ Input type: `InstanceAuditEventStreamingDestinationsUpdateInput` | `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | | `externalAuditEventDestination` | [`InstanceAuditEventStreamingDestination`](#instanceauditeventstreamingdestination) | Updated destination. | -### `Mutation.instanceExternalAuditEventDestinationCreate` - -Input type: `InstanceExternalAuditEventDestinationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationUrl` | [`String!`](#string) | Destination URL. | -| `name` | [`String`](#string) | Destination name. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceExternalAuditEventDestination` | [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination) | Destination created. | - -### `Mutation.instanceExternalAuditEventDestinationDestroy` - -Input type: `InstanceExternalAuditEventDestinationDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsInstanceExternalAuditEventDestinationID!`](#auditeventsinstanceexternalauditeventdestinationid) | ID of the external instance audit event destination to destroy. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.instanceExternalAuditEventDestinationUpdate` - -Input type: `InstanceExternalAuditEventDestinationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `destinationUrl` | [`String`](#string) | Destination URL to change. | -| `id` | [`AuditEventsInstanceExternalAuditEventDestinationID!`](#auditeventsinstanceexternalauditeventdestinationid) | ID of the external instance audit event destination to update. | -| `name` | [`String`](#string) | Destination name. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceExternalAuditEventDestination` | [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination) | Updated destination. | - -### `Mutation.instanceGoogleCloudLoggingConfigurationCreate` - -Input type: `InstanceGoogleCloudLoggingConfigurationCreateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientEmail` | [`String!`](#string) | Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `googleProjectIdName` | [`String!`](#string) | Unique identifier of the Google Cloud project to which the logging configuration belongs. | -| `logIdName` | [`String`](#string) | Unique identifier used to distinguish and manage different logs within the same Google Cloud project.(defaults to `audit_events`). | -| `name` | [`String`](#string) | Destination name. | -| `privateKey` | [`String!`](#string) | Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceGoogleCloudLoggingConfiguration` | [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype) | configuration created. | - -### `Mutation.instanceGoogleCloudLoggingConfigurationDestroy` - -Input type: `InstanceGoogleCloudLoggingConfigurationDestroyInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `id` | [`AuditEventsInstanceGoogleCloudLoggingConfigurationID!`](#auditeventsinstancegooglecloudloggingconfigurationid) | ID of the Google Cloud logging configuration to destroy. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `Mutation.instanceGoogleCloudLoggingConfigurationUpdate` - -Input type: `InstanceGoogleCloudLoggingConfigurationUpdateInput` - -#### Arguments - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean`](#boolean) | Active status of the destination. | -| `clientEmail` | [`String`](#string) | Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `googleProjectIdName` | [`String`](#string) | Unique identifier of the Google Cloud project to which the logging configuration belongs. | -| `id` | [`AuditEventsInstanceGoogleCloudLoggingConfigurationID!`](#auditeventsinstancegooglecloudloggingconfigurationid) | ID of the instance google Cloud configuration to update. | -| `logIdName` | [`String`](#string) | Unique identifier used to distinguish and manage different logs within the same Google Cloud project. | -| `name` | [`String`](#string) | Destination name. | -| `privateKey` | [`String`](#string) | Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service. | - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `instanceGoogleCloudLoggingConfiguration` | [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype) | configuration updated. | - ### `Mutation.integrationExclusionCreate` {{< details >}} @@ -15851,29 +15192,6 @@ The edge type for [`AlertManagementIntegration`](#alertmanagementintegration). | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`AlertManagementIntegration`](#alertmanagementintegration) | The item at the end of the edge. | -#### `AmazonS3ConfigurationTypeConnection` - -The connection type for [`AmazonS3ConfigurationType`](#amazons3configurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[AmazonS3ConfigurationTypeEdge]`](#amazons3configurationtypeedge) | A list of edges. | -| `nodes` | [`[AmazonS3ConfigurationType]`](#amazons3configurationtype) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `AmazonS3ConfigurationTypeEdge` - -The edge type for [`AmazonS3ConfigurationType`](#amazons3configurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`AmazonS3ConfigurationType`](#amazons3configurationtype) | The item at the end of the edge. | - #### `ApprovalPolicyConnection` The connection type for [`ApprovalPolicy`](#approvalpolicy). @@ -15943,52 +15261,6 @@ The edge type for [`AuditEventDefinition`](#auditeventdefinition). | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`AuditEventDefinition`](#auditeventdefinition) | The item at the end of the edge. | -#### `AuditEventStreamingHeaderConnection` - -The connection type for [`AuditEventStreamingHeader`](#auditeventstreamingheader). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[AuditEventStreamingHeaderEdge]`](#auditeventstreamingheaderedge) | A list of edges. | -| `nodes` | [`[AuditEventStreamingHeader]`](#auditeventstreamingheader) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `AuditEventStreamingHeaderEdge` - -The edge type for [`AuditEventStreamingHeader`](#auditeventstreamingheader). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`AuditEventStreamingHeader`](#auditeventstreamingheader) | The item at the end of the edge. | - -#### `AuditEventsStreamingInstanceHeaderConnection` - -The connection type for [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[AuditEventsStreamingInstanceHeaderEdge]`](#auditeventsstreaminginstanceheaderedge) | A list of edges. | -| `nodes` | [`[AuditEventsStreamingInstanceHeader]`](#auditeventsstreaminginstanceheader) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `AuditEventsStreamingInstanceHeaderEdge` - -The edge type for [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader) | The item at the end of the edge. | - #### `AwardEmojiConnection` The connection type for [`AwardEmoji`](#awardemoji). @@ -18612,29 +17884,6 @@ The edge type for [`Event`](#event). | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`Event`](#event) | The item at the end of the edge. | -#### `ExternalAuditEventDestinationConnection` - -The connection type for [`ExternalAuditEventDestination`](#externalauditeventdestination). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[ExternalAuditEventDestinationEdge]`](#externalauditeventdestinationedge) | A list of edges. | -| `nodes` | [`[ExternalAuditEventDestination]`](#externalauditeventdestination) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `ExternalAuditEventDestinationEdge` - -The edge type for [`ExternalAuditEventDestination`](#externalauditeventdestination). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`ExternalAuditEventDestination`](#externalauditeventdestination) | The item at the end of the edge. | - #### `ExternalStatusCheckConnection` The connection type for [`ExternalStatusCheck`](#externalstatuscheck). @@ -18773,29 +18022,6 @@ The edge type for [`GoogleCloudArtifactRegistryArtifact`](#googlecloudartifactre | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`GoogleCloudArtifactRegistryArtifact`](#googlecloudartifactregistryartifact) | The item at the end of the edge. | -#### `GoogleCloudLoggingConfigurationTypeConnection` - -The connection type for [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[GoogleCloudLoggingConfigurationTypeEdge]`](#googlecloudloggingconfigurationtypeedge) | A list of edges. | -| `nodes` | [`[GoogleCloudLoggingConfigurationType]`](#googlecloudloggingconfigurationtype) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `GoogleCloudLoggingConfigurationTypeEdge` - -The edge type for [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype) | The item at the end of the edge. | - #### `GroupAuditEventStreamingDestinationConnection` The connection type for [`GroupAuditEventStreamingDestination`](#groupauditeventstreamingdestination). @@ -19066,29 +18292,6 @@ The edge type for [`InheritedCiVariable`](#inheritedcivariable). | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`InheritedCiVariable`](#inheritedcivariable) | The item at the end of the edge. | -#### `InstanceAmazonS3ConfigurationTypeConnection` - -The connection type for [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[InstanceAmazonS3ConfigurationTypeEdge]`](#instanceamazons3configurationtypeedge) | A list of edges. | -| `nodes` | [`[InstanceAmazonS3ConfigurationType]`](#instanceamazons3configurationtype) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `InstanceAmazonS3ConfigurationTypeEdge` - -The edge type for [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype) | The item at the end of the edge. | - #### `InstanceAuditEventStreamingDestinationConnection` The connection type for [`InstanceAuditEventStreamingDestination`](#instanceauditeventstreamingdestination). @@ -19112,52 +18315,6 @@ The edge type for [`InstanceAuditEventStreamingDestination`](#instanceauditevent | `cursor` | [`String!`](#string) | A cursor for use in pagination. | | `node` | [`InstanceAuditEventStreamingDestination`](#instanceauditeventstreamingdestination) | The item at the end of the edge. | -#### `InstanceExternalAuditEventDestinationConnection` - -The connection type for [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[InstanceExternalAuditEventDestinationEdge]`](#instanceexternalauditeventdestinationedge) | A list of edges. | -| `nodes` | [`[InstanceExternalAuditEventDestination]`](#instanceexternalauditeventdestination) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `InstanceExternalAuditEventDestinationEdge` - -The edge type for [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination) | The item at the end of the edge. | - -#### `InstanceGoogleCloudLoggingConfigurationTypeConnection` - -The connection type for [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `edges` | [`[InstanceGoogleCloudLoggingConfigurationTypeEdge]`](#instancegooglecloudloggingconfigurationtypeedge) | A list of edges. | -| `nodes` | [`[InstanceGoogleCloudLoggingConfigurationType]`](#instancegooglecloudloggingconfigurationtype) | A list of nodes. | -| `pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | - -#### `InstanceGoogleCloudLoggingConfigurationTypeEdge` - -The edge type for [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype). - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `cursor` | [`String!`](#string) | A cursor for use in pagination. | -| `node` | [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype) | The item at the end of the edge. | - #### `IntegrationExclusionConnection` The connection type for [`IntegrationExclusion`](#integrationexclusion). @@ -24587,22 +23744,6 @@ Parsed field (with its name) from an alert used for custom mappings. | `type` | [`AlertManagementIntegrationType!`](#alertmanagementintegrationtype) | Type of integration. | | `url` | [`String`](#string) | Endpoint which accepts alert notifications. | -### `AmazonS3ConfigurationType` - -Stores Amazon S3 configurations for audit event streaming. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String!`](#string) | Access key ID of the Amazon S3 account. | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `awsRegion` | [`String!`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String!`](#string) | Name of the bucket where the audit events would be logged. | -| `group` | [`Group!`](#group) | Group the configuration belongs to. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - ### `AnalyzerGroupStatusType` Counts for each analyzer status in the group and subgroups. @@ -24813,67 +23954,6 @@ Represents the YAML definitions for audit events defined in `ee/config/audit_eve | `savedToDatabase` | [`Boolean!`](#boolean) | Indicates if the event is saved to PostgreSQL database. | | `streamed` | [`Boolean!`](#boolean) | Indicates if the event is streamed to an external destination. | -### `AuditEventStreamingHTTPNamespaceFilter` - -Represents a subgroup or project filter that belongs to an external audit event streaming destination. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `externalAuditEventDestination` | [`ExternalAuditEventDestination!`](#externalauditeventdestination) | Destination to which the filter belongs. | -| `id` | [`ID!`](#id) | ID of the filter. | -| `namespace` | [`Namespace!`](#namespace) | Group or project namespace the filter belongs to. | - -### `AuditEventStreamingHeader` - -Represents a HTTP header key/value that belongs to an audit streaming destination. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Header is active or not. | -| `id` | [`ID!`](#id) | ID of the header. | -| `key` | [`String!`](#string) | Key of the header. | -| `value` | [`String!`](#string) | Value of the header. | - -### `AuditEventsStreamingHTTPNamespaceFiltersAddPayload` - -Autogenerated return type of AuditEventsStreamingHTTPNamespaceFiltersAdd. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | -| `namespaceFilter` | [`AuditEventStreamingHTTPNamespaceFilter`](#auditeventstreaminghttpnamespacefilter) | Namespace filter created. | - -### `AuditEventsStreamingHTTPNamespaceFiltersDeletePayload` - -Autogenerated return type of AuditEventsStreamingHTTPNamespaceFiltersDelete. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | -| `errors` | [`[String!]!`](#string) | Errors encountered during the mutation. | - -### `AuditEventsStreamingInstanceHeader` - -Represents a HTTP header key/value that belongs to an instance level audit streaming destination. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Header is active or not. | -| `id` | [`ID!`](#id) | ID of the header. | -| `key` | [`String!`](#string) | Key of the header. | -| `value` | [`String!`](#string) | Value of the header. | - ### `AutocompletedUser` Core representation of a GitLab user. @@ -30773,24 +29853,6 @@ Representing an event. | `target` | [`EventTargetType`](#eventtargettype) | Target of the event. | | `updatedAt` | [`Time!`](#time) | When the event was updated. | -### `ExternalAuditEventDestination` - -Represents an external resource to send audit events to. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `destinationUrl` | [`String!`](#string) | External destination to send audit events to. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters added for streaming. | -| `group` | [`Group!`](#group) | Group the destination belongs to. | -| `headers` | [`AuditEventStreamingHeaderConnection!`](#auditeventstreamingheaderconnection) | List of additional HTTP headers sent with each event. (see [Connections](#connections)) | -| `id` | [`ID!`](#id) | ID of the destination. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | -| `namespaceFilter` | [`AuditEventStreamingHTTPNamespaceFilter`](#auditeventstreaminghttpnamespacefilter) | List of subgroup or project filters for the destination. | -| `verificationToken` | [`String!`](#string) | Verification token to validate source of event. | - ### `ExternalIssue` Represents an external issue. @@ -31500,22 +30562,6 @@ four standard [pagination arguments](#pagination-arguments): | ---- | ---- | ----------- | | `sort` | [`GoogleCloudArtifactRegistryArtifactsSort`](#googlecloudartifactregistryartifactssort) | Criteria to sort artifacts by. | -### `GoogleCloudLoggingConfigurationType` - -Stores Google Cloud Logging configurations associated with IAM service accounts,used for generating access tokens. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `clientEmail` | [`String!`](#string) | Client email. | -| `googleProjectIdName` | [`String!`](#string) | Google project ID. | -| `group` | [`Group!`](#group) | Group the configuration belongs to. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `logIdName` | [`String!`](#string) | Log ID. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - ### `GpgSignature` GPG signature for a signed commit. @@ -31556,7 +30602,6 @@ GPG signature for a signed commit. | `additionalPurchasedStorageSize` | [`Float`](#float) | Additional storage purchased for the root namespace in bytes. | | `aiUsageData` {{< icon name="warning-solid" >}} | [`AiUsageData`](#aiusagedata) | **Introduced** in GitLab 17.5. **Status**: Experiment. AI-related data. | | `allowStaleRunnerPruning` | [`Boolean!`](#boolean) | Indicates whether to regularly prune stale group runners. Defaults to false. | -| `amazonS3Configurations` | [`AmazonS3ConfigurationTypeConnection`](#amazons3configurationtypeconnection) | Amazon S3 configurations that receive audit events belonging to the group. (see [Connections](#connections)) | | `analyzerStatuses` | [`[AnalyzerGroupStatusType!]`](#analyzergroupstatustype) | Status for all analyzers in the group. | | `archived` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **Introduced** in GitLab 18.3. **Status**: Experiment. Indicates if the group or any ancestor is archived. | | `autoDevopsEnabled` | [`Boolean`](#boolean) | Indicates whether Auto DevOps is enabled for all projects within the group. | @@ -31594,12 +30639,10 @@ GPG signature for a signed commit. | `enforceFreeUserCap` | [`Boolean`](#boolean) | Indicates whether the group has limited users for a free plan. | | `epicBoards` {{< icon name="warning-solid" >}} | [`EpicBoardConnection`](#epicboardconnection) | **Deprecated** in GitLab 17.5. Replaced by WorkItem type. | | `epicsEnabled` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **Deprecated** in GitLab 17.5. Replaced by `WorkItem` type. For more information, see [migration guide](https://docs.gitlab.com/api/graphql/epic_work_items_api_migration_guide/). | -| `externalAuditEventDestinations` | [`ExternalAuditEventDestinationConnection`](#externalauditeventdestinationconnection) | External locations that receive audit events belonging to the group. (see [Connections](#connections)) | | `externalAuditEventStreamingDestinations` {{< icon name="warning-solid" >}} | [`GroupAuditEventStreamingDestinationConnection`](#groupauditeventstreamingdestinationconnection) | **Introduced** in GitLab 16.11. **Status**: Experiment. External destinations that receive audit events belonging to the group. | | `flowMetrics` {{< icon name="warning-solid" >}} | [`GroupValueStreamAnalyticsFlowMetrics`](#groupvaluestreamanalyticsflowmetrics) | **Introduced** in GitLab 15.10. **Status**: Experiment. Flow metrics for value stream analytics. | | `fullName` | [`String`](#string) | Full name of the group. | | `fullPath` | [`ID!`](#id) | Full path of the group. | -| `googleCloudLoggingConfigurations` | [`GoogleCloudLoggingConfigurationTypeConnection`](#googlecloudloggingconfigurationtypeconnection) | Google Cloud logging configurations that receive audit events belonging to the group. (see [Connections](#connections)) | | `groupMembersCount` | [`Int!`](#int) | Count of direct members of the group. | | `id` | [`ID`](#id) | ID of the group. | | `isLinkedToSubscription` | [`Boolean`](#boolean) | Indicates if group is linked to a subscription. | @@ -34287,21 +33330,6 @@ CI/CD variables a project inherits from its parent group and ancestors. | `raw` | [`Boolean`](#boolean) | Indicates whether the variable is raw. | | `variableType` | [`CiVariableType`](#civariabletype) | Type of the variable. | -### `InstanceAmazonS3ConfigurationType` - -Stores instance level Amazon S3 configurations for audit event streaming. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String!`](#string) | Access key ID of the Amazon S3 account. | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `awsRegion` | [`String!`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String!`](#string) | Name of the bucket where the audit events would be logged. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - ### `InstanceAuditEventNamespaceFilter` Represents a subgroup or project filter that belongs to an instance level external audit event streaming destination. @@ -34331,37 +33359,6 @@ Represents an external destination to stream instance level audit events. | `namespaceFilters` | [`[InstanceAuditEventNamespaceFilter!]`](#instanceauditeventnamespacefilter) | List of subgroup or project filters for the destination. | | `secretToken` | [`String!`](#string) | Secret token for the destination, will be non-empty value only for http category. | -### `InstanceExternalAuditEventDestination` - -Represents an external resource to send instance audit events to. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `destinationUrl` | [`String!`](#string) | External destination to send audit events to. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters added for streaming. | -| `headers` | [`AuditEventsStreamingInstanceHeaderConnection!`](#auditeventsstreaminginstanceheaderconnection) | List of additional HTTP headers sent with each event. (see [Connections](#connections)) | -| `id` | [`ID!`](#id) | ID of the destination. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | -| `verificationToken` | [`String!`](#string) | Verification token to validate source of event. | - -### `InstanceGoogleCloudLoggingConfigurationType` - -Stores instance level Google Cloud Logging configurations associated with IAM service accounts,used for generating access tokens. - -#### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `clientEmail` | [`String!`](#string) | Client email. | -| `googleProjectIdName` | [`String!`](#string) | Google project ID. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `logIdName` | [`String!`](#string) | Log ID. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - ### `InstanceSecurityDashboard` #### Fields @@ -53053,24 +52050,6 @@ A `ApprovalProjectRuleID` is a global ID. It is encoded as a string. An example `ApprovalProjectRuleID` is: `"gid://gitlab/ApprovalProjectRule/1"`. -### `AuditEventsAmazonS3ConfigurationID` - -A `AuditEventsAmazonS3ConfigurationID` is a global ID. It is encoded as a string. - -An example `AuditEventsAmazonS3ConfigurationID` is: `"gid://gitlab/AuditEvents::AmazonS3Configuration/1"`. - -### `AuditEventsExternalAuditEventDestinationID` - -A `AuditEventsExternalAuditEventDestinationID` is a global ID. It is encoded as a string. - -An example `AuditEventsExternalAuditEventDestinationID` is: `"gid://gitlab/AuditEvents::ExternalAuditEventDestination/1"`. - -### `AuditEventsGoogleCloudLoggingConfigurationID` - -A `AuditEventsGoogleCloudLoggingConfigurationID` is a global ID. It is encoded as a string. - -An example `AuditEventsGoogleCloudLoggingConfigurationID` is: `"gid://gitlab/AuditEvents::GoogleCloudLoggingConfiguration/1"`. - ### `AuditEventsGroupExternalStreamingDestinationID` A `AuditEventsGroupExternalStreamingDestinationID` is a global ID. It is encoded as a string. @@ -53083,54 +52062,18 @@ A `AuditEventsGroupNamespaceFilterID` is a global ID. It is encoded as a string. An example `AuditEventsGroupNamespaceFilterID` is: `"gid://gitlab/AuditEvents::Group::NamespaceFilter/1"`. -### `AuditEventsInstanceAmazonS3ConfigurationID` - -A `AuditEventsInstanceAmazonS3ConfigurationID` is a global ID. It is encoded as a string. - -An example `AuditEventsInstanceAmazonS3ConfigurationID` is: `"gid://gitlab/AuditEvents::Instance::AmazonS3Configuration/1"`. - -### `AuditEventsInstanceExternalAuditEventDestinationID` - -A `AuditEventsInstanceExternalAuditEventDestinationID` is a global ID. It is encoded as a string. - -An example `AuditEventsInstanceExternalAuditEventDestinationID` is: `"gid://gitlab/AuditEvents::InstanceExternalAuditEventDestination/1"`. - ### `AuditEventsInstanceExternalStreamingDestinationID` A `AuditEventsInstanceExternalStreamingDestinationID` is a global ID. It is encoded as a string. An example `AuditEventsInstanceExternalStreamingDestinationID` is: `"gid://gitlab/AuditEvents::Instance::ExternalStreamingDestination/1"`. -### `AuditEventsInstanceGoogleCloudLoggingConfigurationID` - -A `AuditEventsInstanceGoogleCloudLoggingConfigurationID` is a global ID. It is encoded as a string. - -An example `AuditEventsInstanceGoogleCloudLoggingConfigurationID` is: `"gid://gitlab/AuditEvents::Instance::GoogleCloudLoggingConfiguration/1"`. - ### `AuditEventsInstanceNamespaceFilterID` A `AuditEventsInstanceNamespaceFilterID` is a global ID. It is encoded as a string. An example `AuditEventsInstanceNamespaceFilterID` is: `"gid://gitlab/AuditEvents::Instance::NamespaceFilter/1"`. -### `AuditEventsStreamingHTTPNamespaceFilterID` - -A `AuditEventsStreamingHTTPNamespaceFilterID` is a global ID. It is encoded as a string. - -An example `AuditEventsStreamingHTTPNamespaceFilterID` is: `"gid://gitlab/AuditEvents::Streaming::HTTP::NamespaceFilter/1"`. - -### `AuditEventsStreamingHeaderID` - -A `AuditEventsStreamingHeaderID` is a global ID. It is encoded as a string. - -An example `AuditEventsStreamingHeaderID` is: `"gid://gitlab/AuditEvents::Streaming::Header/1"`. - -### `AuditEventsStreamingInstanceHeaderID` - -A `AuditEventsStreamingInstanceHeaderID` is a global ID. It is encoded as a string. - -An example `AuditEventsStreamingInstanceHeaderID` is: `"gid://gitlab/AuditEvents::Streaming::InstanceHeader/1"`. - ### `AuthzLdapAdminRoleLinkID` A `AuthzLdapAdminRoleLinkID` is a global ID. It is encoded as a string. @@ -54631,24 +53574,6 @@ Implementations: | `type` | [`AlertManagementIntegrationType!`](#alertmanagementintegrationtype) | Type of integration. | | `url` | [`String`](#string) | Endpoint which accepts alert notifications. | -#### `AmazonS3ConfigurationInterface` - -Implementations: - -- [`AmazonS3ConfigurationType`](#amazons3configurationtype) -- [`InstanceAmazonS3ConfigurationType`](#instanceamazons3configurationtype) - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `accessKeyXid` | [`String!`](#string) | Access key ID of the Amazon S3 account. | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `awsRegion` | [`String!`](#string) | AWS region where the bucket is created. | -| `bucketName` | [`String!`](#string) | Name of the bucket where the audit events would be logged. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - #### `AuditEventStreamingDestinationInterface` Implementations: @@ -54686,22 +53611,6 @@ Implementations: | `resolvedAt` | [`Time`](#time) | Timestamp of when the object was resolved. | | `resolvedBy` | [`UserCore`](#usercore) | User who resolved the object. | -#### `BaseHeaderInterface` - -Implementations: - -- [`AuditEventStreamingHeader`](#auditeventstreamingheader) -- [`AuditEventsStreamingInstanceHeader`](#auditeventsstreaminginstanceheader) - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Header is active or not. | -| `id` | [`ID!`](#id) | ID of the header. | -| `key` | [`String!`](#string) | Key of the header. | -| `value` | [`String!`](#string) | Value of the header. | - #### `BaseNoteInterface` Implementations: @@ -54982,42 +53891,6 @@ Implementations: | `field` | [`String!`](#string) | Field the expression applies to. | | `operator` | [`String!`](#string) | Operator of the expression. | -#### `ExternalAuditEventDestinationInterface` - -Implementations: - -- [`ExternalAuditEventDestination`](#externalauditeventdestination) -- [`InstanceExternalAuditEventDestination`](#instanceexternalauditeventdestination) - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `destinationUrl` | [`String!`](#string) | External destination to send audit events to. | -| `eventTypeFilters` | [`[String!]!`](#string) | List of event type filters added for streaming. | -| `id` | [`ID!`](#id) | ID of the destination. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | -| `verificationToken` | [`String!`](#string) | Verification token to validate source of event. | - -#### `GoogleCloudLoggingConfigurationInterface` - -Implementations: - -- [`GoogleCloudLoggingConfigurationType`](#googlecloudloggingconfigurationtype) -- [`InstanceGoogleCloudLoggingConfigurationType`](#instancegooglecloudloggingconfigurationtype) - -##### Fields - -| Name | Type | Description | -| ---- | ---- | ----------- | -| `active` | [`Boolean!`](#boolean) | Active status of the destination. | -| `clientEmail` | [`String!`](#string) | Client email. | -| `googleProjectIdName` | [`String!`](#string) | Google project ID. | -| `id` | [`ID!`](#id) | ID of the configuration. | -| `logIdName` | [`String!`](#string) | Log ID. | -| `name` | [`String!`](#string) | Name of the external destination to send audit events to. | - #### `GroupInterface` Returns either a "Group" type for users with :read_group permission, or a "GroupMinimalAccess" type for users with only :read_group_metadata permission. diff --git a/ee/app/assets/javascripts/audit_events/components/audit_events_stream.vue b/ee/app/assets/javascripts/audit_events/components/audit_events_stream.vue index 6503b5b0b9a036b9b02e326d7e38a7d260b436da..6f8cfc5ca582300638b57da8c735d84409ebae22 100644 --- a/ee/app/assets/javascripts/audit_events/components/audit_events_stream.vue +++ b/ee/app/assets/javascripts/audit_events/components/audit_events_stream.vue @@ -2,7 +2,6 @@ import { GlAlert, GlLoadingIcon, GlDisclosureDropdown } from '@gitlab/ui'; import { createAlert } from '~/alert'; import * as Sentry from '~/sentry/sentry_browser_wrapper'; -import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import { ADD_STREAM, ADD_HTTP, @@ -17,25 +16,10 @@ import { DESTINATION_TYPE_AMAZON_S3, } from '../constants'; import { removeAuditEventsStreamingDestinationFromCache } from '../graphql/cache_update_consolidated_api'; -import { - removeLegacyAuditEventsStreamingDestination, - removeGcpLoggingAuditEventsStreamingDestination, - removeAmazonS3AuditEventsStreamingDestination, -} from '../graphql/cache_update'; import groupStreamingDestinationsQuery from '../graphql/queries/get_group_streaming_destinations.query.graphql'; import instanceStreamingDestinationsQuery from '../graphql/queries/get_instance_streaming_destinations.query.graphql'; -// Legacy Queries 👇 To be removed in https://gitlab.com/gitlab-org/gitlab/-/issues/523881 -import externalDestinationsQuery from '../graphql/queries/get_external_destinations.query.graphql'; -import instanceExternalDestinationsQuery from '../graphql/queries/get_instance_external_destinations.query.graphql'; -import gcpLoggingDestinationsQuery from '../graphql/queries/get_google_cloud_logging_destinations.query.graphql'; -import instanceGcpLoggingDestinationsQuery from '../graphql/queries/get_instance_google_cloud_logging_destinations.query.graphql'; -import amazonS3DestinationsQuery from '../graphql/queries/get_amazon_s3_destinations.query.graphql'; -import instanceAmazonS3DestinationsQuery from '../graphql/queries/get_instance_amazon_s3_destinations.query.graphql'; import StreamEmptyState from './stream/stream_empty_state.vue'; import StreamDestinationEditor from './stream/stream_destination_editor.vue'; -import StreamHttpDestinationEditor from './stream/stream_http_destination_editor.vue'; -import StreamGcpLoggingDestinationEditor from './stream/stream_gcp_logging_destination_editor.vue'; -import StreamAmazonS3DestinationEditor from './stream/stream_amazon_s3_destination_editor.vue'; import StreamItem from './stream/stream_item.vue'; const { FETCHING_ERROR } = AUDIT_STREAMS_NETWORK_ERRORS; @@ -45,21 +29,13 @@ export default { GlLoadingIcon, GlDisclosureDropdown, StreamDestinationEditor, - StreamHttpDestinationEditor, - StreamGcpLoggingDestinationEditor, - StreamAmazonS3DestinationEditor, StreamEmptyState, StreamItem, }, - mixins: [glFeatureFlagMixin()], inject: ['groupPath'], data() { return { streamingDestinations: null, - // Legacy Queries 👇 To be removed in https://gitlab.com/gitlab-org/gitlab/-/issues/523881 - externalAuditEventDestinations: null, - gcpLoggingAuditEventDestinations: null, - amazonS3AuditEventDestinations: null, isEditorVisible: false, successMessage: null, editorType: DESTINATION_TYPE_HTTP, @@ -67,63 +43,23 @@ export default { }, computed: { isLoading() { - if (this.glFeatures.useConsolidatedAuditEventStreamDestApi) { - return this.$apollo.queries.streamingDestinations.loading; - } - return ( - this.$apollo.queries.externalAuditEventDestinations.loading || - this.$apollo.queries.gcpLoggingAuditEventDestinations.loading || - this.$apollo.queries.amazonS3AuditEventDestinations.loading - ); + return this.$apollo.queries.streamingDestinations.loading; }, isInstance() { return this.groupPath === 'instance'; }, showEmptyState() { - if (this.glFeatures.useConsolidatedAuditEventStreamDestApi) { - return !this.streamingDestinationsCount && !this.isEditorVisible; - } - - return ( - !this.destinationsCount && - !this.gcpLoggingDestinationsCount && - !this.amazonS3DestinationsCount && - !this.isEditorVisible - ); + return !this.streamingDestinationsCount && !this.isEditorVisible; }, streamingDestinationsCount() { return this.streamingDestinations?.length ?? 0; }, - destinationsCount() { - return this.externalAuditEventDestinations?.length ?? 0; - }, - gcpLoggingDestinationsCount() { - return this.gcpLoggingAuditEventDestinations?.length ?? 0; - }, - amazonS3DestinationsCount() { - return this.amazonS3AuditEventDestinations?.length ?? 0; - }, totalCount() { - if (this.glFeatures.useConsolidatedAuditEventStreamDestApi) { - return this.streamingDestinationsCount; - } - - return ( - this.destinationsCount + this.gcpLoggingDestinationsCount + this.amazonS3DestinationsCount - ); + return this.streamingDestinationsCount; }, streamingDestinationsQuery() { return this.isInstance ? instanceStreamingDestinationsQuery : groupStreamingDestinationsQuery; }, - destinationQuery() { - return this.isInstance ? instanceExternalDestinationsQuery : externalDestinationsQuery; - }, - gcpLoggingDestinationQuery() { - return this.isInstance ? instanceGcpLoggingDestinationsQuery : gcpLoggingDestinationsQuery; - }, - amazonS3DestinationQuery() { - return this.isInstance ? instanceAmazonS3DestinationsQuery : amazonS3DestinationsQuery; - }, newDestination() { return { name: '', @@ -175,43 +111,13 @@ export default { this.hideEditor(); }, async onDeletedDestination(id) { - const removeFn = this.glFeatures.useConsolidatedAuditEventStreamDestApi - ? removeAuditEventsStreamingDestinationFromCache - : removeLegacyAuditEventsStreamingDestination; - - removeFn({ + removeAuditEventsStreamingDestinationFromCache({ store: this.$apollo.provider.defaultClient, isInstance: this.isInstance, fullPath: this.groupPath, destinationId: id, }); - if (this.totalCount > 1) { - this.successMessage = DELETE_STREAM_MESSAGE; - } else { - this.clearSuccessMessage(); - } - }, - async onDeletedGcpLoggingDestination(id) { - removeGcpLoggingAuditEventsStreamingDestination({ - store: this.$apollo.provider.defaultClient, - fullPath: this.groupPath, - destinationId: id, - }); - - if (this.totalCount > 1) { - this.successMessage = DELETE_STREAM_MESSAGE; - } else { - this.clearSuccessMessage(); - } - }, - async onDeletedAmazonS3Destination(id) { - removeAmazonS3AuditEventsStreamingDestination({ - store: this.$apollo.provider.defaultClient, - fullPath: this.groupPath, - destinationId: id, - }); - if (this.totalCount > 1) { this.successMessage = DELETE_STREAM_MESSAGE; } else { @@ -230,7 +136,7 @@ export default { }; }, skip() { - return !this.groupPath || !this.glFeatures.useConsolidatedAuditEventStreamDestApi; + return !this.groupPath; }, update(data) { const items = this.isInstance @@ -269,84 +175,6 @@ export default { message: FETCHING_ERROR, }); - this.clearSuccessMessage(); - }, - }, - externalAuditEventDestinations: { - query() { - return this.destinationQuery; - }, - variables() { - return { - fullPath: this.groupPath, - }; - }, - skip() { - return !this.groupPath || this.glFeatures.useConsolidatedAuditEventStreamDestApi; - }, - update(data) { - const destinations = this.isInstance - ? data.instanceExternalAuditEventDestinations.nodes - : data.group.externalAuditEventDestinations.nodes; - return destinations; - }, - error() { - createAlert({ - message: FETCHING_ERROR, - }); - - this.clearSuccessMessage(); - }, - }, - gcpLoggingAuditEventDestinations: { - query() { - return this.gcpLoggingDestinationQuery; - }, - variables() { - return { - fullPath: this.groupPath, - }; - }, - skip() { - return !this.groupPath || this.glFeatures.useConsolidatedAuditEventStreamDestApi; - }, - update(data) { - const destinations = this.isInstance - ? data.instanceGoogleCloudLoggingConfigurations.nodes - : data.group.googleCloudLoggingConfigurations.nodes; - return destinations; - }, - error() { - createAlert({ - message: FETCHING_ERROR, - }); - - this.clearSuccessMessage(); - }, - }, - amazonS3AuditEventDestinations: { - query() { - return this.amazonS3DestinationQuery; - }, - variables() { - return { - fullPath: this.groupPath, - }; - }, - skip() { - return !this.groupPath || this.glFeatures.useConsolidatedAuditEventStreamDestApi; - }, - update(data) { - const destinations = this.isInstance - ? data.auditEventsInstanceAmazonS3Configurations.nodes - : data.group.amazonS3Configurations.nodes; - return destinations; - }, - error() { - createAlert({ - message: FETCHING_ERROR, - }); - this.clearSuccessMessage(); }, }, @@ -392,36 +220,13 @@ export default {
- - -
-