Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
a3796779c9
commit
191fe0b178
|
|
@ -43,6 +43,7 @@
|
|||
/doc-locale/ @gitlab-com/localization/maintainers
|
||||
/doc/development/i18n/proofreader.md @gitlab-com/localization/maintainers
|
||||
/argo_translation.yml @gitlab-com/localization/maintainers
|
||||
/doc-locale/.markdownlint/ @gitlab-com/localization/maintainers
|
||||
|
||||
config/bounded_contexts.yml @fabiopitino @grzesiek @stanhu @cwoolley-gitlab @tkuah
|
||||
|
||||
|
|
@ -594,7 +595,7 @@ lib/gitlab/checks/
|
|||
/doc/administration/auth/ @idurham
|
||||
/doc/administration/auth/ldap/ldap_synchronization.md @lciutacu
|
||||
/doc/administration/backup_restore/ @axil
|
||||
/doc/administration/broadcast_messages.md @sselhorn
|
||||
/doc/administration/broadcast_messages.md @kpaizee
|
||||
/doc/administration/cells.md @emily.sahlani
|
||||
/doc/administration/cicd/ @lyspin
|
||||
/doc/administration/cicd/job_logs.md @rsarangadharan
|
||||
|
|
@ -734,6 +735,7 @@ lib/gitlab/checks/
|
|||
/doc/api/chat.md @jglassman1
|
||||
/doc/api/code_suggestions.md @jglassman1
|
||||
/doc/api/commits.md @brendan777
|
||||
/doc/api/compliance_policy_settings.md @rlehmann1
|
||||
/doc/api/container_registry.md @z_painter
|
||||
/doc/api/container_repository_protection_rules.md @z_painter
|
||||
/doc/api/custom_attributes.md @msedlakjakubowski
|
||||
|
|
@ -776,7 +778,7 @@ lib/gitlab/checks/
|
|||
/doc/api/group_integrations.md @ashrafkhamis
|
||||
/doc/api/group_iterations.md @msedlakjakubowski
|
||||
/doc/api/group_labels.md @msedlakjakubowski
|
||||
/doc/api/group_ldap_links.md @phillipwells
|
||||
/doc/api/group_ldap_links.md @lciutacu
|
||||
/doc/api/group_level_variables.md @marcel.amirault
|
||||
/doc/api/group_markdown_uploads.md @msedlakjakubowski
|
||||
/doc/api/group_milestones.md @msedlakjakubowski
|
||||
|
|
@ -816,7 +818,7 @@ lib/gitlab/checks/
|
|||
/doc/api/milestones.md @msedlakjakubowski
|
||||
/doc/api/namespaces.md @phillipwells
|
||||
/doc/api/notes.md @msedlakjakubowski
|
||||
/doc/api/notification_settings.md @sselhorn
|
||||
/doc/api/notification_settings.md @kpaizee
|
||||
/doc/api/oauth2.md @idurham
|
||||
/doc/api/openapi/ @ashrafkhamis
|
||||
/doc/api/organizations.md @phillipwells
|
||||
|
|
@ -829,7 +831,6 @@ lib/gitlab/checks/
|
|||
/doc/api/pipeline_triggers.md @lyspin
|
||||
/doc/api/pipelines.md @lyspin
|
||||
/doc/api/plan_limits.md @idurham
|
||||
/doc/api/policy_settings.md @rlehmann1
|
||||
/doc/api/project_access_tokens.md @idurham
|
||||
/doc/api/project_aliases.md @brendan777
|
||||
/doc/api/project_badges.md @phillipwells
|
||||
|
|
@ -866,7 +867,7 @@ lib/gitlab/checks/
|
|||
/doc/api/rest/ @ashrafkhamis
|
||||
/doc/api/runners.md @rsarangadharan
|
||||
/doc/api/saml.md @idurham
|
||||
/doc/api/scim.md @idurham
|
||||
/doc/api/scim.md @lciutacu
|
||||
/doc/api/search.md @ashrafkhamis
|
||||
/doc/api/search_admin.md @ashrafkhamis
|
||||
/doc/api/secure_files.md @marcel.amirault
|
||||
|
|
@ -883,7 +884,7 @@ lib/gitlab/checks/
|
|||
/doc/api/templates/gitignores.md @brendan777
|
||||
/doc/api/templates/gitlab_ci_ymls.md @marcel.amirault
|
||||
/doc/api/templates/licenses.md @rdickenson
|
||||
/doc/api/todos.md @sselhorn
|
||||
/doc/api/todos.md @kpaizee
|
||||
/doc/api/topics.md @phillipwells
|
||||
/doc/api/user_email_addresses.md @idurham
|
||||
/doc/api/user_follow_unfollow.md @idurham
|
||||
|
|
@ -989,7 +990,6 @@ lib/gitlab/checks/
|
|||
/doc/development/spam_protection_and_captcha/ @gitlab-org/software-supply-chain-security/authorization/approvers
|
||||
/doc/development/stage_group_observability/ @gitlab-org/analytics-section/product-analytics/engineers/frontend
|
||||
/doc/development/tracing.md @gitlab-org/analytics-section/product-analytics/engineers/frontend
|
||||
/doc/downgrade_ee_to_ce/ @axil @eread
|
||||
/doc/drawers/ @ashrafkhamis
|
||||
/doc/editor_extensions/ @aqualls
|
||||
/doc/install/ @axil @eread
|
||||
|
|
@ -1042,9 +1042,10 @@ lib/gitlab/checks/
|
|||
/doc/tutorials/issue_triage_complex_group/ @msedlakjakubowski
|
||||
/doc/tutorials/issue_triage_group/ @msedlakjakubowski
|
||||
/doc/tutorials/kanban/ @msedlakjakubowski
|
||||
/doc/tutorials/left_sidebar/ @sselhorn
|
||||
/doc/tutorials/left_sidebar/ @kpaizee
|
||||
/doc/tutorials/merge_requests/ @aqualls
|
||||
/doc/tutorials/move_personal_project_to_group/ @phillipwells
|
||||
/doc/tutorials/pipeline_execution_policy/ @rlehmann1
|
||||
/doc/tutorials/protected_workflow/ @aqualls
|
||||
/doc/tutorials/reviews/ @aqualls
|
||||
/doc/tutorials/scan_execution_policy/ @rlehmann1
|
||||
|
|
@ -1110,8 +1111,12 @@ lib/gitlab/checks/
|
|||
/doc/user/group/reporting/ @idurham
|
||||
/doc/user/group/repositories_analytics/ @lyspin
|
||||
/doc/user/group/roadmap/ @msedlakjakubowski
|
||||
/doc/user/group/saml_sso/ @idurham
|
||||
/doc/user/group/saml_sso/_index.md @idurham
|
||||
/doc/user/group/saml_sso/example_saml_config.md @idurham
|
||||
/doc/user/group/saml_sso/group_sync.md @lciutacu
|
||||
/doc/user/group/saml_sso/scim_setup.md @lciutacu
|
||||
/doc/user/group/saml_sso/troubleshooting.md @idurham
|
||||
/doc/user/group/saml_sso/troubleshooting_scim.md @lciutacu
|
||||
/doc/user/group/settings/ @idurham
|
||||
/doc/user/group/ssh_certificates.md @brendan777
|
||||
/doc/user/group/subgroups/ @phillipwells
|
||||
|
|
@ -1127,7 +1132,7 @@ lib/gitlab/checks/
|
|||
/doc/user/profile/ @idurham
|
||||
/doc/user/profile/account/create_accounts.md @lciutacu
|
||||
/doc/user/profile/comment_templates.md @aqualls
|
||||
/doc/user/profile/notifications.md @sselhorn
|
||||
/doc/user/profile/notifications.md @kpaizee
|
||||
/doc/user/project/_index.md @phillipwells
|
||||
/doc/user/project/autocomplete_characters.md @brendan777
|
||||
/doc/user/project/badges.md @phillipwells
|
||||
|
|
@ -1159,7 +1164,7 @@ lib/gitlab/checks/
|
|||
/doc/user/project/integrations/hangouts_chat.md @ashrafkhamis
|
||||
/doc/user/project/integrations/harbor.md @z_painter
|
||||
/doc/user/project/integrations/irker.md @ashrafkhamis
|
||||
/doc/user/project/integrations/matrix.md @sselhorn
|
||||
/doc/user/project/integrations/matrix.md @kpaizee
|
||||
/doc/user/project/integrations/mattermost.md @ashrafkhamis
|
||||
/doc/user/project/integrations/mattermost_slash_commands.md @ashrafkhamis
|
||||
/doc/user/project/integrations/microsoft_teams.md @ashrafkhamis
|
||||
|
|
@ -1209,7 +1214,6 @@ lib/gitlab/checks/
|
|||
/doc/user/project/settings/_index.md @phillipwells
|
||||
/doc/user/project/settings/import_export.md @ashrafkhamis
|
||||
/doc/user/project/settings/import_export_troubleshooting.md @ashrafkhamis
|
||||
/doc/user/project/settings/migrate_projects.md @phillipwells
|
||||
/doc/user/project/settings/project_access_tokens.md @idurham
|
||||
/doc/user/project/system_notes.md @brendan777
|
||||
/doc/user/project/time_tracking.md @msedlakjakubowski
|
||||
|
|
@ -1223,15 +1227,15 @@ lib/gitlab/checks/
|
|||
/doc/user/reserved_names.md @phillipwells
|
||||
/doc/user/rich_text_editor.md @msedlakjakubowski
|
||||
/doc/user/search/ @ashrafkhamis
|
||||
/doc/user/search/command_palette.md @sselhorn
|
||||
/doc/user/shortcuts.md @sselhorn
|
||||
/doc/user/search/command_palette.md @kpaizee
|
||||
/doc/user/shortcuts.md @kpaizee
|
||||
/doc/user/snippets.md @brendan777
|
||||
/doc/user/ssh.md @idurham
|
||||
/doc/user/ssh_troubleshooting.md @idurham
|
||||
/doc/user/storage_management_automation.md @lciutacu
|
||||
/doc/user/storage_usage_quotas.md @lciutacu
|
||||
/doc/user/tasks.md @msedlakjakubowski
|
||||
/doc/user/todos.md @sselhorn
|
||||
/doc/user/todos.md @kpaizee
|
||||
/doc/user/work_items/ @msedlakjakubowski
|
||||
/doc/user/workspace/ @brendan777
|
||||
# End rake-managed-docs-block
|
||||
|
|
|
|||
|
|
@ -189,7 +189,6 @@ docs-i18n-lint markdown:
|
|||
stage: lint
|
||||
needs: []
|
||||
script:
|
||||
- 'echo " link-fragments: false" >> .markdownlint-cli2.yaml'
|
||||
- source ./scripts/utils.sh
|
||||
- |
|
||||
function docs_i18n_lint_markdown() {
|
||||
|
|
|
|||
|
|
@ -335,6 +335,7 @@
|
|||
|
||||
.docs-i18n-patterns: &docs-i18n-patterns
|
||||
- "doc-locale/**/*"
|
||||
- "doc-locale/.markdownlint/.markdownlint-cli2.yaml"
|
||||
- "scripts/i18n_lint_doc.sh"
|
||||
- "scripts/i18n_verify_paths.sh"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import { GlLoadingIcon, GlButton } from '@gitlab/ui';
|
||||
import { uniqueId } from 'lodash';
|
||||
import { computed } from 'vue';
|
||||
import { logError } from '~/lib/logger';
|
||||
import { captureException } from '~/sentry/sentry_browser_wrapper';
|
||||
import BlobContent from '~/blob/components/blob_content.vue';
|
||||
|
|
@ -118,7 +119,7 @@ export default {
|
|||
},
|
||||
},
|
||||
provide() {
|
||||
return { blobHash: uniqueId(), currentRef: this.currentRef };
|
||||
return { blobHash: uniqueId(), currentRef: computed(() => this.currentRef) };
|
||||
},
|
||||
props: {
|
||||
path: {
|
||||
|
|
|
|||
|
|
@ -16,11 +16,15 @@ import { findAwardEmojiWidget } from '../utils';
|
|||
|
||||
export default {
|
||||
defaultAwards: [EMOJI_THUMBS_UP, EMOJI_THUMBS_DOWN],
|
||||
isLoggedIn: isLoggedIn(),
|
||||
components: {
|
||||
AwardsList,
|
||||
},
|
||||
props: {
|
||||
workItemArchived: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false,
|
||||
},
|
||||
workItemId: {
|
||||
type: String,
|
||||
required: true,
|
||||
|
|
@ -42,6 +46,9 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
canAwardEmoji() {
|
||||
return isLoggedIn() && !this.workItemArchived;
|
||||
},
|
||||
currentUserId() {
|
||||
return window.gon.current_user_id;
|
||||
},
|
||||
|
|
@ -247,7 +254,7 @@ export default {
|
|||
<div v-if="!isLoading">
|
||||
<awards-list
|
||||
:awards="awards"
|
||||
:can-award-emoji="$options.isLoggedIn"
|
||||
:can-award-emoji="canAwardEmoji"
|
||||
:current-user-id="currentUserId"
|
||||
:default-awards="$options.defaultAwards"
|
||||
:custom-emoji-path="customEmojiPath"
|
||||
|
|
|
|||
|
|
@ -1114,6 +1114,7 @@ export default {
|
|||
<div class="gl-mt-3 gl-flex gl-flex-wrap gl-justify-between gl-gap-y-3">
|
||||
<work-item-award-emoji
|
||||
v-if="workItemAwardEmoji"
|
||||
:work-item-archived="workItem.archived"
|
||||
:work-item-id="workItem.id"
|
||||
:work-item-fullpath="workItemFullPath"
|
||||
:award-emoji="workItemAwardEmoji.awardEmoji"
|
||||
|
|
|
|||
|
|
@ -161,9 +161,6 @@ export default {
|
|||
initialLoading() {
|
||||
return this.$apollo.queries.workItemNotes.loading && !this.isLoadingMore;
|
||||
},
|
||||
someNotesLoaded() {
|
||||
return !this.initialLoading || this.previewNote;
|
||||
},
|
||||
pageInfo() {
|
||||
return this.workItemNotes?.pageInfo;
|
||||
},
|
||||
|
|
@ -566,8 +563,7 @@ export default {
|
|||
@changeSort="setSort"
|
||||
@changeFilter="setFilter"
|
||||
/>
|
||||
<work-item-notes-loading v-if="initialLoading" class="gl-mt-5" />
|
||||
<div v-if="someNotesLoaded" class="issuable-discussion gl-mb-5 !gl-clearfix">
|
||||
<div class="issuable-discussion gl-mb-5 !gl-clearfix">
|
||||
<div v-if="formAtTop && !commentsDisabled" class="js-comment-form">
|
||||
<ul class="notes notes-form timeline">
|
||||
<work-item-add-note
|
||||
|
|
@ -582,7 +578,9 @@ export default {
|
|||
/>
|
||||
</ul>
|
||||
</div>
|
||||
<work-item-notes-loading v-if="formAtTop && isLoadingMore && !notesCached" />
|
||||
<work-item-notes-loading
|
||||
v-if="initialLoading || (formAtTop && isLoadingMore && !notesCached)"
|
||||
/>
|
||||
<ul class="notes main-notes-list timeline">
|
||||
<template v-for="discussion in notesArray">
|
||||
<system-note
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ module Integrations
|
|||
:enable_ssl_verification,
|
||||
:exclude_service_accounts,
|
||||
:external_wiki_url,
|
||||
:google_iap_service_account_json,
|
||||
:google_iap_audience_client_id,
|
||||
:google_play_protected_refs,
|
||||
:group_confidential_mention_events,
|
||||
:group_mention_events,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ module Integrations
|
|||
class Prometheus < Integration
|
||||
include Base::Monitoring
|
||||
include PrometheusAdapter
|
||||
include Gitlab::Utils::StrongMemoize
|
||||
|
||||
field :manual_configuration,
|
||||
type: :checkbox,
|
||||
|
|
@ -18,19 +17,6 @@ module Integrations
|
|||
help: -> { s_('PrometheusService|The Prometheus API base URL.') },
|
||||
required: false
|
||||
|
||||
field :google_iap_audience_client_id,
|
||||
title: 'Google IAP Audience Client ID',
|
||||
placeholder: -> { s_('PrometheusService|IAP_CLIENT_ID.apps.googleusercontent.com') },
|
||||
help: -> { s_('PrometheusService|The ID of the IAP-secured resource.') },
|
||||
required: false
|
||||
|
||||
field :google_iap_service_account_json,
|
||||
type: :textarea,
|
||||
title: 'Google IAP Service Account JSON',
|
||||
placeholder: -> { s_('PrometheusService|{ "type": "service_account", "project_id": ... }') },
|
||||
help: -> { s_('PrometheusService|The contents of the credentials.json file of your service account.') },
|
||||
required: false
|
||||
|
||||
# Since the internal Prometheus instance is usually a localhost URL, we need
|
||||
# to allow localhost URLs when the following conditions are true:
|
||||
# 1. api_url is the internal Prometheus URL.
|
||||
|
|
@ -82,11 +68,6 @@ module Integrations
|
|||
allow_local_requests: allow_local_api_url?
|
||||
)
|
||||
|
||||
if behind_iap? && iap_client
|
||||
# Adds the Authorization header
|
||||
options[:headers] = iap_client.apply({})
|
||||
end
|
||||
|
||||
Gitlab::PrometheusClient.new(api_url, options)
|
||||
end
|
||||
|
||||
|
|
@ -104,22 +85,6 @@ module Integrations
|
|||
should_return_client?
|
||||
end
|
||||
|
||||
alias_method :google_iap_service_account_json_raw, :google_iap_service_account_json
|
||||
private :google_iap_service_account_json_raw
|
||||
|
||||
MASKED_VALUE = '*' * 8
|
||||
|
||||
def google_iap_service_account_json
|
||||
json = google_iap_service_account_json_raw
|
||||
return json unless json.present?
|
||||
|
||||
Gitlab::Json.parse(json)
|
||||
.then { |hash| hash.transform_values { MASKED_VALUE } }
|
||||
.then { |hash| Gitlab::Json.generate(hash) }
|
||||
rescue Gitlab::Json.parser_error
|
||||
json
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
delegate :allow_local_requests_from_web_hooks_and_services?, to: :current_settings, private: true
|
||||
|
|
@ -160,28 +125,6 @@ module Integrations
|
|||
manual_configuration_changed? && !manual_configuration?
|
||||
end
|
||||
|
||||
def behind_iap?
|
||||
manual_configuration? && google_iap_audience_client_id.present? && google_iap_service_account_json.present?
|
||||
end
|
||||
|
||||
def clean_google_iap_service_account
|
||||
json = google_iap_service_account_json_raw
|
||||
return unless json.present?
|
||||
|
||||
Gitlab::Json.parse(json).except('token_credential_uri')
|
||||
rescue Gitlab::Json.parser_error
|
||||
{}
|
||||
end
|
||||
|
||||
def iap_client
|
||||
@iap_client ||= Google::Auth::Credentials
|
||||
.new(clean_google_iap_service_account, target_audience: google_iap_audience_client_id)
|
||||
.client
|
||||
rescue StandardError
|
||||
nil
|
||||
end
|
||||
strong_memoize_attr :iap_client
|
||||
|
||||
# Remove in next required stop after %16.4
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/issues/338838
|
||||
def sync_http_integration!
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ class Namespace < ApplicationRecord
|
|||
include Namespaces::Traversal::Recursive
|
||||
include Namespaces::Traversal::Linear
|
||||
include Namespaces::Traversal::Cached
|
||||
include Namespaces::Traversal::Traversable
|
||||
include Namespaces::AdjournedDeletable
|
||||
include EachBatch
|
||||
include BlocksUnsafeSerialization
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Namespaces
|
||||
module Traversal
|
||||
module Traversable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
scope :within, ->(traversal_ids) do
|
||||
validated_ids = traversal_ids.map { |id| Integer(id) }
|
||||
traversal_ids_literal = "{#{validated_ids.join(',')}}"
|
||||
next_traversal_ids_literal = "{#{validated_ids.dup.tap { |ids| ids[-1] += 1 }.join(',')}}"
|
||||
|
||||
where(
|
||||
"#{arel_table.name}.traversal_ids >= ? AND ? > #{arel_table.name}.traversal_ids",
|
||||
traversal_ids_literal, next_traversal_ids_literal
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -10,6 +10,7 @@ module JiraConnect
|
|||
data_consistency :delayed
|
||||
loggable_arguments 1, 2
|
||||
urgency :low
|
||||
concurrency_limit -> { 1000 }
|
||||
|
||||
worker_has_external_dependencies!
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
migration_job_name: FixSecretTokensForHttpDestinations
|
||||
description: Re-encrypts tokens that were corrupted during previous migration
|
||||
feature_category: audit_events
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/195717
|
||||
milestone: '18.2'
|
||||
queued_migration_version: 20250625222131
|
||||
finalized_by: # version of the migration that finalized this BBM
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class QueueFixSecretTokensForHttpDestinations < Gitlab::Database::Migration[2.3]
|
||||
milestone '18.2'
|
||||
|
||||
restrict_gitlab_migration gitlab_schema: :gitlab_main
|
||||
|
||||
MIGRATION = "FixSecretTokensForHttpDestinations"
|
||||
BATCH_SIZE = 100
|
||||
SUB_BATCH_SIZE = 10
|
||||
|
||||
def up
|
||||
queue_batched_background_migration(
|
||||
MIGRATION,
|
||||
:audit_events_group_external_streaming_destinations,
|
||||
:id,
|
||||
batch_size: BATCH_SIZE,
|
||||
sub_batch_size: SUB_BATCH_SIZE
|
||||
)
|
||||
end
|
||||
|
||||
def down
|
||||
delete_batched_background_migration(MIGRATION, :audit_events_group_external_streaming_destinations, :id, [])
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# See https://docs.gitlab.com/ee/development/migration_style_guide.html
|
||||
# for more information on how to write migrations for GitLab.
|
||||
|
||||
class AddNamespacePathIndexToAiCodeSuggestionEvents < Gitlab::Database::Migration[2.3]
|
||||
include Gitlab::Database::PartitioningMigrationHelpers
|
||||
|
||||
disable_ddl_transaction!
|
||||
milestone '18.2'
|
||||
|
||||
TABLE_NAME = :ai_code_suggestion_events
|
||||
COLUMN_NAMES = "((substring(namespace_path FROM '([0-9]+)[^0-9]*$'))::bigint), timestamp, id"
|
||||
|
||||
INDEX_NAME = :idx_project_namespace_id_from_namespace_path_timestamp_and_id
|
||||
|
||||
def up
|
||||
add_concurrent_partitioned_index(TABLE_NAME, COLUMN_NAMES, name: INDEX_NAME)
|
||||
end
|
||||
|
||||
def down
|
||||
remove_concurrent_partitioned_index_by_name(TABLE_NAME, INDEX_NAME)
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1 @@
|
|||
5c0a0e3d43217d2f34042fd46e130ddb67b74479c69fb879399e07d0d5011f01
|
||||
|
|
@ -0,0 +1 @@
|
|||
ce77478177d7c9381810dd0d6523dd098c50316a3e4e553d80256044de10dda2
|
||||
|
|
@ -34098,6 +34098,8 @@ CREATE INDEX idx_project_control_statuses_on_project_id ON project_control_compl
|
|||
|
||||
CREATE INDEX idx_project_control_statuses_on_requirement_id ON project_control_compliance_statuses USING btree (compliance_requirement_id);
|
||||
|
||||
CREATE INDEX idx_project_namespace_id_from_namespace_path_timestamp_and_id ON ONLY ai_code_suggestion_events USING btree ((("substring"(namespace_path, '([0-9]+)[^0-9]*$'::text))::bigint), "timestamp", id);
|
||||
|
||||
CREATE INDEX idx_project_repository_check_partial ON projects USING btree (repository_storage, created_at) WHERE (last_repository_check_at IS NULL);
|
||||
|
||||
CREATE INDEX idx_project_requirement_statuses_on_framework_id ON project_requirement_compliance_statuses USING btree (compliance_framework_id);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
# Base Markdownlint configuration
|
||||
# Extended Markdownlint configuration in doc/.markdownlint/
|
||||
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for explanations of each rule
|
||||
config:
|
||||
# First, set the default
|
||||
default: true
|
||||
|
||||
# Per-rule settings in alphabetical order
|
||||
code-block-style: # MD046
|
||||
style: "fenced"
|
||||
emphasis-style: false # MD049
|
||||
header-style: # MD003
|
||||
style: "atx"
|
||||
hr-style: # MD035
|
||||
style: "---"
|
||||
line-length: # MD013
|
||||
code_blocks: false
|
||||
tables: false
|
||||
headings: true
|
||||
heading_line_length: 100
|
||||
line_length: 1800
|
||||
no-duplicate-heading: # MD024
|
||||
siblings_only: true
|
||||
no-emphasis-as-heading: false # MD036
|
||||
no-inline-html: false # MD033
|
||||
no-trailing-punctuation: # MD026
|
||||
punctuation: ".,;:!。,;:!"
|
||||
no-trailing-spaces: false # MD009
|
||||
ol-prefix: # MD029
|
||||
style: "one"
|
||||
reference-links-images: false # MD052
|
||||
ul-style: # MD004
|
||||
style: "dash"
|
||||
link-fragments: false # MD051 - English anchor links in translated text fail
|
||||
|
|
@ -223,13 +223,13 @@ Gitaly Clusterのテクニカルサポートは、GitLab PremiumおよびUltimat
|
|||
|
||||
単一ノードの障害を想定したGitaly Clusterの可用性目標は次のとおりです。
|
||||
|
||||
- **目標リカバリー時点(RPO): **1分未満。
|
||||
- 目標リカバリー時点(RPO): 1分未満。
|
||||
|
||||
書き込みは非同期でレプリケートされます。新たにプロモートされたプライマリにレプリケートされていない書き込みは、失われます。
|
||||
|
||||
[強い整合性](#strong-consistency)により、状況によっては損失を防ぐことができます。
|
||||
|
||||
- **目標リカバリー時間(RTO): **10秒未満。停止は、各Praefectノードが毎秒実行するヘルスチェックによって検出されます。フェイルオーバーが行われるには、各Praefectノードで10回連続してヘルスチェックに失敗する必要があります。
|
||||
- 目標リカバリー時間(RTO): 10秒未満。停止は、各Praefectノードが毎秒実行するヘルスチェックによって検出されます。フェイルオーバーが行われるには、各Praefectノードで10回連続してヘルスチェックに失敗する必要があります。
|
||||
|
||||
RPOとRTOの改善については、エピック[8903](https://gitlab.com/groups/gitlab-org/-/epics/8903)で提案されています。
|
||||
|
||||
|
|
@ -518,14 +518,3 @@ Gitaly Clusterの制限事項やトレードオフがお客様の環境に適し
|
|||
|
||||
1. 新しい[Gitalyサーバー](configure_gitaly.md#run-gitaly-on-its-own-server)を作成して設定します。
|
||||
1. 新しく作成したストレージに[リポジトリを移動](../operations/moving_repositories.md#moving-repositories)します。リポジトリはシャードまたはグループ単位で移動できるため、複数のGitalyサーバーに分散して配置する機会が得られます。
|
||||
|
||||
### Gitaly Clusterに移行する
|
||||
|
||||
複雑さを解消するため、GitLabにおける直接的なGitアクセスを削除する必要があります。ただし、一部のGitLabインストール環境でNFS上のGitリポジトリを必要としている限り、削除することはできません。
|
||||
|
||||
GitLabにおける直接的なGitアクセスを削除するための取り組みには、次の2つの側面があります。
|
||||
|
||||
- GitLabによる非効率なGitalyクエリの数を減らす。
|
||||
- 耐障害性または水平スケールされたGitLabインスタンスの管理者に、NFSからの移行を促す。
|
||||
|
||||
このうち、唯一の実質的な解決策となるのは2番目です。このために、[Gitaly Cluster](#gitaly-cluster)を開発しました。
|
||||
|
|
|
|||
|
|
@ -481,7 +481,7 @@ Cloud Connector機能についての一連の状態チェックを実行しま
|
|||
|
||||
### `Query.devopsAdoptionEnabledNamespaces`
|
||||
|
||||
設定されているDevOpsアドプションネームスペースを取得します。**状態: **ベータ版。このエンドポイントは、予告なしに変更される場合があります。
|
||||
設定されているDevOpsアドプションネームスペースを取得します。**状態**: ベータ版。このエンドポイントは、予告なしに変更される場合があります。
|
||||
|
||||
[`DevopsAdoptionEnabledNamespaceConnection`](#devopsadoptionenablednamespaceconnection)を返します。
|
||||
|
||||
|
|
@ -3019,7 +3019,7 @@ AI機能の設定を更新または作成します。
|
|||
|
||||
### `Mutation.bulkEnableDevopsAdoptionNamespaces`
|
||||
|
||||
**状態: **ベータ版。
|
||||
**状態**: ベータ版。
|
||||
|
||||
入力型: `BulkEnableDevopsAdoptionNamespacesInput`
|
||||
|
||||
|
|
@ -3110,8 +3110,8 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectdefaultpermissions"></a>`defaultPermissions` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectjobtokenpolicies"></a>`jobTokenPolicies` {{< icon name="warning-solid" >}} | [`[CiJobTokenScopePolicies!]`](#cijobtokenscopepolicies) | **非推奨: ****状態**: 実験。GitLab 17.5で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectdefaultpermissions"></a>`defaultPermissions` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectjobtokenpolicies"></a>`jobTokenPolicies` {{< icon name="warning-solid" >}} | [`[CiJobTokenScopePolicies!]`](#cijobtokenscopepolicies) | **非推**: **状態**: 実験。GitLab 17.5で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectprojectpath"></a>`projectPath` | [`ID!`](#id) | CIジョブトークンスコープが属するプロジェクト。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojecttargetpath"></a>`targetPath` | [`ID!`](#id) | CIジョブトークンスコープに追加するグループまたはプロジェクト。 |
|
||||
|
||||
|
|
@ -3120,7 +3120,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectcijobtokenscope"></a>`ciJobTokenScope` | [`CiJobTokenScopeType`](#cijobtokenscopetype) | CI ジョブトークンのアクセススコープ。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨: ****状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨**: **状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscopeaddgrouporprojecterrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -3133,7 +3133,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscopeaddprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectdirection"></a>`direction` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeDirection`](#cijobtokenscopedirection) | **非推奨: **送信ジョブトークンスコープは削除されます。現在のところ、このフィールドで可能な設定値はINBOUNDだけです。GitLab 16.0で非推奨になりました。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectdirection"></a>`direction` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeDirection`](#cijobtokenscopedirection) | **非推奨**: 送信ジョブトークンスコープは削除されます。現在のところ、このフィールドで可能な設定値はINBOUNDだけです。GitLab 16.0で非推奨になりました。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectprojectpath"></a>`projectPath` | [`ID!`](#id) | CIジョブトークンスコープが属するプロジェクト。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojecttargetprojectpath"></a>`targetProjectPath` | [`ID!`](#id) | CIジョブトークンスコープに追加するプロジェクト。 |
|
||||
|
||||
|
|
@ -3142,7 +3142,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscopeaddprojectcijobtokenscope"></a>`ciJobTokenScope` | [`CiJobTokenScopeType`](#cijobtokenscopetype) | CI ジョブトークンのアクセススコープ。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨: ****状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨**: **状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscopeaddprojecterrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -3205,7 +3205,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscoperemovegroupcijobtokenscope"></a>`ciJobTokenScope` | [`CiJobTokenScopeType`](#cijobtokenscopetype) | CI ジョブトークンのアクセススコープ。 |
|
||||
| <a id="mutationcijobtokenscoperemovegroupcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨: ****状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscoperemovegroupcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨**: **状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscoperemovegroupclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscoperemovegrouperrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -3218,7 +3218,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectdirection"></a>`direction` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeDirection`](#cijobtokenscopedirection) | **非推奨: **送信ジョブトークンスコープは削除されます。現在のところ、このフィールドで可能な設定値はINBOUNDだけです。GitLab 16.9で非推奨になりました。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectdirection"></a>`direction` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeDirection`](#cijobtokenscopedirection) | **非推奨**: 送信ジョブトークンスコープは削除されます。現在のところ、このフィールドで可能な設定値はINBOUNDだけです。GitLab 16.9で非推奨になりました。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectprojectpath"></a>`projectPath` | [`ID!`](#id) | CIジョブトークンスコープが属するプロジェクト。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojecttargetprojectpath"></a>`targetProjectPath` | [`ID!`](#id) | CIジョブトークンスコープから削除するプロジェクト。 |
|
||||
|
||||
|
|
@ -3227,7 +3227,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectcijobtokenscope"></a>`ciJobTokenScope` | [`CiJobTokenScopeType`](#cijobtokenscopetype) | CI ジョブトークンのアクセススコープ。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨: ****状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojectcijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨**: **状態**: 実験。GitLab 17.6で導入。|
|
||||
| <a id="mutationcijobtokenscoperemoveprojectclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscoperemoveprojecterrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -3251,7 +3251,7 @@ AI機能の設定を更新または作成します。
|
|||
|
||||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcijobtokenscopeupdatepoliciescijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨: ****状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeupdatepoliciescijobtokenscopeallowlistentry"></a>`ciJobTokenScopeAllowlistEntry` {{< icon name="warning-solid" >}} | [`CiJobTokenScopeAllowlistEntry`](#cijobtokenscopeallowlistentry) | **非推奨**: **状態**: 実験。GitLab 17.6で導入。 |
|
||||
| <a id="mutationcijobtokenscopeupdatepoliciesclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcijobtokenscopeupdatepolicieserrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -3764,7 +3764,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcreatecontainerprotectiontagruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcreatecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationcreatecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationcreatecontainerprotectiontagruleerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
### `Mutation.createCustomEmoji`
|
||||
|
|
@ -3903,7 +3903,7 @@ AI機能の設定を更新または作成します。
|
|||
| <a id="mutationcreateissuedescription"></a>`description` | [`String`](#string) | イシューの説明。 |
|
||||
| <a id="mutationcreateissuediscussiontoresolve"></a>`discussionToResolve` | [`String`](#string) | 解決するディスカッションのID。`merge_request_to_resolve_discussions_of`も渡してください。 |
|
||||
| <a id="mutationcreateissueduedate"></a>`dueDate` | [`ISO8601Date`](#iso8601date) | イシューの期限。 |
|
||||
| <a id="mutationcreateissueepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationcreateissueepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationcreateissuehealthstatus"></a>`healthStatus` | [`HealthStatus`](#healthstatus) | 目的のヘルスステータス。 |
|
||||
| <a id="mutationcreateissueiid"></a>`iid` | [`Int`](#int) | プロジェクトイシューのIID(内部ID)。これを変更できるのは管理者とプロジェクトオーナーだけです。 |
|
||||
| <a id="mutationcreateissueiterationcadenceid"></a>`iterationCadenceId` | [`IterationsCadenceID`](#iterationscadenceid) | グローバルイテレーションケイデンスID。`iterationWildcardId`が指定されている場合は必須。 |
|
||||
|
|
@ -3993,7 +3993,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationcreatepackagesprotectionruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationcreatepackagesprotectionruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`PackagesProtectionRuleAccessLevelForDelete`](#packagesprotectionruleaccesslevelfordelete) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationcreatepackagesprotectionruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`PackagesProtectionRuleAccessLevelForDelete`](#packagesprotectionruleaccesslevelfordelete) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationcreatepackagesprotectionruleminimumaccesslevelforpush"></a>`minimumAccessLevelForPush` | [`PackagesProtectionRuleAccessLevel`](#packagesprotectionruleaccesslevel) | パッケージをパッケージレジストリにプッシュするために必要な最小GitLabアクセスレベル。有効な値には`MAINTAINER`、`OWNER`、または`ADMIN`が含まれます。値が`nil`の場合のデフォルトの最小アクセスレベルは`DEVELOPER`です。 |
|
||||
| <a id="mutationcreatepackagesprotectionrulepackagenamepattern"></a>`packageNamePattern` | [`String!`](#string) | 保護ルールによって保護されるパッケージ名。例:`@my-scope/my-package-*`。ワイルドカード文字`*`を使用できます。 |
|
||||
| <a id="mutationcreatepackagesprotectionrulepackagetype"></a>`packageType` | [`PackagesProtectionRulePackageType!`](#packagesprotectionrulepackagetype) | 保護ルールによって保護されるパッケージのタイプ。例: `NPM`、`PYPI`。 |
|
||||
|
|
@ -4338,7 +4338,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationdastprofilerunclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdastprofilerunfullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastprofilerunfullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastprofilerunid"></a>`id` | [`DastProfileID!`](#dastprofileid) | スキャンに使用するプロファイルのID。 |
|
||||
|
||||
#### フィールド
|
||||
|
|
@ -4363,7 +4363,7 @@ AI機能の設定を更新または作成します。
|
|||
| <a id="mutationdastprofileupdatedastscannerprofileid"></a>`dastScannerProfileId` | [`DastScannerProfileID`](#dastscannerprofileid) | 関連付けるスキャナープロファイルのID。 |
|
||||
| <a id="mutationdastprofileupdatedastsiteprofileid"></a>`dastSiteProfileId` | [`DastSiteProfileID`](#dastsiteprofileid) | 関連付けるサイトプロファイルのID。 |
|
||||
| <a id="mutationdastprofileupdatedescription"></a>`description` | [`String`](#string) | プロファイルの説明。デフォルトは空の文字列です。 |
|
||||
| <a id="mutationdastprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastprofileupdateid"></a>`id` | [`DastProfileID!`](#dastprofileid) | 削除するプロファイルのID。 |
|
||||
| <a id="mutationdastprofileupdatename"></a>`name` | [`String`](#string) | プロファイルの名前。 |
|
||||
| <a id="mutationdastprofileupdaterunafterupdate"></a>`runAfterUpdate` | [`Boolean`](#boolean) | 更新後にプロファイルを使用してスキャンを実行します。デフォルトはfalseです。 |
|
||||
|
|
@ -4392,7 +4392,7 @@ AI機能の設定を更新または作成します。
|
|||
| <a id="mutationdastscannerprofilecreatescantype"></a>`scanType` | [`DastScanTypeEnum`](#dastscantypeenum) | 実行するDASTスキャンのタイプを示します。パッシブスキャンかアクティブスキャンのどちらか。 |
|
||||
| <a id="mutationdastscannerprofilecreateshowdebugmessages"></a>`showDebugMessages` | [`Boolean`](#boolean) | デバッグメッセージをDASTコンソール出力に含めるかどうかを示します。デバッグメッセージを含める場合はtrue。 |
|
||||
| <a id="mutationdastscannerprofilecreatespidertimeout"></a>`spiderTimeout` | [`Int`](#int) | スパイダーがサイトを走査する時間として許可される最大時間(分)。 |
|
||||
| <a id="mutationdastscannerprofilecreatetaglist"></a>`tagList` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨: **DastProfileに移動しました。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofilecreatetaglist"></a>`tagList` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨**: DastProfileに移動しました。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofilecreatetargettimeout"></a>`targetTimeout` | [`Int`](#int) | テスト対象のサイトがリクエストに応答するための時間として許可される最大秒数。 |
|
||||
| <a id="mutationdastscannerprofilecreateuseajaxspider"></a>`useAjaxSpider` | [`Boolean`](#boolean) | ターゲットサイトのクロールにAJAX Spiderを使用するかどうかを示します。従来のスパイダーに加えてAJAX Spiderを実行する場合はtrue、従来のスパイダーだけを実行する場合はfalse。 |
|
||||
|
||||
|
|
@ -4414,7 +4414,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationdastscannerprofiledeleteclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdastscannerprofiledeletefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofiledeletefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofiledeleteid"></a>`id` | [`DastScannerProfileID!`](#dastscannerprofileid) | 削除するスキャナープロファイルのID。 |
|
||||
|
||||
#### フィールド
|
||||
|
|
@ -4433,13 +4433,13 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationdastscannerprofileupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdastscannerprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofileupdateid"></a>`id` | [`DastScannerProfileID!`](#dastscannerprofileid) | 更新するスキャナープロファイルのID。 |
|
||||
| <a id="mutationdastscannerprofileupdateprofilename"></a>`profileName` | [`String!`](#string) | スキャナープロファイルの名前。 |
|
||||
| <a id="mutationdastscannerprofileupdatescantype"></a>`scanType` | [`DastScanTypeEnum`](#dastscantypeenum) | 実行するDASTスキャンのタイプを示します。パッシブスキャンかアクティブスキャンのどちらか。 |
|
||||
| <a id="mutationdastscannerprofileupdateshowdebugmessages"></a>`showDebugMessages` | [`Boolean`](#boolean) | デバッグメッセージをDASTコンソール出力に含めるかどうかを示します。デバッグメッセージを含める場合はtrue。 |
|
||||
| <a id="mutationdastscannerprofileupdatespidertimeout"></a>`spiderTimeout` | [`Int!`](#int) | スパイダーがサイトを走査する時間として許可される最大時間(分)。 |
|
||||
| <a id="mutationdastscannerprofileupdatetaglist"></a>`tagList` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨: **DastProfileに移動しました。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofileupdatetaglist"></a>`tagList` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨**: DastProfileに移動しました。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationdastscannerprofileupdatetargettimeout"></a>`targetTimeout` | [`Int!`](#int) | テスト対象のサイトがリクエストに応答するための時間として許可される最大秒数。 |
|
||||
| <a id="mutationdastscannerprofileupdateuseajaxspider"></a>`useAjaxSpider` | [`Boolean`](#boolean) | ターゲットサイトのクロールにAJAX Spiderを使用するかどうかを示します。従来のスパイダーに加えてAJAX Spiderを実行する場合はtrue、従来のスパイダーだけを実行する場合はfalse。 |
|
||||
|
||||
|
|
@ -4490,7 +4490,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationdastsiteprofiledeleteclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdastsiteprofiledeletefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastsiteprofiledeletefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastsiteprofiledeleteid"></a>`id` | [`DastSiteProfileID!`](#dastsiteprofileid) | 削除するサイトプロファイルのID。 |
|
||||
|
||||
#### フィールド
|
||||
|
|
@ -4511,7 +4511,7 @@ AI機能の設定を更新または作成します。
|
|||
| <a id="mutationdastsiteprofileupdateauth"></a>`auth` | [`DastSiteProfileAuthInput`](#dastsiteprofileauthinput) | 認証のパラメータ。 |
|
||||
| <a id="mutationdastsiteprofileupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdastsiteprofileupdateexcludedurls"></a>`excludedUrls` | [`[String!]`](#string) | 認証スキャン中にスキップするURL。 |
|
||||
| <a id="mutationdastsiteprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastsiteprofileupdatefullpath"></a>`fullPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: グローバルIDを修飾する完全パスは不要です。GitLab 14.5で非推奨になりました。 |
|
||||
| <a id="mutationdastsiteprofileupdateid"></a>`id` | [`DastSiteProfileID!`](#dastsiteprofileid) | 更新するサイトプロファイルのID。 |
|
||||
| <a id="mutationdastsiteprofileupdateoptionalvariables"></a>`optionalVariables` | [`[JSON!]`](#json) | DASTスキャン用に設定できるオプション変数。 |
|
||||
| <a id="mutationdastsiteprofileupdateprofilename"></a>`profileName` | [`String!`](#string) | サイトプロファイルの名前。 |
|
||||
|
|
@ -4655,7 +4655,7 @@ AI機能の設定を更新または作成します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationdeletecontainerprotectiontagruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationdeletecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationdeletecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationdeletecontainerprotectiontagruleerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
### `Mutation.deleteConversationThread`
|
||||
|
|
@ -5096,7 +5096,7 @@ Pagesデプロイを削除します。
|
|||
|
||||
### `Mutation.disableDevopsAdoptionNamespace`
|
||||
|
||||
**状態: **ベータ版。
|
||||
**状態**: ベータ版。
|
||||
|
||||
入力型: `DisableDevopsAdoptionNamespaceInput`
|
||||
|
||||
|
|
@ -5207,7 +5207,7 @@ GitLab Duoの設定を更新します。
|
|||
|
||||
### `Mutation.enableDevopsAdoptionNamespace`
|
||||
|
||||
**状態: **ベータ版。
|
||||
**状態**: ベータ版。
|
||||
|
||||
入力型: `EnableDevopsAdoptionNamespaceInput`
|
||||
|
||||
|
|
@ -6553,7 +6553,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationissuemovelistboardid"></a>`boardId` | [`BoardID!`](#boardid) | イシューの属するボードのグローバルID。 |
|
||||
| <a id="mutationissuemovelistclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationissuemovelistepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuemovelistepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuemovelistfromlistid"></a>`fromListId` | [`ID`](#id) | イシューの移動元ボードリストのID。 |
|
||||
| <a id="mutationissuemovelistiid"></a>`iid` | [`String!`](#string) | 変異対象のイシューのIID。 |
|
||||
| <a id="mutationissuemovelistmoveafterid"></a>`moveAfterId` | [`ID`](#id) | 現在のイシューの後に配置するイシューのID。 |
|
||||
|
|
@ -6667,7 +6667,7 @@ Geoレジストリを変異します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationissuesetepicclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationissuesetepicepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuesetepicepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuesetepiciid"></a>`iid` | [`String!`](#string) | 変異対象のイシューのIID。 |
|
||||
| <a id="mutationissuesetepicprojectpath"></a>`projectPath` | [`ID!`](#id) | 変異対象のイシューの属するプロジェクト。 |
|
||||
|
||||
|
|
@ -6862,7 +6862,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationissuesbulkupdateaddlabelids"></a>`addLabelIds` | [`[LabelID!]`](#labelid) | イシューに追加さすラベルのグローバルID配列。 |
|
||||
| <a id="mutationissuesbulkupdateassigneeids"></a>`assigneeIds` | [`[UserID!]`](#userid) | 指定されたイシューに割り当てるユーザーのグローバルID配列。既存の割り当てが、このリストの割り当てに置き換えられます。 |
|
||||
| <a id="mutationissuesbulkupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationissuesbulkupdateepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuesbulkupdateepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationissuesbulkupdatehealthstatus"></a>`healthStatus` | [`HealthStatus`](#healthstatus) | イシューに割り当てるヘルスステータス。 |
|
||||
| <a id="mutationissuesbulkupdateids"></a>`ids` | [`[IssueID!]!`](#issueid) | 更新するイシューのグローバルID配列。ユーザーが更新できないIDは無視されます。最大100個まで指定できます。 |
|
||||
| <a id="mutationissuesbulkupdateiterationid"></a>`iterationId` | [`IterationID`](#iterationid) | イシューに割り当てるイテレーションのグローバルID。 |
|
||||
|
|
@ -7007,7 +7007,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationjiraimportstartclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationjiraimportstartjiraprojectkey"></a>`jiraProjectKey` | [`String!`](#string) | インポーターJiraプロジェクトのプロジェクトキー。 |
|
||||
| <a id="mutationjiraimportstartjiraprojectname"></a>`jiraProjectName` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: **引数は使用されません。GitLab 17.4で非推奨になりました。 |
|
||||
| <a id="mutationjiraimportstartjiraprojectname"></a>`jiraProjectName` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: 引数は使用されません。GitLab 17.4で非推奨になりました。 |
|
||||
| <a id="mutationjiraimportstartprojectpath"></a>`projectPath` | [`ID!`](#id) | Jiraプロジェクトのインポート先プロジェクト。 |
|
||||
| <a id="mutationjiraimportstartusersmapping"></a>`usersMapping` | [`[JiraUsersMappingInputType!]`](#jirausersmappinginputtype) | JiraからGitLabユーザーへのマッピング。 |
|
||||
|
||||
|
|
@ -7877,7 +7877,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationnamespacecreateremotedevelopmentclusteragentmappingclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationnamespacecreateremotedevelopmentclusteragentmappingerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
| <a id="mutationnamespacecreateremotedevelopmentclusteragentmappingnamespaceclusteragentmapping"></a>`namespaceClusterAgentMapping` {{< icon name="warning-solid" >}} | [`NamespaceClusterAgentMapping`](#namespaceclusteragentmapping) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationnamespacecreateremotedevelopmentclusteragentmappingnamespaceclusteragentmapping"></a>`namespaceClusterAgentMapping` {{< icon name="warning-solid" >}} | [`NamespaceClusterAgentMapping`](#namespaceclusteragentmapping) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
|
||||
### `Mutation.namespaceDeleteRemoteDevelopmentClusterAgentMapping`
|
||||
|
||||
|
|
@ -8190,7 +8190,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationorganizationuserupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationorganizationuserupdateerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
| <a id="mutationorganizationuserupdateorganizationuser"></a>`organizationUser` {{< icon name="warning-solid" >}} | [`OrganizationUser`](#organizationuser) | **非推奨: ****状態**: 実験。GitLab 17.5で導入。 |
|
||||
| <a id="mutationorganizationuserupdateorganizationuser"></a>`organizationUser` {{< icon name="warning-solid" >}} | [`OrganizationUser`](#organizationuser) | **非推奨**: **状態**: 実験。GitLab 17.5で導入。 |
|
||||
|
||||
### `Mutation.pagesMarkOnboardingComplete`
|
||||
|
||||
|
|
@ -8237,9 +8237,9 @@ Geoレジストリを変異します。
|
|||
|
||||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationpipelinecreateasync"></a>`async` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationpipelinecreateasync"></a>`async` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationpipelinecreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationpipelinecreateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationpipelinecreateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationpipelinecreateprojectpath"></a>`projectPath` | [`ID!`](#id) | パイプラインをトリガーしているプロジェクトのフルパス。 |
|
||||
| <a id="mutationpipelinecreateref"></a>`ref` | [`String!`](#string) | パイプラインを実行するref。 |
|
||||
| <a id="mutationpipelinecreatevariables"></a>`variables` | [`[CiVariableInput!]`](#civariableinput) | パイプラインの変数。 |
|
||||
|
|
@ -8251,7 +8251,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationpipelinecreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationpipelinecreateerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
| <a id="mutationpipelinecreatepipeline"></a>`pipeline` | [`Pipeline`](#pipeline) | 変異後に作成されたパイプライン。`async: true`の場合はnull。 |
|
||||
| <a id="mutationpipelinecreaterequestid"></a>`requestId` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationpipelinecreaterequestid"></a>`requestId` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
|
||||
### `Mutation.pipelineDestroy`
|
||||
|
||||
|
|
@ -8303,7 +8303,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationpipelineschedulecreatecron"></a>`cron` | [`String!`](#string) | パイプラインスケジュールのcron式。 |
|
||||
| <a id="mutationpipelineschedulecreatecrontimezone"></a>`cronTimezone` | [`String`](#string) | ActiveSupport::TimeZoneでサポートされているcronタイムゾーン。例:「Pacific Time(US & Canada)」(デフォルト:「UTC」)。 |
|
||||
| <a id="mutationpipelineschedulecreatedescription"></a>`description` | [`String!`](#string) | パイプラインスケジュールの説明。 |
|
||||
| <a id="mutationpipelineschedulecreateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationpipelineschedulecreateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationpipelineschedulecreateprojectpath"></a>`projectPath` | [`ID!`](#id) | パイプラインスケジュールが関連付けられているプロジェクトのフルパス。 |
|
||||
| <a id="mutationpipelineschedulecreateref"></a>`ref` | [`String!`](#string) | パイプラインスケジュールのref。 |
|
||||
| <a id="mutationpipelineschedulecreatevariables"></a>`variables` | [`[PipelineScheduleVariableInput!]`](#pipelineschedulevariableinput) | パイプラインスケジュールの変数。 |
|
||||
|
|
@ -8386,7 +8386,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationpipelinescheduleupdatecrontimezone"></a>`cronTimezone` | [`String`](#string) | ActiveSupport::TimeZoneでサポートされているcronタイムゾーン。例:「Pacific Time(US & Canada)」(デフォルト:「UTC」)。 |
|
||||
| <a id="mutationpipelinescheduleupdatedescription"></a>`description` | [`String`](#string) | パイプラインスケジュールの説明。 |
|
||||
| <a id="mutationpipelinescheduleupdateid"></a>`id` | [`CiPipelineScheduleID!`](#cipipelinescheduleid) | 変異対象のパイプラインスケジュールのID。 |
|
||||
| <a id="mutationpipelinescheduleupdateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨: ****状態**: 実験。GitLab 17.11で導入。 |
|
||||
| <a id="mutationpipelinescheduleupdateinputs"></a>`inputs` {{< icon name="warning-solid" >}} | [`[CiInputsInputType!]`](#ciinputsinputtype) | **非推奨**: **状態**: 実験。GitLab 17.11で導入。 |
|
||||
| <a id="mutationpipelinescheduleupdateref"></a>`ref` | [`String`](#string) | パイプラインスケジュールのref。 |
|
||||
| <a id="mutationpipelinescheduleupdatevariables"></a>`variables` | [`[PipelineScheduleVariableInput!]`](#pipelineschedulevariableinput) | パイプラインスケジュールの変数。 |
|
||||
|
||||
|
|
@ -8543,7 +8543,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationprojectcicdsettingsupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatefullpath"></a>`fullPath` | [`ID!`](#id) | 設定が属するプロジェクトのフルパス。 |
|
||||
| <a id="mutationprojectcicdsettingsupdateinboundjobtokenscopeenabled"></a>`inboundJobTokenScopeEnabled` | [`Boolean`](#boolean) | このプロジェクトへのアクセスが他のプロジェクトで生成されたCI/CDジョブトークンによって制限されているかどうかを示します。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatejobtokenscopeenabled"></a>`jobTokenScopeEnabled` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨: **送信ジョブトークンスコープは削除されます。このフィールドで可能な設定値はfalseだけになりました。GitLab 16.0で非推奨になりました。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatejobtokenscopeenabled"></a>`jobTokenScopeEnabled` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨**: 送信ジョブトークンスコープは削除されます。このフィールドで可能な設定値はfalseだけになりました。GitLab 16.0で非推奨になりました。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatekeeplatestartifact"></a>`keepLatestArtifact` | [`Boolean`](#boolean) | プロジェクトで最新のアーティファクトを保持する必要があるかどうかを示します。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatemergepipelinesenabled"></a>`mergePipelinesEnabled` | [`Boolean`](#boolean) | プロジェクトでマージ結果パイプラインが有効になっているかどうかを示します。 |
|
||||
| <a id="mutationprojectcicdsettingsupdatemergetrainsenabled"></a>`mergeTrainsEnabled` | [`Boolean`](#boolean) | プロジェクトでマージトレインが有効になっているかどうかを示します。 |
|
||||
|
|
@ -9371,9 +9371,9 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationrunnercreatemaintenancenote"></a>`maintenanceNote` | [`String`](#string) | Runnerのメンテナンスノート。 |
|
||||
| <a id="mutationrunnercreatemaximumtimeout"></a>`maximumTimeout` | [`Int`](#int) | Runnerが処理するジョブの最大タイムアウト(秒単位)。 |
|
||||
| <a id="mutationrunnercreatepaused"></a>`paused` | [`Boolean`](#boolean) | Runnerによるジョブ受信が許可されていないことを示します。 |
|
||||
| <a id="mutationrunnercreateprivateprojectsminutescostfactor"></a>`privateProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨: ****状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnercreateprivateprojectsminutescostfactor"></a>`privateProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨**: **状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnercreateprojectid"></a>`projectId` | [`ProjectID`](#projectid) | Runnerを作成するプロジェクトのグローバルID(プロジェクトRunnerの場合のみ有効)。 |
|
||||
| <a id="mutationrunnercreatepublicprojectsminutescostfactor"></a>`publicProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨: ****状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnercreatepublicprojectsminutescostfactor"></a>`publicProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨**: **状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnercreaterununtagged"></a>`runUntagged` | [`Boolean`](#boolean) | Runnerがタグなしジョブを実行できることを示します。 |
|
||||
| <a id="mutationrunnercreaterunnertype"></a>`runnerType` | [`CiRunnerType!`](#cirunnertype) | 作成するRunnerのタイプ。 |
|
||||
| <a id="mutationrunnercreatetaglist"></a>`tagList` | [`[String!]`](#string) | Runnerに関連付けられているタグ。 |
|
||||
|
|
@ -9413,7 +9413,7 @@ Geoレジストリを変異します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationrunnerupdateaccesslevel"></a>`accessLevel` | [`CiRunnerAccessLevel`](#cirunneraccesslevel) | Runnerのアクセスレベル。 |
|
||||
| <a id="mutationrunnerupdateactive"></a>`active` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨: **名前が変更されました。`paused`を使用してください。GitLab 14.8で非推奨になりました。 |
|
||||
| <a id="mutationrunnerupdateactive"></a>`active` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨**: 名前が変更されました。`paused`を使用してください。GitLab 14.8で非推奨になりました。 |
|
||||
| <a id="mutationrunnerupdateassociatedprojects"></a>`associatedProjects` | [`[ProjectID!]`](#projectid) | Runnerに関連付けられているプロジェクト。プロジェクトRunnerでのみ利用可能です。 |
|
||||
| <a id="mutationrunnerupdateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationrunnerupdatedescription"></a>`description` | [`String`](#string) | Runnerの説明。 |
|
||||
|
|
@ -9422,8 +9422,8 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationrunnerupdatemaintenancenote"></a>`maintenanceNote` | [`String`](#string) | Runnerのメンテナンスノート。 |
|
||||
| <a id="mutationrunnerupdatemaximumtimeout"></a>`maximumTimeout` | [`Int`](#int) | Runnerが処理するジョブの最大タイムアウト(秒単位)。 |
|
||||
| <a id="mutationrunnerupdatepaused"></a>`paused` | [`Boolean`](#boolean) | Runnerによるジョブ受信が許可されていないことを示します。 |
|
||||
| <a id="mutationrunnerupdateprivateprojectsminutescostfactor"></a>`privateProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨: ****状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnerupdatepublicprojectsminutescostfactor"></a>`publicProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨: ****状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnerupdateprivateprojectsminutescostfactor"></a>`privateProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨**: **状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnerupdatepublicprojectsminutescostfactor"></a>`publicProjectsMinutesCostFactor` {{< icon name="warning-solid" >}} | [`Float`](#float) | **非推奨**: **状態**: 実験。GitLab 17.7で導入。 |
|
||||
| <a id="mutationrunnerupdaterununtagged"></a>`runUntagged` | [`Boolean`](#boolean) | Runnerがタグなしジョブを実行できることを示します。 |
|
||||
| <a id="mutationrunnerupdatetaglist"></a>`tagList` | [`[String!]`](#string) | Runnerに関連付けられているタグ。 |
|
||||
|
||||
|
|
@ -9554,7 +9554,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationscanexecutionpolicycommitname"></a>`name` | [`String!`](#string) | ポリシーの名前。名前がnullの場合、`policy_yaml`の`name`フィールドが使用されます。 |
|
||||
| <a id="mutationscanexecutionpolicycommitoperationmode"></a>`operationMode` | [`MutationOperationMode!`](#mutationoperationmode) | 操作モードを変更します。 |
|
||||
| <a id="mutationscanexecutionpolicycommitpolicyyaml"></a>`policyYaml` | [`String!`](#string) | ポリシーのYAMLスニペット。 |
|
||||
| <a id="mutationscanexecutionpolicycommitprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **`fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
| <a id="mutationscanexecutionpolicycommitprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: `fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
|
||||
#### フィールド
|
||||
|
||||
|
|
@ -9699,7 +9699,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationsecuritypolicyprojectassignclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationsecuritypolicyprojectassignfullpath"></a>`fullPath` | [`String`](#string) | プロジェクトまたはグループのフルパス。 |
|
||||
| <a id="mutationsecuritypolicyprojectassignprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **`fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
| <a id="mutationsecuritypolicyprojectassignprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: `fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
| <a id="mutationsecuritypolicyprojectassignsecuritypolicyprojectid"></a>`securityPolicyProjectId` | [`ProjectID!`](#projectid) | セキュリティポリシープロジェクトのID。 |
|
||||
|
||||
#### フィールド
|
||||
|
|
@ -9721,7 +9721,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationsecuritypolicyprojectcreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationsecuritypolicyprojectcreatefullpath"></a>`fullPath` | [`String`](#string) | プロジェクトまたはグループのフルパス。 |
|
||||
| <a id="mutationsecuritypolicyprojectcreateprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **`fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
| <a id="mutationsecuritypolicyprojectcreateprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: `fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
|
||||
#### フィールド
|
||||
|
||||
|
|
@ -9733,7 +9733,7 @@ Geoレジストリを変異します。
|
|||
|
||||
### `Mutation.securityPolicyProjectCreateAsync`
|
||||
|
||||
**状態: **実験。指定されたプロジェクトまたはグループ(`full_path`)のセキュリティポリシープロジェクトを非同期で作成して割り当てます。
|
||||
**状態**: 実験。指定されたプロジェクトまたはグループ(`full_path`)のセキュリティポリシープロジェクトを非同期で作成して割り当てます。
|
||||
|
||||
{{< details >}}GitLab 17.3で**導入**。**状態**: 実験。{{< /details >}}
|
||||
|
||||
|
|
@ -9765,7 +9765,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationsecuritypolicyprojectunassignclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationsecuritypolicyprojectunassignfullpath"></a>`fullPath` | [`String`](#string) | プロジェクトまたはグループのフルパス。 |
|
||||
| <a id="mutationsecuritypolicyprojectunassignprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **`fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
| <a id="mutationsecuritypolicyprojectunassignprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: `fullPath`を使用してください。GitLab 14.10で非推奨になりました。 |
|
||||
|
||||
#### フィールド
|
||||
|
||||
|
|
@ -10583,7 +10583,7 @@ Geoレジストリを変異します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdatecontainerexpirationpolicyclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdatecontainerexpirationpolicycontainerexpirationpolicy"></a>`containerExpirationPolicy` {{< icon name="warning-solid" >}} | [`ContainerExpirationPolicy`](#containerexpirationpolicy) | **非推奨: **`container_tags_expiration_policy`を使用してください。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationupdatecontainerexpirationpolicycontainerexpirationpolicy"></a>`containerExpirationPolicy` {{< icon name="warning-solid" >}} | [`ContainerExpirationPolicy`](#containerexpirationpolicy) | **非推奨**: `container_tags_expiration_policy`を使用してください。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationupdatecontainerexpirationpolicycontainertagsexpirationpolicy"></a>`containerTagsExpirationPolicy` | [`ContainerTagsExpirationPolicy`](#containertagsexpirationpolicy) | 変異後のコンテナタグ有効期限ポリシー。 |
|
||||
| <a id="mutationupdatecontainerexpirationpolicyerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
|
|
@ -10625,16 +10625,16 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleid"></a>`id` | [`ContainerRegistryProtectionTagRuleID!`](#containerregistryprotectiontagruleid) | 更新するタグ保護ルールのグローバルID。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRuleAccessLevel`](#containerprotectiontagruleaccesslevel) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleminimumaccesslevelforpush"></a>`minimumAccessLevelForPush` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRuleAccessLevel`](#containerprotectiontagruleaccesslevel) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruletagnamepattern"></a>`tagNamePattern` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRuleAccessLevel`](#containerprotectiontagruleaccesslevel) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleminimumaccesslevelforpush"></a>`minimumAccessLevelForPush` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRuleAccessLevel`](#containerprotectiontagruleaccesslevel) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruletagnamepattern"></a>`tagNamePattern` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
|
||||
#### フィールド
|
||||
|
||||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨: ****状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagrulecontainerprotectiontagrule"></a>`containerProtectionTagRule` {{< icon name="warning-solid" >}} | [`ContainerProtectionTagRule`](#containerprotectiontagrule) | **非推奨**: **状態**: 実験。GitLab 17.8で導入。 |
|
||||
| <a id="mutationupdatecontainerprotectiontagruleerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
|
||||
### `Mutation.updateDependencyProxyImageTtlGroupPolicy`
|
||||
|
|
@ -10804,7 +10804,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationupdateissueconfidential"></a>`confidential` | [`Boolean`](#boolean) | イシューが機密であることを示します。 |
|
||||
| <a id="mutationupdateissuedescription"></a>`description` | [`String`](#string) | イシューの説明。 |
|
||||
| <a id="mutationupdateissueduedate"></a>`dueDate` | [`ISO8601Date`](#iso8601date) | イシューの期限。 |
|
||||
| <a id="mutationupdateissueepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationupdateissueepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationupdateissuehealthstatus"></a>`healthStatus` | [`HealthStatus`](#healthstatus) | 目的のヘルスステータス。 |
|
||||
| <a id="mutationupdateissueiid"></a>`iid` | [`String!`](#string) | 変異対象のイシューのIID。 |
|
||||
| <a id="mutationupdateissuelabelids"></a>`labelIds` | [`[ID!]`](#id) | 設定するラベルのID。既存のイシューラベルを置き換えます。 |
|
||||
|
|
@ -10860,7 +10860,7 @@ Geoレジストリを変異します。
|
|||
|
||||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdatenamespacepackagesettingsauditeventsenabled"></a>`auditEventsEnabled` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationupdatenamespacepackagesettingsauditeventsenabled"></a>`auditEventsEnabled` {{< icon name="warning-solid" >}} | [`Boolean`](#boolean) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationupdatenamespacepackagesettingsclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdatenamespacepackagesettingsgenericduplicateexceptionregex"></a>`genericDuplicateExceptionRegex` | [`UntrustedRegexp`](#untrustedregexp) | generic_duplicates_allowedがfalseの場合、この正規表現に一致する名前の重複パッケージを公開できます。それ以外の場合、この設定は無効です。 |
|
||||
| <a id="mutationupdatenamespacepackagesettingsgenericduplicatesallowed"></a>`genericDuplicatesAllowed` | [`Boolean`](#boolean) | ネームスペースで汎用パッケージの重複を許可するかどうかを示します。 |
|
||||
|
|
@ -10942,7 +10942,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdatepackagesprotectionruleclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdatepackagesprotectionruleid"></a>`id` | [`PackagesProtectionRuleID!`](#packagesprotectionruleid) | 更新するパッケージ保護ルールのグローバルID。 |
|
||||
| <a id="mutationupdatepackagesprotectionruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`PackagesProtectionRuleAccessLevelForDelete`](#packagesprotectionruleaccesslevelfordelete) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationupdatepackagesprotectionruleminimumaccesslevelfordelete"></a>`minimumAccessLevelForDelete` {{< icon name="warning-solid" >}} | [`PackagesProtectionRuleAccessLevelForDelete`](#packagesprotectionruleaccesslevelfordelete) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationupdatepackagesprotectionruleminimumaccesslevelforpush"></a>`minimumAccessLevelForPush` | [`PackagesProtectionRuleAccessLevel`](#packagesprotectionruleaccesslevel) | パッケージをパッケージレジストリにプッシュするために必要な最小GitLabアクセスレベル。有効な値には`MAINTAINER`、`OWNER`、または`ADMIN`が含まれます。値が`nil`の場合のデフォルトの最小アクセスレベルは`DEVELOPER`です。 |
|
||||
| <a id="mutationupdatepackagesprotectionrulepackagenamepattern"></a>`packageNamePattern` | [`String`](#string) | 保護ルールによって保護されるパッケージ名。例:`@my-scope/my-package-*`。ワイルドカード文字`*`を使用できます。 |
|
||||
| <a id="mutationupdatepackagesprotectionrulepackagetype"></a>`packageType` | [`PackagesProtectionRulePackageType`](#packagesprotectionrulepackagetype) | 保護ルールによって保護されるパッケージのタイプ。例: `NPM`、`PYPI`。 |
|
||||
|
|
@ -10965,7 +10965,7 @@ Geoレジストリを変異します。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="mutationupdaterequirementclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationupdaterequirementdescription"></a>`description` | [`String`](#string) | 要件の説明。 |
|
||||
| <a id="mutationupdaterequirementiid"></a>`iid` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: **代わりにwork_item_iidを使用してください。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationupdaterequirementiid"></a>`iid` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: 代わりにwork_item_iidを使用してください。GitLab 15.8で非推奨になりました。 |
|
||||
| <a id="mutationupdaterequirementlasttestreportstate"></a>`lastTestReportState` | [`TestReportState`](#testreportstate) | 指定された状態の要件のテストレポートを作成します。 |
|
||||
| <a id="mutationupdaterequirementprojectpath"></a>`projectPath` | [`ID!`](#id) | 要件が関連付けられているプロジェクトのフルパス。 |
|
||||
| <a id="mutationupdaterequirementstate"></a>`state` | [`RequirementState`](#requirementstate) | 要件の状態。 |
|
||||
|
|
@ -11205,8 +11205,8 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationuserpreferencesupdateissuessort"></a>`issuesSort` | [`IssueSort`](#issuesort) | イシューリストのソート順。 |
|
||||
| <a id="mutationuserpreferencesupdatemergerequestdashboardlisttype"></a>`mergeRequestDashboardListType` | [`MergeRequestsDashboardListType`](#mergerequestsdashboardlisttype) | マージリクエストダッシュボードリストのレンダリングタイプ。 |
|
||||
| <a id="mutationuserpreferencesupdatemergerequestssort"></a>`mergeRequestsSort` | [`MergeRequestSort`](#mergerequestsort) | イシューリストのソート順。 |
|
||||
| <a id="mutationuserpreferencesupdateorganizationgroupsprojectsdisplay"></a>`organizationGroupsProjectsDisplay` {{< icon name="warning-solid" >}} | [`OrganizationGroupProjectDisplay`](#organizationgroupprojectdisplay) | **非推奨: ****状態**: 実験。GitLab 17.2で導入。 |
|
||||
| <a id="mutationuserpreferencesupdateorganizationgroupsprojectssort"></a>`organizationGroupsProjectsSort` {{< icon name="warning-solid" >}} | [`OrganizationGroupProjectSort`](#organizationgroupprojectsort) | **非推奨: ****状態**: 実験。GitLab 17.2で導入。 |
|
||||
| <a id="mutationuserpreferencesupdateorganizationgroupsprojectsdisplay"></a>`organizationGroupsProjectsDisplay` {{< icon name="warning-solid" >}} | [`OrganizationGroupProjectDisplay`](#organizationgroupprojectdisplay) | **非推奨**: **状態**: 実験。GitLab 17.2で導入。 |
|
||||
| <a id="mutationuserpreferencesupdateorganizationgroupsprojectssort"></a>`organizationGroupsProjectsSort` {{< icon name="warning-solid" >}} | [`OrganizationGroupProjectSort`](#organizationgroupprojectsort) | **非推奨**: **状態**: 実験。GitLab 17.2で導入。 |
|
||||
| <a id="mutationuserpreferencesupdateprojectssort"></a>`projectsSort` | [`ProjectSort`](#projectsort) | プロジェクトのソート順。 |
|
||||
| <a id="mutationuserpreferencesupdateuseworkitemsview"></a>`useWorkItemsView` | [`Boolean`](#boolean) | 従来のイシュービューではなく、作業アイテムビューを使用します。 |
|
||||
| <a id="mutationuserpreferencesupdatevisibilitypipelineidtype"></a>`visibilityPipelineIdType` | [`VisibilityPipelineIdType`](#visibilitypipelineidtype) | パイプラインリストにIDまたはIIDを表示するかどうかを決定します。 |
|
||||
|
|
@ -11732,7 +11732,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationworkitemcreateconfidential"></a>`confidential` | [`Boolean`](#boolean) | 作業アイテムの機密性を設定します。 |
|
||||
| <a id="mutationworkitemcreatecreatedat"></a>`createdAt` | [`Time`](#time) | 作業アイテム作成時のタイムスタンプ。管理者とプロジェクトオーナーのみが使用できます。 |
|
||||
| <a id="mutationworkitemcreatecrmcontactswidget"></a>`crmContactsWidget` | [`WorkItemWidgetCrmContactsCreateInput`](#workitemwidgetcrmcontactscreateinput) | CRM連絡先ウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreatecustomfieldswidget"></a>`customFieldsWidget` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldValueInputType!]`](#workitemwidgetcustomfieldvalueinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationworkitemcreatecustomfieldswidget"></a>`customFieldsWidget` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldValueInputType!]`](#workitemwidgetcustomfieldvalueinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationworkitemcreatedescription"></a>`description` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨:** 代わりに説明ウィジェットを使用してください。GitLab 16.9で非推奨になりました。 |
|
||||
| <a id="mutationworkitemcreatedescriptionwidget"></a>`descriptionWidget` | [`WorkItemWidgetDescriptionInput`](#workitemwidgetdescriptioninput) | 説明ウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreatediscussionstoresolve"></a>`discussionsToResolve` | [`WorkItemResolveDiscussionsInput`](#workitemresolvediscussionsinput) | 作業アイテムの作成時に、noteable(ノート可能)内のディスカッションを解決するために必要な情報。 |
|
||||
|
|
@ -11743,10 +11743,10 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationworkitemcreatelinkeditemswidget"></a>`linkedItemsWidget` | [`WorkItemWidgetLinkedItemsCreateInput`](#workitemwidgetlinkeditemscreateinput) | リンクされたアイテムウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreatemilestonewidget"></a>`milestoneWidget` | [`WorkItemWidgetMilestoneInput`](#workitemwidgetmilestoneinput) | マイルストーンウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreatenamespacepath"></a>`namespacePath` | [`ID`](#id) | 作業アイテムを作成するネームスペース(プロジェクトまたはグループ)のフルパス。 |
|
||||
| <a id="mutationworkitemcreateprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨: **代わりにnamespacePathを使用してください。これはプロジェクトとグループの両方をカバーします。GitLab 15.10で非推奨になりました。 |
|
||||
| <a id="mutationworkitemcreateprojectpath"></a>`projectPath` {{< icon name="warning-solid" >}} | [`ID`](#id) | **非推奨**: 代わりにnamespacePathを使用してください。これはプロジェクトとグループの両方をカバーします。GitLab 15.10で非推奨になりました。 |
|
||||
| <a id="mutationworkitemcreatestartandduedatewidget"></a>`startAndDueDateWidget` | [`WorkItemWidgetStartAndDueDateUpdateInput`](#workitemwidgetstartandduedateupdateinput) | 開始日と期限ウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreatetitle"></a>`title` | [`String!`](#string) | 作業アイテムのタイトル。 |
|
||||
| <a id="mutationworkitemcreatevulnerabilityid"></a>`vulnerabilityId` {{< icon name="warning-solid" >}} | [`VulnerabilityID`](#vulnerabilityid) | **非推奨: ****状態**: 実験。GitLab 17.9で導入。 |
|
||||
| <a id="mutationworkitemcreatevulnerabilityid"></a>`vulnerabilityId` {{< icon name="warning-solid" >}} | [`VulnerabilityID`](#vulnerabilityid) | **非推奨**: **状態**: 実験。GitLab 17.9で導入。 |
|
||||
| <a id="mutationworkitemcreateweightwidget"></a>`weightWidget` | [`WorkItemWidgetWeightInput`](#workitemwidgetweightinput) | ウェイトウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemcreateworkitemtypeid"></a>`workItemTypeId` | [`WorkItemsTypeID!`](#workitemstypeid) | 作業アイテムタイプのグローバルID。 |
|
||||
|
||||
|
|
@ -11805,7 +11805,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationworkitemdeleteclientmutationid"></a>`clientMutationId` | [`String`](#string) | 変異を実行しているクライアントの固有識別子。 |
|
||||
| <a id="mutationworkitemdeleteerrors"></a>`errors` | [`[String!]!`](#string) | 変異の実行中に発生したエラー。 |
|
||||
| <a id="mutationworkitemdeletenamespace"></a>`namespace` | [`Namespace`](#namespace) | 削除された作業アイテムが属していたネームスペース。 |
|
||||
| <a id="mutationworkitemdeleteproject"></a>`project` {{< icon name="warning-solid" >}} | [`Project`](#project) | **非推奨: **`namespace`を使用してください。GitLab 16.9で非推奨になりました。 |
|
||||
| <a id="mutationworkitemdeleteproject"></a>`project` {{< icon name="warning-solid" >}} | [`Project`](#project) | **非推奨**: `namespace`を使用してください。GitLab 16.9で非推奨になりました。 |
|
||||
|
||||
### `Mutation.workItemExport`
|
||||
|
||||
|
|
@ -11919,7 +11919,7 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationworkitemupdateconfidential"></a>`confidential` | [`Boolean`](#boolean) | 作業アイテムの機密性を設定します。 |
|
||||
| <a id="mutationworkitemupdatecrmcontactswidget"></a>`crmContactsWidget` | [`WorkItemWidgetCrmContactsUpdateInput`](#workitemwidgetcrmcontactsupdateinput) | CRM連絡先ウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemupdatecurrentusertodoswidget"></a>`currentUserTodosWidget` | [`WorkItemWidgetCurrentUserTodosInput`](#workitemwidgetcurrentusertodosinput) | To Doウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemupdatecustomfieldswidget"></a>`customFieldsWidget` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldValueInputType!]`](#workitemwidgetcustomfieldvalueinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationworkitemupdatecustomfieldswidget"></a>`customFieldsWidget` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldValueInputType!]`](#workitemwidgetcustomfieldvalueinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="mutationworkitemupdatedescriptionwidget"></a>`descriptionWidget` | [`WorkItemWidgetDescriptionInput`](#workitemwidgetdescriptioninput) | 説明ウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemupdatehealthstatuswidget"></a>`healthStatusWidget` | [`WorkItemWidgetHealthStatusInput`](#workitemwidgethealthstatusinput) | ヘルスステータスウィジェットのインプット。 |
|
||||
| <a id="mutationworkitemupdatehierarchywidget"></a>`hierarchyWidget` | [`WorkItemWidgetHierarchyUpdateInput`](#workitemwidgethierarchyupdateinput) | 階層ウィジェットのインプット。 |
|
||||
|
|
@ -12010,9 +12010,9 @@ Geoレジストリを変異します。
|
|||
| <a id="mutationworkspacecreateclusteragentid"></a>`clusterAgentId` | [`ClustersAgentID!`](#clustersagentid) | 作成されたワークスペースが関連付けられるクラスターエージェントのGlobalID。 |
|
||||
| <a id="mutationworkspacecreatedesiredstate"></a>`desiredState` | [`String!`](#string) | 作成されたワークスペースの状態の希望値。 |
|
||||
| <a id="mutationworkspacecreatedevfilepath"></a>`devfilePath` | [`String`](#string) | ワークスペースの設定に使用するdevfileを含むプロジェクトパス。指定されていない場合、GitLabのデフォルトdevfileが使用されます。 |
|
||||
| <a id="mutationworkspacecreatedevfileref"></a>`devfileRef` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: **引数の名前がproject_refに変更されました。GitLab 17.8で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreateeditor"></a>`editor` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: **引数は使用されません。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreatemaxhoursbeforetermination"></a>`maxHoursBeforeTermination` {{< icon name="warning-solid" >}} | [`Int`](#int) | **非推奨: **フィールドは使用されていません。GitLab 17.9で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreatedevfileref"></a>`devfileRef` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: 引数の名前がproject_refに変更されました。GitLab 17.8で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreateeditor"></a>`editor` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: 引数は使用されません。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreatemaxhoursbeforetermination"></a>`maxHoursBeforeTermination` {{< icon name="warning-solid" >}} | [`Int`](#int) | **非推奨**: フィールドは使用されていません。GitLab 17.9で非推奨になりました。 |
|
||||
| <a id="mutationworkspacecreateprojectid"></a>`projectId` | [`ProjectID!`](#projectid) | 作成されたワークスペースのdevfileを提供するプロジェクトのID。 |
|
||||
| <a id="mutationworkspacecreateprojectref"></a>`projectRef` | [`String`](#string) | プロジェクトリポジトリのgit ref。 |
|
||||
| <a id="mutationworkspacecreatevariables"></a>`variables` | [`[WorkspaceVariableInput!]`](#workspacevariableinput) | ワークスペースに挿入する変数。 |
|
||||
|
|
@ -46013,8 +46013,8 @@ HTTPインテグレーションのカスタムマッピング属性に変更を
|
|||
| <a id="boardissueinputassigneewildcardid"></a>`assigneeWildcardId` | [`AssigneeWildcardId`](#assigneewildcardid) | 割り当て先のワイルドカードでフィルタリングします。assigneeUsernameともassigneeUsernamesとも互換性がありません。 |
|
||||
| <a id="boardissueinputauthorusername"></a>`authorUsername` | [`String`](#string) | 作成者のユーザー名でフィルタリングします。 |
|
||||
| <a id="boardissueinputconfidential"></a>`confidential` | [`Boolean`](#boolean) | 機密性でフィルタリングします。 |
|
||||
| <a id="boardissueinputcustomfield"></a>`customField` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldFilterInputType!]`](#workitemwidgetcustomfieldfilterinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="boardissueinputepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="boardissueinputcustomfield"></a>`customField` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldFilterInputType!]`](#workitemwidgetcustomfieldfilterinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="boardissueinputepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="boardissueinputepicwildcardid"></a>`epicWildcardId` | [`EpicWildcardId`](#epicwildcardid) | エピックIDのワイルドカードでフィルタリングします。epicIdと互換性がありません。 |
|
||||
| <a id="boardissueinputhealthstatusfilter"></a>`healthStatusFilter` | [`HealthStatusFilter`](#healthstatusfilter) | イシューのヘルスステータス。「none」と「any」の値がサポートされています。 |
|
||||
| <a id="boardissueinputiids"></a>`iids` | [`[String!]`](#string) | イシューのIIDのリスト。例: `["1", "2"]`。 |
|
||||
|
|
@ -46054,7 +46054,7 @@ HTTPインテグレーションのカスタムマッピング属性に変更を
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="ciinputsinputtypedestroy"></a>`destroy` | [`Boolean`](#boolean) | これを`true`に設定すると、インプットが削除されます。 |
|
||||
| <a id="ciinputsinputtypeid"></a>`id` {{< icon name="warning-solid" >}} | [`CiPipelineScheduleInputID`](#cipipelinescheduleinputid) | **非推奨: ****状態**: 実験。GitLab 17.11で導入。 |
|
||||
| <a id="ciinputsinputtypeid"></a>`id` {{< icon name="warning-solid" >}} | [`CiPipelineScheduleInputID`](#cipipelinescheduleinputid) | **非推奨**: **状態**: 実験。GitLab 17.11で導入。 |
|
||||
| <a id="ciinputsinputtypename"></a>`name` | [`String!`](#string) | インプットの名前。 |
|
||||
| <a id="ciinputsinputtypevalue"></a>`value` | [`CiInputsValueInputType!`](#ciinputsvalueinputtype) | インプットの値。 |
|
||||
|
||||
|
|
@ -46105,7 +46105,7 @@ CI/CD変数を定義するための属性。
|
|||
| <a id="complianceframeworkinputdefault"></a>`default` | [`Boolean`](#boolean) | コンプライアンスフレームワークをグループのデフォルトフレームワークとして設定します。 |
|
||||
| <a id="complianceframeworkinputdescription"></a>`description` | [`String`](#string) | コンプライアンスフレームワークの新しい説明。 |
|
||||
| <a id="complianceframeworkinputname"></a>`name` | [`String`](#string) | コンプライアンスフレームワークの新しい名前。 |
|
||||
| <a id="complianceframeworkinputpipelineconfigurationfullpath"></a>`pipelineConfigurationFullPath` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨: **代わりにパイプライン実行ポリシーを使用してください。GitLab 17.4で非推奨になりました。 |
|
||||
| <a id="complianceframeworkinputpipelineconfigurationfullpath"></a>`pipelineConfigurationFullPath` {{< icon name="warning-solid" >}} | [`String`](#string) | **非推奨**: 代わりにパイプライン実行ポリシーを使用してください。GitLab 17.4で非推奨になりました。 |
|
||||
|
||||
### `ComplianceRequirementInput`
|
||||
|
||||
|
|
@ -46286,7 +46286,7 @@ DORAメトリクスについてプロジェクトを集計するためのフィ
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="epicfiltersauthorusername"></a>`authorUsername` | [`String`](#string) | 作成者のユーザー名でフィルタリングします。 |
|
||||
| <a id="epicfiltersconfidential"></a>`confidential` | [`Boolean`](#boolean) | 機密性でフィルタリングします。 |
|
||||
| <a id="epicfilterscustomfield"></a>`customField` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldFilterInputType!]`](#workitemwidgetcustomfieldfilterinputtype) | **非推奨: ****状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="epicfilterscustomfield"></a>`customField` {{< icon name="warning-solid" >}} | [`[WorkItemWidgetCustomFieldFilterInputType!]`](#workitemwidgetcustomfieldfilterinputtype) | **非推奨**: **状態**: 実験。GitLab 17.10で導入。 |
|
||||
| <a id="epicfilterslabelname"></a>`labelName` | [`[String]`](#string) | ラベル名でフィルタリングします。 |
|
||||
| <a id="epicfiltersmyreactionemoji"></a>`myReactionEmoji` | [`String`](#string) | 現在のユーザーが適用したリアクション絵文字でフィルタリングします。ワイルドカード値「NONE」と「ANY」がサポートされています。 |
|
||||
| <a id="epicfiltersnot"></a>`not` | [`NegatedEpicBoardIssueInput`](#negatedepicboardissueinput) | 否定条件となるエピック引数。 |
|
||||
|
|
@ -46385,11 +46385,11 @@ GKEクラスターのノードプールのラベル。
|
|||
| <a id="mergerequestsresolvernegatedparamsassigneeusernames"></a>`assigneeUsernames` | [`[String!]`](#string) | ここに指定する配列内のユーザー名に割り当てられているものを除外するよう、マージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsauthorusername"></a>`authorUsername` | [`String`](#string) | ここに指定するユーザーが作成したものを除外するよう、マージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamslabelname"></a>`labelName` | [`[String!]`](#string) | ここに指定する配列に含まれる文字列をラベルとするものを除外するよう、マージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamslabels"></a>`labels` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨: **`labelName`を使用してください。GitLab 17.7で非推奨になりました。 |
|
||||
| <a id="mergerequestsresolvernegatedparamslabels"></a>`labels` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨**: `labelName`を使用してください。GitLab 17.7で非推奨になりました。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsmilestonetitle"></a>`milestoneTitle` | [`String`](#string) | ここに指定するマイルストーンに含まれないマージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsmyreactionemoji"></a>`myReactionEmoji` | [`String`](#string) | 認証済みユーザーからここに指定するリアクションがないマージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsreleasetag"></a>`releaseTag` | [`String`](#string) | ここに指定するリリースタグがないマージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsreviewstates"></a>`reviewStates` {{< icon name="warning-solid" >}} | [`[MergeRequestReviewState!]`](#mergerequestreviewstate) | **非推奨: ****状態**: 実験。GitLab 17.9で導入。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsreviewstates"></a>`reviewStates` {{< icon name="warning-solid" >}} | [`[MergeRequestReviewState!]`](#mergerequestreviewstate) | **非推奨**: **状態**: 実験。GitLab 17.9で導入。 |
|
||||
| <a id="mergerequestsresolvernegatedparamsreviewerusername"></a>`reviewerUsername` | [`String`](#string) | ここに指定するユーザーによってレビューされていないマージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamssourcebranches"></a>`sourceBranches` | [`[String!]`](#string) | ここに指定する配列に含まれるソースブランチ名を除外するよう、マージリクエストをフィルタリングします。 |
|
||||
| <a id="mergerequestsresolvernegatedparamstargetbranches"></a>`targetBranches` | [`[String!]`](#string) | ここに指定する配列に含まれるターゲットブランチ名を除外するよう、マージリクエストをフィルタリングします。 |
|
||||
|
|
@ -46413,7 +46413,7 @@ GKEクラスターのノードプールのラベル。
|
|||
| ---- | ---- | ----------- |
|
||||
| <a id="negatedboardissueinputassigneeusername"></a>`assigneeUsername` | [`[String]`](#string) | 割り当て先ユーザー名でフィルタリングします。 |
|
||||
| <a id="negatedboardissueinputauthorusername"></a>`authorUsername` | [`String`](#string) | 作成者のユーザー名でフィルタリングします。 |
|
||||
| <a id="negatedboardissueinputepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨: **これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="negatedboardissueinputepicid"></a>`epicId` {{< icon name="warning-solid" >}} | [`EpicID`](#epicid) | **非推奨**: これはWorkItem hierarchyWidgetに置き換えられる予定です。GitLab 17.5で非推奨になりました。 |
|
||||
| <a id="negatedboardissueinputhealthstatusfilter"></a>`healthStatusFilter` | [`HealthStatus`](#healthstatus) | イシューに適用されないヘルスステータス。ヘルスステータスが設定されていないイシューを含めます。 |
|
||||
| <a id="negatedboardissueinputiids"></a>`iids` | [`[String!]`](#string) | イシューのIIDのリスト。例: `["1", "2"]`。 |
|
||||
| <a id="negatedboardissueinputiterationid"></a>`iterationId` | [`[IterationID!]`](#iterationid) | イテレーションIDのリストでフィルタリングします。iterationWildcardId と互換性がありません。 |
|
||||
|
|
@ -46698,9 +46698,9 @@ SASTのCI設定を表します。
|
|||
|
||||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="unionedepicfilterinputauthorusername"></a>`authorUsername` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨: **代わりにauthorUsernamesを使用してください。GitLab 16.6で非推奨になりました。 |
|
||||
| <a id="unionedepicfilterinputauthorusername"></a>`authorUsername` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨**: 代わりにauthorUsernamesを使用してください。GitLab 16.6で非推奨になりました。 |
|
||||
| <a id="unionedepicfilterinputauthorusernames"></a>`authorUsernames` | [`[String!]`](#string) | ここに指定するユーザーのいずれかが作成したエピックをフィルタリングします。 |
|
||||
| <a id="unionedepicfilterinputlabelname"></a>`labelName` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨: **代わりにlabelNamesを使用してください。GitLab 16.6で非推奨になりました。 |
|
||||
| <a id="unionedepicfilterinputlabelname"></a>`labelName` {{< icon name="warning-solid" >}} | [`[String!]`](#string) | **非推奨**: 代わりにlabelNamesを使用してください。GitLab 16.6で非推奨になりました。 |
|
||||
| <a id="unionedepicfilterinputlabelnames"></a>`labelNames` | [`[String!]`](#string) | ここに指定する文字列の少なくとも1つをラベルとするエピックをフィルタリングします。 |
|
||||
|
||||
### `UnionedIssueFilterInput`
|
||||
|
|
@ -47065,6 +47065,6 @@ SASTのCI設定を表します。
|
|||
| 名前 | 型 | 説明 |
|
||||
| ---- | ---- | ----------- |
|
||||
| <a id="workspacevariableinputkey"></a>`key` | [`String!`](#string) | ワークスペース変数の名前。 |
|
||||
| <a id="workspacevariableinputtype"></a>`type` {{< icon name="warning-solid" >}} | [`WorkspaceVariableInputType`](#workspacevariableinputtype) | **非推奨: **代わりに、`variableType`を使用してください。GitLab 17.9で非推奨になりました。 |
|
||||
| <a id="workspacevariableinputtype"></a>`type` {{< icon name="warning-solid" >}} | [`WorkspaceVariableInputType`](#workspacevariableinputtype) | **非推奨**: 代わりに、`variableType`を使用してください。GitLab 17.9で非推奨になりました。 |
|
||||
| <a id="workspacevariableinputvalue"></a>`value` | [`String!`](#string) | 変数の値。 |
|
||||
| <a id="workspacevariableinputvariabletype"></a>`variableType` | [`WorkspaceVariableType`](#workspacevariabletype) | ワークスペースに注入する変数の型。 |
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ GitLab CI/CD を使用して AWS に接続するには、認証する必要が
|
|||
|
||||
1. AWS アカウントにサインオンします。
|
||||
1. [IAM ユーザー](https://console.aws.amazon.com/iam/home#/home)を作成します。
|
||||
1. ユーザーを選択して、詳細にアクセスします。**\[セキュリティ認証情報] > \[新しいアクセスキーの作成]**に移動します。
|
||||
1. ユーザーを選択して、詳細にアクセスします。**セキュリティ認証情報 > 新しいアクセスキーの作成**に移動します。
|
||||
1. **アクセスキー ID**と**シークレットアクセスキー**をメモしておきます。
|
||||
1. GitLabプロジェクトで、**\[設定] > \[CI/CD]**に移動します。次の[CI/CD変数](../variables/_index.md)を設定します:
|
||||
1. GitLabプロジェクトで、**設定 > CI/CD**に移動します。次の[CI/CD変数](../variables/_index.md)を設定します:
|
||||
|
||||
| 環境変数名 | 値 |
|
||||
|:-------------------------------|:------------------------|
|
||||
|
|
@ -38,7 +38,7 @@ GitLab CI/CD を使用して AWS に接続するには、認証する必要が
|
|||
| `AWS_SECRET_ACCESS_KEY` | シークレットアクセスキー。 |
|
||||
| `AWS_DEFAULT_REGION` | リージョンコード。使用する予定の AWS サービスが選択したリージョンで[利用可能であることを確認](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/)することをお勧めします。 |
|
||||
|
||||
1. 変数は[デフォルトで保護されています](../variables/_index.md#protect-a-cicd-variable)。保護されていないブランチまたは tag で GitLab CI/CD を使用するには、**\[変数を保護する]**チェックボックスをオフにします。
|
||||
1. 変数は[デフォルトで保護されています](../variables/_index.md#protect-a-cicd-variable)。保護されていないブランチまたは tag で GitLab CI/CD を使用するには、**変数を保護する**チェックボックスをオフにします。
|
||||
|
||||
## イメージを使用して AWS コマンドを実行する
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ GitLab は、AWS CLI を含む Docker イメージを提供します。
|
|||
|
||||
ECS クラスターにデプロイするには:
|
||||
|
||||
1. GitLabプロジェクトで、**\[設定] > \[CI/CD]**に移動します。次の[CI/CD変数](../variables/_index.md)を設定します:これらの名前は、[Amazon ECS ダッシュボード](https://console.aws.amazon.com/ecs/home)でターゲットクラスターを選択すると確認できます。
|
||||
1. GitLabプロジェクトで、**設定 > CI/CD**に移動します。次の[CI/CD変数](../variables/_index.md)を設定します:これらの名前は、[Amazon ECS ダッシュボード](https://console.aws.amazon.com/ecs/home)でターゲットクラスターを選択すると確認できます。
|
||||
|
||||
| 環境変数名 | 値 |
|
||||
|:-------------------------------|:------------------------|
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ GitLab Self-Managed では、[サイズ制限を増やす](../administration/ins
|
|||
|
||||
### `.gitlab-ci.yml` ファイルの編集中に `500` エラーが発生する
|
||||
|
||||
[インクルードされた設定ファイルの loop ](pipeline_editor/_index.md#configuration-validation-currently-not-available-message)は、[Web エディタ](../user/project/repository/web_editor.md)で `.gitlab-ci.yml` ファイルを編集するときに `500` エラーを引き起こす可能性があります。
|
||||
[インクルードされた設定ファイルの loop](pipeline_editor/_index.md#configuration-validation-currently-not-available-message)は、[Web エディタ](../user/project/repository/web_editor.md)で `.gitlab-ci.yml` ファイルを編集するときに `500` エラーを引き起こす可能性があります。
|
||||
|
||||
インクルードされた設定ファイルが、相互の参照の loop を作成しないようにしてください。
|
||||
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ GitLab で、Vault サーバーに関する詳細を提供するために、次
|
|||
- `VAULT_SERVER_URL` - Vault サーバーの URL(`https://vault.example.com:8200` など)。
|
||||
- `VAULT_AUTH_ROLE` - オプション。認証を試行するときに使用する Vault JWT 認証ロールの名前。このチュートリアルでは、`myproject-staging`および`myproject-production`という名前の2つのロールをすでに作成しました。ロールが指定されていない場合、Vault は認証方法のConfigure時に指定された[デフォルトロール](https://developer.hashicorp.com/vault/api-docs/auth/jwt#default_role)を使用します。
|
||||
- `VAULT_AUTH_PATH` - オプション。認証方法がマウントされているパス。デフォルトは `jwt` です。
|
||||
- `VAULT_NAMESPACE` - オプション。シークレットの読み取りと認証に使用する[ Vault Enterprise ネームスペース](https://developer.hashicorp.com/vault/docs/enterprise/namespaces)。ネームスペースが指定されていない場合、Vault はルート(`/`)ネームスペースを使用します。この設定は Vault オープンソースでは無視されます。
|
||||
- `VAULT_NAMESPACE` - オプション。シークレットの読み取りと認証に使用する[Vault Enterprise ネームスペース](https://developer.hashicorp.com/vault/docs/enterprise/namespaces)。ネームスペースが指定されていない場合、Vault はルート(`/`)ネームスペースを使用します。この設定は Vault オープンソースでは無視されます。
|
||||
|
||||
### Hashicorp Vault を使用した自動IDトークン認証
|
||||
|
||||
|
|
|
|||
|
|
@ -3573,7 +3573,7 @@ release_job:
|
|||
この例では、次の場合にリリースを作成します。
|
||||
|
||||
- Gitタグをプッシュする際。
|
||||
- UIの\[**コード > タグ**]でGitタグを追加する際。
|
||||
- UIの**コード > タグ**でGitタグを追加する際。
|
||||
|
||||
**追加の詳細情報**
|
||||
|
||||
|
|
@ -5686,7 +5686,7 @@ default:
|
|||
| `schedules` | [スケジュールされたパイプライン](../pipelines/schedules.md)の場合。 |
|
||||
| `tags` | パイプラインのGit参照がタグの場合。 |
|
||||
| `triggers` | [トリガートークン](../triggers/_index.md#configure-cicd-jobs-to-run-in-triggered-pipelines)を使用して作成されたパイプラインの場合。 |
|
||||
| `web` | プロジェクトの**\[ビルド] > \[パイプライン]**セクションから、GitLab UIで**\[新しいパイプライン]**を選択して作成されたパイプラインの場合。 |
|
||||
| `web` | プロジェクトの**ビルド > パイプライン**セクションから、GitLab UIで**新しいパイプライン**を選択して作成されたパイプラインの場合。 |
|
||||
|
||||
**`only:refs`および`except:refs`の例**
|
||||
|
||||
|
|
|
|||
|
|
@ -486,9 +486,9 @@ EC2ダッシュボードから:
|
|||
1. **Key pair(キーペア)**セクションで、**Create new key pair(新しいキーペアを作成)**を選択します。
|
||||
1. キーペアに名前(ここでは`gitlab`を使用)を付け、後で使用するために`gitlab.pem`ファイルを保存します。
|
||||
1. **Network settings(ネットワーク設定)**セクションで:
|
||||
1. **VPC: **先ほど作成したVPCである`gitlab-vpc`を選択します。
|
||||
1. **VPC**: 先ほど作成したVPCである`gitlab-vpc`を選択します。
|
||||
1. **Submet(サブネット)**: 先ほど作成したサブネットのリストから`gitlab-private-10.0.1.0`を選択します。
|
||||
1. **Auto-assign Public IP(パブリックIPの自動割り当て): **`Disable`を選択します。
|
||||
1. **Auto-assign Public IP(パブリックIPの自動割り当て)**: `Disable`を選択します。
|
||||
1. **Firewall(ファイアウォール): ****Select existing security group(既存のセキュリティグループを選択)**を選択し、先ほど作成した`gitlab-loadbalancer-sec-group`を選択します。
|
||||
1. ストレージの場合、ルートボリュームはデフォルトで8 GiBであり、そこにデータを保存しないことを考えると十分なはずです。
|
||||
1. すべての設定を確認し、問題なければ、**Launch Instance(インスタンスを起動)**を選択します。
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ sudo apt-get install -y graphicsmagick
|
|||
sudo apt-get install -y postfix
|
||||
```
|
||||
|
||||
次に、\[Internet Site(インターネットサイト)]を選択し、<kbd>Enter</kbd>キーを押してホスト名を確認します。
|
||||
次に、Internet Site(インターネットサイト)を選択し、<kbd>Enter</kbd>キーを押してホスト名を確認します。
|
||||
|
||||
### ExifTool
|
||||
|
||||
|
|
|
|||
|
|
@ -214,9 +214,9 @@ GitLab の機能フラグは[Unleash](https://docs.getunleash.io/)に基づい
|
|||
|
||||
1. 左側のサイドバーで、**検索または移動**を選択して、プロジェクトを見つけます。
|
||||
1. **デプロイ > 機能フラグ**を選択します。
|
||||
1. 無効にする機能フラグについて、\[状態]切替を**無効**にスライドさせます。
|
||||
1. 無効にする機能フラグについて、状態切替を**無効**にスライドさせます。
|
||||
|
||||
機能フラグは、\[**無効**]タブに表示されます。
|
||||
機能フラグは、**無効**タブに表示されます。
|
||||
|
||||
## 機能フラグをアプリケーションと統合する
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ flowchart LR
|
|||
1. **リポジトリを初期化しREADMEファイルを生成する**が選択されていることを確認します。他のフィールドは自由に設定してください。
|
||||
1. **プロジェクトを作成**を選択します。
|
||||
|
||||
### リポジトリのクローンを作成する。
|
||||
### リポジトリのクローンを作成する
|
||||
|
||||
プロジェクトでリポジトリのクローンを作成できるようになりました。リポジトリの*クローンを作成*するということは、コンピュータ上、またはファイルを保存および操作する場所にコピーを作成することを意味します。
|
||||
|
||||
|
|
|
|||
|
|
@ -4288,7 +4288,7 @@ GitLabバージョン16.0 - 16.2では、[バンドルされたGrafanaを再度
|
|||
|
||||
</div>
|
||||
|
||||
**更新: **以前に、GitLab 16.0で既存のライセンスコンプライアンスCIテンプレートを削除すると発表しました。ただし、[CycloneDXファイルのライセンススキャン](https://docs.gitlab.com/user/compliance/license_scanning_of_cyclonedx_files/)に関するパフォーマンスの問題のため、代わりに16.3でこれを行います。
|
||||
**更新**: 以前に、GitLab 16.0で既存のライセンスコンプライアンスCIテンプレートを削除すると発表しました。ただし、[CycloneDXファイルのライセンススキャン](https://docs.gitlab.com/user/compliance/license_scanning_of_cyclonedx_files/)に関するパフォーマンスの問題のため、代わりに16.3でこれを行います。
|
||||
|
||||
GitLab[**ライセンスコンプライアンス**](https://docs.gitlab.com/user/compliance/license_approval_policies/)CI/CDテンプレートは非推奨となり、GitLab 16.3リリースで削除される予定です。
|
||||
|
||||
|
|
@ -4479,7 +4479,7 @@ GitLabにCAS OmniAuthプロバイダーを提供する`omniauth-cas3` gemは、
|
|||
|
||||
</div>
|
||||
|
||||
**更新: **以前に、MobSFベースのGitLab SASTアナライザーがマルチモジュールAndroidプロジェクトをスキャンする方法の変更を発表しました。その変更はキャンセルされていて、対応は必要ありません。
|
||||
**更新**: 以前に、MobSFベースのGitLab SASTアナライザーがマルチモジュールAndroidプロジェクトをスキャンする方法の変更を発表しました。その変更はキャンセルされていて、対応は必要ありません。
|
||||
|
||||
スキャンする単一のモジュールを変更する代わりに、[マルチモジュールのサポートを改善](https://gitlab.com/gitlab-org/security-products/analyzers/mobsf/-/merge_requests/73)しました。
|
||||
|
||||
|
|
@ -5370,7 +5370,7 @@ GitLab 16.0以降、GitLab SAST CI/CDテンプレートは、.NETに[セキュ
|
|||
|
||||
影響を受けるアナライザーにカスタマイズを適用した場合、またはパイプラインでSemgrepベースのアナライザーを現在無効にしている場合は、[この変更に関する非推奨の問題](https://gitlab.com/gitlab-org/gitlab/-/issues/390416#breaking-change)に詳述されているように対応する必要があります。
|
||||
|
||||
**更新: **この変更の範囲を縮小しました。GitLab 16.0では、次の変更は行いません。
|
||||
**更新**: この変更の範囲を縮小しました。GitLab 16.0では、次の変更は行いません。
|
||||
|
||||
1. [PHPCS Security Audit](https://gitlab.com/gitlab-org/security-products/analyzers/phpcs-security-audit)に基づくアナライザーのサポートを削除し、[Semgrepベースのアナライザー](https://gitlab.com/gitlab-org/security-products/analyzers/semgrep)でGitLabが管理する検出ルールに置き換えます。
|
||||
1. [SpotBugsベースのアナライザー](https://gitlab.com/gitlab-org/security-products/analyzers/spotbugs)のスコープからScalaを削除し、[Semgrepベースのアナライザー](https://gitlab.com/gitlab-org/security-products/analyzers/semgrep)でGitLabが管理する検出ルールに置き換えます。
|
||||
|
|
@ -5452,7 +5452,7 @@ PHPCS Security Auditベースのアナライザーを置き換える作業は[
|
|||
|
||||
上記のテンプレートのいずれかを使用していて、`_DISABLED`変数を使用しているが、`"true"`以外の値を設定している場合は、16.0リリース前にパイプラインをテストすることをお勧めします。
|
||||
|
||||
**更新: **以前、影響を受けるテンプレートの`rules`を更新して、デフォルトで[マージリクエストパイプライン](https://docs.gitlab.com/ci/pipelines/merge_request_pipelines/)で実行することを発表しました。しかし、[非推奨に関する問題で説明されている](https://gitlab.com/gitlab-org/gitlab/-/issues/388988#note_1372629948)互換性の問題により、GitLab 16.0でこの変更を行うことはなくなりました。上記のように、`_DISABLED`変数の変更は引き続きリリースします。
|
||||
**更新**: 以前、影響を受けるテンプレートの`rules`を更新して、デフォルトで[マージリクエストパイプライン](https://docs.gitlab.com/ci/pipelines/merge_request_pipelines/)で実行することを発表しました。しかし、[非推奨に関する問題で説明されている](https://gitlab.com/gitlab-org/gitlab/-/issues/388988#note_1372629948)互換性の問題により、GitLab 16.0でこの変更を行うことはなくなりました。上記のように、`_DISABLED`変数の変更は引き続きリリースします。
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -6372,7 +6372,7 @@ GitLab 13.0では、Geo管理者UIに新しいプロジェクトとデザイン
|
|||
|
||||
</div>
|
||||
|
||||
GitLab 14.8では、[`geo:db:*` Rakeタスクを、[複数のデータベースのRails 6サポートを使用するようにGeo追跡データベースを切り替えた](https://gitlab.com/groups/gitlab-org/-/epics/6458)後に可能になった組み込みタスクに置き換えます。](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77269/diffs)次の`geo:db:*`タスクは、対応する`db:*:geo`タスクに置き換えられます。
|
||||
GitLab 14.8では、[`geo:db:*` Rakeタスクを組み込みタスクに置き換えます](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77269/diffs)。これは[複数のデータベースのRails 6サポートを使用するようにGeo追跡データベースを切り替えた](https://gitlab.com/groups/gitlab-org/-/epics/6458)後に可能になりました。次の`geo:db:*`タスクは、対応する`db:*:geo`タスクに置き換えられます。
|
||||
|
||||
- `geo:db:drop` -> `db:drop:geo`
|
||||
- `geo:db:create` -> `db:create:geo`
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ GitLabインスタンスをオンラインにした状態でアップグレー
|
|||
- [`gitlab/nightly-builds`](https://packages.gitlab.com/gitlab/nightly-builds): 毎日夜間に作成されるビルド。
|
||||
- [`gitlab/raspberry-pi2`](https://packages.gitlab.com/gitlab/raspberry-pi2): [Raspberry Pi](https://www.raspberrypi.org)パッケージ用に構築された公式Communityエディションリリース。
|
||||
|
||||
GitLab [Communityエディション ](https://about.gitlab.com/install/?version=ce)または[Enterpriseエディション](https://about.gitlab.com/install/)をインストールしている場合、公式 GitLabリポジトリがすでに設定されているはずです。
|
||||
GitLab [Communityエディション](https://about.gitlab.com/install/?version=ce)または[Enterpriseエディション](https://about.gitlab.com/install/)をインストールしている場合、公式 GitLabリポジトリがすでに設定されているはずです。
|
||||
|
||||
#### 最新バージョンにアップグレードする
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ GitLab 16.11では次の場合を除き、PostgreSQLは自動的に14.xにアッ
|
|||
|
||||
### Geoインストール
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ GitLab 16.10のLinuxパッケージのインストールには、Patroniの新
|
|||
|
||||
### Geoインストール
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ PG::UndefinedTable: ERROR: relation "p_ci_pipeline_variables" does not exist
|
|||
| ----------------------- | ----------------------- | -------- |
|
||||
| すべて | すべて | 16.10.2 |
|
||||
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -232,7 +232,7 @@ PG::UndefinedTable: ERROR: relation "p_ci_pipeline_variables" does not exist
|
|||
| 16.8 | 16.8.0 - 16.8.3 | 16.8.4 |
|
||||
| 16.9 | 16.9.0 - 16.9.1 | 16.9.2 |
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -282,7 +282,7 @@ PG::UndefinedTable: ERROR: relation "p_ci_pipeline_variables" does not exist
|
|||
- 既存のすべてのサイトがPostgreSQL 14を実行している場合は、特別な操作は必要ありません。
|
||||
- 新しいGeoセカンダリサイトをデプロイに追加する前に、既存のすべてのサイトをGitLab 16.8.2以降およびPostgreSQL 14にアップグレードしてください。
|
||||
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -303,7 +303,7 @@ PG::UndefinedTable: ERROR: relation "p_ci_pipeline_variables" does not exist
|
|||
| 16.8 | 16.8.0 - 16.8.3 | 16.8.4 |
|
||||
| 16.9 | 16.9.0 - 16.9.1 | 16.9.2 |
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -370,7 +370,7 @@ Linuxパッケージのインストールには、次の特定の情報が適用
|
|||
| 16.6 | 16.6.0 - 16.6.5 | 16.6.6 |
|
||||
| 16.7 | 16.7.0 - 16.7.3 | 16.7.4 |
|
||||
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -382,7 +382,7 @@ Linuxパッケージのインストールには、次の特定の情報が適用
|
|||
| 16.8 | 16.8.0 - 16.8.3 | 16.8.4 |
|
||||
| 16.9 | 16.9.0 - 16.9.1 | 16.9.2 |
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -448,7 +448,7 @@ Linuxパッケージのインストールには、次の特定の情報が適用
|
|||
| 16.6 | 16.6.0 - 16.6.5 | 16.6.6 |
|
||||
| 16.7 | 16.7.0 - 16.7.3 | 16.7.4 |
|
||||
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -460,7 +460,7 @@ Linuxパッケージのインストールには、次の特定の情報が適用
|
|||
| 16.8 | 16.8.0 - 16.8.3 | 16.8.4 |
|
||||
| 16.9 | 16.9.0 - 16.9.1 | 16.9.2 |
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -570,7 +570,7 @@ Geoを使用するインストールには、特定の情報が適用されま
|
|||
|
||||
- GitLab 16.3で[グループWiki](../../user/project/wiki/group.md)の検証が追加された後、存在しないグループWikiリポジトリが誤って検証失敗としてフラグ付けされています。このイシューは、実際のレプリケーションや検証の失敗の結果ではなく、Geo内にリポジトリが存在しないために起こる内部の無効な状態が原因で、ログにエラーが記録され、検証の進行状況でこれらのグループWikiリポジトリが失敗状態として報告されます。
|
||||
|
||||
問題の詳細と回避策については、イシュー[\#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
問題の詳細と回避策については、イシュー[#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -592,7 +592,7 @@ Geoを使用するインストールには、特定の情報が適用されま
|
|||
| 16.6 | 16.6.0 - 16.6.5 | 16.6.6 |
|
||||
| 16.7 | 16.7.0 - 16.7.3 | 16.7.4 |
|
||||
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
- GitLab 16.5のバグにより、[パーソナルスニペット](../../user/snippets.md)がセカンダリのGeoサイトにレプリケートされていません。これにより、Geoフェイルオーバーが発生した場合に、パーソナルスニペットデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#439933](https://gitlab.com/gitlab-org/gitlab/-/issues/439933)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -604,7 +604,7 @@ Geoを使用するインストールには、特定の情報が適用されま
|
|||
| 16.8 | 16.8.0 - 16.8.3 | 16.8.4 |
|
||||
| 16.9 | 16.9.0 - 16.9.1 | 16.9.2 |
|
||||
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[\#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
- GitLab 16.5で導入され、17.0で修正されたバグにより、[GitLab Pages](../../administration/pages/_index.md)デプロイファイルがセカンダリGeoサイトで孤立するという事象が発生しています。Pagesのデプロイがローカルに保存されている場合、これにより、残りのストレージがゼロになり、フェイルオーバーが発生した場合にデータが失われる可能性があります。問題の詳細と回避策については、イシュー[#457159](https://gitlab.com/gitlab-org/gitlab/-/issues/457159)を参照してください。
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -758,7 +758,7 @@ Geoを使用するインストールには、特定の情報が適用されま
|
|||
|
||||
- GitLab 16.3で[グループWiki](../../user/project/wiki/group.md)の検証が追加された後、存在しないグループWikiリポジトリが誤って検証失敗としてフラグ付けされています。この問題は、実際のレプリケーションや検証の失敗の結果ではなく、Geo内にリポジトリが存在しないために起こる内部の無効な状態が原因で、ログにエラーが記録され、検証の進行状況でこれらのグループWikiリポジトリが失敗状態として報告されます。
|
||||
|
||||
問題の詳細と回避策については、イシュー[\#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
問題の詳細と回避策については、イシュー[#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
@ -894,7 +894,7 @@ Geoを使用するインストールには、特定の情報が適用されま
|
|||
|
||||
- GitLab 16.3で[グループWiki](../../user/project/wiki/group.md)の検証が追加された後、存在しないグループWikiリポジトリが誤って検証失敗としてフラグ付けされています。この問題は、実際のレプリケーションや検証の失敗の結果ではなく、Geo内にリポジトリが存在しないために起こる内部の無効な状態が原因で、ログにエラーが記録され、検証の進行状況でこれらのグループWikiリポジトリが失敗状態として報告されます。
|
||||
|
||||
問題の詳細と回避策については、イシュー[\#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
問題の詳細と回避策については、イシュー[#426571](https://gitlab.com/gitlab-org/gitlab/-/issues/426571)を参照してください
|
||||
|
||||
**影響を受けたリリース**:
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ Self-Managedインストールでは、[OpenShift内で実行されている](..
|
|||
|
||||
GitLab 15.0 は、脆弱性をインジェストする前に、セキュリティレポートアーティファクトの検証を強制します。これにより、破損した脆弱性データがデータベースに取り込まれるのを防ぎます。GitLabは、レポートで宣言されたスキーマバージョンに従って、[レポートスキーマ](https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/tree/master/dist)に対してアーティファクトを検証します。
|
||||
|
||||
パイプラインの\[**セキュリティ**]タブには、検証に失敗したレポートアーティファクトと検証エラーメッセージが表示されます。
|
||||
パイプラインの**セキュリティ**タブには、検証に失敗したレポートアーティファクトと検証エラーメッセージが表示されます。
|
||||
|
||||
検証は、セキュリティレポートアーティファクトで宣言されたスキーマバージョンによって異なります。
|
||||
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ container_scanning:
|
|||
| `CI_APPLICATION_TAG` | `$CI_COMMIT_SHA` | スキャンするイメージのDockerリポジトリタグ。 |
|
||||
| `CS_ANALYZER_IMAGE` | `registry.gitlab.com/security-products/container-scanning:7` | アナライザーのDockerイメージ。GitLabが提供するアナライザーイメージで`:latest`タグを使用しないでください。 |
|
||||
| `CS_DEFAULT_BRANCH_IMAGE` | `""` | デフォルトブランチの`CS_IMAGE`の名前。詳細については、「[デフォルトブランチイメージを設定する](#setting-the-default-branch-image)」を参照してください。 |
|
||||
| `CS_DISABLE_DEPENDENCY_LIST` | `"false"` | {{< icon name="warning" >}}GitLab 17.0で**[削除](https://gitlab.com/gitlab-org/gitlab/-/issues/439782)**されました。 |
|
||||
| `CS_DISABLE_DEPENDENCY_LIST` | `"false"` | {{< icon name="warning" >}}GitLab 17.0で[削除](https://gitlab.com/gitlab-org/gitlab/-/issues/439782)されました。 |
|
||||
| `CS_DISABLE_LANGUAGE_VULNERABILITY_SCAN` | `"true"` | スキャンされたイメージにインストールされている言語固有パッケージのスキャンを無効にします。 |
|
||||
| `CS_DOCKER_INSECURE` | `"false"` | 証明書を検証せずに、HTTPSを使用してセキュアなDocker レジストリへのアクセスを許可します。 |
|
||||
| `CS_DOCKERFILE_PATH` | `Dockerfile` | 修正の生成に使用する`Dockerfile`へのパス。デフォルトでは、スキャナーはプロジェクトのルートディレクトリにある`Dockerfile`という名前のファイルを探します。この変数は、`Dockerfile`がサブディレクトリなどの標準以外の場所にある場合にのみ設定する必要があります。詳細については、「[脆弱性のソリューション](#solutions-for-vulnerabilities-auto-remediation)」を参照してください。 |
|
||||
|
|
|
|||
|
|
@ -721,7 +721,7 @@ GitLabは、[`rules:exists`](../../../ci/yaml/_index.md#rulesexists)に依存し
|
|||
|
||||
これで、パイプラインに依存関係スキャンジョブが含まれるようになります。
|
||||
|
||||
#### CI/CDコンポーネントを使用します。
|
||||
#### CI/CDコンポーネントを使用します
|
||||
|
||||
{{< history >}}
|
||||
|
||||
|
|
@ -815,7 +815,7 @@ CI/CD変数を使用して、依存関係スキャンの動作を[カスタマ
|
|||
| `DS_GRADLE_RESOLUTION_POLICY` | `gemnasium-maven` | `"failed"` | Gradleの依存関係解決の厳密さを制御します。`"none"`を指定すると部分的な結果が許可され、`"failed"`を指定すると依存関係の解決に失敗した場合スキャンも失敗します。 |
|
||||
| `SBT_CLI_OPTS` | `gemnasium-maven` | | アナライザーが`sbt`に渡すコマンドライン引数のリスト。 |
|
||||
| `PIP_INDEX_URL` | `gemnasium-python` | `https://pypi.org/simple` | PythonパッケージインデックスのベースURL。 |
|
||||
| `PIP_EXTRA_INDEX_URL` | `gemnasium-python` | | `PIP_INDEX_URL`に加えて使用する[パッケージインデックス](https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-extra-index-url)の追加URLの配列。カンマ区切り。**警告: **この環境変数を使用する場合は、[次のセキュリティに関する考慮事項](#python-projects)をお読みください。 |
|
||||
| `PIP_EXTRA_INDEX_URL` | `gemnasium-python` | | `PIP_INDEX_URL`に加えて使用する[パッケージインデックス](https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-extra-index-url)の追加URLの配列。カンマ区切り。**警告**: この環境変数を使用する場合は、[次のセキュリティに関する考慮事項](#python-projects)をお読みください。 |
|
||||
| `PIP_REQUIREMENTS_FILE` | `gemnasium-python` | | スキャン対象のPip要件ファイル。これはパスではなくファイル名です。この環境変数が設定されている場合、指定されたファイルのみがスキャンされます。 |
|
||||
| `PIPENV_PYPI_MIRROR` | `gemnasium-python` | | 設定されている場合、Pipenvで使用されるPyPiインデックスを[ミラー](https://github.com/pypa/pipenv/blob/v2022.1.8/pipenv/environments.py#L263)でオーバーライドします。 |
|
||||
| `DS_PIP_VERSION` | `gemnasium-python` | | 特定のpipバージョン(例: `"19.3"`)のインストールを強制します。それ以外の場合は、Dockerイメージにインストールされているpipが使用されます。 |
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ title: ポリシー
|
|||
|
||||
要求事項を満たすようにポリシーを適用するには、次の要素を考慮します。
|
||||
|
||||
- **継承: **デフォルトでは、ポリシーは、リンクされている組織単位、およびそのすべての子孫サブグループとそのプロジェクトに適用されます。
|
||||
- **スコープ: **要件に合わせてポリシーのスコープを定義し、ポリシーの適用をカスタマイズできます。
|
||||
- **継承**: デフォルトでは、ポリシーは、リンクされている組織単位、およびそのすべての子孫サブグループとそのプロジェクトに適用されます。
|
||||
- **スコープ**: 要件に合わせてポリシーのスコープを定義し、ポリシーの適用をカスタマイズできます。
|
||||
|
||||
#### 継承
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ title: パイプライン実行ポリシー
|
|||
|
||||
- <i class="fa fa-youtube-play youtube" aria-hidden="true"></i> ビデオチュートリアルについては、[Security Policies: Pipeline Execution Policy Type(セキュリティポリシー: パイプライン実行ポリシーの種類(英語))](https://www.youtube.com/watch?v=QQAOpkZ__pA)をご覧ください。
|
||||
|
||||
## パイプライン実行ポリシーのスキーマ
|
||||
## パイプライン実行ポリシー(複数)のスキーマ
|
||||
|
||||
{{< history >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -665,7 +665,7 @@ variables:
|
|||
|
||||
パターンには、glob(サポートされているパターンについては[`doublestar.Match`](https://pkg.go.dev/github.com/bmatcuk/doublestar/v4@v4.0.2#Match)を参照)、またはファイルパスやフォルダパス(`doc,spec`など)を使用できます。親ディレクトリもパターンに一致します。
|
||||
|
||||
`SAST_EXCLUDED_PATHS`のポストフィルター実装は、すべてのSASTアナライザーで使用できます。上付き文字**[2](#sast-excluded-paths-semgrep)**が付いたものなど、一部のSASTアナライザーは、`SAST_EXCLUDED_PATHS`をプリフィルターとポストフィルターの両方として実装します。プリフィルターは、スキャン対象のファイル数を減らすため、効率が向上します。
|
||||
`SAST_EXCLUDED_PATHS`のポストフィルター実装は、すべてのSASTアナライザーで使用できます。上付き文字[2](#sast-excluded-paths-semgrep)が付いたものなど、一部のSASTアナライザーは、`SAST_EXCLUDED_PATHS`をプリフィルターとポストフィルターの両方として実装します。プリフィルターは、スキャン対象のファイル数を減らすため、効率が向上します。
|
||||
|
||||
`SAST_EXCLUDED_PATHS`をプリフィルターとポストフィルターの両方としてサポートするアナライザーの場合、最初にプリフィルターが適用され、次にポストフィルターが残りの脆弱性に適用されます。
|
||||
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@ Unable to connect to the server: x509: certificate signed by unknown authority
|
|||
|
||||
このエラーは、ジョブが KAS 証明書に署名した認証局(CA)を信頼しないために発生します。
|
||||
|
||||
イシューを解決するには、[CA を信頼するように `kubectl` を Configure ](#environments-with-kas-that-use-self-signed-certificates)します。
|
||||
イシューを解決するには、[CA を信頼するように `kubectl` を Configure](#environments-with-kas-that-use-self-signed-certificates)します。
|
||||
|
||||
### 検証エラー
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ title: カスタムロール
|
|||
|
||||
カスタムロールを使用すると、組織は、組織のニーズに必要な正確な権限と許可を持つユーザーロールを作成できます。
|
||||
|
||||
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i> カスタムロール機能のデモについては、[\[デモ] Ultimateゲストは、カスタムロールを介してプライベートリポジトリ上のコードを表示できます](https://www.youtube.com/watch?v=46cp_-Rtxps)を参照してください。
|
||||
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i> カスタムロール機能のデモについては、[[Demo] Ultimate Guest can view code on private repositories via custom role](https://www.youtube.com/watch?v=46cp_-Rtxps)(デモ: Ultimate Guestがカスタムロールを使用してプライベートリポジトリのコードを表示)を参照してください。
|
||||
|
||||
個々のカスタムロールと権限のリクエストについては、[イシュー391760](https://gitlab.com/gitlab-org/gitlab/-/issues/391760)で議論できます。
|
||||
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ GitLab Self-Managedで、組織全体の概要を確認する場合は、トッ
|
|||
グループを離脱するには:
|
||||
|
||||
1. 左側のサイドバーで、**検索または移動**を選択し、グループを検索します。
|
||||
1. グループの概要ページの右上隅で、**アクション**(**{ellipsis_v}**)を選択します。
|
||||
1. グループの概要ページの右上隅で、**アクション** ({{< icon name="ellipsis_v" >}})を選択します。
|
||||
1. **グループを離脱**を選択し、もう一度**グループを離脱**を選択します。
|
||||
|
||||
## グループを削除する
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ Okta を Identity Providerとして SSO を設定するには:
|
|||
| **GitLab シングルサインオン URL** | **ログイン ページ URL** (**アプリケーション ログイン ページ** 設定の下) |
|
||||
| **Identity Providerのシングルサインオン URL** | **Identity Providerのシングルサインオン URL** |
|
||||
|
||||
1. Okta の**シングルサインオン URL**フィールドで、\[**これを受信者 URL および宛先 URL に使用する**] チェックボックスをオンにします。
|
||||
1. Okta の**シングルサインオン URL**フィールドで、**これを受信者 URL および宛先 URL に使用する** チェックボックスをオンにします。
|
||||
|
||||
1. これらの値を設定します:
|
||||
- **アプリケーションユーザー名 (NameID)**の場合:**カスタム** `user.getInternalProperty("id")`。
|
||||
|
|
@ -231,19 +231,19 @@ GitLab で Identity Providerを使用するように設定したら、認証に
|
|||
1. 左側のサイドバーで、**検索または移動**を選択し、グループを見つけます。
|
||||
1. **設定 > SAML SSO** を選択します。
|
||||
1. フィールドに入力します:
|
||||
- \[**IdP のシングルサインオン URL**] フィールドに、Identity Providerからの SSO URL を入力します。
|
||||
- \[**証明書フィンガープリント**] フィールドに、SAML トークン署名証明書フィンガープリントを入力します。
|
||||
1. GitLab.com のグループの場合: \[**デフォルトのメンバーシップロール**] フィールドで、以下を選択します:
|
||||
- **IdP のシングルサインオン URL** フィールドに、Identity Providerからの SSO URL を入力します。
|
||||
- **証明書フィンガープリント** フィールドに、SAML トークン署名証明書フィンガープリントを入力します。
|
||||
1. GitLab.com のグループの場合: **デフォルトのメンバーシップロール** フィールドで、以下を選択します:
|
||||
1. 新しいユーザーに割り当てるロール。
|
||||
1. SAML グループリンクがグループにConfigureされているときに、[マップされた SAML グループのメンバーではないユーザー](group_sync.md#automatic-member-removal)に割り当てるロール。
|
||||
1. GitLab Self-Managedインスタンスのグループの場合: \[**デフォルトのメンバーシップロール**] フィールドで、新しいユーザーに割り当てるロールを選択します。デフォルトロールは**ゲスト**です。そのロールは、グループに追加されたすべてのユーザーの開始ロールになります:
|
||||
1. GitLab Self-Managedインスタンスのグループの場合: **デフォルトのメンバーシップロール** フィールドで、新しいユーザーに割り当てるロールを選択します。デフォルトロールは**ゲスト**です。そのロールは、グループに追加されたすべてのユーザーの開始ロールになります:
|
||||
- GitLab 16.7 以降では、グループのオーナーは[カスタムロール](../../custom_roles/_index.md)を設定できます
|
||||
- GitLab 16.6 以前では、グループオーナーは、デフォルトのメンバーシップロールとして、**ゲスト**以外のデフォルトのメンバーシップロールを設定できます。
|
||||
1. \[**このグループに対して SAML 認証を有効にする**] チェックボックスを選択します。
|
||||
1. **このグループに対して SAML 認証を有効にする** チェックボックスを選択します。
|
||||
1. 任意。以下を選択します:
|
||||
- GitLab 17.4 以降では、\[**Enterpriseユーザーのパスワード認証を無効にする**]。詳細については、\[[Enterpriseユーザーのパスワード認証を無効にするドキュメント](#disable-password-authentication-for-enterprise-users)] を参照してください。
|
||||
- \[**このグループのウェブアクティビティに対してSSOのみの認証を強制する**]。
|
||||
- \[**このグループのGitおよび依存プロキシアクティビティにSSOのみの認証を強制する**]。詳細については、\[[SSO 強制ドキュメント](#sso-enforcement)] を参照してください。
|
||||
- GitLab 17.4 以降では、**Enterpriseユーザーのパスワード認証を無効にする**。詳細については、[Enterpriseユーザーのパスワード認証を無効にするドキュメント](#disable-password-authentication-for-enterprise-users) を参照してください。
|
||||
- **このグループのウェブアクティビティに対してSSOのみの認証を強制する**。
|
||||
- **このグループのGitおよび依存プロキシアクティビティにSSOのみの認証を強制する**。詳細については、[SSO 強制ドキュメント](#sso-enforcement) を参照してください。
|
||||
1. **変更を保存** を選択します。
|
||||
|
||||
{{< alert type="note" >}}
|
||||
|
|
@ -283,7 +283,7 @@ GitLab の設定でイシューが発生した場合は、[トラブルシュー
|
|||
SAML を既存の GitLab.com アカウントにリンクするには:
|
||||
|
||||
1. GitLab.com アカウントにサインインします。必要に応じて、[パスワードをリセット](https://gitlab.com/users/password/new)します。
|
||||
1. サインインするグループの**GitLab シングルサインオン URL**を見つけてアクセスします。グループオーナーは、グループの**\[設定] > \[SAML SSO]**ページでこれを見つけることができます。サインイン URL がConfigureされている場合、ユーザーはIdentity Providerから GitLab アプリケーションに接続できます。
|
||||
1. サインインするグループの**GitLab シングルサインオン URL**を見つけてアクセスします。グループオーナーは、グループの**設定 > SAML SSO**ページでこれを見つけることができます。サインイン URL がConfigureされている場合、ユーザーはIdentity Providerから GitLab アプリケーションに接続できます。
|
||||
1. 任意。**「Remember me (記憶する)」**チェックボックスを選択すると、GitLab へのサインイン状態が 2 週間維持されます。SAML プロバイダーによる再認証が、より頻繁に求められる場合があります。
|
||||
1. **Authorize (承認)** を選択します。
|
||||
1. プロンプトが表示されたら、Identity Providerで認証情報を入力します。
|
||||
|
|
@ -296,7 +296,7 @@ SAML を既存の GitLab.com アカウントにリンクするには:
|
|||
### SAML で GitLab.com にサインイン
|
||||
|
||||
1. Identity Providerにサインインします。
|
||||
1. アプリケーションのリストから、\[GitLab.com] アプリケーションを選択します。(名前は、Identity Providerの管理者によって設定されます)。
|
||||
1. アプリケーションのリストから、「GitLab.com」アプリケーションを選択します。(名前は、Identity Providerの管理者によって設定されます)。
|
||||
1. その後、GitLab.com にサインインし、グループにリダイレクトされます。
|
||||
|
||||
### ユーザー SAML ID の管理
|
||||
|
|
@ -421,7 +421,7 @@ Enterpriseユーザーのパスワード認証を無効にするには:
|
|||
|
||||
1. 左側のサイドバーで、**検索または移動**を選択し、グループを見つけます。
|
||||
1. **設定 > SAML SSO** を選択します。
|
||||
1. **\[Configuration (構成)]**で、**\[Disable password authentication for enterprise users (エンタープライズユーザーのパスワード認証を無効にする)]**を選択します。
|
||||
1. **Configuration (構成)**で、**Disable password authentication for enterprise users (エンタープライズユーザーのパスワード認証を無効にする)**を選択します。
|
||||
1. **変更を保存** を選択します。
|
||||
|
||||
#### 復帰ユーザー (ID の自動再リンク)
|
||||
|
|
@ -457,9 +457,9 @@ SCIM も使用している場合に、ユーザーのグループへのアクセ
|
|||
たとえば、`MyOrg` アカウントをアンリンクするには:
|
||||
|
||||
1. 左側のサイドバーで、アバターを選択します。
|
||||
1. **\[Edit profile (プロファイルを編集)]**を選択します。
|
||||
1. 左側のサイドバーで、**\[Account (アカウント)]**を選択します。
|
||||
1. **\[Service sign-in (サービスサインイン)]**セクションで、接続されているアカウントの横にある**\[切断]**を選択します。
|
||||
1. **Edit profile (プロファイルを編集)**を選択します。
|
||||
1. 左側のサイドバーで、**Account (アカウント)**を選択します。
|
||||
1. **Service sign-in (サービスサインイン)**セクションで、接続されているアカウントの横にある**切断**を選択します。
|
||||
|
||||
## SSO の強制
|
||||
|
||||
|
|
@ -496,7 +496,7 @@ API アクティビティに対して同様の SSO 要求事項を追加する
|
|||
|
||||
### ウェブアクティビティの SSO のみ強制
|
||||
|
||||
**\[Enforce SSO-only authentication for web activity for this group (このグループのウェブアクティビティに対して SSO のみ認証を強制)]**オプションが有効になっている場合:
|
||||
**Enforce SSO-only authentication for web activity for this group (このグループのウェブアクティビティに対して SSO のみ認証を強制)**オプションが有効になっている場合:
|
||||
|
||||
- すべてのメンバーは、既存の SAML ID を持っているかどうかに関係なく、GitLab グループのシングルサインオン URL を使用して GitLab にアクセスし、グループリソースにアクセスする必要があります。
|
||||
- SSO は、ユーザーが組織のグループ階層内のグループおよびプロジェクトにアクセスするときに強制されます。ユーザーは、SAML SSO を使用してサインインしなくても、組織外の他のグループやプロジェクトを表示できます。
|
||||
|
|
@ -516,7 +516,7 @@ API アクティビティに対して同様の SSO 要求事項を追加する
|
|||
- CI/CD ジョブから発生する Git アクティビティには、SSO チェックは強制されません。
|
||||
- 通常のユーザーに関連付けられていない認証情報 (たとえば、プロジェクトおよびグループアクセストークン、デプロイキー) には、SSO チェックは強制されません。
|
||||
- ユーザーは、[依存プロキシ](../../packages/dependency_proxy/_index.md)を使用してイメージをプルするには、SSO を使用してサインインする必要があります。
|
||||
- **\[Enforce SSO-only authentication for Git and Dependency Proxy activity for this group (このグループの Git および依存プロキシアクティビティに対して SSO のみ認証を強制)]**オプションを有効にすると、Git アクティビティに関連する API エンドポイントはすべて SSO 強制の対象になります。たとえば、ブランチ、コミット、またはtagの作成または削除などです。SSH および HTTPS 経由の Git アクティビティの場合、ユーザーが GitLab リポジトリにプッシュまたはプルするには、SSO を使用してサインインしたアクティブなセッションが少なくとも 1 つ必要です。アクティブなセッションは、別のデバイス上にある可能性があります。
|
||||
- **Enforce SSO-only authentication for Git and Dependency Proxy activity for this group (このグループの Git および依存プロキシアクティビティに対して SSO のみ認証を強制)**オプションを有効にすると、Git アクティビティに関連する API エンドポイントはすべて SSO 強制の対象になります。たとえば、ブランチ、コミット、またはtagの作成または削除などです。SSH および HTTPS 経由の Git アクティビティの場合、ユーザーが GitLab リポジトリにプッシュまたはプルするには、SSO を使用してサインインしたアクティブなセッションが少なくとも 1 つ必要です。アクティブなセッションは、別のデバイス上にある可能性があります。
|
||||
|
||||
ウェブアクティビティに対する SSO が強制されている場合、非 SSO グループメンバーはすぐにアクセスを失うわけではありません。ユーザーが:
|
||||
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ GitLab 17.9 以降では、アクティブおよび非アクティブのグル
|
|||
1. 左側のサイドバーで、**検索または移動**を選択し、グループを見つけます。このグループはトップレベルにある必要があります。
|
||||
1. **設定 > 一般**を選択します。
|
||||
1. **権限とグループ機能**を展開します。
|
||||
1. **権限**で、\[**ユーザーはこのグループでプロジェクトアクセストークンとグループアクセストークンを作成できます**] チェックボックスをオフにします。
|
||||
1. **権限**で、**ユーザーはこのグループでプロジェクトアクセストークンとグループアクセストークンを作成できます** チェックボックスをオフにします。
|
||||
1. **変更を保存**を選択します。
|
||||
|
||||
## アクセストークンの有効期限
|
||||
|
|
|
|||
|
|
@ -571,15 +571,16 @@ The following codeblock uses HTML to skip the Vale ReferenceLinks test.
|
|||
Do not change it back to a markdown codeblock.
|
||||
-->
|
||||
|
||||
<pre class="highlight"><code>- この行は、[インラインスタイルのリンク](https://www.google.com)を示しています
|
||||
- この行は、[同じディレクトリ内のリポジトリファイルへのリンク](permissions.md)を示しています
|
||||
- この行は、[1つ上のディレクトリにあるファイルへの相対リンク](../_index.md)を示しています
|
||||
- この行は、[タイトルテキストも含むリンク](https://www.google.com "このリンクはGoogleに移動します!")を示しています
|
||||
<pre class="highlight"><code>
|
||||
- この行は、[インラインスタイルのリンク](https://www.google.com)を示しています
|
||||
- この行は、[同じディレクトリ内のリポジトリファイルへのリンク](permissions.md)を示しています
|
||||
- この行は、[1つ上のディレクトリにあるファイルへの相対リンク](../_index.md)を示しています
|
||||
- この行は、[タイトルテキストも含むリンク](https://www.google.com "このリンクはGoogleに移動します!")を示しています
|
||||
|
||||
見出しIDアンカーを使用する:
|
||||
|
||||
- この行は、[#と見出しIDを使用した、別のMarkdownページ上のセクション](permissions.md#project-features-permissions)にリンクします
|
||||
- この行は、[#と見出しIDを使用した、同じページ上の別のセクション](#heading-ids-and-links)にリンクします
|
||||
- この行は、[#と見出しIDを使用した、別のMarkdownページ上のセクション](permissions.md#project-features-permissions)にリンクします
|
||||
- この行は、[#と見出しIDを使用した、同じページ上の別のセクション](#heading-ids-and-links)にリンクします
|
||||
|
||||
参照を使用する:
|
||||
|
||||
|
|
@ -589,9 +590,9 @@ Do not change it back to a markdown codeblock.
|
|||
|
||||
参照リンクが後から続く可能性があることを示すテキスト。
|
||||
|
||||
[大文字小文字を区別しない、任意の参照テキスト]: https://www.mozilla.org/en-US/
|
||||
[1]: https://slashdot.org
|
||||
[リンクテキスト自体]: https://about.gitlab.com/
|
||||
[大文字小文字を区別しない、任意の参照テキスト]: https://www.mozilla.org/en-US/
|
||||
[1]: https://slashdot.org
|
||||
[リンクテキスト自体]: https://about.gitlab.com/
|
||||
</code></pre>
|
||||
|
||||
- この行は、[インラインスタイルのリンク](https://www.google.com)を示しています
|
||||
|
|
@ -601,8 +602,8 @@ Do not change it back to a markdown codeblock.
|
|||
|
||||
見出しIDアンカーを使用する:
|
||||
|
||||
- この行は、[\#と見出しIDを使用した、別のMarkdownページ上のセクション](permissions.md#project-members-permissions)にリンクします
|
||||
- この行は、[\#と見出しIDを使用した、同じページ上の別のセクション](#heading-ids-and-links)にリンクします
|
||||
- この行は、[#と見出しIDを使用した、別のMarkdownページ上のセクション](permissions.md#project-members-permissions)にリンクします
|
||||
- この行は、[#と見出しIDを使用した、同じページ上の別のセクション](#heading-ids-and-links)にリンクします
|
||||
|
||||
参照を使用する:
|
||||
|
||||
|
|
@ -1109,7 +1110,7 @@ Do not change to a reference style link.
|
|||
参照スタイル:
|
||||
|
||||
<pre class="highlight"><code>![代替テキスト1][ロゴ]
|
||||
[ロゴ]: img/markdown_logo_v17_11.png "タイトルテキスト"
|
||||
[ロゴ]: img/markdown_logo_v17_11.png "タイトルテキスト"
|
||||
</code></pre>
|
||||
|
||||

|
||||
|
|
@ -1837,7 +1838,7 @@ Markdownは、ページをフォーマットするために次のASCII文字を
|
|||
|
||||
| 食べ物 | この食べ物が好きですか?(circle)|
|
||||
|-----------------|--------------------------------|
|
||||
| ピザ | はい|いいえ |
|
||||
| ピザ | はい\|いいえ |
|
||||
|
||||
**太字ではなく、複数のアスタリスクの間に配置されたイタリックテキスト**
|
||||
|
||||
|
|
@ -1882,18 +1883,18 @@ Do not change it back to a markdown codeblock.
|
|||
[^footnote-42]:このテキストは別の脚注です。
|
||||
</code></pre>
|
||||
|
||||
脚注参照タグは\[^1]のようになります。
|
||||
脚注参照タグは[^1]のようになります。
|
||||
|
||||
参照タグ\[^footnote-42]は、文字と数字の組み合わせです。
|
||||
参照タグ[^footnote-42]は、文字と数字の組み合わせです。
|
||||
|
||||
<!--
|
||||
Do not delete the single space before the [^1] and [^footnotes] references below.
|
||||
These are used to force the Vale ReferenceLinks check to skip these examples.
|
||||
-->
|
||||
|
||||
\[^1]:このテキストは脚注の中にあります。
|
||||
[^1]:このテキストは脚注の中にあります。
|
||||
|
||||
\[^footnote-42]:このテキストは別の脚注です。
|
||||
[^footnote-42]:このテキストは別の脚注です。
|
||||
|
||||
## インラインHTML
|
||||
|
||||
|
|
@ -2136,22 +2137,22 @@ Wikiでは、[diagrams.net](https://app.diagrams.net/)エディタを使用し
|
|||
|
||||
次の手順により、プレーンテキストエディタで図を作成できます。
|
||||
|
||||
1. 編集するWikiページで\[**編集**]を選択。
|
||||
1. テキストボックスで、プレーンテキストエディタを使用していることを確認(左下のボタンに\[**リッチテキスト編集に切り替える**]と表示されます)。
|
||||
1. エディタのツールバーで\[**図の挿入または編集**]({{< icon name="diagram" >}})を選択。
|
||||
1. 編集するWikiページで**編集**を選択。
|
||||
1. テキストボックスで、プレーンテキストエディタを使用していることを確認(左下のボタンに**リッチテキスト編集に切り替える**と表示されます)。
|
||||
1. エディタのツールバーで**図の挿入または編集**({{< icon name="diagram" >}})を選択。
|
||||
1. [app.diagrams.net](https://app.diagrams.net/)エディタで図を作成。
|
||||
1. \[**保存して終了**を選択。
|
||||
1. **保存して終了**を選択。
|
||||
|
||||
図へのMarkdown画像参照がWikiコンテンツに挿入されます。
|
||||
|
||||
次の手順により、プレーンテキストエディタで図を編集できます。
|
||||
|
||||
1. 編集するWikiページで\[**編集**]を選択。
|
||||
1. テキストボックスで、プレーンテキストエディタを使用していることを確認(左下のボタンに\[**リッチテキスト編集に切り替える**]と表示されます)。
|
||||
1. 編集するWikiページで**編集**を選択。
|
||||
1. テキストボックスで、プレーンテキストエディタを使用していることを確認(左下のボタンに**リッチテキスト編集に切り替える**と表示されます)。
|
||||
1. 図を含むMarkdown画像参照内にカーソルを置く。
|
||||
1. エディタのツールバーで\[**図の挿入または編集**]({{< icon name="diagram" >}})を選択。
|
||||
1. エディタのツールバーで**図の挿入または編集**({{< icon name="diagram" >}})を選択。
|
||||
1. [app.diagrams.net](https://app.diagrams.net/)エディタで図を編集。
|
||||
1. \[**保存して終了**]を選択。
|
||||
1. **保存して終了**を選択。
|
||||
|
||||
図へのMarkdown画像参照がWikiコンテンツに挿入され、前の図が置き換えられます。
|
||||
|
||||
|
|
@ -2159,23 +2160,23 @@ Wikiでは、[diagrams.net](https://app.diagrams.net/)エディタを使用し
|
|||
|
||||
次の手順により、リッチテキストエディタで図を作成できます。
|
||||
|
||||
1. 編集するWikiページで\[**編集**]を選択。
|
||||
1. テキストボックスで、リッチテキストエディタを使用していることを確認します(左下のボタンに\[**プレーンテキスト編集に切り替える**]と表示されます)。
|
||||
1. エディタのツールバーで\[**その他のオプション**]({{< icon name="plus" >}})を選択。
|
||||
1. ドロップダウンリストで\[**図の作成または編集**]を選択。
|
||||
1. 編集するWikiページで**編集**を選択。
|
||||
1. テキストボックスで、リッチテキストエディタを使用していることを確認します(左下のボタンに**プレーンテキスト編集に切り替える**と表示されます)。
|
||||
1. エディタのツールバーで**その他のオプション**({{< icon name="plus" >}})を選択。
|
||||
1. ドロップダウンリストで**図の作成または編集**を選択。
|
||||
1. [app.diagrams.net](https://app.diagrams.net/)エディタで図を作成。
|
||||
1. \[**保存して終了**]を選択。
|
||||
1. **保存して終了**を選択。
|
||||
|
||||
diagrams.netエディタで視覚化された図がWikiコンテンツに挿入されます。
|
||||
|
||||
次の手順により、リッチテキストエディタで図を編集できます。
|
||||
|
||||
1. 編集するWikiページで\[**編集**]を選択。
|
||||
1. テキストボックスで、リッチテキストエディタを使用していることを確認します(左下のボタンに\[**プレーンテキスト編集に切り替える**]と表示されます)。
|
||||
1. 編集するWikiページで**編集**を選択。
|
||||
1. テキストボックスで、リッチテキストエディタを使用していることを確認します(左下のボタンに**プレーンテキスト編集に切り替える**と表示されます)。
|
||||
1. 編集する図を選択。
|
||||
1. フローティングツールバーで\[**図の編]**]({{< icon name="diagram" >}})を選択。
|
||||
1. フローティングツールバーで**図の編]**({{< icon name="diagram" >}})を選択。
|
||||
1. [app.diagrams.net](https://app.diagrams.net/)エディタで図を編集。
|
||||
1. \[**保存して終了**]を選択。
|
||||
1. **保存して終了**を選択。
|
||||
|
||||
選択した図が更新されたバージョンに置き換えられます。
|
||||
|
||||
|
|
|
|||
|
|
@ -209,16 +209,16 @@ GitLab Self-Managedインスタンスでは、管理者はGitLabサイドバー
|
|||
|
||||
| 形式 | ステータス |
|
||||
| --------- | ------------------------------------------------------------- |
|
||||
| Chef | [\#36889](https://gitlab.com/gitlab-org/gitlab/-/issues/36889) |
|
||||
| CocoaPods | [\#36890](https://gitlab.com/gitlab-org/gitlab/-/issues/36890) |
|
||||
| Conda | [\#36891](https://gitlab.com/gitlab-org/gitlab/-/issues/36891) |
|
||||
| CRAN | [\#36892](https://gitlab.com/gitlab-org/gitlab/-/issues/36892) |
|
||||
| Opkg | [\#36894](https://gitlab.com/gitlab-org/gitlab/-/issues/36894) |
|
||||
| P2 | [\#36895](https://gitlab.com/gitlab-org/gitlab/-/issues/36895) |
|
||||
| Puppet | [\#36897](https://gitlab.com/gitlab-org/gitlab/-/issues/36897) |
|
||||
| RPM | [\#5932](https://gitlab.com/groups/gitlab-org/-/epics/5128) |
|
||||
| SBT | [\#36898](https://gitlab.com/gitlab-org/gitlab/-/issues/36898) |
|
||||
| Swift | [\#12233](https://gitlab.com/gitlab-org/gitlab/-/issues/12233) |
|
||||
| Vagrant | [\#36899](https://gitlab.com/gitlab-org/gitlab/-/issues/36899) |
|
||||
| Chef | [#36889](https://gitlab.com/gitlab-org/gitlab/-/issues/36889) |
|
||||
| CocoaPods | [#36890](https://gitlab.com/gitlab-org/gitlab/-/issues/36890) |
|
||||
| Conda | [#36891](https://gitlab.com/gitlab-org/gitlab/-/issues/36891) |
|
||||
| CRAN | [#36892](https://gitlab.com/gitlab-org/gitlab/-/issues/36892) |
|
||||
| Opkg | [#36894](https://gitlab.com/gitlab-org/gitlab/-/issues/36894) |
|
||||
| P2 | [#36895](https://gitlab.com/gitlab-org/gitlab/-/issues/36895) |
|
||||
| Puppet | [#36897](https://gitlab.com/gitlab-org/gitlab/-/issues/36897) |
|
||||
| RPM | [#5932](https://gitlab.com/groups/gitlab-org/-/epics/5128) |
|
||||
| SBT | [#36898](https://gitlab.com/gitlab-org/gitlab/-/issues/36898) |
|
||||
| Swift | [#12233](https://gitlab.com/gitlab-org/gitlab/-/issues/12233) |
|
||||
| Vagrant | [#36899](https://gitlab.com/gitlab-org/gitlab/-/issues/36899) |
|
||||
|
||||
<!-- vale gitlab_base.Spelling = YES -->
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
通知設定を編集するには:
|
||||
|
||||
1. 左側のサイドバーで、自分のアバターを選択します。
|
||||
1. **\[設定]**を選択します。
|
||||
1. 左側のサイドバーで、**\[通知]**を選択します。
|
||||
1. **設定**を選択します。
|
||||
1. 左側のサイドバーで、**通知**を選択します。
|
||||
1. 目的のグローバル、グループ、またはプロジェクトの通知設定を編集します。編集した設定は自動的に保存されます。
|
||||
|
||||
### 通知スコープ
|
||||
|
|
@ -99,14 +99,14 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
グループの通知レベルを選択するには、次のいずれかの方法を使用します。
|
||||
|
||||
1. 左側のサイドバーで、自分のアバターを選択します。
|
||||
1. **\[設定]**を選択します。
|
||||
1. 左側のサイドバーで、**\[通知]**を選択します。
|
||||
1. **\[グループ]**セクションでグループを見つけます。
|
||||
1. **設定**を選択します。
|
||||
1. 左側のサイドバーで、**通知**を選択します。
|
||||
1. **グループ**セクションでグループを見つけます。
|
||||
1. 目的の[通知レベル](#notification-levels)を選択します。
|
||||
|
||||
または:
|
||||
|
||||
1. 左側のサイドバーで、**\[検索または移動]**を選択して、グループを見つけます。
|
||||
1. 左側のサイドバーで、**検索または移動**を選択して、グループを見つけます。
|
||||
1. ベルアイコン({{< icon name="notifications" >}})の横にある通知ドロップダウンリストを選択します。
|
||||
1. 目的の[通知レベル](#notification-levels)を選択します。
|
||||
|
||||
|
|
@ -115,9 +115,9 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
自分が所属するグループごとに通知を受信するメールアドレスを選択できます。たとえば、フリーランスで仕事をしている場合、クライアントのプロジェクトに関するメールを個別に管理したい場合に、グループ通知を使用できます。
|
||||
|
||||
1. 左側のサイドバーで、自分のアバターを選択します。
|
||||
1. **\[設定]**を選択します。
|
||||
1. 左側のサイドバーで、**\[通知]**を選択します。
|
||||
1. **\[グループ]**セクションでグループを見つけます。
|
||||
1. **設定**を選択します。
|
||||
1. 左側のサイドバーで、**通知**を選択します。
|
||||
1. **グループ**セクションでグループを見つけます。
|
||||
1. 目的のメールアドレスを選択します。
|
||||
|
||||
### プロジェクト通知のレベルを変更
|
||||
|
|
@ -127,14 +127,14 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
プロジェクトの通知レベルを選択するには、次のいずれかの方法を使用します。
|
||||
|
||||
1. 左側のサイドバーで、自分のアバターを選択します。
|
||||
1. **\[設定]**を選択します。
|
||||
1. 左側のサイドバーで、**\[通知]**を選択します。
|
||||
1. **\[プロジェクト]**セクションでプロジェクトを見つけます。
|
||||
1. **設定**を選択します。
|
||||
1. 左側のサイドバーで、**通知**を選択します。
|
||||
1. **プロジェクト**セクションでプロジェクトを見つけます。
|
||||
1. 目的の[通知レベル](#notification-levels)を選択します。
|
||||
|
||||
または:
|
||||
|
||||
1. 左側のサイドバーで、**\[検索または移動]**を選択して、プロジェクトを見つけます。
|
||||
1. 左側のサイドバーで、**検索または移動**を選択して、プロジェクトを見つけます。
|
||||
1. ベルアイコン({{< icon name="notifications" >}})の横にある通知ドロップダウンリストを選択します。
|
||||
1. 目的の[通知レベル](#notification-levels)を選択します。
|
||||
|
||||
|
|
@ -194,7 +194,7 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
|
||||
### イシュー、マージリクエスト、およびエピックの通知設定を編集
|
||||
|
||||
イシュー、マージリクエスト、またはエピックの通知を切り替えるには: 右側のサイドバーで、縦方向の省略記号({{< icon name="ellipsis_v" >}})を選択し、**\[通知]**トグルをオンまたはオフにします。
|
||||
イシュー、マージリクエスト、またはエピックの通知を切り替えるには: 右側のサイドバーで、縦方向の省略記号({{< icon name="ellipsis_v" >}})を選択し、**通知**トグルをオンまたはオフにします。
|
||||
|
||||
#### 移動された通知
|
||||
|
||||
|
|
@ -253,25 +253,25 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
| マージリクエスト | レビューリクエスト済 | 参加者、ウォッチャー、サブスクライバー、このイベントが選択されたカスタム通知レベル、および古いレビュアー。 |
|
||||
| マージリクエスト | 再開 | サブスクライバーと参加者。 |
|
||||
| マージリクエスト | タイトルまたは説明が変更されました | ユーザー名による新しいメンション。 |
|
||||
| マージリクエスト | 承認者として追加 | このイベントが選択されたカスタム通知レベル。GitLab 16.7 で\[[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/12855)]されました。 |
|
||||
| マージリクエスト | 承認者として追加 | このイベントが選択されたカスタム通知レベル。GitLab 16.7 で[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/12855)されました。 |
|
||||
| パイプライン | 失敗 | パイプラインの作成者。 |
|
||||
| パイプライン | 修正済 | パイプラインの作成者。デフォルトで有効になっています。 |
|
||||
| パイプライン | 成功 | パイプラインの作成者(パイプラインの成功に対するカスタム通知レベルを持つ)。パイプラインが以前に失敗した場合、失敗後の最初の成功したパイプラインに対して「パイプラインが修正されました」というメッセージが送信され、その後の成功したパイプラインに対して「パイプラインが成功しました」というメッセージが送信されます。 |
|
||||
|
||||
デフォルトでは、自分が作成したイシュー、マージリクエスト、またはエピックに関する通知は受信しません。自分のイシュー、マージリクエストなどで常に通知を受信するには、\[[自分のアクティビティに関する通知](#global-notification-settings)]をオンにします。
|
||||
デフォルトでは、自分が作成したイシュー、マージリクエスト、またはエピックに関する通知は受信しません。自分のイシュー、マージリクエストなどで常に通知を受信するには、[自分のアクティビティに関する通知](#global-notification-settings)をオンにします。
|
||||
|
||||
## 不明なサインインに関する通知
|
||||
|
||||
{{< history >}}
|
||||
|
||||
- GitLab 15.10 で\[[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/225183)]された、サインインしたユーザーのフルネームとユーザー名を一覧表示します。
|
||||
- GitLab 17.5 で\[[追加](https://gitlab.com/gitlab-org/gitlab/-/issues/296128)]された地理的な場所。
|
||||
- GitLab 15.10 で[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/225183)された、サインインしたユーザーのフルネームとユーザー名を一覧表示します。
|
||||
- GitLab 17.5 で[追加](https://gitlab.com/gitlab-org/gitlab/-/issues/296128)された地理的な場所。
|
||||
|
||||
{{< /history >}}
|
||||
|
||||
{{< alert type="note" >}}
|
||||
|
||||
この機能は、GitLab Self-Managedインスタンスではデフォルトで有効になっています。管理者は、UI の\[[サインイン制限](../../administration/settings/sign_in_restrictions.md#email-notification-for-unknown-sign-ins)]セクションからこの機能を無効にできます。この機能は、GitLab.com で常に有効になっています。
|
||||
この機能は、GitLab Self-Managedインスタンスではデフォルトで有効になっています。管理者は、UI の[サインイン制限](../../administration/settings/sign_in_restrictions.md#email-notification-for-unknown-sign-ins)セクションからこの機能を無効にできます。この機能は、GitLab.com で常に有効になっています。
|
||||
|
||||
{{< /alert >}}
|
||||
|
||||
|
|
@ -286,7 +286,7 @@ GitLab 17.2 以降では、[通知はユーザーあたり、プロジェクト
|
|||
GitLab は、既知のサインインを識別するためにいくつかのメソッドを使用します。通知メールを送信するには、すべてのメソッドが失敗する必要があります。
|
||||
|
||||
- 最終サインイン IP:現在のサインイン IP アドレスは、最終サインイン IP アドレスと照合されます。
|
||||
- 現在のアクティブセッション:ユーザーが同じ IP アドレスから既存のアクティブセッションを持っている場合。\[[アクティブセッション](active_sessions.md)]を参照してください。
|
||||
- 現在のアクティブセッション:ユーザーが同じ IP アドレスから既存のアクティブセッションを持っている場合。[アクティブセッション](active_sessions.md)を参照してください。
|
||||
- Cookie:正常なサインイン後、暗号化された Cookie がブラウザーに保存されます。この Cookie は、最後の正常なサインインから 14 日後に期限切れになるように設定されています。
|
||||
|
||||
## 誤った確認コードを使用したサインインの試行に関する通知
|
||||
|
|
@ -307,13 +307,13 @@ GitLab は、誤った 2要素認証(2FA)コードを使用してアカウ
|
|||
|
||||
- デザインの作成者(異なる作成者が異なるバージョンのデザインをアップロードした場合、複数の人がいる可能性があります)。
|
||||
- デザインに関するコメントの作成者。
|
||||
- デザインに関するコメントで\[[メンション](../discussions/_index.md#mentions)]されたすべてのユーザー。
|
||||
- デザインに関するコメントで[メンション](../discussions/_index.md#mentions)されたすべてのユーザー。
|
||||
|
||||
## グループまたはプロジェクトのアクセス期限に関する通知
|
||||
|
||||
{{< history >}}
|
||||
|
||||
- GitLab 16.3 で\[[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/12704)]されました。
|
||||
- GitLab 16.3 で[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/12704)されました。
|
||||
|
||||
{{< /history >}}
|
||||
|
||||
|
|
@ -324,13 +324,13 @@ GitLab は、誤った 2要素認証(2FA)コードを使用してアカウ
|
|||
メール通知をもう受信したくない場合は、次の手順を実行します:
|
||||
|
||||
1. 左側のサイドバーで、自分のアバターを選択します。
|
||||
1. **\[設定]**を選択します。
|
||||
1. 左側のサイドバーで、**\[通知]**を選択します。
|
||||
1. \[**グローバル通知レベル**]\*\*を\[**無効**]\*\*に設定します。
|
||||
1. \[**自分自身のアクティビティに関する通知を受信する**]\*\*チェックボックスをオフにします。
|
||||
1. グループまたはプロジェクトに所属している場合は、通知設定を\[**グローバル**]\*\*または\[**無効**]\*\*に設定します。
|
||||
1. **設定**を選択します。
|
||||
1. 左側のサイドバーで、**通知**を選択します。
|
||||
1. **グローバル通知レベルを**無効に設定します。
|
||||
1. **自分自身のアクティビティに関する通知を受信する**チェックボックスをオフにします。
|
||||
1. グループまたはプロジェクトに所属している場合は、通知設定を**グローバル**または**無効**に設定します。
|
||||
|
||||
GitLab Self-Managedインスタンスでは、これを行った後でも、インスタンス管理者が\[[メールを送信できる](../../administration/email_from_gitlab.md)]場合があります。
|
||||
GitLab Self-Managedインスタンスでは、これを行った後でも、インスタンス管理者[メールを送信できる](../../administration/email_from_gitlab.md)場合があります。
|
||||
|
||||
## 通知メールの配信登録を解除する
|
||||
|
||||
|
|
@ -348,7 +348,7 @@ GitLab からのすべての通知メールの下部に、配信登録解除リ
|
|||
|
||||
### メールクライアントまたはその他のソフトウェアを使用する
|
||||
|
||||
メールクライアントは、GitLab からのメールを表示するときに\[**配信停止**]\*\*ボタンを表示する場合があります。配信登録を解除するには、このボタンを選択します。
|
||||
メールクライアントは、GitLab からのメールを表示するときに**配信停止**ボタンを表示する場合があります。配信登録を解除するには、このボタンを選択します。
|
||||
|
||||
GitLab からの通知メールには、特別なヘッダーが含まれています。これらのヘッダーを使用すると、サポートされているメールクライアントおよびその他のソフトウェアがユーザーの配信登録を自動的に解除できます。次に例を示します:
|
||||
|
||||
|
|
@ -375,11 +375,11 @@ List-Unsubscribe-Post: List-Unsubscribe=One-Click
|
|||
| `List-Id` | RFC 2919 メーリングリスト識別子のプロジェクトのパス。フィルターを使用して組織のメールを整理するために使用できます。 |
|
||||
| `X-GitLab-(Resource)-ID` | 通知の対象となるリソースの ID。リソースは、たとえば、 `Issue`、`MergeRequest`、`Commit`、またはその他のこのようなリソースにすることができます。 |
|
||||
| `X-GitLab-(Resource)-State` | 通知の対象となるリソースの状態。リソースは、たとえば、`Issue`または`MergeRequest`にすることができます。値は、`opened`、`closed`、`merged`、または`locked`にすることができます。GitLab 16.4 で[導入されました](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/130967)。 |
|
||||
| `X-GitLab-ConfidentialIssue` | 通知に関するイシューの機密性を示すブール値。GitLab 16.0 で\[[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/222908)]されました。 |
|
||||
| `X-GitLab-ConfidentialIssue` | 通知に関するイシューの機密性を示すブール値。GitLab 16.0 で[導入](https://gitlab.com/gitlab-org/gitlab/-/issues/222908)されました。 |
|
||||
| `X-GitLab-Discussion-ID` | コメントの通知メールで、コメントが属するスレッドの ID。 |
|
||||
| `X-GitLab-Group-Id` | グループの ID。\[[エピック](../group/epics/_index.md)]の通知メールにのみ存在します。 |
|
||||
| `X-GitLab-Group-Path` | グループのパス。\[[エピック](../group/epics/_index.md)]の通知メールにのみ存在します。 |
|
||||
| `X-GitLab-NotificationReason` | 通知の理由。\[[可能な値を参照](#x-gitlab-notificationreason)]。 |
|
||||
| `X-GitLab-Group-Id` | グループの ID。[エピック](../group/epics/_index.md)の通知メールにのみ存在します。 |
|
||||
| `X-GitLab-Group-Path` | グループのパス。[エピック](../group/epics/_index.md)の通知メールにのみ存在します。 |
|
||||
| `X-GitLab-NotificationReason` | 通知の理由。[可能な値を参照](#x-gitlab-notificationreason)。 |
|
||||
| `X-GitLab-Pipeline-Id` | パイプラインの通知メールで、通知の対象となるパイプラインの ID。 |
|
||||
| `X-GitLab-Project-Id` | プロジェクトの ID。 |
|
||||
| `X-GitLab-Project-Path` | プロジェクトのパス。 |
|
||||
|
|
@ -409,7 +409,7 @@ List-Unsubscribe-Post: List-Unsubscribe=One-Click
|
|||
|
||||
{{< /details >}}
|
||||
|
||||
\[[オンコールアラート](../../operations/incident_management/oncall_schedules.md)]通知メールには、\[[アラート](../../operations/incident_management/alerts.md)]の次のいずれかの状態が含まれています:
|
||||
[オンコールアラート](../../operations/incident_management/oncall_schedules.md)通知メールには、[アラート](../../operations/incident_management/alerts.md)の次のいずれかの状態が含まれています:
|
||||
|
||||
- `alert_triggered`
|
||||
- `alert_acknowledged`
|
||||
|
|
@ -425,14 +425,14 @@ List-Unsubscribe-Post: List-Unsubscribe=One-Click
|
|||
|
||||
{{< /details >}}
|
||||
|
||||
\[[インシデントエスカレーション](../../operations/incident_management/escalation_policies.md)]通知メールには、\[[インシデント](../../operations/incident_management/incidents.md)]の次のいずれかの状態が含まれています。
|
||||
[インシデントエスカレーション](../../operations/incident_management/escalation_policies.md)通知メールには、[インシデント](../../operations/incident_management/incidents.md)の次のいずれかの状態が含まれています。
|
||||
|
||||
- `incident_triggered`
|
||||
- `incident_acknowledged`
|
||||
- `incident_resolved`
|
||||
- `incident_ignored`
|
||||
|
||||
`X-GitLab-NotificationReason`ヘッダーに含めるイベントのリストを拡張することは、[[イシュー 20689](https://gitlab.com/gitlab-org/gitlab/-/issues/20689)]で追跡されています。
|
||||
`X-GitLab-NotificationReason`ヘッダーに含めるイベントのリストを拡張することは、[イシュー 20689](https://gitlab.com/gitlab-org/gitlab/-/issues/20689)で追跡されています。
|
||||
|
||||
## トラブルシューティング
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ title: イシューボード
|
|||
|
||||
メニューの上部にある検索ボックスを使用して、リストされたボードをフィルタリングできます。
|
||||
|
||||
10個以上のボードが利用可能な場合、メニューには**\[最近使ったもの]**セクションも表示され、最後にアクセスした4つのボードへのショートカットが表示されます。
|
||||
10個以上のボードが利用可能な場合、メニューには**最近使ったもの**セクションも表示され、最後にアクセスした4つのボードへのショートカットが表示されます。
|
||||
|
||||

|
||||
|
||||
|
|
@ -79,7 +79,7 @@ title: イシューボード
|
|||
新しいイシューボードを作成するには:
|
||||
|
||||
1. イシューボードページの上部左隅にあるドロップダウンリストで、現在のボード名を選択します。
|
||||
1. \[**新しいボードを作成**]を選択します。
|
||||
1. **新しいボードを作成**を選択します。
|
||||
1. 新しいボードの名前を入力し、そのスコープ(マイルストーン、イテレーション、ラベル、担当者、またはウェイト)を選択します。
|
||||
1. **ボードを作成**を選択します
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ title: イシューボード
|
|||
|
||||
開いているイシューボードを削除するには:
|
||||
|
||||
1. イシューボードページの右上隅で、\[**ボードをConfigure**]({{< icon name="settings" >}})を選択します。
|
||||
1. イシューボードページの右上隅で、**ボードをConfigure**({{< icon name="settings" >}})を選択します。
|
||||
1. **ボードを削除**を選択します。
|
||||
1. **削除**を選択して確定します。
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ Scrumチームでは、各Scrumチームが独自のボードを持つように
|
|||
|
||||
## フォーカスモード
|
||||
|
||||
フォーカスモードでは、ナビゲーションUIが非表示になり、ボード内のイシューに集中できます。フォーカスモードを有効または無効にするには、右上隅にある\[**フォーカスモードの切替**]({{< icon name="maximize" >}})を選択します。
|
||||
フォーカスモードでは、ナビゲーションUIが非表示になり、ボード内のイシューに集中できます。フォーカスモードを有効または無効にするには、右上隅にある**フォーカスモードの切替**({{< icon name="maximize" >}})を選択します。
|
||||
|
||||
## グループイシューボード
|
||||
|
||||
|
|
@ -201,9 +201,9 @@ GitLabイシューボードはGitLab Freeプランで利用できますが、高
|
|||
|
||||

|
||||
|
||||
ボードのスコープは、作成時または\[**ボードをConfigure**]({{< icon name="settings" >}})ボタンを選択して定義できます。マイルストーン、イテレーション、担当者、またはウェイトがイシューボードに割り当てられた後、検索バーでこれらを通してフィルタリングすることはできなくなります。それを行うには、イシューボードから目的のスコープ(たとえば、マイルストーン、担当者、またはウェイト)を削除する必要があります。
|
||||
ボードのスコープは、作成時または**ボードをConfigure**({{< icon name="settings" >}})ボタンを選択して定義できます。マイルストーン、イテレーション、担当者、またはウェイトがイシューボードに割り当てられた後、検索バーでこれらを通してフィルタリングすることはできなくなります。それを行うには、イシューボードから目的のスコープ(たとえば、マイルストーン、担当者、またはウェイト)を削除する必要があります。
|
||||
|
||||
ボードの編集権限がない場合でも、\[**ボードの設定**]({{< icon name="settings" >}})を選択して設定を確認できます。
|
||||
ボードの編集権限がない場合でも、**ボードの設定**({{< icon name="settings" >}})を選択して設定を確認できます。
|
||||
|
||||
### 担当者リスト
|
||||
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ GitLabでは、次の2種類のラベルを使用できます。
|
|||
|
||||
1. 左側のサイドバーで、**検索または移動**を選択し、プロジェクトを見つけます。
|
||||
1. **ラベル > 管理**を選択します。
|
||||
1. **サブスクライブ**ボタンの横にある(\[{{< icon name="ellipsis_v" >}}])を選択し、次に**削除**を選択します。
|
||||
1. **サブスクライブ**ボタンの横にある({{< icon name="ellipsis_v" >}})を選択し、次に**削除**を選択します。
|
||||
|
||||
### グループラベルを削除
|
||||
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ title: プロジェクトとグループを共有する
|
|||
1. (オプション)**Access expiration date(アクセス有効期限)**を選択します。その日以降、招待されたグループはグループにアクセスできなくなります。
|
||||
1. **招待**を選択します。
|
||||
|
||||
### 招待されたグループを削除します。
|
||||
### 招待されたグループを削除します
|
||||
|
||||
招待されたグループを削除するには、次の手順に従います。
|
||||
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ title: マージリクエスト承認ルール
|
|||
|
||||
{{< /history >}}
|
||||
|
||||
[マージリクエスト承認ポリシー](../../../application_security/policies/merge_request_approval_policies.md#merge-request-approval-policy-editor)を使用すると、マージリクエストとデフォルトブランチの脆弱性の状態に基づいてセキュリティ承認を定義できます。各セキュリティポリシーの詳細は、マージリクエスト設定の\[セキュリティ承認]セクションに表示されます。
|
||||
[マージリクエスト承認ポリシー](../../../application_security/policies/merge_request_approval_policies.md#merge-request-approval-policy-editor)を使用すると、マージリクエストとデフォルトブランチの脆弱性の状態に基づいてセキュリティ承認を定義できます。各セキュリティポリシーの詳細は、マージリクエスト設定のセキュリティ承認セクションに表示されます。
|
||||
|
||||
セキュリティ承認ルールは、パイプラインが完了するまですべてのマージリクエストに適用されます。セキュリティ承認ルールの適用により、ユーザーはセキュリティスキャンが実行される前にコードをマージできなくなります。パイプラインが完了すると、セキュリティ承認ルールがチェックされ、セキュリティ承認がまだ必要かどうかが判断されます。パイプライン内のスキャナーがイシューを特定し、セキュリティ承認が必要な場合、マージリクエストにボットコメントが生成され、続行するために必要な手順が示されます。
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ GitLabが生成されたファイルを検出する方法に関する技術的
|
|||
この設定が有効になっているときに表示する別のファイルを選択するには、次のいずれかを行います。
|
||||
|
||||
- ファイルの末尾までスクロールし、**前**または**次**のいずれかを選択します。
|
||||
- [キーボードショートカットが有効になっている](../../shortcuts.md#enable-keyboard-shortcuts)場合は、<kbd>\[</kbd>、<kbd>]</kbd>、<kbd>k</kbd>、または<kbd>j</kbd>を押します。
|
||||
- [キーボードショートカットが有効になっている](../../shortcuts.md#enable-keyboard-shortcuts)場合は、<kbd></kbd>、<kbd></kbd>、<kbd>k</kbd>、または<kbd>j</kbd>を押します。
|
||||
- **ファイルブラウザを表示**({{< icon name="file-tree" >}})を選択し、表示する別のファイルを選択します。
|
||||
|
||||
## 変更を比較する
|
||||
|
|
|
|||
|
|
@ -46,21 +46,21 @@ gitGraph
|
|||
前提要件:
|
||||
|
||||
- マージリクエストの編集、リポジトリへのコードの追加を許可するプロジェクトのロールが必要です。
|
||||
- プロジェクトは、プロジェクトの**\[設定] > \[マージリクエスト]**で設定されている、[\[マージ方法]](methods/_index.md#fast-forward-merge) **\[マージコミット]**を使用する必要があります。
|
||||
- プロジェクトは、プロジェクトの**設定 > マージリクエスト**で設定されている、[マージ方法](methods/_index.md#fast-forward-merge) **マージコミット**を使用する必要があります。
|
||||
|
||||
[GitLab 16.9 以降](https://gitlab.com/gitlab-org/gitlab/-/issues/142152)では、早送りマージされたコミットは、スカッシュされている場合、またはマージリクエストに単一のコミットが含まれている場合にのみ、GitLab UI から cherry-pick できます。いつでも[個々のコミットをcherry-pick](#cherry-pick-a-single-commit)できます。
|
||||
|
||||
これを行うには、次の手順に従います:
|
||||
|
||||
1. 左側のサイドバーで**\[検索または移動]**を選択して、プロジェクトを見つけます。
|
||||
1. **\[コード] > \[マージリクエスト]**を選択し、目的のマージリクエストを見つけます。
|
||||
1. マージリクエストレポートセクションまでスクロールし、**\[マージ者]**レポートを見つけます。
|
||||
1. レポートの右上隅で、**\[Cherry-pick]**を選択します:
|
||||
1. 左側のサイドバーで**検索または移動**を選択して、プロジェクトを見つけます。
|
||||
1. **コード > マージリクエスト**を選択し、目的のマージリクエストを見つけます。
|
||||
1. マージリクエストレポートセクションまでスクロールし、**マージ者**レポートを見つけます。
|
||||
1. レポートの右上隅で、**Cherry-pick**を選択します:
|
||||
|
||||

|
||||
1. ダイアログで、cherry-pick 先のプロジェクトとブランチを選択します。
|
||||
1. 任意。**\[これらの変更で新しいマージリクエストを開始]**を選択します。
|
||||
1. **\[Cherry-pick]**を選択します。
|
||||
1. 任意。**これらの変更で新しいマージリクエストを開始**を選択します。
|
||||
1. **Cherry-pick**を選択します。
|
||||
|
||||
## 単一のコミットを cherry-pick する
|
||||
|
||||
|
|
@ -70,34 +70,34 @@ GitLabプロジェクトの複数の場所から単一のコミットを cherry-
|
|||
|
||||
プロジェクトのすべてのコミットのリストからコミットを cherry-pick するには、次の手順に従います:
|
||||
|
||||
1. 左側のサイドバーで**\[検索または移動]**を選択して、プロジェクトを見つけます。
|
||||
1. **\[コード] > \[コミット]**を選択します。
|
||||
1. cherry-pick するコミットの[\[タイトル]](https://git-scm.com/docs/git-commit#_discussion)を選択します。
|
||||
1. 右上隅で、**\[オプション] > \[Cherry-pick]**を選択します。
|
||||
1. 左側のサイドバーで**検索または移動**を選択して、プロジェクトを見つけます。
|
||||
1. **コード > コミット**を選択します。
|
||||
1. cherry-pick するコミットの[タイトル](https://git-scm.com/docs/git-commit#_discussion)を選択します。
|
||||
1. 右上隅で、**オプション > Cherry-pick**を選択します。
|
||||
1. cherry-pick ダイアログで、cherry-pick 先のプロジェクトとブランチを選択します。
|
||||
1. 任意。**\[これらの変更で新しいマージリクエストを開始]**を選択します。
|
||||
1. **\[Cherry-pick]**を選択します。
|
||||
1. 任意。**これらの変更で新しいマージリクエストを開始**を選択します。
|
||||
1. **Cherry-pick**を選択します。
|
||||
|
||||
### リポジトリのファイルビューから
|
||||
|
||||
プロジェクトの Gitリポジトリでファイルを表示すると、個々のファイルに影響を与える以前のコミットのリストから cherry-pick できます。
|
||||
|
||||
1. 左側のサイドバーで**\[検索または移動]**を選択して、プロジェクトを見つけます。
|
||||
1. **\[コード] > \[リポジトリ]**を選択します。
|
||||
1. コミットによって変更されたファイルに移動します。右上隅で、**\[履歴]**を選択します。
|
||||
1. cherry-pick するコミットの[\[タイトル]](https://git-scm.com/docs/git-commit#_discussion)を選択します。
|
||||
1. 右上隅で、**\[オプション] > \[Cherry-pick]**を選択します。
|
||||
1. 左側のサイドバーで**検索または移動**を選択して、プロジェクトを見つけます。
|
||||
1. **コード > リポジトリ**を選択します。
|
||||
1. コミットによって変更されたファイルに移動します。右上隅で、**履歴**を選択します。
|
||||
1. cherry-pick するコミットの[タイトル](https://git-scm.com/docs/git-commit#_discussion)を選択します。
|
||||
1. 右上隅で、**オプション > Cherry-pick**を選択します。
|
||||
1. cherry-pick ダイアログで、cherry-pick 先のプロジェクトとブランチを選択します。
|
||||
1. 任意。**\[これらの変更で新しいマージリクエストを開始]**を選択します。
|
||||
1. **\[Cherry-pick]**を選択します。
|
||||
1. 任意。**これらの変更で新しいマージリクエストを開始**を選択します。
|
||||
1. **Cherry-pick**を選択します。
|
||||
|
||||
## cherry-pick されたコミットのシステムノートを表示
|
||||
|
||||
GitLab UI または API でマージコミットを cherry-pick すると、GitLab は関連するマージリクエストスレッドに[\[システムノート]](../system_notes.md)を追加します。形式は {{< icon name="cherry-pick-commit" >}} `[USER]` **ブランチに変更を** `[BRANCHNAME]` コミット付き\** でピックアップしました。`[SHA]` `[DATE]`:
|
||||
GitLab UI または API でマージコミットを cherry-pick すると、GitLab は関連するマージリクエストスレッドに[システムノート](../system_notes.md)を追加します。形式は {{< icon name="cherry-pick-commit" >}} `[USER]` **ブランチに変更を `[BRANCHNAME]` コミット付き** でピックアップしました。`[SHA]` `[DATE]`:
|
||||
|
||||

|
||||
|
||||
システムノートは、新しいコミットと既存のマージリクエストを相互リンクします。各デプロイメントの[\[関連付けられたマージリクエストのリスト]](../../../api/deployments.md#list-of-merge-requests-associated-with-a-deployment)には、cherry-pick されたマージコミットが含まれています。
|
||||
システムノートは、新しいコミットと既存のマージリクエストを相互リンクします。各デプロイメントの[関連付けられたマージリクエストのリスト](../../../api/deployments.md#list-of-merge-requests-associated-with-a-deployment)には、cherry-pick されたマージコミットが含まれています。
|
||||
|
||||
GitLab UI または API の外部で cherry-pick されたコミットは、システムノートを追加しません。
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ GitLab PremiumとUltimateは、マージリクエストに最適なレビュー
|
|||
|
||||
この例では、マージリクエストには3つのコードオーナー承認が必要ですが、これまでのところ承認はありません:
|
||||
|
||||
![3つのコードオーナー承認を必要とするが、承認がないマージリクエストの\[レビュアーの割り当て] drawer。コードオーナーのルールごとに1行、承認ルールごとに1行が表示されます。各ルールに対してレビュアーを選択できます。](img/select_good_reviewers_v17_5.png)
|
||||

|
||||
|
||||
1. オプションの承認ルールまたはコードオーナーを表示するには、**オプションの承認ルール**({{< icon name="chevron-lg-up" >}})を選択して表示します。
|
||||
1. 必要なレビュアータイプの横にある**編集**を選択します:
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ AIは決定的ではないため、同じ入力を使用しても毎回同じ候
|
|||
|
||||
{{< alert type="note" >}}
|
||||
|
||||
GitLabは最近、Duoコード提案の\[開いているタブ]の内部ロジックをリファクタリングしました。開いているタブを使用するユーザーは、機能を復元するためにエディタ拡張機能のバージョンを7.17.1以降に更新する必要があります。
|
||||
GitLabは最近、Duoコード提案の開いているタブの内部ロジックをリファクタリングしました。開いているタブを使用するユーザーは、機能を復元するためにエディタ拡張機能のバージョンを7.17.1以降に更新する必要があります。
|
||||
|
||||
{{< /alert >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ GitLab UI からフォークを更新するには:
|
|||
1. すべての変更をブランチ (`main` ではない) で作成します。
|
||||
1. [機密イシューのマージリクエスト](../merge_requests/confidential.md)では作業しないでください。これには、`main`への変更が必要です。
|
||||
|
||||
[リポジトリのミラーリング](mirror/_index.md)は、フォークを元のリポジトリと同期した状態に保ちます。この方法では、手動で `git pull` を実行する必要はなく、1 時間に 1 回フォークが更新されます。手順については、[プルミラーリングの Configure ](mirror/pull.md#configure-pull-mirroring)をお読みください。
|
||||
[リポジトリのミラーリング](mirror/_index.md)は、フォークを元のリポジトリと同期した状態に保ちます。この方法では、手動で `git pull` を実行する必要はなく、1 時間に 1 回フォークが更新されます。手順については、[プルミラーリングの Configure](mirror/pull.md#configure-pull-mirroring)をお読みください。
|
||||
|
||||
{{< alert type="warning" >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ title: 高度な検索
|
|||
|---------------------|------------------|---------|
|
||||
| `"` | 完全一致検索 | [`"gem sidekiq"`](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=%22gem+sidekiq%22) |
|
||||
| `~` | あいまい検索 | [`J~ Doe`](https://gitlab.com/search?scope=users&search=j%7E+doe) |
|
||||
| <code>\|</code> | または | [<code>display | banner</code>](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=display+%7C+banner) |
|
||||
| `\|` | または | [`display \| banner`](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=display+%7C+banner) |
|
||||
| `+` | および | [`display +banner`](https://gitlab.com/search?group_id=9970&project_id=278964&repository_ref=&scope=blobs&search=display+%2Bbanner&snippets=) |
|
||||
| `-` | 除外 | [`display -banner`](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=display+-banner) |
|
||||
| `*` | 部分的 | [`bug error 50*`](https://gitlab.com/search?group_id=9970&project_id=278964&repository_ref=&scope=blobs&search=bug+error+50%2A&snippets=) |
|
||||
|
|
@ -78,9 +78,9 @@ title: 高度な検索
|
|||
|----------------------------------------------------|-------------|
|
||||
| [`rails -filename:gemfile.lock`](https://gitlab.com/search?group_id=9970&project_id=278964&repository_ref=&scope=blobs&search=rails+-filename%3Agemfile.lock&snippets=) | `gemfile.lock`ファイルを除くすべてのファイルの`rails`を返します。 |
|
||||
| [`RSpec.describe Resolvers -*builder`](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=RSpec.describe+Resolvers+-*builder) | `builder`で始まらない`RSpec.describe Resolvers`を返します。 |
|
||||
| [<code>bug | (display +banner)</code>](https://gitlab.com/search?snippets=&scope=issues&repository_ref=&search=bug+%7C+%28display+%2Bbanner%29&group_id=9970&project_id=278964) | `bug`または、`display`と`banner`の両方を返します。 |
|
||||
| [<code>helper -extension:yml -extension:js</code>](https://gitlab.com/search?group_id=9970&project_id=278964&repository_ref=&scope=blobs&search=helper+-extension%3Ayml+-extension%3Ajs&snippets=) | `.yml`拡張子または`.js`拡張子のファイルを除く、すべてのファイルの`helper`を返します。 |
|
||||
| [<code>helper path:lib/git</code>](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=helper+path%3Alib%2Fgit) | パスに`lib/git*`の付くすべてのファイル(`spec/lib/gitlab`など)の`helper`を返します。 |
|
||||
| [`bug \| (display +banner)`](https://gitlab.com/search?snippets=&scope=issues&repository_ref=&search=bug+%7C+%28display+%2Bbanner%29&group_id=9970&project_id=278964) | `bug`または、`display`と`banner`の両方を返します。 |
|
||||
| [`helper -extension:yml -extension:js`](https://gitlab.com/search?group_id=9970&project_id=278964&repository_ref=&scope=blobs&search=helper+-extension%3Ayml+-extension%3Ajs&snippets=) | `.yml`拡張子または`.js`拡張子のファイルを除く、すべてのファイルの`helper`を返します。 |
|
||||
| [`helper path:lib/git`](https://gitlab.com/search?group_id=9970&project_id=278964&scope=blobs&search=helper+path%3Alib%2Fgit) | パスに`lib/git*`の付くすべてのファイル(`spec/lib/gitlab`など)の`helper`を返します。 |
|
||||
|
||||
<!-- markdownlint-enable MD044 -->
|
||||
|
||||
|
|
|
|||
|
|
@ -207,8 +207,8 @@ components:
|
|||
|
||||
デフォルトでは、ワークスペースは、devfileに定義された`gl/inject-editor`属性を持つコンテナに[GitLab VS Codeフォーク](https://gitlab.com/gitlab-org/gitlab-web-ide-vscode-fork)を挿入して起動します。GitLab VS Codeフォークが挿入されるワークスペースコンテナは、次のシステム要件を満たしている必要があります。
|
||||
|
||||
- **システムアーキテクチャ: **AMD64
|
||||
- **システムライブラリ: **
|
||||
- **システムアーキテクチャ**: AMD64
|
||||
- **システムライブラリ**:
|
||||
- `glibc` 2.28以降
|
||||
- `glibcxx` 3.4.25以降
|
||||
|
||||
|
|
|
|||
|
|
@ -44,14 +44,14 @@ For an overview, see [GitLab Duo AI Impact Dashboard](https://youtu.be/FxSWX64aU
|
|||
|
||||
## Key metrics
|
||||
|
||||
- **Duo seats: Assigned and used**: Percentage of users that are assigned a Duo seat and used at least one AI feature in the last 30 days.
|
||||
- **Assigned Duo seat engagement**: Percentage of users that are assigned a Duo seat and used at least one AI feature in the last 30 days.
|
||||
It is calculated as the number of users with Duo seats that use AI features divided by the total number of assigned Duo seats.
|
||||
- **Code Suggestions: Unique users**: Percentage of users that engage with Code Suggestions every month.
|
||||
- **Code Suggestions: Usage**: Percentage of users that engage with Code Suggestions every month.
|
||||
It is calculated as the number of monthly unique Code Suggestions users divided by total monthly [unique contributors](../profile/contributions_calendar.md#user-contribution-events).
|
||||
Only unique code contributors (users with `pushed` events) are included in the calculation.
|
||||
- **Code Suggestions: Acceptance rate**: Percentage of code suggestions provided by GitLab Duo that have been accepted by code contributors in the last 30 days.
|
||||
It is calculated as the number of accepted code suggestions divided by the total number of generated code suggestions.
|
||||
- **Duo Chat: Unique users**: Percentage of users that engage with GitLab Duo Chat every month.
|
||||
- **Duo Chat: Usage**: Percentage of users that engage with GitLab Duo Chat every month.
|
||||
It is calculated as the number of monthly unique GitLab Duo Chat users divided by the total GitLab Duo assigned users.
|
||||
|
||||
{{< alert type="note" >}}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,160 @@ you can run fuzz tests as part your CI/CD workflow.
|
|||
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
|
||||
For an overview, see [Web API Fuzzing](https://www.youtube.com/watch?v=oUHsfvLGhDk).
|
||||
|
||||
## When Web API fuzzing runs
|
||||
## Getting started
|
||||
|
||||
Get started with API fuzzing by editing your CI/CD configuration.
|
||||
|
||||
Prerequisites:
|
||||
|
||||
- A web API using one of the supported API types:
|
||||
- REST API
|
||||
- SOAP
|
||||
- GraphQL
|
||||
- Form bodies, JSON, or XML
|
||||
- An API specification in one of the following formats:
|
||||
- [OpenAPI v2 or v3 Specification](configuration/enabling_the_analyzer.md#openapi-specification)
|
||||
- [GraphQL Schema](configuration/enabling_the_analyzer.md#graphql-schema)
|
||||
- [HTTP Archive (HAR)](configuration/enabling_the_analyzer.md#http-archive-har)
|
||||
- [Postman Collection v2.0 or v2.1](configuration/enabling_the_analyzer.md#postman-collection)
|
||||
- An available [GitLab Runner](../../../ci/runners/_index.md) with the
|
||||
[`docker` executor](https://docs.gitlab.com/runner/executors/docker.html) on Linux/amd64.
|
||||
- A deployed target application. For more details, see the [deployment options](#application-deployment-options).
|
||||
- The `fuzz` stage is added to your CI/CD pipeline definition, after the `deploy` stage:
|
||||
|
||||
```yaml
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
- fuzz
|
||||
```
|
||||
|
||||
To enable API fuzzing:
|
||||
|
||||
- Use the [Web API fuzzing configuration form](configuration/enabling_the_analyzer.md#web-api-fuzzing-configuration-form).
|
||||
|
||||
The form lets you choose values for the most common API fuzzing options, and builds
|
||||
a YAML snippet that you can paste in your GitLab CI/CD configuration.
|
||||
|
||||
## Understanding the results
|
||||
|
||||
To view the output of a security scan:
|
||||
|
||||
1. On the left sidebar, select **Search or go to** and find your project.
|
||||
1. On the left sidebar, select **Build > Pipelines**.
|
||||
1. Select the pipeline.
|
||||
1. Select the **Security** tab.
|
||||
1. Select a vulnerability to view its details, including:
|
||||
- Status: Indicates whether the vulnerability has been triaged or resolved.
|
||||
- Description: Explains the cause of the vulnerability, its potential impact, and recommended remediation steps.
|
||||
- Severity: Categorized into six levels based on impact.
|
||||
For more information, see [severity levels](../vulnerabilities/severities.md).
|
||||
- Scanner: Identifies which analyzer detected the vulnerability.
|
||||
- Method: Establishes the vulnerable server interaction type.
|
||||
- URL: Shows the location of the vulnerability.
|
||||
- Evidence: Describes test case to prove the presence of a given vulnerability
|
||||
- Identifiers: A list of references used to classify the vulnerability, such as CWE identifiers.
|
||||
|
||||
You can also download the security scan results:
|
||||
|
||||
- In the pipeline's **Security** tab, select **Download results**.
|
||||
|
||||
For more details, see the [pipeline security report](../vulnerability_report/pipeline.md).
|
||||
|
||||
{{< alert type="note" >}}
|
||||
|
||||
Findings are generated on feature branches. When they are merged into the default branch, they become vulnerabilities. This distinction is important when evaluating your security posture.
|
||||
|
||||
{{< /alert >}}
|
||||
|
||||
## Optimization
|
||||
|
||||
To get the most out of API fuzzing, follow these recommendations:
|
||||
|
||||
- Configure runners to use the [always pull policy](https://docs.gitlab.com/runner/executors/docker.html#using-the-always-pull-policy) to run the latest versions of the analyzers.
|
||||
- By default, API fuzzing downloads all artifacts defined by previous jobs in the pipeline. If your
|
||||
API fuzzing job does not rely on `environment_url.txt` to define the URL under test or any other
|
||||
files created in previous jobs, you should not download artifacts.
|
||||
|
||||
To avoid downloading artifacts, extend the analyzer CI/CD job to specify no dependencies.
|
||||
For example, for the API fuzzing analyzer, add the following to your `.gitlab-ci.yml` file:
|
||||
|
||||
```yaml
|
||||
apifuzzer_fuzz:
|
||||
dependencies: []
|
||||
```
|
||||
|
||||
### Application deployment options
|
||||
|
||||
API fuzzing requires a deployed application to be available to scan.
|
||||
|
||||
Depending on the complexity of the target application, there are a few options as to how to deploy and configure
|
||||
the API fuzzing template.
|
||||
|
||||
#### Review apps
|
||||
|
||||
Review apps are the most involved method of deploying your API Fuzzing target application. To assist in the process,
|
||||
GitLab created a review app deployment using Google Kubernetes Engine (GKE). This example can be found in the
|
||||
[Review apps - GKE](https://gitlab.com/gitlab-org/security-products/demos/dast/review-app-gke) project, plus detailed
|
||||
instructions to configure review apps in DAST in the [README](https://gitlab.com/gitlab-org/security-products/demos/dast/review-app-gke/-/blob/master/README.md).
|
||||
|
||||
#### Docker Services
|
||||
|
||||
If your application uses Docker containers, you have another option for deploying and scanning with API fuzzing.
|
||||
After your Docker build job completes and your image is added to your container registry, you can use the image as a
|
||||
[service](../../../ci/services/_index.md).
|
||||
|
||||
By using service definitions in your `.gitlab-ci.yml`, you can scan services with the DAST analyzer.
|
||||
|
||||
When adding a `services` section to the job, the `alias` is used to define the hostname that can be used to access the service. In the following example, the `alias: yourapp` portion of the `dast` job definition means that the URL to the deployed application uses `yourapp` as the hostname (`https://yourapp/`).
|
||||
|
||||
```yaml
|
||||
stages:
|
||||
- build
|
||||
- fuzz
|
||||
|
||||
include:
|
||||
- template: API-Fuzzing.gitlab-ci.yml
|
||||
|
||||
# Deploys the container to the GitLab container registry
|
||||
deploy:
|
||||
services:
|
||||
- name: docker:dind
|
||||
alias: dind
|
||||
image: docker:20.10.16
|
||||
stage: build
|
||||
script:
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
- docker pull $CI_REGISTRY_IMAGE:latest || true
|
||||
- docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
- docker push $CI_REGISTRY_IMAGE:latest
|
||||
|
||||
apifuzzer_fuzz:
|
||||
services: # use services to link your app container to the dast job
|
||||
- name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
alias: yourapp
|
||||
|
||||
variables:
|
||||
FUZZAPI_TARGET_URL: https://yourapp
|
||||
```
|
||||
|
||||
Most applications depend on multiple services such as databases or caching services. By default, services defined in the services fields cannot communicate
|
||||
with each another. To allow communication between services, enable the `FF_NETWORK_PER_BUILD` [feature flag](https://docs.gitlab.com/runner/configuration/feature-flags.html#available-feature-flags).
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
FF_NETWORK_PER_BUILD: "true" # enable network per build so all services can communicate on the same network
|
||||
|
||||
services: # use services to link the container to the dast job
|
||||
- name: mongo:latest
|
||||
alias: mongo
|
||||
- name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
alias: yourapp
|
||||
```
|
||||
|
||||
## Roll out
|
||||
|
||||
Web API fuzzing runs in the `fuzz` stage of the CI/CD pipeline. To ensure API fuzzing scans the
|
||||
latest code, your CI/CD pipeline should deploy changes to a test environment in one of the stages
|
||||
|
|
@ -45,7 +198,7 @@ You can run a Web API fuzzing scan using the following methods:
|
|||
- [HTTP Archive](configuration/enabling_the_analyzer.md#http-archive-har) (HAR)
|
||||
- [Postman Collection](configuration/enabling_the_analyzer.md#postman-collection) - version 2.0 or 2.1
|
||||
|
||||
Example projects using these methods are available:
|
||||
### Example API fuzzing projects
|
||||
|
||||
- [Example OpenAPI v2 Specification project](https://gitlab.com/gitlab-org/security-products/demos/api-fuzzing-example/-/tree/openapi)
|
||||
- [Example HTTP Archive (HAR) project](https://gitlab.com/gitlab-org/security-products/demos/api-fuzzing-example/-/tree/har)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
|
|||
title: Configuration
|
||||
---
|
||||
|
||||
- [Requirements](requirements.md)
|
||||
- [Requirements](../_index.md)
|
||||
- [Enabling the analyzer](enabling_the_analyzer.md)
|
||||
- [Customize analyzer settings](customizing_analyzer_settings.md)
|
||||
- [Overriding analyzer jobs](overriding_analyzer_jobs.md)
|
||||
|
|
|
|||
|
|
@ -1,114 +1,13 @@
|
|||
---
|
||||
type: reference, howto
|
||||
stage: Application Security Testing
|
||||
group: Dynamic Analysis
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
title: Requirements
|
||||
redirect_to: '../_index.md'
|
||||
remove_date: '2025-09-17'
|
||||
---
|
||||
|
||||
- A web API using one of the supported API types:
|
||||
- REST API
|
||||
- SOAP
|
||||
- GraphQL
|
||||
- Form bodies, JSON, or XML
|
||||
- An API specification in one of the following formats:
|
||||
- [OpenAPI v2 or v3 Specification](enabling_the_analyzer.md#openapi-specification)
|
||||
- [GraphQL Schema](enabling_the_analyzer.md#graphql-schema)
|
||||
- [HTTP Archive (HAR)](enabling_the_analyzer.md#http-archive-har)
|
||||
- [Postman Collection v2.0 or v2.1](enabling_the_analyzer.md#postman-collection)
|
||||
- [GitLab Runner](../../../../ci/runners/_index.md) available, with the
|
||||
[`docker` executor](https://docs.gitlab.com/runner/executors/docker.html) on Linux/amd64.
|
||||
- Target application deployed. For more details, read [Deployment options](#application-deployment-options).
|
||||
- `fuzz` stage added to the CI/CD pipeline definition. This should be added after the deploy step, for example:
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
```yaml
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
- fuzz
|
||||
```
|
||||
This document was moved to [another location](../_index.md#getting-started).
|
||||
|
||||
## Recommendations
|
||||
|
||||
- Configure runners to use the [always pull policy](https://docs.gitlab.com/runner/executors/docker.html#using-the-always-pull-policy) to run the latest versions of the analyzers.
|
||||
- By default, API Fuzzing downloads all artifacts defined by previous jobs in the pipeline. If your
|
||||
API Fuzzing job does not rely on `environment_url.txt` to define the URL under test or any other
|
||||
files created in previous jobs, you should not download artifacts. To avoid downloading artifacts,
|
||||
extend the analyzer CI/CD job to specify no dependencies. For example, for the API fuzzing
|
||||
analyzer, add the following to your `.gitlab-ci.yml` file:
|
||||
|
||||
```yaml
|
||||
apifuzzer_fuzz:
|
||||
dependencies: []
|
||||
```
|
||||
|
||||
## Application deployment options
|
||||
|
||||
API Fuzzing requires a deployed application to be available to scan.
|
||||
|
||||
Depending on the complexity of the target application, there are a few options as to how to deploy and configure
|
||||
the API Fuzzing template.
|
||||
|
||||
### Review apps
|
||||
|
||||
Review apps are the most involved method of deploying your API Fuzzing target application. To assist in the process,
|
||||
we created a Review App deployment using Google Kubernetes Engine (GKE). This example can be found in our
|
||||
[Review apps - GKE](https://gitlab.com/gitlab-org/security-products/demos/dast/review-app-gke) project, along with detailed
|
||||
instructions in the [README.md](https://gitlab.com/gitlab-org/security-products/demos/dast/review-app-gke/-/blob/master/README.md)
|
||||
on how to configure review apps for DAST.
|
||||
|
||||
### Docker Services
|
||||
|
||||
If your application uses Docker containers you have another option for deploying and scanning with API Fuzzing.
|
||||
After your Docker build job completes and your image is added to your container registry, you can use the image as a
|
||||
[service](../../../../ci/services/_index.md).
|
||||
|
||||
By using service definitions in your `.gitlab-ci.yml`, you can scan services with the DAST analyzer.
|
||||
|
||||
When adding a `services` section to the job, the `alias` is used to define the hostname that can be used to access the service. In the following example, the `alias: yourapp` portion of the `dast` job definition means that the URL to the deployed application uses `yourapp` as the hostname (`https://yourapp/`).
|
||||
|
||||
```yaml
|
||||
stages:
|
||||
- build
|
||||
- fuzz
|
||||
|
||||
include:
|
||||
- template: API-Fuzzing.gitlab-ci.yml
|
||||
|
||||
# Deploys the container to the GitLab container registry
|
||||
deploy:
|
||||
services:
|
||||
- name: docker:dind
|
||||
alias: dind
|
||||
image: docker:20.10.16
|
||||
stage: build
|
||||
script:
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
- docker pull $CI_REGISTRY_IMAGE:latest || true
|
||||
- docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
- docker push $CI_REGISTRY_IMAGE:latest
|
||||
|
||||
apifuzzer_fuzz:
|
||||
services: # use services to link your app container to the dast job
|
||||
- name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
alias: yourapp
|
||||
|
||||
variables:
|
||||
FUZZAPI_TARGET_URL: https://yourapp
|
||||
```
|
||||
|
||||
Most applications depend on multiple services such as databases or caching services. By default, services defined in the services fields cannot communicate
|
||||
with each another. To allow communication between services, enable the `FF_NETWORK_PER_BUILD` [feature flag](https://docs.gitlab.com/runner/configuration/feature-flags.html#available-feature-flags).
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
FF_NETWORK_PER_BUILD: "true" # enable network per build so all services can communicate on the same network
|
||||
|
||||
services: # use services to link the container to the dast job
|
||||
- name: mongo:latest
|
||||
alias: mongo
|
||||
- name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
alias: yourapp
|
||||
```
|
||||
<!-- This redirect file can be deleted after <2025-09-17>. -->
|
||||
<!-- Redirects that point to other docs in the same project expire in three months. -->
|
||||
<!-- Redirects that point to docs in a different project or site (for example, link is not relative and starts with `https:`) expire in one year. -->
|
||||
<!-- Before deletion, see: https://docs.gitlab.com/development/documentation/redirects -->
|
||||
|
|
|
|||
|
|
@ -89,10 +89,13 @@ module API
|
|||
args[:not][:milestone_title] = args[:not]&.delete(:milestone)
|
||||
args[:label_name] = args.delete(:labels)
|
||||
args[:not][:label_name] = args[:not]&.delete(:labels)
|
||||
args[:sort] = "#{args[:order_by]}_#{args[:sort]}"
|
||||
args[:scope] = args[:scope].underscore if args[:scope]
|
||||
|
||||
parent_type = args[:project_id] ? :project : :group
|
||||
args[:"attempt_#{parent_type}_search_optimizations"] = true
|
||||
|
||||
merge_requests = MergeRequestsFinder.new(current_user, args).execute
|
||||
merge_requests = order_merge_requests(merge_requests)
|
||||
merge_requests = paginate(merge_requests)
|
||||
.preload(:source_project, :target_project)
|
||||
|
||||
|
|
@ -172,21 +175,6 @@ module API
|
|||
::MergeRequests::MergeabilityCheckBatchService.new(merge_requests, current_user).execute
|
||||
end
|
||||
|
||||
# rubocop: disable CodeReuse/ActiveRecord
|
||||
def order_merge_requests(merge_requests)
|
||||
if params[:order_by] == 'merged_at'
|
||||
case params[:sort]
|
||||
when 'desc'
|
||||
return merge_requests.reorder_by_metric('merged_at', 'DESC')
|
||||
else
|
||||
return merge_requests.reorder_by_metric('merged_at', 'ASC')
|
||||
end
|
||||
end
|
||||
|
||||
merge_requests.reorder(order_options_with_tie_breaker(override_created_at: false))
|
||||
end
|
||||
# rubocop: enable CodeReuse/ActiveRecord
|
||||
|
||||
params :merge_requests_params do
|
||||
use :merge_requests_base_params
|
||||
use :optional_merge_requests_search_params
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Gitlab
|
||||
module BackgroundMigration
|
||||
# EE-only: ee/lib/ee/gitlab/background_migration/fix_secret_tokens_for_http_destinations.rb
|
||||
class FixSecretTokensForHttpDestinations < BatchedMigrationJob
|
||||
feature_category :audit_events
|
||||
|
||||
def perform; end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Gitlab::BackgroundMigration::FixSecretTokensForHttpDestinations.prepend_mod
|
||||
|
|
@ -62,7 +62,7 @@ namespace :tw do
|
|||
CodeOwnerRule.new('Organizations', '@phillipwells'),
|
||||
CodeOwnerRule.new('Organization', '@lciutacu'),
|
||||
CodeOwnerRule.new('Package Registry', '@z_painter'),
|
||||
CodeOwnerRule.new('Personal Productivity', '@sselhorn'),
|
||||
CodeOwnerRule.new('Personal Productivity', '@kpaizee'),
|
||||
CodeOwnerRule.new('Pipeline Authoring', '@marcel.amirault'),
|
||||
CodeOwnerRule.new('Pipeline Execution', '@lyspin'),
|
||||
CodeOwnerRule.new('Pipeline Security', '@marcel.amirault'),
|
||||
|
|
|
|||
|
|
@ -5835,15 +5835,6 @@ msgstr ""
|
|||
msgid "AiAnalytics|the ClickHouse data store is not available"
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|%{codeSuggestionsAcceptedCount} out of %{codeSuggestionsShownCount} code suggestions were accepted in the last 30 days. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|%{duoChatContributorsCount} out of %{duoAssignedUsersCount} GitLab Duo users interacted with Duo Chat in the last 30 days. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|%{duoUsedCount} out of %{duoAssignedUsersCount} GitLab Duo assigned seats used at least one AI feature in the last 30 days. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|Code Suggestions acceptance rate"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -5874,7 +5865,13 @@ msgstr ""
|
|||
msgid "AiImpactAnalytics|Monthly user engagement with GitLab Duo Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique code contributors."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|No usage data for the selected time range."
|
||||
msgid "AiImpactAnalytics|Percentage ratio of total Duo seats assigned / Duo seats assigned that interacted with Duo Chat. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|Percentage ratio of total Duo seats assigned / Duo seats assigned that used at least one Duo feature. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|Percentage ratio of total number of code suggestions generated / code suggestions accepted. %{linkStart}Learn more%{linkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiImpactAnalytics|The usage data may be incomplete due to backend calculations starting after upgrade to GitLab 16.11. For more information, see %{linkStart}epic 12978%{linkEnd}."
|
||||
|
|
@ -6111,10 +6108,10 @@ msgstr ""
|
|||
msgid "AiPowered|Tanuki AI icon"
|
||||
msgstr ""
|
||||
|
||||
msgid "AiPowered|This setting applies to the whole instance. Group and project access controls are coming soon.%{br}By turning this on, you accept the %{termsLinkStart}GitLab AI functionality terms%{termsLinkEnd}. Check the %{requirementsLinkStart}eligibility requirements%{requirementsLinkEnd}."
|
||||
msgid "AiPowered|This setting applies to the whole instance. By turning this on, you accept the %{termsLinkStart}GitLab AI Functionality Terms%{termsLinkEnd} unless your organization has a separate agreement with GitLab governing AI feature usage. Check the %{requirementsLinkStart}eligibility requirements%{requirementsLinkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiPowered|This setting applies to the whole top-level group. Subgroup and project access controls are coming soon.%{br}By turning this on, you accept the %{termsLinkStart}GitLab AI functionality terms%{termsLinkEnd}. Check the %{requirementsLinkStart}eligibility requirements%{requirementsLinkEnd}."
|
||||
msgid "AiPowered|This setting applies to the whole top-level group. By turning this on, you accept the %{termsLinkStart}GitLab AI Functionality Terms%{termsLinkEnd} unless your organization has a separate agreement with GitLab governing AI feature usage. Check the %{requirementsLinkStart}eligibility requirements%{requirementsLinkEnd}."
|
||||
msgstr ""
|
||||
|
||||
msgid "AiPowered|Turn off GitLab Duo Workflow"
|
||||
|
|
@ -23525,7 +23522,7 @@ msgstr ""
|
|||
msgid "DuoAgentsPlatform|Convert Jenkins to CI"
|
||||
msgstr ""
|
||||
|
||||
msgid "DuoAgentsPlatform|Could not display logs. Please try again"
|
||||
msgid "DuoAgentsPlatform|Could not display logs. Please try again."
|
||||
msgstr ""
|
||||
|
||||
msgid "DuoAgentsPlatform|Enter the path to your Jenkinsfile."
|
||||
|
|
@ -49872,30 +49869,18 @@ msgstr ""
|
|||
msgid "PrometheusService|Active"
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|IAP_CLIENT_ID.apps.googleusercontent.com"
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|Monitor application health with Prometheus metrics and dashboards"
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|Select this checkbox to override the auto configuration settings with your own settings."
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|The ID of the IAP-secured resource."
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|The Prometheus API base URL."
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|The contents of the credentials.json file of your service account."
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|https://prometheus.example.com/"
|
||||
msgstr ""
|
||||
|
||||
msgid "PrometheusService|{ \"type\": \"service_account\", \"project_id\": ... }"
|
||||
msgstr ""
|
||||
|
||||
msgid "Promote"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
65
qa/Rakefile
65
qa/Rakefile
|
|
@ -4,12 +4,6 @@ require_relative "qa"
|
|||
|
||||
Dir['tasks/*.rake'].each { |file| load file }
|
||||
|
||||
desc "Deletes subgroups within a provided group"
|
||||
task :delete_subgroups, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteSubgroups.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Initialize GitLab with an access token"
|
||||
task :initialize_gitlab_auth, [:address] do |_, args|
|
||||
QA::Tools::InitializeGitlabAuth.new(args).run
|
||||
|
|
@ -45,65 +39,6 @@ end
|
|||
desc "Generate data and run load tests"
|
||||
task generate_data_and_run_load_test: [:generate_perf_testdata, :run_artillery_load_tests]
|
||||
|
||||
desc "Deletes test ssh keys a user"
|
||||
task :delete_test_ssh_keys, [:title_portion, :dry_run] do |_, args|
|
||||
args.with_defaults(title_portion: 'E2E test key:', dry_run: false)
|
||||
QA::Tools::DeleteTestSshKeys.new(title_portion: args[:title_portion], dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes projects directly under the provided group"
|
||||
task :delete_projects, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteProjects.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes test users"
|
||||
task :delete_test_users, [:dry_run, :exclude_users] do |_, args|
|
||||
args.with_defaults(dry_run: false, exclude_users: nil)
|
||||
QA::Tools::DeleteTestUsers.new(dry_run: args[:dry_run], exclude_users: args[:exclude_users]).run
|
||||
end
|
||||
|
||||
desc "Deletes snippets"
|
||||
task :delete_test_snippets, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteTestSnippets.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
namespace :test_resources do
|
||||
desc "Deletes resources created during E2E test runs"
|
||||
task :delete, [:file_pattern] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new(args[:file_pattern]).run_delete
|
||||
end
|
||||
|
||||
desc "Upload test resources JSON files to GCS"
|
||||
task :upload, [:file_pattern, :ci_project_name] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new(args[:file_pattern]).upload(args[:ci_project_name])
|
||||
end
|
||||
|
||||
desc "Download test resources JSON files from GCS"
|
||||
task :download, [:ci_project_name] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new.download(args[:ci_project_name])
|
||||
end
|
||||
end
|
||||
|
||||
desc "Deletes user's projects"
|
||||
task :delete_user_projects, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteUserProjects.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes user groups"
|
||||
task :delete_user_groups, [:dry_run, :exclude_groups] do |_, args|
|
||||
args.with_defaults(dry_run: false, exclude_groups: nil)
|
||||
QA::Tools::DeleteUserGroups.new(dry_run: args[:dry_run], exclude_groups: args[:exclude_groups]).run
|
||||
end
|
||||
|
||||
desc "Revokes user's personal access tokens"
|
||||
task :revoke_user_pats, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::RevokeUserPersonalAccessTokens.new(dry_run: !!(args[:dry_run].to_s =~ /true|1|y/i)).run
|
||||
end
|
||||
|
||||
desc "Generate group with multiple projects for direct transfer test"
|
||||
task :generate_direct_transfer_test_group, [:project_tar_paths, :group_path, :project_copies] do |_, args|
|
||||
QA::Support::GitlabAddress.define_gitlab_address_attribute!
|
||||
|
|
|
|||
|
|
@ -185,8 +185,9 @@ module QA
|
|||
wait_for_resource_deletion(resource['api_path'])
|
||||
|
||||
unless resource_not_found?(resource['api_path'])
|
||||
logger.info("Permanently deleting #{resource_info}..."\
|
||||
"\e[31mFAILED - #{response} - Resource still exists\e[0m")
|
||||
logger.info("Permanently deleting #{resource_info}..." \
|
||||
"\e[31mFAILED - #{response} - Resource still exists\e[0m")
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
@ -226,12 +227,14 @@ module QA
|
|||
end
|
||||
|
||||
def files
|
||||
logger.info('Gathering JSON files...')
|
||||
logger.info("Gathering JSON files using pattern #{@file_pattern}...")
|
||||
files = Dir.glob(@file_pattern)
|
||||
|
||||
if files.empty?
|
||||
logger.info("There is no file with this pattern #{@file_pattern}")
|
||||
logger.info("There is no file with this pattern")
|
||||
exit 0
|
||||
else
|
||||
logger.info("Found #{files.size} JSON file(s) to process")
|
||||
end
|
||||
|
||||
files.reject! { |file| File.zero?(file) }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,66 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
desc "Deletes subgroups within a provided group"
|
||||
task :delete_subgroups, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteSubgroups.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes test ssh keys a user"
|
||||
task :delete_test_ssh_keys, [:title_portion, :dry_run] do |_, args|
|
||||
args.with_defaults(title_portion: 'E2E test key:', dry_run: false)
|
||||
QA::Tools::DeleteTestSshKeys.new(title_portion: args[:title_portion], dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes projects directly under the provided group"
|
||||
task :delete_projects, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteProjects.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes test users"
|
||||
task :delete_test_users, [:dry_run, :exclude_users] do |_, args|
|
||||
args.with_defaults(dry_run: false, exclude_users: nil)
|
||||
QA::Tools::DeleteTestUsers.new(dry_run: args[:dry_run], exclude_users: args[:exclude_users]).run
|
||||
end
|
||||
|
||||
desc "Deletes snippets"
|
||||
task :delete_test_snippets, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteTestSnippets.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes user's projects"
|
||||
task :delete_user_projects, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::DeleteUserProjects.new(dry_run: args[:dry_run]).run
|
||||
end
|
||||
|
||||
desc "Deletes user groups"
|
||||
task :delete_user_groups, [:dry_run, :exclude_groups] do |_, args|
|
||||
args.with_defaults(dry_run: false, exclude_groups: nil)
|
||||
QA::Tools::DeleteUserGroups.new(dry_run: args[:dry_run], exclude_groups: args[:exclude_groups]).run
|
||||
end
|
||||
|
||||
desc "Revokes user's personal access tokens"
|
||||
task :revoke_user_pats, [:dry_run] do |_, args|
|
||||
args.with_defaults(dry_run: false)
|
||||
QA::Tools::RevokeUserPersonalAccessTokens.new(dry_run: !!(args[:dry_run].to_s =~ /true|1|y/i)).run
|
||||
end
|
||||
|
||||
namespace :test_resources do
|
||||
desc "Deletes resources created during E2E test runs"
|
||||
task :delete, [:file_pattern] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new(args[:file_pattern]).run_delete
|
||||
end
|
||||
|
||||
desc "Upload test resources JSON files to GCS"
|
||||
task :upload, [:file_pattern, :ci_project_name] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new(args[:file_pattern]).upload(args[:ci_project_name])
|
||||
end
|
||||
|
||||
desc "Download test resources JSON files from GCS"
|
||||
task :download, [:ci_project_name] do |_, args|
|
||||
QA::Tools::TestResourcesHandler.new.download(args[:ci_project_name])
|
||||
end
|
||||
end
|
||||
|
|
@ -23,20 +23,16 @@ fi
|
|||
|
||||
# 1. Run Markdownlint
|
||||
printf "${COLOR_GREEN}INFO: Running Markdownlint on i18n files...${COLOR_RESET}\n"
|
||||
# PHASE 1: Check but don't fail on markdown errors
|
||||
# TODO: PHASE 2, fail the build with proper error codes https://gitlab.com/gitlab-com/localization/docs-site-localization/-/issues/127#note_2450926413
|
||||
markdownlint-cli2 ${MD_DOC_PATH} || {
|
||||
(cd doc-locale && markdownlint-cli2 --config .markdownlint/.markdownlint-cli2.yaml '**/*.md') || {
|
||||
printf "${COLOR_YELLOW}WARNING: Markdownlint found issues in i18n files, but continuing...${COLOR_RESET}\n"
|
||||
# Error code not incremented in Phase 1
|
||||
((ERRORCODE++))
|
||||
}
|
||||
|
||||
# 2. Run Vale
|
||||
printf "${COLOR_GREEN}INFO: Running Vale on i18n files...${COLOR_RESET}\n"
|
||||
# PHASE 1: Check but don't fail on vale errors
|
||||
# TODO: PHASE 2, fail the build with proper error codes https://gitlab.com/gitlab-com/localization/docs-site-localization/-/issues/127#note_2450926413
|
||||
vale --minAlertLevel error --filter='.Name matches "gitlab_docs"' ${MD_DOC_PATH_VALE} || {
|
||||
printf "${COLOR_YELLOW}WARNING: Vale found issues in i18n files, but continuing...${COLOR_RESET}\n"
|
||||
# Error code not incremented in Phase 1
|
||||
((ERRORCODE++))
|
||||
}
|
||||
|
||||
# Report results
|
||||
|
|
|
|||
|
|
@ -95,8 +95,6 @@ FactoryBot.define do
|
|||
active { true }
|
||||
api_url { 'https://prometheus.example.com/' }
|
||||
manual_configuration { true }
|
||||
google_iap_audience_client_id { 'IAP_CLIENT_ID.apps.googleusercontent.com' }
|
||||
google_iap_service_account_json { '{ type: "service_account", project_id: "123" }' }
|
||||
end
|
||||
|
||||
factory :bamboo_integration, class: 'Integrations::Bamboo' do
|
||||
|
|
|
|||
|
|
@ -2,249 +2,151 @@
|
|||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe 'User interacts with awards', feature_category: :team_planning do
|
||||
RSpec.describe 'User interacts with awards', :js, feature_category: :team_planning do
|
||||
include MobileHelpers
|
||||
|
||||
let(:user) { create(:user) }
|
||||
|
||||
describe 'User interacts with awards in an issue', :js do
|
||||
describe 'User interacts with awards in an issue' do
|
||||
let(:issue) { create(:issue, project: project) }
|
||||
let(:project) { create(:project) }
|
||||
|
||||
before do
|
||||
stub_feature_flags(work_item_view_for_issues: true)
|
||||
project.add_maintainer(user)
|
||||
sign_in(user)
|
||||
|
||||
visit(project_issue_path(project, issue))
|
||||
end
|
||||
|
||||
it 'toggles the thumbsup award emoji', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/27959' do
|
||||
it 'toggles the thumbsup award emoji' do
|
||||
page.within('.awards') do
|
||||
thumbsup = page.first('.award-control')
|
||||
thumbsup.click
|
||||
thumbsup.hover
|
||||
click_button '👍'
|
||||
find_button('👍').hover
|
||||
|
||||
expect(page).to have_selector('.js-emoji-btn')
|
||||
expect(page).to have_css(".js-emoji-btn.active[data-original-title='You']")
|
||||
expect(page.find('.js-emoji-btn.active .js-counter')).to have_content('1')
|
||||
expect(page).to have_button '👍 1'
|
||||
|
||||
thumbsup = page.first('.award-control')
|
||||
thumbsup.click
|
||||
thumbsup.hover
|
||||
click_button '👍'
|
||||
|
||||
expect(page).to have_selector('.award-control.js-emoji-btn')
|
||||
expect(page.all('.award-control.js-emoji-btn').size).to eq(2)
|
||||
expect(page).not_to have_button '👍 1'
|
||||
expect(page).to have_button '👍'
|
||||
expect(page).to have_button '👎'
|
||||
|
||||
page.all('.award-control.js-emoji-btn').each do |element|
|
||||
expect(element['title']).to eq('')
|
||||
end
|
||||
click_button '👍'
|
||||
find_button('👍').hover
|
||||
|
||||
expect(page.all('.award-control .js-counter')).to all(have_content('0'))
|
||||
|
||||
thumbsup = page.first('.award-control')
|
||||
thumbsup.click
|
||||
thumbsup.hover
|
||||
|
||||
expect(page).to have_selector('.js-emoji-btn')
|
||||
expect(page).to have_css(".js-emoji-btn.active[data-original-title='You']")
|
||||
expect(page.find('.js-emoji-btn.active .js-counter')).to have_content('1')
|
||||
expect(page).to have_button '👍 1'
|
||||
end
|
||||
end
|
||||
|
||||
it 'toggles a custom award emoji' do
|
||||
page.within('.awards') do
|
||||
page.find('.add-reaction-button').click
|
||||
end
|
||||
click_button 'Add reaction'
|
||||
click_button '😀'
|
||||
find_button('😀').hover
|
||||
|
||||
page.within('.emoji-picker') do
|
||||
emoji_button = page.first('gl-emoji[data-name="grinning"]')
|
||||
emoji_button.hover
|
||||
emoji_button.click
|
||||
end
|
||||
expect(page).to have_button '😀 1'
|
||||
expect(page).to have_text 'You reacted with :grinning:'
|
||||
|
||||
page.within('.awards') do
|
||||
expect(page).to have_selector('[data-testid="award-button"]')
|
||||
expect(page.find('[data-testid="award-button"].selected .js-counter')).to have_content('1')
|
||||
expect(page).to have_css('[data-testid="award-button"].selected[title="You reacted with :grinning:"]')
|
||||
click_button '😀 1'
|
||||
|
||||
wait_for_requests
|
||||
|
||||
expect do
|
||||
page.find('[data-testid="award-button"].selected').click
|
||||
end.to change { page.all('[data-testid="award-button"]').size }.from(3).to(2)
|
||||
end
|
||||
expect(page).not_to have_button '😀'
|
||||
end
|
||||
|
||||
it 'shows the list of award emoji categories', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/27991' do
|
||||
page.within('.awards') do
|
||||
page.find('.js-add-award').click
|
||||
end
|
||||
it 'shows the list of award emoji categories' do
|
||||
click_button 'Add reaction'
|
||||
fill_in('Search for an emoji', with: 'hand')
|
||||
|
||||
page.find('.emoji-menu.is-visible')
|
||||
|
||||
expect(page).to have_selector('.js-emoji-menu-search')
|
||||
expect(page.evaluate_script("document.activeElement.classList.contains('js-emoji-menu-search')")).to eq(true)
|
||||
|
||||
fill_in('emoji-menu-search', with: 'hand')
|
||||
|
||||
page.within('.emoji-menu-content') do
|
||||
expect(page).to have_selector('[data-name="raised_hand"]')
|
||||
end
|
||||
expect(page).to have_button('✋')
|
||||
end
|
||||
|
||||
it 'adds an award emoji by a comment' do
|
||||
page.within('.js-main-target-form') do
|
||||
fill_in('note[note]', with: ':smile:')
|
||||
|
||||
click_button('Comment')
|
||||
end
|
||||
fill_in('Add a reply', with: ':smile:')
|
||||
click_button 'Comment'
|
||||
|
||||
expect(page).to have_emoji('smile')
|
||||
end
|
||||
|
||||
context 'when a project is archived' do
|
||||
let(:project) { create(:project, :archived) }
|
||||
|
||||
it 'hides the add award button' do
|
||||
page.within('.awards') do
|
||||
expect(page).not_to have_css('.js-add-award')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'User interacts with awards on a note' do
|
||||
let!(:note) { create(:note, noteable: issue, project: issue.project) }
|
||||
let!(:award_emoji) { create(:award_emoji, awardable: note, name: 'grinning') }
|
||||
|
||||
it 'shows the award on the note' do
|
||||
page.within('.note-awards') do
|
||||
expect(page).to have_emoji('grinning')
|
||||
end
|
||||
expect(page).to have_button('😀')
|
||||
end
|
||||
|
||||
it 'allows adding a vote to an award' do
|
||||
page.within('.note-awards') do
|
||||
find('gl-emoji[data-name="grinning"]').click
|
||||
end
|
||||
wait_for_requests
|
||||
click_button '😀'
|
||||
|
||||
expect(note.reload.award_emoji.size).to eq(2)
|
||||
expect(page).to have_button '😀 2'
|
||||
end
|
||||
|
||||
it 'allows adding a new emoji' do
|
||||
resize_window(1200, 800)
|
||||
page.within('.note-actions') do
|
||||
find('.add-reaction-button').click
|
||||
within('.note') do
|
||||
click_button 'Add reaction', match: :first
|
||||
click_button '😆'
|
||||
|
||||
expect(page).to have_button '😀 1'
|
||||
expect(page).to have_button '😆 1'
|
||||
end
|
||||
|
||||
# make sure emoji popup is visible
|
||||
execute_script("window.scrollBy(0, 200)")
|
||||
|
||||
find('gl-emoji[data-name="laughing"]').click
|
||||
wait_for_requests
|
||||
|
||||
page.within('.note-awards') do
|
||||
expect(page).to have_emoji('laughing')
|
||||
end
|
||||
expect(note.reload.award_emoji.size).to eq(2)
|
||||
restore_window_size
|
||||
end
|
||||
|
||||
context 'when the project is archived' do
|
||||
let(:project) { create(:project, :archived) }
|
||||
|
||||
it 'hides the buttons for adding new emoji' do
|
||||
page.within('.note-awards') do
|
||||
expect(page).not_to have_css('.award-menu-holder')
|
||||
page.within('.awards') do
|
||||
expect(page).not_to have_button 'Add reaction'
|
||||
end
|
||||
|
||||
page.within('.note-actions') do
|
||||
expect(page).not_to have_css('.btn.js-add-award')
|
||||
within_testid('note-wrapper') do
|
||||
expect(page).not_to have_button 'Add reaction'
|
||||
end
|
||||
end
|
||||
|
||||
it 'does not allow toggling existing emoji' do
|
||||
page.within('.note-awards') do
|
||||
find('gl-emoji[data-name="grinning"]').click
|
||||
end
|
||||
wait_for_requests
|
||||
click_button '😀'
|
||||
|
||||
expect(note.reload.award_emoji.size).to eq(1)
|
||||
expect(page).not_to have_button '😀 2'
|
||||
expect(page).to have_button '😀 1'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe 'User interacts with awards on an issue', :js do
|
||||
describe 'User interacts with awards on an issue' do
|
||||
let(:project) { create(:project, :public) }
|
||||
let(:issue) { create(:issue, project: project) }
|
||||
|
||||
describe 'logged in' do
|
||||
before do
|
||||
sign_in(user)
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
context 'when the issue is locked' do
|
||||
before do
|
||||
create(:award_emoji, awardable: issue, name: '100')
|
||||
issue.update!(discussion_locked: true)
|
||||
|
||||
sign_in(user)
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
it 'hides the add award button' do
|
||||
page.within('.awards') do
|
||||
expect(page).not_to have_css('.js-add-award')
|
||||
end
|
||||
expect(page).not_to have_button 'Add reaction'
|
||||
end
|
||||
|
||||
it 'does not allow toggling existing emoji' do
|
||||
page.within('.awards') do
|
||||
find('gl-emoji[data-name="100"]').click
|
||||
end
|
||||
wait_for_requests
|
||||
click_button '💯'
|
||||
|
||||
expect(issue.reload.award_emoji.size).to eq(1)
|
||||
expect(page).not_to have_button '💯 2'
|
||||
expect(page).to have_button '💯 1'
|
||||
end
|
||||
end
|
||||
|
||||
it 'adds award to issue' do
|
||||
first('[data-testid="award-button"]').click
|
||||
wait_for_requests
|
||||
expect(page).to have_selector('[data-testid="award-button"].selected')
|
||||
expect(first('[data-testid="award-button"]')).to have_content '1'
|
||||
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
|
||||
expect(first('[data-testid="award-button"]')).to have_content '1'
|
||||
end
|
||||
|
||||
it 'removes award from issue', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/375241' do
|
||||
first('[data-testid="award-button"]').click
|
||||
wait_for_requests
|
||||
find('[data-testid="award-button"].selected').click
|
||||
wait_for_requests
|
||||
expect(first('[data-testid="award-button"]')).to have_content '0'
|
||||
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
|
||||
expect(first('[data-testid="award-button"]')).to have_content '0'
|
||||
end
|
||||
end
|
||||
|
||||
describe 'logged out' do
|
||||
before do
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
it 'does not see award menu button' do
|
||||
expect(page).not_to have_selector('.js-award-holder')
|
||||
expect(page).not_to have_button 'Add reaction'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -253,109 +155,43 @@ RSpec.describe 'User interacts with awards', feature_category: :team_planning do
|
|||
let!(:project) { create(:project, :public) }
|
||||
let(:issue) { create(:issue, assignees: [user], project: project) }
|
||||
|
||||
context 'authorized user' do
|
||||
before do
|
||||
project.add_maintainer(user)
|
||||
sign_in(user)
|
||||
end
|
||||
|
||||
describe 'visiting an issue with a legacy award emoji that is not valid anymore' do
|
||||
before do
|
||||
project.add_maintainer(user)
|
||||
sign_in(user)
|
||||
# The `heart_tip` emoji is not valid anymore so we need to skip validation
|
||||
issue.award_emoji.build(user: user, name: 'heart_tip').save!(validate: false)
|
||||
visit project_issue_path(project, issue)
|
||||
end
|
||||
|
||||
describe 'visiting an issue with a legacy award emoji that is not valid anymore' do
|
||||
before do
|
||||
# The `heart_tip` emoji is not valid anymore so we need to skip validation
|
||||
issue.award_emoji.build(user: user, name: 'heart_tip').save!(validate: false)
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
# Regression test: https://gitlab.com/gitlab-org/gitlab-foss/issues/29529
|
||||
it 'does not shows a 500 page', :js do
|
||||
expect(page).to have_text(issue.title)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'Click award emoji from issue#show' do
|
||||
let!(:note) { create(:note_on_issue, noteable: issue, project: issue.project, note: "Hello world") }
|
||||
|
||||
before do
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
context 'click the thumbsdown emoji' do
|
||||
it 'increments the thumbsdown emoji', :js do
|
||||
find(%([data-name="#{AwardEmoji::THUMBS_DOWN}"])).click
|
||||
wait_for_requests
|
||||
expect(thumbsdown_emoji).to have_text("1")
|
||||
end
|
||||
|
||||
it 'decrements the thumbsup emoji', :js do
|
||||
expect(thumbsup_emoji).to have_text("0")
|
||||
end
|
||||
end
|
||||
|
||||
it 'toggles the smiley emoji on a note', :js, quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/267525' do
|
||||
toggle_smiley_emoji(true)
|
||||
|
||||
within('.note-body') do
|
||||
expect(find(emoji_counter)).to have_text("1")
|
||||
end
|
||||
|
||||
toggle_smiley_emoji(false)
|
||||
|
||||
within('.note-body') do
|
||||
expect(page).not_to have_selector(emoji_counter)
|
||||
end
|
||||
end
|
||||
# Regression test: https://gitlab.com/gitlab-org/gitlab-foss/issues/29529
|
||||
it 'does not shows a 500 page' do
|
||||
expect(page).to have_text(issue.title)
|
||||
end
|
||||
end
|
||||
|
||||
context 'unauthorized user', :js do
|
||||
describe 'Click award emoji from issue#show' do
|
||||
let!(:note) { create(:note_on_issue, noteable: issue, project: issue.project, note: "Hello world") }
|
||||
|
||||
before do
|
||||
visit project_issue_path(project, issue)
|
||||
end
|
||||
|
||||
it 'has disabled emoji button' do
|
||||
expect(first('[data-testid="award-button"]')[:class]).to have_text('disabled')
|
||||
it 'toggles the smiley emoji on a note' do
|
||||
within('.note') do
|
||||
click_button 'Add reaction'
|
||||
click_button '😀'
|
||||
|
||||
expect(page).to have_button '😀 1'
|
||||
|
||||
click_button '😀'
|
||||
|
||||
expect(page).not_to have_button '😀'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def execute_quick_action(cmd)
|
||||
within('.js-main-target-form') do
|
||||
fill_in 'note[note]', with: cmd
|
||||
click_button 'Comment'
|
||||
end
|
||||
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
def thumbsup_emoji
|
||||
page.all(emoji_counter).first
|
||||
end
|
||||
|
||||
def thumbsdown_emoji
|
||||
page.all(emoji_counter).last
|
||||
end
|
||||
|
||||
def emoji_counter
|
||||
'span.js-counter'
|
||||
end
|
||||
|
||||
def noteable_award_counter
|
||||
".awards .is-active"
|
||||
end
|
||||
|
||||
def toggle_smiley_emoji(status)
|
||||
within('.note') do
|
||||
find('.note-emoji-button').click
|
||||
end
|
||||
|
||||
if !status
|
||||
first('[data-name="smiley"]').click
|
||||
else
|
||||
find('[data-name="smiley"]').click
|
||||
end
|
||||
|
||||
wait_for_requests
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
||||
RSpec.describe 'User uploads file to note', :js, feature_category: :text_editors do
|
||||
include DropzoneHelper
|
||||
|
||||
let(:user) { create(:user) }
|
||||
|
|
@ -10,20 +10,20 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
let(:issue) { create(:issue, project: project, author: user) }
|
||||
|
||||
before do
|
||||
stub_feature_flags(work_item_view_for_issues: true)
|
||||
sign_in(user)
|
||||
visit project_issue_path(project, issue)
|
||||
wait_for_requests
|
||||
end
|
||||
|
||||
context 'before uploading' do
|
||||
it 'shows "Attach a file or image" button', :js do
|
||||
it 'shows "Attach a file or image" button' do
|
||||
expect(page).to have_selector('[data-testid="button-attach-file"]')
|
||||
expect(page).not_to have_selector('.uploading-progress-container', visible: true)
|
||||
end
|
||||
end
|
||||
|
||||
context 'uploading is in progress', :capybara_ignore_server_errors do
|
||||
it 'cancels uploading on clicking to "Cancel" button', :js do
|
||||
it 'cancels uploading on clicking to "Cancel" button' do
|
||||
slow_requests do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'dk.png')], 0, false)
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
expect(page).not_to have_selector('.uploading-progress-container', visible: true)
|
||||
end
|
||||
|
||||
it 'shows "Attaching a file" message on uploading 1 file', :js do
|
||||
it 'shows "Attaching a file" message on uploading 1 file' do
|
||||
slow_requests do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'dk.png')], 0, false)
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
end
|
||||
end
|
||||
|
||||
it 'shows "Attaching 2 files" message on uploading 2 file', :js do
|
||||
it 'shows "Attaching 2 files" message on uploading 2 file' do
|
||||
slow_requests do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'video_sample.mp4'),
|
||||
Rails.root.join('spec', 'fixtures', 'dk.png')], 0, false)
|
||||
|
|
@ -52,7 +52,7 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
end
|
||||
end
|
||||
|
||||
it 'shows error message, "retry" and "attach a new file" link a if file is too big', :js do
|
||||
it 'shows error message, "retry" and "attach a new file" link a if file is too big' do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'video_sample.mp4')], 0.01)
|
||||
|
||||
error_text = 'File is too big (0.06MiB). Max filesize: 0.01MiB.'
|
||||
|
|
@ -64,7 +64,7 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
end
|
||||
|
||||
context 'uploading is complete' do
|
||||
it 'shows "Attach a file or image" button on uploading complete', :js do
|
||||
it 'shows "Attach a file or image" button on uploading complete' do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'dk.png')])
|
||||
wait_for_requests
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ RSpec.describe 'User uploads file to note', feature_category: :text_editors do
|
|||
expect(page).not_to have_selector('.uploading-progress-container', visible: true)
|
||||
end
|
||||
|
||||
it 'they see the attached file', :js do
|
||||
it 'they see the attached file' do
|
||||
dropzone_file([Rails.root.join('spec', 'fixtures', 'dk.png')])
|
||||
click_button 'Comment'
|
||||
wait_for_requests
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe 'viewing an issue with cross project references' do
|
||||
RSpec.describe 'viewing an issue with cross project references', :js, feature_category: :team_planning do
|
||||
include ExternalAuthorizationServiceHelpers
|
||||
include Gitlab::Routing.url_helpers
|
||||
|
||||
|
|
@ -44,6 +44,7 @@ RSpec.describe 'viewing an issue with cross project references' do
|
|||
end
|
||||
|
||||
before do
|
||||
stub_feature_flags(work_item_view_for_issues: true)
|
||||
project.add_developer(user)
|
||||
sign_in(user)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ RSpec.describe 'issues canonical link', feature_category: :team_planning do
|
|||
let_it_be(:canonical_issue) { create(:issue) }
|
||||
let_it_be(:canonical_url) { issue_url(canonical_issue, Gitlab::Application.routes.default_url_options) }
|
||||
|
||||
before do
|
||||
stub_feature_flags(work_item_view_for_issues: true)
|
||||
end
|
||||
|
||||
it "doesn't show the canonical URL" do
|
||||
visit(issue_path(original_issue))
|
||||
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ describe('WorkItemAwardEmoji component', () => {
|
|||
};
|
||||
|
||||
const createComponent = ({
|
||||
props = {},
|
||||
awardEmojiQueryHandler = awardEmojiQuerySuccessHandler,
|
||||
awardEmojiMutationHandler = awardEmojiAddSuccessHandler,
|
||||
workItemIid = '1',
|
||||
} = {}) => {
|
||||
mockApolloProvider = createMockApollo(
|
||||
[
|
||||
|
|
@ -112,7 +112,9 @@ describe('WorkItemAwardEmoji component', () => {
|
|||
propsData: {
|
||||
workItemId: 'gid://gitlab/WorkItem/1',
|
||||
workItemFullpath: 'test-project-path',
|
||||
workItemIid,
|
||||
workItemIid: '1',
|
||||
workItemArchived: false,
|
||||
...props,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
@ -351,4 +353,27 @@ describe('WorkItemAwardEmoji component', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('can award emoji', () => {
|
||||
it('can award emoji when user is logged in and work item is not archived', () => {
|
||||
isLoggedIn.mockReturnValue(true);
|
||||
createComponent({ props: { workItemArchived: false } });
|
||||
|
||||
expect(findAwardsList().props('canAwardEmoji')).toBe(true);
|
||||
});
|
||||
|
||||
it('returns false when user is not logged in', () => {
|
||||
isLoggedIn.mockReturnValue(false);
|
||||
createComponent({ props: { workItemArchived: false } });
|
||||
|
||||
expect(findAwardsList().props('canAwardEmoji')).toBe(false);
|
||||
});
|
||||
|
||||
it('returns false when work item is archived', () => {
|
||||
isLoggedIn.mockReturnValue(true);
|
||||
createComponent({ props: { workItemArchived: true } });
|
||||
|
||||
expect(findAwardsList().props('canAwardEmoji')).toBe(false);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ describe('WorkItemNotes component', () => {
|
|||
const findWorkItemDiscussionAtIndex = (index) => findAllWorkItemDiscussions().at(index);
|
||||
const findDeleteNoteModal = () => wrapper.findComponent(GlModal);
|
||||
const findWorkItemAddNote = () => wrapper.findComponent(WorkItemAddNote);
|
||||
const findCommentsSection = () => wrapper.find('.issuable-discussion');
|
||||
|
||||
const workItemNoteQueryHandler = jest.fn().mockResolvedValue(mockWorkItemNoteResponse);
|
||||
const workItemNotesQueryHandler = jest.fn().mockResolvedValue(mockWorkItemNotesByIidResponse);
|
||||
|
|
@ -179,6 +180,14 @@ describe('WorkItemNotes component', () => {
|
|||
expect(findNotesLoading().exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('renders the main discussion container even when notes are loading', () => {
|
||||
expect(findCommentsSection().exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('renders the comment form even when notes are loading', () => {
|
||||
expect(findWorkItemAddNote().exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('does not render system notes', () => {
|
||||
expect(findAllSystemNotes().exists()).toBe(false);
|
||||
});
|
||||
|
|
@ -299,6 +308,16 @@ describe('WorkItemNotes component', () => {
|
|||
});
|
||||
expect(findAllSystemNotes()).toHaveLength(mockNotesWidgetResponse.discussions.nodes.length);
|
||||
});
|
||||
|
||||
it('renders the main discussion container when notes are loaded', async () => {
|
||||
await waitForPromises();
|
||||
expect(findCommentsSection().exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('renders the comment form even when notes are loaded', async () => {
|
||||
await waitForPromises();
|
||||
expect(findWorkItemAddNote().exists()).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Pagination', () => {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
require_migration!
|
||||
|
||||
RSpec.describe QueueFixSecretTokensForHttpDestinations, migration: :gitlab_main, feature_category: :audit_events do
|
||||
let!(:batched_migration) { described_class::MIGRATION }
|
||||
|
||||
it 'schedules a new batched migration' do
|
||||
reversible_migration do |migration|
|
||||
migration.before -> {
|
||||
expect(batched_migration).not_to have_scheduled_batched_migration
|
||||
}
|
||||
|
||||
migration.after -> {
|
||||
expect(batched_migration).to have_scheduled_batched_migration(
|
||||
gitlab_schema: :gitlab_main,
|
||||
table_name: :audit_events_group_external_streaming_destinations,
|
||||
column_name: :id,
|
||||
batch_size: described_class::BATCH_SIZE,
|
||||
sub_batch_size: described_class::SUB_BATCH_SIZE
|
||||
)
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -188,83 +188,6 @@ RSpec.describe Integrations::Prometheus, :use_clean_rails_memory_store_caching,
|
|||
expect(integration.prometheus_client).to be_nil
|
||||
end
|
||||
end
|
||||
|
||||
context 'behind IAP' do
|
||||
let(:manual_configuration) { true }
|
||||
let(:google_iap_service_account_json) { Gitlab::Json.generate(google_iap_service_account) }
|
||||
|
||||
let(:google_iap_service_account) do
|
||||
{
|
||||
type: "service_account",
|
||||
# dummy private key generated only for this test to pass openssl validation
|
||||
private_key: <<~KEY
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIBOAIBAAJAU85LgUY5o6j6j/07GMLCNUcWJOBA1buZnNgKELayA6mSsHrIv31J
|
||||
Y8kS+9WzGPQninea7DcM4hHA7smMgQD1BwIDAQABAkAqKxMy6PL3tn7dFL43p0ex
|
||||
JyOtSmlVIiAZG1t1LXhE/uoLpYi5DnbYqGgu0oih+7nzLY/dXpNpXUmiRMOUEKmB
|
||||
AiEAoTi2rBXbrLSi2C+H7M/nTOjMQQDuZ8Wr4uWpKcjYJTMCIQCFEskL565oFl/7
|
||||
RRQVH+cARrAsAAoJSbrOBAvYZ0PI3QIgIEFwis10vgEF86rOzxppdIG/G+JL0IdD
|
||||
9IluZuXAGPECIGUo7qSaLr75o2VEEgwtAFH5aptIPFjrL5LFCKwtdB4RAiAYZgFV
|
||||
HCMmaooAw/eELuMoMWNYmujZ7VaAnOewGDW0uw==
|
||||
-----END RSA PRIVATE KEY-----
|
||||
KEY
|
||||
}
|
||||
end
|
||||
|
||||
def stub_iap_request
|
||||
integration.google_iap_service_account_json = google_iap_service_account_json
|
||||
integration.google_iap_audience_client_id = 'IAP_CLIENT_ID.apps.googleusercontent.com'
|
||||
|
||||
stub_request(:post, 'https://oauth2.googleapis.com/token')
|
||||
.to_return(
|
||||
status: 200,
|
||||
body: '{"id_token": "FOO"}',
|
||||
headers: { 'Content-Type': 'application/json; charset=UTF-8' }
|
||||
)
|
||||
end
|
||||
|
||||
it 'includes the authorization header' do
|
||||
stub_iap_request
|
||||
|
||||
expect(integration.prometheus_client).not_to be_nil
|
||||
expect(integration.prometheus_client.send(:options)).to have_key(:headers)
|
||||
expect(integration.prometheus_client.send(:options)[:headers]).to eq(authorization: "Bearer FOO")
|
||||
end
|
||||
|
||||
context 'with invalid IAP JSON' do
|
||||
let(:google_iap_service_account_json) { 'invalid json' }
|
||||
|
||||
it 'does not include authorization header' do
|
||||
stub_iap_request
|
||||
|
||||
expect(integration.prometheus_client).not_to be_nil
|
||||
expect(integration.prometheus_client.send(:options)).not_to have_key(:headers)
|
||||
end
|
||||
end
|
||||
|
||||
context 'when passed with token_credential_uri', issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/284819' do
|
||||
let(:malicious_host) { 'http://example.com' }
|
||||
|
||||
where(:param_name) do
|
||||
[
|
||||
:token_credential_uri,
|
||||
:tokencredentialuri,
|
||||
:Token_credential_uri,
|
||||
:tokenCredentialUri
|
||||
]
|
||||
end
|
||||
|
||||
with_them do
|
||||
it 'does not make any unexpected HTTP requests' do
|
||||
google_iap_service_account[param_name] = malicious_host
|
||||
stub_iap_request
|
||||
stub_request(:any, malicious_host).to_raise('Making additional HTTP requests is forbidden!')
|
||||
|
||||
expect(integration.prometheus_client).not_to be_nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '#prometheus_available?' do
|
||||
|
|
@ -274,6 +197,7 @@ RSpec.describe Integrations::Prometheus, :use_clean_rails_memory_store_caching,
|
|||
end
|
||||
|
||||
context 'cluster belongs to project' do
|
||||
let_it_be(:project) { create(:project, :with_prometheus_integration) }
|
||||
let_it_be(:cluster) { create(:cluster, projects: [project]) }
|
||||
|
||||
it 'returns true' do
|
||||
|
|
@ -469,45 +393,4 @@ RSpec.describe Integrations::Prometheus, :use_clean_rails_memory_store_caching,
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '#google_iap_service_account_json' do
|
||||
subject(:iap_details) { integration.google_iap_service_account_json }
|
||||
|
||||
before do
|
||||
integration.google_iap_service_account_json = value
|
||||
end
|
||||
|
||||
context 'with valid JSON' do
|
||||
let(:masked_value) { described_class::MASKED_VALUE }
|
||||
let(:json) { Gitlab::Json.parse(iap_details) }
|
||||
|
||||
let(:value) do
|
||||
Gitlab::Json.generate({
|
||||
type: 'service_account',
|
||||
private_key: 'SECRET',
|
||||
foo: 'secret',
|
||||
nested: {
|
||||
key: 'value'
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
it 'masks all JSON values', issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/384580' do
|
||||
expect(json).to eq(
|
||||
'type' => masked_value,
|
||||
'private_key' => masked_value,
|
||||
'foo' => masked_value,
|
||||
'nested' => masked_value
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
context 'with invalid JSON' do
|
||||
where(:value) { [nil, '', ' ', 'invalid json'] }
|
||||
|
||||
with_them do
|
||||
it { is_expected.to eq(value) }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -304,8 +304,7 @@ RSpec.describe Projects::Operations::UpdateService, feature_category: :groups_an
|
|||
let!(:prometheus_integration) do
|
||||
create(:prometheus_integration, :instance, properties: {
|
||||
api_url: "http://example.prometheus.com",
|
||||
manual_configuration: "0",
|
||||
google_iap_audience_client_id: 123
|
||||
manual_configuration: "0"
|
||||
})
|
||||
end
|
||||
|
||||
|
|
@ -345,8 +344,7 @@ RSpec.describe Projects::Operations::UpdateService, feature_category: :groups_an
|
|||
|
||||
expect(Integrations::Prometheus.last).to have_attributes(
|
||||
api_url: 'http://new.prometheus.com',
|
||||
manual_configuration: true,
|
||||
google_iap_audience_client_id: 123
|
||||
manual_configuration: true
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@
|
|||
- './ee/spec/features/issues/new/user_creates_issue_spec.rb'
|
||||
- './ee/spec/features/issues/related_issues_spec.rb'
|
||||
- './ee/spec/features/issues/resource_weight_events_spec.rb'
|
||||
- './ee/spec/features/issues/user_edits_issue_spec.rb'
|
||||
- './ee/spec/features/issues/user_uses_quick_actions_spec.rb'
|
||||
- './ee/spec/features/issues/viewing_relocated_issues_spec.rb'
|
||||
- './ee/spec/features/labels_hierarchy_spec.rb'
|
||||
|
|
@ -1952,7 +1951,7 @@
|
|||
- './ee/spec/services/ee/issues/after_create_service_spec.rb'
|
||||
- './ee/spec/services/ee/issues/create_service_spec.rb'
|
||||
- './ee/spec/services/ee/issues/update_service_spec.rb'
|
||||
- './ee/spec/services/ee/keys/create_service_spec.rb'
|
||||
- './ee/spec/services/ee/keys/create_service_spec.rb'
|
||||
- './ee/spec/services/ee/keys/destroy_service_spec.rb'
|
||||
- './ee/spec/services/ee/labels/promote_service_spec.rb'
|
||||
- './ee/spec/services/ee/members/create_service_spec.rb'
|
||||
|
|
|
|||
|
|
@ -276,4 +276,85 @@ RSpec.shared_examples 'namespace traversal scopes' do
|
|||
it { is_expected.to contain_exactly(group_1, nested_group_1, deep_nested_group_1) }
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples '.within' do
|
||||
context 'with a root group traversal_ids' do
|
||||
subject { described_class.where(id: groups).within(group_1.traversal_ids) }
|
||||
|
||||
it 'returns the group and all its descendants' do
|
||||
is_expected.to contain_exactly(group_1, nested_group_1, deep_nested_group_1)
|
||||
end
|
||||
|
||||
it 'excludes groups from other hierarchies' do
|
||||
is_expected.not_to include(group_2, nested_group_2, deep_nested_group_2)
|
||||
end
|
||||
end
|
||||
|
||||
context 'with a nested group traversal_ids' do
|
||||
subject { described_class.where(id: groups).within(nested_group_1.traversal_ids) }
|
||||
|
||||
it 'returns the nested group and its descendants' do
|
||||
is_expected.to contain_exactly(nested_group_1, deep_nested_group_1)
|
||||
end
|
||||
|
||||
it 'excludes the parent group' do
|
||||
is_expected.not_to include(group_1)
|
||||
end
|
||||
|
||||
it 'excludes groups from other hierarchies' do
|
||||
is_expected.not_to include(group_2, nested_group_2, deep_nested_group_2)
|
||||
end
|
||||
end
|
||||
|
||||
context 'with multiple sibling groups' do
|
||||
let!(:nested_group_1b) { create(:group, parent: group_1) }
|
||||
let!(:deep_nested_group_1b) { create(:group, parent: nested_group_1b) }
|
||||
let(:all_groups) { groups + [nested_group_1b, deep_nested_group_1b] }
|
||||
|
||||
subject { described_class.where(id: all_groups).within(group_1.traversal_ids) }
|
||||
|
||||
it 'returns all descendants within the hierarchy' do
|
||||
is_expected.to contain_exactly(
|
||||
group_1, nested_group_1, deep_nested_group_1, nested_group_1b, deep_nested_group_1b)
|
||||
end
|
||||
end
|
||||
|
||||
context 'with offset and limit' do
|
||||
subject do
|
||||
described_class
|
||||
.where(id: [group_1, nested_group_1, deep_nested_group_1])
|
||||
.order(:traversal_ids)
|
||||
.limit(2)
|
||||
.within(group_1.traversal_ids)
|
||||
end
|
||||
|
||||
it 'respects the limit while maintaining within logic' do
|
||||
expect(subject.count).to eq(2)
|
||||
is_expected.to be_all { |group| [group_1, nested_group_1, deep_nested_group_1].include?(group) }
|
||||
end
|
||||
end
|
||||
|
||||
context 'with empty result set' do
|
||||
subject { described_class.where(id: groups).within([999, 999]) }
|
||||
|
||||
it 'returns empty result' do
|
||||
is_expected.to be_empty
|
||||
end
|
||||
end
|
||||
|
||||
context 'SQL injection prevention' do
|
||||
it 'raises ArgumentError for malicious SQL input' do
|
||||
expect { described_class.within(["1'; DROP TABLE namespaces; --"]) }.to raise_error(ArgumentError)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '.within' do
|
||||
include_examples '.within'
|
||||
|
||||
it 'does not make recursive queries' do
|
||||
expect { described_class.where(id: [nested_group_1]).within(nested_group_1.traversal_ids).load }
|
||||
.not_to make_queries_matching(/WITH RECURSIVE/)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue